ECE496 Capstone Indoor Drone Swarm Localization and Control with UWB
Before running the pipeline, make sure you have the following prerequisites installed on your system:
- Python 3: You can download and install Python 3 from the official website.
-
Clone this repository to your local machine:
git clone https://github.com/BauerJustin/UWB-Drone-Localization-Pipeline.git
-
Navigate to the project directory:
cd UWB-Drone-Localization-Pipeline -
Install the required dependencies using pip:
pip3 install -r requirements.txt
Run the UWB drone localization pipeline with the following command:
python3 drone_localization.py [--sim_uwb] [--num_drones N] [--capture] [--replay] [--file_name FILE]--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).
Run the UWB drone control pipeline with the following command:
python3 drone_control.pyTo execute any scripts located in the scripts folder, run this command from the root directory of the project:
python3 scripts/*.py [--args]To run all unit tests use the following command:
python3 -m unittest discover