remove companion board support
[fw/altos] / teststand / AltosFlightUI.java
index 32f24994d513becdaf3a9ef3909e86e472ed75dc..19b7ad223f644e314161ae67d22daa0adb733915 100644 (file)
@@ -38,8 +38,6 @@ public class AltosFlightUI extends AltosUIFrame implements AltosFlightDisplay {
        AltosPad        pad;
        AltosIgnitor    igniter;
        AltosLanded     landed;
-       AltosCompanionInfo      companion;
-       boolean         has_companion;
        boolean         has_state;
        boolean         has_igniter;
 
@@ -120,18 +118,6 @@ public class AltosFlightUI extends AltosUIFrame implements AltosFlightDisplay {
                        }
                }
 
-               if (state.companion != null) {
-                       if (!has_companion) {
-                               pane.add("Companion", companion);
-                               has_companion= true;
-                       }
-               } else {
-                       if (has_companion) {
-                               pane.remove(companion);
-                               has_companion = false;
-                       }
-               }
-
                for (AltosFlightDisplay d : displays) {
                        try {
                                d.show(state, listener_state);
@@ -256,9 +242,6 @@ public class AltosFlightUI extends AltosUIFrame implements AltosFlightDisplay {
                displays.add(flightInfo);
                pane.add("Table", new JScrollPane(flightInfo));
 
-               companion = new AltosCompanionInfo();
-               displays.add(companion);
-               has_companion = false;
                has_state = false;
 
                /* Make the tabbed pane use the rest of the window space */