diff options
author | Stanislaw Halik <sthalik@misaki.pl> | 2015-10-27 08:57:04 +0100 |
---|---|---|
committer | Stanislaw Halik <sthalik@misaki.pl> | 2015-10-28 07:40:56 +0100 |
commit | 192e1131873e66d2118afd7a6e13e5701053a4d0 (patch) | |
tree | 6199612811aae7d7de4aa3a22f347c96d197e908 /contrib/FlightGear | |
parent | 7c8b01037e7dd6680d5cd9ba32c27c1a3ed52809 (diff) |
rename "clientfiles/" to "contrib/" as customary
Diffstat (limited to 'contrib/FlightGear')
-rw-r--r-- | contrib/FlightGear/Protocol/headtracker.xml | 54 | ||||
-rw-r--r-- | contrib/FlightGear/readme.txt | 8 |
2 files changed, 62 insertions, 0 deletions
diff --git a/contrib/FlightGear/Protocol/headtracker.xml b/contrib/FlightGear/Protocol/headtracker.xml new file mode 100644 index 00000000..8c14119a --- /dev/null +++ b/contrib/FlightGear/Protocol/headtracker.xml @@ -0,0 +1,54 @@ +<?xml version="1.0"?> + +<PropertyList> + <generic> + <input> + <binary_mode>true</binary_mode> + <binary_footer>none</binary_footer> + <byte_order>host</byte_order> + <record_length>52</record_length> + + <chunk> + <name>x</name> + <type>double</type> + <node>/sim/current-view/x-offset-m</node> + </chunk> + + <chunk> + <name>y</name> + <type>double</type> + <node>/sim/current-view/y-offset-m</node> + </chunk> + + <chunk> + <name>z</name> + <type>double</type> + <node>/sim/current-view/z-offset-m</node> + </chunk> + + <chunk> + <name>heading</name> + <type>double</type> + <node>/sim/current-view/heading-offset-deg</node> + </chunk> + + <chunk> + <name>pitch</name> + <type>double</type> + <node>/sim/current-view/pitch-offset-deg</node> + </chunk> + + <chunk> + <name>roll</name> + <type>double</type> + <node>/sim/current-view/roll-offset-deg</node> + </chunk> + + <chunk> + <name>status</name> + <type>int</type> + <node>/sim/current-view/headtracker-debug-status</node> + </chunk> + </input> + </generic> +</PropertyList> diff --git a/contrib/FlightGear/readme.txt b/contrib/FlightGear/readme.txt new file mode 100644 index 00000000..48cee837 --- /dev/null +++ b/contrib/FlightGear/readme.txt @@ -0,0 +1,8 @@ +Copy Protocol/headtracker.xml to fgdata/Protocol/headtracker.xml + +$ fgfs --generic=socket,in,25,localhost,5542,udp,headtracker + +Adjust paths as necessary. + +cheers, +-sh 20131008 |