You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
* added vehicle command and support to remotely activate/deactivate the safety system (#26078)
* added print_status support for prearm safety status
* updated safety button to map to MAV_CMD_DO_SET_SAFETY_SWITCH_STATE = '5300'
* safety switch cmd: fixed incorrect catch-all and added commanded_state variable for easier reading
uint16VEHICLE_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|
103
104
uint16VEHICLE_CMD_ARM_AUTHORIZATION_REQUEST = 3001# Request arm authorization.
104
105
uint16VEHICLE_CMD_PAYLOAD_PREPARE_DEPLOY = 30001# Prepare a payload deployment in the flight plan.
105
106
uint16VEHICLE_CMD_PAYLOAD_CONTROL_DEPLOY = 30002# Control a pre-programmed payload deployment.
@@ -179,6 +180,10 @@ int8 ARMING_ACTION_ARM = 1
179
180
uint8GRIPPER_ACTION_RELEASE = 0
180
181
uint8GRIPPER_ACTION_GRAB = 1
181
182
183
+
# Used as param1 in DO_SET_SAFETY_SWITCH_STATE command.
184
+
uint8SAFETY_OFF = 0
185
+
uint8SAFETY_ON = 1
186
+
182
187
uint8ORB_QUEUE_LENGTH = 8
183
188
184
189
float32param1# Parameter 1, as defined by MAVLink uint16 VEHICLE_CMD enum.
0 commit comments