altosui: Ancient log files used 'apogee' for 'coast' state
authorKeith Packard <keithp@keithp.com>
Mon, 15 Aug 2011 04:09:42 +0000 (21:09 -0700)
committerKeith Packard <keithp@keithp.com>
Mon, 15 Aug 2011 04:09:42 +0000 (21:09 -0700)
2009-07-18-serial-004-flight-000 says 'apogee' for the apogee-detect
phase of the flight; map this to coast so that this flight replays
correctly (although the log terminates at apogee...)

Signed-off-by: Keith Packard <keithp@keithp.com>
altosui/Altos.java

index 416d932..d3f8fa6 100644 (file)
@@ -112,6 +112,7 @@ public class Altos {
                string_to_state.put("fast", ao_flight_fast);
                string_to_state.put("coast", ao_flight_coast);
                string_to_state.put("drogue", ao_flight_drogue);
+               string_to_state.put("apogee", ao_flight_coast);
                string_to_state.put("main", ao_flight_main);
                string_to_state.put("landed", ao_flight_landed);
                string_to_state.put("invalid", ao_flight_invalid);