When looking at Mission Classes in DJI’s documentation, it can be challenging at first to see how all these classes fit together and interrelate - see the below snapshot of the index page from our docs: So here’s a simple breakdown of the above list:
Mother Ship:
- Mission Control - in charge of running operations for all the missions. No matter what mission is run, Mission Control will be involved
Types of Missions:
Timeline* Waypoint Waypoint 2.0 Follow Me Panorama Hotpoint Tapfly ActiveTrack
*Timeline mission is different from the others - see below for more details on why
*For details on the other Mission types see DJI's Mission Guide here: https://developer.dji.com/mobile-sdk/documentation/introduction/component-guide-missions.html
Timeline Mission owns:
*Timeline MissionAction should not be confused with Waypoint WaypointAction - they are independent of each other
More about Timelines:
Understanding Timeline Missions can be confusing at first, but it’s actually quite simple - it’s a container that can hold together other types of mission elements. Each element can be something vastly different, like an entire Waypoint/Hotpoint/etc mission or just a simple “Trigger” to initiate a small task.
Here are a few reasons why someone would want to use a timeline:
Add triggers to execute a task (aka-MissionAction) that another mission’s actions do not allow and that run parallel with the other mission’s duties. These triggers listen to events (e.g. - battery running low, waypoint reached, etc..) and initiate the designated task (e.g. - gimbal yaw or send sms).
An important thing to note: Waypoint Missions are uploaded directly to a drone but Timeline Missions are not. Timeline Missions run from the mobile device connected to the RC of the drone. This is why there is no SDK limit on the amount of elements a timeline mission can run, but of course, a phone’s memory capacity may need to be considered. The trade-off is, there can be issues with dropped or misfired timeline triggers if the drone intermittently drops connection with the RC due to distance or interference
Please ask more questions about Timeline Missions in this thread - beginner questions are very welcome, since they will likely help a lot of other developers
-Lisa, DJI Developer Support
|