From f7ffe27d4ca2814fa14021605b822c4fe5470fb1 Mon Sep 17 00:00:00 2001 From: Marco Hauswirth <58551738+haumarco@users.noreply.github.com> Date: Thu, 3 Jul 2025 14:13:03 +0200 Subject: [PATCH] GNSS Spoofing Warning Sensitivity Adjustment (#25144) --- .../checks/estimatorCheck.cpp | 23 ------------------- 1 file changed, 23 deletions(-) diff --git a/src/modules/commander/HealthAndArmingChecks/checks/estimatorCheck.cpp b/src/modules/commander/HealthAndArmingChecks/checks/estimatorCheck.cpp index fa7def7727..2b90f78c84 100644 --- a/src/modules/commander/HealthAndArmingChecks/checks/estimatorCheck.cpp +++ b/src/modules/commander/HealthAndArmingChecks/checks/estimatorCheck.cpp @@ -605,29 +605,6 @@ void EstimatorChecks::checkGps(const Context &context, Report &reporter, const s mavlink_log_critical(reporter.mavlink_log_pub(), "GPS reports critical jamming state\t"); } } - - if (vehicle_gps_position.spoofing_state == sensor_gps_s::SPOOFING_STATE_INDICATED) { - /* EVENT - */ - reporter.armingCheckFailure(NavModes::None, health_component_t::gps, - events::ID("check_estimator_gps_spoofing_indicated"), - events::Log::Critical, "GPS reports spoofing indicated"); - - if (reporter.mavlink_log_pub()) { - mavlink_log_critical(reporter.mavlink_log_pub(), "GPS reports spoofing indicated\t"); - } - - } else if (vehicle_gps_position.spoofing_state == sensor_gps_s::SPOOFING_STATE_MULTIPLE) { - /* EVENT - */ - reporter.armingCheckFailure(NavModes::None, health_component_t::gps, - events::ID("check_estimator_gps_multiple_spoofing_indicated"), - events::Log::Critical, "GPS reports multiple spoofing indicated"); - - if (reporter.mavlink_log_pub()) { - mavlink_log_critical(reporter.mavlink_log_pub(), "GPS reports multiple spoofing indicated\t"); - } - } } void EstimatorChecks::lowPositionAccuracy(const Context &context, Report &reporter,