1
0
Fork 0

Updates to the generic protocol

This commit is contained in:
ehofman 2003-05-03 09:48:46 +00:00
parent 7dbb733346
commit 2f06850f47

View file

@ -1,58 +1,59 @@
<?xml version="1.0"?> <?xml version="1.0"?>
<PropertyList> <PropertyList>
<generic> <generic>
<output> <output>
<seperator>,</seperator> <line_seperator>newline</line_seperator>
<var_seperator>newline</var_seperator>
<chunk>
<name>speed</name> <chunk>
<format>V=%d</format> <name>speed</name>
<node>/velocities/airspeed-kt</node> <format>V=%d</format>
</chunk> <node>/velocities/airspeed-kt</node>
</chunk>
<chunk>
<name>heading</name> <chunk>
<format>H=%02d</format> <name>heading</name>
<node>/orientation/heading-deg</node> <format>H=%02d</format>
<factor>57.29578</factor> <!-- radians to degrees --> <node>/orientation/heading-deg</node>
</chunk> <factor>57.29578</factor> <!-- radians to degrees -->
</chunk>
<chunk>
<name>altitiude</name> <chunk>
<format>A=%02d</format> <name>altitiude</name>
<node>/position/altitiude-ft</node> <format>A=%02d</format>
</chunk> <node>/position/altitiude-ft</node>
</chunk>
<chunk>
<name>rate of climb</name> <chunk>
<format>R=%02d</format> <name>rate of climb</name>
<node>/velocities/vertical-speed-fps</node> <format>R=%02d</format>
</chunk> <node>/velocities/vertical-speed-fps</node>
</chunk>
<chunk>
<name>pitch angle</name> <chunk>
<format>P=%05.1f</format> <name>pitch angle</name>
<type>float</type> <format>P=%05.1f</format>
<node>/orientation/pitch-deg</node> <type>float</type>
</chunk> <node>/orientation/pitch-deg</node>
</chunk>
<chunk>
<name>bank angle</name> <chunk>
<format>B=%05.1f</format> <name>bank angle</name>
<type>float</type> <format>B=%05.1f</format>
<node>/orientation/roll-deg</node> <type>float</type>
</chunk> <node>/orientation/roll-deg</node>
</chunk>
<chunk>
<name>engine</name> <chunk>
<format>E=%02d;</format> <name>engine</name>
<node>/engines/engine[0]/rpm</node> <format>E=%02d</format>
</chunk> <node>/engines/engine[0]/rpm</node>
</output> </chunk>
</output>
</generic>
</generic>
</PropertyList>
</PropertyList>