DJI Mobile SDK Documentation

      class TapFlyExecutionState

      @EXClassNullAway
      class TapFlyExecutionState
      Package:dji.common.mission.tapfly
      Description:

      This class provides the detailed state of a TapFly Mission that is executing.

      Class Members:
      Direction
      method
      method getDirection
      Vector getDirection()
      Package:dji.common.mission.tapfly
      Description:

      The direction vector the aircraft is travelling in using the N-E-D (North-East-Down) coordinate system.

      Return:
      VectorA Vector object.
      Image Location
      method
      method getImageLocation
      PointF getImageLocation()
      Package:dji.common.mission.tapfly
      Description:

      The image point from the video feed where the vision system should calculate the flight direction from. The image point is normalized to [0,1] where (0,0) is the top left corner and (1,1) is the bottom right.

      Return:
      PointFA PointF object.
      Speed
      method
      method getSpeed
      float getSpeed()
      Package:dji.common.mission.tapfly
      Description:

      The real-time speed of the aircraft in m/s.

      Return:
      floatA float value of speed.
      Bypass Direction
      method
      method getBypassDirection
      BypassDirection getBypassDirection()
      Package:dji.common.mission.tapfly
      Description:

      The direction the aircraft is moving around or bypassing an obstacle in. Will be NONE if the aircraft is not executing an avoidance maneuver.

      Return:
      BypassDirectionAn enum value of BypassDirection
      Relative Heading
      method
      method getRelativeHeading
      float getRelativeHeading()
      Package:dji.common.mission.tapfly
      Description:

      Aircraft's heading relative to the flight direction.

      Return:
      floatA float value of relative heading.