Add a protocol file to output "truth" values.
[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>float</type>
23     <format>%.10f</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>float</type>
31     <format>%.10f</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>float</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  </generic>
95
96 </PropertyList>