removes 3d orientation representation from GroundStation.java

This commit is contained in:
Brendan Haines 2015-03-13 14:57:49 -06:00
parent c5390acbe0
commit 5bc910846c

View File

@ -23,8 +23,6 @@ class GroundStation implements ActionListener {
private JTabbedPane tabbedPane; private JTabbedPane tabbedPane;
/** motor testing panel */ /** motor testing panel */
private MotorTestPanel motorTestPanel; private MotorTestPanel motorTestPanel;
/** displays visual representation of copter orientation */
private Display3d orientationPanel;
/** displays visual representation of control positions */ /** displays visual representation of control positions */
private DisplayController controllerPanel; private DisplayController controllerPanel;
@ -52,9 +50,7 @@ class GroundStation implements ActionListener {
controllerPanel = new DisplayController( receiveContent ); controllerPanel = new DisplayController( receiveContent );
tabbedPane.add( controllerPanel, "Controller" ); tabbedPane.add( controllerPanel, "Controller" );
connectPanel.addActionListener( controllerPanel );
orientationPanel = new Display3d( receiveContent );
tabbedPane.add( orientationPanel, "Orientation" );
motorTestPanel = new MotorTestPanel( sendContent ); motorTestPanel = new MotorTestPanel( sendContent );
motorTestPanel.setEnabled( false ); motorTestPanel.setEnabled( false );
@ -65,8 +61,6 @@ class GroundStation implements ActionListener {
mainWindow.pack(); mainWindow.pack();
mainWindow.setVisible( true ); mainWindow.setVisible( true );
sendContent.orientation = true;
} }
public void disableMotors() { public void disableMotors() {