# 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

###### method getPitch

    Double 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

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

##### Input Parameters:

Double pitch | The pitch angle of gimbal rotation.

method
getYaw

###### method getYaw

    Double 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

###### method setYaw

    void setYaw(Double yaw)

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.

##### Input Parameters:

Double yaw | The pitch angle of gimbal rotation.

method
getRoll

###### method getRoll

    Double 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

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

##### Input Parameters:

Double roll | The roll angle of gimbal rotation.

×

## 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