summaryrefslogtreecommitdiff
path: root/altosui/AltosTelemetryReader.java
diff options
context:
space:
mode:
authorKeith Packard <keithp@keithp.com>2011-08-10 14:08:21 -0700
committerKeith Packard <keithp@keithp.com>2011-08-10 14:08:21 -0700
commit9e1487b1a5db0afd1d23c86d82c60b1c1a62aab0 (patch)
treeab00e263739cacb14a09a63b650639a28fe4fe3f /altosui/AltosTelemetryReader.java
parent6ac604d11de44cd824f09e4b467264a2b74be7bd (diff)
altosui: Add a 'Graph Flight' button to the 'landed' tab
This lets you see the results of a flight as soon as the rocket lands using the telemetry data. Signed-off-by: Keith Packard <keithp@keithp.com>
Diffstat (limited to 'altosui/AltosTelemetryReader.java')
-rw-r--r--altosui/AltosTelemetryReader.java4
1 files changed, 4 insertions, 0 deletions
diff --git a/altosui/AltosTelemetryReader.java b/altosui/AltosTelemetryReader.java
index 6abe95d8..1f327a67 100644
--- a/altosui/AltosTelemetryReader.java
+++ b/altosui/AltosTelemetryReader.java
@@ -69,6 +69,10 @@ class AltosTelemetryReader extends AltosFlightReader {
AltosPreferences.set_telemetry(device.getSerial(), telemetry);
}
+ File backing_file() {
+ return log.file();
+ }
+
public AltosTelemetryReader (AltosDevice in_device)
throws FileNotFoundException, AltosSerialInUseException, IOException, InterruptedException, TimeoutException {
device = in_device;