From 92d1dd7badc2689d47c985340816edec77161ff2 Mon Sep 17 00:00:00 2001 From: gavanderhoorn Date: Tue, 23 Jun 2020 10:54:18 +0200 Subject: [PATCH 01/38] gazebo: follow description xacro macro naming. Rename file to reflect name of macro or top-level entity. Include 'gazebo' reference as these files host content specific to Gazebo. --- ur_gazebo/urdf/{ur_robot.urdf.xacro => ur.xacro} | 0 ur_gazebo/urdf/{ur_robot_gazebo.macro.xacro => ur_macro.xacro} | 0 2 files changed, 0 insertions(+), 0 deletions(-) rename ur_gazebo/urdf/{ur_robot.urdf.xacro => ur.xacro} (100%) rename ur_gazebo/urdf/{ur_robot_gazebo.macro.xacro => ur_macro.xacro} (100%) diff --git a/ur_gazebo/urdf/ur_robot.urdf.xacro b/ur_gazebo/urdf/ur.xacro similarity index 100% rename from ur_gazebo/urdf/ur_robot.urdf.xacro rename to ur_gazebo/urdf/ur.xacro diff --git a/ur_gazebo/urdf/ur_robot_gazebo.macro.xacro b/ur_gazebo/urdf/ur_macro.xacro similarity index 100% rename from ur_gazebo/urdf/ur_robot_gazebo.macro.xacro rename to ur_gazebo/urdf/ur_macro.xacro From 3157374b1f80b7b806c3d1eee63af016426a69f0 Mon Sep 17 00:00:00 2001 From: gavanderhoorn Date: Tue, 23 Jun 2020 11:07:59 +0200 Subject: [PATCH 02/38] gazebo: use new filenames. --- ur_gazebo/launch/ur_common.launch | 2 +- ur_gazebo/urdf/ur.xacro | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/ur_gazebo/launch/ur_common.launch b/ur_gazebo/launch/ur_common.launch index 6cd1fb1f2..b651ee7a5 100644 --- a/ur_gazebo/launch/ur_common.launch +++ b/ur_gazebo/launch/ur_common.launch @@ -25,7 +25,7 @@ - - + From 8222d6b039013250734c464a59affb1649760288 Mon Sep 17 00:00:00 2001 From: gavanderhoorn Date: Tue, 23 Jun 2020 10:57:21 +0200 Subject: [PATCH 03/38] gazebo: merge relevant content from common.gazebo.xacro into macro. Only the ros_control elements are retained. The UR doesn't have a battery, so no need to include that plugin. --- ur_gazebo/urdf/common.gazebo.xacro | 26 -------------------------- ur_gazebo/urdf/ur.xacro | 1 - ur_gazebo/urdf/ur_macro.xacro | 7 ++++++- 3 files changed, 6 insertions(+), 28 deletions(-) delete mode 100644 ur_gazebo/urdf/common.gazebo.xacro diff --git a/ur_gazebo/urdf/common.gazebo.xacro b/ur_gazebo/urdf/common.gazebo.xacro deleted file mode 100644 index e92df3fd0..000000000 --- a/ur_gazebo/urdf/common.gazebo.xacro +++ /dev/null @@ -1,26 +0,0 @@ - - - - - - - - - - - - - \ No newline at end of file diff --git a/ur_gazebo/urdf/ur.xacro b/ur_gazebo/urdf/ur.xacro index 18c6a74b0..e00de2987 100644 --- a/ur_gazebo/urdf/ur.xacro +++ b/ur_gazebo/urdf/ur.xacro @@ -14,7 +14,6 @@ - true - + + + + + + From 3147a01ea095fddd42e35fd4545ae272580c0a9d Mon Sep 17 00:00:00 2001 From: gavanderhoorn Date: Tue, 23 Jun 2020 11:12:24 +0200 Subject: [PATCH 04/38] gazebo: use new robot and macro name. Align with filenames and other ROS-Industrial Gazebo support packages. --- ur_gazebo/urdf/ur.xacro | 5 ++--- ur_gazebo/urdf/ur_macro.xacro | 2 +- 2 files changed, 3 insertions(+), 4 deletions(-) diff --git a/ur_gazebo/urdf/ur.xacro b/ur_gazebo/urdf/ur.xacro index e00de2987..77e8b6e82 100644 --- a/ur_gazebo/urdf/ur.xacro +++ b/ur_gazebo/urdf/ur.xacro @@ -1,6 +1,5 @@ - + @@ -16,7 +15,7 @@ - - From a74b7ca8428765414a49d1b9a95aa0f71848a3a5 Mon Sep 17 00:00:00 2001 From: gavanderhoorn Date: Tue, 23 Jun 2020 11:39:08 +0200 Subject: [PATCH 05/38] gazebo: formatting and comments of xacros. --- ur_gazebo/urdf/ur.xacro | 69 ++++++++++++++++++++++++++--------- ur_gazebo/urdf/ur_macro.xacro | 40 ++++++++++++++------ 2 files changed, 80 insertions(+), 29 deletions(-) diff --git a/ur_gazebo/urdf/ur.xacro b/ur_gazebo/urdf/ur.xacro index 77e8b6e82..cb5deb8e9 100644 --- a/ur_gazebo/urdf/ur.xacro +++ b/ur_gazebo/urdf/ur.xacro @@ -1,34 +1,67 @@ + + This file should be considered the Gazebo-specific variant of the file + with the same name in the ur_description package. It accepts the same + arguments, but instead of configuring everything for a real robot, will + generate a Gazebo-compatible URDF with a ros_control hardware_interface + attached to it. + + Only use this top-level xacro if you plan on spawning the robot in Gazebo + 'by itself', without any gripper or any other geometry attached. + + If you need to attach an end-effector, camera or need to integrate the + robot into a larger workcell and want to spawn that as a single entity in + Gazebo, DO NOT EDIT THIS FILE. + + Instead: create a new top-level xacro, give it a proper name, include the + required '.xacro' files, instantiate the models (ie: call the macros) and + connect everything by adding the appropriate joints. + --> + + + + + + - - + + - - - - + + - - - + + + - diff --git a/ur_gazebo/urdf/ur_macro.xacro b/ur_gazebo/urdf/ur_macro.xacro index d5cb78672..e89d0a78a 100644 --- a/ur_gazebo/urdf/ur_macro.xacro +++ b/ur_gazebo/urdf/ur_macro.xacro @@ -1,3 +1,4 @@ + + - + + + true From a0477c23711da6688badb5fdadad97dcc3d727a9 Mon Sep 17 00:00:00 2001 From: gavanderhoorn Date: Tue, 23 Jun 2020 12:38:39 +0200 Subject: [PATCH 06/38] gazebo: 2-spaces per indent level. --- ur_gazebo/CMakeLists.txt | 3 +- ur_gazebo/controller/arm_controller_ur10.yaml | 43 ++++--- ur_gazebo/controller/arm_controller_ur16.yaml | 43 ++++--- ur_gazebo/controller/arm_controller_ur3.yaml | 43 ++++--- ur_gazebo/controller/arm_controller_ur5.yaml | 43 ++++--- .../controller/joint_state_controller.yaml | 4 +- ur_gazebo/launch/controller_utils.launch | 4 +- ur_gazebo/launch/ur_common.launch | 20 ++-- ur_gazebo/urdf/ur.xacro | 111 +++++++++--------- ur_gazebo/urdf/ur_macro.xacro | 38 +++--- 10 files changed, 174 insertions(+), 178 deletions(-) diff --git a/ur_gazebo/CMakeLists.txt b/ur_gazebo/CMakeLists.txt index d390277f3..b38df3dc9 100644 --- a/ur_gazebo/CMakeLists.txt +++ b/ur_gazebo/CMakeLists.txt @@ -11,4 +11,5 @@ if (CATKIN_ENABLE_TESTING) roslaunch_add_file_check(tests/roslaunch_test.xml) endif() -install(DIRECTORY launch controller urdf DESTINATION ${CATKIN_PACKAGE_SHARE_DESTINATION}) +install(DIRECTORY launch controller urdf + DESTINATION ${CATKIN_PACKAGE_SHARE_DESTINATION}) diff --git a/ur_gazebo/controller/arm_controller_ur10.yaml b/ur_gazebo/controller/arm_controller_ur10.yaml index fb7b3d4fe..de8f88d4a 100644 --- a/ur_gazebo/controller/arm_controller_ur10.yaml +++ b/ur_gazebo/controller/arm_controller_ur10.yaml @@ -1,31 +1,30 @@ arm_controller: type: position_controllers/JointTrajectoryController joints: - - shoulder_pan_joint - - shoulder_lift_joint - - elbow_joint - - wrist_1_joint - - wrist_2_joint - - wrist_3_joint + - shoulder_pan_joint + - shoulder_lift_joint + - elbow_joint + - wrist_1_joint + - wrist_2_joint + - wrist_3_joint constraints: - goal_time: 0.6 - stopped_velocity_tolerance: 0.05 - shoulder_pan_joint: {trajectory: 0.1, goal: 0.1} - shoulder_lift_joint: {trajectory: 0.1, goal: 0.1} - elbow_joint: {trajectory: 0.1, goal: 0.1} - wrist_1_joint: {trajectory: 0.1, goal: 0.1} - wrist_2_joint: {trajectory: 0.1, goal: 0.1} - wrist_3_joint: {trajectory: 0.1, goal: 0.1} + goal_time: 0.6 + stopped_velocity_tolerance: 0.05 + shoulder_pan_joint: {trajectory: 0.1, goal: 0.1} + shoulder_lift_joint: {trajectory: 0.1, goal: 0.1} + elbow_joint: {trajectory: 0.1, goal: 0.1} + wrist_1_joint: {trajectory: 0.1, goal: 0.1} + wrist_2_joint: {trajectory: 0.1, goal: 0.1} + wrist_3_joint: {trajectory: 0.1, goal: 0.1} stop_trajectory_duration: 0.5 - state_publish_rate: 25 + state_publish_rate: 25 action_monitor_rate: 10 joint_group_position_controller: type: position_controllers/JointGroupPositionController joints: - - shoulder_pan_joint - - shoulder_lift_joint - - elbow_joint - - wrist_1_joint - - wrist_2_joint - - wrist_3_joint - + - shoulder_pan_joint + - shoulder_lift_joint + - elbow_joint + - wrist_1_joint + - wrist_2_joint + - wrist_3_joint diff --git a/ur_gazebo/controller/arm_controller_ur16.yaml b/ur_gazebo/controller/arm_controller_ur16.yaml index fb7b3d4fe..de8f88d4a 100644 --- a/ur_gazebo/controller/arm_controller_ur16.yaml +++ b/ur_gazebo/controller/arm_controller_ur16.yaml @@ -1,31 +1,30 @@ arm_controller: type: position_controllers/JointTrajectoryController joints: - - shoulder_pan_joint - - shoulder_lift_joint - - elbow_joint - - wrist_1_joint - - wrist_2_joint - - wrist_3_joint + - shoulder_pan_joint + - shoulder_lift_joint + - elbow_joint + - wrist_1_joint + - wrist_2_joint + - wrist_3_joint constraints: - goal_time: 0.6 - stopped_velocity_tolerance: 0.05 - shoulder_pan_joint: {trajectory: 0.1, goal: 0.1} - shoulder_lift_joint: {trajectory: 0.1, goal: 0.1} - elbow_joint: {trajectory: 0.1, goal: 0.1} - wrist_1_joint: {trajectory: 0.1, goal: 0.1} - wrist_2_joint: {trajectory: 0.1, goal: 0.1} - wrist_3_joint: {trajectory: 0.1, goal: 0.1} + goal_time: 0.6 + stopped_velocity_tolerance: 0.05 + shoulder_pan_joint: {trajectory: 0.1, goal: 0.1} + shoulder_lift_joint: {trajectory: 0.1, goal: 0.1} + elbow_joint: {trajectory: 0.1, goal: 0.1} + wrist_1_joint: {trajectory: 0.1, goal: 0.1} + wrist_2_joint: {trajectory: 0.1, goal: 0.1} + wrist_3_joint: {trajectory: 0.1, goal: 0.1} stop_trajectory_duration: 0.5 - state_publish_rate: 25 + state_publish_rate: 25 action_monitor_rate: 10 joint_group_position_controller: type: position_controllers/JointGroupPositionController joints: - - shoulder_pan_joint - - shoulder_lift_joint - - elbow_joint - - wrist_1_joint - - wrist_2_joint - - wrist_3_joint - + - shoulder_pan_joint + - shoulder_lift_joint + - elbow_joint + - wrist_1_joint + - wrist_2_joint + - wrist_3_joint diff --git a/ur_gazebo/controller/arm_controller_ur3.yaml b/ur_gazebo/controller/arm_controller_ur3.yaml index fb7b3d4fe..de8f88d4a 100644 --- a/ur_gazebo/controller/arm_controller_ur3.yaml +++ b/ur_gazebo/controller/arm_controller_ur3.yaml @@ -1,31 +1,30 @@ arm_controller: type: position_controllers/JointTrajectoryController joints: - - shoulder_pan_joint - - shoulder_lift_joint - - elbow_joint - - wrist_1_joint - - wrist_2_joint - - wrist_3_joint + - shoulder_pan_joint + - shoulder_lift_joint + - elbow_joint + - wrist_1_joint + - wrist_2_joint + - wrist_3_joint constraints: - goal_time: 0.6 - stopped_velocity_tolerance: 0.05 - shoulder_pan_joint: {trajectory: 0.1, goal: 0.1} - shoulder_lift_joint: {trajectory: 0.1, goal: 0.1} - elbow_joint: {trajectory: 0.1, goal: 0.1} - wrist_1_joint: {trajectory: 0.1, goal: 0.1} - wrist_2_joint: {trajectory: 0.1, goal: 0.1} - wrist_3_joint: {trajectory: 0.1, goal: 0.1} + goal_time: 0.6 + stopped_velocity_tolerance: 0.05 + shoulder_pan_joint: {trajectory: 0.1, goal: 0.1} + shoulder_lift_joint: {trajectory: 0.1, goal: 0.1} + elbow_joint: {trajectory: 0.1, goal: 0.1} + wrist_1_joint: {trajectory: 0.1, goal: 0.1} + wrist_2_joint: {trajectory: 0.1, goal: 0.1} + wrist_3_joint: {trajectory: 0.1, goal: 0.1} stop_trajectory_duration: 0.5 - state_publish_rate: 25 + state_publish_rate: 25 action_monitor_rate: 10 joint_group_position_controller: type: position_controllers/JointGroupPositionController joints: - - shoulder_pan_joint - - shoulder_lift_joint - - elbow_joint - - wrist_1_joint - - wrist_2_joint - - wrist_3_joint - + - shoulder_pan_joint + - shoulder_lift_joint + - elbow_joint + - wrist_1_joint + - wrist_2_joint + - wrist_3_joint diff --git a/ur_gazebo/controller/arm_controller_ur5.yaml b/ur_gazebo/controller/arm_controller_ur5.yaml index fb7b3d4fe..de8f88d4a 100644 --- a/ur_gazebo/controller/arm_controller_ur5.yaml +++ b/ur_gazebo/controller/arm_controller_ur5.yaml @@ -1,31 +1,30 @@ arm_controller: type: position_controllers/JointTrajectoryController joints: - - shoulder_pan_joint - - shoulder_lift_joint - - elbow_joint - - wrist_1_joint - - wrist_2_joint - - wrist_3_joint + - shoulder_pan_joint + - shoulder_lift_joint + - elbow_joint + - wrist_1_joint + - wrist_2_joint + - wrist_3_joint constraints: - goal_time: 0.6 - stopped_velocity_tolerance: 0.05 - shoulder_pan_joint: {trajectory: 0.1, goal: 0.1} - shoulder_lift_joint: {trajectory: 0.1, goal: 0.1} - elbow_joint: {trajectory: 0.1, goal: 0.1} - wrist_1_joint: {trajectory: 0.1, goal: 0.1} - wrist_2_joint: {trajectory: 0.1, goal: 0.1} - wrist_3_joint: {trajectory: 0.1, goal: 0.1} + goal_time: 0.6 + stopped_velocity_tolerance: 0.05 + shoulder_pan_joint: {trajectory: 0.1, goal: 0.1} + shoulder_lift_joint: {trajectory: 0.1, goal: 0.1} + elbow_joint: {trajectory: 0.1, goal: 0.1} + wrist_1_joint: {trajectory: 0.1, goal: 0.1} + wrist_2_joint: {trajectory: 0.1, goal: 0.1} + wrist_3_joint: {trajectory: 0.1, goal: 0.1} stop_trajectory_duration: 0.5 - state_publish_rate: 25 + state_publish_rate: 25 action_monitor_rate: 10 joint_group_position_controller: type: position_controllers/JointGroupPositionController joints: - - shoulder_pan_joint - - shoulder_lift_joint - - elbow_joint - - wrist_1_joint - - wrist_2_joint - - wrist_3_joint - + - shoulder_pan_joint + - shoulder_lift_joint + - elbow_joint + - wrist_1_joint + - wrist_2_joint + - wrist_3_joint diff --git a/ur_gazebo/controller/joint_state_controller.yaml b/ur_gazebo/controller/joint_state_controller.yaml index 0cd5bb707..dfd2fcb37 100644 --- a/ur_gazebo/controller/joint_state_controller.yaml +++ b/ur_gazebo/controller/joint_state_controller.yaml @@ -1,3 +1,3 @@ joint_state_controller: - type: joint_state_controller/JointStateController - publish_rate: 50 + type: joint_state_controller/JointStateController + publish_rate: 50 diff --git a/ur_gazebo/launch/controller_utils.launch b/ur_gazebo/launch/controller_utils.launch index f4cd9bab1..5371fa5ce 100644 --- a/ur_gazebo/launch/controller_utils.launch +++ b/ur_gazebo/launch/controller_utils.launch @@ -10,9 +10,9 @@ - + - + diff --git a/ur_gazebo/launch/ur_common.launch b/ur_gazebo/launch/ur_common.launch index b651ee7a5..44c959b8f 100644 --- a/ur_gazebo/launch/ur_common.launch +++ b/ur_gazebo/launch/ur_common.launch @@ -25,16 +25,16 @@ - + diff --git a/ur_gazebo/urdf/ur.xacro b/ur_gazebo/urdf/ur.xacro index cb5deb8e9..0eceaec11 100644 --- a/ur_gazebo/urdf/ur.xacro +++ b/ur_gazebo/urdf/ur.xacro @@ -1,67 +1,66 @@ - + Instead: create a new top-level xacro, give it a proper name, include the + required '.xacro' files, instantiate the models (ie: call the macros) and + connect everything by adding the appropriate joints. + --> - + - Note: this imports the Gazebo-wrapper main macro, NOT the regular - xacro macro (which is hosted by ur_description). - --> - + + + + + + + + + + - - - - - - - - - - + + - - - - - - - - - - + + + + + + + diff --git a/ur_gazebo/urdf/ur_macro.xacro b/ur_gazebo/urdf/ur_macro.xacro index e89d0a78a..d1ab948ca 100644 --- a/ur_gazebo/urdf/ur_macro.xacro +++ b/ur_gazebo/urdf/ur_macro.xacro @@ -1,28 +1,28 @@ - + - - + Note: this imports the '_macro.xacro' from ur_description, as that + contains the definitions for the real robot. + --> + - + - - From 907058f7c58cfba5f5eb9f39a96c7ed1b0c64fa6 Mon Sep 17 00:00:00 2001 From: gavanderhoorn Date: Tue, 23 Jun 2020 12:43:06 +0200 Subject: [PATCH 08/38] gazebo: controller_utils isn't re-used anywhere else. So merge contents into 'ur_common.launch' and remove the file. --- ur_gazebo/launch/controller_utils.launch | 14 -------------- ur_gazebo/launch/ur_common.launch | 10 +++++++++- 2 files changed, 9 insertions(+), 15 deletions(-) delete mode 100644 ur_gazebo/launch/controller_utils.launch diff --git a/ur_gazebo/launch/controller_utils.launch b/ur_gazebo/launch/controller_utils.launch deleted file mode 100644 index 477c6daf9..000000000 --- a/ur_gazebo/launch/controller_utils.launch +++ /dev/null @@ -1,14 +0,0 @@ - - - - - - - - - - - - - - diff --git a/ur_gazebo/launch/ur_common.launch b/ur_gazebo/launch/ur_common.launch index 44c959b8f..8ab45e79f 100644 --- a/ur_gazebo/launch/ur_common.launch +++ b/ur_gazebo/launch/ur_common.launch @@ -39,7 +39,15 @@ - + + + + + + + + + From 3bdad683b943386e02568598df0d90db78b98786 Mon Sep 17 00:00:00 2001 From: gavanderhoorn Date: Tue, 23 Jun 2020 13:42:12 +0200 Subject: [PATCH 09/38] gazebo: introduce 'load_*.launch' helpers. These mimic the files with the same names as in ur_description, but load the Gazebo model instead of the real robot onto the parameter server. --- ur_gazebo/launch/load_ur.launch | 41 ++++++++++++++++++++++++++++++ ur_gazebo/launch/load_ur10.launch | 16 ++++++++++++ ur_gazebo/launch/load_ur10e.launch | 16 ++++++++++++ ur_gazebo/launch/load_ur16e.launch | 16 ++++++++++++ ur_gazebo/launch/load_ur3.launch | 16 ++++++++++++ ur_gazebo/launch/load_ur3e.launch | 16 ++++++++++++ ur_gazebo/launch/load_ur5.launch | 16 ++++++++++++ ur_gazebo/launch/load_ur5e.launch | 16 ++++++++++++ 8 files changed, 153 insertions(+) create mode 100644 ur_gazebo/launch/load_ur.launch create mode 100644 ur_gazebo/launch/load_ur10.launch create mode 100644 ur_gazebo/launch/load_ur10e.launch create mode 100644 ur_gazebo/launch/load_ur16e.launch create mode 100644 ur_gazebo/launch/load_ur3.launch create mode 100644 ur_gazebo/launch/load_ur3e.launch create mode 100644 ur_gazebo/launch/load_ur5.launch create mode 100644 ur_gazebo/launch/load_ur5e.launch diff --git a/ur_gazebo/launch/load_ur.launch b/ur_gazebo/launch/load_ur.launch new file mode 100644 index 000000000..127c5a17a --- /dev/null +++ b/ur_gazebo/launch/load_ur.launch @@ -0,0 +1,41 @@ + + + + + + + + + + + + + + + + diff --git a/ur_gazebo/launch/load_ur10.launch b/ur_gazebo/launch/load_ur10.launch new file mode 100644 index 000000000..13cdbcd03 --- /dev/null +++ b/ur_gazebo/launch/load_ur10.launch @@ -0,0 +1,16 @@ + + + + + + + + + + + + + + + + diff --git a/ur_gazebo/launch/load_ur10e.launch b/ur_gazebo/launch/load_ur10e.launch new file mode 100644 index 000000000..fdf314a03 --- /dev/null +++ b/ur_gazebo/launch/load_ur10e.launch @@ -0,0 +1,16 @@ + + + + + + + + + + + + + + + + diff --git a/ur_gazebo/launch/load_ur16e.launch b/ur_gazebo/launch/load_ur16e.launch new file mode 100644 index 000000000..31fbacc50 --- /dev/null +++ b/ur_gazebo/launch/load_ur16e.launch @@ -0,0 +1,16 @@ + + + + + + + + + + + + + + + + diff --git a/ur_gazebo/launch/load_ur3.launch b/ur_gazebo/launch/load_ur3.launch new file mode 100644 index 000000000..bcab95b43 --- /dev/null +++ b/ur_gazebo/launch/load_ur3.launch @@ -0,0 +1,16 @@ + + + + + + + + + + + + + + + + diff --git a/ur_gazebo/launch/load_ur3e.launch b/ur_gazebo/launch/load_ur3e.launch new file mode 100644 index 000000000..e03e375a5 --- /dev/null +++ b/ur_gazebo/launch/load_ur3e.launch @@ -0,0 +1,16 @@ + + + + + + + + + + + + + + + + diff --git a/ur_gazebo/launch/load_ur5.launch b/ur_gazebo/launch/load_ur5.launch new file mode 100644 index 000000000..c162bcba1 --- /dev/null +++ b/ur_gazebo/launch/load_ur5.launch @@ -0,0 +1,16 @@ + + + + + + + + + + + + + + + + diff --git a/ur_gazebo/launch/load_ur5e.launch b/ur_gazebo/launch/load_ur5e.launch new file mode 100644 index 000000000..83c011a94 --- /dev/null +++ b/ur_gazebo/launch/load_ur5e.launch @@ -0,0 +1,16 @@ + + + + + + + + + + + + + + + + From aac8d2db11fb6ea1f3064bb11a8e6a8636efec1e Mon Sep 17 00:00:00 2001 From: gavanderhoorn Date: Tue, 23 Jun 2020 13:56:14 +0200 Subject: [PATCH 10/38] gazebo: use 'bringup' launch file name. These files will serve the same purpose as those provided by a/the driver (but instead of a driver, they will launch Gazebo). Give them the same name to make them recognisable. --- ur_gazebo/launch/{ur10.launch => ur10_bringup.launch} | 0 ur_gazebo/launch/{ur10e.launch => ur10e_bringup.launch} | 0 ur_gazebo/launch/{ur16e.launch => ur16e_bringup.launch} | 0 ur_gazebo/launch/{ur3.launch => ur3_bringup.launch} | 0 ur_gazebo/launch/{ur3e.launch => ur3e_bringup.launch} | 0 ur_gazebo/launch/{ur5.launch => ur5_bringup.launch} | 0 ur_gazebo/launch/{ur5e.launch => ur5e_bringup.launch} | 0 7 files changed, 0 insertions(+), 0 deletions(-) rename ur_gazebo/launch/{ur10.launch => ur10_bringup.launch} (100%) rename ur_gazebo/launch/{ur10e.launch => ur10e_bringup.launch} (100%) rename ur_gazebo/launch/{ur16e.launch => ur16e_bringup.launch} (100%) rename ur_gazebo/launch/{ur3.launch => ur3_bringup.launch} (100%) rename ur_gazebo/launch/{ur3e.launch => ur3e_bringup.launch} (100%) rename ur_gazebo/launch/{ur5.launch => ur5_bringup.launch} (100%) rename ur_gazebo/launch/{ur5e.launch => ur5e_bringup.launch} (100%) diff --git a/ur_gazebo/launch/ur10.launch b/ur_gazebo/launch/ur10_bringup.launch similarity index 100% rename from ur_gazebo/launch/ur10.launch rename to ur_gazebo/launch/ur10_bringup.launch diff --git a/ur_gazebo/launch/ur10e.launch b/ur_gazebo/launch/ur10e_bringup.launch similarity index 100% rename from ur_gazebo/launch/ur10e.launch rename to ur_gazebo/launch/ur10e_bringup.launch diff --git a/ur_gazebo/launch/ur16e.launch b/ur_gazebo/launch/ur16e_bringup.launch similarity index 100% rename from ur_gazebo/launch/ur16e.launch rename to ur_gazebo/launch/ur16e_bringup.launch diff --git a/ur_gazebo/launch/ur3.launch b/ur_gazebo/launch/ur3_bringup.launch similarity index 100% rename from ur_gazebo/launch/ur3.launch rename to ur_gazebo/launch/ur3_bringup.launch diff --git a/ur_gazebo/launch/ur3e.launch b/ur_gazebo/launch/ur3e_bringup.launch similarity index 100% rename from ur_gazebo/launch/ur3e.launch rename to ur_gazebo/launch/ur3e_bringup.launch diff --git a/ur_gazebo/launch/ur5.launch b/ur_gazebo/launch/ur5_bringup.launch similarity index 100% rename from ur_gazebo/launch/ur5.launch rename to ur_gazebo/launch/ur5_bringup.launch diff --git a/ur_gazebo/launch/ur5e.launch b/ur_gazebo/launch/ur5e_bringup.launch similarity index 100% rename from ur_gazebo/launch/ur5e.launch rename to ur_gazebo/launch/ur5e_bringup.launch From eb7b1f3a60d3dcdddc6da0539c4586a847b37043 Mon Sep 17 00:00:00 2001 From: gavanderhoorn Date: Wed, 24 Jun 2020 13:56:55 +0200 Subject: [PATCH 11/38] gazebo: don't default to UR3 parameter files. Top-level xacro should not default to any robot. --- ur_gazebo/urdf/ur.xacro | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) diff --git a/ur_gazebo/urdf/ur.xacro b/ur_gazebo/urdf/ur.xacro index 0eceaec11..e27220afa 100644 --- a/ur_gazebo/urdf/ur.xacro +++ b/ur_gazebo/urdf/ur.xacro @@ -30,10 +30,10 @@ - - - - + + + + + + + + + + + + + - - - - - - - - - - - - - - - - - + diff --git a/ur_gazebo/launch/ur10e_bringup.launch b/ur_gazebo/launch/ur10e_bringup.launch index 4fa2a9d5c..fe2618101 100644 --- a/ur_gazebo/launch/ur10e_bringup.launch +++ b/ur_gazebo/launch/ur10e_bringup.launch @@ -1,26 +1,20 @@ - + + + + + + + + + + + - - - - - - - - - - - - - - - - - + diff --git a/ur_gazebo/launch/ur16e_bringup.launch b/ur_gazebo/launch/ur16e_bringup.launch index d8da8b358..5cfcb3a37 100644 --- a/ur_gazebo/launch/ur16e_bringup.launch +++ b/ur_gazebo/launch/ur16e_bringup.launch @@ -1,26 +1,20 @@ - + + + + + + + + + + + - - - - - - - - - - - - - - - - - + diff --git a/ur_gazebo/launch/ur3_bringup.launch b/ur_gazebo/launch/ur3_bringup.launch index 5cd48afec..74b14bbd1 100644 --- a/ur_gazebo/launch/ur3_bringup.launch +++ b/ur_gazebo/launch/ur3_bringup.launch @@ -1,26 +1,20 @@ - + + + + + + + + + + + - - - - - - - - - - - - - - - - - + diff --git a/ur_gazebo/launch/ur3e_bringup.launch b/ur_gazebo/launch/ur3e_bringup.launch index 7acbc1e7d..d39e6ae1e 100644 --- a/ur_gazebo/launch/ur3e_bringup.launch +++ b/ur_gazebo/launch/ur3e_bringup.launch @@ -1,26 +1,20 @@ - + + + + + + + + + + + - - - - - - - - - - - - - - - - - + diff --git a/ur_gazebo/launch/ur5_bringup.launch b/ur_gazebo/launch/ur5_bringup.launch index 7fc1f349a..bc15f8478 100644 --- a/ur_gazebo/launch/ur5_bringup.launch +++ b/ur_gazebo/launch/ur5_bringup.launch @@ -1,26 +1,20 @@ - + + + + + + + + + + + - - - - - - - - - - - - - - - - - + diff --git a/ur_gazebo/launch/ur5e_bringup.launch b/ur_gazebo/launch/ur5e_bringup.launch index 88c0d766c..4499a25fb 100644 --- a/ur_gazebo/launch/ur5e_bringup.launch +++ b/ur_gazebo/launch/ur5e_bringup.launch @@ -1,26 +1,20 @@ - + + + + + + + + + + + - - - - - - - - - - - - - - - - - + diff --git a/ur_gazebo/launch/ur_common.launch b/ur_gazebo/launch/ur_common.launch index 8ab45e79f..5a1767769 100644 --- a/ur_gazebo/launch/ur_common.launch +++ b/ur_gazebo/launch/ur_common.launch @@ -1,55 +1,44 @@ - - - - - - - - + + + + + + + + + + + - - - - - - - - - - - - - + + + - - + + + + - + - - - - - - - + + + + + + + + diff --git a/ur_gazebo/launch/ur_control.launch b/ur_gazebo/launch/ur_control.launch new file mode 100644 index 000000000..797c31e77 --- /dev/null +++ b/ur_gazebo/launch/ur_control.launch @@ -0,0 +1,53 @@ + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + From 53c1247775d8147141582c7ba7cf2dabf3c372eb Mon Sep 17 00:00:00 2001 From: gavanderhoorn Date: Wed, 24 Jun 2020 14:10:44 +0200 Subject: [PATCH 14/38] gazebo: clarify 'world' frame utility in top-level xacro. --- ur_gazebo/urdf/ur.xacro | 8 +++++++- 1 file changed, 7 insertions(+), 1 deletion(-) diff --git a/ur_gazebo/urdf/ur.xacro b/ur_gazebo/urdf/ur.xacro index e27220afa..6a6b6d9c5 100644 --- a/ur_gazebo/urdf/ur.xacro +++ b/ur_gazebo/urdf/ur.xacro @@ -56,7 +56,13 @@ safety_pos_margin="$(arg safety_pos_margin)" safety_k_position="$(arg safety_k_position)"/> - + From 1752d1bfa8b1b2ed0ecc9e7b698335780738dfff Mon Sep 17 00:00:00 2001 From: gavanderhoorn Date: Wed, 24 Jun 2020 14:12:19 +0200 Subject: [PATCH 15/38] gazebo: rename controller config files. Align with names in ur_robot_driver. --- .../arm_controller_ur10.yaml => config/ur10_controllers.yaml} | 0 .../arm_controller_ur16.yaml => config/ur16e_controllers.yaml} | 0 .../arm_controller_ur3.yaml => config/ur3_controllers.yaml} | 0 .../arm_controller_ur5.yaml => config/ur5_controllers.yaml} | 0 4 files changed, 0 insertions(+), 0 deletions(-) rename ur_gazebo/{controller/arm_controller_ur10.yaml => config/ur10_controllers.yaml} (100%) rename ur_gazebo/{controller/arm_controller_ur16.yaml => config/ur16e_controllers.yaml} (100%) rename ur_gazebo/{controller/arm_controller_ur3.yaml => config/ur3_controllers.yaml} (100%) rename ur_gazebo/{controller/arm_controller_ur5.yaml => config/ur5_controllers.yaml} (100%) diff --git a/ur_gazebo/controller/arm_controller_ur10.yaml b/ur_gazebo/config/ur10_controllers.yaml similarity index 100% rename from ur_gazebo/controller/arm_controller_ur10.yaml rename to ur_gazebo/config/ur10_controllers.yaml diff --git a/ur_gazebo/controller/arm_controller_ur16.yaml b/ur_gazebo/config/ur16e_controllers.yaml similarity index 100% rename from ur_gazebo/controller/arm_controller_ur16.yaml rename to ur_gazebo/config/ur16e_controllers.yaml diff --git a/ur_gazebo/controller/arm_controller_ur3.yaml b/ur_gazebo/config/ur3_controllers.yaml similarity index 100% rename from ur_gazebo/controller/arm_controller_ur3.yaml rename to ur_gazebo/config/ur3_controllers.yaml diff --git a/ur_gazebo/controller/arm_controller_ur5.yaml b/ur_gazebo/config/ur5_controllers.yaml similarity index 100% rename from ur_gazebo/controller/arm_controller_ur5.yaml rename to ur_gazebo/config/ur5_controllers.yaml From 004244cb30b91031940cdcf884b8bdb25c621063 Mon Sep 17 00:00:00 2001 From: gavanderhoorn Date: Wed, 24 Jun 2020 14:24:35 +0200 Subject: [PATCH 16/38] gazebo: use new controller config files. --- ur_gazebo/launch/ur10_bringup.launch | 2 +- ur_gazebo/launch/ur10e_bringup.launch | 2 +- ur_gazebo/launch/ur16e_bringup.launch | 2 +- ur_gazebo/launch/ur3_bringup.launch | 2 +- ur_gazebo/launch/ur3e_bringup.launch | 2 +- ur_gazebo/launch/ur5_bringup.launch | 2 +- ur_gazebo/launch/ur5e_bringup.launch | 2 +- 7 files changed, 7 insertions(+), 7 deletions(-) diff --git a/ur_gazebo/launch/ur10_bringup.launch b/ur_gazebo/launch/ur10_bringup.launch index 4b261db61..ae97b96f9 100644 --- a/ur_gazebo/launch/ur10_bringup.launch +++ b/ur_gazebo/launch/ur10_bringup.launch @@ -6,7 +6,7 @@ - + diff --git a/ur_gazebo/launch/ur10e_bringup.launch b/ur_gazebo/launch/ur10e_bringup.launch index fe2618101..aee963a32 100644 --- a/ur_gazebo/launch/ur10e_bringup.launch +++ b/ur_gazebo/launch/ur10e_bringup.launch @@ -6,7 +6,7 @@ - + diff --git a/ur_gazebo/launch/ur16e_bringup.launch b/ur_gazebo/launch/ur16e_bringup.launch index 5cfcb3a37..4496136c5 100644 --- a/ur_gazebo/launch/ur16e_bringup.launch +++ b/ur_gazebo/launch/ur16e_bringup.launch @@ -6,7 +6,7 @@ - + diff --git a/ur_gazebo/launch/ur3_bringup.launch b/ur_gazebo/launch/ur3_bringup.launch index 74b14bbd1..00d19e7b5 100644 --- a/ur_gazebo/launch/ur3_bringup.launch +++ b/ur_gazebo/launch/ur3_bringup.launch @@ -6,7 +6,7 @@ - + diff --git a/ur_gazebo/launch/ur3e_bringup.launch b/ur_gazebo/launch/ur3e_bringup.launch index d39e6ae1e..7ec0fe48c 100644 --- a/ur_gazebo/launch/ur3e_bringup.launch +++ b/ur_gazebo/launch/ur3e_bringup.launch @@ -6,7 +6,7 @@ - + diff --git a/ur_gazebo/launch/ur5_bringup.launch b/ur_gazebo/launch/ur5_bringup.launch index bc15f8478..cfa06428e 100644 --- a/ur_gazebo/launch/ur5_bringup.launch +++ b/ur_gazebo/launch/ur5_bringup.launch @@ -6,7 +6,7 @@ - + diff --git a/ur_gazebo/launch/ur5e_bringup.launch b/ur_gazebo/launch/ur5e_bringup.launch index 4499a25fb..8e4b6d591 100644 --- a/ur_gazebo/launch/ur5e_bringup.launch +++ b/ur_gazebo/launch/ur5e_bringup.launch @@ -6,7 +6,7 @@ - + From 578730b24f84c6f5f76614a3c9d30b11254e0a8a Mon Sep 17 00:00:00 2001 From: gavanderhoorn Date: Wed, 24 Jun 2020 14:29:37 +0200 Subject: [PATCH 17/38] gazebo: set controller pub rates to be like real hw. As we don't have separate controller config files for e-Series robots, they will still 'only' publish at 125 Hz. We might change this in the future. --- ur_gazebo/config/ur10_controllers.yaml | 4 ++-- ur_gazebo/config/ur16e_controllers.yaml | 4 ++-- ur_gazebo/config/ur3_controllers.yaml | 4 ++-- ur_gazebo/config/ur5_controllers.yaml | 4 ++-- 4 files changed, 8 insertions(+), 8 deletions(-) diff --git a/ur_gazebo/config/ur10_controllers.yaml b/ur_gazebo/config/ur10_controllers.yaml index 3525e4e55..62653afa8 100644 --- a/ur_gazebo/config/ur10_controllers.yaml +++ b/ur_gazebo/config/ur10_controllers.yaml @@ -1,6 +1,6 @@ joint_state_controller: type: joint_state_controller/JointStateController - publish_rate: 50 + publish_rate: &loop_hz 125 pos_traj_controller: type: position_controllers/JointTrajectoryController @@ -21,7 +21,7 @@ pos_traj_controller: wrist_2_joint: {trajectory: 0.1, goal: 0.1} wrist_3_joint: {trajectory: 0.1, goal: 0.1} stop_trajectory_duration: 0.5 - state_publish_rate: 25 + state_publish_rate: *loop_hz action_monitor_rate: 10 joint_group_pos_controller: diff --git a/ur_gazebo/config/ur16e_controllers.yaml b/ur_gazebo/config/ur16e_controllers.yaml index 3525e4e55..071a4913a 100644 --- a/ur_gazebo/config/ur16e_controllers.yaml +++ b/ur_gazebo/config/ur16e_controllers.yaml @@ -1,6 +1,6 @@ joint_state_controller: type: joint_state_controller/JointStateController - publish_rate: 50 + publish_rate: &loop_hz 500 pos_traj_controller: type: position_controllers/JointTrajectoryController @@ -21,7 +21,7 @@ pos_traj_controller: wrist_2_joint: {trajectory: 0.1, goal: 0.1} wrist_3_joint: {trajectory: 0.1, goal: 0.1} stop_trajectory_duration: 0.5 - state_publish_rate: 25 + state_publish_rate: *loop_hz action_monitor_rate: 10 joint_group_pos_controller: diff --git a/ur_gazebo/config/ur3_controllers.yaml b/ur_gazebo/config/ur3_controllers.yaml index 3525e4e55..62653afa8 100644 --- a/ur_gazebo/config/ur3_controllers.yaml +++ b/ur_gazebo/config/ur3_controllers.yaml @@ -1,6 +1,6 @@ joint_state_controller: type: joint_state_controller/JointStateController - publish_rate: 50 + publish_rate: &loop_hz 125 pos_traj_controller: type: position_controllers/JointTrajectoryController @@ -21,7 +21,7 @@ pos_traj_controller: wrist_2_joint: {trajectory: 0.1, goal: 0.1} wrist_3_joint: {trajectory: 0.1, goal: 0.1} stop_trajectory_duration: 0.5 - state_publish_rate: 25 + state_publish_rate: *loop_hz action_monitor_rate: 10 joint_group_pos_controller: diff --git a/ur_gazebo/config/ur5_controllers.yaml b/ur_gazebo/config/ur5_controllers.yaml index 3525e4e55..62653afa8 100644 --- a/ur_gazebo/config/ur5_controllers.yaml +++ b/ur_gazebo/config/ur5_controllers.yaml @@ -1,6 +1,6 @@ joint_state_controller: type: joint_state_controller/JointStateController - publish_rate: 50 + publish_rate: &loop_hz 125 pos_traj_controller: type: position_controllers/JointTrajectoryController @@ -21,7 +21,7 @@ pos_traj_controller: wrist_2_joint: {trajectory: 0.1, goal: 0.1} wrist_3_joint: {trajectory: 0.1, goal: 0.1} stop_trajectory_duration: 0.5 - state_publish_rate: 25 + state_publish_rate: *loop_hz action_monitor_rate: 10 joint_group_pos_controller: From 8acfb54cf451c5b59bd08467a09b15203afd1506 Mon Sep 17 00:00:00 2001 From: gavanderhoorn Date: Wed, 24 Jun 2020 17:05:14 +0200 Subject: [PATCH 18/38] gazebo: fix install rule. --- ur_gazebo/CMakeLists.txt | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/ur_gazebo/CMakeLists.txt b/ur_gazebo/CMakeLists.txt index b38df3dc9..bde42804d 100644 --- a/ur_gazebo/CMakeLists.txt +++ b/ur_gazebo/CMakeLists.txt @@ -11,5 +11,5 @@ if (CATKIN_ENABLE_TESTING) roslaunch_add_file_check(tests/roslaunch_test.xml) endif() -install(DIRECTORY launch controller urdf +install(DIRECTORY config launch urdf DESTINATION ${CATKIN_PACKAGE_SHARE_DESTINATION}) From 5726c14b10c500e0024723eee97318d08b856041 Mon Sep 17 00:00:00 2001 From: gavanderhoorn Date: Wed, 24 Jun 2020 18:13:40 +0200 Subject: [PATCH 19/38] gazebo: test variants separately and also test bringup. --- ur_gazebo/CMakeLists.txt | 8 ++++++- ur_gazebo/tests/roslaunch_test.xml | 28 ------------------------ ur_gazebo/tests/roslaunch_test_ur10.xml | 10 +++++++++ ur_gazebo/tests/roslaunch_test_ur10e.xml | 10 +++++++++ ur_gazebo/tests/roslaunch_test_ur16e.xml | 10 +++++++++ ur_gazebo/tests/roslaunch_test_ur3.xml | 10 +++++++++ ur_gazebo/tests/roslaunch_test_ur3e.xml | 10 +++++++++ ur_gazebo/tests/roslaunch_test_ur5.xml | 10 +++++++++ ur_gazebo/tests/roslaunch_test_ur5e.xml | 10 +++++++++ 9 files changed, 77 insertions(+), 29 deletions(-) delete mode 100644 ur_gazebo/tests/roslaunch_test.xml create mode 100644 ur_gazebo/tests/roslaunch_test_ur10.xml create mode 100644 ur_gazebo/tests/roslaunch_test_ur10e.xml create mode 100644 ur_gazebo/tests/roslaunch_test_ur16e.xml create mode 100644 ur_gazebo/tests/roslaunch_test_ur3.xml create mode 100644 ur_gazebo/tests/roslaunch_test_ur3e.xml create mode 100644 ur_gazebo/tests/roslaunch_test_ur5.xml create mode 100644 ur_gazebo/tests/roslaunch_test_ur5e.xml diff --git a/ur_gazebo/CMakeLists.txt b/ur_gazebo/CMakeLists.txt index bde42804d..9a077b51e 100644 --- a/ur_gazebo/CMakeLists.txt +++ b/ur_gazebo/CMakeLists.txt @@ -8,7 +8,13 @@ catkin_package() if (CATKIN_ENABLE_TESTING) find_package(roslaunch REQUIRED) - roslaunch_add_file_check(tests/roslaunch_test.xml) + roslaunch_add_file_check(tests/roslaunch_test_ur3.xml) + roslaunch_add_file_check(tests/roslaunch_test_ur3e.xml) + roslaunch_add_file_check(tests/roslaunch_test_ur5.xml) + roslaunch_add_file_check(tests/roslaunch_test_ur5e.xml) + roslaunch_add_file_check(tests/roslaunch_test_ur10.xml) + roslaunch_add_file_check(tests/roslaunch_test_ur10e.xml) + roslaunch_add_file_check(tests/roslaunch_test_ur16e.xml) endif() install(DIRECTORY config launch urdf diff --git a/ur_gazebo/tests/roslaunch_test.xml b/ur_gazebo/tests/roslaunch_test.xml deleted file mode 100644 index 4f28cb647..000000000 --- a/ur_gazebo/tests/roslaunch_test.xml +++ /dev/null @@ -1,28 +0,0 @@ - - - - - - - - - - - - - - - - - - - - - - - - - - - - \ No newline at end of file diff --git a/ur_gazebo/tests/roslaunch_test_ur10.xml b/ur_gazebo/tests/roslaunch_test_ur10.xml new file mode 100644 index 000000000..13b5d8306 --- /dev/null +++ b/ur_gazebo/tests/roslaunch_test_ur10.xml @@ -0,0 +1,10 @@ + + + + + + + + + + diff --git a/ur_gazebo/tests/roslaunch_test_ur10e.xml b/ur_gazebo/tests/roslaunch_test_ur10e.xml new file mode 100644 index 000000000..8b009e882 --- /dev/null +++ b/ur_gazebo/tests/roslaunch_test_ur10e.xml @@ -0,0 +1,10 @@ + + + + + + + + + + diff --git a/ur_gazebo/tests/roslaunch_test_ur16e.xml b/ur_gazebo/tests/roslaunch_test_ur16e.xml new file mode 100644 index 000000000..d24fd64e6 --- /dev/null +++ b/ur_gazebo/tests/roslaunch_test_ur16e.xml @@ -0,0 +1,10 @@ + + + + + + + + + + diff --git a/ur_gazebo/tests/roslaunch_test_ur3.xml b/ur_gazebo/tests/roslaunch_test_ur3.xml new file mode 100644 index 000000000..7f4558f78 --- /dev/null +++ b/ur_gazebo/tests/roslaunch_test_ur3.xml @@ -0,0 +1,10 @@ + + + + + + + + + + diff --git a/ur_gazebo/tests/roslaunch_test_ur3e.xml b/ur_gazebo/tests/roslaunch_test_ur3e.xml new file mode 100644 index 000000000..b5232ff68 --- /dev/null +++ b/ur_gazebo/tests/roslaunch_test_ur3e.xml @@ -0,0 +1,10 @@ + + + + + + + + + + diff --git a/ur_gazebo/tests/roslaunch_test_ur5.xml b/ur_gazebo/tests/roslaunch_test_ur5.xml new file mode 100644 index 000000000..89df2cb38 --- /dev/null +++ b/ur_gazebo/tests/roslaunch_test_ur5.xml @@ -0,0 +1,10 @@ + + + + + + + + + + diff --git a/ur_gazebo/tests/roslaunch_test_ur5e.xml b/ur_gazebo/tests/roslaunch_test_ur5e.xml new file mode 100644 index 000000000..67877fbd6 --- /dev/null +++ b/ur_gazebo/tests/roslaunch_test_ur5e.xml @@ -0,0 +1,10 @@ + + + + + + + + + + From 93ee95ab84f0170c1aa801f1e34c2a57f3e7ab91 Mon Sep 17 00:00:00 2001 From: gavanderhoorn Date: Thu, 25 Jun 2020 13:13:21 +0200 Subject: [PATCH 20/38] gazebo: load URDF in bringup launch files. The main 'driver' launch file should not load the URDF, as it's not the task of the driver. This also removes one level of argument-forwarding (namely: the arguments for the xacro macro). Finally, it provides a nicer template for users to base their own launch files on, as they 'only' have to deal with these top-level bringup launch files. --- ur_gazebo/launch/ur10_bringup.launch | 17 +++++++++++++++-- ur_gazebo/launch/ur10e_bringup.launch | 17 +++++++++++++++-- ur_gazebo/launch/ur16e_bringup.launch | 17 +++++++++++++++-- ur_gazebo/launch/ur3_bringup.launch | 17 +++++++++++++++-- ur_gazebo/launch/ur3e_bringup.launch | 17 +++++++++++++++-- ur_gazebo/launch/ur5_bringup.launch | 17 +++++++++++++++-- ur_gazebo/launch/ur5e_bringup.launch | 17 +++++++++++++++-- ur_gazebo/launch/ur_common.launch | 13 ------------- 8 files changed, 105 insertions(+), 27 deletions(-) diff --git a/ur_gazebo/launch/ur10_bringup.launch b/ur_gazebo/launch/ur10_bringup.launch index ae97b96f9..f1a02446a 100644 --- a/ur_gazebo/launch/ur10_bringup.launch +++ b/ur_gazebo/launch/ur10_bringup.launch @@ -7,14 +7,27 @@ - - + + + + + + + + + + + + + + + diff --git a/ur_gazebo/launch/ur10e_bringup.launch b/ur_gazebo/launch/ur10e_bringup.launch index aee963a32..f27e8c958 100644 --- a/ur_gazebo/launch/ur10e_bringup.launch +++ b/ur_gazebo/launch/ur10e_bringup.launch @@ -7,14 +7,27 @@ - - + + + + + + + + + + + + + + + diff --git a/ur_gazebo/launch/ur16e_bringup.launch b/ur_gazebo/launch/ur16e_bringup.launch index 4496136c5..f9b73fa87 100644 --- a/ur_gazebo/launch/ur16e_bringup.launch +++ b/ur_gazebo/launch/ur16e_bringup.launch @@ -7,14 +7,27 @@ - - + + + + + + + + + + + + + + + diff --git a/ur_gazebo/launch/ur3_bringup.launch b/ur_gazebo/launch/ur3_bringup.launch index 00d19e7b5..9f867ca3d 100644 --- a/ur_gazebo/launch/ur3_bringup.launch +++ b/ur_gazebo/launch/ur3_bringup.launch @@ -7,14 +7,27 @@ - - + + + + + + + + + + + + + + + diff --git a/ur_gazebo/launch/ur3e_bringup.launch b/ur_gazebo/launch/ur3e_bringup.launch index 7ec0fe48c..cc1593f04 100644 --- a/ur_gazebo/launch/ur3e_bringup.launch +++ b/ur_gazebo/launch/ur3e_bringup.launch @@ -7,14 +7,27 @@ - - + + + + + + + + + + + + + + + diff --git a/ur_gazebo/launch/ur5_bringup.launch b/ur_gazebo/launch/ur5_bringup.launch index cfa06428e..b69ab2d9a 100644 --- a/ur_gazebo/launch/ur5_bringup.launch +++ b/ur_gazebo/launch/ur5_bringup.launch @@ -7,14 +7,27 @@ - - + + + + + + + + + + + + + + + diff --git a/ur_gazebo/launch/ur5e_bringup.launch b/ur_gazebo/launch/ur5e_bringup.launch index 8e4b6d591..c8e792532 100644 --- a/ur_gazebo/launch/ur5e_bringup.launch +++ b/ur_gazebo/launch/ur5e_bringup.launch @@ -7,14 +7,27 @@ - - + + + + + + + + + + + + + + + diff --git a/ur_gazebo/launch/ur_common.launch b/ur_gazebo/launch/ur_common.launch index 5a1767769..06c13cba5 100644 --- a/ur_gazebo/launch/ur_common.launch +++ b/ur_gazebo/launch/ur_common.launch @@ -5,11 +5,9 @@ --> - - @@ -22,17 +20,6 @@ - - - - - - - - - - - From 91cf163ba6fae23a099f35aadd5b6371a2f9ae16 Mon Sep 17 00:00:00 2001 From: gavanderhoorn Date: Thu, 25 Jun 2020 13:14:02 +0200 Subject: [PATCH 21/38] gazebo: fix comments in bringup launch files. --- ur_gazebo/launch/load_ur.launch | 5 +++-- ur_gazebo/launch/load_ur10.launch | 7 ++++--- ur_gazebo/launch/load_ur10e.launch | 7 ++++--- ur_gazebo/launch/load_ur16e.launch | 7 ++++--- ur_gazebo/launch/load_ur3.launch | 7 ++++--- ur_gazebo/launch/load_ur3e.launch | 7 ++++--- ur_gazebo/launch/load_ur5.launch | 7 ++++--- ur_gazebo/launch/load_ur5e.launch | 7 ++++--- ur_gazebo/launch/ur10_bringup.launch | 4 ++-- ur_gazebo/launch/ur10e_bringup.launch | 4 ++-- ur_gazebo/launch/ur16e_bringup.launch | 4 ++-- ur_gazebo/launch/ur3_bringup.launch | 4 ++-- ur_gazebo/launch/ur3e_bringup.launch | 4 ++-- ur_gazebo/launch/ur5_bringup.launch | 4 ++-- ur_gazebo/launch/ur5e_bringup.launch | 4 ++-- 15 files changed, 45 insertions(+), 37 deletions(-) diff --git a/ur_gazebo/launch/load_ur.launch b/ur_gazebo/launch/load_ur.launch index 127c5a17a..a5509a2f9 100644 --- a/ur_gazebo/launch/load_ur.launch +++ b/ur_gazebo/launch/load_ur.launch @@ -1,11 +1,12 @@ - + - + + diff --git a/ur_gazebo/launch/load_ur10.launch b/ur_gazebo/launch/load_ur10.launch index 13cdbcd03..ec759dcc4 100644 --- a/ur_gazebo/launch/load_ur10.launch +++ b/ur_gazebo/launch/load_ur10.launch @@ -1,16 +1,17 @@ - + - + + - + diff --git a/ur_gazebo/launch/load_ur10e.launch b/ur_gazebo/launch/load_ur10e.launch index fdf314a03..dcb71ea39 100644 --- a/ur_gazebo/launch/load_ur10e.launch +++ b/ur_gazebo/launch/load_ur10e.launch @@ -1,16 +1,17 @@ - + - + + - + diff --git a/ur_gazebo/launch/load_ur16e.launch b/ur_gazebo/launch/load_ur16e.launch index 31fbacc50..a6c53c8bd 100644 --- a/ur_gazebo/launch/load_ur16e.launch +++ b/ur_gazebo/launch/load_ur16e.launch @@ -1,16 +1,17 @@ - + - + + - + diff --git a/ur_gazebo/launch/load_ur3.launch b/ur_gazebo/launch/load_ur3.launch index bcab95b43..2efe2b66b 100644 --- a/ur_gazebo/launch/load_ur3.launch +++ b/ur_gazebo/launch/load_ur3.launch @@ -1,16 +1,17 @@ - + - + + - + diff --git a/ur_gazebo/launch/load_ur3e.launch b/ur_gazebo/launch/load_ur3e.launch index e03e375a5..c50470edc 100644 --- a/ur_gazebo/launch/load_ur3e.launch +++ b/ur_gazebo/launch/load_ur3e.launch @@ -1,16 +1,17 @@ - + - + + - + diff --git a/ur_gazebo/launch/load_ur5.launch b/ur_gazebo/launch/load_ur5.launch index c162bcba1..bfb60aaac 100644 --- a/ur_gazebo/launch/load_ur5.launch +++ b/ur_gazebo/launch/load_ur5.launch @@ -1,16 +1,17 @@ - + - + + - + diff --git a/ur_gazebo/launch/load_ur5e.launch b/ur_gazebo/launch/load_ur5e.launch index 83c011a94..0f4473d65 100644 --- a/ur_gazebo/launch/load_ur5e.launch +++ b/ur_gazebo/launch/load_ur5e.launch @@ -1,16 +1,17 @@ - + - + + - + diff --git a/ur_gazebo/launch/ur10_bringup.launch b/ur_gazebo/launch/ur10_bringup.launch index f1a02446a..3ef2b8159 100644 --- a/ur_gazebo/launch/ur10_bringup.launch +++ b/ur_gazebo/launch/ur10_bringup.launch @@ -1,6 +1,6 @@ - + @@ -9,7 +9,7 @@ - + diff --git a/ur_gazebo/launch/ur10e_bringup.launch b/ur_gazebo/launch/ur10e_bringup.launch index f27e8c958..358222dea 100644 --- a/ur_gazebo/launch/ur10e_bringup.launch +++ b/ur_gazebo/launch/ur10e_bringup.launch @@ -1,6 +1,6 @@ - + @@ -9,7 +9,7 @@ - + diff --git a/ur_gazebo/launch/ur16e_bringup.launch b/ur_gazebo/launch/ur16e_bringup.launch index f9b73fa87..d2863c928 100644 --- a/ur_gazebo/launch/ur16e_bringup.launch +++ b/ur_gazebo/launch/ur16e_bringup.launch @@ -1,6 +1,6 @@ - + @@ -9,7 +9,7 @@ - + diff --git a/ur_gazebo/launch/ur3_bringup.launch b/ur_gazebo/launch/ur3_bringup.launch index 9f867ca3d..2fce3c24c 100644 --- a/ur_gazebo/launch/ur3_bringup.launch +++ b/ur_gazebo/launch/ur3_bringup.launch @@ -1,6 +1,6 @@ - + @@ -9,7 +9,7 @@ - + diff --git a/ur_gazebo/launch/ur3e_bringup.launch b/ur_gazebo/launch/ur3e_bringup.launch index cc1593f04..6c9d5bc93 100644 --- a/ur_gazebo/launch/ur3e_bringup.launch +++ b/ur_gazebo/launch/ur3e_bringup.launch @@ -1,6 +1,6 @@ - + @@ -9,7 +9,7 @@ - + diff --git a/ur_gazebo/launch/ur5_bringup.launch b/ur_gazebo/launch/ur5_bringup.launch index b69ab2d9a..24f0e6a10 100644 --- a/ur_gazebo/launch/ur5_bringup.launch +++ b/ur_gazebo/launch/ur5_bringup.launch @@ -1,6 +1,6 @@ - + @@ -9,7 +9,7 @@ - + diff --git a/ur_gazebo/launch/ur5e_bringup.launch b/ur_gazebo/launch/ur5e_bringup.launch index c8e792532..ada7cbbd5 100644 --- a/ur_gazebo/launch/ur5e_bringup.launch +++ b/ur_gazebo/launch/ur5e_bringup.launch @@ -1,6 +1,6 @@ - + @@ -9,7 +9,7 @@ - + From 482f4c854633846d70f4afd0ed12af322efe233f Mon Sep 17 00:00:00 2001 From: gavanderhoorn Date: Thu, 25 Jun 2020 13:14:23 +0200 Subject: [PATCH 22/38] gazebo: there is no 'vel_based_pos_traj_controller', so remove. --- ur_gazebo/launch/ur_common.launch | 1 - 1 file changed, 1 deletion(-) diff --git a/ur_gazebo/launch/ur_common.launch b/ur_gazebo/launch/ur_common.launch index 06c13cba5..580f7e4d4 100644 --- a/ur_gazebo/launch/ur_common.launch +++ b/ur_gazebo/launch/ur_common.launch @@ -5,7 +5,6 @@ --> - From 5255796d12651a35ef9d7ad30d2b9d4bd2f6d72d Mon Sep 17 00:00:00 2001 From: gavanderhoorn Date: Thu, 25 Jun 2020 13:17:43 +0200 Subject: [PATCH 23/38] gazebo: hide non-entry-point launch files. These launch files are not meant to be started directly, so 'hide' them roslaunch's auto-complete. --- ur_gazebo/launch/{ur_common.launch => inc/ur_common.launch.xml} | 0 ur_gazebo/launch/{ur_control.launch => inc/ur_control.launch.xml} | 0 2 files changed, 0 insertions(+), 0 deletions(-) rename ur_gazebo/launch/{ur_common.launch => inc/ur_common.launch.xml} (100%) rename ur_gazebo/launch/{ur_control.launch => inc/ur_control.launch.xml} (100%) diff --git a/ur_gazebo/launch/ur_common.launch b/ur_gazebo/launch/inc/ur_common.launch.xml similarity index 100% rename from ur_gazebo/launch/ur_common.launch rename to ur_gazebo/launch/inc/ur_common.launch.xml diff --git a/ur_gazebo/launch/ur_control.launch b/ur_gazebo/launch/inc/ur_control.launch.xml similarity index 100% rename from ur_gazebo/launch/ur_control.launch rename to ur_gazebo/launch/inc/ur_control.launch.xml From ab94498a65453c8f9fd8dc4fa8c8585c7551f55b Mon Sep 17 00:00:00 2001 From: gavanderhoorn Date: Thu, 25 Jun 2020 13:22:07 +0200 Subject: [PATCH 24/38] gazebo: update paths to included launch files. Use 'dirname' substitution arg to express relative include. --- ur_gazebo/launch/inc/ur_common.launch.xml | 2 +- ur_gazebo/launch/ur10_bringup.launch | 2 +- ur_gazebo/launch/ur10e_bringup.launch | 2 +- ur_gazebo/launch/ur16e_bringup.launch | 2 +- ur_gazebo/launch/ur3_bringup.launch | 2 +- ur_gazebo/launch/ur3e_bringup.launch | 2 +- ur_gazebo/launch/ur5_bringup.launch | 2 +- ur_gazebo/launch/ur5e_bringup.launch | 2 +- 8 files changed, 8 insertions(+), 8 deletions(-) diff --git a/ur_gazebo/launch/inc/ur_common.launch.xml b/ur_gazebo/launch/inc/ur_common.launch.xml index 580f7e4d4..11a304cce 100644 --- a/ur_gazebo/launch/inc/ur_common.launch.xml +++ b/ur_gazebo/launch/inc/ur_common.launch.xml @@ -20,7 +20,7 @@ - + diff --git a/ur_gazebo/launch/ur10_bringup.launch b/ur_gazebo/launch/ur10_bringup.launch index 3ef2b8159..2325d4735 100644 --- a/ur_gazebo/launch/ur10_bringup.launch +++ b/ur_gazebo/launch/ur10_bringup.launch @@ -29,5 +29,5 @@ - + diff --git a/ur_gazebo/launch/ur10e_bringup.launch b/ur_gazebo/launch/ur10e_bringup.launch index 358222dea..d8487a9c1 100644 --- a/ur_gazebo/launch/ur10e_bringup.launch +++ b/ur_gazebo/launch/ur10e_bringup.launch @@ -29,5 +29,5 @@ - + diff --git a/ur_gazebo/launch/ur16e_bringup.launch b/ur_gazebo/launch/ur16e_bringup.launch index d2863c928..76bf3c869 100644 --- a/ur_gazebo/launch/ur16e_bringup.launch +++ b/ur_gazebo/launch/ur16e_bringup.launch @@ -29,5 +29,5 @@ - + diff --git a/ur_gazebo/launch/ur3_bringup.launch b/ur_gazebo/launch/ur3_bringup.launch index 2fce3c24c..d3bf50efb 100644 --- a/ur_gazebo/launch/ur3_bringup.launch +++ b/ur_gazebo/launch/ur3_bringup.launch @@ -29,5 +29,5 @@ - + diff --git a/ur_gazebo/launch/ur3e_bringup.launch b/ur_gazebo/launch/ur3e_bringup.launch index 6c9d5bc93..a8b845b37 100644 --- a/ur_gazebo/launch/ur3e_bringup.launch +++ b/ur_gazebo/launch/ur3e_bringup.launch @@ -29,5 +29,5 @@ - + diff --git a/ur_gazebo/launch/ur5_bringup.launch b/ur_gazebo/launch/ur5_bringup.launch index 24f0e6a10..a5d96c3b9 100644 --- a/ur_gazebo/launch/ur5_bringup.launch +++ b/ur_gazebo/launch/ur5_bringup.launch @@ -29,5 +29,5 @@ - + diff --git a/ur_gazebo/launch/ur5e_bringup.launch b/ur_gazebo/launch/ur5e_bringup.launch index ada7cbbd5..bcbc857b4 100644 --- a/ur_gazebo/launch/ur5e_bringup.launch +++ b/ur_gazebo/launch/ur5e_bringup.launch @@ -29,5 +29,5 @@ - + From 5a8add1248f89568259ac8adc3d62f8c915ebe69 Mon Sep 17 00:00:00 2001 From: gavanderhoorn Date: Thu, 25 Jun 2020 13:23:39 +0200 Subject: [PATCH 25/38] gazebo: hide loaders as well. --- ur_gazebo/launch/{load_ur.launch => inc/load_ur.launch.xml} | 0 ur_gazebo/launch/{load_ur10.launch => inc/load_ur10.launch.xml} | 0 ur_gazebo/launch/{load_ur10e.launch => inc/load_ur10e.launch.xml} | 0 ur_gazebo/launch/{load_ur16e.launch => inc/load_ur16e.launch.xml} | 0 ur_gazebo/launch/{load_ur3.launch => inc/load_ur3.launch.xml} | 0 ur_gazebo/launch/{load_ur3e.launch => inc/load_ur3e.launch.xml} | 0 ur_gazebo/launch/{load_ur5.launch => inc/load_ur5.launch.xml} | 0 ur_gazebo/launch/{load_ur5e.launch => inc/load_ur5e.launch.xml} | 0 8 files changed, 0 insertions(+), 0 deletions(-) rename ur_gazebo/launch/{load_ur.launch => inc/load_ur.launch.xml} (100%) rename ur_gazebo/launch/{load_ur10.launch => inc/load_ur10.launch.xml} (100%) rename ur_gazebo/launch/{load_ur10e.launch => inc/load_ur10e.launch.xml} (100%) rename ur_gazebo/launch/{load_ur16e.launch => inc/load_ur16e.launch.xml} (100%) rename ur_gazebo/launch/{load_ur3.launch => inc/load_ur3.launch.xml} (100%) rename ur_gazebo/launch/{load_ur3e.launch => inc/load_ur3e.launch.xml} (100%) rename ur_gazebo/launch/{load_ur5.launch => inc/load_ur5.launch.xml} (100%) rename ur_gazebo/launch/{load_ur5e.launch => inc/load_ur5e.launch.xml} (100%) diff --git a/ur_gazebo/launch/load_ur.launch b/ur_gazebo/launch/inc/load_ur.launch.xml similarity index 100% rename from ur_gazebo/launch/load_ur.launch rename to ur_gazebo/launch/inc/load_ur.launch.xml diff --git a/ur_gazebo/launch/load_ur10.launch b/ur_gazebo/launch/inc/load_ur10.launch.xml similarity index 100% rename from ur_gazebo/launch/load_ur10.launch rename to ur_gazebo/launch/inc/load_ur10.launch.xml diff --git a/ur_gazebo/launch/load_ur10e.launch b/ur_gazebo/launch/inc/load_ur10e.launch.xml similarity index 100% rename from ur_gazebo/launch/load_ur10e.launch rename to ur_gazebo/launch/inc/load_ur10e.launch.xml diff --git a/ur_gazebo/launch/load_ur16e.launch b/ur_gazebo/launch/inc/load_ur16e.launch.xml similarity index 100% rename from ur_gazebo/launch/load_ur16e.launch rename to ur_gazebo/launch/inc/load_ur16e.launch.xml diff --git a/ur_gazebo/launch/load_ur3.launch b/ur_gazebo/launch/inc/load_ur3.launch.xml similarity index 100% rename from ur_gazebo/launch/load_ur3.launch rename to ur_gazebo/launch/inc/load_ur3.launch.xml diff --git a/ur_gazebo/launch/load_ur3e.launch b/ur_gazebo/launch/inc/load_ur3e.launch.xml similarity index 100% rename from ur_gazebo/launch/load_ur3e.launch rename to ur_gazebo/launch/inc/load_ur3e.launch.xml diff --git a/ur_gazebo/launch/load_ur5.launch b/ur_gazebo/launch/inc/load_ur5.launch.xml similarity index 100% rename from ur_gazebo/launch/load_ur5.launch rename to ur_gazebo/launch/inc/load_ur5.launch.xml diff --git a/ur_gazebo/launch/load_ur5e.launch b/ur_gazebo/launch/inc/load_ur5e.launch.xml similarity index 100% rename from ur_gazebo/launch/load_ur5e.launch rename to ur_gazebo/launch/inc/load_ur5e.launch.xml From 225b7729f0cdf2fa34477bc93c08f508e496dde4 Mon Sep 17 00:00:00 2001 From: gavanderhoorn Date: Thu, 25 Jun 2020 13:33:19 +0200 Subject: [PATCH 26/38] gazebo: include load launch file with relative include. --- ur_gazebo/launch/inc/load_ur10.launch.xml | 2 +- ur_gazebo/launch/inc/load_ur10e.launch.xml | 2 +- ur_gazebo/launch/inc/load_ur16e.launch.xml | 2 +- ur_gazebo/launch/inc/load_ur3.launch.xml | 2 +- ur_gazebo/launch/inc/load_ur3e.launch.xml | 2 +- ur_gazebo/launch/inc/load_ur5.launch.xml | 2 +- ur_gazebo/launch/inc/load_ur5e.launch.xml | 2 +- ur_gazebo/launch/ur10_bringup.launch | 2 +- ur_gazebo/launch/ur10e_bringup.launch | 2 +- ur_gazebo/launch/ur16e_bringup.launch | 2 +- ur_gazebo/launch/ur3_bringup.launch | 2 +- ur_gazebo/launch/ur3e_bringup.launch | 2 +- ur_gazebo/launch/ur5_bringup.launch | 2 +- ur_gazebo/launch/ur5e_bringup.launch | 2 +- 14 files changed, 14 insertions(+), 14 deletions(-) diff --git a/ur_gazebo/launch/inc/load_ur10.launch.xml b/ur_gazebo/launch/inc/load_ur10.launch.xml index ec759dcc4..42eb123f6 100644 --- a/ur_gazebo/launch/inc/load_ur10.launch.xml +++ b/ur_gazebo/launch/inc/load_ur10.launch.xml @@ -13,5 +13,5 @@ - + diff --git a/ur_gazebo/launch/inc/load_ur10e.launch.xml b/ur_gazebo/launch/inc/load_ur10e.launch.xml index dcb71ea39..568b6c16c 100644 --- a/ur_gazebo/launch/inc/load_ur10e.launch.xml +++ b/ur_gazebo/launch/inc/load_ur10e.launch.xml @@ -13,5 +13,5 @@ - + diff --git a/ur_gazebo/launch/inc/load_ur16e.launch.xml b/ur_gazebo/launch/inc/load_ur16e.launch.xml index a6c53c8bd..5b648003e 100644 --- a/ur_gazebo/launch/inc/load_ur16e.launch.xml +++ b/ur_gazebo/launch/inc/load_ur16e.launch.xml @@ -13,5 +13,5 @@ - + diff --git a/ur_gazebo/launch/inc/load_ur3.launch.xml b/ur_gazebo/launch/inc/load_ur3.launch.xml index 2efe2b66b..09e853a02 100644 --- a/ur_gazebo/launch/inc/load_ur3.launch.xml +++ b/ur_gazebo/launch/inc/load_ur3.launch.xml @@ -13,5 +13,5 @@ - + diff --git a/ur_gazebo/launch/inc/load_ur3e.launch.xml b/ur_gazebo/launch/inc/load_ur3e.launch.xml index c50470edc..13cf424ff 100644 --- a/ur_gazebo/launch/inc/load_ur3e.launch.xml +++ b/ur_gazebo/launch/inc/load_ur3e.launch.xml @@ -13,5 +13,5 @@ - + diff --git a/ur_gazebo/launch/inc/load_ur5.launch.xml b/ur_gazebo/launch/inc/load_ur5.launch.xml index bfb60aaac..8ddf9a0ae 100644 --- a/ur_gazebo/launch/inc/load_ur5.launch.xml +++ b/ur_gazebo/launch/inc/load_ur5.launch.xml @@ -13,5 +13,5 @@ - + diff --git a/ur_gazebo/launch/inc/load_ur5e.launch.xml b/ur_gazebo/launch/inc/load_ur5e.launch.xml index 0f4473d65..4b898a6f0 100644 --- a/ur_gazebo/launch/inc/load_ur5e.launch.xml +++ b/ur_gazebo/launch/inc/load_ur5e.launch.xml @@ -13,5 +13,5 @@ - + diff --git a/ur_gazebo/launch/ur10_bringup.launch b/ur_gazebo/launch/ur10_bringup.launch index 2325d4735..12a939767 100644 --- a/ur_gazebo/launch/ur10_bringup.launch +++ b/ur_gazebo/launch/ur10_bringup.launch @@ -16,7 +16,7 @@ - + diff --git a/ur_gazebo/launch/ur10e_bringup.launch b/ur_gazebo/launch/ur10e_bringup.launch index d8487a9c1..4c7e08818 100644 --- a/ur_gazebo/launch/ur10e_bringup.launch +++ b/ur_gazebo/launch/ur10e_bringup.launch @@ -16,7 +16,7 @@ - + diff --git a/ur_gazebo/launch/ur16e_bringup.launch b/ur_gazebo/launch/ur16e_bringup.launch index 76bf3c869..de5a9ab71 100644 --- a/ur_gazebo/launch/ur16e_bringup.launch +++ b/ur_gazebo/launch/ur16e_bringup.launch @@ -16,7 +16,7 @@ - + diff --git a/ur_gazebo/launch/ur3_bringup.launch b/ur_gazebo/launch/ur3_bringup.launch index d3bf50efb..c31201fac 100644 --- a/ur_gazebo/launch/ur3_bringup.launch +++ b/ur_gazebo/launch/ur3_bringup.launch @@ -16,7 +16,7 @@ - + diff --git a/ur_gazebo/launch/ur3e_bringup.launch b/ur_gazebo/launch/ur3e_bringup.launch index a8b845b37..5f4e6ab97 100644 --- a/ur_gazebo/launch/ur3e_bringup.launch +++ b/ur_gazebo/launch/ur3e_bringup.launch @@ -16,7 +16,7 @@ - + diff --git a/ur_gazebo/launch/ur5_bringup.launch b/ur_gazebo/launch/ur5_bringup.launch index a5d96c3b9..814812d07 100644 --- a/ur_gazebo/launch/ur5_bringup.launch +++ b/ur_gazebo/launch/ur5_bringup.launch @@ -16,7 +16,7 @@ - + diff --git a/ur_gazebo/launch/ur5e_bringup.launch b/ur_gazebo/launch/ur5e_bringup.launch index bcbc857b4..e188cccbc 100644 --- a/ur_gazebo/launch/ur5e_bringup.launch +++ b/ur_gazebo/launch/ur5e_bringup.launch @@ -16,7 +16,7 @@ - + From b48781e0b018555053f4ef5277d94e0e7aa65811 Mon Sep 17 00:00:00 2001 From: gavanderhoorn Date: Thu, 25 Jun 2020 13:33:59 +0200 Subject: [PATCH 27/38] gazebo: update tests to load non-entry-point loaders. --- ur_gazebo/tests/roslaunch_test_ur10.xml | 2 +- ur_gazebo/tests/roslaunch_test_ur10e.xml | 2 +- ur_gazebo/tests/roslaunch_test_ur16e.xml | 2 +- ur_gazebo/tests/roslaunch_test_ur3.xml | 2 +- ur_gazebo/tests/roslaunch_test_ur3e.xml | 2 +- ur_gazebo/tests/roslaunch_test_ur5.xml | 2 +- ur_gazebo/tests/roslaunch_test_ur5e.xml | 2 +- 7 files changed, 7 insertions(+), 7 deletions(-) diff --git a/ur_gazebo/tests/roslaunch_test_ur10.xml b/ur_gazebo/tests/roslaunch_test_ur10.xml index 13b5d8306..02e6458c7 100644 --- a/ur_gazebo/tests/roslaunch_test_ur10.xml +++ b/ur_gazebo/tests/roslaunch_test_ur10.xml @@ -1,7 +1,7 @@ - + diff --git a/ur_gazebo/tests/roslaunch_test_ur10e.xml b/ur_gazebo/tests/roslaunch_test_ur10e.xml index 8b009e882..8443ef3d4 100644 --- a/ur_gazebo/tests/roslaunch_test_ur10e.xml +++ b/ur_gazebo/tests/roslaunch_test_ur10e.xml @@ -1,7 +1,7 @@ - + diff --git a/ur_gazebo/tests/roslaunch_test_ur16e.xml b/ur_gazebo/tests/roslaunch_test_ur16e.xml index d24fd64e6..566e1f1cd 100644 --- a/ur_gazebo/tests/roslaunch_test_ur16e.xml +++ b/ur_gazebo/tests/roslaunch_test_ur16e.xml @@ -1,7 +1,7 @@ - + diff --git a/ur_gazebo/tests/roslaunch_test_ur3.xml b/ur_gazebo/tests/roslaunch_test_ur3.xml index 7f4558f78..d9c9c148d 100644 --- a/ur_gazebo/tests/roslaunch_test_ur3.xml +++ b/ur_gazebo/tests/roslaunch_test_ur3.xml @@ -1,7 +1,7 @@ - + diff --git a/ur_gazebo/tests/roslaunch_test_ur3e.xml b/ur_gazebo/tests/roslaunch_test_ur3e.xml index b5232ff68..4a10cd48f 100644 --- a/ur_gazebo/tests/roslaunch_test_ur3e.xml +++ b/ur_gazebo/tests/roslaunch_test_ur3e.xml @@ -1,7 +1,7 @@ - + diff --git a/ur_gazebo/tests/roslaunch_test_ur5.xml b/ur_gazebo/tests/roslaunch_test_ur5.xml index 89df2cb38..dae9deae7 100644 --- a/ur_gazebo/tests/roslaunch_test_ur5.xml +++ b/ur_gazebo/tests/roslaunch_test_ur5.xml @@ -1,7 +1,7 @@ - + diff --git a/ur_gazebo/tests/roslaunch_test_ur5e.xml b/ur_gazebo/tests/roslaunch_test_ur5e.xml index 67877fbd6..0cf392035 100644 --- a/ur_gazebo/tests/roslaunch_test_ur5e.xml +++ b/ur_gazebo/tests/roslaunch_test_ur5e.xml @@ -1,7 +1,7 @@ - + From a08b5654c0bdce08b98ca6bc5a8c7315a65900db Mon Sep 17 00:00:00 2001 From: gavanderhoorn Date: Thu, 25 Jun 2020 13:50:59 +0200 Subject: [PATCH 28/38] gazebo: rostopic is no longer used. --- ur_gazebo/package.xml | 1 - 1 file changed, 1 deletion(-) diff --git a/ur_gazebo/package.xml b/ur_gazebo/package.xml index 506cef08e..89e20c456 100644 --- a/ur_gazebo/package.xml +++ b/ur_gazebo/package.xml @@ -28,7 +28,6 @@ joint_trajectory_controller position_controllers robot_state_publisher - rostopic ur_description From 17235da4af029b7a6fb46a8c949bbb8e590a55e3 Mon Sep 17 00:00:00 2001 From: gavanderhoorn Date: Tue, 30 Jun 2020 11:35:55 +0200 Subject: [PATCH 29/38] gazebo: ur_control: allow more control over launch args. Over: - which world to load - whether to start Gazebo or not - from which parameter to (attempt to) load the urdf - what name to give to the spawned robot model (inside the simulation) --- ur_gazebo/launch/inc/ur_control.launch.xml | 28 +++++++++++++--------- 1 file changed, 17 insertions(+), 11 deletions(-) diff --git a/ur_gazebo/launch/inc/ur_control.launch.xml b/ur_gazebo/launch/inc/ur_control.launch.xml index 797c31e77..c30a3b0c4 100644 --- a/ur_gazebo/launch/inc/ur_control.launch.xml +++ b/ur_gazebo/launch/inc/ur_control.launch.xml @@ -10,36 +10,42 @@ Other parameters are specific to Gazebo. - Note: we spawn and start the ros_control controllers here as they are, + Note: we spawn and start the ros_control controllers here, as they are, together with gazebo_ros_control, essentially the replacement for the driver which would be used with a real robot. --> - + - - - + + + + + + + - - - + + + From e34872e671fd2a56421d43688249e4528598a8af Mon Sep 17 00:00:00 2001 From: gavanderhoorn Date: Tue, 30 Jun 2020 11:42:33 +0200 Subject: [PATCH 30/38] gazebo: restructure bringup entry points. By lifting some of the nodes and parameters to the bringup files (from ur_common.launch.xml), they should be easier to use (and maintain). Anything specific to the use of a robot in a particular configuration (ie: a workcell or simulation) should exist at the bringup level, not in a common (ie: shared) file, as that will make it harder to change (as changes will be shared by many other setups). This restructuring makes ur_common.launch.xml redundant, so we also remove it. --- ur_gazebo/launch/inc/load_ur.launch.xml | 27 +++++----- ur_gazebo/launch/inc/ur_common.launch.xml | 30 ----------- ur_gazebo/launch/ur10_bringup.launch | 66 ++++++++++++++++++----- ur_gazebo/launch/ur10e_bringup.launch | 66 ++++++++++++++++++----- ur_gazebo/launch/ur16e_bringup.launch | 66 ++++++++++++++++++----- ur_gazebo/launch/ur3_bringup.launch | 66 ++++++++++++++++++----- ur_gazebo/launch/ur3e_bringup.launch | 66 ++++++++++++++++++----- ur_gazebo/launch/ur5_bringup.launch | 66 ++++++++++++++++++----- ur_gazebo/launch/ur5e_bringup.launch | 66 ++++++++++++++++++----- 9 files changed, 392 insertions(+), 127 deletions(-) delete mode 100644 ur_gazebo/launch/inc/ur_common.launch.xml diff --git a/ur_gazebo/launch/inc/load_ur.launch.xml b/ur_gazebo/launch/inc/load_ur.launch.xml index a5509a2f9..254c82f36 100644 --- a/ur_gazebo/launch/inc/load_ur.launch.xml +++ b/ur_gazebo/launch/inc/load_ur.launch.xml @@ -1,22 +1,10 @@ - - - - - - - - - - - - + + + + + + + + + + + + + - - - - - - - - - - - - - - - - - - - - - - - - - - - diff --git a/ur_gazebo/launch/ur10_bringup.launch b/ur_gazebo/launch/ur10_bringup.launch index 12a939767..5d07a7a39 100644 --- a/ur_gazebo/launch/ur10_bringup.launch +++ b/ur_gazebo/launch/ur10_bringup.launch @@ -1,22 +1,57 @@ - - - + - + + - - + + + + + + + + + + + + + + + @@ -25,9 +60,16 @@ - + - + + + + + + + + diff --git a/ur_gazebo/launch/ur10e_bringup.launch b/ur_gazebo/launch/ur10e_bringup.launch index 4c7e08818..f2731e628 100644 --- a/ur_gazebo/launch/ur10e_bringup.launch +++ b/ur_gazebo/launch/ur10e_bringup.launch @@ -1,22 +1,57 @@ - - - + - + + - - + + + + + + + + + + + + + + + @@ -25,9 +60,16 @@ - + - + + + + + + + + diff --git a/ur_gazebo/launch/ur16e_bringup.launch b/ur_gazebo/launch/ur16e_bringup.launch index de5a9ab71..2e6a51ef0 100644 --- a/ur_gazebo/launch/ur16e_bringup.launch +++ b/ur_gazebo/launch/ur16e_bringup.launch @@ -1,22 +1,57 @@ - - - + - + + - - + + + + + + + + + + + + + + + @@ -25,9 +60,16 @@ - + - + + + + + + + + diff --git a/ur_gazebo/launch/ur3_bringup.launch b/ur_gazebo/launch/ur3_bringup.launch index c31201fac..86c8e02e4 100644 --- a/ur_gazebo/launch/ur3_bringup.launch +++ b/ur_gazebo/launch/ur3_bringup.launch @@ -1,22 +1,57 @@ - - - + - + + - - + + + + + + + + + + + + + + + @@ -25,9 +60,16 @@ - + - + + + + + + + + diff --git a/ur_gazebo/launch/ur3e_bringup.launch b/ur_gazebo/launch/ur3e_bringup.launch index 5f4e6ab97..2bbbb71a5 100644 --- a/ur_gazebo/launch/ur3e_bringup.launch +++ b/ur_gazebo/launch/ur3e_bringup.launch @@ -1,22 +1,57 @@ - - - + - + + - - + + + + + + + + + + + + + + + @@ -25,9 +60,16 @@ - + - + + + + + + + + diff --git a/ur_gazebo/launch/ur5_bringup.launch b/ur_gazebo/launch/ur5_bringup.launch index 814812d07..6f33db7d7 100644 --- a/ur_gazebo/launch/ur5_bringup.launch +++ b/ur_gazebo/launch/ur5_bringup.launch @@ -1,22 +1,57 @@ - - - + - + + - - + + + + + + + + + + + + + + + @@ -25,9 +60,16 @@ - + - + + + + + + + + diff --git a/ur_gazebo/launch/ur5e_bringup.launch b/ur_gazebo/launch/ur5e_bringup.launch index e188cccbc..97b55f081 100644 --- a/ur_gazebo/launch/ur5e_bringup.launch +++ b/ur_gazebo/launch/ur5e_bringup.launch @@ -1,22 +1,57 @@ - - - + - + + - - + + + + + + + + + + + + + + + @@ -25,9 +60,16 @@ - + - + + + + + + + + From 4ebb070728bb502150ece9ac217bf59d9e19a35f Mon Sep 17 00:00:00 2001 From: gavanderhoorn Date: Tue, 30 Jun 2020 12:18:07 +0200 Subject: [PATCH 31/38] gazebo: give e-Series variants their own controller configs. --- ur_gazebo/config/ur10e_controllers.yaml | 29 +++++++++++++++++++++++++ ur_gazebo/config/ur3e_controllers.yaml | 29 +++++++++++++++++++++++++ ur_gazebo/config/ur5e_controllers.yaml | 29 +++++++++++++++++++++++++ ur_gazebo/launch/ur10e_bringup.launch | 2 +- ur_gazebo/launch/ur3e_bringup.launch | 2 +- ur_gazebo/launch/ur5e_bringup.launch | 2 +- 6 files changed, 90 insertions(+), 3 deletions(-) create mode 100644 ur_gazebo/config/ur10e_controllers.yaml create mode 100644 ur_gazebo/config/ur3e_controllers.yaml create mode 100644 ur_gazebo/config/ur5e_controllers.yaml diff --git a/ur_gazebo/config/ur10e_controllers.yaml b/ur_gazebo/config/ur10e_controllers.yaml new file mode 100644 index 000000000..62653afa8 --- /dev/null +++ b/ur_gazebo/config/ur10e_controllers.yaml @@ -0,0 +1,29 @@ +joint_state_controller: + type: joint_state_controller/JointStateController + publish_rate: &loop_hz 125 + +pos_traj_controller: + type: position_controllers/JointTrajectoryController + joints: &robot_joints + - shoulder_pan_joint + - shoulder_lift_joint + - elbow_joint + - wrist_1_joint + - wrist_2_joint + - wrist_3_joint + constraints: + goal_time: 0.6 + stopped_velocity_tolerance: 0.05 + shoulder_pan_joint: {trajectory: 0.1, goal: 0.1} + shoulder_lift_joint: {trajectory: 0.1, goal: 0.1} + elbow_joint: {trajectory: 0.1, goal: 0.1} + wrist_1_joint: {trajectory: 0.1, goal: 0.1} + wrist_2_joint: {trajectory: 0.1, goal: 0.1} + wrist_3_joint: {trajectory: 0.1, goal: 0.1} + stop_trajectory_duration: 0.5 + state_publish_rate: *loop_hz + action_monitor_rate: 10 + +joint_group_pos_controller: + type: position_controllers/JointGroupPositionController + joints: *robot_joints diff --git a/ur_gazebo/config/ur3e_controllers.yaml b/ur_gazebo/config/ur3e_controllers.yaml new file mode 100644 index 000000000..62653afa8 --- /dev/null +++ b/ur_gazebo/config/ur3e_controllers.yaml @@ -0,0 +1,29 @@ +joint_state_controller: + type: joint_state_controller/JointStateController + publish_rate: &loop_hz 125 + +pos_traj_controller: + type: position_controllers/JointTrajectoryController + joints: &robot_joints + - shoulder_pan_joint + - shoulder_lift_joint + - elbow_joint + - wrist_1_joint + - wrist_2_joint + - wrist_3_joint + constraints: + goal_time: 0.6 + stopped_velocity_tolerance: 0.05 + shoulder_pan_joint: {trajectory: 0.1, goal: 0.1} + shoulder_lift_joint: {trajectory: 0.1, goal: 0.1} + elbow_joint: {trajectory: 0.1, goal: 0.1} + wrist_1_joint: {trajectory: 0.1, goal: 0.1} + wrist_2_joint: {trajectory: 0.1, goal: 0.1} + wrist_3_joint: {trajectory: 0.1, goal: 0.1} + stop_trajectory_duration: 0.5 + state_publish_rate: *loop_hz + action_monitor_rate: 10 + +joint_group_pos_controller: + type: position_controllers/JointGroupPositionController + joints: *robot_joints diff --git a/ur_gazebo/config/ur5e_controllers.yaml b/ur_gazebo/config/ur5e_controllers.yaml new file mode 100644 index 000000000..62653afa8 --- /dev/null +++ b/ur_gazebo/config/ur5e_controllers.yaml @@ -0,0 +1,29 @@ +joint_state_controller: + type: joint_state_controller/JointStateController + publish_rate: &loop_hz 125 + +pos_traj_controller: + type: position_controllers/JointTrajectoryController + joints: &robot_joints + - shoulder_pan_joint + - shoulder_lift_joint + - elbow_joint + - wrist_1_joint + - wrist_2_joint + - wrist_3_joint + constraints: + goal_time: 0.6 + stopped_velocity_tolerance: 0.05 + shoulder_pan_joint: {trajectory: 0.1, goal: 0.1} + shoulder_lift_joint: {trajectory: 0.1, goal: 0.1} + elbow_joint: {trajectory: 0.1, goal: 0.1} + wrist_1_joint: {trajectory: 0.1, goal: 0.1} + wrist_2_joint: {trajectory: 0.1, goal: 0.1} + wrist_3_joint: {trajectory: 0.1, goal: 0.1} + stop_trajectory_duration: 0.5 + state_publish_rate: *loop_hz + action_monitor_rate: 10 + +joint_group_pos_controller: + type: position_controllers/JointGroupPositionController + joints: *robot_joints diff --git a/ur_gazebo/launch/ur10e_bringup.launch b/ur_gazebo/launch/ur10e_bringup.launch index f2731e628..8ff46de79 100644 --- a/ur_gazebo/launch/ur10e_bringup.launch +++ b/ur_gazebo/launch/ur10e_bringup.launch @@ -38,7 +38,7 @@ - + diff --git a/ur_gazebo/launch/ur3e_bringup.launch b/ur_gazebo/launch/ur3e_bringup.launch index 2bbbb71a5..985fba604 100644 --- a/ur_gazebo/launch/ur3e_bringup.launch +++ b/ur_gazebo/launch/ur3e_bringup.launch @@ -38,7 +38,7 @@ - + diff --git a/ur_gazebo/launch/ur5e_bringup.launch b/ur_gazebo/launch/ur5e_bringup.launch index 97b55f081..4106d4bb9 100644 --- a/ur_gazebo/launch/ur5e_bringup.launch +++ b/ur_gazebo/launch/ur5e_bringup.launch @@ -38,7 +38,7 @@ - + From 8732d0f3b9bfc4c8a8dd91375cb8bc00699f82ae Mon Sep 17 00:00:00 2001 From: gavanderhoorn Date: Tue, 30 Jun 2020 12:18:53 +0200 Subject: [PATCH 32/38] gazebo: run e-Series controllers at 500 Hz. Same rate as the real controller. --- ur_gazebo/config/ur10e_controllers.yaml | 2 +- ur_gazebo/config/ur3e_controllers.yaml | 2 +- ur_gazebo/config/ur5e_controllers.yaml | 2 +- 3 files changed, 3 insertions(+), 3 deletions(-) diff --git a/ur_gazebo/config/ur10e_controllers.yaml b/ur_gazebo/config/ur10e_controllers.yaml index 62653afa8..071a4913a 100644 --- a/ur_gazebo/config/ur10e_controllers.yaml +++ b/ur_gazebo/config/ur10e_controllers.yaml @@ -1,6 +1,6 @@ joint_state_controller: type: joint_state_controller/JointStateController - publish_rate: &loop_hz 125 + publish_rate: &loop_hz 500 pos_traj_controller: type: position_controllers/JointTrajectoryController diff --git a/ur_gazebo/config/ur3e_controllers.yaml b/ur_gazebo/config/ur3e_controllers.yaml index 62653afa8..071a4913a 100644 --- a/ur_gazebo/config/ur3e_controllers.yaml +++ b/ur_gazebo/config/ur3e_controllers.yaml @@ -1,6 +1,6 @@ joint_state_controller: type: joint_state_controller/JointStateController - publish_rate: &loop_hz 125 + publish_rate: &loop_hz 500 pos_traj_controller: type: position_controllers/JointTrajectoryController diff --git a/ur_gazebo/config/ur5e_controllers.yaml b/ur_gazebo/config/ur5e_controllers.yaml index 62653afa8..071a4913a 100644 --- a/ur_gazebo/config/ur5e_controllers.yaml +++ b/ur_gazebo/config/ur5e_controllers.yaml @@ -1,6 +1,6 @@ joint_state_controller: type: joint_state_controller/JointStateController - publish_rate: &loop_hz 125 + publish_rate: &loop_hz 500 pos_traj_controller: type: position_controllers/JointTrajectoryController From 36b2eae701cec0cca7f651b8e7f4c21928595209 Mon Sep 17 00:00:00 2001 From: gavanderhoorn Date: Tue, 30 Jun 2020 12:41:24 +0200 Subject: [PATCH 33/38] gazebo: update comments in xacros. --- ur_gazebo/urdf/ur.xacro | 28 +++++++++------ ur_gazebo/urdf/ur_macro.xacro | 64 ++++++++++++++++++++++++++++------- 2 files changed, 70 insertions(+), 22 deletions(-) diff --git a/ur_gazebo/urdf/ur.xacro b/ur_gazebo/urdf/ur.xacro index 6a6b6d9c5..3975c83e2 100644 --- a/ur_gazebo/urdf/ur.xacro +++ b/ur_gazebo/urdf/ur.xacro @@ -23,9 +23,11 @@ connect everything by adding the appropriate joints. --> - @@ -34,10 +36,14 @@ - @@ -54,14 +60,16 @@ transmission_hw_interface="$(arg transmission_hw_interface)" safety_limits="$(arg safety_limits)" safety_pos_margin="$(arg safety_pos_margin)" - safety_k_position="$(arg safety_k_position)"/> + safety_k_position="$(arg safety_k_position)" + /> - diff --git a/ur_gazebo/urdf/ur_macro.xacro b/ur_gazebo/urdf/ur_macro.xacro index d1ab948ca..2e32a2136 100644 --- a/ur_gazebo/urdf/ur_macro.xacro +++ b/ur_gazebo/urdf/ur_macro.xacro @@ -1,19 +1,55 @@ - - + + - + + safety_k_position="${safety_k_position}" + /> + true @@ -59,6 +94,11 @@ true + + From 3f1f0347e656bac998e8f71b5f91664b40d6cf4a Mon Sep 17 00:00:00 2001 From: gavanderhoorn Date: Tue, 30 Jun 2020 12:42:50 +0200 Subject: [PATCH 34/38] gazebo: move include to scope of ur_robot_gazebo macro. Prevent potential clashes with symbols outside of that scope. --- ur_gazebo/urdf/ur_macro.xacro | 20 ++++++++++---------- 1 file changed, 10 insertions(+), 10 deletions(-) diff --git a/ur_gazebo/urdf/ur_macro.xacro b/ur_gazebo/urdf/ur_macro.xacro index 2e32a2136..1f049c692 100644 --- a/ur_gazebo/urdf/ur_macro.xacro +++ b/ur_gazebo/urdf/ur_macro.xacro @@ -39,16 +39,6 @@ --> - - - - + + + + Date: Wed, 1 Jul 2020 10:52:19 +0200 Subject: [PATCH 35/38] gazebo: clarify we load a position joint trajectory controller. So include that in the name. --- ur_gazebo/config/ur10_controllers.yaml | 2 +- ur_gazebo/config/ur10e_controllers.yaml | 2 +- ur_gazebo/config/ur16e_controllers.yaml | 2 +- ur_gazebo/config/ur3_controllers.yaml | 2 +- ur_gazebo/config/ur3e_controllers.yaml | 2 +- ur_gazebo/config/ur5_controllers.yaml | 2 +- ur_gazebo/config/ur5e_controllers.yaml | 2 +- ur_gazebo/launch/inc/ur_control.launch.xml | 2 +- ur_gazebo/launch/ur10_bringup.launch | 2 +- ur_gazebo/launch/ur10e_bringup.launch | 2 +- ur_gazebo/launch/ur16e_bringup.launch | 2 +- ur_gazebo/launch/ur3_bringup.launch | 2 +- ur_gazebo/launch/ur3e_bringup.launch | 2 +- ur_gazebo/launch/ur5_bringup.launch | 2 +- ur_gazebo/launch/ur5e_bringup.launch | 2 +- 15 files changed, 15 insertions(+), 15 deletions(-) diff --git a/ur_gazebo/config/ur10_controllers.yaml b/ur_gazebo/config/ur10_controllers.yaml index 62653afa8..7b6ab9c2c 100644 --- a/ur_gazebo/config/ur10_controllers.yaml +++ b/ur_gazebo/config/ur10_controllers.yaml @@ -2,7 +2,7 @@ joint_state_controller: type: joint_state_controller/JointStateController publish_rate: &loop_hz 125 -pos_traj_controller: +pos_joint_traj_controller: type: position_controllers/JointTrajectoryController joints: &robot_joints - shoulder_pan_joint diff --git a/ur_gazebo/config/ur10e_controllers.yaml b/ur_gazebo/config/ur10e_controllers.yaml index 071a4913a..3599c8e7d 100644 --- a/ur_gazebo/config/ur10e_controllers.yaml +++ b/ur_gazebo/config/ur10e_controllers.yaml @@ -2,7 +2,7 @@ joint_state_controller: type: joint_state_controller/JointStateController publish_rate: &loop_hz 500 -pos_traj_controller: +pos_joint_traj_controller: type: position_controllers/JointTrajectoryController joints: &robot_joints - shoulder_pan_joint diff --git a/ur_gazebo/config/ur16e_controllers.yaml b/ur_gazebo/config/ur16e_controllers.yaml index 071a4913a..3599c8e7d 100644 --- a/ur_gazebo/config/ur16e_controllers.yaml +++ b/ur_gazebo/config/ur16e_controllers.yaml @@ -2,7 +2,7 @@ joint_state_controller: type: joint_state_controller/JointStateController publish_rate: &loop_hz 500 -pos_traj_controller: +pos_joint_traj_controller: type: position_controllers/JointTrajectoryController joints: &robot_joints - shoulder_pan_joint diff --git a/ur_gazebo/config/ur3_controllers.yaml b/ur_gazebo/config/ur3_controllers.yaml index 62653afa8..7b6ab9c2c 100644 --- a/ur_gazebo/config/ur3_controllers.yaml +++ b/ur_gazebo/config/ur3_controllers.yaml @@ -2,7 +2,7 @@ joint_state_controller: type: joint_state_controller/JointStateController publish_rate: &loop_hz 125 -pos_traj_controller: +pos_joint_traj_controller: type: position_controllers/JointTrajectoryController joints: &robot_joints - shoulder_pan_joint diff --git a/ur_gazebo/config/ur3e_controllers.yaml b/ur_gazebo/config/ur3e_controllers.yaml index 071a4913a..3599c8e7d 100644 --- a/ur_gazebo/config/ur3e_controllers.yaml +++ b/ur_gazebo/config/ur3e_controllers.yaml @@ -2,7 +2,7 @@ joint_state_controller: type: joint_state_controller/JointStateController publish_rate: &loop_hz 500 -pos_traj_controller: +pos_joint_traj_controller: type: position_controllers/JointTrajectoryController joints: &robot_joints - shoulder_pan_joint diff --git a/ur_gazebo/config/ur5_controllers.yaml b/ur_gazebo/config/ur5_controllers.yaml index 62653afa8..7b6ab9c2c 100644 --- a/ur_gazebo/config/ur5_controllers.yaml +++ b/ur_gazebo/config/ur5_controllers.yaml @@ -2,7 +2,7 @@ joint_state_controller: type: joint_state_controller/JointStateController publish_rate: &loop_hz 125 -pos_traj_controller: +pos_joint_traj_controller: type: position_controllers/JointTrajectoryController joints: &robot_joints - shoulder_pan_joint diff --git a/ur_gazebo/config/ur5e_controllers.yaml b/ur_gazebo/config/ur5e_controllers.yaml index 071a4913a..3599c8e7d 100644 --- a/ur_gazebo/config/ur5e_controllers.yaml +++ b/ur_gazebo/config/ur5e_controllers.yaml @@ -2,7 +2,7 @@ joint_state_controller: type: joint_state_controller/JointStateController publish_rate: &loop_hz 500 -pos_traj_controller: +pos_joint_traj_controller: type: position_controllers/JointTrajectoryController joints: &robot_joints - shoulder_pan_joint diff --git a/ur_gazebo/launch/inc/ur_control.launch.xml b/ur_gazebo/launch/inc/ur_control.launch.xml index c30a3b0c4..d8b487fb7 100644 --- a/ur_gazebo/launch/inc/ur_control.launch.xml +++ b/ur_gazebo/launch/inc/ur_control.launch.xml @@ -17,7 +17,7 @@ - + diff --git a/ur_gazebo/launch/ur10_bringup.launch b/ur_gazebo/launch/ur10_bringup.launch index 5d07a7a39..acd6c96fe 100644 --- a/ur_gazebo/launch/ur10_bringup.launch +++ b/ur_gazebo/launch/ur10_bringup.launch @@ -39,7 +39,7 @@ - + diff --git a/ur_gazebo/launch/ur10e_bringup.launch b/ur_gazebo/launch/ur10e_bringup.launch index 8ff46de79..7d39bda8c 100644 --- a/ur_gazebo/launch/ur10e_bringup.launch +++ b/ur_gazebo/launch/ur10e_bringup.launch @@ -39,7 +39,7 @@ - + diff --git a/ur_gazebo/launch/ur16e_bringup.launch b/ur_gazebo/launch/ur16e_bringup.launch index 2e6a51ef0..d0f193ed6 100644 --- a/ur_gazebo/launch/ur16e_bringup.launch +++ b/ur_gazebo/launch/ur16e_bringup.launch @@ -39,7 +39,7 @@ - + diff --git a/ur_gazebo/launch/ur3_bringup.launch b/ur_gazebo/launch/ur3_bringup.launch index 86c8e02e4..035d156db 100644 --- a/ur_gazebo/launch/ur3_bringup.launch +++ b/ur_gazebo/launch/ur3_bringup.launch @@ -39,7 +39,7 @@ - + diff --git a/ur_gazebo/launch/ur3e_bringup.launch b/ur_gazebo/launch/ur3e_bringup.launch index 985fba604..8e3ec545d 100644 --- a/ur_gazebo/launch/ur3e_bringup.launch +++ b/ur_gazebo/launch/ur3e_bringup.launch @@ -39,7 +39,7 @@ - + diff --git a/ur_gazebo/launch/ur5_bringup.launch b/ur_gazebo/launch/ur5_bringup.launch index 6f33db7d7..bff4f9323 100644 --- a/ur_gazebo/launch/ur5_bringup.launch +++ b/ur_gazebo/launch/ur5_bringup.launch @@ -39,7 +39,7 @@ - + diff --git a/ur_gazebo/launch/ur5e_bringup.launch b/ur_gazebo/launch/ur5e_bringup.launch index 4106d4bb9..24c884a6c 100644 --- a/ur_gazebo/launch/ur5e_bringup.launch +++ b/ur_gazebo/launch/ur5e_bringup.launch @@ -39,7 +39,7 @@ - + From 61a1aed2f0ef832a7d741706c478554eca6fac7d Mon Sep 17 00:00:00 2001 From: gavanderhoorn Date: Wed, 1 Jul 2020 16:56:57 +0200 Subject: [PATCH 36/38] gazebo: list valid values for 'transmission_hw_interface'. For some reason this was not yet documented. --- ur_gazebo/launch/inc/load_ur.launch.xml | 2 +- ur_gazebo/launch/inc/load_ur10.launch.xml | 2 +- ur_gazebo/launch/inc/load_ur10e.launch.xml | 2 +- ur_gazebo/launch/inc/load_ur16e.launch.xml | 2 +- ur_gazebo/launch/inc/load_ur3.launch.xml | 2 +- ur_gazebo/launch/inc/load_ur3e.launch.xml | 2 +- ur_gazebo/launch/inc/load_ur5.launch.xml | 2 +- ur_gazebo/launch/inc/load_ur5e.launch.xml | 2 +- 8 files changed, 8 insertions(+), 8 deletions(-) diff --git a/ur_gazebo/launch/inc/load_ur.launch.xml b/ur_gazebo/launch/inc/load_ur.launch.xml index 254c82f36..b93d55603 100644 --- a/ur_gazebo/launch/inc/load_ur.launch.xml +++ b/ur_gazebo/launch/inc/load_ur.launch.xml @@ -25,7 +25,7 @@ - + diff --git a/ur_gazebo/launch/inc/load_ur10.launch.xml b/ur_gazebo/launch/inc/load_ur10.launch.xml index 42eb123f6..dc2de3537 100644 --- a/ur_gazebo/launch/inc/load_ur10.launch.xml +++ b/ur_gazebo/launch/inc/load_ur10.launch.xml @@ -7,7 +7,7 @@ - + diff --git a/ur_gazebo/launch/inc/load_ur10e.launch.xml b/ur_gazebo/launch/inc/load_ur10e.launch.xml index 568b6c16c..65ee47278 100644 --- a/ur_gazebo/launch/inc/load_ur10e.launch.xml +++ b/ur_gazebo/launch/inc/load_ur10e.launch.xml @@ -7,7 +7,7 @@ - + diff --git a/ur_gazebo/launch/inc/load_ur16e.launch.xml b/ur_gazebo/launch/inc/load_ur16e.launch.xml index 5b648003e..e0a8a17dc 100644 --- a/ur_gazebo/launch/inc/load_ur16e.launch.xml +++ b/ur_gazebo/launch/inc/load_ur16e.launch.xml @@ -7,7 +7,7 @@ - + diff --git a/ur_gazebo/launch/inc/load_ur3.launch.xml b/ur_gazebo/launch/inc/load_ur3.launch.xml index 09e853a02..1128e1bdd 100644 --- a/ur_gazebo/launch/inc/load_ur3.launch.xml +++ b/ur_gazebo/launch/inc/load_ur3.launch.xml @@ -7,7 +7,7 @@ - + diff --git a/ur_gazebo/launch/inc/load_ur3e.launch.xml b/ur_gazebo/launch/inc/load_ur3e.launch.xml index 13cf424ff..f9555dfab 100644 --- a/ur_gazebo/launch/inc/load_ur3e.launch.xml +++ b/ur_gazebo/launch/inc/load_ur3e.launch.xml @@ -7,7 +7,7 @@ - + diff --git a/ur_gazebo/launch/inc/load_ur5.launch.xml b/ur_gazebo/launch/inc/load_ur5.launch.xml index 8ddf9a0ae..d9b4dc10c 100644 --- a/ur_gazebo/launch/inc/load_ur5.launch.xml +++ b/ur_gazebo/launch/inc/load_ur5.launch.xml @@ -7,7 +7,7 @@ - + diff --git a/ur_gazebo/launch/inc/load_ur5e.launch.xml b/ur_gazebo/launch/inc/load_ur5e.launch.xml index 4b898a6f0..4ed014cff 100644 --- a/ur_gazebo/launch/inc/load_ur5e.launch.xml +++ b/ur_gazebo/launch/inc/load_ur5e.launch.xml @@ -7,7 +7,7 @@ - + From be7d39210d91d2748859212a2e9f1c9cb5de4701 Mon Sep 17 00:00:00 2001 From: gavanderhoorn Date: Wed, 1 Jul 2020 16:57:28 +0200 Subject: [PATCH 37/38] gazebo: in-order is the default on Melodic. And we've broken Kinetic-compatibility quite a few commits ago. --- ur_gazebo/launch/inc/load_ur.launch.xml | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/ur_gazebo/launch/inc/load_ur.launch.xml b/ur_gazebo/launch/inc/load_ur.launch.xml index b93d55603..02efc2fb8 100644 --- a/ur_gazebo/launch/inc/load_ur.launch.xml +++ b/ur_gazebo/launch/inc/load_ur.launch.xml @@ -30,7 +30,7 @@ - - +