-
Notifications
You must be signed in to change notification settings - Fork 4
/
Copy pathsdf_template.xml
49 lines (49 loc) · 1.26 KB
/
sdf_template.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
37
38
39
40
41
42
43
44
45
46
47
48
49
<?xml version="1.0" ?>
<sdf version='1.6'>
<model name='{name}'>
<link name='{name}'>
<pose frame=''>0 0 0 0 0 0</pose>
<inertial>
<pose frame=''>{centroid_string}</pose>
<mass>{mass}</mass>
<inertia>
<ixx>{ixx}</ixx>
<ixy>{ixy}</ixy>
<ixz>{ixz}</ixz>
<iyy>{iyy}</iyy>
<iyz>{iyz}</iyz>
<izz>{izz}</izz>
</inertia>
</inertial>
<visual>
<pose frame=''>0 0 0 0 0 0</pose>
<geometry>
<mesh>
<scale>1 1 1</scale>
<uri>{mesh_path}</uri>
</mesh>
</geometry>
<material>
<ambient>{color_string}</ambient>
<diffuse>{color_string}</diffuse>
<specular>0.01 0.01 0.01 1</specular>
<emissive>0 0 0 1</emissive>
<shader type='vertex'>
<normal_map>__default__</normal_map>
</shader>
</material>
</visual>
<collision>
<pose frame=''>0 0 0 0 0 0</pose>
<geometry>
<mesh>
<scale>1 1 1</scale>
<uri>{mesh_path}</uri>
</mesh>
</geometry>
</collision>
<gravity>1</gravity>
<self_collide>0</self_collide>
</link>
</model>
</sdf>