Why
This commit is contained in:
1
code/src/Fitbot/.gitignore
vendored
1
code/src/Fitbot/.gitignore
vendored
@@ -15,3 +15,4 @@
|
|||||||
local.properties
|
local.properties
|
||||||
.idea
|
.idea
|
||||||
.vscode
|
.vscode
|
||||||
|
/.idea/
|
||||||
|
@@ -81,6 +81,7 @@ public class FitnessActivity extends RobotActivity implements RobotLifecycleCall
|
|||||||
|
|
||||||
motionProcessor.startListening();
|
motionProcessor.startListening();
|
||||||
motionProcessor.setInputHandler(personalMotionPreviewElement);
|
motionProcessor.setInputHandler(personalMotionPreviewElement);
|
||||||
|
|
||||||
}, (n) -> {
|
}, (n) -> {
|
||||||
int randomMessageIndex = (int) Math.floor(Math.random() * EXERCISE_NOT_FOUND_MESSAGES.length);
|
int randomMessageIndex = (int) Math.floor(Math.random() * EXERCISE_NOT_FOUND_MESSAGES.length);
|
||||||
Pepper.say(EXERCISE_NOT_FOUND_MESSAGES[randomMessageIndex]);
|
Pepper.say(EXERCISE_NOT_FOUND_MESSAGES[randomMessageIndex]);
|
||||||
|
@@ -159,7 +159,7 @@ public class ExerciseStatusElement extends View implements IInputHandler {
|
|||||||
this.exercise = exercise;
|
this.exercise = exercise;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
/** TODO: Remove */
|
||||||
private Vector2f projectVertex(Vector3f point, int virtualWidth, int virtualHeight) {
|
private Vector2f projectVertex(Vector3f point, int virtualWidth, int virtualHeight) {
|
||||||
viewMatrix
|
viewMatrix
|
||||||
.identity()
|
.identity()
|
||||||
|
Reference in New Issue
Block a user