Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

added DSDL for proximity sensors #15

Merged
merged 1 commit into from
Nov 2, 2022
Merged
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
18 changes: 18 additions & 0 deletions ardupilot/equipment/proximity_sensor/21910.Proximity.uavcan
Original file line number Diff line number Diff line change
@@ -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