DJI Mobile SDK Documentation
      包:dji.v5.manager.intelligent.flyto
      classSince MSDK 5.14.0

      FlyToTarget

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

      Package dji.v5.manager.intelligent.flytoAndroid · Java / Kotlin

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

      MSDK 5.14.0开始支持

      成员

      6 个成员

      方法

      6

      Members

      method

      getTargetLocation

      LocationCoordinate3D getTargetLocation() 

      获取目标点的位置。

      返回值

      类型说明
      LocationCoordinate3D返回目标点的位置。
      method

      setTargetLocation

      void setTargetLocation(LocationCoordinate3D targetLocation) 

      设置目标点的位置。

      参数

      名称类型说明
      targetLocationLocationCoordinate3D 目标点的位置。
      method

      getSecurityTakeoffHeight

      int getSecurityTakeoffHeight() 

      获取飞行器的起飞高度。

      返回值

      类型说明
      int返回飞行器的起飞高度。
      method

      setSecurityTakeoffHeight

      void setSecurityTakeoffHeight(Integer securityTakeoffHeight) 

      设置飞行器的起飞高度。

      参数

      名称类型说明
      securityTakeoffHeightInteger 飞行器的起飞高度。
      method

      getMaxSpeed

      int getMaxSpeed() 

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

      返回值

      类型说明
      int返回飞向目标点的飞行速度。
      method

      setMaxSpeed

      void setMaxSpeed(Integer maxSpeed) 

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

      参数

      名称类型说明
      maxSpeedInteger 飞向目标点的飞行速度。