Add generic output option
[fg:toms-fgdata.git] / Protocol / f1serial.xml
1 <?xml version="1.0"?>
2
3 <PropertyList>
4
5  <generic>
6
7   <output>
8    <seperator>,</seperator>
9
10    <chunk>
11     <name>speed</name>
12     <format>V=%d</format>
13     <node>/velocities/speed</node>
14    </chunk>
15
16    <chunk>
17     <name>heading</name>
18     <format>H=%02d</format>
19     <node>/orientation/heading</node>
20     <factor>57.29578</factor>  <!-- radians to degrees -->
21    </chunk>
22
23    <chunk>
24     <name>altitiude</name>
25     <format>A=%02d</format>
26     <node>/positions/altitiude</node>
27    </chunk>
28
29    <chunk>
30     <name>rate of climb</name>
31     <format>R=%02d</format>
32     <node>/velocities/rate_of_climb</node>
33    </chunk>
34
35    <chunk>
36     <name>pitch angle</name>
37     <format>P=%05.1f</format>
38     <type>float</type>
39     <node>/orientation/pitch-angle-deg</node>
40    </chunk>
41
42    <chunk>
43     <name>bank angle</name>
44     <format>B=%05.1f</format>
45     <type>float</type>
46     <node>/orientation/roll-angle-rad</node>
47     <factor>57.29578</factor>  <!-- radians to degrees -->
48    </chunk>
49
50    <chunk>
51     <name>engine</name>
52     <format>E=%02d</format>
53     <node>/engines/engine[0]/rpm</node>
54    </chunk>
55   </output>
56
57  </generic>
58
59 </PropertyList>