diff options
author | Keith Packard <keithp@keithp.com> | 2013-10-25 04:34:16 -0700 |
---|---|---|
committer | Keith Packard <keithp@keithp.com> | 2013-10-25 04:34:16 -0700 |
commit | 351d53836e201834a2d89773a08ab7c2dab2b2f4 (patch) | |
tree | 599b180bc18e690496091dd335d8fa7731400b86 /src/core/ao_quaternion.h | |
parent | 08143a922fe27bc50a19924f46538f9476ab5fd1 (diff) |
altos: Calibrate IMU accelerometers too
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>
Diffstat (limited to 'src/core/ao_quaternion.h')
0 files changed, 0 insertions, 0 deletions