/
Dronekit-python fork

Dronekit-python fork

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: GitHub - UWARG/dronekit: DroneKit-Python library for communicating with Drones via MAVLink.

Software

Setup

  1. Navigate to a directory in the project where you want to install this library/module.

  2. Run git submodule add -b WARG-minimal https://github.com/UWARG/dronekit.

    1. -b WARG-minimal selects the branch (this branch includes only the core components)

Usage

  1. Run git submodule init --recursive in your project root

  2. Run git submodule update --remote --recursive in your project root

  3. Copy the contents from requirements-copyme.txt to the requirements.txt of the project that will use dronekit.

  4. Install the library dependencies with pip install -r requirements.txt.

  5. Import the library the same way as you would import your own modules in a python project.

Development

Please note that the master branch is the default branch which tracks the master branch from GitHub - dronekit/dronekit-python: DroneKit-Python library for communicating with Drones via MAVLink.. Do not edit this branch, it will only be used for rebasing during maintenance.

All development should be done in the branch WARG-minimal, which will be mostly maintenance efforts.

 

Related content

DroneKit-Python with Python 3.11 upgrade decision matrix
DroneKit-Python with Python 3.11 upgrade decision matrix
More like this
The common Repository
The common Repository
Read with this
DroneKit-Python
DroneKit-Python
More like this
Repository Maintainers
Repository Maintainers
Read with this
2023-07-08 Tasks and Architecture
2023-07-08 Tasks and Architecture
More like this
Post Processing
Post Processing
Read with this