altos: Make ao_flight_test show true height but report saturated height
authorKeith Packard <keithp@keithp.com>
Fri, 1 Apr 2011 03:55:18 +0000 (20:55 -0700)
committerKeith Packard <keithp@keithp.com>
Fri, 1 Apr 2011 03:55:18 +0000 (20:55 -0700)
commitc0971abc02b05d136aea257f3f40ba3b22b1d441
treec4bb3b08d7e15e0fa9fd7bfa3b5f35d1795c039d
parent8a14142e7b37031a51409f121b913fe793bf3603
altos: Make ao_flight_test show true height but report saturated height

To simulate a saturated baro sensor, clip baro data at a specified
altitude. Continue to report the 'true' altitude in the output so that
the resulting graphs are useful.

Signed-off-by: Keith Packard <keithp@keithp.com>
src/ao_flight_test.c