Rover: reset AHRS trim after levelling
This commit is contained in:
parent
0a0b51cc63
commit
0f239ae92c
@ -417,6 +417,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));
|
||||
}
|
||||
ahrs.reset();
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user