diff --git a/ardupilot/equipment/proximity_sensor/21910.Proximity.uavcan b/ardupilot/equipment/proximity_sensor/21910.Proximity.uavcan new file mode 100644 index 0000000..edb3c6b --- /dev/null +++ b/ardupilot/equipment/proximity_sensor/21910.Proximity.uavcan @@ -0,0 +1,18 @@ +# +# Proximity data +# +uint8 sensor_id # Sensor ID + +uint3 READING_TYPE_NO_DATA = 0 # Distance is unknown +uint3 READING_TYPE_NOT_CONNECTED = 1 # Distance field contains valid distance +uint3 READING_TYPE_GOOD = 2 # Distance field contains valid reading for the sensor + +uint3 reading_type # Sensor Status + +uint5 flags # Reserved +uint5 FLAGS_NONE = 0 + +float16 yaw # Degrees in body frame +float16 pitch # Degrees in body frame +float16 distance # Meters +