GoToAction的使用
已完成问题描述:
执行以下代码,飞机起飞后渲染,相机云台也改变了俯仰角,但是GoToAction没有生效。
请问GoToAction的使用,是否受设备型号限制?是否有些机型用不了?
sdk:Mobile sdk 4.16
无人机型号:Air 2s
djiTimeLineMissionManager.addMissionAction(new TakeOffAction());
Attitude attitude = new Attitude(-30, Rotation.NO_ROTATION, Rotation.NO_ROTATION);
GimbalAttitudeAction gimbalAction = new GimbalAttitudeAction(attitude);
gimbalAction.setCompletionTime(2);
gimbalAction.setDelayTime(5000);
djiTimeLineMissionManager.addMissionAction(gimbalAction);
GoToAction goToAction = new GoToAction(new LocationCoordinate2D(30.1, 105.09269), 30);
goToAction.setFlightSpeed(10);
goToAction.setDelayTime(6000);
djiTimeLineMissionManager.addMissionAction(goToAction);
请先登录再写评论。
评论
1 条评论