This commit is contained in:
Luca Warmenhoven
2024-06-03 13:41:10 +02:00
parent 92223fbf52
commit 517b5f8438
3 changed files with 4 additions and 2 deletions

View File

@@ -14,4 +14,5 @@
.cxx
local.properties
.idea
.vscode
.vscode
/.idea/

View File

@@ -81,6 +81,7 @@ public class FitnessActivity extends RobotActivity implements RobotLifecycleCall
motionProcessor.startListening();
motionProcessor.setInputHandler(personalMotionPreviewElement);
}, (n) -> {
int randomMessageIndex = (int) Math.floor(Math.random() * EXERCISE_NOT_FOUND_MESSAGES.length);
Pepper.say(EXERCISE_NOT_FOUND_MESSAGES[randomMessageIndex]);

View File

@@ -159,7 +159,7 @@ public class ExerciseStatusElement extends View implements IInputHandler {
this.exercise = exercise;
}
/** TODO: Remove */
private Vector2f projectVertex(Vector3f point, int virtualWidth, int virtualHeight) {
viewMatrix
.identity()