ROS Resources: Documentation | Support | Discussion Forum | Index | Service Status | ros @ Robotics Stack Exchange
Ask Your Question

zhangli's profile - activity

2018-05-22 09:34:52 -0500 received badge  Famous Question (source)
2017-04-08 06:09:12 -0500 received badge  Popular Question (source)
2017-04-08 06:09:12 -0500 received badge  Notable Question (source)
2016-10-17 02:24:33 -0500 commented answer MoveIt Kinematics Solver No kinematics solver instantiated for this group

which header file did you add when using KinematicsModelLoader?

2016-09-22 02:04:03 -0500 received badge  Enthusiast
2016-09-17 11:29:17 -0500 asked a question failed to load library when running a realtime joint controller

Hello,everyone!

I'm learning this tutorial Running a realtime joint controller to create a basic real-time joint controller. Everything is okay until I reach this step:

3.3.1 Load

If everything looks good, let's try to load our controller:

$ rosrun pr2_controller_manager pr2_controller_manager load my_controller_name

After using above command, I get an error :

[ERROR] [1474085129.430380858, 74.606000000]: Could not load class my_controller_pkg/MyControllerPlugin: Failed to load library /home/hadoop436/catkin_ws/devel/lib//libmy_controller_lib.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 = /home/hadoop436/catkin_ws/devel/lib//libmy_controller_lib.so: undefined symbol: _ZN14console_bridge14log_deprecatedEPKciNS_8LogLevelES1_z)
[ERROR] [1474085129.430493719, 74.606000000]: Could not load controller 'my_controller_name' because controller type 'my_controller_pkg/MyControllerPlugin' does not exist

I suspect the library path of the plugin is wrong because the path is /home/hadoop436/catkin_ws/devel/lib//libmy_controller_lib.so. I ensure that the controller is configured as a plugin and got registered to the controller manager.

who can help me to solve this problem?