altoslib,altosui: Be more robust when graphing bogus .telem files
authorKeith Packard <keithp@keithp.com>
Tue, 15 Oct 2013 03:42:14 +0000 (20:42 -0700)
committerKeith Packard <keithp@keithp.com>
Tue, 15 Oct 2013 03:42:14 +0000 (20:42 -0700)
commitdb4cd8b3838d27bebdeb6a085a739a36f7634a91
treec1e2b489b2f1c50714fa6ac3ffbd380384a0e7a4
parent1bd9786802751391cca3b83ac3045029e00e39ee
altoslib,altosui: Be more robust when graphing bogus .telem files

Deal with files containing multiple serial number/flight number values
by preserving the boost_tick value across state resets.

Check for invalid state when computing actual boost time for the stats
window.

Ignore invalid speed/accel values when computing averages.

Signed-off-by: Keith Packard <keithp@keithp.com>
altoslib/AltosState.java
altoslib/AltosTelemetryIterable.java
altosui/AltosFlightStats.java