mirror of
https://github.com/ArduPilot/ardupilot
synced 2025-01-30 12:38:33 -04:00
Rover: ahrs only checks position in modes that require it
This commit is contained in:
parent
dc515b87df
commit
f6da769de8
@ -43,7 +43,7 @@ bool AP_Arming_Rover::gps_checks(bool display_failure)
|
||||
|
||||
// always check if inertial nav has started and is ready
|
||||
char failure_msg[50] = {};
|
||||
if (!ahrs.pre_arm_check(failure_msg, sizeof(failure_msg))) {
|
||||
if (!ahrs.pre_arm_check(true, failure_msg, sizeof(failure_msg))) {
|
||||
check_failed(display_failure, "AHRS: %s", failure_msg);
|
||||
return false;
|
||||
}
|
||||
|
Loading…
Reference in New Issue
Block a user