Get desktop application:
View/edit binary Protocol Buffers messages
Enable waypoint missions.
Cancel an ongoing mission download.
(message has no fields)
Cancel an ongoing mission upload.
(message has no fields)
Clear the mission saved on the vehicle.
(message has no fields)
Download a list of mission items from the system (asynchronous). Will fail if any of the downloaded mission items are not supported by the MAVSDK API.
(message has no fields)
The mission plan
Get whether to trigger Return-to-Launch (RTL) after mission is complete. Before getting this option, it needs to be set, or a mission needs to be downloaded.
(message has no fields)
If true, trigger an RTL at the end of the mission
Check if the mission has been finished.
(message has no fields)
True if the mission is finished and the last mission item has been reached
Pause the mission. Pausing the mission puts the vehicle into [HOLD mode](https://docs.px4.io/en/flight_modes/hold.html). A multicopter should just hover at the spot while a fixedwing vehicle should loiter around the location where it paused.
(message has no fields)
Sets the mission item index to go to. By setting the current index to 0, the mission is restarted from the beginning. If it is set to a specific index of a mission item, the mission will be set to this item. Note that this is not necessarily true for general missions using MAVLink if loop counters are used.
Index of the mission item to be set as the next one (0-based)
Set whether to trigger Return-to-Launch (RTL) after the mission is complete. This will only take effect for the next mission upload, meaning that the mission may have to be uploaded again.
If true, trigger an RTL at the end of the mission
Start the mission. A mission must be uploaded to the vehicle before this can be called.
(message has no fields)
Download a list of mission items from the system (asynchronous) and report progress. Will fail if any of the downloaded mission items are not supported by the MAVSDK API.
(message has no fields)
The progress data, or the mission plan (when the download is finished)
Subscribe to mission progress updates.
(message has no fields)
Mission progress
Upload a list of mission items to the system and report upload progress. The mission items are uploaded to a drone. Once uploaded the mission can be started and executed even if the connection is lost.
The mission plan
The progress data
Upload a list of mission items to the system. The mission items are uploaded to a drone. Once uploaded the mission can be started and executed even if the connection is lost.
The mission plan
Type representing a mission item. A MissionItem can contain a position and/or actions. Mission items are building blocks to assemble a mission, which can be sent to (or received from) a system. They cannot be used independently.
Used in:
Latitude in degrees (range: -90 to +90)
Longitude in degrees (range: -180 to +180)
Altitude relative to takeoff altitude in metres
Speed to use after this mission item (in metres/second)
True will make the drone fly through without stopping, while false will make the drone stop on the waypoint
Gimbal pitch (in degrees)
Gimbal yaw (in degrees)
Camera action to trigger at this mission item
Loiter time (in seconds)
Camera photo interval to use after this mission item (in seconds)
Radius for completing a mission item (in metres)
Absolute yaw angle (in degrees)
Camera photo distance to use after this mission item (in meters)
Vehicle action to trigger at this mission item.
Possible camera actions at a mission item.
Used in:
No action
Take a single photo
Start capturing photos at regular intervals
Stop capturing photos at regular intervals
Start capturing video
Stop capturing video
Start capturing photos at regular distance
Stop capturing photos at regular distance
Possible vehicle actions at a mission item
Used in:
No action
Vehicle will takeoff and go to defined waypoint
When a waypoint is reached vehicle will land at current position
When a waypoint is reached vehicle will transition to fixed-wing mode
When a waypoint is reached vehicle will transition to multi-copter mode
Mission plan type
Used in: , , ,
The mission items
Mission progress type.
Used in:
Current mission item index (0-based), if equal to total, the mission is finished
Total number of mission items
Result type.
Used in: , , , , , , , , , , , ,
Result enum value
Human-readable English string describing the result
Possible results returned for action requests.
Used in:
Unknown result
Request succeeded
Error
Too many mission items in the mission
Vehicle is busy
Request timed out
Invalid argument
Mission downloaded from the system is not supported
No mission available on the system
Unsupported mission command
Mission transfer (upload or download) has been cancelled
No system connected
Intermediate message showing progress
Request denied
There was a protocol error
The system does not support the MISSION_INT protocol
Progress data coming from mission upload.
Used in:
Progress (0..1.0)
Progress data coming from mission download, or the mission itself (if the transfer succeeds).
Used in:
Whether this ProgressData contains a 'progress' status or not
Progress (0..1.0)
Whether this ProgressData contains a 'mission_plan' or not
Mission plan