mirror of
https://github.com/PX4/PX4-Autopilot.git
synced 2026-11-25 00:30:50 +08:00
Commander: avoid leaking health checks into failure detector
This commit is contained in:
1 parent
270ad06e5f
commit
7207c34c5b
4 files changed
+12
-17
No files matched your search
@@ -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();
|
||||
|
||||
Reference in new issue
Block a user