summaryrefslogtreecommitdiff
path: root/altoslib
diff options
context:
space:
mode:
authorKeith Packard <keithp@keithp.com>2018-08-05 11:09:34 +0800
committerKeith Packard <keithp@keithp.com>2018-08-05 11:13:42 +0800
commit0d57c78dde3c6e61576a4769b0e0fae7e88c107d (patch)
tree55b15b996575fe8c934ebfb16426c8e95425e2cf /altoslib
parent9dfbf0103a649816e98d5511b1d6bbbfc93f6632 (diff)
altos: Add separate 'ao_launch_tick'. Use in pyro and lockout.
Prior to this, there was only ao_boost_tick, which got reset at each motor burn start. That meant there wasn't any way to measure total flight time for pyro channels and 'apogee lockout' was based on time since most recent motor start instead of total flight time. Now pyro channels and apogee lockout both use total flight time, while motor burn length still uses time since most recent motor burn start (as it should). Docs and UI updated to use 'launch' instead of 'boost' to try and make the change clear. Signed-off-by: Keith Packard <keithp@keithp.com>
Diffstat (limited to 'altoslib')
-rw-r--r--altoslib/AltosPyro.java4
1 files changed, 2 insertions, 2 deletions
diff --git a/altoslib/AltosPyro.java b/altoslib/AltosPyro.java
index 18f0da56..fea4fd59 100644
--- a/altoslib/AltosPyro.java
+++ b/altoslib/AltosPyro.java
@@ -61,8 +61,8 @@ public class AltosPyro {
public static final int pyro_time_greater = 0x00000200;
public static final String pyro_time_less_string = "t<";
public static final String pyro_time_greater_string = "t>";
- public static final String pyro_time_less_name = "Time since boost less than (s)";
- public static final String pyro_time_greater_name = "Time since boost greater than (s)";
+ public static final String pyro_time_less_name = "Time since launch less than (s)";
+ public static final String pyro_time_greater_name = "Time since launch greater than (s)";
public static final double pyro_time_scale = 100.0;
public static final int pyro_ascending = 0x00000400;