Skip to end of metadata
Go to start of metadata

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

Compare with Current View Version History

« Previous Version 17 Next »

Overview

The airside system runs on the Raspberry Pi 5 on the drone.

Repository:

https://github.com/UWARG/computer-vision-python

Software

Development setup

Follow the instructions: Autonomy Workflow Software

Install packages:

pip install -r requirements.txt
pip install -r requirements-pytorch.txt
pip install -r modules/common/requirements.txt

Usage - development

Copy the model file (.pt) into the repository.

In config.yaml, update model_path to point to the model file. The latest models can be found in OneDrive Landing Pad Models.

Activate the environment: Autonomy Workflow Software

Enter the commands :

git checkout main
git pull
./setup_project.ps1   OR   source ./setup_project.sh
./venv/Scripts/Activate.ps1   OR   source ./venv/bin/activate
python -m main_2024

If your computer does not have CUDA support (ie for the RPi), add --cpu to force the program to use the CPU:

python -m main_2024 --cpu

Other options are available. See them by using -h .

Raspberry Pi setup & usage

Follow the instructions: Running Airside on the Raspberry Pi 5

Hardware

Raspberry Pi 5: Raspberry Pi 5

CUDA compability information: CUDA and PyTorch

  • No labels