This repo is meant to provide necessary tools to operate Crazyflie drones in environments with Motive Motion Capture systems. This work is based on Crazyflie Toolbox and it combined with NatNet SDK provided to stream data to a Linux host.
I believe this is the way to run build the project :)
cd <repo_foldename>
mkdir build
cd build
cmake ..
make
- You have to define the trajectory. I should modify the code and make it more user friendly :) but I usually define it
all by defining
Trajectory_Planner::setPointCoordinatesin Trajectory_PLanner header file. - Define the address to the crazyflie in Main File where there is a list push it to the vector by
uri_list.emplace_back("radio://0/80/2M/E7E7E7E7E0");
- Configure the Rigid Bodies on Motive software. Make sure you can stream rigid bodies (stream rigid bodies --> True).
- build the project.
- run
build/Main
- Go to the
builddirectory:cd build - Make sure you have the requirements in this file.
or
Create a virtual environment
python3 -m venv env
source env/bin/activate
pip3 install -r requirements.txt
python3 generatingPlotsFromCSV.py