mirror of
https://github.com/brendanhaines/RasPi.git
synced 2024-11-09 16:44:40 -07:00
removes 3d orientation representation from GroundStation.java
This commit is contained in:
parent
c5390acbe0
commit
5bc910846c
|
@ -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() {
|
||||||
|
|
Loading…
Reference in New Issue
Block a user