Rviz motion_planning Error: Failed to load library
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?