ROS Resources: Documentation | Support | Discussion Forum | Service Status | Q&A
Ask Your Question

cannot connect to ur5

asked 2017-02-20 05:15:25 -0500

asdxcsd gravatar image

When using the universal_robot function package, use the 30002 port to connect the robot, the prompt cann't connect to mongoDB

edit retag flag offensive close merge delete

1 Answer

Sort by ยป oldest newest most voted

answered 2017-02-20 05:33:32 -0500

gvdhoorn gravatar image

updated 2017-02-21 01:48:29 -0500

Are you trying to connect to the robot using the text box in the red rectangle below?

MoveIt RViz plugin

If you are, then that won't work. That is only used for connecting to a MongoDB server.

You'll want to connect using the provided launch files. Something like:

roslaunch ur_bringup ur5_bringup.launch robot_ip:=$IP_OF_YOUR_ROBOT

Or, if you're using the ur_modern_driver (which you should):

roslaunch ur_modern_driver ur5_bringup.launch robot_ip:=$IP_OF_YOUR_ROBOT

That should start the driver, and you can now follow the rest of the tutorial / readme.


[..] the port number was 30002,should it be 33829?

No. You should not use the RViz plugin at all to connect to the robot. Only the driver can connect to the robot, nothing else.

Yes ,I am using ur_modern_driver. I should bringup ur5 by roslaunch ur_modern_driver ur5_bringup.launch robot_ip:= [reverse_port:=33829], is that right?

No, that is not correct. If you don't know what value you should use for reverse_port, than I'm pretty sure you don't need it.

Don't use reverse_port, it's not needed if you don't have multiple robots.

edit flag offensive delete link more


Yes,I tried to connect to ur5 by the method you highlighted ,but the port number was 30002,should it be 33829? I will try this later,thanks a lot.

asdxcsd gravatar imageasdxcsd ( 2017-02-20 18:30:34 -0500 )edit

Yes ,I am using ur_modern_driver.I should bringup ur5 by roslaunch ur_modern_driver ur5_bringup.launch robot_ip:= [reverse_port:=33829],is that right?

asdxcsd gravatar imageasdxcsd ( 2017-02-20 18:32:25 -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

1 follower


Asked: 2017-02-20 05:15:25 -0500

Seen: 234 times

Last updated: Feb 21 '17