Updates to the generic protocol
This commit is contained in:
parent
7dbb733346
commit
2f06850f47
1 changed files with 59 additions and 58 deletions
|
@ -1,58 +1,59 @@
|
|||
<?xml version="1.0"?>
|
||||
|
||||
<PropertyList>
|
||||
|
||||
<generic>
|
||||
|
||||
<output>
|
||||
<seperator>,</seperator>
|
||||
|
||||
<chunk>
|
||||
<name>speed</name>
|
||||
<format>V=%d</format>
|
||||
<node>/velocities/airspeed-kt</node>
|
||||
</chunk>
|
||||
|
||||
<chunk>
|
||||
<name>heading</name>
|
||||
<format>H=%02d</format>
|
||||
<node>/orientation/heading-deg</node>
|
||||
<factor>57.29578</factor> <!-- radians to degrees -->
|
||||
</chunk>
|
||||
|
||||
<chunk>
|
||||
<name>altitiude</name>
|
||||
<format>A=%02d</format>
|
||||
<node>/position/altitiude-ft</node>
|
||||
</chunk>
|
||||
|
||||
<chunk>
|
||||
<name>rate of climb</name>
|
||||
<format>R=%02d</format>
|
||||
<node>/velocities/vertical-speed-fps</node>
|
||||
</chunk>
|
||||
|
||||
<chunk>
|
||||
<name>pitch angle</name>
|
||||
<format>P=%05.1f</format>
|
||||
<type>float</type>
|
||||
<node>/orientation/pitch-deg</node>
|
||||
</chunk>
|
||||
|
||||
<chunk>
|
||||
<name>bank angle</name>
|
||||
<format>B=%05.1f</format>
|
||||
<type>float</type>
|
||||
<node>/orientation/roll-deg</node>
|
||||
</chunk>
|
||||
|
||||
<chunk>
|
||||
<name>engine</name>
|
||||
<format>E=%02d;</format>
|
||||
<node>/engines/engine[0]/rpm</node>
|
||||
</chunk>
|
||||
</output>
|
||||
|
||||
</generic>
|
||||
|
||||
</PropertyList>
|
||||
<?xml version="1.0"?>
|
||||
|
||||
<PropertyList>
|
||||
|
||||
<generic>
|
||||
|
||||
<output>
|
||||
<line_seperator>newline</line_seperator>
|
||||
<var_seperator>newline</var_seperator>
|
||||
|
||||
<chunk>
|
||||
<name>speed</name>
|
||||
<format>V=%d</format>
|
||||
<node>/velocities/airspeed-kt</node>
|
||||
</chunk>
|
||||
|
||||
<chunk>
|
||||
<name>heading</name>
|
||||
<format>H=%02d</format>
|
||||
<node>/orientation/heading-deg</node>
|
||||
<factor>57.29578</factor> <!-- radians to degrees -->
|
||||
</chunk>
|
||||
|
||||
<chunk>
|
||||
<name>altitiude</name>
|
||||
<format>A=%02d</format>
|
||||
<node>/position/altitiude-ft</node>
|
||||
</chunk>
|
||||
|
||||
<chunk>
|
||||
<name>rate of climb</name>
|
||||
<format>R=%02d</format>
|
||||
<node>/velocities/vertical-speed-fps</node>
|
||||
</chunk>
|
||||
|
||||
<chunk>
|
||||
<name>pitch angle</name>
|
||||
<format>P=%05.1f</format>
|
||||
<type>float</type>
|
||||
<node>/orientation/pitch-deg</node>
|
||||
</chunk>
|
||||
|
||||
<chunk>
|
||||
<name>bank angle</name>
|
||||
<format>B=%05.1f</format>
|
||||
<type>float</type>
|
||||
<node>/orientation/roll-deg</node>
|
||||
</chunk>
|
||||
|
||||
<chunk>
|
||||
<name>engine</name>
|
||||
<format>E=%02d</format>
|
||||
<node>/engines/engine[0]/rpm</node>
|
||||
</chunk>
|
||||
</output>
|
||||
|
||||
</generic>
|
||||
|
||||
</PropertyList>
|
||||
|
|
Loading…
Reference in a new issue