0
$\begingroup$

Rosanswers logo

Hey Guys,

I am following this tutorial to write my own global planner. Everything seems to work fine and I can see my plugin, when I call:

rospack plugins --attrib=plugin nav_core

but if I want to use it I keep getting this error:

Failed to create the dijkstra_planner/DijkstraPlanner planner, are you sure it is properly registered and that the containing library is built? Exception: MultiLibraryClassLoader: Could not create object of class type dijkstra_planer::DijkstraPlanner as no factory exists for it. Make sure that the library exists and was explicitly loaded through MultiLibraryClassLoader::loadLibrary()

Could this have something to do with my ROS version? I am using indigo und not hydro like in the tutorial.

I would be very thankful if anybody could help me.

Greetings


Originally posted by Earthgrazer on ROS Answers with karma: 11 on 2016-07-13

Post score: 0

$\endgroup$

1 Answer 1

0
$\begingroup$

Rosanswers logo

That usually happens when you don't call PLUGINLIB_EXPORT_CLASS. Do you have the appropriate call to PLUGINLIB_EXPORT_CLASS at the end of the source code for your plugin?


Originally posted by ahendrix with karma: 47576 on 2016-07-13

This answer was ACCEPTED on the original site

Post score: 0


Original comments

Comment by Earthgrazer on 2016-07-18:
Yes, I do, it is at the beginning of my source code like in the tutorial.

Comment by cgm666 on 2021-03-08:
Hi, did you solve this problem? I also meet it:(

$\endgroup$

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service and acknowledge you have read our privacy policy.