mirror of
https://github.com/ArduPilot/ardupilot
synced 2025-01-18 06:38:29 -04:00
Copter: clarify prearm failure messages
This commit is contained in:
parent
dc14d7bce4
commit
a90cfc7db7
@ -125,7 +125,7 @@ bool AP_Arming_Copter::ins_checks(bool display_failure)
|
|||||||
|
|
||||||
// get ekf attitude (if bad, it's usually the gyro biases)
|
// get ekf attitude (if bad, it's usually the gyro biases)
|
||||||
if (!pre_arm_ekf_attitude_check()) {
|
if (!pre_arm_ekf_attitude_check()) {
|
||||||
check_failed(ARMING_CHECK_INS, display_failure, "gyros still settling");
|
check_failed(ARMING_CHECK_INS, display_failure, "EKF attitude is bad");
|
||||||
ret = false;
|
ret = false;
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
@ -348,7 +348,7 @@ bool AP_Arming_Copter::gps_checks(bool display_failure)
|
|||||||
|
|
||||||
// always check if inertial nav has started and is ready
|
// always check if inertial nav has started and is ready
|
||||||
if (!ahrs.healthy()) {
|
if (!ahrs.healthy()) {
|
||||||
check_failed(ARMING_CHECK_NONE, display_failure, "Waiting for Nav Checks");
|
check_failed(ARMING_CHECK_NONE, display_failure, "AHRS not healthy");
|
||||||
return false;
|
return false;
|
||||||
}
|
}
|
||||||
|
|
||||||
@ -512,7 +512,7 @@ bool AP_Arming_Copter::arm_checks(bool display_failure, AP_Arming::ArmingMethod
|
|||||||
|
|
||||||
// always check if inertial nav has started and is ready
|
// always check if inertial nav has started and is ready
|
||||||
if (!ahrs.healthy()) {
|
if (!ahrs.healthy()) {
|
||||||
check_failed(ARMING_CHECK_NONE, display_failure, "Waiting for Nav Checks");
|
check_failed(ARMING_CHECK_NONE, display_failure, "AHRS not healthy");
|
||||||
return false;
|
return false;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
Loading…
Reference in New Issue
Block a user