summaryrefslogtreecommitdiff
path: root/altosui/AltosLanded.java
diff options
context:
space:
mode:
authorKeith Packard <keithp@keithp.com>2013-05-19 23:07:54 -0700
committerKeith Packard <keithp@keithp.com>2013-05-19 23:07:54 -0700
commit57b4d82dee10b142b820aa306028a288a85214f6 (patch)
tree9150c9a89e622e63aa9164d11c3127652bd553a4 /altosui/AltosLanded.java
parent27e9b93f3d35890a49575b2ead1983ce3c2fc213 (diff)
Add Mini logging format. Use in EasyMinilpc
This is a 16-byte record that includes all of the sensor data in each sensor record, along with records for flight state changes. Signed-off-by: Keith Packard <keithp@keithp.com>
Diffstat (limited to 'altosui/AltosLanded.java')
-rw-r--r--altosui/AltosLanded.java3
1 files changed, 3 insertions, 0 deletions
diff --git a/altosui/AltosLanded.java b/altosui/AltosLanded.java
index 1d209bda..9dab52c4 100644
--- a/altosui/AltosLanded.java
+++ b/altosui/AltosLanded.java
@@ -253,6 +253,9 @@ public class AltosLanded extends JComponent implements AltosFlightDisplay, Actio
} else if (filename.endsWith("mega")) {
FileInputStream in = new FileInputStream(file);
records = new AltosEepromMegaIterable(in);
+ } else if (filename.endsWith("mini")) {
+ FileInputStream in = new FileInputStream(file);
+ records = new AltosEepromMiniIterable(in);
} else {
throw new FileNotFoundException(filename);
}