From 6965518701f5739002e1726c4d1ab9d0aaa8444d Mon Sep 17 00:00:00 2001 From: Peter Barker Date: Tue, 1 Aug 2023 15:46:53 +1000 Subject: [PATCH] common.xml: add a RELAY_STATUS message to report current relay state --- message_definitions/v1.0/common.xml | 6 ++++++ 1 file changed, 6 insertions(+) diff --git a/message_definitions/v1.0/common.xml b/message_definitions/v1.0/common.xml index e58ca8a8dc..087965da4e 100644 --- a/message_definitions/v1.0/common.xml +++ b/message_definitions/v1.0/common.xml @@ -6195,6 +6195,12 @@ Active outputs Servo / motor output array values. Zero values indicate unused channels. + + Reports the on/off state of relays, as controlled by MAV_CMD_DO_SET_RELAY. + Timestamp (time since system boot). + Relay states. Relay instance numbers are represented as individual bits in this mask by offset. + Relay present. Relay instance numbers are represented as individual bits in this mask by offset. Bits will be true if a relay instance is configured. + Message for transporting "arbitrary" variable-length data from one component to another (broadcast is not forbidden, but discouraged). The encoding of the data is usually extension specific, i.e. determined by the source, and is usually not documented as part of the MAVLink specification. System ID (can be 0 for broadcast, but this is discouraged)