From a8f2a29dcc5fac905ef9a1d2305903cbb74b6b7c Mon Sep 17 00:00:00 2001 From: Wim Vriend Date: Tue, 25 May 2010 16:14:36 +0000 Subject: First release Version 1.0.0 of FaceTrackNoIR git-svn-id: svn+ssh://svn.code.sf.net/p/facetracknoir/code@1 19e81ba0-9b1a-49c3-bd6c-561e1906d5fb --- .../ClientFiles/FlightGear/Nasal/headtracker.xml | 99 ++++++++++++++++++++++ .../FlightGear/Protocol/headtracker.xml | 67 +++++++++++++++ FaceTrackNoIR/ClientFiles/FlightGear/Readme.txt | 16 ++++ .../ClientFiles/FlightGear/Win32/start_fg.bat | 1 + 4 files changed, 183 insertions(+) create mode 100644 FaceTrackNoIR/ClientFiles/FlightGear/Nasal/headtracker.xml create mode 100644 FaceTrackNoIR/ClientFiles/FlightGear/Protocol/headtracker.xml create mode 100644 FaceTrackNoIR/ClientFiles/FlightGear/Readme.txt create mode 100644 FaceTrackNoIR/ClientFiles/FlightGear/Win32/start_fg.bat (limited to 'FaceTrackNoIR/ClientFiles/FlightGear') diff --git a/FaceTrackNoIR/ClientFiles/FlightGear/Nasal/headtracker.xml b/FaceTrackNoIR/ClientFiles/FlightGear/Nasal/headtracker.xml new file mode 100644 index 00000000..0d6e8005 --- /dev/null +++ b/FaceTrackNoIR/ClientFiles/FlightGear/Nasal/headtracker.xml @@ -0,0 +1,99 @@ + + + + + + + = (equal sign) + Reset Head Tracker + + nasal + + + + + + + + + + + + + + + 0 + 0 + 0 + 0 + 0 + 0 + 0 + 0 + + + diff --git a/FaceTrackNoIR/ClientFiles/FlightGear/Protocol/headtracker.xml b/FaceTrackNoIR/ClientFiles/FlightGear/Protocol/headtracker.xml new file mode 100644 index 00000000..cd1d0dad --- /dev/null +++ b/FaceTrackNoIR/ClientFiles/FlightGear/Protocol/headtracker.xml @@ -0,0 +1,67 @@ + + + + + + true + none + host + 52 + + + x + double + /sim/headtracker/x-m + + + + y + double + /sim/headtracker/y-m + + + + z + double + /sim/headtracker/z-m + + + + heading + double + /sim/headtracker/heading-deg + + + + pitch + double + /sim/headtracker/pitch-deg + + + + roll + double + /sim/headtracker/roll-deg + + + + status + int + /sim/headtracker/status + + + + + true + none + host + 4 + + + control + int + /sim/headtracker/control + + + + diff --git a/FaceTrackNoIR/ClientFiles/FlightGear/Readme.txt b/FaceTrackNoIR/ClientFiles/FlightGear/Readme.txt new file mode 100644 index 00000000..db3bdd8e --- /dev/null +++ b/FaceTrackNoIR/ClientFiles/FlightGear/Readme.txt @@ -0,0 +1,16 @@ +FaceTrackNoIR for FlightGear. + +FaceTrackNoIR was made compatible with FlightGear with the help of Melchior Franz, who initially made a Linux headtracker. FaceTrackNoIR sends UDP-packets to FlightGear which contain 6DOF-data. The script and protocol provided by Melchior take care of receiving the data and moving 'the head' in-game. + +To make the FlightGear script work, copy the files in the subfolders to the corresponding folders in the FlightGear installation folder. Start FlightGear with the batch-file 'start_fg.bat'. + + +Please let us know if you like the program, if you have ideas for improvements or any questions you might have. + + + +The FaceTrackNoIR team: + +Wim Vriend +Ron Hendriks + diff --git a/FaceTrackNoIR/ClientFiles/FlightGear/Win32/start_fg.bat b/FaceTrackNoIR/ClientFiles/FlightGear/Win32/start_fg.bat new file mode 100644 index 00000000..cd9829b5 --- /dev/null +++ b/FaceTrackNoIR/ClientFiles/FlightGear/Win32/start_fg.bat @@ -0,0 +1 @@ +fgfs --generic=socket,in,25,localhost,5550,udp,headtracker --generic=socket,out,10,localhost,5551,udp,headtracker --prop:browser=/sim/headtracker "c:\Program Files\FlightGear\data\Nasal\headtracker.xml" \ No newline at end of file -- cgit v1.2.3