altoslib: Correct stats for flights without a real landing
authorKeith Packard <keithp@keithp.com>
Sun, 1 May 2016 01:33:25 +0000 (18:33 -0700)
committerKeith Packard <keithp@keithp.com>
Sun, 1 May 2016 01:33:25 +0000 (18:33 -0700)
commit4219fd7720caeec196bf6cb1b4cf78c8fadaf3cd
treef4bbcb0d1c13db7f7d579989f226c3da709da558
parent9734f1198429dc8939eebf48b6e6acc1cef96485
altoslib: Correct stats for flights without a real landing

The landing time was miscomputed when the flight ended without
entering the landed state, as when the recording terminates at
apogee.

This led to an uncomputed average boost accel, so that is now checked
separately from max accel (which is done over the whole flight, not
just boost).

Signed-off-by: Keith Packard <keithp@keithp.com>
altoslib/AltosFlightStats.java
altosuilib/AltosFlightStatsTable.java