projects
/
fw
/
altos
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
altoslib/altosui: Further AltosState transition work
[fw/altos]
/
altoslib
/
AltosFlightReader.java
diff --git
a/altoslib/AltosFlightReader.java
b/altoslib/AltosFlightReader.java
index 3039b4dcbaf22b018ee1ecf057a81224ebdf844b..5a415274e412024b9e3e08f41ab7a5e264e101cd 100644
(file)
--- a/
altoslib/AltosFlightReader.java
+++ b/
altoslib/AltosFlightReader.java
@@
-28,7
+28,7
@@
public class AltosFlightReader {
public void init() { }
public void init() { }
- public Altos
Record
read() throws InterruptedException, ParseException, AltosCRCException, IOException { return null; }
+ public Altos
State
read() throws InterruptedException, ParseException, AltosCRCException, IOException { return null; }
public void close(boolean interrupted) { }
public void close(boolean interrupted) { }
@@
-45,4
+45,8
@@
public class AltosFlightReader {
public boolean supports_telemetry(int telemetry) { return false; }
public File backing_file() { return null; }
public boolean supports_telemetry(int telemetry) { return false; }
public File backing_file() { return null; }
+
+ public boolean has_monitor_battery() { return false; }
+
+ public double monitor_battery() { return AltosRecord.MISSING; }
}
}