Board index FlightGear Support Interfacing

Missing the "headtrack.xml" file

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

Missing the "headtrack.xml" file

Postby massima » Wed Dec 26, 2018 3:10 pm

I'm following the FaceTrackNoIR wiki guide to interface opentrack unstable with its Flightgear plugin (localhost, port) but:

io:3:/build/flightgear-1mRNlE/flightgear-2018.3.1+dfsg/src/Main/fg_io.cxx:93:Parse I/O channel request: generic,socket,in,25,localhost,5542,udp,headtracker
io:3:/build/flightgear-1mRNlE/flightgear-2018.3.1+dfsg/src/Main/fg_io.cxx:104: protocol = generic
network:3:/build/flightgear-1mRNlE/flightgear-2018.3.1+dfsg/src/Network/generic.cxx:761:Reading communication protocol from Path "/usr/share/games/flightgear/Protocol/headtracker.xml"
network:5:/build/flightgear-1mRNlE/flightgear-2018.3.1+dfsg/src/Network/generic.cxx:768:Unable to load the protocol configuration file: Failed to open file
at /usr/share/games/flightgear/Protocol/headtracker.xml


In the main FG folder that file doesn't exist, i downloaded it from the freetrackNoIT project stored on Sourceforge. It works now, but the headtrack is unusable due of opentrack (impossible to well calibrate it).
That file should be added in the next release :idea: .
User avatar
massima
 
Posts: 214
Joined: Sat Jan 03, 2015 6:48 pm
Location: Italy
Callsign: M-AXX
Version: 2018.3.2
OS: debian testing

Re: Missing the "headtrack.xml" file

Postby Thorsten » Wed Dec 26, 2018 3:15 pm

I suspect that's why the wiki page says

You will need a file called "headtracker.xml", which goes into $FG ROOT/Protocol. The file can be found in FaceTrackNoIR's file section.

- so there seems to be missing intentionally and you're supposed to get it as you did.
Thorsten
 
Posts: 10226
Joined: Mon Nov 02, 2009 8:33 am

Re: Missing the "headtrack.xml" file

Postby massima » Thu Dec 27, 2018 10:17 am

:shock: :shock: :shock: You are right, i didn't read the whole article.

EDIT, 05/01/19: Now the headtracking software "opentrack" works perfectly under windows and Linux, a critical bug has been corrected. On github there are binaries for windows and Debian, i compiled source code for Debian without the aruco, oculus plugins but there is the FTNoIR PointTracker plugin which i use.
User avatar
massima
 
Posts: 214
Joined: Sat Jan 03, 2015 6:48 pm
Location: Italy
Callsign: M-AXX
Version: 2018.3.2
OS: debian testing


Return to Interfacing

Who is online

Users browsing this forum: No registered users and 1 guest