]> git.gag.com Git - fw/altos/commitdiff
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)
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>

No differences found