DJI Mobile SDK Documentation

      class FlyToTarget

      class FlyToTarget
      包:dji.v5.manager.intelligent.flyto
      描述:

      飞向目标点功能的目标类。

      MSDK 5.14.0开始支持

      类成员:

      Members

      method getTargetLocation
      LocationCoordinate3D getTargetLocation()
      包:dji.v5.manager.intelligent.flyto
      描述:

      获取目标点的位置。

      返回值:
      LocationCoordinate3D返回目标点的位置。
      method setTargetLocation
      void setTargetLocation(LocationCoordinate3D targetLocation)
      包:dji.v5.manager.intelligent.flyto
      描述:

      设置目标点的位置。

      输入参数:
      LocationCoordinate3D targetLocation目标点的位置。
      method getSecurityTakeoffHeight
      int getSecurityTakeoffHeight()
      包:dji.v5.manager.intelligent.flyto
      描述:

      获取飞行器的起飞高度。

      返回值:
      int返回飞行器的起飞高度。
      method setSecurityTakeoffHeight
      void setSecurityTakeoffHeight(Integer securityTakeoffHeight)
      包:dji.v5.manager.intelligent.flyto
      描述:

      设置飞行器的起飞高度。

      输入参数:
      Integer securityTakeoffHeight飞行器的起飞高度。
      method getMaxSpeed
      int getMaxSpeed()
      包:dji.v5.manager.intelligent.flyto
      描述:

      获取飞向目标点的飞行速度。

      返回值:
      int返回飞向目标点的飞行速度。
      method setMaxSpeed
      void setMaxSpeed(Integer maxSpeed)
      包:dji.v5.manager.intelligent.flyto
      描述:

      设置飞向目标点的飞行速度。

      输入参数:
      Integer maxSpeed飞向目标点的飞行速度。