[chronojump] ForceSensor path adjusts initial max height



commit 3894262505d9ecd9ee0420519980ede1e106dc82
Author: Xavier de Blas <xaviblas gmail com>
Date:   Wed May 19 10:49:53 2021 +0200

    ForceSensor path adjusts initial max height

 src/gui/app1/forceSensor.cs | 10 ++++++++++
 1 file changed, 10 insertions(+)
---
diff --git a/src/gui/app1/forceSensor.cs b/src/gui/app1/forceSensor.cs
index ac21eafc2..92f6c1bf0 100644
--- a/src/gui/app1/forceSensor.cs
+++ b/src/gui/app1/forceSensor.cs
@@ -1066,6 +1066,16 @@ public partial class ChronoJumpWindow
                if(fscPoints.RealHeightG < forceSensorTopRectangleAtOperationStart)
                        fscPoints.RealHeightG = forceSensorTopRectangleAtOperationStart;
 
+               if(repetitiveConditionsWin.GetForceSensorFeedbackPathActive)
+               {
+                       int maxPathValue = repetitiveConditionsWin.GetForceSensorFeedbackPathMax;// + 
interpolatedPathLineWidth;
+                       if(maxPathValue > forceSensorTopRectangleAtOperationStart)
+                               fscPoints.RealHeightG = maxPathValue;
+               }
+
+
+
+
                LogB.Information("RealHeight = " + fscPoints.RealHeightG.ToString());
 
                forcePaintHVLines(ForceSensorGraphs.CAPTURE, fscPoints.RealHeightG, 
ForceSensorCapturePoints.DefaultRealHeightGNeg, 10, false);


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