From 94cb325184772745450322098e667c4b51fb18f1 Mon Sep 17 00:00:00 2001 From: rmackay9 Date: Sat, 28 Jul 2012 14:21:45 +0900 Subject: [PATCH] ArduCopter: added ahrs.ini() to system.pde to allow offsets to be pushed into MPU6000's DMP --- ArduCopter/system.pde | 2 ++ 1 file changed, 2 insertions(+) diff --git a/ArduCopter/system.pde b/ArduCopter/system.pde index 4c912cabb8..c46cfd26c1 100644 --- a/ArduCopter/system.pde +++ b/ArduCopter/system.pde @@ -385,6 +385,8 @@ static void startup_ground(void) #if CLI_ENABLED == ENABLED report_imu(); #endif + // initialise ahrs (may push imu calibration into the mpu6000 if using that device). + ahrs.init(); #endif // reset the leds