projects
/
fw
/
altos
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
altos: Add timeout to RN4678 status message code
[fw/altos]
/
altosui
/
AltosIdleMonitorUI.java
diff --git
a/altosui/AltosIdleMonitorUI.java
b/altosui/AltosIdleMonitorUI.java
index 4d5c3b2df7661f96c6f91b67a8e7120bcd7d830a..afa9b944eb9a6a8f338760db898beb31abbf7914 100644
(file)
--- a/
altosui/AltosIdleMonitorUI.java
+++ b/
altosui/AltosIdleMonitorUI.java
@@
-34,12
+34,12
@@
public class AltosIdleMonitorUI extends AltosUIFrame implements AltosFlightDispl
AltosPad pad;
AltosInfoTable flightInfo;
AltosFlightStatus flightStatus;
AltosPad pad;
AltosInfoTable flightInfo;
AltosFlightStatus flightStatus;
- AltosIgnitor ignit
o
r;
+ AltosIgnitor ignit
e
r;
AltosIdleMonitor thread;
AltosUIMap sitemap;
int serial;
boolean remote;
AltosIdleMonitor thread;
AltosUIMap sitemap;
int serial;
boolean remote;
- boolean has_ignit
o
r;
+ boolean has_ignit
e
r;
boolean has_map;
void stop_display() {
boolean has_map;
void stop_display() {
@@
-75,15
+75,15
@@
public class AltosIdleMonitorUI extends AltosUIFrame implements AltosFlightDispl
public void show(AltosState state, AltosListenerState listener_state) {
status_update.saved_state = state;
public void show(AltosState state, AltosListenerState listener_state) {
status_update.saved_state = state;
- if (ignit
o
r.should_show(state)) {
- if (!has_ignit
o
r) {
- pane.add("Ignitor", ignit
o
r);
- has_ignit
o
r = true;
+ if (ignit
e
r.should_show(state)) {
+ if (!has_ignit
e
r) {
+ pane.add("Ignitor", ignit
e
r);
+ has_ignit
e
r = true;
}
} else {
}
} else {
- if (has_ignit
o
r) {
- pane.remove(ignit
o
r);
- has_ignit
o
r = false;
+ if (has_ignit
e
r) {
+ pane.remove(ignit
e
r);
+ has_ignit
e
r = false;
}
}
if (state.gps != null && state.gps.connected) {
}
}
if (state.gps != null && state.gps.connected) {
@@
-102,8
+102,8
@@
public class AltosIdleMonitorUI extends AltosUIFrame implements AltosFlightDispl
pad.show(state, listener_state);
flightStatus.show(state, listener_state);
flightInfo.show(state, listener_state);
pad.show(state, listener_state);
flightStatus.show(state, listener_state);
flightInfo.show(state, listener_state);
- if (has_ignit
o
r)
- ignit
o
r.show(state, listener_state);
+ if (has_ignit
e
r)
+ ignit
e
r.show(state, listener_state);
if (has_map)
sitemap.show(state, listener_state);
// } catch (Exception e) {
if (has_map)
sitemap.show(state, listener_state);
// } catch (Exception e) {
@@
-274,7
+274,7
@@
public class AltosIdleMonitorUI extends AltosUIFrame implements AltosFlightDispl
flightInfo = new AltosInfoTable();
pane.add("Table", new JScrollPane(flightInfo));
flightInfo = new AltosInfoTable();
pane.add("Table", new JScrollPane(flightInfo));
- ignit
o
r = new AltosIgnitor();
+ ignit
e
r = new AltosIgnitor();
sitemap = new AltosUIMap();
sitemap = new AltosUIMap();