Skip to content

BauerJustin/UWB-Drone-Localization-Pipeline

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

129 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

UWB-Drone-Localization-Pipeline

ECE496 Capstone Indoor Drone Swarm Localization and Control with UWB

Prerequisites

Before running the pipeline, make sure you have the following prerequisites installed on your system:

Installation

  1. Clone this repository to your local machine:

    git clone https://github.com/BauerJustin/UWB-Drone-Localization-Pipeline.git
  2. Navigate to the project directory:

    cd UWB-Drone-Localization-Pipeline
  3. Install the required dependencies using pip:

    pip3 install -r requirements.txt

Usage

Localization

Run the UWB drone localization pipeline with the following command:

python3 drone_localization.py [--sim_uwb] [--num_drones N] [--capture] [--replay] [--file_name FILE]

Options:

  • --sim_uwb: Use this flag to enable UWB drone simulation.
  • --num_drones N: Specify the number of drones for the simulation (default is 3 if not provided).
  • --capture: Capture all incoming data.
  • --replay: Replay capture file.
  • --file_name FILE: Set the capture or replay file (default is capture.json).

Control

Run the UWB drone control pipeline with the following command:

python3 drone_control.py

Scripts

To execute any scripts located in the scripts folder, run this command from the root directory of the project:

python3 scripts/*.py [--args]

Tests

To run all unit tests use the following command:

python3 -m unittest discover

About

ECE496 Capstone Indoor Drone Swarm Localization with UWB

Resources

Stars

Watchers

Forks

Contributors

Languages