DroneCore is the best way to integrate with PX4 over MAVLink! It is supported by Dronecode, ensuring that it is robust, well tested, and maintained.
The library provides a simple core API for managing one or more vehicles, providing programmatic access to vehicle information and telemetry, and control over missions, movement and other operations.
Developers can extend the library using plugins in order to add any other required MAVLink API (for example, to integrate PX4 with custom cameras, gimbals, or other hardware over MAVLink).
DroneCore can run on a vehicle-based companion computer or on a ground-based GCS or mobile device. These devices have significantly more processing power that an ordinary flight controller, enabling tasks like computer vision, obstacle avoidance, and route planning.
DroneCore is still in pre-alpha development.
The core library is written in C++, with auto-generated bindings for other supported programming languages.
The library is:
The main features provided by the simple core API are (in all programing languages):
See the FAQ for answers to common questions about the library.
DroneCore is the main library class. API consumers use DroneCore to discover and access vehicles (Device objects), which in turn provide access to all other drone information and control objects (e.g. Telemetry, Mission etc.).
The most important classes are:
The Quick Start explains how to set up a development environment and write a minimal example for all our supported programming languages/platforms.
Developers who want to contribute to the API will need to build the C++ library (and other programming language wrappers) from source. For more information see the contributing section below.
This guide contains information and examples showing how to use DroneCore. If you have specific questions that are not answered by the documentation, these can be raised on:
Use Github for bug reports/enhancement requests:
DroneCore welcomes contributions! If you want to help or have suggestions/bug reports please get in touch with the development team.
The Contributing section contains everything you need to contribute, including topics about building Dronecore from source code, running our integration and unit tests, and all other aspects of core development.