Skip to content

Commit e335e75

Browse files
committed
Fix xacros
1 parent c5eb4a1 commit e335e75

2 files changed

Lines changed: 7 additions & 45 deletions

File tree

Industrial/robotiq_description/urdf/robotiq_85_gripper.urdf.xacro

Lines changed: 5 additions & 43 deletions
Original file line numberDiff line numberDiff line change
@@ -40,13 +40,12 @@
4040
<limit lower="0.0" upper="0.80285" velocity="0.5" effort="1000"/>
4141
</joint>
4242

43-
<joint name="${prefix}robotiq_85_right_knuckle_joint" type="continuous">
43+
<joint name="${prefix}robotiq_85_right_knuckle_joint" type="fixed">
4444
<parent link="${prefix}robotiq_85_base_link"/>
4545
<child link="${prefix}robotiq_85_right_knuckle_link"/>
4646
<axis xyz="0 0 1"/>
4747
<origin rpy="0.0 0.0 0.0" xyz="0.05490451627 -0.03060114443 0.0"/>
4848
<limit lower="-3.14" upper="3.14" velocity="100.0" effort="1000"/>
49-
<mimic joint="${prefix}robotiq_85_left_knuckle_joint" multiplier="1.0"/>
5049
</joint>
5150

5251
<link name="${prefix}robotiq_85_left_knuckle_link">
@@ -141,22 +140,20 @@
141140
</inertial>
142141
</link>
143142

144-
<joint name="${prefix}robotiq_85_left_inner_knuckle_joint" type="continuous">
143+
<joint name="${prefix}robotiq_85_left_inner_knuckle_joint" type="fixed">
145144
<parent link="${prefix}robotiq_85_base_link"/>
146145
<child link="${prefix}robotiq_85_left_inner_knuckle_link"/>
147146
<axis xyz="0 0 1"/>
148147
<origin xyz="0.06142 0.0127 0" rpy="${pi} 0.0 0.0" />
149148
<limit lower="-3.14" upper="3.14" velocity="100.0" effort="0.1"/>
150-
<mimic joint="${prefix}robotiq_85_left_knuckle_joint" multiplier="1.0" offset="0"/>
151149
</joint>
152150

153-
<joint name="${prefix}robotiq_85_right_inner_knuckle_joint" type="continuous">
151+
<joint name="${prefix}robotiq_85_right_inner_knuckle_joint" type="fixed">
154152
<parent link="${prefix}robotiq_85_base_link"/>
155153
<child link="${prefix}robotiq_85_right_inner_knuckle_link"/>
156154
<axis xyz="0 0 1"/>
157155
<origin xyz="0.06142 -0.0127 0" rpy="0 0 0"/>
158156
<limit lower="-3.14" upper="3.14" velocity="100.0" effort="0.1"/>
159-
<mimic joint="${prefix}robotiq_85_left_knuckle_joint" multiplier="1.0" offset="0"/>
160157
</joint>
161158

162159
<link name="${prefix}robotiq_85_left_inner_knuckle_link">
@@ -198,22 +195,20 @@
198195
</inertial>
199196
</link>
200197

201-
<joint name="${prefix}robotiq_85_left_finger_tip_joint" type="continuous">
198+
<joint name="${prefix}robotiq_85_left_finger_tip_joint" type="fixed">
202199
<parent link="${prefix}robotiq_85_left_inner_knuckle_link"/>
203200
<child link="${prefix}robotiq_85_left_finger_tip_link"/>
204201
<axis xyz="0 0 1"/>
205202
<origin xyz="0.04303959807 -0.03759940821 0.0" rpy="0.0 0.0 0.0"/>
206203
<limit lower="-3.14" upper="3.14" velocity="100.0" effort="0.1"/>
207-
<mimic joint="${prefix}robotiq_85_left_knuckle_joint" multiplier="-1"/>
208204
</joint>
209205

