PX4-Autopilot icon indicating copy to clipboard operation
PX4-Autopilot copied to clipboard

DistanceCheck: Disable health failure reporting if the SFXX_MODE is set to 2

Open KonradRudin opened this issue 1 year ago • 0 comments

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

KonradRudin avatar Aug 28 '24 16:08 KonradRudin