AP_AHRS: send zero EKF_STATUS_REPORT with EKF type 10

This commit is contained in:
Andrew Tridgell 2016-06-19 22:02:25 +10:00
parent 2f88c24f49
commit 2db2486b3a

View File

@ -1117,6 +1117,13 @@ void AP_AHRS_NavEKF::send_ekf_status_report(mavlink_channel_t chan)
return EKF1.send_status_report(chan);
#endif
#if CONFIG_HAL_BOARD == HAL_BOARD_SITL
case EKF_TYPE_SITL:
// send zero status report
mavlink_msg_ekf_status_report_send(chan, 0, 0, 0, 0, 0, 0);
break;
#endif
case EKF_TYPE2:
default:
return EKF2.send_status_report(chan);