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

Dual arm UR10 connection with universal robot stack

asked 2014-02-17 00:15:48 -0500

Equanox gravatar image

Hey,

I'm working with two ur10 arms. i can easily set up a connection with the universal robot stack from github using the driver.py with one robot arm. I'm using the ipa320 fork (github.com/ipa320/universal_robot) with groovy.

I'm sure both arms are reachable over the network and i can set up a connection with each arm individually.

My problem is when i wont to establish the connections simultaniously.. when i'm connecting to the second ur10 the connection attempt fails. I'm not really familliar wit tcp and sockets but in my opinion the connection fails cause the ur10 box trys to establish the connection only through port 500001. I know that this python scripts tells the ur10 box to setup a connection. But i dont't know how to tell the box over whitch port the connection should be established. In the driver.py is a variable define REVERSE_PORT = 50001 but it is not used in the code. Does somebody has deeper insights in the connection process or already accomplished to set up a connection with two ur10's and moveit?

Any help is appreciated.

Thanks, Matthias.

edit retag flag offensive close merge delete

Comments

Is this with a single or dual controller setup?

gvdhoorn gravatar image gvdhoorn  ( 2014-02-17 06:33:14 -0500 )edit

dual controller

Equanox gravatar image Equanox  ( 2014-02-17 23:09:22 -0500 )edit

1 Answer

Sort by ยป oldest newest most voted
0

answered 2014-02-17 02:07:22 -0500

Equanox gravatar image

updated 2014-02-17 02:09:02 -0500

All right,

I found the answer. Thers a file named "prog" in the ur_driver package. You can change the port for the connection between arm and pc in line 116, with the second argument of the command socket_open(HOSTNAME, 50001). You also need to change the port in line 642 in the driver.py.

Right now there is no solution added for doing this during runtime.

Cheers, Matthias

edit flag offensive delete link more

Comments

gvdhoorn gravatar image gvdhoorn  ( 2014-04-16 01:06:07 -0500 )edit

I meet a strange problem.I want to setup a connection between PC and two UR5 arms , but the topic "follow joint tracjetory" cannot be created.The error displayed is "Action client not connected:left_arm_controller/follow_joint_trajectory" .

yyf gravatar image yyf  ( 2017-08-17 21:10:40 -0500 )edit

Hello, I have some questions. I have established two ur10 configuration files in moveit, but I can't control two ur robots at the same time. Do you control the two robots through one robot controller or through the controller respectively? If not, how do you inform the two robots to perform tasks? Can you tell me? Thank you very much

xioaheqiufeng gravatar image xioaheqiufeng  ( 2019-11-15 00:59:11 -0500 )edit

Question Tools

1 follower

Stats

Asked: 2014-02-17 00:15:48 -0500

Seen: 1,560 times

Last updated: Feb 17 '14