Overview
Dronekit-python is a library Autonomy uses to send MAVLink messages between the drone and the ground station. However, the library is outdated and incompatible with Python 3.10 and above. Autonomy made a fork from their GitHub source code, which is updated. It is meant to be used as a submodule to replace the dronekit library.
Repository: https://github.com/UWARG/dronekit
Software
Setup
Navigate to a directory in the project where you want to install this library/module.
Run
git submodule add -b WARG-minimal https://github.com/UWARG/dronekit
.-b WARG-minimal
selects the branch (this branch includes only the core components)
Usage
Run
git submodule init --recursive
in your project rootRun
git submodule update --remote --recursive
in your project rootCopy the contents from
requirements-copyme.txt
to therequirements.txt
of the project that will use dronekit.Install the library dependencies with
pip install -r requirements.txt
.Import the library the same way as you would import your own modules in a python project.