[chronojump] Fixed raceAnalyzer displacement during capture
- From: Xavier Padullés <xpadulles src gnome org>
- To: commits-list gnome org
- Cc:
- Subject: [chronojump] Fixed raceAnalyzer displacement during capture
- Date: Mon, 4 Jan 2021 16:34:43 +0000 (UTC)
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]