diff --git a/uavcan/equipment/contact_sensor/1150.Status.uavcan b/uavcan/equipment/contact_sensor/1150.Status.uavcan new file mode 100644 index 0000000..d1e0d5a --- /dev/null +++ b/uavcan/equipment/contact_sensor/1150.Status.uavcan @@ -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