Skip to content

Commit 32b0fcd

Browse files
committed
parametrized coupler mass (with bolts)
1 parent f55e01c commit 32b0fcd

File tree

1 file changed

+3
-2
lines changed

1 file changed

+3
-2
lines changed

urdf/robotiq_hande_gripper.xacro

Lines changed: 3 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -7,13 +7,14 @@
77
<xacro:include filename="$(find robotiq_hande_description)/urdf/materials.xacro"/>
88
<xacro:include filename="$(find robotiq_hande_description)/urdf/robotiq_hande_gripper.ros2_control.xacro"/>
99

10-
<xacro:macro name="robotiq_hande_gripper" params="name prefix parent tty use_fake_hardware">
10+
<xacro:macro name="robotiq_hande_gripper" params="name prefix parent tty use_fake_hardware coupler_mass:=0.119">
1111
<!-- ros2_control parameters -->
1212
<xacro:robotiq_hande_ros2_control name="${name}" prefix="${prefix}" tty="${tty}" use_fake_hardware="${use_fake_hardware}"/>
1313

1414
<!-- Robotiq Coupler -->
1515
<!-- + Height added by the coupler (13.9mm) -->
1616
<!-- + Reference frame at the middle (6.95mm) -->
17+
<!-- + Mass includes the bolts -->
1718

1819
<joint name="${prefix}robotiq_hande_coupler_joint" type="fixed">
1920
<origin xyz="0 0 0.00695" rpy="0 0 ${-pi/2.0}"/>
@@ -35,7 +36,7 @@
3536
</collision>
3637

3738
<inertial>
38-
<mass value="0.168"/>
39+
<mass value="${coupler_mass}"/>
3940
<inertia ixx="6.17674E-5" ixy="0.0" ixz="0.0" iyy="6.17674E-5" iyz="0.0" izz="1.18125E-4"/>
4041
</inertial>
4142
</link>

0 commit comments

Comments
 (0)