class GimbalSpeedRotation
class GimbalSpeedRotation implements DJIValue , JNIProguardKeepTag , ByteStream
Package: dji.sdk.keyvalue.value.gimbal
Description:
Define the related information of the gimbal rotation in speed mode. Gimbal body coordinate system is used here.
Class Members:
Members
method getPitch
Package: dji.sdk.keyvalue.value.gimbal
Description:
Get the pitch angle of gimbal rotation.
Return:
Double The pitch angle of gimbal rotation.
method setPitch
void setPitch (Double pitch)
Package: dji.sdk.keyvalue.value.gimbal
Description:
Set the pitch angle of gimbal rotation. Positive number is rotating right, negative number is rotating left. Please refer to getPitch
to set the value.
Double pitch The pitch angle of gimbal rotation.
method getYaw
Package: dji.sdk.keyvalue.value.gimbal
Description:
Get the pitch angle of gimbal rotation.
Return:
Double The yaw angle of gimbal rotation.
method setYaw
Package: dji.sdk.keyvalue.value.gimbal
Description:
Set the pitch angle of gimbal rotation. Positive number is rotating up, negative number is rotating down. Please refer to getYaw
to set the value.
Double yaw The pitch angle of gimbal rotation.
method getRoll
Package: dji.sdk.keyvalue.value.gimbal
Description:
Get the roll angle of gimbal rotation.
Return:
Double The 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 rotating right, negative number is rotating left. Please refer to getRoll
to set the value.
Double roll The roll angle of gimbal rotation.