altos: Use factory calibration for all acceleration computations
authorKeith Packard <keithp@keithp.com>
Wed, 15 Jan 2014 07:29:59 +0000 (23:29 -0800)
committerKeith Packard <keithp@keithp.com>
Wed, 15 Jan 2014 07:29:59 +0000 (23:29 -0800)
commitcc06242e882cba462791962c199b7c89e79adc65
tree10c33547bcd3c75021e283be00409825f32eedaa
parent9d812b3db418fd9816731b761a0853eb38f5a265
altos: Use factory calibration for all acceleration computations

The ground acceleration value will vary depending on the tilt angle of
the airframe, which will result in incorrect acceleration computations
during flight. This also avoids accidental boost detect when moving
the airframe around in pad mode.

Signed-off-by: Keith Packard <keithp@keithp.com>
altoslib/AltosState.java
src/core/ao_flight.c
src/core/ao_kalman.c