Skip to content

Commit

Permalink
commit customized copy
Browse files Browse the repository at this point in the history
  • Loading branch information
MeiyingQin committed Jul 8, 2020
1 parent 66961ec commit 121ecf5
Show file tree
Hide file tree
Showing 4 changed files with 31 additions and 3 deletions.
28 changes: 28 additions & 0 deletions robotiq_2f_85_gripper_visualization/urdf/robotiq_cam.xacro
Original file line number Diff line number Diff line change
@@ -0,0 +1,28 @@
<?xml version="1.0"?>
<robot xmlns:xacro="http://ros.org/wiki/xacro">
<xacro:macro name="robotiq_cam" params="prefix">
<link name="${prefix}robotiq_cam_link">
<inertial>
<origin xyz="0 0 0" rpy="0 0 0" />
<mass value="0.16" />
<inertia ixx="0.000111" ixy="0.0" ixz="0.0" iyy="0.00007" iyz="0.000003" izy="0.000003" izz="0.000165" />
</inertial>
<visual>
<origin xyz="0 0 0" rpy="0 0 0" />
<geometry>
<cylinder length="0.0224" radius="0.038"/>
</geometry>
<material name="">
<color rgba="0 0 0.8 1" />
</material>
</visual>
<collision>
<origin xyz="0 0 0" rpy="0 0 0" />
<geometry>
<cylinder length="0.0224" radius="0.038"/>
</geometry>
</collision>
</link>
</xacro:macro>

</robot>
Original file line number Diff line number Diff line change
Expand Up @@ -695,7 +695,7 @@ there are multiple hands then a prefix followed by an "_" is needed.

<!-- joint attaching parent link to robotiq hand -->
<joint name="${prefix}robotiq_hand_joint" type="fixed">
<xacro:insert_block name="origin"/>
<insert_block name="origin"/>
<parent link="${parent}"/>
<child link="${prefix}palm"/>
</joint>
Expand Down
2 changes: 1 addition & 1 deletion robotiq_ft_sensor/urdf/robotiq_ft300.urdf.xacro
Original file line number Diff line number Diff line change
Expand Up @@ -21,7 +21,7 @@

<!-- mount the fts to the robot -->
<joint name="${prefix}ft300_fix" type="fixed">
<xacro:insert_block name="origin" />
<insert_block name="origin" />
<parent link="${parent}" />
<child link="${prefix}ft300_mounting_plate" />
</joint>
Expand Down
2 changes: 1 addition & 1 deletion robotiq_ft_sensor/urdf/robotiq_fts150.urdf.xacro
Original file line number Diff line number Diff line change
Expand Up @@ -6,7 +6,7 @@
<!-- mount the fts to the robot -->
<joint name="${prefix}fts_fix" type="fixed" >
<!--In most cases origin would be flange adapter plate: <origin xyz="0 0 0.009" rpy="0 0 0"/> /-->
<xacro:insert_block name="origin" />
<insert_block name="origin" />
<parent link="${parent}" />
<child link="${prefix}fts_robotside" />
</joint>
Expand Down

0 comments on commit 121ecf5

Please sign in to comment.