From 79b27c54295b5d0dd8eee5ef351e6ea0fcb79c0a Mon Sep 17 00:00:00 2001 From: PX4BuildBot Date: Fri, 2 Oct 2026 22:56:36 +0000 Subject: [PATCH] docs: auto-sync metadata [skip ci] Co-Authored-By: PX4 BuildBot --- docs/en/msg_docs/VehicleCommand.md | 30 +++++++++++++++--------------- 1 file changed, 15 insertions(+), 15 deletions(-) diff --git a/docs/en/msg_docs/VehicleCommand.md b/docs/en/msg_docs/VehicleCommand.md index 55a00d6f10b..4fd3daa0f2b 100644 --- a/docs/en/msg_docs/VehicleCommand.md +++ b/docs/en/msg_docs/VehicleCommand.md @@ -1378,15 +1378,15 @@ Command VTOL transition. Command safety on/off. -| Param | Units | Range/Enum | Description | -| ----- | ----- | ---------- | -------------------------------------------------------------------------------- | -| 1 | | | 1 to activate safety, 0 to deactivate safety and allow control surface movements | -| 2 | | | Unused | -| 3 | | | Unused | -| 4 | | | Unused | -| 5 | | | Unused | -| 6 | | | Unused | -| 7 | | | Unused | +| Param | Units | Range/Enum | Description | +| ----- | ----- | ---------- | ------------------------------------------------------------------------------------------------------------------------ | +| 1 | | | SAFETY_SAFE (0) to activate safety, SAFETY_DANGEROUS (1) to deactivate safety and allow non-throttling actuator movement | +| 2 | | | Unused | +| 3 | | | Unused | +| 4 | | | Unused | +| 5 | | | Unused | +| 6 | | | Unused | +| 7 | | | Unused | ### VEHICLE_CMD_ARM_AUTHORIZATION_REQUEST (3001) @@ -1690,8 +1690,8 @@ Change heading/course. param1: heading type (0=course-over-ground, 1=heading). p | ARMING_ACTION_ARM | `int8` | 1 | | GRIPPER_ACTION_RELEASE | `uint8` | 0 | | GRIPPER_ACTION_GRAB | `uint8` | 1 | -| SAFETY_OFF | `uint8` | 0 | -| SAFETY_ON | `uint8` | 1 | +| SAFETY_SAFE | `uint8` | 0 | Activate safety (MAVLink SAFETY_SWITCH_STATE_SAFE) | +| SAFETY_DANGEROUS | `uint8` | 1 | Deactivate safety (MAVLink SAFETY_SWITCH_STATE_DANGEROUS) | | ORB_QUEUE_LENGTH | `uint8` | 8 | | COMPONENT_MODE_EXECUTOR_START | `uint16` | 1000 | @@ -1807,7 +1807,7 @@ uint16 VEHICLE_CMD_LOGGING_START = 2510 # Start streaming ULog data. uint16 VEHICLE_CMD_LOGGING_STOP = 2511 # Stop streaming ULog data. uint16 VEHICLE_CMD_CONTROL_HIGH_LATENCY = 2600 # Control starting/stopping transmitting data over the high latency link. uint16 VEHICLE_CMD_DO_VTOL_TRANSITION = 3000 # Command VTOL transition. -uint16 VEHICLE_CMD_DO_SET_SAFETY_SWITCH_STATE = 5300 # Command safety on/off. |1 to activate safety, 0 to deactivate safety and allow control surface movements|Unused|Unused|Unused|Unused|Unused|Unused| +uint16 VEHICLE_CMD_DO_SET_SAFETY_SWITCH_STATE = 5300 # Command safety on/off. |SAFETY_SAFE (0) to activate safety, SAFETY_DANGEROUS (1) to deactivate safety and allow non-throttling actuator movement|Unused|Unused|Unused|Unused|Unused|Unused|uint16 VEHICLE_CMD_ARM_AUTHORIZATION_REQUEST = 3001 # Request arm authorization. uint16 VEHICLE_CMD_ARM_AUTHORIZATION_REQUEST = 3001 # Request arm authorization. uint16 VEHICLE_CMD_PAYLOAD_PREPARE_DEPLOY = 30001 # Prepare a payload deployment in the flight plan. uint16 VEHICLE_CMD_PAYLOAD_CONTROL_DEPLOY = 30002 # Control a pre-programmed payload deployment. @@ -1923,9 +1923,9 @@ int8 ARMING_ACTION_ARM = 1 uint8 GRIPPER_ACTION_RELEASE = 0 uint8 GRIPPER_ACTION_GRAB = 1 -# Used as param1 in DO_SET_SAFETY_SWITCH_STATE command. -uint8 SAFETY_OFF = 0 -uint8 SAFETY_ON = 1 +# Used as param1 in DO_SET_SAFETY_SWITCH_STATE command (matches MAVLink SAFETY_SWITCH_STATE enum). +uint8 SAFETY_SAFE = 0 # Activate safety (MAVLink SAFETY_SWITCH_STATE_SAFE) +uint8 SAFETY_DANGEROUS = 1 # Deactivate safety (MAVLink SAFETY_SWITCH_STATE_DANGEROUS) # param1 in VEHICLE_CMD_ACTUATOR_GROUP_TEST (matches MAVLink ACTUATOR_TEST_GROUP enum) uint8 ACTUATOR_TEST_GROUP_ROLL_TORQUE = 0