[chronojump] Comment on TODO of directionChangePeriod



commit c42750791cbf1e292366ec7e2597718486af40eb
Author: Xavier de Blas <xaviblas gmail com>
Date:   Wed Oct 16 17:47:02 2019 +0200

    Comment on TODO of directionChangePeriod

 src/encoderCapture.cs | 6 ++++++
 1 file changed, 6 insertions(+)
---
diff --git a/src/encoderCapture.cs b/src/encoderCapture.cs
index 703466fb..a4b10e8e 100644
--- a/src/encoderCapture.cs
+++ b/src/encoderCapture.cs
@@ -191,6 +191,12 @@ public abstract class EncoderCapture
                 * When arrive to B, then store the ascending phase (2-3)
                 */
 
+               /*
+                * TODO:
+                * this has to be related to distance and not to time
+                * but we need to have an accurate distance calculation depending on encoderConfiguration 
(see encoder R files)
+                * and it will be much better to have ecc and con separately to manage better weightlifting 
(double phase/or not) exercises
+                */
                directionChangePeriod = 25; //how long (ms) to recognize as change direction. (from 2 to A in 
ms)
                                                //it's in ms and not in cm, because it's easier to calculate
                directionChangeCount = 0; //counter for this period


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