210-
<joint name="${prefix}robotiq_85_right_finger_tip_joint" type="continuous">
206+
<joint name="${prefix}robotiq_85_right_finger_tip_joint" type="fixed">
211207
<parent link="${prefix}robotiq_85_right_inner_knuckle_link"/>
212208
<child link="${prefix}robotiq_85_right_finger_tip_link"/>
213209
<axis xyz="0 0 1"/>
214210
<origin rpy="0.0 0.0 0.0" xyz="0.04303959807 -0.03759940821 0.0"/>
215211
<limit lower="-3.14" upper="3.14" velocity="100.0" effort="0.1"/>
216-
<mimic joint="${prefix}robotiq_85_left_knuckle_joint" multiplier="-1"/>
217212
</joint>
218213

219214

@@ -271,39 +266,6 @@
271266
<mu2>1.0</mu2>
272267
<minDepth>0.001</minDepth>
273268
</gazebo>
274-
275-
<gazebo>
276-
<plugin filename="gz-sim-mimic-joint-system" name="gz::sim::systems::MimicJoint">
277-
<joint>${prefix}robotiq_85_right_knuckle_joint</joint>
278-
<mimic_joint>${prefix}robotiq_85_left_knuckle_joint</mimic_joint>
279-
<multiplier>1.0</multiplier>
280-
<offset>0.0</offset>
281-
</plugin>
282-
<plugin filename="gz-sim-mimic-joint-system" name="gz::sim::systems::MimicJoint">
283-
<joint>${prefix}robotiq_85_left_inner_knuckle_joint</joint>
284-
<mimic_joint>${prefix}robotiq_85_left_knuckle_joint</mimic_joint>
285-
<multiplier>1.0</multiplier>
286-
<offset>0.0</offset>
287-
</plugin>
288-
<plugin filename="gz-sim-mimic-joint-system" name="gz::sim::systems::MimicJoint">
289-
<joint>${prefix}robotiq_85_right_inner_knuckle_joint</joint>
290-
<mimic_joint>${prefix}robotiq_85_left_knuckle_joint</mimic_joint>
291-
<multiplier>1.0</multiplier>
292-
<offset>0.0</offset>
293-
</plugin>
294-
<plugin filename="gz-sim-mimic-joint-system" name="gz::sim::systems::MimicJoint">
295-
<joint>${prefix}robotiq_85_left_finger_tip_joint</joint>
296-
<mimic_joint>${prefix}robotiq_85_left_knuckle_joint</mimic_joint>
297-
<multiplier>-1.0</multiplier>
298-
<offset>0.0</offset>
299-
</plugin>
300-
<plugin filename="gz-sim-mimic-joint-system" name="gz::sim::systems::MimicJoint">
301-
<joint>${prefix}robotiq_85_right_finger_tip_joint</joint>
302-
<mimic_joint>${prefix}robotiq_85_left_knuckle_joint</mimic_joint>
303-
<multiplier>-1.0</multiplier>
304-
<offset>0.0</offset>
305-
</plugin>
306-
</gazebo>
307269

308270
<xacro:robotiq_85_gripper_transmission prefix="${prefix}" />
309271

Industrial/ros2_SimRealRobotControl_gz/packages/ur5/ros2srrc_ur5_gazebo/urdf/ur5_robotiq_2f85.urdf.xacro

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -94,10 +94,10 @@
9494

9595
</plugin>
9696

97-
<plugin filename="libgz_mimic_joint.so" name="gz_mimic_joint">
97+
<!--<plugin filename="libgz_mimic_joint.so" name="gz_mimic_joint::MimicJoint">
9898
<parent_joint>robotiq_85_left_knuckle_joint</parent_joint>
9999
<mimic_joint>robotiq_85_right_knuckle_joint</mimic_joint>
100-
</plugin>
100+
</plugin>-->
101101
</gazebo>
102102

103103
</xacro:unless>

0 commit comments

Comments
 (0)