mirror of
https://github.com/ArduPilot/ardupilot
synced 2025-01-02 22:18:28 -04:00
Rover: use set_flying to allow for compass learning to run
This commit is contained in:
parent
0a7170774a
commit
7ae90237e3
@ -302,6 +302,10 @@ void Rover::one_second_loop(void)
|
||||
// indicates that the sensor or subsystem is present but not
|
||||
// functioning correctly
|
||||
update_sensor_status_flags();
|
||||
|
||||
// need to set "likely flying" when armed to allow for compass
|
||||
// learning to run
|
||||
ahrs.set_likely_flying(hal.util->get_soft_armed());
|
||||
}
|
||||
|
||||
void Rover::update_GPS(void)
|
||||
|
Loading…
Reference in New Issue
Block a user