DJI Mobile SDK Documentation

      class FollowMeMission

      @EXClassNullAway
      class FollowMeMission
      Package:dji.common.mission.followme
      Description:

      The class represents a Follow Me mission. In a Follow Me mission, the aircraft is programmed to track and maintain a constant distant relative to some object, such as a person or a moving vehicle. You can use it to make the aircraft follow a GPS device, such as a remote controller with a GPS signal or a mobile device. It is not supported by Mavic Pro when using WiFi connection. It is not supported by Spark.

      Class Members:
      Latitude
      method
      method getLatitude
      double getLatitude()
      Package:dji.common.mission.followme
      Description:

      Latitude of the mission's initial target location.

      Return:
      doubleA double value.
      Longitude
      method
      method getLongitude
      double getLongitude()
      Package:dji.common.mission.followme
      Description:

      Longitude of the mission's initial target location.

      Return:
      doubleA double value.
      Altitude
      method
      method getAltitude
      float getAltitude()
      Package:dji.common.mission.followme
      Description:

      Initial altitude (above sea level) in meters.

      Return:
      floatA float value.
      Heading
      method
      method getHeading
      FollowMeHeading getHeading()
      Package:dji.common.mission.followme
      Description:

      The aircraft's heading during the mission.

      Return:
      FollowMeHeadingAn enum value of FollowMeHeading.
      enum FollowMeHeading
      @EXClassNullAway
      enum FollowMeHeading
      Package:dji.common.mission.followme
      Description:

      Aircraft's heading during a follow me mission.

      Enum Members:
      TOWARD_FOLLOW_POSITIONAircraft's heading remains toward the coordinate it is following.
      CONTROLLED_BY_REMOTE_CONTROLLERAircraft's heading will be controlled by the remote controller.
      Class Members: