[chronojump] Fixed raceAnalyzer displacement during capture



commit 6d7f3e010cd51ecceb965472e818497d94e376fb
Author: Xavier Padullés <x padulles gmail com>
Date:   Mon Jan 4 17:33:40 2021 +0100

    Fixed raceAnalyzer displacement during capture

 src/gui/app1/runEncoder.cs | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)
---
diff --git a/src/gui/app1/runEncoder.cs b/src/gui/app1/runEncoder.cs
index cb229bc27..8c5917893 100644
--- a/src/gui/app1/runEncoder.cs
+++ b/src/gui/app1/runEncoder.cs
@@ -544,7 +544,7 @@ public partial class ChronoJumpWindow
                        {
                                if(timePre > 0)
                                {
-                                       double runEncoderCaptureDistanceAtThisSample = 
Math.Abs(encoderDisplacement) * 1000000 * 0.003003; //hardcoded: same as sprintEncoder.R
+                                       double runEncoderCaptureDistanceAtThisSample = 
Math.Abs(encoderDisplacement) * 0.003003; //hardcoded: same as sprintEncoder.R
                                        runEncoderCaptureSpeed = 
UtilAll.DivideSafe(runEncoderCaptureDistanceAtThisSample, (time - timePre));
 
                                        runEncoderCaptureDistance += runEncoderCaptureDistanceAtThisSample;


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