Fixed typo in FitnessActivity

This commit is contained in:
Luca Warmenhoven
2024-06-05 11:30:44 +02:00
parent ae52d10041
commit 0410b23c0d

View File

@@ -112,7 +112,7 @@ public class FitnessActivity extends RobotActivity implements RobotLifecycleCall
exerciseStatusElement.post(() -> { exerciseStatusElement.post(() -> {
this.fetchExerciseAsync((exercise) -> { this.fetchExerciseAsync((exercise) -> {
// Acquire paths from the exercise and provide them to the motion processor // Acquire paths from the exercise and provide them to the motion processor
Vector3f[][] vectors = new Vector3f[][]{exercise.leftPath.getVectors(), exercise.rightPath.getVectors()}; Vector3f[][] vectors = new Vector3f[][]{exercise.leftPath.getAngleVectors(), exercise.rightPath.getAngleVectors()};
motionProcessor = new InputProcessor(vectors, exercise.exerciseTimeInSeconds, SENSOR_SAMPLE_RATE); motionProcessor = new InputProcessor(vectors, exercise.exerciseTimeInSeconds, SENSOR_SAMPLE_RATE);