diff options
author | Keith Packard <keithp@keithp.com> | 2012-06-01 19:51:25 -0700 |
---|---|---|
committer | Keith Packard <keithp@keithp.com> | 2012-06-01 19:51:25 -0700 |
commit | 1824761f5b98e92485e2dd347b1c4d043ec207e2 (patch) | |
tree | 9c84ad0d7b4007ce668b901091695fc4ddbebd5e /altosui/AltosDataChooser.java | |
parent | ab85337aa942cb73a08bd3b783771179773b9a67 (diff) |
altosui: Quick hacks to download megametrum data and convert to CSV
Very little useful data crunching is done, but at least we can save
and convert files
Signed-off-by: Keith Packard <keithp@keithp.com>
Diffstat (limited to 'altosui/AltosDataChooser.java')
-rw-r--r-- | altosui/AltosDataChooser.java | 3 |
1 files changed, 3 insertions, 0 deletions
diff --git a/altosui/AltosDataChooser.java b/altosui/AltosDataChooser.java index d81ca6d1..488e1068 100644 --- a/altosui/AltosDataChooser.java +++ b/altosui/AltosDataChooser.java @@ -56,6 +56,9 @@ public class AltosDataChooser extends JFileChooser { } else if (filename.endsWith("telem")) { FileInputStream in = new FileInputStream(file); return new AltosTelemetryIterable(in); + } else if (filename.endsWith("mega")) { + FileInputStream in = new FileInputStream(file); + return new AltosEepromMegaIterable(in); } else { throw new FileNotFoundException(); } |