projects
/
fw
/
altos
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
altosui: Hook up the launch controller UI from the main button box
[fw/altos]
/
altosui
/
AltosUI.java
diff --git
a/altosui/AltosUI.java
b/altosui/AltosUI.java
index 27c41838e12ea15189d50bf65d4501f2619d9ddb..8399b7c8440e101a1d271c5c00ed4542fe0b6786 100644
(file)
--- a/
altosui/AltosUI.java
+++ b/
altosui/AltosUI.java
@@
-210,6
+210,13
@@
public class AltosUI extends JFrame {
});
b.setToolTipText("Check flight readiness of altimeter in idle mode");
});
b.setToolTipText("Check flight readiness of altimeter in idle mode");
+ b = addButton(2, 2, "Launch Controller");
+ b.addActionListener(new ActionListener() {
+ public void actionPerformed(ActionEvent e) {
+ LaunchController();
+ }
+ });
+
setTitle("AltOS");
pane.doLayout();
setTitle("AltOS");
pane.doLayout();
@@
-272,6
+279,10
@@
public class AltosUI extends JFrame {
new AltosSiteMapPreload(AltosUI.this);
}
new AltosSiteMapPreload(AltosUI.this);
}
+ void LaunchController() {
+ new AltosLaunchUI(AltosUI.this);
+ }
+
/*
* Replay a flight from telemetry data
*/
/*
* Replay a flight from telemetry data
*/