From c5f7ed2701bdc6accac5f02cadaf9c1f02e0a885 Mon Sep 17 00:00:00 2001 From: Vivian Zhou Date: Tue, 19 Nov 2024 13:51:49 -0800 Subject: [PATCH] Add support for generic payloads - Add `MAV_CMD_GENERIC_PAYLOAD_FUNCTIONS_CONTROL` and `GENERIC_PAYLOAD_STATUS` AND `GENERIC_PAYLOAD_ERROR_FLAGS` to development.xml `MAV_CMD_GENERIC_PAYLOAD_FUNCTIONS_CONTROL` is used to control payload functions. It can be used for simple control such as ON/OFF of a flashlight. It can also be used to control multiple functions of a component such as arm/disarm and deployment of a parachute. Topic: generic_payload --- message_definitions/v1.0/development.xml | 29 ++++++++++++++++++++++++ 1 file changed, 29 insertions(+) diff --git a/message_definitions/v1.0/development.xml b/message_definitions/v1.0/development.xml index bc3e16e140..7fc92edd9d 100644 --- a/message_definitions/v1.0/development.xml +++ b/message_definitions/v1.0/development.xml @@ -339,6 +339,11 @@ + + Allows for enable/disable control over function(s) of a generic payload. + Index of Pin/Sub-Component + 0: Disable, 1: Enable + Allows setting an AT S command of an SiK radio. @@ -567,6 +572,20 @@ RAIM integrity check failed. + + + There is an error with the generic payload's software. + + + There is an error with the generic payload's hardware. + + + A specified limit has been reached by the generic paylod's temperature sensor. This only applies if the generic payload monitors temperature. + + + Generic payload custom failure, see custom error flag bitmask for details. + + @@ -672,6 +691,16 @@ Fuel temperature. NaN: field not provided. Fuel type. Defines units for fuel capacity and consumption fields above. + + Generic payload status. + Time since the start-up of the generic payload in ms + 0: Generic payload OFF, 1: Generic payload ON + Errors + Bitmap used to show custom error flags. + The power draw of the generic payload. NaN: field not provided + Generic payload weight. 0: field not provided. + Temperature in Celsius. NaN: field not provided. + Emitted during mission execution when control reaches MAV_CMD_GROUP_START. Mission-unique group id (from MAV_CMD_GROUP_START).