Skip to content
Open
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
22 changes: 22 additions & 0 deletions uavcan/equipment/contact_sensor/1150.Status.uavcan
Original file line number Diff line number Diff line change
@@ -0,0 +1,22 @@
#
# Contact Status
#

uint32 uptime_sec

uint8 sensor_id

#
# Sensor status flags.
# Notes:
# - STATUS_FLAG_OK should be set when the contact sensor is operating normally.
# - STATUS_FLAG_ERROR should be set if the contact sensor reports an error.
#
uint8 STATUS_FLAG_OK = 1 # STATUS_FLAG_OK: The contact sensor is operating normally
uint8 STATUS_FLAG_ERROR = 2 # STATUS_FLAG_ERROR: The contact sensor has an error
uint8 status_flag

#
# Either a binary command (0 - disengage/disconected, 1+ - engage/conected) or bitmask
#
uint2 engage # engage or disengage