From 5d0fd2880f384727eca64e9d50c06c9da6665201 Mon Sep 17 00:00:00 2001 From: Colin Scholler Date: Tue, 22 Apr 2025 15:18:58 +0000 Subject: [PATCH] Add MAV_MISSION_TYPE_RADIO and Dependant Commands This PR adds types and commands needed to enable DCS over mavlink on X10. Topic: mav_mission_type_radio Reviewers: Branches: skydio-air-iop --- message_definitions/v1.0/common.xml | 2 +- message_definitions/v1.0/ras_a.xml | 17 +++++++++++++++++ 2 files changed, 18 insertions(+), 1 deletion(-) diff --git a/message_definitions/v1.0/common.xml b/message_definitions/v1.0/common.xml index cab7ce0c250..1aabd7e4744 100644 --- a/message_definitions/v1.0/common.xml +++ b/message_definitions/v1.0/common.xml @@ -1871,7 +1871,7 @@ Mission sequence value to set. -1 for the current mission item (use to reset mission without changing current mission item). Resets mission. 1: true, 0: false. Resets jump counters to initial values and changes mission state "completed" to be "active" or "paused". - Empty + When multiple mission types exist on vehicle this indicates which mission type should handle this message Empty Empty Empty diff --git a/message_definitions/v1.0/ras_a.xml b/message_definitions/v1.0/ras_a.xml index 24661e52ccb..9828c4da525 100644 --- a/message_definitions/v1.0/ras_a.xml +++ b/message_definitions/v1.0/ras_a.xml @@ -55,6 +55,17 @@ Commands to be executed by the MAV. They can be executed on user request, or as part of a mission script. If the action is used in a mission, the parameter mapping to the waypoint/mission message is as follows: Param 1, Param 2, Param 3, Param 4, X: Param 5, Y:Param 6, Z:Param 7. This command list is similar what ARINC 424 is for commercial aircraft: A data format how to interpret waypoint/mission data. NaN and INT32_MAX may be used in float/integer params (respectively) to indicate optional/default values (e.g. to use the component's current yaw or latitude rather than a specific value). See https://mavlink.io/en/guide/xml_schema.html#MAV_CMD for information about the structure of the MAV_CMD entries + + Channel-bandwidth pair used with Dynamic Channel Switching (DCS). + Bandwidth for given channel + Radio Frequency + + + Enable/disable DCS once a full channel list is provided. + enable? (0=disable, 1=enable) + Channel to switch to post action. NaN: Use channel index 1 + Bandwidth to switch to post action. NaN: Only if use channel is also NaN + @@ -245,6 +256,12 @@ Cylinder. + + Type of mission items being requested/sent in mission protocol. + + Specifies the channel switching frequencies. Items are MAV_CMD_DO_SET_RF_ RadioFrequency items. + + Point-of-Interest classification. Used on the the POI_REPORT 'classification' field. Provides default classes (0 to 2147483647).