Ask Your Question
0

Webots - MoveIt! Controlling two UR5e Robots

asked 2020-02-26 08:53:50 -0500

Tim97_KIT gravatar image

updated 2020-02-27 08:37:57 -0500

Hi, I want to contrloll two ur5e arms with Moveit over Webots. My goal is to give them an endeffector pose and they go to that position. It works for one! My problem is to controll more than one. I want to have one launch file which starts a move_group node and a webots node for each robot im adding. I tried to follow the Gazebo tutorial and i wanted to use the "<group>" command but then move_group wouldnt subscribe to my webots_joint-publisher. I think its because my Webots node isnt in the same namespace but i couldnt figure out how to change the namespace in my webots-python script.

edit retag flag offensive close merge delete

Comments

Seeing as Webots is not a very commonly used simulator with ROS, I would expect you'll have a higher chance of getting a response if you'd use a more appropriate venue, such as the Webots support forum or their issue tracker.

gvdhoorn gravatar image gvdhoorn  ( 2020-02-27 13:41:58 -0500 )edit

Thanks for your answer! My first attempt was to ask the webots forum but they couldnt help with the problem. Thats why im here. I hoped that someone tried to use Webots with moveIt and knows how to controll multiple robots with it.

Tim97_KIT gravatar image Tim97_KIT  ( 2020-02-28 07:00:59 -0500 )edit

1 Answer

Sort by ยป oldest newest most voted
1

answered 2020-03-02 00:42:53 -0500

DavidMansolino gravatar image

Hi,

I am not very familiar with the group command, but about Webots you should define a different 'prefix' param for each of your UR5e robot from the launch file.

For more information here is the Webots controller that provide the ROS interface for the UR5e robot: https://github.com/cyberbotics/webots...

edit flag offensive delete link more

Comments

Hi, So i have to use two launchfiles for each robot and change the prefix from each one? I tried it for one robot and then it cant find the joints anymore.

Tim97_KIT gravatar image Tim97_KIT  ( 2020-03-02 11:06:44 -0500 )edit

To simplify the process, a new argument called --node-namehave been introduced in https://github.com/cyberbotics/webots.... With this patch you can now directly set in the Webots scene-tree in the controllerArgs fields the name of the node to avoid name clash when using more than one robot with ROS.

DavidMansolino gravatar image DavidMansolino  ( 2020-03-03 04:03:12 -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: 2020-02-26 08:44:49 -0500

Seen: 34 times

Last updated: Feb 27