Skip to content
Open
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
2 changes: 1 addition & 1 deletion libraries/AP_AHRS/AP_AHRS_SIM.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -187,7 +187,7 @@ void AP_AHRS_SIM::send_ekf_status_report(GCS_MAVLINK &link) const
//EKF_CONST_POS_MODE | /* EKF is in constant position mode and does not know it's absolute or relative position. | */
EKF_PRED_POS_HORIZ_REL | /* Set if EKF's predicted horizontal position (relative) estimate is good. | */
EKF_PRED_POS_HORIZ_ABS; /* Set if EKF's predicted horizontal position (absolute) estimate is good. | */
mavlink_msg_ekf_status_report_send(link.get_chan(), flags, 0, 0, 0, 0, 0, 0);
mavlink_msg_ekf_status_report_send(link.get_chan(), flags, 0, 0, 0, 0, 0, 0, ESTIMATOR_TYPE_SIM, 1, 0);
#endif // HAL_GCS_ENABLED
}

Expand Down
2 changes: 1 addition & 1 deletion libraries/AP_ExternalAHRS/AP_ExternalAHRS.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -389,7 +389,7 @@ void AP_ExternalAHRS::send_status_report(GCS_MAVLINK &link) const
velVar,
posVar,
hgtVar,
mag_var, 0, 0);
mag_var, 0, 0, ESTIMATOR_TYPE_EXTERNAL, 0, 0);
}

void AP_ExternalAHRS::update(void)
Expand Down
2 changes: 1 addition & 1 deletion libraries/AP_NavEKF2/AP_NavEKF2_Outputs.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -556,7 +556,7 @@ void NavEKF2_core::send_status_report(GCS_MAVLINK &link) const
}

// send message
mavlink_msg_ekf_status_report_send(link.get_chan(), flags, velVar, posVar, hgtVar, mag_max, temp, tasVar);
mavlink_msg_ekf_status_report_send(link.get_chan(), flags, velVar, posVar, hgtVar, mag_max, temp, tasVar, ESTIMATOR_TYPE_EKF2, core_index + 1, 0);
}
#endif // HAL_GCS_ENABLED

Expand Down
5 changes: 4 additions & 1 deletion libraries/AP_NavEKF3/AP_NavEKF3_Outputs.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -651,7 +651,10 @@ void NavEKF3_core::send_status_report(GCS_MAVLINK &link) const
fmaxf(fmaxf(magVar.x,magVar.y),magVar.z),
temp,
flags,
tasVar
tasVar,
ESTIMATOR_TYPE_EKF3,
uint8_t(core_index + 1),
uint8_t(frontend->sources.getActiveSourceSet(core_index) + 1),
};

// send message
Expand Down
2 changes: 1 addition & 1 deletion modules/mavlink