Please select Into the mobile phone version | Continue to access the computer ver.
Introduction to Waypoint 2.0 with Sample Code
314 7 5-27 13:37
Uploading and Loding Picture ...(0/1)
o(^-^)o
DJI-MSDK
Moderator

United States
Offline

The recently released DJI Mobile SDK 4.12 introduced Waypoint 2.0, a powerful tool for automated operations. In the old Waypoint Mission logic, the amount of actions available were limited and the initiation was limited to when the aircraft arrived at the waypoint.  Now in Waypoint 2.0, WaypointTriggers allow a larger variety of actions and more options for when an action can be initiated.

For example, an action can trigger another action, an action can trigger between waypoints, or an action can trigger in planned intervals between designated waypoints. These changes will allow more flexibility and control when developing automated flight with waypoint missions.

Breakdown of improvements from Waypoint 1.0 to Waypoint 2.0:
Improved Efficiency
Increased flexibility
More Integration Options
  • Increased number of waypoints to 65535
  • Supports multiple waypoints and other types of coordinated turn
  • Supports running parallel actions
  • Support configuration of different speeds
  • Multiple points of interest and headings can be configured
  • More waypoint action options - such as zooming and gimbal control
  • Supports the development of third-party load-based PSDK
  • Support in the Mobile SDK and Onboard SDK


Currently Android GSDemo-Gaode-Map Github Sample has been updated to support Waypoint 2.0, you can refer to:

5-27 13:37
Use props
z37soft
lvl.3
Flight distance : 789570 ft
Japan
Offline

Thank you for sharing.

Let me ask you one question.
In the past, Waypoint provided methods such as addAction.
I can't find such a method in WaypointV2.
How do I assign WaypointV2Action to WaypointV2?
5-30 02:09
Use props
想养一条边牧
lvl.2
Flight distance : 1155 ft
South Africa
Offline

z37soft Posted at 5-30 02:09
Thank you for sharing.

Let me ask you one question.

The WP2.0 has a new way to add actions with method uploadWaypointActions.
Please see it in the new WP2.0 demo.
https://github.com/DJI-Mobile-SD ... id-GSDemo-Gaode-Map
6-1 20:13
Use props
z37soft
lvl.3
Flight distance : 789570 ft
Japan
Offline

I got it.
Since Action is not directly assigned to DJIWaypointV2, it can now be flexibly specified by "DJIWaypointV2Trigger" and "DJIWaypointV2Actuator". It took me a little while to change my own library, but I was able to do it.
Thanks.

6-2 05:33
Use props
Fish in Water
lvl.2
Flight distance : 541512 ft
China
Offline

That is really good improvement!
6-2 06:28
Use props
djiuser_OR8EW5uz3gSA
lvl.2

Canada
Offline

I downloaded the updated android GSDemo and tried to run it with a Mavic Pro but I received a message "Not support Waypoint2.0"

Is it possible to get a list of supported drones/firmware versions for Waypoint 2.0 please?
6-15 11:46
Use props
djiuser_OR8EW5uz3gSA
lvl.2

Canada
Offline

I saw on one of the github issues for the Android GS Demo that waypoint v2.0 is only supported by the M300. Is this correct?

https://github.com/DJI-Mobile-SD ... -Gaode-Map/issues/7
6-18 10:33
Use props
DJI_Lisa
Second Officer
South Africa
Offline

djiuser_OR8EW5uz3gSA Posted at 6-18 10:33
I saw on one of the github issues for the Android GS Demo that waypoint v2.0 is only supported by the M300. Is this correct?

https://github.com/DJI-Mobile-SDK-Tutorials/Android-GSDemo-Gaode-Map/issues/7

Yes that is correct, at least for the time being - there are plans to extend support in future drones
6-19 13:31
Use props
Advanced
You need to log in before you can reply Login | Register now

Credit Rules