do_gimbal_manager_pitchyaw
PX4 capability domain: camera-media. PX4 mapping: MAV_CMD_DO_GIMBAL_MANAGER_PITCHYAW.
Set gimbal manager pitch/yaw setpoints (low rate command). It is possible to set combinations of the values below. E.g. an angle as well as a desired angular rate can be used to get to this angle at a certain angular rate, or an angular rate only will result in continuous turning. NaN is to be used to signal unset. Note: only the gimbal manager will react to this command - it will be ignored by a gimbal device. Use GIMBAL_MANAGER_SET_PITCHYAW if you need to stream pitch/yaw setpoints at higher rate.
Request Params
Fixed value
px4Target PX4 device ID
Fixed value
do_gimbal_manager_pitchyawIdempotency key; repeated requests return the same command
Timeout in seconds, range
0~300Typed request payload for this command. Field names are generated from PX4 MAVLink XML labels, but callers do not send raw
param1..param7 fields.Meaning: Pitch angle, units
deg; maps to MAVLink parameter 1 in the PX4 frame.Meaning: Yaw angle, units
deg; maps to MAVLink parameter 2 in the PX4 frame.Meaning: Pitch rate, units
deg/s; maps to MAVLink parameter 3 in the PX4 frame.Meaning: Yaw rate, units
deg/s; maps to MAVLink parameter 4 in the PX4 frame.Meaning: Gimbal manager flags, enum
GIMBAL_MANAGER_FLAGS; maps to MAVLink parameter 5 in the PX4 frame.Meaning: Gimbal device ID; maps to MAVLink parameter 7 in the PX4 frame.
PX4 Frame Mapping
- MAVLink command:
MAV_CMD_DO_GIMBAL_MANAGER_PITCHYAW - Command ID:
1000 - Default transport:
COMMAND_LONG - Source XML:
common.xml - Completion:
COMMAND_ACK - Guard: real PX4 downlink is disabled by default; guarded mode requires explicit authorization and a ready transport.
Create Response
Platform command ID, used for follow-up queries
Acceptance status:
ACCEPTEDCommand acceptance time (UTC)
Query Response
Platform command ID
Execution status:
ACCEPTED / DELIVERED / SUCCEEDED / FAILED / TIMED_OUT / UNMATCHED_RESPONSEVendor identifier; fixed value
px4Target PX4 device ID
PX4 command type
Mapped
COMMAND_ACK.result valuePX4 acknowledgement summary
Raw PX4 acknowledgement summary, including MAVLink command ID and transport
PX4 ACK Mapping
After sending the frame, the PX4 agent waits forCOMMAND_ACK and correlates the response by command id. Disabled mode sends no frame and completes with a rejected lifecycle result.