altoslib: Make Ascent/descent use different filter values. Always filter.
authorKeith Packard <keithp@keithp.com>
Tue, 3 Sep 2013 23:38:20 +0000 (17:38 -0600)
committerKeith Packard <keithp@keithp.com>
Tue, 3 Sep 2013 23:38:20 +0000 (17:38 -0600)
commit6ee99c1861ef1898a77aead41d80383e697bd248
tree314f1210cb17383e96c850e178e783b245e0bb41
parent70e67925cff98984d49fbc3f60e880c91e6d5079
altoslib: Make Ascent/descent use different filter values. Always filter.

In derivative code, use a shorter filter during ascent as the baro
sensor is cleaner then. Then, make sure to always filter the values as
the very first few baro samples can be noisy, which generates a bad
starting speed.

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