mirror of
https://github.com/PX4/PX4-Autopilot.git
synced 2026-11-30 21:12:20 +08:00
fix(estimator-checks): do not report sensor failure on jamming detection
Using "Notice" instead of "Warning" makes sure the the GPS bit in SYS_STATUS stays healthy while still reporting the jamming message.
This commit is contained in:
1 parent
212e1f7192
commit
2ade8610af
1 file changed
+1
-1
@@ -678,7 +678,7 @@ void EstimatorChecks::checkGps(const Context &context, Report &reporter, const s
|
||||
*/
|
||||
reporter.armingCheckFailure(NavModes::None, health_component_t::gps,
|
||||
events::ID("check_estimator_gps_jamming_critical"),
|
||||
events::Log::Warning, "GPS jamming detected");
|
||||
events::Log::Notice, "GPS jamming detected");
|
||||
|
||||
if (reporter.mavlink_log_pub()) {
|
||||
mavlink_log_warning(reporter.mavlink_log_pub(), "GPS jamming detected\t");
|
||||
|
||||
Reference in new issue
Block a user