Emulating TrackIR
Posted: Fri May 24, 2013 3:42 pm
Hi All,
Have just got a Sparkfun 9DOF which I am using with AHRS firmware.
I want to test it out using some PC games that support the TrackIR.
I have downloaded Codemaster Dirt 2 demo. I have also downloaded the TrackIR Fixer to remove the encryption.
I have started FreePIE and setup the AHRS plugin and am using the following script:
def update():
trackIR.yaw = ahrsImu.yaw
trackIR.pitch = ahrsImu.pitch
trackIR.roll = ahrsImu.roll
diagnostics.watch(ahrsImu.yaw)
diagnostics.watch(ahrsImu.pitch)
diagnostics.watch(ahrsImu.roll)
if starting:
ahrsImu.update += update
But when I start Dirt 2 and go into cockpit view the head tracking is not working? Do I need to install any additional software to get it to work? Not sure what else I need to do to get it to work.
Any help would be greatly appreciated.
Thanks, Matt.
Have just got a Sparkfun 9DOF which I am using with AHRS firmware.
I want to test it out using some PC games that support the TrackIR.
I have downloaded Codemaster Dirt 2 demo. I have also downloaded the TrackIR Fixer to remove the encryption.
I have started FreePIE and setup the AHRS plugin and am using the following script:
def update():
trackIR.yaw = ahrsImu.yaw
trackIR.pitch = ahrsImu.pitch
trackIR.roll = ahrsImu.roll
diagnostics.watch(ahrsImu.yaw)
diagnostics.watch(ahrsImu.pitch)
diagnostics.watch(ahrsImu.roll)
if starting:
ahrsImu.update += update
But when I start Dirt 2 and go into cockpit view the head tracking is not working? Do I need to install any additional software to get it to work? Not sure what else I need to do to get it to work.
Any help would be greatly appreciated.
Thanks, Matt.