mirror of
https://github.com/ArduPilot/ardupilot
synced 2025-02-01 21:48:28 -04:00
Plane: reset AHRS trim after a level operation
This commit is contained in:
parent
f67480fa50
commit
0a0b51cc63
@ -459,6 +459,7 @@ static void startup_INS_ground(bool force_accel_level)
|
||||
// levelling on each boot, and instead rely on the user to do
|
||||
// it once via the ground station
|
||||
ins.init_accel(flash_leds);
|
||||
ahrs.set_trim(Vector3f(0, 0, 0));
|
||||
}
|
||||
#endif
|
||||
ahrs.reset();
|
||||
|
Loading…
Reference in New Issue
Block a user