| 包: | dji.v5.manager.intelligent.flyto |
classSince MSDK 5.14.0
FlyToTarget
飞向目标点功能的目标类。
描述:
Members
method
method
getTargetLocation
LocationCoordinate3D getTargetLocation() |
获取目标点的位置。
返回值
| 类型 | 说明 |
|---|---|
LocationCoordinate3D | 返回目标点的位置。 |
method
method
setTargetLocation
void setTargetLocation(LocationCoordinate3D targetLocation) |
设置目标点的位置。
参数
| 名称 | 类型 | 说明 |
|---|---|---|
targetLocation | LocationCoordinate3D | 目标点的位置。 |
method
method
getSecurityTakeoffHeight
int getSecurityTakeoffHeight() |
获取飞行器的起飞高度。
返回值
| 类型 | 说明 |
|---|---|
int | 返回飞行器的起飞高度。 |
method
method
setSecurityTakeoffHeight
void setSecurityTakeoffHeight(Integer securityTakeoffHeight) |
设置飞行器的起飞高度。
参数
| 名称 | 类型 | 说明 |
|---|---|---|
securityTakeoffHeight | Integer | 飞行器的起飞高度。 |
method
method
getMaxSpeed
int getMaxSpeed() |
获取飞向目标点的飞行速度。
返回值
| 类型 | 说明 |
|---|---|
int | 返回飞向目标点的飞行速度。 |
method
method
setMaxSpeed
void setMaxSpeed(Integer maxSpeed) |
设置飞向目标点的飞行速度。
参数
| 名称 | 类型 | 说明 |
|---|---|---|
maxSpeed | Integer | 飞向目标点的飞行速度。 |