mirror of
https://github.com/ArduPilot/ardupilot
synced 2025-02-22 15:53:56 -04:00
Plane: use accel_calibrated_ok_all
This commit is contained in:
parent
ae87f9be6e
commit
0db25426c0
@ -224,7 +224,7 @@ static NOINLINE void send_extended_status1(mavlink_channel_t chan)
|
||||
// AHRS subsystem is unhealthy
|
||||
control_sensors_health &= ~MAV_SYS_STATUS_AHRS;
|
||||
}
|
||||
if (ahrs.have_inertial_nav() && !ins.calibrated()) {
|
||||
if (ahrs.have_inertial_nav() && !ins.accel_calibrated_ok_all()) {
|
||||
// trying to use EKF without properly calibrated accelerometers
|
||||
control_sensors_health &= ~MAV_SYS_STATUS_AHRS;
|
||||
}
|
||||
|
Loading…
Reference in New Issue
Block a user