DJI Mobile SDK Documentation

      class Attitude

      @EXClassNullAway
      class Attitude
      Package:dji.common.flightcontroller
      Description:

      The attitude of the aircraft where the pitch, roll, and yaw values will be in the range of [-180, 180] degrees. If its pitch, roll, and yaw values are 0, the aircraft will be hovering level with a True North heading.

      Class Members:
      property
      property pitch
      final double pitch
      Package:dji.common.flightcontroller
      Description:

      The pitch value of the aircraft: forward is positive, backward is negative. Units are in degrees.

      property
      property roll
      final double roll
      Package:dji.common.flightcontroller
      Description:

      The roll value of the aircraft: forward is positive, backward is negative. Units are in degrees.

      property
      property yaw
      final double yaw
      Package:dji.common.flightcontroller
      Description:

      The yaw value of the aircraft, where 0 corresponds to a True North heading. Yawing clockwise will increase yaw value.