altos: Auto-calibrate linux-based flight testing code
authorKeith Packard <keithp@keithp.com>
Sun, 16 Jan 2011 23:57:15 +0000 (15:57 -0800)
committerKeith Packard <keithp@keithp.com>
Mon, 17 Jan 2011 04:24:13 +0000 (20:24 -0800)
commit1b8d7313504240ed04e0747e9b0f6e9a83d323e2
tree35bbb21eaac8dcdca288aea68acc338500e7ba12
parentafd3d3cdb8c2291c1c7cda7908392d68cd04f87f
altos: Auto-calibrate linux-based flight testing code

Use the provided ground acceleration average to set the two
accelerometer calibration values so that the flight code will
detect pad/idle mode correctly.

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