From 2b631bd60092723b70f045c1a5af1ca458c28369 Mon Sep 17 00:00:00 2001 From: Luca Warmenhoven Date: Wed, 5 Jun 2024 14:34:04 +0200 Subject: [PATCH] Added error checking --- .../com/example/fitbot/util/processing/InputProcessor.java | 3 --- 1 file changed, 3 deletions(-) diff --git a/code/src/Fitbot/app/src/main/java/com/example/fitbot/util/processing/InputProcessor.java b/code/src/Fitbot/app/src/main/java/com/example/fitbot/util/processing/InputProcessor.java index 5905d11..7b0bb13 100644 --- a/code/src/Fitbot/app/src/main/java/com/example/fitbot/util/processing/InputProcessor.java +++ b/code/src/Fitbot/app/src/main/java/com/example/fitbot/util/processing/InputProcessor.java @@ -24,7 +24,6 @@ import java.util.List; public class InputProcessor { private List[] selfRotationVectorPaths; // Relative path of the motion data - //private Vector3f[][] selfRotationVectorPaths; // Relative path of the motion data private Vector3f[][] targetRotationVectorPaths; // Target path of the motion data private float exerciseRepetitionDurationInSeconds = 0.0f; @@ -151,8 +150,6 @@ public class InputProcessor { this.selfRotationVectorPaths[0] = new ArrayList<>(); this.selfRotationVectorPaths[1] = new ArrayList<>(); - this.repetitionsRemaining = ExerciseManager.DEFAULT_EXERCISE_REPETITIONS; - this.targetRotationVectorPaths = new Vector3f[2][exercise.rightPath.getAngleVectors().length]; this.targetRotationVectorPaths[0] = exercise.leftPath.getAngleVectors(); this.targetRotationVectorPaths[1] = exercise.rightPath.getAngleVectors();