Skip to content

Commit

Permalink
added DSDL for proximity sensors
Browse files Browse the repository at this point in the history
  • Loading branch information
rishabsingh3003 committed Sep 26, 2022
1 parent 04e8212 commit 36fa428
Showing 1 changed file with 18 additions and 0 deletions.
18 changes: 18 additions & 0 deletions ardupilot/equipment/proximity_sensor/21911.Proximity.uavcan
Original file line number Diff line number Diff line change
@@ -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

0 comments on commit 36fa428

Please sign in to comment.