rst-tu-dortmund / mpc_local_planner

The mpc_local_planner package implements a plugin to the base_local_planner of the 2D navigation stack. It provides a generic and versatile model predictive control implementation with minimum-time and quadratic-form receding-horizon configurations.
http://wiki.ros.org/mpc_local_planner
GNU General Public License v3.0
545 stars 143 forks source link

Corbo dependencies making caktin_make fail #22

Closed MichelleHusbands closed 3 years ago

MichelleHusbands commented 3 years ago

Hello,

I have been trying to build my project for the last two days without any success. I keep getting corbo dependencies errors, even though I have installed the control_box_rst package and I doubled checked that it is on the include directory of ROS melodic. Can you give me a hand on this one?

I am using ROS Melodic with C++ and I have installed both packages, mpc_local_planner and control_box_rst, using the installation instructions on the official github.

This is the error I am getting every time I try to build the project. It is either corbo-controllers or corbo-core giving me a headache. The only way to avoid this error is to not include any of the mpc_local_planner headers.

Screen Shot 2020-11-20 at 10 34 23 am

This is proof that I have the control_box_rst installed and I also installed the mpc_local_planner package:

Screen Shot 2020-11-20 at 10 34 57 am

And this is part of my CMakeLists.txt file:

Screen Shot 2020-11-20 at 10 47 45 am Screen Shot 2020-11-20 at 10 47 27 am
MichelleHusbands commented 3 years ago

You need to install IPOPT from source and using the apt-get command as well. Then it builds! Got the code working on ROS Melodic.