We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 1d6da2c commit 4b1dd99Copy full SHA for 4b1dd99
libraries/GCS_MAVLink/GCS.cpp
@@ -535,7 +535,7 @@ void GCS::update_sensor_status_flags()
535
#endif
536
537
#if CONFIG_HAL_BOARD == HAL_BOARD_SITL && AP_AHRS_ENABLED
538
- if (ahrs.ekf_type_parameter_value() == 10) {
+ if (ahrs.configured_ekf_type() == AP_AHRS::EKFType::SIM) {
539
// always show EKF type 10 as healthy. This prevents spurious error
540
// messages in xplane and other simulators that use EKF type 10
541
control_sensors_health |= MAV_SYS_STATUS_AHRS | MAV_SYS_STATUS_SENSOR_GPS | MAV_SYS_STATUS_SENSOR_3D_ACCEL | MAV_SYS_STATUS_SENSOR_3D_GYRO;
0 commit comments