Ask Your Question
0

Rviz motion_planning Error: Failed to load library

asked 2014-10-06 22:44:06 -0500

sara gravatar image

updated 2014-10-06 22:50:12 -0500

Hi all,

I am following through the Moveit! Industrial Robot Tutorial and got stuck.

when I add motion planning or any from the moveit_ros_visualization folder, it will show the same error:

MotionPlanning The class required for this display, 'moveit_rviz_plugin/MotionPlanning', could not be loaded.

Error: Failed to load library /opt/ros/hydro/lib/libmoveit_motion_planning_rviz_plugin.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 = liborocos-kdl.so.1.3: cannot open shared object file: No such file or directory)

However, the libmoveit_motion_planning_rviz_plugin.so is right in its place.

How can I solve this?

This is the screenshot

edit retag flag offensive close merge delete

1 Answer

Sort by ยป oldest newest most voted
5

answered 2014-10-06 23:23:52 -0500

ahendrix gravatar image

It looks like the MoveIt plugin for Rviz depends on a particular version of the Orocos KDL library that isn't present.

I would start by making sure that all of your packages are up to date:

sudo apt-get update
sudo apt-get dist-upgrade
edit flag offensive delete link more

Comments

gvdhoorn gravatar image gvdhoorn  ( 2014-10-07 03:36:08 -0500 )edit

Nope. It looks like the plugin is compiled against packages that use OpenCV 2.4, and can't be used with a different version.

ahendrix gravatar image ahendrix  ( 2017-06-09 16:41:06 -0500 )edit

Your Answer

Please start posting anonymously - your entry will be published after you log in or create a new account.

Add Answer

Question Tools

2 followers

Stats

Asked: 2014-10-06 22:44:06 -0500

Seen: 3,059 times

Last updated: Oct 06 '14