Skip to content
This repository has been archived by the owner on Nov 16, 2021. It is now read-only.

M-R-VulcaN/crazyflie-link-cpp-expanded-old

 
 

Repository files navigation

Crazyflie C++ Link

Dependencies

sudo apt install -y libusb-1.0-0-dev

This relies on pybind11, which is a submodule, so don't forget to

git submodule init 
git submodule update

Build C++ lib and examples

mkdir build
cd build
cmake ..
make

The library can be tested using the included example applications, e.g.,:

./example_scan

File Structure Explained

Directories

src - source files for crazyflie lib classes and functions

examples - example files

include/crazflieLinkCpp - contains all header files for crazyflie lib

Build and install development version of the python binding

Building the python binding requires python>=3.6, cmake and Ninja. Ninja and CMake can be installed with pip on Windows and Mac (pip install cmake ninja), or using apt-get on Ubuntu/debian (apt-get install cmake ninja-build).

The following command builds the binding and register it in development mode (ie. as a link) in python.

python3 setup.py develop --user

The library can be tested using the included example scripts, e.g.,:

python3 examples/scan.py

About

No description, website, or topics provided.

Resources

License

Stars

Watchers

Forks

Packages

No packages published

Languages

  • Makefile 37.9%
  • C++ 36.4%
  • CMake 15.6%
  • C 8.1%
  • Python 1.7%
  • Shell 0.3%