altoslib: Clip accelerometer-based speed to >= 0
authorKeith Packard <keithp@keithp.com>
Sat, 17 Oct 2020 22:29:11 +0000 (15:29 -0700)
committerKeith Packard <keithp@keithp.com>
Thu, 22 Oct 2020 04:33:59 +0000 (21:33 -0700)
commitc507e143aac0bc251b02bbe3c812bf81b7026ff7
treee68d5aea86d6529e920bdccaa66758ccd190cefb
parent2a0a683b06fefbf1b17cba2dc1bbe877a19ce9f4
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