[chronojump] RaceAnalyzer angles changed -180 180 to -90 90
- From: Xavier de Blas <xaviblas src gnome org>
- To: commits-list gnome org
- Cc:
- Subject: [chronojump] RaceAnalyzer angles changed -180 180 to -90 90
- Date: Fri, 6 May 2022 16:45:56 +0000 (UTC)
commit 568e77f043dee767d1833d3fd56fde8047fcc5ec
Author: Xavier de Blas <xaviblas gmail com>
Date: Fri May 6 18:45:21 2022 +0200
RaceAnalyzer angles changed -180 180 to -90 90
glade/app1.glade | 4 ++--
src/gui/app1/runEncoder.cs | 2 +-
src/sqlite/runEncoder.cs | 4 ++--
3 files changed, 5 insertions(+), 5 deletions(-)
---
diff --git a/glade/app1.glade b/glade/app1.glade
index 84bf1561f..e893c6056 100644
--- a/glade/app1.glade
+++ b/glade/app1.glade
@@ -15416,7 +15416,7 @@ Resisted race analyzer</property>
<property
name="secondary_icon_activatable">False</property>
<property
name="primary_icon_sensitive">True</property>
<property
name="secondary_icon_sensitive">True</property>
- <property name="adjustment">0 -180 180 1 10
0</property>
+ <property name="adjustment">0 -90 90 1 10
0</property>
<property name="climb_rate">1</property>
<property name="numeric">True</property>
</widget>
@@ -15716,7 +15716,7 @@ Resisted race analyzer</property>
<property
name="secondary_icon_activatable">False</property>
<property
name="primary_icon_sensitive">True</property>
<property
name="secondary_icon_sensitive">True</property>
- <property name="adjustment">0 -180 180 1 10
0</property>
+ <property name="adjustment">0 -90 90 1 10
0</property>
<property name="climb_rate">1</property>
</widget>
<packing>
diff --git a/src/gui/app1/runEncoder.cs b/src/gui/app1/runEncoder.cs
index 92b93b007..0648bea03 100644
--- a/src/gui/app1/runEncoder.cs
+++ b/src/gui/app1/runEncoder.cs
@@ -1994,7 +1994,7 @@ public partial class ChronoJumpWindow
Catalog.GetString("Default angle of this exercise.") + "\n" +
Catalog.GetString("90 means go vertically up.") + "\n" +
Catalog.GetString("-90 means go vertically down.") + "\n" +
- string.Format(Catalog.GetString("Possible range goes from {0} to {1}."),
-180, 180));
+ string.Format(Catalog.GetString("Possible range goes from {0} to {1}."), -90,
90));
return;
}
private void on_check_run_encoder_exercise_fixed_size_toggled (object o, EventArgs args)
diff --git a/src/sqlite/runEncoder.cs b/src/sqlite/runEncoder.cs
index ac6816d8f..822917a28 100644
--- a/src/sqlite/runEncoder.cs
+++ b/src/sqlite/runEncoder.cs
@@ -55,7 +55,7 @@ class SqliteRunEncoder : Sqlite
"datetime TEXT, " + //2019-07-11_15-01-44
"comments TEXT, " +
"videoURL TEXT, " + //URL of video of signals. stored as relative
- "angle INT)"; //capture can be or not at angleDefault
+ "angle INT)"; //capture can be at angleDefault (or not), nice if you have a
run inclinated exercise and you want to change the angle depending on the place you perform
LogB.SQL(dbcmd.CommandText.ToString());
dbcmd.ExecuteNonQuery();
}
@@ -365,7 +365,7 @@ class SqliteRunEncoderExercise : Sqlite
"segmentMeters INT, " + //changed to cm in DB 2.33
"segmentVariableCm TEXT, " + //separator is ;
"isSprint INT NOT NULL DEFAULT 1, " + //bool
- "angleDefault INT NOT NULL DEFAULT 0)"; //0 horiz, -90 vert go down, 90 vert go up.
Technically can be from -180 to 180
+ "angleDefault INT NOT NULL DEFAULT 0)"; //0 horiz, -90 vert go down, 90 vert go up.
Maybe in the future this could be -180 180 to measure force when person is (down the wall)
LogB.SQL(dbcmd.CommandText.ToString());
dbcmd.ExecuteNonQuery();
}
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]