WaypointMission finish event not fired
440 3 2021-1-15
Uploading and Loding Picture ...(0/1)
o(^-^)o
fans888bab41
lvl.2

Israel
Offline

Hello,


I'm developing for Mavic 2 Enterprise with Android mobile SDK 4.13.1

I found that in waypoint mission the drone flight is much better with curved WaypointMissionFlightPathMode.
The problem is that I cannot identify when the missing is completed/finished.
I added the WaypointMissionOperatorListener to try and identify when the last waypoint is reached:
- onExecutionUpdate is fired multiple times, but with no clear order or status so I cannot determine the last event in which the drone is in the last waypoint
- onExecutionFinish is in consist and in most cases not fired at all.


Can you please suggest how can I determine when a curved waypoint mission is completed?


Thanks,
   Guy


2021-1-15
Use props
想养一条边牧
lvl.3
Flight distance : 1155 ft
Hong Kong
Offline

That's so weird.
The latest MSDK version is 4.14 trial 1, maybe you can upgrade and try again.
If the problem persists, you can report this issue to the DJI via the link.
https://formcrafts.com/a/dji-developer-feedback-en
2021-1-18
Use props
fans888bab41
lvl.2

Israel
Offline

Problem solved.

The following solution worked: In WaypointExecutionProgress,I useed targetWaypointIndex and isWaypointReached to identify if the last waypoint is reached.
https://developer.dji.com/api-re ... aypointindex_inline
2021-1-21
Use props
DJI-William
lvl.4
  • >>>
Hong Kong
Offline

4.14trial1 version fixes this issue.
2021-1-22
Use props
Advanced
You need to log in before you can reply Login | Register now

Credit Rules