Skip to content

Commit 8a43d1b

Browse files
committed
Aligned attachment links
1 parent 5589c29 commit 8a43d1b

File tree

1 file changed

+12
-6
lines changed

1 file changed

+12
-6
lines changed

clearpath_platform_description/urdf/a200/attachments/top_plate.urdf.xacro

Lines changed: 12 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -30,14 +30,14 @@
3030
<joint name="${name}_front_joint" type="fixed">
3131
<parent link="${name}_link" />
3232
<child link="${name}_front_mount"/>
33-
<origin xyz="0.4125 0 0.00672" rpy="0 0 0"/>
33+
<origin xyz="0.4937 0 0.00672" rpy="0 0 0"/>
3434
</joint>
3535
<!-- Top plate rear link-->
3636
<link name="${name}_rear_mount"/>
3737
<joint name="${name}_rear_joint" type="fixed">
3838
<parent link="${name}_link" />
3939
<child link="${name}_rear_mount"/>
40-
<origin xyz="-0.4125 0 0.00672" rpy="0 0 0"/>
40+
<origin xyz="-0.3313 0 0.00672" rpy="0 0 0"/>
4141
</joint>
4242
</xacro:if>
4343

@@ -84,20 +84,21 @@
8484
<joint name="${name}_front_joint" type="fixed">
8585
<parent link="${name}_link" />
8686
<child link="${name}_front_mount"/>
87-
<origin xyz="0.36367 0 0.00639" rpy="0 0 0"/>
87+
<origin xyz="0.44487 0 0.00639" rpy="0 0 0"/>
8888
</joint>
8989
<!-- Top plate rear link-->
9090
<link name="${name}_rear_mount"/>
9191
<joint name="${name}_rear_joint" type="fixed">
9292
<parent link="${name}_link" />
9393
<child link="${name}_rear_mount"/>
94-
<origin xyz="-0.36633 0 0.00639" rpy="0 0 0"/>
94+
<origin xyz="-0.28513 0 0.00639" rpy="0 0 0"/>
9595
</joint>
9696
</xacro:if>
9797

9898
<!-- PACS Model -->
9999
<xacro:if value="${model == 'pacs'}">
100100
<!-- Spawn top plate -->
101+
<link name="${name}_adjust_link"/>
101102
<link name="${name}_link">
102103
<visual>
103104
<origin xyz="0 0 0"/>
@@ -115,11 +116,16 @@
115116
</collision>
116117
</link>
117118
<!-- Attach PACS top plate -->
118-
<joint name="${name}_joint" type="fixed">
119-
<child link="${name}_link"/>
119+
<joint name="${name}_adjust_joint" type="fixed">
120+
<child link="${name}_adjust_link"/>
120121
<parent link="${parent_link}"/>
121122
<xacro:insert_block name="origin"/>
122123
</joint>
124+
<joint name="${name}_joint" type="fixed">
125+
<child link="${name}_link"/>
126+
<parent link="${name}_adjust_link"/>
127+
<origin xyz="0.04825 0.0 0.0" rpy="0.0 0.0 0.0"/>
128+
</joint>
123129

124130
<!-- Generate PACS mounts -->
125131
<xacro:full_mounts

0 commit comments

Comments
 (0)