error loading controller (pr2) [closed]

asked 2013-02-22 18:27:23 -0600

ccm gravatar image

updated 2014-11-22 17:05:05 -0600

ngrennan gravatar image

I am attempting this tutorial once more but strangely I have this error.

[ERROR] [1361599472.828145391, 528.673000000]: Could not load class my_controller_pkg/MyControllerPlugin: Failed to load library /home/c/fuerte_workspace/sandbox/my_controller_pkg/lib/ Make sure that you are calling the PLUGINLIB_REGISTER_CLASS macro in the library code, and that names are consistent between this macro and your XML. Error string: Cannot load library: No manifest in /home/c/fuerte_workspace/sandbox/my_controller_pkg/lib/ my_controller_pkg__MyControllerPlugin

It is very strange because sometimes it can load and sometimes it cannot. I don't know what is causing this error. I followed the tutorial exactly, and even tried deleting the whole package and redoing the tutorial again. Any help would be very much appreciated.

Here are some information that you might need(although I did copy it from the tutorial): controller_plugin.xml

<library path="lib/libmy_controller_lib">
  <class name="my_controller_pkg/MyControllerPlugin" 
         base_class_type="pr2_controller_interface::Controller" />

end of my_controller_file.cpp

/// Register controller to pluginlib


  <description brief="my_controller_pkg">


  <review status="unreviewed" notes=""/>
  <depend package="pr2_controller_interface"/>
  <depend package="pr2_mechanism_model"/>
  <depend package="pluginlib"/>

    <pr2_controller_interface plugin="${prefix}/controller_plugins.xml" />

edit retag flag offensive reopen merge delete

Closed for the following reason question is not relevant or outdated by tfoote
close date 2015-10-30 17:59:04.706630