大疆MSDK M300 waypointv2问题总结求大神解惑
0
发表于2020-10-22
手机看帖
2
1444
使用GSdemo跑例程,
1)M300+H20T在上传任务后会自动开始任务,
2)并总是显示The aircraft home point is not reached yet。我在gotofirstMode选择的是safely
3)我想清除任务clear地图时就会报错:
java.util.ConcurrentModificationException
at java.util.ArrayList$Itr.next(ArrayList.java:831)
at com.dji.GSDemo.GaodeMap.Waypoint2Activity.onClick(Unknown Source)
at android.view.View.performClick(View.java:5637)
at android.view.View$PerformClick.run(View.java:22445)
at android.os.Handler.handleCallback(Handler.java:755)
at android.os.Handler.dispatchMessage(Handler.java:95)
at android.os.Looper.loop(Looper.java:167)
at android.app.ActivityThread.main(ActivityThread.java:6240)
at java.lang.reflect.Method.invoke(Native Method)
at com.android.internal.os.ZygoteInit$MethodAndArgsCaller.run(ZygoteInit.java:996)
at com.android.internal.os.ZygoteInit.main(ZygoteInit.java:864)
4)我修改了clear里面的清除方法替换为:waypointMissionBuilder.getWaypointList().clear();
但是从此就不能执行任务了,start时每次都是显示unknown,
所以这个waypointV2我是应该怎么修改这些问题呢
|
|
|
|