diff options
author | Keith Packard <keithp@keithp.com> | 2011-08-10 14:08:21 -0700 |
---|---|---|
committer | Keith Packard <keithp@keithp.com> | 2011-08-10 14:08:21 -0700 |
commit | 9e1487b1a5db0afd1d23c86d82c60b1c1a62aab0 (patch) | |
tree | ab00e263739cacb14a09a63b650639a28fe4fe3f /altosui/AltosFlightStats.java | |
parent | 6ac604d11de44cd824f09e4b467264a2b74be7bd (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/AltosFlightStats.java')
-rw-r--r-- | altosui/AltosFlightStats.java | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/altosui/AltosFlightStats.java b/altosui/AltosFlightStats.java index e38142f0..e644b0ba 100644 --- a/altosui/AltosFlightStats.java +++ b/altosui/AltosFlightStats.java @@ -85,11 +85,11 @@ public class AltosFlightStats { } } - public AltosFlightStats(AltosRecordIterable iterable, String filename) throws InterruptedException, IOException { - this(new AltosReplayReader(iterable.iterator(), filename)); + public AltosFlightStats(AltosRecordIterable iterable, File file) throws InterruptedException, IOException { + this(new AltosReplayReader(iterable.iterator(), file)); } public AltosFlightStats(AltosRecordIterable iterable) throws InterruptedException, IOException { - this(iterable, ""); + this(iterable, new File("")); } } |