Ask Your Question

Error of Rviz: can't load class 'moveit_rviz_plugin/MotionPlanning'

asked 2017-06-06 16:06:00 -0500

Oh233 gravatar image

updated 2017-06-07 00:37:55 -0500

gvdhoorn gravatar image

Before what I did is introducing a new planner to ompl and building source moveit with source ompl. I already changed ompl_planning.yaml for pr2 robot and now I want to test my new planner for pr2 robot. After I launched demo.launch of pr2 robot, I met the following error:

ERROR: cannot launch node of type [moveit_ros_move_group/move_group]: can't locate node [move_group] in package [moveit_ros_move_group]
[ERROR] [1496781973.824232913]: PluginlibFactory: The plugin for class 'moveit_rviz_plugin/MotionPlanning' failed to load.  Error: Could not find library corresponding to plugin moveit_rviz_plugin/MotionPlanning. Make sure the plugin description XML file has the correct name of the library and that the library actually exists.

Is this error because of my new adding planner? I followed the tutorial of ompl of how to add a new planner, there is no step to change any file for rviz. Do I need to modify any file of rviz in order to load motion planning? Appreciate it if anybody can give me some suggestion.

edit retag flag offensive close merge delete

1 Answer

Sort by ยป oldest newest most voted

answered 2018-05-11 20:03:35 -0500

130s gravatar image

The first line in the piece of error output you posed is already critical.

ERROR: cannot launch node of type [moveit_ros_move_group/move_group]: can't locate node [move_group] in package [moveit_ros_move_group]

I assume that ROS recognized the package moveit_ros_move_group but couldn't find a node move_group. Either you remove anything related to it, or it failed to be built properly, or something else. There are other threads found on Google that cite the same/similar errors. One of them is #q251251.

edit flag offensive delete link more

Your Answer

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

Add Answer

Question Tools



Asked: 2017-06-06 16:06:00 -0500

Seen: 644 times

Last updated: May 11 '18