altosui: Move launch-sites.txt file to altusmetrum.org
[fw/altos] / altosui / Altos.java
index b257ad7b0fa35732a686f43264fe18f0226aa962..73dc7468e532d101e879a28e1740c1577359ff1f 100644 (file)
@@ -80,6 +80,8 @@ public class Altos {
                "Off", "Standard Telemetry", "TeleMetrum v0.9", "TeleMetrum v0.8"
        };
 
+       static final String launch_sites_url = "http://www.altusmetrum.org/AltOS/launch-sites.txt";
+
        static final int ao_telemetry_standard_len = 32;
        static final int ao_telemetry_0_9_len = 95;
        static final int ao_telemetry_0_8_len = 94;
@@ -142,6 +144,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();