DroneKit-Python is DroneKit’s main API for Air Computing — allowing developers to create apps that run on an onboard companion computer and communicate with the ArduPilot flight controller using a low-latency link. Air apps can significantly enhance the autopilot, adding greater intelligence to vehicle behaviour, and performing tasks that are computationally intensive or time-sensitive (for example, computer vision, path planning, or 3D modelling).
The API communicates with “locally connected” vehicles over MAVLink. It provides programmatic access to a connected vehicle’s telemetry, state and parameter information, and enables both mission management and direct control over vehicle movement and operations.
DroneKit-Python is an open source and community-driven project.
You can find all the source code on Github here and check out our permissive Apache v2 Licence.
If you want to join the community, then see our
contributing section for lots of ideas on how you can help.
In addition to “Air apps”, it can be used to create apps that run on a desktop ground station and communicate with ArduPilot over a higher latency RF-link.
The API provides classes and methods to:
A complete API reference is available here.