AP_Arming: Check GPS update rate as part of the GPS checks
This commit is contained in:
parent
cf02204e6c
commit
3ab9b75df0
@ -349,6 +349,14 @@ bool AP_Arming::gps_checks(bool report)
|
||||
}
|
||||
return false;
|
||||
}
|
||||
|
||||
//GPS update rate acceptable
|
||||
if (!gps.is_healthy()) {
|
||||
if (report) {
|
||||
gcs().send_text(MAV_SEVERITY_CRITICAL, "PreArm: GPS is not healthy");
|
||||
}
|
||||
return false;
|
||||
}
|
||||
}
|
||||
|
||||
if ((checks_to_perform & ARMING_CHECK_ALL) || (checks_to_perform & ARMING_CHECK_GPS_CONFIG)) {
|
||||
|
Loading…
Reference in New Issue
Block a user