DJI Mobile SDK Documentation

      class WaypointAircraftControlRotateYawParam

      class WaypointAircraftControlRotateYawParam
      Package:dji.common.mission.waypointv2.Action
      Description:

      This class defines how the aircraft rotates on the yaw axis.

      Class Members:
      Check Relative
      method
      method isRelative
      boolean isRelative()
      Package:dji.common.mission.waypointv2.Action
      Description:

      Determines the aircraft rotate heading relative. If true, when the aircraft is rotating, relative to the current angle.

      Return:
      booleanA boolean value to check aircraft rotate heading relative.
      Direction
      method
      method getDirection
      WaypointV2MissionTypes.WaypointV2TurnMode getDirection()
      Package:dji.common.mission.waypointv2.Action
      Description:

      Determines the direction how aircraft changes its heading.

      Return:
      WaypointV2MissionTypes.WaypointV2TurnModeAn enum value of WaypointV2TurnMode.
      method getYawAngle
      float getYawAngle()
      Package:dji.common.mission.waypointv2.Action
      Description:

      The heading in degrees to which the aircraft will rotate control by action. If isRelative is true A heading has a range of [-180, 180] degrees, where 0 represents True North.

      Return:
      floatA float value of yaw angle.
      Make Waypoint V2 Aircraft Control Rotate Heading Param
      class