DJI Mobile SDK Documentation

      class Attitude

      class Attitude implements DJIValue, JNIProguardKeepTag, ByteStream
      Package:dji.sdk.keyvalue.value.common
      Description:

      Attitude data. Unit: degree.

      Class Members:

      Members

      method
      method getPitch
      Double getPitch()
      Package:dji.sdk.keyvalue.value.common
      Description:

      Return pitch value.

      Return:
      DoublePitch Value
      method
      method setPitch
      void setPitch(Double pitch)
      Package:dji.sdk.keyvalue.value.common
      Description:

      Set pitch value.

      Input Parameters:
      Double pitchPitch Value
      method
      method getYaw
      Double getYaw()
      Package:dji.sdk.keyvalue.value.common
      Description:

      Return yaw value.

      Return:
      DoubleYaw Value
      method
      method setYaw
      void setYaw(Double yaw)
      Package:dji.sdk.keyvalue.value.common
      Description:

      Set yaw value.

      Input Parameters:
      Double yawYaw Value
      method
      method getRoll
      Double getRoll()
      Package:dji.sdk.keyvalue.value.common
      Description:

      Return roll value.

      Return:
      DoubleRoll Value
      method
      method setRoll
      void setRoll(Double roll)
      Package:dji.sdk.keyvalue.value.common
      Description:

      Set roll value.

      Input Parameters:
      Double rollRoll Value