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

Pawel's profile - activity

2016-11-03 14:54:26 -0500 received badge  Famous Question (source)
2016-09-16 00:22:38 -0500 received badge  Notable Question (source)
2016-09-15 10:12:37 -0500 received badge  Popular Question (source)
2016-09-14 15:58:50 -0500 asked a question How to use test_move.py script from ur_modern_driver

Hello,

I am currently running on Ubuntu 14.04.5 LTS, UR Software 3.3.0.145, and am running Indigo. I am able to get roslaunch to work, however when I try to run rosrun ur_modern_driver test_move.py. I get the error

rospkg.common.ResourceNotFound: ur_driver

I have run the rosrun command in a new terminal after running source ~/catkin_ws/devel/setup.bash

Any thoughts or insights are greatly appreciated!

Cheers,

Pawel

2016-09-14 15:52:07 -0500 answered a question Can't establish connection to UR5 using ROS-Industrial driver

So this was a two part problem....

First Miguel Prada's answer was correct that I was running the wrong commands. The issue I mentioned in the update was due to some network settings that had changed after reinstalling ubuntu. After fixing that I can get roslaunch to work. I am still having an issue with rosrun, but I will make a new post about that problem.

Thank you everyone for the help!

2016-09-14 15:49:41 -0500 received badge  Supporter (source)
2016-09-14 13:51:07 -0500 received badge  Famous Question (source)
2016-09-14 13:26:12 -0500 commented answer Can't establish connection to UR5 using ROS-Industrial driver

Yes I am replacing it with the IP of my robot and I can ping it successfully as well.

2016-09-14 12:26:06 -0500 commented answer Can't establish connection to UR5 using ROS-Industrial driver

Thanks for the quick reply! I tried that out and seem to be getting the same error. I made an update to the post with the error printout. It appears that it is trying to use the UR3 driver for some reason.

2016-09-13 11:04:05 -0500 received badge  Notable Question (source)
2016-09-13 11:01:13 -0500 received badge  Editor (source)
2016-09-13 10:58:29 -0500 commented question Can't establish connection to UR5 using ROS-Industrial driver

Thanks for the idea, I'll get right on that!

2016-09-13 10:06:27 -0500 commented question Can't establish connection to UR5 using ROS-Industrial driver

Thanks, I made the change to the title. I know that the tutorial was for universal_robot, but I remember that the ur_modern_driver git mentioned that it was meant to be a drop-in replacement. I thought that it should have worked the same in that case?

2016-09-12 20:37:36 -0500 received badge  Popular Question (source)
2016-09-12 14:21:21 -0500 asked a question Can't establish connection to UR5 using ROS-Industrial driver

Hello,

I am currently running on Ubuntu 14.04.5 LTS and UR Software 3.3.0.145. I have gone through the ROS tutorial for installing Indigo and setting up my catkin workspace. Next I cloned the the github repo for the ur_modern_driver into catkin_ws/src and made it with catkin_make. From there I have tried to follow the universal robot getting started with ROS Industrial tutorial...

Universal Robot ROS Industrial Tutorial

I can ping the UR5 and run my own python scripts with URScript commands so the communication appears to be in check.

My problem is with step 3.3 in the tutorial when I try to run

roslaunch ur_bringup ur5_bringup.launch robot_ip:=IP_OF_THE_ROBOT [reverse_port:=REVERSE_PORT]

and

rosrun ur_driver test_move.py

When I run the roslaunch command from the ~/catkin_ws directory I get the error

[ur5_bringup.launch] is neither a launch file in package [ur_bringup] nor is [ur_bringup] a launch file name

However, I have been able to get it to launch once by switching to the ~/catkin_ws/src/ur_modern_driver/launch directory and omitting ur_bringup at the start of the command, but the rosrun command would not do anything on the arm. Coming back after the weekend and trying to run the same thing I get an

Error connecting to get firmware version

So I appear to be back at square one trying to get roslaunch to work.

I'm not sure if this would be an issue, but the computer I am currently running from is not connected to the internet when I run commands because there is only one ethernet port which needs to be connected to the UR5. I have made sure to run source devel/setup.bash before the roslaunch command and have checked that the .launch files do in fact exist in the launch folder.

Any insight / ideas are greatly appreciated!

Cheers,

Pawel

[UPDATE]

After trying the suggested line roslaunch ur_modern_driver ur5_bringup.launch robot_ip:=IP.OF.YOUR.UR I get the same sort of error as before with the Error connecting to get firmware. It appears that it is trying to use the UR3 driver for some reason? Once again I made sure to run source ~/catkin_ws/devel/setup.bash beforehand. I pasted the error below...

auto-starting new master
process[master]: started with pid [4135]
ROS_MASTER_URI=http://localhost:11311

setting /run_id to a2d5b39c-7a9d-11e6-b304-001cc0933a57
process[rosout-1]: started with pid [4148]
started core service [/rosout]
process[robot_state_publisher-2]: started with pid [4151]
process[ur_driver-3]: started with pid [4152]
[FATAL] [1473872815.699936438]: Error connecting to get firmware version
terminate called after throwing an instance of 'std::system_error'
  what():  Invalid argument
[ur_driver-3] process has died [pid 4152, exit code -6, cmd     /home/robots/catkin_ws/devel/lib/ur_modern_driver/ur_driver __name:=ur_driver     __log:=/home/robots/.ros/log/a2d5b39c-7a9d-11e6-b304-001cc0933a57/ur_driver-3.log].
log file: /home/robots/.ros/log/a2d5b39c-7a9d-11e6-b304-001cc0933a57/ur_driver-3*.log