Represents a gimbal speed or angular rotation operation. If you don't want a specific axis to get rotated, invoke the rotate method and set the value of the axis to NO_ROTATION in the Rotation object. By default, the values of pitch, roll, and yaw in the Rotation are set to NO_ROTATION.
The pitch property of a gimbal rotation operation, how much the gimbal rotates on the pitch axis. When it is null, no operation will be applied to the pitch axis.
The roll property of a gimbal rotation operation, how much the gimbal rotates on the roll axis. When it is null, no operation will be applied to the roll axis.
The yaw property of a gimbal rotation operation, how much the gimbal rotates on the yaw axis. When the rotation mode is ABSOLUTE_ANGLE, the yaw value is relative to the aircraft's heading. When it is null, no operation will be applied to the yaw axis.
The angle value, when the gimbal is rotating, relative to the current angle.
ABSOLUTE_ANGLE
The angle value, when the gimbal is rotating, relative to 0 degrees (aircraft heading). For Inspire 1, using X3, X3 Zoom and Z3 cameras will be relative to true north. Using X5, XT and X5R will be relative to the aircraft heading. For Inspire 2, using X4S and X5S cameras will be relative to true north. Using X7 and Z30 will be relative to the aircraft heading. For Matrice 300 RTK with H20 series and Zenmuse P1 camera, the angle rotation is relative to the aircraft heading if you rotate the gimbal directly. The angle rotation is relative to true North if you use it in WaypointV2MissionAction.
SPEED
Rotate the gimbal's pitch, roll, and yaw in SPEED Mode. The direction can either be set to clockwise or counter-clockwise. For Phantom 3 Professional, Phantom 3 Advanced and Phantom 3 Standard, roll and yaw rotations are not available. For Inspire 1, Inspire Pro and M100, pitch, roll and yaw rotations are available. For Osmo, roll rotation is not available. The yaw angleVelocity of DJIGimbalSpeedRotation range is (-120, 120).