PX4-Autopilot
PX4-Autopilot copied to clipboard
DistanceCheck: Disable health failure reporting if the SFXX_MODE is set to 2
Solved Problem
We have to option for the lightware laser driver to disable the sensor when in VTOL fixed wing flight. However, if the sensor is mandatory, a health failure warning appears, since no sensor data is published.
Solution
- If a distance sensor is in VTOL mode, mark the sensor as valid even when no data has arrived.
Changelog Entry
For release notes:
Bugfix: Disable health failure reporting if the SFXX_MODE is set to 2
New parameter: XYZ_Z
Documentation: Need to clarify page ... / done, read docs.px4.io/...
Test coverage
- Unit/integration test: ...
- Simulation/hardware testing logs: https://review.px4.io/
Context
Related links, screenshot before/after, video