Board index FlightGear Support Interfacing

OpenTrack - point tracker offset issue

Connecting two computers, using generic protocol, connecting with Matlab?

OpenTrack - point tracker offset issue

Postby OO-IVO » Sun Nov 27, 2016 9:23 pm

Hi all,

This problem is bugging me for a while right now. I'm running flightgear 2016-1-3 on an imac (osx sierra) and have opentrack 2.3.0 RC6 installed. Made a nice cap with infrared leds, set it up with current settings:

input: point tracker 1.1
output: flightgear
filter : accela

Tested this config in opentrack and all works fine....

To interface with filghtgear i've follwed the instructions of the flightgear plugin:

added this file to fgdata/Protocol/

Code: Select all
<?xml version="1.0"?>









And added this rule to the additional options in Filightgear


Now I can startup FG and headtracking seems to work. With the default cessna c172 I'm positioned right in the center of the plane (thus not on the pilot seat). I've tried to adjust the view position with the in-game menu but this doesn't seem to work. I've also tried to adjust the position ( z-offset-m) in the property browser and also no succes. I think the headtracker.xml is overriding the default offset position of the current plane (x-offset-m, y-offset-m and z-offset-m).

So, my question:

Is there some way to add the chosen plane's view offset of each angle (x-offset-m, y-offset-m and z-offset-m) to the headtraker.xml or is there a way to write a nasal script to do this? I'm not that familliar with nasal yet. Please help! Thanks, Ivo.
Posts: 1
Joined: Sun Nov 27, 2016 9:05 pm

Re: OpenTrack - point tracker offset issue

Postby Steven » Tue Aug 08, 2017 10:13 pm

I tried EDTracker with FlightGear for head tracking with opentrack in between and had the same problem with the camera offset.
What made it work for me was to delete '/x-offset-m', '/y-offset-m' and '/z-offset-m' from the .xml.
Posts: 1
Joined: Tue Aug 08, 2017 9:49 pm

Re: OpenTrack - point tracker offset issue

Postby Talkless » Thu Aug 31, 2017 11:01 am

I discovered same issue, camera is in the center of the plane by default. I have to configure Opentrack x/y/z offset for each plane individually...
Here is github issue:
Posts: 80
Joined: Thu Mar 10, 2011 12:05 pm
Callsign: TLS
Version: git master
OS: Linux

Re: OpenTrack - point tracker offset issue

Postby xptical » Tue Dec 25, 2018 3:02 pm

This is still an issue with the latest FG and OT. Any fix? Does deleting '/x-offset-m', '/y-offset-m' and '/z-offset-m' from the .xml remove those degrees of freedom from the model?
Posts: 1
Joined: Thu Jul 26, 2018 2:24 pm

Return to Interfacing

Who is online

Users browsing this forum: No registered users and 2 guests