From: Keith Packard Date: Fri, 25 Oct 2013 11:34:16 +0000 (-0700) Subject: altos: Calibrate IMU accelerometers too X-Git-Tag: 1.2.9.4~37 X-Git-Url: https://git.gag.com/?a=commitdiff_plain;ds=sidebyside;h=351d53836e201834a2d89773a08ab7c2dab2b2f4;hp=351d53836e201834a2d89773a08ab7c2dab2b2f4;p=fw%2Faltos 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 ---