From 9a94eb50b11f2595ca223467aa993862d92134bd Mon Sep 17 00:00:00 2001 From: Miguel Prada Date: Fri, 24 Feb 2017 11:09:10 +0100 Subject: [PATCH 1/5] Remove dependecy on ros_controllers metapackage. As per http://www.ros.org/reps/rep-0127.html, packages are not allowed to depend on metapackages. --- package.xml | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) diff --git a/package.xml b/package.xml index 5cf0127..11d7c95 100644 --- a/package.xml +++ b/package.xml @@ -4,7 +4,7 @@ 0.0.1 The new driver for the UR3/UR5/UR10 robot arms from universal robots - + Thomas Timm Andersen @@ -54,7 +54,6 @@ realtime_tools hardware_interface controller_manager - ros_controllers actionlib control_msgs geometry_msgs From e272a857e74184264f3336cf613d947aeb01a6fd Mon Sep 17 00:00:00 2001 From: Ruddick Lawrence Date: Fri, 7 Jul 2017 16:43:10 -0700 Subject: [PATCH 2/5] Copy config folder on install --- CMakeLists.txt | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/CMakeLists.txt b/CMakeLists.txt index e9f3b83..f4b01d1 100644 --- a/CMakeLists.txt +++ b/CMakeLists.txt @@ -133,7 +133,7 @@ endif() ## Specify additional locations of header files ## Your package locations should be listed before other locations # include_directories(include) -include_directories(include +include_directories(include ${catkin_INCLUDE_DIRS} ) @@ -176,6 +176,7 @@ target_link_libraries(ur_driver ############# install(DIRECTORY launch/ DESTINATION ${CATKIN_PACKAGE_SHARE_DESTINATION}/launch) +install(DIRECTORY config/ DESTINATION ${CATKIN_PACKAGE_SHARE_DESTINATION}/config) ## Mark executables and/or libraries for installation install(TARGETS ur_driver ur_hardware_interface From 50510eced1e7b827ddd35d6158e5211595bf7445 Mon Sep 17 00:00:00 2001 From: Ruddick Lawrence Date: Fri, 7 Jul 2017 16:53:05 -0700 Subject: [PATCH 3/5] Correct controller names. Fixes ThomasTimm/ur_modern_driver#98 --- launch/ur3_ros_control.launch | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/launch/ur3_ros_control.launch b/launch/ur3_ros_control.launch index 5b782aa..9caf2d2 100644 --- a/launch/ur3_ros_control.launch +++ b/launch/ur3_ros_control.launch @@ -10,7 +10,7 @@ - + @@ -38,11 +38,11 @@ + output="screen" args="joint_state_controller force_torque_sensor_controller pos_based_pos_traj_controller" /> + output="screen" args="load vel_based_pos_traj_controller" /> From 7290b1e15ad3021ec09451673bf77d84444acff8 Mon Sep 17 00:00:00 2001 From: Max Date: Fri, 4 Aug 2017 18:27:01 -0400 Subject: [PATCH 4/5] added installation and runtime execution for absolute beginners --- README.md | 16 ++++++++++++++++ 1 file changed, 16 insertions(+) diff --git a/README.md b/README.md index 8b355ea..48e84a5 100644 --- a/README.md +++ b/README.md @@ -49,6 +49,21 @@ The driver is designed to be a drop-in replacement of the ur\_driver package. It If you want to test it in your current setup, just use the modified launch files included in this package instead of those in ur\_bringup. Everything else should work as usual. +If you would like to run this package to connect to the hardware, you only need to run the following launch file. +``` +roslaunch ur_modern_driver urXX_bringup.launch robot_ip:=ROBOT_IP_ADDRESS +``` + +Where ROBOT_IP_ADDRESS is your UR arm's IP and XX is '5' or '10' depending on your robot. The above launch file makes calls to both roscore and the launch file to the urXX_description so that ROS's parameter server has information on your robot arm. If you do not have your ```ur_description``` installed please do so via: +``` +sudo apt install ros--ur-description +``` + +Where is the ROS distribution your machine is running on. You may want to run MoveIt to plan and execute actions on the arm. You can do so by simply entering the following commands after launching ```ur_modern_driver```: +``` +roslaunch urXX_moveit_config ur5_moveit_planning_executing.launch +roslaunch urXX_moveit_config moveit_rviz.launch config:=true +``` --- If you would like to use the ros\_control-based approach, use the launch files urXX\_ros\_control.launch, where XX is '5' or '10' depending on your robot. @@ -143,3 +158,4 @@ Please cite the following report if using this driver The report can be downloaded from http://orbit.dtu.dk/en/publications/optimizing-the-universal-robots-ros-driver(20dde139-7e87-4552-8658-dbf2cdaab24b).html + From 9397f47ac158fe5976719f33101334371bc15d44 Mon Sep 17 00:00:00 2001 From: Thomas Timm Andersen Date: Tue, 10 Oct 2017 14:04:55 +0200 Subject: [PATCH 5/5] Updated readme.md Updated readme.md to include information that the driver won't work reliably on a virtual machine --- README.md | 2 ++ 1 file changed, 2 insertions(+) diff --git a/README.md b/README.md index 48e84a5..3dabb07 100644 --- a/README.md +++ b/README.md @@ -39,6 +39,8 @@ A new driver for the UR3/UR5/UR10 robot arms from Universal Robots. It is design ## Installation +**As the driver communicates with the robot via ethernet and depends on reliable continous communication, it is not possible to reliably control a UR from a virtual machine.** + Just clone the repository into your catkin working directory and make it with ```catkin_make```. Note that this package depends on ur_msgs, hardware_interface, and controller_manager so it cannot directly be used with ROS versions prior to hydro.