Fixed more issues, added more logging
This commit is contained in:
@@ -147,7 +147,6 @@ public class InputProcessor {
|
|||||||
this.checksPerformed = 0;
|
this.checksPerformed = 0;
|
||||||
this.totalChecks = ExerciseManager.DEFAULT_EXERCISE_REPETITIONS * 6;
|
this.totalChecks = ExerciseManager.DEFAULT_EXERCISE_REPETITIONS * 6;
|
||||||
|
|
||||||
this.errorCheckInterval_s = this.exerciseRepetitionDurationInSeconds * ExerciseManager.DEFAULT_EXERCISE_REPETITIONS / 6.0f;
|
|
||||||
|
|
||||||
Log.i("InputProcessor", "Exercise error checking interval: " + this.errorCheckInterval_s);
|
Log.i("InputProcessor", "Exercise error checking interval: " + this.errorCheckInterval_s);
|
||||||
|
|
||||||
@@ -161,6 +160,8 @@ public class InputProcessor {
|
|||||||
this.exerciseRepetitionDurationInSeconds = exercise.exerciseTimeInSeconds;
|
this.exerciseRepetitionDurationInSeconds = exercise.exerciseTimeInSeconds;
|
||||||
this.secondsPassed = 0.0D;
|
this.secondsPassed = 0.0D;
|
||||||
this.lastTime = System.currentTimeMillis();
|
this.lastTime = System.currentTimeMillis();
|
||||||
|
|
||||||
|
this.errorCheckInterval_s = this.exerciseRepetitionDurationInSeconds * ExerciseManager.DEFAULT_EXERCISE_REPETITIONS / 6.0f;
|
||||||
}
|
}
|
||||||
|
|
||||||
/**
|
/**
|
||||||
|
Reference in New Issue
Block a user