altos: Calibrate IMU accelerometers too
authorKeith Packard <keithp@keithp.com>
Fri, 25 Oct 2013 11:34:16 +0000 (04:34 -0700)
committerKeith Packard <keithp@keithp.com>
Fri, 25 Oct 2013 11:34:16 +0000 (04:34 -0700)
Average the IMU accelerometer values pointing up and down so that we
have a zero-g offset for all three axes. This can then be used to
compute which direction the rocket is pointing while sitting on the pad.

Signed-off-by: Keith Packard <keithp@keithp.com>

No differences found