From 4dbb5a2b933d36f3add7bb43f8c02c3319c0cfab Mon Sep 17 00:00:00 2001 From: Toni Oliver Date: Thu, 21 May 2020 14:11:09 +0000 Subject: [PATCH 1/2] Add a parameter to choose the hardware interface for the e-series (like the one in non-e) --- ur_e_description/urdf/ur.transmission.xacro | 16 ++++++++-------- ur_e_description/urdf/ur10e.urdf.xacro | 2 +- ur_e_description/urdf/ur3e.urdf.xacro | 2 +- ur_e_description/urdf/ur5e.urdf.xacro | 2 +- 4 files changed, 11 insertions(+), 11 deletions(-) diff --git a/ur_e_description/urdf/ur.transmission.xacro b/ur_e_description/urdf/ur.transmission.xacro index 4b2d12630..b85cc6e77 100644 --- a/ur_e_description/urdf/ur.transmission.xacro +++ b/ur_e_description/urdf/ur.transmission.xacro @@ -1,12 +1,12 @@ - + - + transmission_interface/SimpleTransmission - hardware_interface/PositionJointInterface + ${hw_interface} 1 @@ -16,7 +16,7 @@ transmission_interface/SimpleTransmission - hardware_interface/PositionJointInterface + ${hw_interface} 1 @@ -26,7 +26,7 @@ transmission_interface/SimpleTransmission - hardware_interface/PositionJointInterface + ${hw_interface} 1 @@ -36,7 +36,7 @@ transmission_interface/SimpleTransmission - hardware_interface/PositionJointInterface + ${hw_interface} 1 @@ -46,7 +46,7 @@ transmission_interface/SimpleTransmission - hardware_interface/PositionJointInterface + ${hw_interface} 1 @@ -56,7 +56,7 @@ transmission_interface/SimpleTransmission - hardware_interface/PositionJointInterface + ${hw_interface} 1 diff --git a/ur_e_description/urdf/ur10e.urdf.xacro b/ur_e_description/urdf/ur10e.urdf.xacro index 20113e75a..1d22e82e9 100644 --- a/ur_e_description/urdf/ur10e.urdf.xacro +++ b/ur_e_description/urdf/ur10e.urdf.xacro @@ -344,7 +344,7 @@ - + diff --git a/ur_e_description/urdf/ur3e.urdf.xacro b/ur_e_description/urdf/ur3e.urdf.xacro index cff722196..37fb60513 100644 --- a/ur_e_description/urdf/ur3e.urdf.xacro +++ b/ur_e_description/urdf/ur3e.urdf.xacro @@ -342,7 +342,7 @@ - + diff --git a/ur_e_description/urdf/ur5e.urdf.xacro b/ur_e_description/urdf/ur5e.urdf.xacro index c0a3f23dc..ec1399a3b 100644 --- a/ur_e_description/urdf/ur5e.urdf.xacro +++ b/ur_e_description/urdf/ur5e.urdf.xacro @@ -342,7 +342,7 @@ - + From a8e8b59a0c44ea5951cf2efcb877050b3ffd52ef Mon Sep 17 00:00:00 2001 From: Toni Oliver Date: Wed, 27 May 2020 14:48:14 +0000 Subject: [PATCH 2/2] Add hardware_interface parameter to e-series launchfiles and to joint_limited xacros --- ur_e_description/launch/ur10e_upload.launch | 3 +++ ur_e_description/launch/ur3e_upload.launch | 3 +++ ur_e_description/launch/ur5e_upload.launch | 3 +++ ur_e_description/urdf/ur10e_joint_limited_robot.urdf.xacro | 3 +++ ur_e_description/urdf/ur3e_joint_limited_robot.urdf.xacro | 3 +++ ur_e_description/urdf/ur5e_joint_limited_robot.urdf.xacro | 3 +++ 6 files changed, 18 insertions(+) diff --git a/ur_e_description/launch/ur10e_upload.launch b/ur_e_description/launch/ur10e_upload.launch index 1ed5b49c3..041bf778b 100644 --- a/ur_e_description/launch/ur10e_upload.launch +++ b/ur_e_description/launch/ur10e_upload.launch @@ -1,14 +1,17 @@ + diff --git a/ur_e_description/launch/ur3e_upload.launch b/ur_e_description/launch/ur3e_upload.launch index 1b2893db8..583e4e342 100644 --- a/ur_e_description/launch/ur3e_upload.launch +++ b/ur_e_description/launch/ur3e_upload.launch @@ -1,14 +1,17 @@ + diff --git a/ur_e_description/launch/ur5e_upload.launch b/ur_e_description/launch/ur5e_upload.launch index 5db19d887..a4d0e8d98 100644 --- a/ur_e_description/launch/ur5e_upload.launch +++ b/ur_e_description/launch/ur5e_upload.launch @@ -1,14 +1,17 @@ + diff --git a/ur_e_description/urdf/ur10e_joint_limited_robot.urdf.xacro b/ur_e_description/urdf/ur10e_joint_limited_robot.urdf.xacro index c5ad6f927..ea786c493 100644 --- a/ur_e_description/urdf/ur10e_joint_limited_robot.urdf.xacro +++ b/ur_e_description/urdf/ur10e_joint_limited_robot.urdf.xacro @@ -2,6 +2,8 @@ + + @@ -17,6 +19,7 @@ wrist_1_lower_limit="${-pi}" wrist_1_upper_limit="${pi}" wrist_2_lower_limit="${-pi}" wrist_2_upper_limit="${pi}" wrist_3_lower_limit="${-pi}" wrist_3_upper_limit="${pi}" + transmission_hw_interface="$(arg transmission_hw_interface)" kinematics_file="${load_yaml('$(arg kinematics_config)')}" /> diff --git a/ur_e_description/urdf/ur3e_joint_limited_robot.urdf.xacro b/ur_e_description/urdf/ur3e_joint_limited_robot.urdf.xacro index 617a20746..8b770e25c 100644 --- a/ur_e_description/urdf/ur3e_joint_limited_robot.urdf.xacro +++ b/ur_e_description/urdf/ur3e_joint_limited_robot.urdf.xacro @@ -2,6 +2,8 @@ + + @@ -17,6 +19,7 @@ wrist_1_lower_limit="${-pi}" wrist_1_upper_limit="${pi}" wrist_2_lower_limit="${-pi}" wrist_2_upper_limit="${pi}" wrist_3_lower_limit="${-pi}" wrist_3_upper_limit="${pi}" + transmission_hw_interface="$(arg transmission_hw_interface)" kinematics_file="${load_yaml('$(arg kinematics_config)')}" /> diff --git a/ur_e_description/urdf/ur5e_joint_limited_robot.urdf.xacro b/ur_e_description/urdf/ur5e_joint_limited_robot.urdf.xacro index 87ed0a80f..f9ccb4cc7 100644 --- a/ur_e_description/urdf/ur5e_joint_limited_robot.urdf.xacro +++ b/ur_e_description/urdf/ur5e_joint_limited_robot.urdf.xacro @@ -2,6 +2,8 @@ + + @@ -17,6 +19,7 @@ wrist_1_lower_limit="${-pi}" wrist_1_upper_limit="${pi}" wrist_2_lower_limit="${-pi}" wrist_2_upper_limit="${pi}" wrist_3_lower_limit="${-pi}" wrist_3_upper_limit="${pi}" + transmission_hw_interface="$(arg transmission_hw_interface)" kinematics_file="${load_yaml('$(arg kinematics_config)')}" />