1
0
Fork 0

Add generic output option

This commit is contained in:
ehofman 2003-03-25 22:26:10 +00:00
parent 8a024313ac
commit 39604d13ae
3 changed files with 68 additions and 2 deletions

59
Protocol/f1serial.xml Normal file
View file

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

View file

@ -208,12 +208,12 @@
<jpg-httpd-desc>Enable screen shot http server on the specified port</jpg-httpd-desc>
<!-- MultiPlayer options -->
<multiplayer-options>MultiPlayer options</multiplayer-options>
<multiplayer-options>MultiPlayer Options</multiplayer-options>
<multiplay-desc>Specify multipilot communication settings</multiplay-desc>
<callsign-desc>assign a unique name to a player</callsign-desc>
<!-- NetworkOLK options -->
<network-olk-options>Mutlipilot options</network-olk-options>
<network-olk-options>Mutlipilot Options</network-olk-options>
<disable-network-olk-desc>Disable Multipilot mode (default)</disable-network-olk-desc>
<enable-network-olk-desc>Enable Multipilot mode</enable-network-olk-desc>
<net-hud-desc>Hud displays network info</net-hud-desc>
@ -232,6 +232,7 @@
<native-fdm-desc>Open connection using the FG Native FDM protocol</native-fdm-desc>
<native-desc>Open connection using the FG Native protocol</native-desc>
<nmea-desc>Open connection using the NMEA protocol</nmea-desc>
<serial-desc>Open connection using the serial port protocol</serial-desc>
<opengc-desc>Open connection using the OpenGC protocol</opengc-desc>
<props-desc>Open connection using the interactive property manager</props-desc>
<pve-desc>Open connection using the PVE protocol</pve-desc>

View file

@ -725,6 +725,12 @@
<section>
<name>strings/io-options</name>
<option>
<name>generic</name>
<arg>params</arg>
<description>strings/serial-desc</description>
</option>
<option>
<name>garmin</name>
<arg>params</arg>