ROS Resources: Documentation | Support | Discussion Forum | Index | Service Status | ros @ Robotics Stack Exchange
Ask Your Question
0

MoveIt/Rviz plan and execute

asked 2015-09-29 17:11:49 -0500

fascii gravatar image

updated 2015-09-30 13:54:48 -0500

Hello All,

I have spent the last couple weeks getting familiar with MoveIt and Rviz and here is where I am at. I can successfully load my robot model into Rviz and plan & execute an action. However, before reaching the goal position there is a lot of extra, unnecessary motions. I have a hunch it has to do with two errors I get upon launching moveit_planning_execution.launch

The first:

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

If I source the setup.bash then I can use rosrun and execute the joint_trajectory_action and industrial_robot_simulator files solo without any errors, but I cannot source the setup.bash and re-execute the moveit_planning_execution.launch.

The second:

[FATAL] [1443558286.149773220]: Parameter '~moveit_controller_manager' not specified. This is needed to identify the plugin to use for interacting with controllers. No paths can be executed.

File organization: Within the src folder of my ros workspace are industrial_core_ws and v068_description. Within the description folder are my .stl files, moveit_config files, and my URDF file. I modeled my controllers.yaml, full_action_server and moveit_planning_execution from the link I mention in the last paragraph. I installed the industrial_core from Github ( https://github.com/ros-industrial/ind... ). Also, currently running Indigo on Ubuntu 14.04. Here is the link to my Github files ( https://github.com/fascii/denso_v068 ).

Everything from these links and other ROS resources ( http://answers.ros.org/question/19273... & http://wiki.ros.org/Industrial/Tutori... ) worked for me up to this point. Don't necessarily need to solve this for me...a tip in the right direction and solid resource material is just as valuable to me.

edit retag flag offensive close merge delete

Comments

Can you please provide some information on what pkgs you are using, where you got them from, how you installed them and what your workspace layout is? Please update your question with that information (use the edit button/link).

gvdhoorn gravatar image gvdhoorn  ( 2015-09-30 11:34:15 -0500 )edit

1 Answer

Sort by ยป oldest newest most voted
2

answered 2015-10-01 06:08:31 -0500

gvdhoorn gravatar image

updated 2015-10-07 14:23:25 -0500

Looking at the github repo you linked, it appears you have a workspace within a workspace. While that can technically work, I'd not advise it.

Suggested layout for a new workspace:

/path/to/catkin_ws
  src
    industrial_core
      industrial_robot_client
      ..
      industrial_robot_simulator
      ..
    v068_description
      URDF
      ..
    moveit_config
      ..

Now, in a fresh terminal (make sure you have not sourced setup.bash of your old workspace), build the new workspace.

If successful, source /path/to/catkin_ws/devel/setup.bash.

If I source the setup.bash then I can use rosrun and execute the joint_trajectory_action and industrial_robot_simulator files solo without any errors, but I cannot source the setup.bash and re-execute the moveit_planning_execution.launch.

This should be sorted after you source the new workspace: all your pkgs now live in a single workspace.

The second:

[FATAL] [1443558286.149773220]: Parameter '~moveit_controller_manager' not specified. This is needed to identify the plugin to use for interacting with controllers. No paths can be executed.

I believe this could be due to the setup of your MoveIt configuration package. In particular the files in config and the denso_vs068A2-AV6-NNN-AA_moveit_controller_manager.launch.xml file. The Create a MoveIt Package for an Industrial Robot tutorial should show you how to set it up.


General comment: it is not recommended to merge your MoveIt configuration with your description package. Also, you might be interested in the wiki/denso packages. They don't use the industrial_robot_client infrastructure, but are more tailored towards using ROS with Denso robots.

edit flag offensive delete link more

Comments

Reorganizing my workspace was a really good start. So far I am not seeing the first error anymore. I ended up organizing my files as you suggested plus one extra step - moving the package industrial_robot_simulator from the industrial_core_ws to the src folder of my catkin_ws.

fascii gravatar image fascii  ( 2015-10-01 14:37:36 -0500 )edit

Will post another comment once I tackle the controller error. Thanks for the advice so far!

fascii gravatar image fascii  ( 2015-10-01 14:39:10 -0500 )edit

Seems I erred: the industrial_robot_client pkg is actually a sub directory of the industrial_core git repository. I've updated the layout I suggested. Doing it the other way doesn't make any sense (pkgs should not be children of each other, but siblings).

gvdhoorn gravatar image gvdhoorn  ( 2015-10-01 15:18:03 -0500 )edit

moving the package industrial_robot_simulator from the industrial_core_ws to the src folder of my catkin_ws

I'd recommend keeping pkgs in the catkin_ws/src folder. As to moving the industrial_robot_simulator, that will work, but is in no way needed.

gvdhoorn gravatar image gvdhoorn  ( 2015-10-01 15:19:11 -0500 )edit

Update: I eventually figured out that you can change the planning library with a drop-down menu, and now the simulation runs beautifully. Still I am getting the controller parameter error, but could that be due to the fact that I'm not using actual hardware yet, thus no physical controller?

fascii gravatar image fascii  ( 2015-10-07 13:51:04 -0500 )edit

Still I am getting the controller parameter error [..]

Make sure your MoveIt config pkg is setup correctly. The denso_vs068A2-AV6-NNN-AA_moveit_controller_manager.launch.xml fi is empty in the repository you linked. That cannot work.

gvdhoorn gravatar image gvdhoorn  ( 2015-10-07 14:26:39 -0500 )edit

I have since updated that xml file. I'll update the repo.

fascii gravatar image fascii  ( 2015-10-07 15:02:14 -0500 )edit

Question Tools

1 follower

Stats

Asked: 2015-09-29 17:11:49 -0500

Seen: 1,978 times

Last updated: Oct 07 '15