# class GimbalAngleRotation

    class GimbalAngleRotation implements DJIValue, JNIProguardKeepTag, ByteStream

Package: | dji.sdk.keyvalue.value.gimbal

##### Description:

Define setting information about rotation of gimbal angle mode. The body coordinate system of gimbal is used here.

##### Class Members:

#### Members

method
getMode

###### method getMode

    GimbalAngleRotationMode getMode()

Package: | dji.sdk.keyvalue.value.gimbal

##### Description:

Return gimbal angle rotation mode.

##### Return:

GimbalAngleRotationMode | Gimbal Angle Rotation Mode

method
setMode

###### method setMode

    void setMode(GimbalAngleRotationMode mode)

Package: | dji.sdk.keyvalue.value.gimbal

##### Description:

Set gimbal angle rotation mode.

##### Input Parameters:

GimbalAngleRotationMode mode | Gimbal angle rotation mode.

method
getPitch

###### method getPitch

    Double getPitch()

Package: | dji.sdk.keyvalue.value.gimbal

##### Description:

Get pitch angle of gimbla rotation.

##### Return:

Double | Pitch angle of gimbal rotation.

method
setPitch

###### method setPitch

    void setPitch(Double pitch)

Package: | dji.sdk.keyvalue.value.gimbal

##### Description:

Set pitch angle of gimbal rotation. Positive number is rotated upward, while negative number is rotated downward. Please setting referring: `getPitch`.

##### Input Parameters:

Double pitch | Pitch angle of gimbal rotation.

method
getYaw

###### method getYaw

    Double getYaw()

Package: | dji.sdk.keyvalue.value.gimbal

##### Description:

Get yaw angle of gimbal rotation.

##### Return:

Double | Yaw angle of gimbal rotation.

method
setYaw

###### method setYaw

    void setYaw(Double yaw)

Package: | dji.sdk.keyvalue.value.gimbal

##### Description:

Set yaw angle of gimbal rotation. Positive number is rotated right, while negative number is rotated left. Please setting referring: `getYaw`.

##### Input Parameters:

Double yaw | Yaw angle of gimbal rotation.

method
getRoll

###### method getRoll

    Double getRoll()

Package: | dji.sdk.keyvalue.value.gimbal

##### Description:

Get yaw angle of gimbal rotation.

##### Return:

Double | Roll angle of gimbal rotation.

method
setRoll

###### method setRoll

    void setRoll(Double roll)

Package: | dji.sdk.keyvalue.value.gimbal

##### Description:

Set roll angle of gimbal rotation. Positive number is rotated right, while negative number is rotated left. Please refer to `getRoll` to set.

##### Input Parameters:

Double roll | Roll angle of gimbal rotation.

method
getDuration

###### method getDuration

    Double 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

###### 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 waypoint mission.

##### Input Parameters:

Double duration | Time of gimbal rotation operation. Unit:second.

×

## Search Mobile SDK Document

{{searchCount}} Results

- ### {{{(item.highlights && item.highlights.title) || item.title}}}

  {{{(item.highlights && item.highlights.content[0]) || item.title}}}

Load More
Loading...
Not Found