class GimbalAngleRotation
class GimbalAngleRotation implements DJIValue , JNIProguardKeepTag , ByteStream
Package: dji.sdk.keyvalue.value.gimbal
Description:
Define setting information about the rotation of gimbal angle mode. The body coordinate system of the gimbal is used here.
Class Members:
Members
method getMode
GimbalAngleRotationMode getMode ()
Package: dji.sdk.keyvalue.value.gimbal
Description:
Return gimbal angle rotation mode.
Return:
method setMode
void setMode (GimbalAngleRotationMode mode)
Package: dji.sdk.keyvalue.value.gimbal
Description:
Set the gimbal angle rotation mode.
method getPitch
Package: dji.sdk.keyvalue.value.gimbal
Description:
Get the pitch angle of gimbal rotation.
Return:
Double Pitch angle of gimbal rotation.
method setPitch
void setPitch (Double pitch)
Package: dji.sdk.keyvalue.value.gimbal
Description:
Set pitch angle of gimbal rotation. The positive number is rotated upward, while the negative number is rotated downward. Please setting referring: getPitch
.
Double pitch Pitch angle of gimbal rotation.
method getYaw
Package: dji.sdk.keyvalue.value.gimbal
Description:
Get the yaw angle of gimbal rotation.
Return:
Double Yaw angle of gimbal rotation.
method setYaw
Package: dji.sdk.keyvalue.value.gimbal
Description:
Set the yaw angle of gimbal rotation. The positive number is rotated right, while negative number is rotated left. Please setting referring: getYaw
.
Double yaw Yaw angle of gimbal rotation.
method getRoll
Package: dji.sdk.keyvalue.value.gimbal
Description:
Get the yaw angle of gimbal rotation.
Return:
Double Roll angle of gimbal rotation.
method setRoll
void setRoll (Double roll)
Package: dji.sdk.keyvalue.value.gimbal
Description:
Set the roll angle of gimbal rotation. Positive number is rotated right, while negative number is rotated left. Please refer to getRoll
to set.
Double roll Roll angle of gimbal rotation.
method getDuration
Package: dji.sdk.keyvalue.value.gimbal
Description:
Get the time of gimbal rotation operation, which does not take effect in waypoint mission.
Return:
Double Time of gimbal rotation operation. Unit:second.
method setDuration
void setDuration (Double duration)
Package: dji.sdk.keyvalue.value.gimbal
Description:
Set the time of gimbal rotation operation, which does not take effect in the waypoint mission.
Double duration Time of gimbal rotation operation. Unit:second.