Debian Codegraph @

Models/Airport/Pushback/Military.xml

raw symbols SCIP
1 <?xml version="1.0"?>
2 <PropertyList>
3 <path>Military.ac</path>
4
5 <!-- Trucks models and artworks courtesy of XPGoodWay Team
6 (http://www.xpgoodwayteam.org/site_xpushback/) -->
7
8 <animation>
9 <type>select</type>
10 <condition>
11 <property>sim/model/pushback/enabled</property>
12 <property>gear/gear[0]/wow</property>
13 </condition>
14 </animation>
15
16 <!-- switch to night/day textures -->
17
18 <animation>
19 <type>textranslate</type>
20 <object-name>BacklightLOff</object-name>
21 <object-name>BacklightROff</object-name>
22 <object-name>BacklightLOn</object-name>
23 <object-name>BacklightROn</object-name>
24 <object-name>Mesh</object-name>
25 <object-name>Towbar</object-name>
26 <object-name>TowbarWheelL</object-name>
27 <object-name>TowbarWheelR</object-name>
28 <object-name>WheelLB</object-name>
29 <object-name>WheelLC</object-name>
30 <object-name>WheelLF</object-name>
31 <object-name>WheelRB</object-name>
32 <object-name>WheelRC</object-name>
33 <object-name>WheelRF</object-name>
34 <property>/sim/time/sun-angle-rad</property>
35 <step>1.60 </step>
36 <factor>0.318471338</factor>
37 <center>
38 <x-m>0</x-m>
39 <y-m>0</y-m>
40 <z-m>0</z-m>
41 </center>
42 <axis>
43 <x>-1</x>
44 <y>0</y>
45 <z>0</z>
46 </axis>
47 </animation>
48
49 <animation>
50 <type>material</type>
51 <object-name>BacklightLOff</object-name>
52 <object-name>BacklightROff</object-name>
53 <object-name>BacklightLOn</object-name>
54 <object-name>BacklightROn</object-name>
55 <object-name>Mesh</object-name>
56 <object-name>Towbar</object-name>
57 <object-name>TowbarWheelL</object-name>
58 <object-name>TowbarWheelR</object-name>
59 <object-name>WheelLB</object-name>
60 <object-name>WheelLC</object-name>
61 <object-name>WheelLF</object-name>
62 <object-name>WheelRB</object-name>
63 <object-name>WheelRC</object-name>
64 <object-name>WheelRF</object-name>
65 <condition>
66 <greater-than>
67 <property>/sim/time/sun-angle-rad</property>
68 <value>1.60</value>
69 </greater-than>
70 </condition>
71 <emission>
72 <red>1</red>
73 <green>1</green>
74 <blue>1</blue>
75 </emission>
76 </animation>
77
78 <animation>
79 <type>material</type>
80 <object-name>BacklightLOff</object-name>
81 <object-name>BacklightROff</object-name>
82 <object-name>BacklightLOn</object-name>
83 <object-name>BacklightROn</object-name>
84 <object-name>Mesh</object-name>
85 <object-name>Towbar</object-name>
86 <object-name>TowbarWheelL</object-name>
87 <object-name>TowbarWheelR</object-name>
88 <object-name>WheelLB</object-name>
89 <object-name>WheelLC</object-name>
90 <object-name>WheelLF</object-name>
91 <object-name>WheelRB</object-name>
92 <object-name>WheelRC</object-name>
93 <object-name>WheelRF</object-name>
94 <condition>
95 <less-than-equals>
96 <property>/sim/time/sun-angle-rad</property>
97 <value>1.60</value>
98 </less-than-equals>
99 </condition>
100 <emission>
101 <red>0</red>
102 <green>0</green>
103 <blue>0</blue>
104 </emission>
105 </animation> <!-- compensate for pitch of aircraft, keep pushback level -->
106 <animation>
107 <type>rotate</type>
108 <property>orientation/pitch-deg</property>
109 <factor>-1</factor>
110 <center>
111 <x-m>0</x-m>
112 <y-m>0</y-m>
113 <z-m>0</z-m>
114 </center>
115 <axis>
116 <x>0</x>
117 <y>1</y>
118 <z>0</z>
119 </axis>
120 </animation>
121
122 <!-- compensate for roll of aircraft, keep pushback level -->
123 <animation>
124 <type>rotate</type>
125 <property>orientation/roll-deg</property>
126 <factor>1</factor>
127 <center>
128 <x-m>0</x-m>
129 <y-m>0</y-m>
130 <z-m>0</z-m>
131 </center>
132 <axis>
133 <x>1</x>
134 <y>0</y>
135 <z>0</z>
136 </axis>
137 </animation>
138
139 <animation>
140 <type>timed</type>
141 <object-name>BacklightOn</object-name>
142 <object-name>BacklightOff</object-name>
143 <use-personality type="bool">true</use-personality>
144 <branch-duration-sec>0.8</branch-duration-sec>
145 <branch-duration-sec>0.2</branch-duration-sec>
146 </animation>
147
148 <animation>
149 <type>rotate</type>
150 <object-name>Towbar</object-name>
151 <object-name>TowbarWheelL</object-name>
152 <object-name>TowbarWheelR</object-name>
153 <object-name>BacklightLOff</object-name>
154 <object-name>BacklightROff</object-name>
155 <object-name>BacklightLOn</object-name>
156 <object-name>BacklightROn</object-name>
157 <object-name>Mesh</object-name>
158 <object-name>Mesh.001</object-name>
159 <object-name>WheelLB</object-name>
160 <object-name>WheelLC</object-name>
161 <object-name>WheelLF</object-name>
162 <object-name>WheelRB</object-name>
163 <object-name>WheelRC</object-name>
164 <object-name>WheelRF</object-name>
165 <object-name>haze</object-name>
166 <condition>
167 <greater-than>
168 <property>sim/model/pushback/position-norm</property>
169 <value>0.99</value>
170 </greater-than>
171 </condition>
172 <property>gear/gear[0]/steering-norm</property>
173 <factor>-35</factor>
174 <center>
175 <x-m>0.00</x-m>
176 <y-m>0.00</y-m>
177 <z-m>0.00</z-m>
178 </center>
179 <axis>
180 <x>0</x>
181 <y>0</y>
182 <z>1</z>
183 </axis>
184 </animation>
185
186 <animation>
187 <type>rotate</type>
188 <object-name>BacklightLOff</object-name>
189 <object-name>BacklightROff</object-name>
190 <object-name>BacklightLOn</object-name>
191 <object-name>BacklightROn</object-name>
192 <object-name>Mesh</object-name>
193 <object-name>Mesh.001</object-name>
194 <object-name>WheelLB</object-name>
195 <object-name>WheelLC</object-name>
196 <object-name>WheelLF</object-name>
197 <object-name>WheelRB</object-name>
198 <object-name>WheelRC</object-name>
199 <object-name>WheelRF</object-name>
200 <object-name>haze</object-name>
201 <condition>
202 <greater-than>
203 <property>sim/model/pushback/position-norm</property>
204 <value>0.99</value>
205 </greater-than>
206 </condition>
207 <property>gear/gear[0]/steering-norm</property>
208 <factor>-35</factor>
209 <center>
210 <x-m>-4.37</x-m>
211 <y-m>0.00</y-m>
212 <z-m>0.00</z-m>
213 </center>
214 <axis>
215 <x>0</x>
216 <y>0</y>
217 <z>1</z>
218 </axis>
219 </animation>
220
221 <animation>
222 <type>spin</type>
223 <object-name>WheelLF</object-name>
224 <object-name>WheelRF</object-name>
225 <property>velocities/uBody-fps</property>
226 <factor>-5.292</factor>
227 <center>
228 <x-m>-9.81971</x-m>
229 <y-m>0</y-m>
230 <z-m>0.546382</z-m>
231 </center>
232 <axis>
233 <x>0</x>
234 <y>1</y>
235 <z>0</z>
236 </axis>
237 </animation>
238
239 <animation>
240 <type>spin</type>
241 <object-name>WheelLC</object-name>
242 <object-name>WheelRC</object-name>
243 <property>velocities/uBody-fps</property>
244 <factor>-5.292</factor>
245 <center>
246 <x-m>-6.41481</x-m>
247 <y-m>0</y-m>
248 <z-m>0.546382</z-m>
249 </center>
250 <axis>
251 <x>0</x>
252 <y>1</y>
253 <z>0</z>
254 </axis>
255 </animation>
256
257 <animation>
258 <type>spin</type>
259 <object-name>WheelLB</object-name>
260 <object-name>WheelRB</object-name>
261 <property>velocities/uBody-fps</property>
262 <factor>-5.292</factor>
263 <center>
264 <x-m>-5.22756</x-m>
265 <y-m>0</y-m>
266 <z-m>0.546382</z-m>
267 </center>
268 <axis>
269 <x>0</x>
270 <y>1</y>
271 <z>0</z>
272 </axis>
273 </animation>
274
275 <animation>
276 <type>spin</type>
277 <object-name>TowbarWheelL</object-name>
278 <object-name>TowbarWheelR</object-name>
279 <property>velocities/uBody-fps</property>
280 <factor>-16.17</factor>
281 <center>
282 <x-m>-1.87996</x-m>
283 <y-m>0</y-m>
284 <z-m>0.190432</z-m>
285 </center>
286 <axis>
287 <x>0</x>
288 <y>1</y>
289 <z>0</z>
290 </axis>
291 </animation>
292
293 <!-- change heading of the pushback when driving the arc -->
294 <animation>
295 <type>rotate</type>
296 <property>sim/model/pushback/position-norm</property>
297 <factor>-90</factor>
298 <offset-deg>90</offset-deg>
299 <center>
300 <x-m>-7.3</x-m>
301 <y-m>0</y-m>
302 <z-m>0</z-m>
303 </center>
304 <axis>
305 <x>0</x>
306 <y>0</y>
307 <z>1</z>
308 </axis>
309 </animation>
310
311 <!-- compensate for gear compression --> <animation>
312 <type>translate</type>
313 <property>gear/gear[0]/compression-ft</property>
314 <factor>0.3048</factor>
315 <axis>
316 <x>0</x>
317 <y>0</y>
318 <z>1</z>
319 </axis>
320 </animation>
321
322 <!-- precalculated sin and asin to move the pushback on a 90deg arc, 25m radius -->
323 <animation>
324 <type>translate</type>
325 <property>sim/model/pushback/position-norm</property>
326 <interpolation>
327 <entry><ind>1.000000</ind><dep>0.000000</dep></entry>
328 <entry><ind>0.950000</ind><dep>1.961477</dep></entry>
329 <entry><ind>0.900000</ind><dep>3.910862</dep></entry>
330 <entry><ind>0.850000</ind><dep>5.836134</dep></entry>
331 <entry><ind>0.800000</ind><dep>7.725425</dep></entry>
332 <entry><ind>0.750000</ind><dep>9.567086</dep></entry>
333 <entry><ind>0.700000</ind><dep>11.349763</dep></entry>
334 <entry><ind>0.650000</ind><dep>13.062464</dep></entry>
335 <entry><ind>0.600000</ind><dep>14.694631</dep></entry>
336 <entry><ind>0.550000</ind><dep>16.236201</dep></entry>
337 <entry><ind>0.500000</ind><dep>17.677670</dep></entry>
338 <entry><ind>0.450000</ind><dep>19.010149</dep></entry>
339 <entry><ind>0.400000</ind><dep>20.225425</dep></entry>
340 <entry><ind>0.350000</ind><dep>21.316004</dep></entry>
341 <entry><ind>0.300000</ind><dep>22.275163</dep></entry>
342 <entry><ind>0.250000</ind><dep>23.096988</dep></entry>
343 <entry><ind>0.200000</ind><dep>23.776413</dep></entry>
344 <entry><ind>0.150000</ind><dep>24.309248</dep></entry>
345 <entry><ind>0.100000</ind><dep>24.692209</dep></entry>
346 <entry><ind>0.050000</ind><dep>24.922933</dep></entry>
347 <entry><ind>0.000000</ind><dep>25.000000</dep></entry>
348 </interpolation>
349 <axis>
350 <x>-1</x>
351 <y>0</y>
352 <z>0</z>
353 </axis>
354 </animation>
355
356 <animation>
357 <type>translate</type>
358 <property>sim/model/pushback/position-norm</property>
359 <interpolation>
360 <entry><ind>1.000000</ind><dep>0.000000</dep></entry>
361 <entry><ind>0.950000</ind><dep>0.077067</dep></entry>
362 <entry><ind>0.900000</ind><dep>0.307791</dep></entry>
363 <entry><ind>0.850000</ind><dep>0.690752</dep></entry>
364 <entry><ind>0.800000</ind><dep>1.223587</dep></entry>
365 <entry><ind>0.750000</ind><dep>1.903012</dep></entry>
366 <entry><ind>0.700000</ind><dep>2.724837</dep></entry>
367 <entry><ind>0.650000</ind><dep>3.683996</dep></entry>
368 <entry><ind>0.600000</ind><dep>4.774575</dep></entry>
369 <entry><ind>0.550000</ind><dep>5.989851</dep></entry>
370 <entry><ind>0.500000</ind><dep>7.322330</dep></entry>
371 <entry><ind>0.450000</ind><dep>8.763799</dep></entry>
372 <entry><ind>0.400000</ind><dep>10.305369</dep></entry>
373 <entry><ind>0.350000</ind><dep>11.937536</dep></entry>
374 <entry><ind>0.300000</ind><dep>13.650238</dep></entry>
375 <entry><ind>0.250000</ind><dep>15.432914</dep></entry>
376 <entry><ind>0.200000</ind><dep>17.274575</dep></entry>
377 <entry><ind>0.150000</ind><dep>19.163866</dep></entry>
378 <entry><ind>0.100000</ind><dep>21.089138</dep></entry>
379 <entry><ind>0.050000</ind><dep>23.038523</dep></entry>
380 <entry><ind>0.000000</ind><dep>25.000000</dep></entry>
381 </interpolation>
382 <axis>
383 <x>0</x>
384 <y>-1</y>
385 <z>0</z>
386 </axis>
387 </animation>
388
389 <particlesystem>
390
391 <type>normal</type>
392 <name>haze</name>
393 <texture>Military-smoke.png</texture>
394 <emissive>false</emissive>
395 <lighting>true</lighting>
396
397 <offsets>
398 <x-m>-7.97326</x-m>
399 <y-m>0.924717</y-m>
400 <z-m>2.94923</z-m>
401 </offsets>
402
403 <attach>world</attach>
404
405 <placer>
406 <type>point</type>
407 </placer>
408
409 <shooter>
410 <theta-min-deg>0</theta-min-deg>
411 <theta-max-deg>0</theta-max-deg>
412 <phi-min-deg>0</phi-min-deg>
413 <phi-max-deg>0</phi-max-deg>
414 <speed-mps>
415 <property>/sim/model/pushback/force</property>
416 <factor>0.005</factor>
417 <offset-m>5</offset-m>
418 <spread>0</spread>
419 <min-m>1</min-m>
420 <max-m>20</max-m>
421 </speed-mps>
422 <rotation-speed>
423 <x-max-deg-sec>0</x-max-deg-sec>
424 <x-min-deg-sec>0</x-min-deg-sec>
425 <y-max-deg-sec>0</y-max-deg-sec>
426 <y-min-deg-sec>0</y-min-deg-sec>
427 <z-max-deg-sec>0</z-max-deg-sec>
428 <z-min-deg-sec>0</z-min-deg-sec>
429 </rotation-speed>
430 </shooter>
431
432 <counter>
433 <particles-per-sec>
434 <property>/sim/model/pushback/force</property>
435 <factor>0.005</factor>
436 <offset-m>5</offset-m>
437 <spread>0</spread>
438 <min-m>5</min-m>
439 <max-m>20</max-m>
440 </particles-per-sec>
441 </counter>
442
443 <align>billboard</align>
444
445 <particle>
446 <start>
447 <color>
448 <red>
449 <value>1.0</value>
450 </red>
451 <green>
452 <value>1.0</value>
453 </green>
454 <blue>
455 <value>1.0</value>
456 </blue>
457 <alpha>
458 <value>0.20</value>
459 </alpha>
460 </color>
461 <size>
462 <value>0.1</value>
463 </size>
464 </start>
465 <end>
466 <color>
467 <red>
468 <value>0.0</value>
469 </red>
470 <green>
471 <value>0.0</value>
472 </green>
473 <blue>
474 <value>0.0</value>
475 </blue>
476 <alpha>
477 <value>1.000</value>
478 </alpha>
479 </color>
480 <size>
481 <value>3</value>
482 </size>
483 </end>
484 <life-sec>
485 <value>3.0</value>
486 </life-sec>
487 <mass-kg>0.05</mass-kg>
488 <radius-m>0.3</radius-m>
489 </particle>
490
491 <program>
492 <fluid>air</fluid>
493 <gravity>true</gravity>
494 <wind>true</wind>
495 </program>
496
497 </particlesystem>
498
499 </PropertyList>