ros_motion_planning icon indicating copy to clipboard operation
ros_motion_planning copied to clipboard

Failed to run MPC local planner

Open bigpigdog opened this issue 2 months ago • 4 comments

I've installed all the dependencies, but this error occurs:

[FATAL] [1712800952.056223995, 1711543538.130066234]: Failed to create the mpc_planner/MPCPlanner planner, are you sure it is properly registered and that the containing library is built? Exception: Failed to load library /home/lhj/catkin_ws/devel/lib//libmpc_planner.so. Make sure that you are calling the PLUGINLIB_EXPORT_CLASS macro in the library code, and that names are consistent between this macro and your XML. Error string: Could not load library (Poco exception = libOsqpEigen.so.0.8.1: cannot open shared object file: No such file or directory)

The libmpc_planner.so and libOsqpEigen.so.0.8.1 does exist. Why compiler show that libmpc_planner.so exist in ***/catkin_ws/devel/lib//libmpc_planner.so and not in ***/catkin_ws/devel/lib/libmpc_planner.so. In the latter, there are no two "/" that are the right path.

bigpigdog avatar Apr 11 '24 02:04 bigpigdog