-
Notifications
You must be signed in to change notification settings - Fork 64
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
- Loading branch information
1 parent
04e8212
commit 36fa428
Showing
1 changed file
with
18 additions
and
0 deletions.
There are no files selected for viewing
18 changes: 18 additions & 0 deletions
18
ardupilot/equipment/proximity_sensor/21911.Proximity.uavcan
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
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 | ||
|