Commander: avoid leaking health checks into failure detector

This commit is contained in:
Matthias Grob committed 2026-03-12 18:30:51 +01:00
1 parent 270ad06e5f
commit 7207c34c5b
4 files changed
+12 -17

No files matched your search

+1 -1
View File
@@ -2016,7 +2016,7 @@ void Commander::run()
_vehicle_status.timestamp = hrt_absolute_time();
_vehicle_status_pub.publish(_vehicle_status);
_failure_detector.publishStatus();
_failure_detector.publishStatus(_health_and_arming_checks.getEscArmStatus(), _health_and_arming_checks.getMotorFailureMask());
}
checkWorkerThread();