forked from code-iai/iai_maps
-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathwine_cooler.urdf.xml
36 lines (29 loc) · 1.03 KB
/
wine_cooler.urdf.xml
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
<?xml version="1.0"?>
<robot name="wine_cooler">
<macro name="wine_cooler" params="name parent xyz rpy">
<link name="${parent}_${name}_wine_cooler_link">
<visual>
<geometry>
<mesh filename="package://iai_maps/Media/models/meshes/wine_cooler.dae" scale="0.03 0.03 0.03" />
</geometry>
<origin rpy="0 0 0" xyz="0 0 0" />
</visual>
<collision>
<geometry>
<mesh filename="package://iai_maps/Media/models/meshes/wine_cooler.dae" scale="0.03 0.03 0.03" />
</geometry>
<origin rpy="0 0 0" xyz="0 0 0" />
</collision>
<inertial>
<mass value="1000"/>
<cuboid_inertia_def width="1.1" height="1.8" length="1" mass="1000"/>
<origin rpy="0 0 0" xyz="0.48 0.3 0.9" />
</inertial>
</link>
<joint name="${parent}_${name}_wine_cooler_joint" type="fixed">
<origin xyz="${xyz}" rpy="${rpy}"/>
<parent link="${parent}_link"/>
<child link="${parent}_${name}_wine_cooler_link"/>
</joint>
</macro>
</robot>