I'm debugging my node written in cpp. My code calls ControllerManager::update from controller_manager package. But the gdb doesn't step into the function.
I cloned https://github.com/ros-controls/ros_control.git and rebuilt it. My node is linked against libcontroller_manager.so built with the controller_manager package.
Probably roslaunch loads the version of the libcontroller_manager.so from /opt/ros/hydro/lib instead of the one which was built with the controller_manager package.
So the question is how to tell roslaunch to use the shared libraries from my catkin work space lib directory before the default ros libraries.
↧