Skip to end of metadata
Go to start of metadata

You are viewing an old version of this page. View the current version.

Compare with Current View Page History

Version 1 Current »

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

  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.

  • No labels