diff --git a/Protocol/f1serial.xml b/Protocol/f1serial.xml new file mode 100644 index 000000000..3bac9f134 --- /dev/null +++ b/Protocol/f1serial.xml @@ -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> diff --git a/Translations/strings-default.xml b/Translations/strings-default.xml index 277c090ef..a30bbdbb2 100644 --- a/Translations/strings-default.xml +++ b/Translations/strings-default.xml @@ -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> diff --git a/options.xml b/options.xml index 57c9ad109..ef6b2cbaf 100644 --- a/options.xml +++ b/options.xml @@ -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>