1
0
Fork 0
fgdata/Protocol/insgns-truth.xml

183 lines
4.6 KiB
XML
Raw Normal View History

<?xml version="1.0"?>
<!-- Example usage: <dash><dash>generic=file,out,50,fgfs.truth,insgns-truth -->
<PropertyList>
<generic>
<output>
<line_separator>newline</line_separator>
<var_separator>tab</var_separator>
<chunk>
<name>time (sec)</name>
<type>float</type>
<format>%.4f</format>
<node>/sim/time/elapsed-sec</node>
</chunk>
<chunk>
<name>latitude (rad)</name>
<type>double</type>
<format>%.12f</format>
<node>/position/latitude-deg</node>
<factor>0.01745329251994329576</factor> <!-- degrees to radians -->
</chunk>
<chunk>
<name>longitude (rad)</name>
<type>double</type>
<format>%.12f</format>
<node>/position/longitude-deg</node>
<factor>0.01745329251994329576</factor> <!-- degrees to radians -->
</chunk>
<chunk>
<name>negative altitiude (m)</name>
<type>double</type>
<format>%.3f</format>
<node>/position/altitude-ft</node>
<factor>-0.3048</factor> <!-- feet to meter -->
</chunk>
<chunk>
<name>Velocity North ("vn" mps)</name>
<type>float</type>
<format>%.8f</format>
<node>/velocities/speed-north-fps</node>
<factor>0.3048</factor> <!-- fps to mps -->
</chunk>
<chunk>
<name>Velocity East ("ve" mps)</name>
<type>float</type>
<format>%.8f</format>
<node>/velocities/speed-east-fps</node>
<factor>0.3048</factor> <!-- fps to mps -->
</chunk>
<chunk>
<name>Velocity Down ("vd" mps)</name>
<type>float</type>
<format>%.8f</format>
<node>/velocities/speed-down-fps</node>
<factor>0.3048</factor> <!-- fps to mps -->
</chunk>
<chunk>
<name>yaw angle</name>
<type>float</type>
<format>%.5f</format>
<node>/orientation/heading-deg</node>
<factor>0.01745329251994329576</factor> <!-- degrees to radians -->
</chunk>
<chunk>
<name>pitch angle (rad)</name>
<type>float</type>
<format>%.5f</format>
<node>/orientation/pitch-deg</node>
<factor>0.01745329251994329576</factor> <!-- degrees to radians -->
</chunk>
<chunk>
<name>roll angle</name>
<type>float</type>
<format>%.5f</format>
<node>/orientation/roll-deg</node>
<factor>0.01745329251994329576</factor> <!-- degrees to radians -->
</chunk>
</output>
<input>
<line_separator>newline</line_separator>
<var_separator>tab</var_separator>
<chunk>
<name>time (sec)</name>
<type>double</type>
<format>%.4f</format>
<node>/sim/time/srcfile-time-stamp-sec</node>
</chunk>
<chunk>
<name>latitude (rad)</name>
<type>double</type>
<format>%.12f</format>
<node>/position/latitude-deg</node>
<factor>57.29577951308232090712</factor> <!-- radians to degrees -->
</chunk>
<chunk>
<name>longitude (rad)</name>
<type>double</type>
<format>%.12f</format>
<node>/position/longitude-deg</node>
<factor>57.29577951308232090712</factor> <!-- radians to degrees -->
</chunk>
<chunk>
<name>negative altitiude (m)</name>
<type>double</type>
<format>%.3f</format>
<node>/position/altitude-ft</node>
<factor>-3.2808</factor> <!-- meter to feet -->
<offset>100</offset> <!-- this is in feet -->
</chunk>
<chunk>
<name>Velocity North ("vn" mps)</name>
<type>float</type>
<format>%.8f</format>
<node>/velocities/speed-north-fps</node>
<factor>3.2808</factor> <!-- mps to fps -->
</chunk>
<chunk>
<name>Velocity East ("ve" mps)</name>
<type>float</type>
<format>%.8f</format>
<node>/velocities/speed-east-fps</node>
<factor>3.2808</factor> <!-- mps to fps -->
</chunk>
<chunk>
<name>Velocity Down ("vd" mps)</name>
<type>float</type>
<format>%.8f</format>
<node>/velocities/speed-down-fps</node>
<factor>3.2808</factor> <!-- mps to fps -->
</chunk>
<chunk>
<name>yaw angle</name>
<type>float</type>
<format>%.5f</format>
<node>/orientation/heading-deg</node>
<factor>57.29577951308232090712</factor> <!-- radians to degrees -->
</chunk>
<chunk>
<name>pitch angle (rad)</name>
<type>float</type>
<format>%.5f</format>
<node>/orientation/pitch-deg</node>
<factor>57.29577951308232090712</factor> <!-- radians to degrees -->
</chunk>
<chunk>
<name>roll angle</name>
<type>float</type>
<format>%.5f</format>
<node>/orientation/roll-deg</node>
<factor>57.29577951308232090712</factor> <!-- radians to degrees -->
</chunk>
</input>
</generic>
</PropertyList>