[chronojump] ForceSensor AIgraph show ecc reps depending on exercise



commit dc213f3829ae8eb3231b2a269911af12c2b20f54
Author: Xavier de Blas <xaviblas gmail com>
Date:   Mon Feb 24 17:06:10 2020 +0100

    ForceSensor AIgraph show ecc reps depending on exercise

 src/forceSensorDynamics.cs | 4 ++--
 1 file changed, 2 insertions(+), 2 deletions(-)
---
diff --git a/src/forceSensorDynamics.cs b/src/forceSensorDynamics.cs
index 364a18b2..56861a07 100644
--- a/src/forceSensorDynamics.cs
+++ b/src/forceSensorDynamics.cs
@@ -201,8 +201,8 @@ public abstract class ForceSensorDynamics
                LogB.Information(string.Format("prepareCheckAndSendRepetition params: concentricFlag: {0}, 
yList.Count: {1}, sampleStart: {2}, sampleEnd: {3}",
                                concentricFlag, yList.Count, sampleStart, sampleEnd));
 
-               //on elastic do not accept eccentric reps
-               if(isElastic && concentricFlag == -1)
+               //should accept eccentric reps?
+               if(! fse.EccReps && concentricFlag == -1)
                        return;
 
                // 1) remove low force at beginning ot end of the repetition


[Date Prev][Date Next]   [Thread Prev][Thread Next]   [Thread Index] [Date Index] [Author Index]