Create a Polygon and generate inside of his space the waypoint
已完成I want to create a Polygon and generate inside of his space the waypoint as like in Dji Pilot 2 when we select the camera we can se a lines inside of the polygon
-
The feature you mentioned should be the ability to build flight routes on Pilot 2. It creates waypoints based on GSD, camera parameters, and flight altitude. What specific difficulties are you currently facing? Is it in drawing polygons or in how to build waypoints? If it's about building waypoints, we are not familiar with the implementation details of Pilot 2, but we can provide some suggestions. -
You can refer to the waypoint mission drawing in the MSDK V5 sample code. Here is the code address: [https://github.com/dji-sdk/Mobile-SDK-Android-V5/blob/dev-sdk-main/SampleCode-V5/android-sdk-v5-sample/module-aircraft/src/main/java/dji/sampleV5/moduleaircraft/pages/WayPointV3Fragment.kt#L587](https://github.com/dji-sdk/Mobile-SDK-Android-V5/blob/dev-sdk-main/SampleCode-V5/android-sdk-v5-sample/module-aircraft/src/main/java/dji/sampleV5/moduleaircraft/pages/WayPointV3Fragment.kt#L587) -
What aircraft are you using? MSDK V4 and MSDK V5 have similar methods for drawing polygons and waypoints, regardless of the waypoint mission type. MSDK V4 also has simple example code:https://github.com/DJI-Mobile-SDK-Tutorials/Android-GSDemo-Gaode-Map
请先登录再写评论。
评论
5 条评论