common.xml: use MAV_MODE_FLAG on SET_MODE (#2498)

This commit is contained in:
Onur Özkan
2026-05-26 10:51:44 +03:00
committed by GitHub
parent d6c7594f90
commit 7794e1fb3e
+2 -2
View File
@@ -5497,9 +5497,9 @@
</message>
<message id="11" name="SET_MODE">
<superseded since="2015-12" replaced_by="MAV_CMD_DO_SET_MODE">Use COMMAND_LONG with MAV_CMD_DO_SET_MODE instead</superseded>
<description>Set the system mode, as defined by enum MAV_MODE. There is no target component id as the mode is by definition for the overall aircraft, not only for one component.</description>
<description>Set the system mode, as defined by enum MAV_MODE_FLAG. There is no target component id as the mode is by definition for the overall aircraft, not only for one component.</description>
<field type="uint8_t" name="target_system">The system setting the mode</field>
<field type="uint8_t" name="base_mode" enum="MAV_MODE">The new base mode.</field>
<field type="uint8_t" name="base_mode" enum="MAV_MODE_FLAG">The new base mode.</field>
<field type="uint32_t" name="custom_mode">The new autopilot-specific mode. This field can be ignored by an autopilot.</field>
</message>
<!-- IDs 15-17 reserved for PARAM_VALUE_UNION and other param messages -->