diff --git a/src/modules/commander/HealthAndArmingChecks/checks/estimatorCheck.cpp b/src/modules/commander/HealthAndArmingChecks/checks/estimatorCheck.cpp index f04f944469..44b5fa91c9 100644 --- a/src/modules/commander/HealthAndArmingChecks/checks/estimatorCheck.cpp +++ b/src/modules/commander/HealthAndArmingChecks/checks/estimatorCheck.cpp @@ -184,12 +184,17 @@ void EstimatorChecks::checkEstimatorStatus(const Context &context, Report &repor /* EVENT * @description * + * Measured strength: {1:.3}, expected: {2:.3} ± EKF2_MAG_CHK_STR + * Measured inclination: {3:.3}, expected: {4:.3} ± EKF2_MAG_CHK_INC * This check can be configured via COM_ARM_MAG_STR and EKF2_MAG_CHECK parameters. * */ - reporter.armingCheckFailure(required_groups_mag, health_component_t::local_position_estimate, - events::ID("check_estimator_mag_interference"), - events::Log::Warning, "Strong magnetic interference"); + reporter.armingCheckFailure(required_groups_mag, + health_component_t::local_position_estimate, + events::ID("check_estimator_mag_interference"), + events::Log::Warning, "Strong magnetic interference", + estimator_status.mag_strength_gs, estimator_status.mag_strength_ref_gs, + estimator_status.mag_inclination_deg, estimator_status.mag_inclination_ref_deg); if (reporter.mavlink_log_pub()) { mavlink_log_critical(reporter.mavlink_log_pub(), "Preflight Fail: Strong magnetic interference");