Add a generic playback protocol, in preparation for the generic input code.
[fg:toms-fgdata.git] / Protocol / playback.xml
1 <?xml version="1.0"?>
2
3 <PropertyList>
4
5  <generic>
6
7   <output>
8    <line_separator>newline</line_separator>
9    <var_separator>,</var_separator>
10
11
12    <!-- Flight Controls -->
13    <chunk>
14     <name>aileron</name>
15     <type>double</type>
16     <node>/controls/flight/aileron</node>
17    </chunk>
18
19    <chunk>
20     <name>aileron-trim</name>
21     <type>double</type>
22     <node>/controls/flight/aileron-trim</node>
23    </chunk>
24  
25    <chunk>
26     <name>elevator</name>
27     <type>double</type>
28     <node>/controls/flight/elevator</node>
29    </chunk>
30  
31    <chunk>
32     <name>elevator-trim</name>
33     <type>double</type>
34     <node>/controls/flight/elevator-trim</node>
35    </chunk>
36  
37    <chunk>
38     <name>rudder</name>
39     <type>double</type>
40     <node>/controls/flight/rudder</node>
41    </chunk>
42  
43    <chunk>
44     <name>rudder-trim</name>
45     <type>double</type>
46     <node>/controls/flight/rudder-trim</node>
47    </chunk>
48  
49    <chunk>
50     <name>flaps</name>
51     <type>double</type>
52     <node>/controls/flight/flaps</node>
53    </chunk>
54  
55    <chunk>
56     <name>slats</name>
57     <type>double</type>
58     <node>/controls/flight/slats</node>
59    </chunk>
60  
61    <chunk>
62     <name>speedbrake</name>
63     <type>double</type>
64     <node>/controls/flight/speedbrake</node>
65    </chunk>
66  
67
68    <!-- Engines -->
69    <chunk>
70     <name>throttle</name>
71     <type>double</type>
72     <node>/controls/engines/engine[0]/throttle</node>
73    </chunk>
74    <name>throttle</name>
75     <type>double</type>
76     <node>/controls/engines/engine[1]/throttle</node>
77    </chunk>
78
79    <chunk>
80     <name>starter</name>
81     <type>double</type>
82     <node>/controls/engines/engine[0]/starter</node>
83    </chunk>
84    <name>starter</name>
85     <type>double</type>
86     <node>/controls/engines/engine[1]/starter</node>
87    </chunk>
88
89    <chunk>
90     <name>fuel-pump</name>
91     <type>double</type>
92     <node>/controls/engines/engine[0]/fuel-pump</node>
93    </chunk>
94    <name>fuel-pump</name>
95     <type>double</type>
96     <node>/controls/engines/engine[1]/fuel-pump</node>
97    </chunk>
98
99    <chunk>
100     <name>cutoff</name>
101     <type>double</type>
102     <node>/controls/engines/engine[0]/cutoff</node>
103    </chunk>
104    <name>cutoff</name>
105     <type>double</type>
106     <node>/controls/engines/engine[1]/cutoff</node>
107    </chunk>
108
109    <chunk>
110     <name>mixture</name>
111     <type>double</type>
112     <node>/controls/engines/engine[0]/mixture</node>
113    </chunk>
114    <name>mixture</name>
115     <type>double</type>
116     <node>/controls/engines/engine[1]/mixture</node>
117    </chunk>
118
119    <chunk>
120     <name>propeller-pitch</name>
121     <type>double</type>
122     <node>/controls/engines/engine[0]/propeller-pitch</node>
123    </chunk>
124    <name>propeller-pitch</name>
125     <type>double</type>
126     <node>/controls/engines/engine[1]/propeller-pitch</node>
127    </chunk>
128
129    <chunk>
130     <name>magnetos</name>
131     <type>double</type>
132     <node>/controls/engines/engine[0]/magnetos</node>
133    </chunk>
134    <name>magnetos</name>
135     <type>double</type>
136     <node>/controls/engines/engine[1]/magnetos</node>
137    </chunk>
138
139    <chunk>
140     <name>ignition</name>
141     <type>double</type>
142     <node>/controls/engines/engine[0]/ignition</node>
143    </chunk>
144    <name>ignition</name>
145     <type>double</type>
146     <node>/controls/engines/engine[1]/ignition</node>
147    </chunk>
148
149  
150    <!-- Gear -->
151    <chunk>
152     <name>brake-left</name>
153     <type>double</type>
154     <node>/controls/gear/brake-left</node>
155    </chunk>
156
157    <chunk>
158     <name>brake-right</name>
159     <type>double</type>
160     <node>/controls/gear/brake-right</node>
161    </chunk>
162
163    <chunk>
164     <name>brake-parking</name>
165     <type>double</type>
166     <node>/controls/gear/brake-parking</node>
167    </chunk>
168
169    <chunk>
170     <name>steering</name>
171     <type>double</type>
172     <node>/controls/gear/steering</node>
173    </chunk>
174
175    <chunk>
176     <name>gear-down</name>
177     <type>double</type>
178     <node>/controls/gear/gear-down</node>
179    </chunk>
180
181    <!-- Hydraulics -->
182    <chunk>
183     <name>engine-pump</name>
184     <type>double</type>
185     <node>/controls/hydraulic/system[0]/engine-pump</node>
186    </chunk>
187    <chunk>
188     <name>engine-pump</name>
189     <type>double</type>
190     <node>/controls/hydraulic/system[1]/engine-pump</node>
191    </chunk>
192
193    <chunk>
194     <name>electric-pump</name>
195     <type>double</type>
196     <node>/controls/hydraulic/system[0]/electric-pump</node>
197    </chunk>
198    <chunk>
199     <name>electric-pump</name>
200     <type>double</type>
201     <node>/controls/hydraulic/system[1]/electric-pump</node>
202    </chunk>
203
204    <!-- Electric -->
205    <chunk>
206     <name>battery-switch</name>
207     <type>double</type>
208     <node>/controls/electric/battery-switch</node>
209    </chunk>
210
211    <chunk>
212     <name>external-power</name>
213     <type>double</type>
214     <node>/controls/electric/external-power</node>
215    </chunk>
216
217    <chunk>
218     <name>APU-generator</name>
219     <type>double</type>
220     <node>/controls/electric/APU-generator</node>
221    </chunk>
222
223    <-- Autoflight -->
224    <chunk>
225     <name>engage</name>
226     <type>double</type>
227     <node>/controls/autoflight/autopilot[0]/engage</node>
228    </chunk>
229
230    <chunk>
231     <name>heading-select</name>
232     <type>double</type>
233     <node>/controls/autoflight/heading-select</node>
234    </chunk>
235
236    <chunk>
237     <name>altitude-select</name>
238     <type>double</type>
239     <node>/controls/autoflight/altitude-select</node>
240    </chunk>
241
242    <chunk>
243     <name>bank-angle-select</name>
244     <type>double</type>
245     <node>/controls/autoflight/bank-angle-select</node>
246    </chunk>
247
248    <chunk>
249     <name>vertical-speed-select</name>
250     <type>double</type>
251     <node>/controls/autoflight/vertical-speed-select</node>
252    </chunk>
253
254    <chunk>
255     <name>speed-select</name>
256     <type>double</type>
257     <node>/controls/autoflight/speed-select</node>
258    </chunk>
259
260    <!-- Position -->
261    <chunk>
262     <name>latitude-deg</name>
263     <type>double</type>
264     <node>/position/latitude-deg</node>
265    </chunk>
266
267    <chunk>
268     <name>longitude-deg</name>
269     <type>double</type>
270     <node>/position/longitude-deg</node>
271    </chunk>
272
273    <chunk>
274     <name>altitude-ft</name>
275     <type>double</type>
276     <node>/position/altitude-ft</node>
277    </chunk>
278
279    <!-- Orientation -->
280    <chunk>
281     <name>roll-deg</name>
282     <type>double</type>
283     <node>/orientation/roll-deg</node>
284    </chunk>
285
286    <chunk>
287     <name>pitch-deg</name>
288     <type>double</type>
289     <node>/orientation/pitch-deg</node>
290    </chunk>
291
292    <chunk>
293     <name>heading-deg</name>
294     <type>double</type>
295     <node>/orientation/heading-deg</node>
296    </chunk>
297
298    <chunk>
299     <name>side-slip-deg</name>
300     <type>double</type>
301     <node>/orientation/side-slip-deg</node>
302    </chunk>
303
304   </output>
305
306   <input>
307    <line_separator>newline</line_separator>
308    <var_separator>,</var_separator>
309
310
311    <!-- Flight Controls -->
312    <chunk>
313     <name>aileron</name>
314     <type>double</type>
315     <node>/controls/flight/aileron</node>
316    </chunk>
317
318    <chunk>
319     <name>aileron-trim</name>
320     <type>double</type>
321     <node>/controls/flight/aileron-trim</node>
322    </chunk>
323  
324    <chunk>
325     <name>elevator</name>
326     <type>double</type>
327     <node>/controls/flight/elevator</node>
328    </chunk>
329  
330    <chunk>
331     <name>elevator-trim</name>
332     <type>double</type>
333     <node>/controls/flight/elevator-trim</node>
334    </chunk>
335  
336    <chunk>
337     <name>rudder</name>
338     <type>double</type>
339     <node>/controls/flight/rudder</node>
340    </chunk>
341  
342    <chunk>
343     <name>rudder-trim</name>
344     <type>double</type>
345     <node>/controls/flight/rudder-trim</node>
346    </chunk>
347  
348    <chunk>
349     <name>flaps</name>
350     <type>double</type>
351     <node>/controls/flight/flaps</node>
352    </chunk>
353  
354    <chunk>
355     <name>slats</name>
356     <type>double</type>
357     <node>/controls/flight/slats</node>
358    </chunk>
359  
360    <chunk>
361     <name>speedbrake</name>
362     <type>double</type>
363     <node>/controls/flight/speedbrake</node>
364    </chunk>
365  
366
367    <!-- Engines -->
368    <chunk>
369     <name>throttle</name>
370     <type>double</type>
371     <node>/controls/engines/engine[0]/throttle</node>
372    </chunk>
373    <name>throttle</name>
374     <type>double</type>
375     <node>/controls/engines/engine[1]/throttle</node>
376    </chunk>
377
378    <chunk>
379     <name>starter</name>
380     <type>double</type>
381     <node>/controls/engines/engine[0]/starter</node>
382    </chunk>
383    <name>starter</name>
384     <type>double</type>
385     <node>/controls/engines/engine[1]/starter</node>
386    </chunk>
387
388    <chunk>
389     <name>fuel-pump</name>
390     <type>double</type>
391     <node>/controls/engines/engine[0]/fuel-pump</node>
392    </chunk>
393    <name>fuel-pump</name>
394     <type>double</type>
395     <node>/controls/engines/engine[1]/fuel-pump</node>
396    </chunk>
397
398    <chunk>
399     <name>cutoff</name>
400     <type>double</type>
401     <node>/controls/engines/engine[0]/cutoff</node>
402    </chunk>
403    <name>cutoff</name>
404     <type>double</type>
405     <node>/controls/engines/engine[1]/cutoff</node>
406    </chunk>
407
408    <chunk>
409     <name>mixture</name>
410     <type>double</type>
411     <node>/controls/engines/engine[0]/mixture</node>
412    </chunk>
413    <name>mixture</name>
414     <type>double</type>
415     <node>/controls/engines/engine[1]/mixture</node>
416    </chunk>
417
418    <chunk>
419     <name>propeller-pitch</name>
420     <type>double</type>
421     <node>/controls/engines/engine[0]/propeller-pitch</node>
422    </chunk>
423    <name>propeller-pitch</name>
424     <type>double</type>
425     <node>/controls/engines/engine[1]/propeller-pitch</node>
426    </chunk>
427
428    <chunk>
429     <name>magnetos</name>
430     <type>double</type>
431     <node>/controls/engines/engine[0]/magnetos</node>
432    </chunk>
433    <name>magnetos</name>
434     <type>double</type>
435     <node>/controls/engines/engine[1]/magnetos</node>
436    </chunk>
437
438    <chunk>
439     <name>ignition</name>
440     <type>double</type>
441     <node>/controls/engines/engine[0]/ignition</node>
442    </chunk>
443    <name>ignition</name>
444     <type>double</type>
445     <node>/controls/engines/engine[1]/ignition</node>
446    </chunk>
447
448  
449    <!-- Gear -->
450    <chunk>
451     <name>brake-left</name>
452     <type>double</type>
453     <node>/controls/gear/brake-left</node>
454    </chunk>
455
456    <chunk>
457     <name>brake-right</name>
458     <type>double</type>
459     <node>/controls/gear/brake-right</node>
460    </chunk>
461
462    <chunk>
463     <name>brake-parking</name>
464     <type>double</type>
465     <node>/controls/gear/brake-parking</node>
466    </chunk>
467
468    <chunk>
469     <name>steering</name>
470     <type>double</type>
471     <node>/controls/gear/steering</node>
472    </chunk>
473
474    <chunk>
475     <name>gear-down</name>
476     <type>double</type>
477     <node>/controls/gear/gear-down</node>
478    </chunk>
479
480    <!-- Hydraulics -->
481    <chunk>
482     <name>engine-pump</name>
483     <type>double</type>
484     <node>/controls/hydraulic/system[0]/engine-pump</node>
485    </chunk>
486    <chunk>
487     <name>engine-pump</name>
488     <type>double</type>
489     <node>/controls/hydraulic/system[1]/engine-pump</node>
490    </chunk>
491
492    <chunk>
493     <name>electric-pump</name>
494     <type>double</type>
495     <node>/controls/hydraulic/system[0]/electric-pump</node>
496    </chunk>
497    <chunk>
498     <name>electric-pump</name>
499     <type>double</type>
500     <node>/controls/hydraulic/system[1]/electric-pump</node>
501    </chunk>
502
503    <!-- Electric -->
504    <chunk>
505     <name>battery-switch</name>
506     <type>double</type>
507     <node>/controls/electric/battery-switch</node>
508    </chunk>
509
510    <chunk>
511     <name>external-power</name>
512     <type>double</type>
513     <node>/controls/electric/external-power</node>
514    </chunk>
515
516    <chunk>
517     <name>APU-generator</name>
518     <type>double</type>
519     <node>/controls/electric/APU-generator</node>
520    </chunk>
521
522    <-- Autoflight -->
523    <chunk>
524     <name>engage</name>
525     <type>double</type>
526     <node>/controls/autoflight/autopilot[0]/engage</node>
527    </chunk>
528
529    <chunk>
530     <name>heading-select</name>
531     <type>double</type>
532     <node>/controls/autoflight/heading-select</node>
533    </chunk>
534
535    <chunk>
536     <name>altitude-select</name>
537     <type>double</type>
538     <node>/controls/autoflight/altitude-select</node>
539    </chunk>
540
541    <chunk>
542     <name>bank-angle-select</name>
543     <type>double</type>
544     <node>/controls/autoflight/bank-angle-select</node>
545    </chunk>
546
547    <chunk>
548     <name>vertical-speed-select</name>
549     <type>double</type>
550     <node>/controls/autoflight/vertical-speed-select</node>
551    </chunk>
552
553    <chunk>
554     <name>speed-select</name>
555     <type>double</type>
556     <node>/controls/autoflight/speed-select</node>
557    </chunk>
558
559    <!-- Position -->
560    <chunk>
561     <name>latitude-deg</name>
562     <type>double</type>
563     <node>/position/latitude-deg</node>
564    </chunk>
565
566    <chunk>
567     <name>longitude-deg</name>
568     <type>double</type>
569     <node>/position/longitude-deg</node>
570    </chunk>
571
572    <chunk>
573     <name>altitude-ft</name>
574     <type>double</type>
575     <node>/position/altitude-ft</node>
576    </chunk>
577
578    <!-- Orientation -->
579    <chunk>
580     <name>roll-deg</name>
581     <type>double</type>
582     <node>/orientation/roll-deg</node>
583    </chunk>
584
585    <chunk>
586     <name>pitch-deg</name>
587     <type>double</type>
588     <node>/orientation/pitch-deg</node>
589    </chunk>
590
591    <chunk>
592     <name>heading-deg</name>
593     <type>double</type>
594     <node>/orientation/heading-deg</node>
595    </chunk>
596
597    <chunk>
598     <name>side-slip-deg</name>
599     <type>double</type>
600     <node>/orientation/side-slip-deg</node>
601    </chunk>
602
603   </input>
604
605  </generic>
606
607 </PropertyList>