航点任务中获取当前航点:wpMissionOperator?.addListener(object : Waypo...
已完成-
航点定义的对象:
{"missionName":"任务冲突测试02","altitude":60,"headingMode":"USING_WAYPOINT_HEADING","gimbalPitchRotationEnabled":"false","finishedAction":"GO_HOME","wayPointList":[{"altitude":60,"gimbalPitch":0,"heading":0,"speed":6,"longitude":120.18028205874413,"latitude":30.21741099586849,"turnMode":"顺时针旋转","actionRepeatTimes":1,"actionTimeoutInSeconds":999,"cornerRadiusInMeters":0,"isUseCustomDirection":false,"shootPhotoDistanceInterval":0,"shootPhotoTimeInterval":0,"waypointActions":[]},{"altitude":60,"gimbalPitch":0,"heading":0,"speed":6,"longitude":120.17691412655728,"latitude":30.216560756149235,"turnMode":"顺时针旋转","actionRepeatTimes":1,"actionTimeoutInSeconds":999,"cornerRadiusInMeters":0,"isUseCustomDirection":false,"shootPhotoDistanceInterval":0,"shootPhotoTimeInterval":0,"waypointActions":[]},{"altitude":60,"gimbalPitch":0,"heading":0,"speed":6,"longitude":120.17687083054706,"latitude":30.218564554648122,"turnMode":"顺时针旋转","actionRepeatTimes":1,"actionTimeoutInSeconds":999,"cornerRadiusInMeters":0,"isUseCustomDirection":false,"shootPhotoDistanceInterval":0,"shootPhotoTimeInterval":0,"waypointActions":[]},{"altitude":60,"gimbalPitch":0,"heading":0,"speed":6,"longitude":120.1773923949653,"latitude":30.219037985710514,"turnMode":"顺时针旋转","actionRepeatTimes":1,"actionTimeoutInSeconds":999,"cornerRadiusInMeters":0,"isUseCustomDirection":false,"shootPhotoDistanceInterval":0,"shootPhotoTimeInterval":0,"waypointActions":[]},{"altitude":60,"gimbalPitch":0,"heading":0,"speed":6,"longitude":120.17888279925135,"latitude":30.218693127718808,"turnMode":"顺时针旋转","actionRepeatTimes":1,"actionTimeoutInSeconds":999,"cornerRadiusInMeters":0,"isUseCustomDirection":false,"shootPhotoDistanceInterval":0,"shootPhotoTimeInterval":0,"waypointActions":[]}],"pointOfInterestList":[],"number":"ct-02","status":1,"remark":"高度60","speed":6,"autoFlightSpeed":5,"exitMissionOnRCSignalLostEnabled":false,"maxFlightSpeed":0,"repeatTimes":1,"isWayPointV2":false,"sync":false,"wayPointV2":false,"flightPathMode":"NORMAL","gotoFirstWayPointMode":"SAFELY"}
-
我测试了一下都是从1-2-3-4开始,怎么会出现70多的数字呢?你的航点也都不到10个。你测试下这个Sample看看是否有问题。 Link:https://github.com/dji-sdk/Mobile-SDK-Android/blob/master/Sample%20Code/app/src/main/java/com/dji/sdk/sample/demo/missionoperator/WaypointMissionOperatorView.java
请先登录再写评论。
评论
9 条评论