Rover: a rover moves along its X axis

this allows a rover to work without a compass for yaw control
This commit is contained in:
Andrew Tridgell 2012-06-22 18:14:27 +10:00
parent f4faf941e2
commit 09db935874

View File

@ -485,7 +485,7 @@ static void startup_IMU_ground(bool force_accel_level)
// it once via the ground station
imu.init_accel(mavlink_delay, flash_leds);
}
ahrs.set_centripetal(1);
ahrs.set_fly_forward(true);
ahrs.reset();
// read Baro pressure at ground