main ships a single supported out-of-tree controller: apps/controller_tinympc_eigen.
The experimental task-based and PSD obstacle-avoidance controller has been split out of the default path. Preserve or continue that work on the research/eigen-task-psd branch instead of main.
- Clone the repository with submodules:
git clone --recursive git@github.com:A2R-Lab/tinympc-crazyflie.git
cd tinympc-crazyflie- Build from the controller app directory, not from the repository root:
cd apps/controller_tinympc_eigen
make clean
make- Flash from the same directory:
CLOAD_CMDS="-w radio://0/80/2M/E7E7E7E7E7" make cloadcontroller_tinympc_eigenis the supported controller onmain.- The controller build wraps the Crazyflie firmware build system automatically.
- On macOS, the app
Makefileauto-detects GNUcoreutilsandgnu-sedshims when Homebrew provides them. - Trajectory playback in
controller_tinympc_eigenis controlled by the compile-timeen_trajflag insrc/controller_tinympc.cpp.