TrackIR is head tracking hardware and software for tracking slight head movements to extend display within 3D environments. This solution is most often utilized within flight simulation to increase the experience of the simulation.
If you do not have a TrackIR device, the most current one sold is the "TrackIR 5". All that is needed is a ballcap for the reflective clip device that accompanies the TrackIR device. If you fly simulators quite often, it's a really nifty device even if you are pretty good at using a joystick hat for moving your view around.
TrackIR for Linux can be downloaded from http://linuxtrack.eu/repositories/universal/ or SVN at http://code.google.com/p/linux-track/source/checkout or github at https://github.com/uglyDwarf/linuxtrack/wiki/Downloads. Compile and install locally, else wait for an Ebuild to be imported into Portage, and shortly I hope!
Basic compile time dependencies, of which dev-libs/mini-xml is missing for the Qt GUI interface. So make sure you have mini-xml installed before compiling the linuxtrack sources. (Bug reported upstream and likely on the TODO list.)First, unpack the tarball and throw the output folder into /opt. cd into /opt and run
Note: I will be adding more over the next week.
The TrackIR hardware first needs to have it's device firmware extracted from the Windows binaries and a configure file needs to be written before simply utilizing the ltr_pipe command line tool.
There is also a run-time dependency of using Wine to extract the firmware. So make sure you have Wine pre-installed prior to running ltr_gui. Once you have compiled & installed linuxtrack, start the ltr_gui and install your device firmware accordingly using the GUI front end. Once completed, initialize the device (start), save and exit. Make sure all your settings are set to your liking, however default seems desirable for most applications.
The following is all that is really needed to see output once you have performed the previous instructions.
From here, read the linuxtrack/doc/README.ltr_pipe on how to further setup with FlightGear.
The developer has just informed that he has linuxtrack working without even using Nasal. An easier method?
I'm within the process of creating a linuxtrack Ebuild file for Gentoo. If for some reason the process stalls, users shall have the information they need to continue or pursue on their own.
See bug #489324. Happy Head Tracking!
- FlightGear — an open-source, multi-platform, cooperative flight simulator development project.