wjp.vri...@quicknet.nl wrote: > Hello FlightGear developers, > > In the FlightGear forum I stumbled upon a request from users, to enable head > tracking in FlightGear (head tracking that is i.e. provided by Freetrack or > TrackIR). Until now, I found no evidence that someone has embraced this > request, so I would like to jump in... > > As you may know, the mentioned 'head trackers' have one great disadvantage: > they require the user to wear a hat (or something similar) with Infrared > LED's attached to it, to enable tracking. Recently I have made a head > tracking program, based on the FaceAPI from SeeingMachines, which ONLY > requires a simple web cam. By now, we only support the Freetrack-protocol > (which is open-source) and are seriously testing it with ArmA 2 (actually, > the first attempt gives really promising results). > > On the FlightGear forum, I found a reference to a program made by Anders > Gidenstam (http://www.gidenstam.org/FlightGear/HeadTracking/) in which he > states that it is possible to send UDP-packets to FlightGear, with head > tracking data in it. I am currently implementing his information in my > program (which I call FaceTrackNoIR, by the way) and I think I can start > testing the results soon. There is, however, one problem: I have no > experience whatsoever with FlightGear. > > Could someone tell me, in a brief manner, how I can enable FlightGear so that > it will listen to my UDP-packets? It would also help, if someone could tell > me what data FlightGear expects in the packets...
It is described in the protocol configuration file: http://www.gidenstam.org/FlightGear/HeadTracking/headtrack.xml run: fgfs --generic=socket,in,<period>,,<port>,udp,headtrack where <period> is the update period in Hz It uses the generic protocol in binary mode to set the internals of FlightGear (See README.IO and README.protocol in FlightGear/data/Docs for more information). Erik ------------------------------------------------------------------------------ _______________________________________________ Flightgear-devel mailing list Flightgear-devel@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/flightgear-devel