Skip to content

Commit

Permalink
[ADD] add camera mount.stl mesh files and description to urdf
Browse files Browse the repository at this point in the history
  • Loading branch information
hollydinkel committed Apr 15, 2024
1 parent bf2957f commit ff001aa
Show file tree
Hide file tree
Showing 3 changed files with 24 additions and 2 deletions.
Binary file not shown.
Binary file not shown.
26 changes: 24 additions & 2 deletions abb_irb120_support/urdf/dual_arm_gripper_macro.xacro
Original file line number Diff line number Diff line change
Expand Up @@ -373,6 +373,22 @@
<xacro:material_abb_white />
</collision>
</link>
<link name="${prefix}camera_mount">
<visual>
<origin xyz="0 0 0" rpy="0 0 0"/>
<geometry>
<mesh filename="package://abb_irb120_support/meshes/irb120_3_58/visual/camera_mount.stl"/>
</geometry>
<xacro:material_abb_white />
</visual>
<collision>
<origin xyz="0 0 0" rpy="0 0 0"/>
<geometry>
<mesh filename="package://abb_irb120_support/meshes/irb120_3_58/visual/cube.stl" scale="0.0001 0.0003 0.0001"/>
</geometry>
<xacro:material_abb_white />
</collision>
</link>
<!-- Arm 1 Joints -->
<joint name="${prefix}joint_2" type="revolute">
<origin rpy="0 0 0" xyz="0 0 0"/>
Expand Down Expand Up @@ -456,7 +472,8 @@
<dynamics damping="0.0" friction="0.0"/>
</joint>
<joint name="${prefix}joint_6_m" type="revolute">
<origin rpy="0 ${radians(-90)} 0" xyz="-0.302 0 0"/>
<!-- <origin rpy="0 ${radians(-90)} 0" xyz="-0.302 0 0"/> -->
<origin rpy="0 0 0" xyz="-0.302 0 0"/>
<parent link="${prefix}link_4_m"/>
<child link="${prefix}link_5_m"/>
<limit effort="0" lower="-2.094395" upper="2.094395" velocity="5.58505"/>
Expand Down Expand Up @@ -487,8 +504,13 @@
<parent link="${prefix}gripper_base_m"/>
<child link="${prefix}gripper_tcp_m"/>
</joint>
<joint name="${prefix}camera_mount_joint" type="fixed">
<origin rpy="0 0 0" xyz="0 0 0"/>
<parent link="${prefix}link_6"/>
<child link="${prefix}camera_mount"/>
</joint>
<joint name="${prefix}camera_collision_joint" type="fixed">
<origin rpy="0 0 0" xyz="0.01801587 0.0156162 -0.03926776"/>
<origin rpy="0 0 0" xyz="0.01 0 -0.0373"/>
<parent link="${prefix}link_6"/>
<child link="${prefix}camera"/>
</joint>
Expand Down

0 comments on commit ff001aa

Please sign in to comment.