From 36fa428c3094019204933d4bf9c5c9bf4c266038 Mon Sep 17 00:00:00 2001 From: rishabsingh3003 Date: Mon, 26 Sep 2022 18:07:11 +0530 Subject: [PATCH] added DSDL for proximity sensors --- .../proximity_sensor/21911.Proximity.uavcan | 18 ++++++++++++++++++ 1 file changed, 18 insertions(+) create mode 100644 ardupilot/equipment/proximity_sensor/21911.Proximity.uavcan diff --git a/ardupilot/equipment/proximity_sensor/21911.Proximity.uavcan b/ardupilot/equipment/proximity_sensor/21911.Proximity.uavcan new file mode 100644 index 0000000..e20e941 --- /dev/null +++ b/ardupilot/equipment/proximity_sensor/21911.Proximity.uavcan @@ -0,0 +1,18 @@ +# +# Proximity data +# + +uavcan.Timestamp timestamp + +uint8 sensor_id + +uint3 READING_TYPE_NO_DATA = 0 # Range is unknown +uint3 READING_TYPE_NOT_CONNECTED = 1 # Range field contains valid distance +uint3 READING_TYPE_GOOD = 2 # Range field contains min range for the sensor + +uint3 reading_type + +float16 yaw # Degrees +float16 pitch # Degrees +float16 distance # Meters +