mirror of
https://github.com/ArduPilot/ardupilot
synced 2025-01-03 06:28:27 -04:00
AP_AHRS: send ekf status reports even when EKF inactive
This commit is contained in:
parent
be371e09f9
commit
97b6ca218b
@ -1381,7 +1381,7 @@ bool AP_AHRS_NavEKF::resetHeightDatum(void)
|
|||||||
// send a EKF_STATUS_REPORT for current EKF
|
// send a EKF_STATUS_REPORT for current EKF
|
||||||
void AP_AHRS_NavEKF::send_ekf_status_report(mavlink_channel_t chan)
|
void AP_AHRS_NavEKF::send_ekf_status_report(mavlink_channel_t chan)
|
||||||
{
|
{
|
||||||
switch (active_EKF_type()) {
|
switch (ekf_type()) {
|
||||||
case EKF_TYPE_NONE:
|
case EKF_TYPE_NONE:
|
||||||
// send zero status report
|
// send zero status report
|
||||||
mavlink_msg_ekf_status_report_send(chan, 0, 0, 0, 0, 0, 0);
|
mavlink_msg_ekf_status_report_send(chan, 0, 0, 0, 0, 0, 0);
|
||||||
|
Loading…
Reference in New Issue
Block a user