From a7b909234b98b47e5c6b5b479837ca8ce3e9bc46 Mon Sep 17 00:00:00 2001 From: Daniel Agar Date: Mon, 24 Oct 2022 20:43:28 -0400 Subject: [PATCH] commander: estimator nav test is not an arming check --- .../HealthAndArmingChecks/checks/estimatorCheck.cpp | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/src/modules/commander/HealthAndArmingChecks/checks/estimatorCheck.cpp b/src/modules/commander/HealthAndArmingChecks/checks/estimatorCheck.cpp index 496206f210..5eb9d1bf8e 100644 --- a/src/modules/commander/HealthAndArmingChecks/checks/estimatorCheck.cpp +++ b/src/modules/commander/HealthAndArmingChecks/checks/estimatorCheck.cpp @@ -625,9 +625,9 @@ void EstimatorChecks::checkEstimatorStatusFlags(const Context &context, Report & * @description * Land and recalibrate the sensors. */ - reporter.armingCheckFailure(NavModes::All, health_component_t::local_position_estimate, - events::ID("check_estimator_nav_failure"), - events::Log::Emergency, "Navigation failure"); + reporter.healthFailure(NavModes::All, health_component_t::local_position_estimate, + events::ID("check_estimator_nav_failure"), + events::Log::Emergency, "Navigation failure"); if (reporter.mavlink_log_pub()) { mavlink_log_critical(reporter.mavlink_log_pub(), "Navigation failure! Land and recalibrate sensors\t");