Debian Codegraph @

data/skel/test/test_shapes.skel

raw
1 <?xml version="1.0" ?>
2 <skel version="1.0">
3 <world name="world 1">
4 <physics>
5 <time_step>0.001</time_step>
6 <gravity>0 -9.81 0</gravity>
7 <collision_detector>bullet</collision_detector>
8 </physics>
9
10 <skeleton name="ground skeleton">
11 <body name="ground">
12 <transformation>0 -0.375 0 0 0 0</transformation>
13 <visualization_shape>
14 <transformation>0 -0.005 0 0 0 0</transformation>
15 <geometry>
16 <box>
17 <size>10 0.01 10</size>
18 </box>
19 </geometry>
20 <color>0.95 0.95 0.95</color>
21 </visualization_shape>
22 <collision_shape>
23 <transformation>0 -0.005 0 0 0 0</transformation>
24 <geometry>
25 <box>
26 <size>10 0.01 10</size>
27 </box>
28 </geometry>
29 </collision_shape>
30 </body>
31 <joint type="weld" name="joint 1">
32 <parent>world</parent>
33 <child>ground</child>
34 </joint>
35 </skeleton>
36
37 <skeleton name="box skeleton">
38 <body name="box">
39 <gravity>1</gravity>
40 <transformation>-0.4 -0.0 0 1 2 3</transformation>
41 <inertia>
42 <mass>1</mass>
43 <offset>0 0 0</offset>
44 </inertia>
45 <visualization_shape>
46 <transformation>0 0 0 0 0 0</transformation>
47 <geometry>
48 <box>
49 <size>0.1 0.05 0.1</size>
50 </box>
51 </geometry>
52 <color>0.8 0.3 0.3</color>
53 </visualization_shape>
54 <collision_shape>
55 <transformation>0 0 0 0 0 0</transformation>
56 <geometry>
57 <box>
58 <size>0.1 0.05 0.1</size>
59 </box>
60 </geometry>
61 </collision_shape>
62 </body>
63
64 <joint type="free" name="joint 1">
65 <parent>world</parent>
66 <child>box</child>
67 </joint>
68 </skeleton>
69
70 <skeleton name="sphere skeleton">
71 <body name="sphere">
72 <gravity>1</gravity>
73 <transformation>-0.2 -0.0 0 1 2 3</transformation>
74 <inertia>
75 <mass>1</mass>
76 <offset>0 0 0</offset>
77 </inertia>
78 <visualization_shape>
79 <transformation>0 0 0 0 0 0</transformation>
80 <geometry>
81 <sphere>
82 <radius>0.05</radius>
83 </sphere>
84 </geometry>
85 <color>0.3 0.8 0.3</color>
86 </visualization_shape>
87 <collision_shape>
88 <transformation>0 0 0 0 0 0</transformation>
89 <geometry>
90 <sphere>
91 <radius>0.05</radius>
92 </sphere>
93 </geometry>
94 </collision_shape>
95 </body>
96
97 <joint type="free" name="joint 1">
98 <parent>world</parent>
99 <child>sphere</child>
100 </joint>
101 </skeleton>
102
103 <skeleton name="ellipsoid skeleton">
104 <body name="ellipsoid">
105 <gravity>1</gravity>
106 <transformation>-0.0 -0.0 0 1 2 3</transformation>
107 <inertia>
108 <mass>1</mass>
109 <offset>0 0 0</offset>
110 </inertia>
111 <visualization_shape>
112 <transformation>0 0 0 0 0 0</transformation>
113 <geometry>
114 <ellipsoid>
115 <size>0.05 0.10 0.15</size>
116 </ellipsoid>
117 </geometry>
118 <color>0.8 0.8 0.4</color>
119 </visualization_shape>
120 <collision_shape>
121 <transformation>0 0 0 0 0 0</transformation>
122 <geometry>
123 <ellipsoid>
124 <size>0.05 0.10 0.15</size>
125 </ellipsoid>
126 </geometry>
127 </collision_shape>
128 </body>
129
130 <joint type="free" name="joint 1">
131 <parent>world</parent>
132 <child>ellipsoid</child>
133 </joint>
134 </skeleton>
135
136 <skeleton name="cylinder skeleton">
137 <body name="cylinder">
138 <gravity>1</gravity>
139 <transformation>0.2 -0.0 0 1 2 3</transformation>
140 <inertia>
141 <mass>1</mass>
142 <offset>0 0 0</offset>
143 </inertia>
144 <visualization_shape>
145 <transformation>0 0 0 0 0 0</transformation>
146 <geometry>
147 <cylinder>
148 <height>0.1</height>
149 <radius>0.05</radius>
150 </cylinder>
151 </geometry>
152 <color>0.6 0.6 0.8</color>
153 </visualization_shape>
154 <collision_shape>
155 <transformation>0 0 0 0 0 0</transformation>
156 <geometry>
157 <cylinder>
158 <height>0.1</height>
159 <radius>0.05</radius>
160 </cylinder>
161 </geometry>
162 </collision_shape>
163 </body>
164
165 <joint type="free" name="joint 1">
166 <parent>world</parent>
167 <child>cylinder</child>
168 </joint>
169 </skeleton>
170
171 <skeleton name="capsule skeleton">
172 <body name="capsule">
173 <gravity>1</gravity>
174 <transformation>0.4 -0.0 0 1 2 3</transformation>
175 <inertia>
176 <mass>1</mass>
177 <offset>0 0 0</offset>
178 </inertia>
179 <visualization_shape>
180 <transformation>0 0 0 0 0 0</transformation>
181 <geometry>
182 <capsule>
183 <height>0.1</height>
184 <radius>0.05</radius>
185 </capsule>
186 </geometry>
187 <color>0.6 0.6 0.8</color>
188 </visualization_shape>
189 <collision_shape>
190 <transformation>0 0 0 0 0 0</transformation>
191 <geometry>
192 <capsule>
193 <height>0.1</height>
194 <radius>0.05</radius>
195 </capsule>
196 </geometry>
197 </collision_shape>
198 </body>
199
200 <joint type="free" name="joint 1">
201 <parent>world</parent>
202 <child>capsule</child>
203 </joint>
204 </skeleton>
205
206 <skeleton name="cone skeleton">
207 <body name="cone">
208 <gravity>1</gravity>
209 <transformation>0.6 -0.0 0 1 2 3</transformation>
210 <inertia>
211 <mass>1</mass>
212 <offset>0 0 0</offset>
213 </inertia>
214 <visualization_shape>
215 <transformation>0 0 0 0 0 0</transformation>
216 <geometry>
217 <cone>
218 <height>0.1</height>
219 <radius>0.05</radius>
220 </cone>
221 </geometry>
222 <color>0.6 0.6 0.8</color>
223 </visualization_shape>
224 <collision_shape>
225 <transformation>0 0 0 0 0 0</transformation>
226 <geometry>
227 <cone>
228 <height>0.1</height>
229 <radius>0.05</radius>
230 </cone>
231 </geometry>
232 </collision_shape>
233 </body>
234
235 <joint type="free" name="joint 1">
236 <parent>world</parent>
237 <child>cone</child>
238 </joint>
239 </skeleton>
240
241 <skeleton name="multi sphere skeleton">
242 <body name="multi sphere">
243 <gravity>1</gravity>
244 <transformation>0.8 -0.0 0 1 2 3</transformation>
245 <inertia>
246 <mass>1</mass>
247 <offset>0 0 0</offset>
248 </inertia>
249 <visualization_shape>
250 <transformation>0 0 0 0 0 0</transformation>
251 <geometry>
252 <multi_sphere>
253 <sphere>
254 <radius>0.05</radius>
255 <position>-0.075 0.0 0.0</position>
256 </sphere>
257 <sphere>
258 <radius>0.075</radius>
259 <position>0.075 0.0 0.0</position>
260 </sphere>
261 </multi_sphere>
262 </geometry>
263 <color>0.6 0.6 0.8</color>
264 </visualization_shape>
265 <collision_shape>
266 <transformation>0 0 0 0 0 0</transformation>
267 <geometry>
268 <multi_sphere>
269 <sphere>
270 <radius>0.05</radius>
271 <position>-0.075 0.0 0.0</position>
272 </sphere>
273 <sphere>
274 <radius>0.075</radius>
275 <position>0.075 0.0 0.0</position>
276 </sphere>
277 </multi_sphere>
278 </geometry>
279 </collision_shape>
280 </body>
281
282 <joint type="free" name="joint 1">
283 <parent>world</parent>
284 <child>multi sphere</child>
285 </joint>
286 </skeleton>
287
288 <skeleton name="mesh skeleton">
289 <body name="mesh">
290 <gravity>1</gravity>
291 <transformation>1.0 -0.0 0 1 2 3</transformation>
292 <inertia>
293 <mass>1</mass>
294 <offset>0 0 0</offset>
295 </inertia>
296 <visualization_shape>
297 <transformation>0 0 0 0 0 0</transformation>
298 <geometry>
299 <mesh>
300 <file_name>../../obj/foot.obj</file_name>
301 <scale>1.0 1.0 1.0</scale>
302 </mesh>
303 </geometry>
304 <color>0.6 0.6 0.8</color>
305 </visualization_shape>
306 <collision_shape>
307 <transformation>0 0 0 0 0 0</transformation>
308 <geometry>
309 <mesh>
310 <file_name>../../obj/foot.obj</file_name>
311 <scale>1.0 1.0 1.0</scale>
312 </mesh>
313 </geometry>
314 </collision_shape>
315 </body>
316
317 <joint type="free" name="joint 1">
318 <parent>world</parent>
319 <child>mesh</child>
320 </joint>
321 </skeleton>
322
323 </world>
324 </skel>