mirror of
https://github.com/PX4/PX4-Autopilot.git
synced 2026-12-02 22:40:27 +08:00
DistanceSensorCheck: do not raise a distance sensor failure if the SFXX_MODE is set to 2 and we are in a VTOL FX flight phase
This commit is contained in:
1 parent
a9cdb36d7c
commit
80d4fad624
5 files changed
+22
-2
No files matched your search
@@ -40,3 +40,8 @@ uint8 ROTATION_UPWARD_FACING = 24 # MAV_SENSOR_ROTATION_PITCH_90
|
||||
uint8 ROTATION_DOWNWARD_FACING = 25 # MAV_SENSOR_ROTATION_PITCH_270
|
||||
|
||||
uint8 ROTATION_CUSTOM = 100 # MAV_SENSOR_ROTATION_CUSTOM
|
||||
|
||||
uint8 mode # mode of operation
|
||||
uint8 DISTANCE_SENSOR_MODE_UNKNOWN = 0 # Unknown mode
|
||||
uint8 DISTANCE_SENSOR_MODE_RUN = 1 # sensor is running continuosly
|
||||
uint8 DISTANCE_SENSOR_MODE_DISABLED = 2 # sensor is disabled per request
|
||||
Reference in new issue
Block a user