[chronojump] ForceSensor 4 exports include exercise (stiffness), lat
- From: Xavier de Blas <xaviblas src gnome org>
- To: commits-list gnome org
- Cc:
- Subject: [chronojump] ForceSensor 4 exports include exercise (stiffness), lat
- Date: Mon, 30 Dec 2019 08:27:31 +0000 (UTC)
commit 4bdb6ff414b7f65088cefa119f523f8e77e650c2
Author: Xavier de Blas <xaviblas gmail com>
Date: Mon Dec 30 09:27:07 2019 +0100
ForceSensor 4 exports include exercise (stiffness), lat
src/gui/encoder.cs | 16 ++++++++++++++++
1 file changed, 16 insertions(+)
---
diff --git a/src/gui/encoder.cs b/src/gui/encoder.cs
index ee4787ec..ba30a24f 100644
--- a/src/gui/encoder.cs
+++ b/src/gui/encoder.cs
@@ -2059,6 +2059,22 @@ public partial class ChronoJumpWindow
nameString += "_" + encoderLastAnalysis;
}
+ //on force sensor add exercise and laterality
+ //and if elastic, exercise should have (stiffness)
+ if(
+ checkFileOp == Constants.CheckFileOp.FORCESENSOR_SAVE_IMAGE_SIGNAL ||
+ checkFileOp == Constants.CheckFileOp.FORCESENSOR_SAVE_IMAGE_RFD_AUTO ||
+ checkFileOp == Constants.CheckFileOp.FORCESENSOR_SAVE_IMAGE_RFD_MANUAL ||
+ checkFileOp == Constants.CheckFileOp.FORCESENSOR_ANALYZE_SAVE_AB )
+ {
+ if(currentForceSensorExercise.Elastic)
+ nameString += "_" + currentForceSensorExercise.Name + "_Stiffness" +
currentForceSensor.Stiffness.ToString();
+ else
+ nameString += "_" + currentForceSensorExercise.Name;
+
+ nameString += "_" + getLaterality(true);
+ }
+
//when we send an image we just want to define the name
if(checkFileOp == Constants.CheckFileOp.ENCODER_ANALYZE_SEND_IMAGE)
{
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]