Altosui: Add flight statistics tab to graph window
[fw/altos] / altosui / Altos.java
index 8d5916ad4653a2ebb553496739815541f9a27ab8..d90c418390d11ce1ccce33e0a7fab29747746d33 100644 (file)
@@ -98,7 +98,7 @@ public class Altos {
        static final Font value_font = new Font("Monospaced", Font.PLAIN, 22);
        static final Font status_font = new Font("SansSerif", Font.BOLD, 24);
 
-       static final int text_width = 16;
+       static final int text_width = 20;
 
        static void initialize_map()
        {
@@ -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();
@@ -408,5 +421,5 @@ public class Altos {
 
        public final static String bt_product_telebt = bt_product_telebt();
 
-       public static AltosBTKnown bt_known = new AltosBTKnown();
+//     public static AltosBTKnown bt_known = new AltosBTKnown();
 }