FailureDetector - use standard topic subscription for attitude topic and

pass vehicle_status from commander instead of subscribing to it.
This commit is contained in:
bresch
2019-09-24 11:21:24 +02:00
committed by Beat Küng
parent 000c1e364c
commit 6139812293
3 changed files with 21 additions and 33 deletions
+1 -1
View File
@@ -2207,7 +2207,7 @@ Commander::run()
}
/* Check for failure detector status */
const bool failure_detector_updated = _failure_detector.update();
const bool failure_detector_updated = _failure_detector.update(status);
if (failure_detector_updated) {