altoslib: Clip accelerometer-based speed to >= 0 easymotor
authorKeith Packard <keithp@keithp.com>
Sat, 17 Oct 2020 22:29:11 +0000 (15:29 -0700)
committerKeith Packard <keithp@keithp.com>
Sat, 17 Oct 2020 22:29:11 +0000 (15:29 -0700)
commitd560dc8a11a5a6a75081fb8f87621edf400fae90
tree0f86f167d4d73d2f6bd5ef9b58618773a2b3dac5
parent5c522dccdcb5aae94280cd3a1dc059b512ccc09a
altoslib: Clip accelerometer-based speed to >= 0

Negative vertical speeds computed by axial acceleration aren't
sensible, so just clip them to zero so that plots are more useful.

Signed-off-by: Keith Packard <keithp@keithp.com>
altoslib/AltosFlightSeries.java
altoslib/AltosTimeSeries.java