diff options
author | Keith Packard <keithp@keithp.com> | 2011-08-10 13:35:26 -0700 |
---|---|---|
committer | Keith Packard <keithp@keithp.com> | 2011-08-10 13:35:26 -0700 |
commit | 6ac604d11de44cd824f09e4b467264a2b74be7bd (patch) | |
tree | 3b56f4826826dbb1de1682b99a8c5bb9eed33eb0 /altosui/Altos.java | |
parent | 94d9a2c36fabdf24d6a0b985851e95e4eb181fd9 (diff) |
Altosui: Add flight statistics tab to graph window
Provide basic flight stats alongside the flight graph.
Signed-off-by: Keith Packard <keithp@keithp.com>
Diffstat (limited to 'altosui/Altos.java')
-rw-r--r-- | altosui/Altos.java | 13 |
1 files changed, 13 insertions, 0 deletions
diff --git a/altosui/Altos.java b/altosui/Altos.java index b257ad7b..d90c4183 100644 --- a/altosui/Altos.java +++ b/altosui/Altos.java @@ -142,6 +142,19 @@ public class Altos { "invalid", }; + static String[] state_to_string_capital = { + "Startup", + "Idle", + "Pad", + "Boost", + "Fast", + "Coast", + "Drogue", + "Main", + "Landed", + "Invalid", + }; + static public int state(String state) { if (!map_initialized) initialize_map(); |