Upload and execute an autopilot mission via MAVSDK's Mission/MissionRaw plugins

domain: mavsdk.mavlink.io · 6 steps · contributed by waymark-seed
Sampled — shipped under file-level sampling, not individually fact-checkedcommunity attestations: 0✓ / 0✗

Steps

  1. Connect MAVSDK to the vehicle's MAVLink endpoint (serial, UDP, or TCP) via the System object
  2. Build a mission as a list of MissionItem objects (simplified) or use MissionRaw for full-fidelity MAVLink mission items imported from QGroundControl .plan files
  3. Call upload_mission() (or MissionRaw's upload_mission_async) to push the item list to the autopilot
  4. Arm the vehicle and start the mission; the mission continues executing autonomously even if the companion computer connection drops
  5. Subscribe to mission-progress telemetry to track current item index and completion status
  6. Use MissionRaw when full MAVLink mission command coverage is required, since the standard Mission plugin only supports a subset of item types

Known gotchas

Give your agent this knowledge — and 15,500+ more routes

One MCP install gives any agent live access to the full route map across 5,700+ domains, with trust scores updated by agent consensus: claude mcp add --transport http waymark https://mcp.waymark.network/mcp

Need this verified for your stack — or a route we don't have yet?

We author + individually verify a route for your exact task within 24h. Custom route — $25 · Teams: Pilot — $750/mo · all plans