Skip to content

Commit 04cb724

Browse files
committed
Add new URDFs from Rhys, add cellular & wifi antennas to the observer arch. Add new wireless charger attachment
1 parent 8a31dde commit 04cb724

File tree

6 files changed

+78
-1
lines changed

6 files changed

+78
-1
lines changed
7.7 KB
Binary file not shown.
79 KB
Binary file not shown.
14.1 KB
Binary file not shown.
3.6 KB
Binary file not shown.

clearpath_platform_description/urdf/a300/attachments/observer_arch.urdf.xacro

Lines changed: 52 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,10 @@
11
<?xml version="1.0" ?>
22
<robot xmlns:xacro="http://wiki.ros.org.xacro">
33
<xacro:macro name="observer_arch" params="name parent_link:=default_mount model:=observer_arch *origin">
4+
5+
<!--
6+
Main sensor arch
7+
-->
48
<link name="${name}_link">
59
<visual>
610
<geometry>
@@ -26,7 +30,54 @@
2630
</joint>
2731

2832
<!--
29-
Sensor mounting points
33+
Standard antennas & accessories
34+
-->
35+
<link name="${name}_cellular_antenna">
36+
<visual>
37+
<geometry>
38+
<mesh filename="package://clearpath_platform_description/meshes/a300/attachments/observer_cellular_antenna.stl" scale="0.001 0.001 0.001" />
39+
</geometry>
40+
<material name="clearpath_black" />
41+
<origin xyz="0 0 0" rpy="0 0 0" />
42+
</visual>
43+
<collision>
44+
<geometry>
45+
<!-- TODO: replace with box -->
46+
<mesh filename="package://clearpath_platform_description/meshes/a300/attachments/observer_cellular_antenna.stl" scale="0.001 0.001 0.001" />
47+
</geometry>
48+
<origin xyz="0 0 0" rpy="0 0 0" />
49+
</collision>
50+
</link>
51+
<joint name="${name}_cellular_antenna_joint" type="fixed">
52+
<parent link="${name}_link" />
53+
<child link="${name}_cellular_antenna" />
54+
<origin xyz="0 0 0" rpy="0 0 0" />
55+
</joint>
56+
57+
<link name="${name}_wifi_antennas">
58+
<visual>
59+
<geometry>
60+
<mesh filename="package://clearpath_platform_description/meshes/a300/attachments/observer_wifi_antennas.stl" scale="0.001 0.001 0.001" />
61+
</geometry>
62+
<material name="clearpath_black" />
63+
<origin xyz="0 0 0" rpy="0 0 0" />
64+
</visual>
65+
<collision>
66+
<geometry>
67+
<!-- TODO: replace with dual cylinders -->
68+
<mesh filename="package://clearpath_platform_description/meshes/a300/attachments/observer_wifi_antennas.stl" scale="0.001 0.001 0.001" />
69+
</geometry>
70+
<origin xyz="0 0 0" rpy="0 0 0" />
71+
</collision>
72+
</link>
73+
<joint name="${name}_wifi_antennas_joint" type="fixed">
74+
<parent link="${name}_link" />
75+
<child link="${name}_wifi_antennas" />
76+
<origin xyz="0 0 0" rpy="0 0 0" />
77+
</joint>
78+
79+
<!--
80+
Sensor mounting points
3081
-->
3182

3283
<link name="${name}_left_antenna_mount" />
Lines changed: 26 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,26 @@
1+
<?xml version="1.0" ?>
2+
<robot xmlns:xacro="http://wiki.ros.org/xacro">
3+
<xacro:macro name="wireless_charger" params="name parent_link:=base_link model:=default *origin">
4+
<link name="${name}_link">
5+
<visual>
6+
<geometry>
7+
<mesh filename="package://clearpath_platform_description/meshes/a300/attachments/wireless_charger.stl" scale="0.001 0.001 0.001" />
8+
</geometry>
9+
<material name="clearpath_black" />
10+
<origin xyz="0 0 0" rpy="0 0 0" />
11+
</visual>
12+
<collision>
13+
<geometry>
14+
<!-- TODO: replace with box -->
15+
<mesh filename="package://clearpath_platform_description/meshes/a300/attachments/wireless_charger.stl" scale="0.001 0.001 0.001" />
16+
</geometry>
17+
<origin xyz="0 0 0" rpy="0 0 0" />
18+
</collision>
19+
</link>
20+
<joint name="${name}_wireless_charger_joint" type="fixed">
21+
<parent link="${parent_link}" />
22+
<child link="${name}_link" />
23+
<xacro:insert_block name="origin" />
24+
</joint>
25+
</xacro:macro>
26+
</robot>

0 commit comments

Comments
 (0)