Motion planner solutions for quadcopters.
- Install Eigen
- Clone this repository to a catkin workspace:
cd ~/catkin_ws/src
git clone --recursive https://github.com/marcelino-pensa/drone_planner
If you don't need the minimum time motion planner, just run catkin_make
in ~/catkin_ws
. Otherwise, do the following:
- Install OSQP
cd ~/catkin_ws/src/drone_planner/dependencies/P4/dependencies/osqp
git submode update --init --recursive
mkdir build
cd build
cmake -G "Unix Makefiles" ..
cmake --build .
- Install ECOS
cd ~/catkin_ws/src/drone_planner/dependencies/ecos
make
-
Set the
COMPILE_MIN_TIME_SERVICE
flag toTRUE
in~/catkin_ws/src/drone_planner/CMakeLists.txt
. -
Compile by running
catkin_make
in~/catkin_ws
.