DJI Mobile SDK Documentation

      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
      method getPitch
      Double getPitch()
      Package:dji.sdk.keyvalue.value.gimbal
      Description:

      Get the pitch angle of gimbal rotation.

      Return:
      DoubleThe pitch angle of gimbal rotation.
      method
      method setPitch
      void setPitch(Double pitch)
      Package:dji.sdk.keyvalue.value.gimbal
      Description:

      Set the pitch angle of gimbal rotation. The positive number is rotating right, a negative number is rotating left. Please refer to getPitch to set the value.

      Input Parameters:
      Double pitchThe pitch angle of gimbal rotation.
      method
      method getYaw
      Double getYaw()
      Package:dji.sdk.keyvalue.value.gimbal
      Description:

      Get the pitch angle of gimbal rotation.

      Return:
      DoubleThe yaw angle of gimbal rotation.
      method
      method setYaw
      void setYaw(Double yaw)
      Package:dji.sdk.keyvalue.value.gimbal
      Description:

      Set the pitch angle of gimbal rotation. The positive number is rotating up, a negative number is rotating down. Please refer to getYaw to set the value.

      Input Parameters:
      Double yawThe pitch angle of gimbal rotation.
      method
      method getRoll
      Double getRoll()
      Package:dji.sdk.keyvalue.value.gimbal
      Description:

      Get the roll angle of gimbal rotation.

      Return:
      DoubleThe roll angle of gimbal rotation.
      method
      method setRoll
      void setRoll(Double roll)
      Package:dji.sdk.keyvalue.value.gimbal
      Description:

      Set the roll angle of gimbal rotation. The positive number is rotating right, a negative number is rotating left. Please refer to getRoll to set the value.

      Input Parameters:
      Double rollThe roll angle of gimbal rotation.