Initial revision.
[fg:toms-fgdata.git] / Protocol / insgns-truth.xml
1 <?xml version="1.0"?>
2
3 <!-- Example usage: <dash><dash>generic=file,out,50,fgfs.truth,insgns-truth -->
4
5 <PropertyList>
6
7  <generic>
8
9   <output>
10    <line_separator>newline</line_separator>
11    <var_separator>tab</var_separator>
12
13    <chunk>
14     <name>time (sec)</name>
15     <type>float</type>
16     <format>%.4f</format>
17     <node>/sim/time/elapsed-sec</node>
18    </chunk>
19
20    <chunk>
21     <name>latitude (rad)</name>
22     <type>double</type>
23     <format>%.12f</format>
24     <node>/position/latitude-deg</node>
25     <factor>0.01745329251994329576</factor>  <!-- degrees to radians -->
26    </chunk>
27
28    <chunk>
29     <name>longitude (rad)</name>
30     <type>double</type>
31     <format>%.12f</format>
32     <node>/position/longitude-deg</node>
33     <factor>0.01745329251994329576</factor>  <!-- degrees to radians -->
34    </chunk>
35
36    <chunk>
37     <name>negative altitiude (m)</name>
38     <type>double</type>
39     <format>%.3f</format>
40     <node>/position/altitude-ft</node>
41     <factor>-0.3048</factor>                  <!-- feet to meter -->
42    </chunk>
43
44    <chunk>
45     <name>Velocity North ("vn" mps)</name>
46     <type>float</type>
47     <format>%.8f</format>
48     <node>/velocities/speed-north-fps</node>
49     <factor>0.3048</factor>                  <!-- fps to mps -->
50    </chunk>
51
52    <chunk>
53     <name>Velocity East ("ve" mps)</name>
54     <type>float</type>
55     <format>%.8f</format>
56     <node>/velocities/speed-east-fps</node>
57     <factor>0.3048</factor>                  <!-- fps to mps -->
58    </chunk>
59
60    <chunk>
61     <name>Velocity Down ("vd" mps)</name>
62     <type>float</type>
63     <format>%.8f</format>
64     <node>/velocities/speed-down-fps</node>
65     <factor>0.3048</factor>                  <!-- fps to mps -->
66    </chunk>
67
68    <chunk>
69     <name>yaw angle</name>
70     <type>float</type>
71     <format>%.5f</format>
72     <node>/orientation/heading-deg</node>
73     <factor>0.01745329251994329576</factor>  <!-- degrees to radians -->
74    </chunk>
75
76    <chunk>
77     <name>pitch angle (rad)</name>
78     <type>float</type>
79     <format>%.5f</format>
80     <node>/orientation/pitch-deg</node>
81     <factor>0.01745329251994329576</factor>  <!-- degrees to radians -->
82    </chunk>
83
84    <chunk>
85     <name>roll angle</name>
86     <type>float</type>
87     <format>%.5f</format>
88     <node>/orientation/roll-deg</node>
89     <factor>0.01745329251994329576</factor>  <!-- degrees to radians -->
90    </chunk>
91
92   </output>
93
94   <input>
95    <line_separator>newline</line_separator>
96    <var_separator>tab</var_separator>
97
98    <chunk>
99     <name>time (sec)</name>
100     <type>double</type>
101     <format>%.4f</format>
102     <node>/sim/time/srcfile-time-stamp-sec</node>
103    </chunk>
104
105    <chunk>
106     <name>latitude (rad)</name>
107     <type>double</type>
108     <format>%.12f</format>
109     <node>/position/latitude-deg</node>
110     <factor>57.29577951308232090712</factor>  <!-- radians to degrees -->
111    </chunk>
112
113    <chunk>
114     <name>longitude (rad)</name>
115     <type>double</type>
116     <format>%.12f</format>
117     <node>/position/longitude-deg</node>
118     <factor>57.29577951308232090712</factor>  <!-- radians to degrees -->
119    </chunk>
120
121    <chunk>
122     <name>negative altitiude (m)</name>
123     <type>double</type>
124     <format>%.3f</format>
125     <node>/position/altitude-ft</node>
126     <factor>-3.2808</factor>                  <!-- meter to feet -->
127     <offset>100</offset>                      <!-- this is in feet -->
128    </chunk>
129
130    <chunk>
131     <name>Velocity North ("vn" mps)</name>
132     <type>float</type>
133     <format>%.8f</format>
134     <node>/velocities/speed-north-fps</node>
135     <factor>3.2808</factor>                  <!-- mps to fps -->
136    </chunk>
137
138    <chunk>
139     <name>Velocity East ("ve" mps)</name>
140     <type>float</type>
141     <format>%.8f</format>
142     <node>/velocities/speed-east-fps</node>
143     <factor>3.2808</factor>                  <!-- mps to fps -->
144    </chunk>
145
146    <chunk>
147     <name>Velocity Down ("vd" mps)</name>
148     <type>float</type>
149     <format>%.8f</format>
150     <node>/velocities/speed-down-fps</node>
151     <factor>3.2808</factor>                  <!-- mps to fps -->
152    </chunk>
153
154    <chunk>
155     <name>yaw angle</name>
156     <type>float</type>
157     <format>%.5f</format>
158     <node>/orientation/heading-deg</node>
159     <factor>57.29577951308232090712</factor>  <!-- radians to degrees -->
160    </chunk>
161
162    <chunk>
163     <name>pitch angle (rad)</name>
164     <type>float</type>
165     <format>%.5f</format>
166     <node>/orientation/pitch-deg</node>
167     <factor>57.29577951308232090712</factor>  <!-- radians to degrees -->
168    </chunk>
169
170    <chunk>
171     <name>roll angle</name>
172     <type>float</type>
173     <format>%.5f</format>
174     <node>/orientation/roll-deg</node>
175     <factor>57.29577951308232090712</factor>  <!-- radians to degrees -->
176    </chunk>
177
178   </input>
179
180  </generic>
181
182 </PropertyList>