uglyDwarf / linuxtrack

Headtracking for Linux/Mac
MIT License
158 stars 29 forks source link

I can not get Linux-track to work in X-Plane. Light comes on no movement #71

Open GoogleCodeExporter opened 9 years ago

GoogleCodeExporter commented 9 years ago
Hello,

I installed Linuxtrack for mac and opened the GUI and everything seems to work. 
I Installed the Plugin and closed Linuxtrack down. I then started X-plane and 
the lights do come on but i get no movement in x-plane. I checked and the 
plugin is loading

What is the expected output? What do you see instead?

I have installed the Wine.exe and changed the Pilot View Ini. File. Linuxtrack 
now works but only if i turn on PilotView?. There seems to be no way to zoom 
back and I am too close

What version of the product are you using? On what operating system?

I am using 5.2 final on Mac OS 9.4

Please provide any additional information below.

[Fri 2014-07-25 08:35:52 EDT] ================================================
[Fri 2014-07-25 08:35:52 EDT] Initializing axes for profile 'Default'!
[Fri 2014-07-25 08:35:52 EDT] Going to create lock 
'/Users/barrypearl/.config/linuxtrack/ltr_server.lock' => 23!
[Fri 2014-07-25 08:35:52 EDT] Passing the lock to protect fifo (pid 1025)!
[Fri 2014-07-25 08:35:52 EDT] Going to create lock '/tmp/ltr_fifi.lock' => 24!
[Fri 2014-07-25 08:35:52 EDT] Lock 24 success!
[Fri 2014-07-25 08:35:52 EDT] Passing the lock to protect fifo (pid 1025)!
[Fri 2014-07-25 08:35:52 EDT] Fifo /tmp/ltr_fifi (lock /tmp/ltr_fifi.lock) 
locked!!![Fri 2014-07-25 08:35:52 EDT] Fifo exists already!
[Fri 2014-07-25 08:35:52 EDT] Fifo /tmp/ltr_fifi (fd 25) opened and locked!
[Fri 2014-07-25 08:35:52 EDT] Closing semaphore 24 (pid 1025)!
[Fri 2014-07-25 08:35:52 EDT] Master is not running, start it
[Fri 2014-07-25 08:35:52 EDT] Fifo exists already!
[Fri 2014-07-25 08:35:52 EDT] open_fifo_for_writing: Device not configured
[Fri 2014-07-25 08:35:53 EDT] Registering slave fifo @ fd24...
[Fri 2014-07-25 08:35:53 EDT] Going to create lock '/tmp/ltr_sfifi00.lock' => 
25!
[Fri 2014-07-25 08:35:53 EDT] Lock 25 success!
[Fri 2014-07-25 08:35:53 EDT] Passing the lock to protect fifo (pid 1025)!
[Fri 2014-07-25 08:35:53 EDT] Fifo /tmp/ltr_sfifi00 (lock 
/tmp/ltr_sfifi00.lock) locked!!![Fri 2014-07-25 08:35:53 EDT] Fifo exists 
already!
[Fri 2014-07-25 08:35:53 EDT] Fifo /tmp/ltr_sfifi00 (fd 26) opened and locked!
[Fri 2014-07-25 08:35:53 EDT] Trying to open unique fifo /tmp/ltr_sfifi00 => 26
[Fri 2014-07-25 08:35:53 EDT] Master downlink (26) OK!
[Fri 2014-07-25 08:37:26 EDT] Slave sending master recenter request!
[Fri 2014-07-25 08:37:31 EDT] Slave sending master recenter request!
[Fri 2014-07-25 08:37:34 EDT] Slave sending master recenter request!
[Fri 2014-07-25 08:38:07 EDT] Slave sending master recenter request!
[Fri 2014-07-25 08:38:12 EDT] Slave sending master recenter request!
[Fri 2014-07-25 08:41:04 EDT] Slave sending master recenter request!
[Fri 2014-07-25 08:41:08 EDT] Slave sending master recenter request!
[Fri 2014-07-25 08:41:09 EDT] Slave sending master recenter request!
[Fri 2014-07-25 08:42:33 EDT] Closing semaphore 19 (pid 1025)!
[Fri 2014-07-25 08:42:33 EDT] Closing axes!
[Fri 2014-07-25 08:42:33 EDT] Closing semaphore 23 (pid 1025)!
Linuxtrack version 0.99.10
[Fri 2014-07-25 08:47:38 EDT] Going to create lock 
'/Users/barrypearl/.config/linuxtrack/ltr_server.lock' => 3!
[Fri 2014-07-25 08:47:38 EDT] Passing the lock to protect fifo (pid 1222)!
[Fri 2014-07-25 08:47:38 EDT] Going to create lock '/tmp/ltr_fifi.lock' => 25!
[Fri 2014-07-25 08:47:38 EDT] Lock 25 success!
[Fri 2014-07-25 08:47:38 EDT] Passing the lock to protect fifo (pid 1222)!
[Fri 2014-07-25 08:47:38 EDT] Fifo /tmp/ltr_fifi (lock /tmp/ltr_fifi.lock) 
locked!!![Fri 2014-07-25 08:47:38 EDT] Fifo exists already!
[Fri 2014-07-25 08:47:38 EDT] Fifo /tmp/ltr_fifi (fd 26) opened and locked!
[Fri 2014-07-25 08:47:38 EDT] Preferences read OK!
[Fri 2014-07-25 08:47:38 EDT] Dumping prefs:
[Fri 2014-07-25 08:47:38 EDT] [Global]
Model = NP TrackClip
Prefix = "/Volumes/linuxtrack/ltr_gui.app/Contents/MacOS"
Input = TrackIR
Camera-orientation = 0

[Wiimote]
Capture-device = Wiimote
Capture-device-id = Wiimote
Running-indication = 0100
Paused-indication = 0010

[TrackIR]
Capture-device = Tir
Capture-device-id = Tir
Threshold = 114
Min-blob = 4
Max-blob = 2500
Status-led-brightness = 0
Ir-led-brightness = 7
Status-signals = On

[NP TrackClip]
Model-type = Cap
Cap-X = 67
Cap-Y = 54
Cap-Z = 96
Head-Y = 104
Head-Z = 66
Active = no

[NP TrackClip Pro]
Model-type = Clip
Clip-Y1 = 40
Clip-Y2 = 110
Clip-Z1 = 30
Clip-Z2 = 50
Head-X = -100
Head-Y = -100
Head-Z = 50
Active = yes

[Face]
Model-type = Face

[Single Point Reflective]
Model-type = SinglePoint
Active = no

[Single LED]
Model-type = SinglePoint
Active = yes

[Default]
Title = Default
Pitch-enabled = Yes
Pitch-deadzone = 0.0
Pitch-left-curvature = 0.5
Pitch-right-curvature = 0.5
Pitch-sensitivity = 4.08333
Pitch-left-limit = 80.000000
Pitch-right-limit = 80.000000
Pitch-filter = 0.30303
Pitch-inverted = No
Yaw-enabled = Yes
Yaw-deadzone = 0.0
Yaw-left-curvature = 0.5
Yaw-right-curvature = 0.5
Yaw-sensitivity = 3.75
Yaw-left-limit = 130.000000
Yaw-right-limit = 130.000000
Yaw-filter = 0.30303
Yaw-inverted = No
Roll-enabled = Yes
Roll-deadzone = 0.0
Roll-left-curvature = 0.5
Roll-right-curvature = 0.5
Roll-sensitivity = 1.500000
Roll-left-limit = 45.000000
Roll-right-limit = 45.000000
Roll-filter = 0.30303
Roll-inverted = No
Xtranslation-enabled = Yes
Xtranslation-deadzone = 0.0
Xtranslation-left-curvature = 0.5
Xtranslation-right-curvature = 0.5
Xtranslation-sensitivity = 4.33333
Xtranslation-left-limit = 300.000000
Xtranslation-right-limit = 300.000000
Xtranslation-filter = 0.30303
Xtranslation-inverted = No
Ytranslation-enabled = Yes
Ytranslation-deadzone = 0.0
Ytranslation-left-curvature = 0.5
Ytranslation-right-curvature = 0.5
Ytranslation-sensitivity = 2.16667
Ytranslation-left-limit = 300.000000
Ytranslation-right-limit = 300.000000
Ytranslation-filter = 0.30303
Ytranslation-inverted = No
Ztranslation-enabled = Yes
Ztranslation-deadzone = 0.0
Ztranslation-left-curvature = 0.5
Ztranslation-right-curvature = 0.5
Ztranslation-sensitivity = 1.75
Ztranslation-left-limit = 300.000000
Ztranslation-right-limit = 1.000000
Ztranslation-filter = 0.60303
Ztranslation-inverted = No

[MacWebcam-face]
Capture-device = MacWebcam-face
Capture-device-id = FaceTime HD Camera (Built-in)
Resolution = 352 x 288
Cascade = 
/Volumes/linuxtrack/ltr_gui.app/Contents/Resources/linuxtrack/haarcascades/haarc
ascade_frontalface_alt2.xml
Exp-filter-factor = 0.105263
Optimization-level = 0

[MacWebcam]
Capture-device = MacWebcam
Capture-device-id = FaceTime HD Camera (Built-in)
Resolution = 640 x 480
Threshold = 130
Min-blob = 9
Max-blob = 231
Upside-down = No

[Fri 2014-07-25 08:47:38 EDT] ================================================
[Fri 2014-07-25 08:47:38 EDT] Setting up Cap
[Fri 2014-07-25 08:47:38 EDT] Initializing model!
[Fri 2014-07-25 08:47:38 EDT] Tracking initialized!
[Fri 2014-07-25 08:47:38 EDT] Device Type: Track IR
[Fri 2014-07-25 08:47:38 EDT] Changing state to INITIALIZING!
[Fri 2014-07-25 08:47:38 EDT] Loading library 'libtir'
[Fri 2014-07-25 08:47:38 EDT] Running!
[Fri 2014-07-25 08:47:38 EDT] Changing state to INITIALIZING!
[Fri 2014-07-25 08:47:38 EDT] Initializing the tracker.
[Fri 2014-07-25 08:47:38 EDT] Lib loaded, prefs read...
[Fri 2014-07-25 08:47:38 EDT] Initializing libusb.
[Fri 2014-07-25 08:47:38 EDT] Libusb initialized successfuly.
[Fri 2014-07-25 08:47:38 EDT] Libusb debug level set.
[Fri 2014-07-25 08:47:38 EDT] Requesting device list.
[Fri 2014-07-25 08:47:38 EDT] Device list received (22 devices).
[Fri 2014-07-25 08:47:38 EDT] Device is a TrackIR (131D:0158).
[Fri 2014-07-25 08:47:38 EDT] Opening handle to the device found.
[Fri 2014-07-25 08:47:38 EDT] Handle opened successfully.
[Fri 2014-07-25 08:47:38 EDT] Freeing device list.
[Fri 2014-07-25 08:47:38 EDT] Device list freed.
[Fri 2014-07-25 08:47:38 EDT] Requesting TrackIR configuration.
[Fri 2014-07-25 08:47:38 EDT] TrackIR configuration received.
[Fri 2014-07-25 08:47:38 EDT] TrackIR already in requested configuration.
[Fri 2014-07-25 08:47:38 EDT] Trying to claim TrackIR interface.
[Fri 2014-07-25 08:47:38 EDT] TrackIR interface claimed.
[Fri 2014-07-25 08:47:38 EDT] Requesting TrackIR configuration.
[Fri 2014-07-25 08:47:38 EDT] TrackIR configuration received.
[Fri 2014-07-25 08:47:38 EDT] Device configuration is OK.
[Fri 2014-07-25 08:47:38 EDT] Turning status LED off (TIR5).
[Fri 2014-07-25 08:47:38 EDT] Setting IR LED.
[Fri 2014-07-25 08:47:39 EDT] Flushing FIFO.
[Fri 2014-07-25 08:47:39 EDT] Turning status LED off (TIR5).
[Fri 2014-07-25 08:47:39 EDT] Turning status LED off (TIR5).
[Fri 2014-07-25 08:47:39 EDT] Setting IR LED.
[Fri 2014-07-25 08:47:39 EDT] Flushing packets...
[Fri 2014-07-25 08:47:39 EDT] Sending get_conf request.
[Fri 2014-07-25 08:47:39 EDT] Requesting data...
[Fri 2014-07-25 08:47:39 EDT] Request for data timed out. Will try later...
[Fri 2014-07-25 08:47:39 EDT] Requesting data...
[Fri 2014-07-25 08:47:39 EDT] Request for data timed out. Will try later...
[Fri 2014-07-25 08:47:39 EDT] Requesting data...
[Fri 2014-07-25 08:47:39 EDT] Request for data timed out. Will try later...
[Fri 2014-07-25 08:47:39 EDT] Requesting data...
[Fri 2014-07-25 08:47:39 EDT] Request for data timed out. Will try later...
[Fri 2014-07-25 08:47:39 EDT] Requesting data...
[Fri 2014-07-25 08:47:39 EDT] Request for data timed out. Will try later...
[Fri 2014-07-25 08:47:39 EDT] Requesting data...
[Fri 2014-07-25 08:47:39 EDT] Request for data timed out. Will try later...
[Fri 2014-07-25 08:47:39 EDT] Requesting data...
[Fri 2014-07-25 08:47:39 EDT] Request for data timed out. Will try later...
[Fri 2014-07-25 08:47:39 EDT] Requesting data...
[Fri 2014-07-25 08:47:39 EDT] Request for data timed out. Will try later...
[Fri 2014-07-25 08:47:39 EDT] Requesting data...
[Fri 2014-07-25 08:47:39 EDT] Request for data timed out. Will try later...
[Fri 2014-07-25 08:47:39 EDT] Requesting data...
[Fri 2014-07-25 08:47:39 EDT] Request for data timed out. Will try later...
[Fri 2014-07-25 08:47:39 EDT] Setting IR LED.
[Fri 2014-07-25 08:47:39 EDT] Flushing FIFO.
[Fri 2014-07-25 08:47:39 EDT] Setting exposure.
[Fri 2014-07-25 08:47:39 EDT] Requesting status.
[Fri 2014-07-25 08:47:39 EDT] Status request timed out, will try again...
[Fri 2014-07-25 08:47:39 EDT] Requesting status.
[Fri 2014-07-25 08:47:39 EDT] Status request timed out, will try again...
[Fri 2014-07-25 08:47:39 EDT] Requesting status.
[Fri 2014-07-25 08:47:39 EDT] Status request timed out, will try again...
[Fri 2014-07-25 08:47:39 EDT] Requesting status.
[Fri 2014-07-25 08:47:39 EDT] Status request timed out, will try again...
[Fri 2014-07-25 08:47:39 EDT] Requesting status.
[Fri 2014-07-25 08:47:39 EDT] Status request timed out, will try again...
[Fri 2014-07-25 08:47:39 EDT] Fifo exists already!
[Fri 2014-07-25 08:47:39 EDT] Initializing axes for profile 'Default'!
[Fri 2014-07-25 08:47:39 EDT] Closing axes!
[Fri 2014-07-25 08:47:39 EDT] Checking for changed prefs...
[Fri 2014-07-25 08:47:39 EDT] Requesting status.
[Fri 2014-07-25 08:47:39 EDT] Status request timed out, will try again...
[Fri 2014-07-25 08:47:39 EDT] Requesting status.
[Fri 2014-07-25 08:47:39 EDT] Status request timed out, will try again...
[Fri 2014-07-25 08:47:39 EDT] Requesting status.
[Fri 2014-07-25 08:47:39 EDT] Status request timed out, will try again...
[Fri 2014-07-25 08:47:39 EDT] Requesting status.
[Fri 2014-07-25 08:47:39 EDT] Status request timed out, will try again...
[Fri 2014-07-25 08:47:39 EDT] Requesting status.
[Fri 2014-07-25 08:47:39 EDT] Status request timed out, will try again...
[Fri 2014-07-25 08:47:39 EDT] Requesting status.
[Fri 2014-07-25 08:47:39 EDT] Status request timed out, will try again...
[Fri 2014-07-25 08:47:39 EDT] Requesting status.
[Fri 2014-07-25 08:47:39 EDT] Status request timed out, will try again...
[Fri 2014-07-25 08:47:39 EDT] Requesting status.
[Fri 2014-07-25 08:47:39 EDT] Status request timed out, will try again...
[Fri 2014-07-25 08:47:39 EDT] Requesting status.
[Fri 2014-07-25 08:47:39 EDT] Status request timed out, will try again...
[Fri 2014-07-25 08:47:39 EDT] Requesting status.
[Fri 2014-07-25 08:47:39 EDT] Status request timed out, will try again...
[Fri 2014-07-25 08:47:39 EDT] Requesting status.
[Fri 2014-07-25 08:47:39 EDT] Status request timed out, will try again...
[Fri 2014-07-25 08:47:39 EDT] Requesting status.
[Fri 2014-07-25 08:47:39 EDT] Status request timed out, will try again...
[Fri 2014-07-25 08:47:39 EDT] Requesting status.
[Fri 2014-07-25 08:47:39 EDT] Status request timed out, will try again...
[Fri 2014-07-25 08:47:39 EDT] Requesting status.
[Fri 2014-07-25 08:47:39 EDT] Status request timed out, will try again...
[Fri 2014-07-25 08:47:39 EDT] Requesting status.
[Fri 2014-07-25 08:47:39 EDT] Status request timed out, will try again...
[Fri 2014-07-25 08:47:39 EDT] Status packet: 00 00 00 00 00 00 00
[Fri 2014-07-25 08:47:39 EDT] Loading firmware 
'/Users/barrypearl/.config/linuxtrack//tir_firmware/tir5v2.fw.gz'
[Fri 2014-07-25 08:47:39 EDT] Size: 36145  Cksum: 5792
[Fri 2014-07-25 08:47:40 EDT] Firmware uploaded!
[Fri 2014-07-25 08:47:40 EDT] Flushing FIFO.
[Fri 2014-07-25 08:47:40 EDT] Requesting status.
[Fri 2014-07-25 08:47:40 EDT] Status request timed out, will try again...
[Fri 2014-07-25 08:47:40 EDT] Requesting status.
[Fri 2014-07-25 08:47:40 EDT] Status request timed out, will try again...
[Fri 2014-07-25 08:47:40 EDT] Requesting status.
[Fri 2014-07-25 08:47:40 EDT] Status request timed out, will try again...
[Fri 2014-07-25 08:47:40 EDT] Requesting status.
[Fri 2014-07-25 08:47:40 EDT] Status request timed out, will try again...
[Fri 2014-07-25 08:47:40 EDT] Requesting status.
[Fri 2014-07-25 08:47:40 EDT] Status request timed out, will try again...
[Fri 2014-07-25 08:47:40 EDT] Requesting status.
[Fri 2014-07-25 08:47:40 EDT] Status request timed out, will try again...
[Fri 2014-07-25 08:47:40 EDT] Requesting status.
[Fri 2014-07-25 08:47:40 EDT] Status request timed out, will try again...
[Fri 2014-07-25 08:47:40 EDT] Requesting status.
[Fri 2014-07-25 08:47:40 EDT] Status request timed out, will try again...
[Fri 2014-07-25 08:47:40 EDT] Requesting status.
[Fri 2014-07-25 08:47:40 EDT] Status request timed out, will try again...
[Fri 2014-07-25 08:47:40 EDT] Requesting status.
[Fri 2014-07-25 08:47:40 EDT] Status request timed out, will try again...
[Fri 2014-07-25 08:47:40 EDT] Requesting status.
[Fri 2014-07-25 08:47:40 EDT] Status request timed out, will try again...
[Fri 2014-07-25 08:47:40 EDT] Requesting status.
[Fri 2014-07-25 08:47:40 EDT] Status request timed out, will try again...
[Fri 2014-07-25 08:47:40 EDT] Requesting status.
[Fri 2014-07-25 08:47:40 EDT] Status request timed out, will try again...
[Fri 2014-07-25 08:47:40 EDT] Requesting status.
[Fri 2014-07-25 08:47:40 EDT] Status request timed out, will try again...
[Fri 2014-07-25 08:47:40 EDT] Requesting status.
[Fri 2014-07-25 08:47:40 EDT] Status request timed out, will try again...
[Fri 2014-07-25 08:47:40 EDT] Requesting status.
[Fri 2014-07-25 08:47:40 EDT] Status request timed out, will try again...
[Fri 2014-07-25 08:47:40 EDT] Requesting status.
[Fri 2014-07-25 08:47:40 EDT] Status request timed out, will try again...
[Fri 2014-07-25 08:47:40 EDT] Requesting status.
[Fri 2014-07-25 08:47:40 EDT] Status request timed out, will try again...
[Fri 2014-07-25 08:47:40 EDT] Requesting status.
[Fri 2014-07-25 08:47:40 EDT] Status request timed out, will try again...
[Fri 2014-07-25 08:47:40 EDT] Requesting status.
[Fri 2014-07-25 08:47:40 EDT] Status request timed out, will try again...
[Fri 2014-07-25 08:47:40 EDT] Status packet: 00 00 00 00 00 00 00
[Fri 2014-07-25 08:47:40 EDT] Setting threshold.
[Fri 2014-07-25 08:47:40 EDT] Setting exposure.
[Fri 2014-07-25 08:47:40 EDT] Setting IR LED.
[Fri 2014-07-25 08:47:40 EDT] Setting status LED.
[Fri 2014-07-25 08:47:40 EDT] Setting status LED.
[Fri 2014-07-25 08:47:40 EDT] Setting status LED.
[Fri 2014-07-25 08:47:40 EDT] Setting IR LED.
[Fri 2014-07-25 08:47:40 EDT] Setting threshold.
[Fri 2014-07-25 08:47:40 EDT] Setting exposure.
[Fri 2014-07-25 08:47:40 EDT] Setting status LED.
[Fri 2014-07-25 08:47:40 EDT] Flushing FIFO.
[Fri 2014-07-25 08:47:40 EDT] Setting IR LED.
[Fri 2014-07-25 08:47:40 EDT] Going to start camera.
[Fri 2014-07-25 08:47:40 EDT] Turning status LED off (TIR5).
[Fri 2014-07-25 08:47:40 EDT] Setting IR LED.
[Fri 2014-07-25 08:47:41 EDT] Flushing FIFO.
[Fri 2014-07-25 08:47:41 EDT] Turning status LED off (TIR5).
[Fri 2014-07-25 08:47:41 EDT] Turning status LED off (TIR5).
[Fri 2014-07-25 08:47:41 EDT] Setting IR LED.
[Fri 2014-07-25 08:47:41 EDT] Setting IR LED.
[Fri 2014-07-25 08:47:41 EDT] Setting up Cap
[Fri 2014-07-25 08:47:41 EDT] Changing state to RUNNING!
[Fri 2014-07-25 08:47:41 EDT] Setting threshold.
[Fri 2014-07-25 08:48:48 EDT] Suspending!
[Fri 2014-07-25 08:48:48 EDT] Changing state to PAUSED!
[Fri 2014-07-25 08:48:48 EDT] Turning status LED off (TIR5).
[Fri 2014-07-25 08:48:48 EDT] Setting IR LED.
[Fri 2014-07-25 08:48:49 EDT] Flushing FIFO.
[Fri 2014-07-25 08:48:49 EDT] Turning status LED off (TIR5).
[Fri 2014-07-25 08:48:49 EDT] Turning status LED off (TIR5).
[Fri 2014-07-25 08:48:49 EDT] Setting IR LED.
[Fri 2014-07-25 08:48:58 EDT] Waking!
[Fri 2014-07-25 08:48:58 EDT] Turning status LED off (TIR5).
[Fri 2014-07-25 08:48:58 EDT] Setting IR LED.
[Fri 2014-07-25 08:48:59 EDT] Flushing FIFO.
[Fri 2014-07-25 08:48:59 EDT] Turning status LED off (TIR5).
[Fri 2014-07-25 08:48:59 EDT] Turning status LED off (TIR5).
[Fri 2014-07-25 08:48:59 EDT] Setting IR LED.
[Fri 2014-07-25 08:48:59 EDT] Setting IR LED.
[Fri 2014-07-25 08:48:59 EDT] Changing state to RUNNING!
[Fri 2014-07-25 08:57:45 EDT] Write @fd 34 failed:
[Fri 2014-07-25 08:57:45 EDT] write@pipe_send: Broken pipe
[Fri 2014-07-25 08:57:45 EDT] Slave @fifo 34 left!
[Fri 2014-07-25 08:57:46 EDT] Shutting down tracking...
[Fri 2014-07-25 08:57:46 EDT] Closing!
[Fri 2014-07-25 08:57:46 EDT] Closing the TIR5 camera.
[Fri 2014-07-25 08:57:46 EDT] Turning status LED off (TIR5).
[Fri 2014-07-25 08:57:46 EDT] Setting IR LED.
[Fri 2014-07-25 08:57:47 EDT] Flushing FIFO.
[Fri 2014-07-25 08:57:47 EDT] Turning status LED off (TIR5).
[Fri 2014-07-25 08:57:47 EDT] Turning status LED off (TIR5).
[Fri 2014-07-25 08:57:47 EDT] Setting IR LED.
[Fri 2014-07-25 08:57:47 EDT] Setting threshold.
[Fri 2014-07-25 08:57:47 EDT] Setting exposure.
[Fri 2014-07-25 08:57:47 EDT] Setting IR LED.
[Fri 2014-07-25 08:57:47 EDT] Setting status LED.
[Fri 2014-07-25 08:57:47 EDT] Setting status LED.
[Fri 2014-07-25 08:57:47 EDT] Closing TrackIR.
[Fri 2014-07-25 08:57:47 EDT] Releasing TrackIR interface.
[Fri 2014-07-25 08:57:47 EDT] TrackIR interface released.
[Fri 2014-07-25 08:57:47 EDT] Closing TrackIR handle.
[Fri 2014-07-25 08:57:47 EDT] Exiting libusb.
[Fri 2014-07-25 08:57:47 EDT] Libusb exited.
[Fri 2014-07-25 08:57:47 EDT] TIR5 camera closed.
[Fri 2014-07-25 08:57:47 EDT] Changing state to STOPPED!
[Fri 2014-07-25 08:57:47 EDT] Closing semaphore 25 (pid 1222)!
[Fri 2014-07-25 08:57:47 EDT] Closing semaphore 3 (pid 1222)!
Linuxtrack version 0.99.10
[Fri 2014-07-25 09:22:57 EDT] Starting ltr_gui
[Fri 2014-07-25 09:22:58 EDT] Preferences read OK!
[Fri 2014-07-25 09:22:58 EDT] Dumping prefs:
[Fri 2014-07-25 09:22:58 EDT] [Global]
Model = NP TrackClip
Prefix = "/Volumes/linuxtrack/ltr_gui.app/Contents/MacOS"
Input = TrackIR
Camera-orientation = 0

[Wiimote]
Capture-device = Wiimote
Capture-device-id = Wiimote
Running-indication = 0100
Paused-indication = 0010

[TrackIR]
Capture-device = Tir
Capture-device-id = Tir
Threshold = 114
Min-blob = 4
Max-blob = 2500
Status-led-brightness = 0
Ir-led-brightness = 7
Status-signals = On

[NP TrackClip]
Model-type = Cap
Cap-X = 67
Cap-Y = 54
Cap-Z = 96
Head-Y = 81
Head-Z = 83
Active = no

[NP TrackClip Pro]
Model-type = Clip
Clip-Y1 = 40
Clip-Y2 = 110
Clip-Z1 = 30
Clip-Z2 = 50
Head-X = -100
Head-Y = -100
Head-Z = 50
Active = yes

[Face]
Model-type = Face

[Single Point Reflective]
Model-type = SinglePoint
Active = no

[Single LED]
Model-type = SinglePoint
Active = yes

[Default]
Title = Default
Pitch-enabled = Yes
Pitch-deadzone = 0.0
Pitch-left-curvature = 0.5
Pitch-right-curvature = 0.5
Pitch-sensitivity = 2.66667
Pitch-left-limit = 80.000000
Pitch-right-limit = 80.000000
Pitch-filter = 0.30303
Pitch-inverted = No
Yaw-enabled = Yes
Yaw-deadzone = 0.0
Yaw-left-curvature = 0.5
Yaw-right-curvature = 0.5
Yaw-sensitivity = 2.91667
Yaw-left-limit = 130.000000
Yaw-right-limit = 130.000000
Yaw-filter = 0.30303
Yaw-inverted = No
Roll-enabled = Yes
Roll-deadzone = 0.0
Roll-left-curvature = 0.5
Roll-right-curvature = 0.5
Roll-sensitivity = 2.25
Roll-left-limit = 45.000000
Roll-right-limit = 45.000000
Roll-filter = 0.30303
Roll-inverted = No
Xtranslation-enabled = Yes
Xtranslation-deadzone = 0.0
Xtranslation-left-curvature = 0.5
Xtranslation-right-curvature = 0.5
Xtranslation-sensitivity = 4.33333
Xtranslation-left-limit = 300.000000
Xtranslation-right-limit = 300.000000
Xtranslation-filter = 0.30303
Xtranslation-inverted = No
Ytranslation-enabled = Yes
Ytranslation-deadzone = 0.0
Ytranslation-left-curvature = 0.5
Ytranslation-right-curvature = 0.5
Ytranslation-sensitivity = 2.16667
Ytranslation-left-limit = 300.000000
Ytranslation-right-limit = 300.000000
Ytranslation-filter = 0.30303
Ytranslation-inverted = No
Ztranslation-enabled = Yes
Ztranslation-deadzone = 0.0
Ztranslation-left-curvature = 0.5
Ztranslation-right-curvature = 0.5
Ztranslation-sensitivity = 7.08333
Ztranslation-left-limit = 300.000000
Ztranslation-right-limit = 1.000000
Ztranslation-filter = 0.60303
Ztranslation-inverted = No

[MacWebcam-face]
Capture-device = MacWebcam-face
Capture-device-id = FaceTime HD Camera (Built-in)
Resolution = 352 x 288
Cascade = 
/Volumes/linuxtrack/ltr_gui.app/Contents/Resources/linuxtrack/haarcascades/haarc
ascade_frontalface_alt2.xml
Exp-filter-factor = 0.105263
Optimization-level = 0

[MacWebcam]
Capture-device = MacWebcam
Capture-device-id = FaceTime HD Camera (Built-in)
Resolution = 640 x 480
Threshold = 130
Min-blob = 9
Max-blob = 231
Upside-down = No

[Fri 2014-07-25 09:22:58 EDT] ================================================
[Fri 2014-07-25 09:22:58 EDT] Opening logfile viewer.
[Fri 2014-07-25 09:22:58 EDT] Launching wine command: '"wine" "--version"'
[Fri 2014-07-25 09:22:58 EDT] Process error: Failed To Start
[Fri 2014-07-25 09:22:58 EDT] Using internal wine; adjusting env variables:
[Fri 2014-07-25 09:22:58 EDT]     
PATH='/Volumes/linuxtrack/ltr_gui.app/Contents/MacOS/../wine/bin/:/usr/bin:/bin:
/usr/sbin:/sbin'
[Fri 2014-07-25 09:22:58 EDT]     
WINESERVER='/Volumes/linuxtrack/ltr_gui.app/Contents/MacOS/../wine/bin/wineserve
r'
[Fri 2014-07-25 09:22:58 EDT]     
WINELOADER='/Volumes/linuxtrack/ltr_gui.app/Contents/MacOS/../wine/bin/wine'
[Fri 2014-07-25 09:22:58 EDT]     
WINEDLLPATH='/Volumes/linuxtrack/ltr_gui.app/Contents/MacOS/../wine/lib/wine/fak
edlls'
[Fri 2014-07-25 09:22:58 EDT]     
DYLD_LIBRARY_PATH='/Volumes/linuxtrack/ltr_gui.app/Contents/MacOS/../wine/lib/'
[Fri 2014-07-25 09:22:58 EDT]     DYLD_PRINT_ENV='1'
[Fri 2014-07-25 09:22:58 EDT]     DYLD_PRINT_LIBRARIES='1'
[Fri 2014-07-25 09:22:58 EDT]     
WINEDEBUG='+file,+seh,+tid,+process,+rundll,+module'
[Fri 2014-07-25 09:22:58 EDT] Going to create lock 
'/Users/barrypearl/.config/linuxtrack/ltr_server.lock' => 17!
[Fri 2014-07-25 09:22:58 EDT] Lock 17 success!
[Fri 2014-07-25 09:22:58 EDT] Passing the lock to protect fifo (pid 2109)!
[Fri 2014-07-25 09:22:58 EDT] Initializing axes for profile 'Default'!
[Fri 2014-07-25 09:22:58 EDT] Closing axes!
[Fri 2014-07-25 09:22:58 EDT] Initializing axes for profile 'Default'!
[Fri 2014-07-25 09:22:58 EDT] Closing axes!
[Fri 2014-07-25 09:22:58 EDT] Initializing axes for profile 'Default'!
[Fri 2014-07-25 09:22:58 EDT] Closing axes!
[Fri 2014-07-25 09:22:58 EDT] Initializing axes for profile 'Default'!
[Fri 2014-07-25 09:22:58 EDT] Launching wine command: '"wine" "--version"'
[Fri 2014-07-25 09:22:58 EDT] Process error: Failed To Start
[Fri 2014-07-25 09:22:58 EDT] Using internal wine; adjusting env variables:
[Fri 2014-07-25 09:22:58 EDT]     
PATH='/Volumes/linuxtrack/ltr_gui.app/Contents/MacOS/../wine/bin/:/usr/bin:/bin:
/usr/sbin:/sbin'
[Fri 2014-07-25 09:22:58 EDT]     
WINESERVER='/Volumes/linuxtrack/ltr_gui.app/Contents/MacOS/../wine/bin/wineserve
r'
[Fri 2014-07-25 09:22:58 EDT]     
WINELOADER='/Volumes/linuxtrack/ltr_gui.app/Contents/MacOS/../wine/bin/wine'
[Fri 2014-07-25 09:22:58 EDT]     
WINEDLLPATH='/Volumes/linuxtrack/ltr_gui.app/Contents/MacOS/../wine/lib/wine/fak
edlls'
[Fri 2014-07-25 09:22:58 EDT]     
DYLD_LIBRARY_PATH='/Volumes/linuxtrack/ltr_gui.app/Contents/MacOS/../wine/lib/'
[Fri 2014-07-25 09:22:58 EDT]     DYLD_PRINT_ENV='1'
[Fri 2014-07-25 09:22:58 EDT]     DYLD_PRINT_LIBRARIES='1'
[Fri 2014-07-25 09:22:58 EDT]     
WINEDEBUG='+file,+seh,+tid,+process,+rundll,+module'
[Fri 2014-07-25 09:22:58 EDT] Initializing libusb.
[Fri 2014-07-25 09:22:58 EDT] Libusb initialized successfuly.
[Fri 2014-07-25 09:22:58 EDT] Libusb debug level set.
[Fri 2014-07-25 09:22:58 EDT] Requesting device list.
[Fri 2014-07-25 09:22:58 EDT] Device list received (22 devices).
[Fri 2014-07-25 09:22:58 EDT] Device is a TrackIR (131D:0158).
[Fri 2014-07-25 09:22:58 EDT] Opening handle to the device found.
[Fri 2014-07-25 09:22:58 EDT] Handle opened successfully.
[Fri 2014-07-25 09:22:58 EDT] Freeing device list.
[Fri 2014-07-25 09:22:58 EDT] Device list freed.
[Fri 2014-07-25 09:22:58 EDT] Closing TrackIR.
[Fri 2014-07-25 09:22:58 EDT] Closing TrackIR handle.
[Fri 2014-07-25 09:22:58 EDT] Exiting libusb.
[Fri 2014-07-25 09:22:58 EDT] Libusb exited.

Original issue reported on code.google.com by barry.pe...@gmail.com on 25 Jul 2014 at 1:29

GoogleCodeExporter commented 9 years ago
Hello,
the behavior you are experiencing is correct; when Linuxtrack detects a 
PilotView plugin, it channels its data to the plugin, so it works like on 
Windows, when TrackIR is connected. So in this config, you have to both start 
the tracking and activate the PilotView.

As for the wrong point of view; when you activate the PilotView, but not the 
Linuxtrack, do you get the correct view?

Kind regards,

Michal

Original comment by f.jo...@email.cz on 25 Jul 2014 at 9:05

GoogleCodeExporter commented 9 years ago
Michal,

I am on the road and will be home on Sunday. I will check that out and get
back to you as soon as I can.

Original comment by barry.pe...@gmail.com on 26 Jul 2014 at 12:37

GoogleCodeExporter commented 9 years ago
Michal.

 I reinstalled Pilot view and now it seems to be working with most of my
planes except A320 Neo. I have no clue on why it does not work right with
that one plane, maybe you can shed some light on this. One thing that would
be helpful is a step by step installation and setup for Mac. I understand
the X-plane setup but configuring Linuxtrack is another story.

Original comment by barry.pe...@gmail.com on 27 Jul 2014 at 6:08

GoogleCodeExporter commented 9 years ago
Hello,

can you please elaborate more on the subject of how exactly is doesn't work for 
A320 Neo? Unfortunately I don't own the plane, so I can't give it a shot 
myself...

As for the setup and configuration, except for Linuxtrack installation (open 
the .dmg and drag the ltr_gui and Wiimote server somewhere) the instructions 
are pretty much the same on Mac and Linux and they are described in the 
ltr_gui's help...
That said, given the fact that I'm working on this project for quite some time, 
it might be that I overlooked something, that seem too obvious to me, but in 
reality it isn't... Feel free to ask if you stumble upon some problem, just 
please be specific - what the problem is, how does it manifest, ...

Kind regards,

Michal

PS. One more datapoint concerning the A320 malfunction - when you disable the 
PilotView plugin (just drag it somewhere and when done, drag it back) and leave 
Linuxtrack only, how does it behave?

Original comment by f.jo...@email.cz on 28 Jul 2014 at 5:27

GoogleCodeExporter commented 9 years ago
Hi Michal,

I have had the same issues as Barry - I don't know how this works on a Mac, so 
I have been following the conversation.  

Do Mac users have to do anything with Wine.exe?  How do I edit the 
PilotView.ini file, which is a windows file?  When you say drag the ltr_gui and 
Wiimote server somewhere, do you mean put in on our hard drive in any directory 
we want?

I too get the TrackIR working on the Mac using the ltr_gui, but it doesn't work 
in Xplane.

When I open Xplane, the TrackIR green lights come on when loading, but they 
then turn yellow.  

- Pilotview and Linuxtrack are Enabled
- On Xplane 10.30, under Settings/Joystick and Equipment/Equipment, I check the 
box on the left hand side that says TrackIR when in 3D cockpit views.
- When I set up Linuxtrack, it tells me that the Pilotview plugin is found, and 
is channelling head tracking data through it.

Still doesn't work - the lights on the TrackIR are still yellow.

I have tried it with that TrackIR checkbox checked and unchecked.

I would agree that some step by step for Macs would be very useful

Original comment by rdettaco...@gmail.com on 5 Oct 2014 at 5:07

GoogleCodeExporter commented 9 years ago
Hello,
I'm planning to make some screencast going through the linuxtrack setup... 
Unfortunately I don't have much spare time these days, but I'll try to put 
something together as soon as possible...

Anyway, for now, to get you up and running...
When I say drag ltr_gui and Wiimote server, I refer to usual Mac install 
procedure - open the .dmg file and drag the files somewhere (Desktop, 
Applications, ...). Just remember that should you move the ltr_gui, you have to 
run it at least once and save the preferences.

You shouldn't have to do anything with wine.exe; it should do everything for 
you. 
You say the lights turn green, and that orange when you run XPlane, which means 
the firmware is in place. Also the lights changing is normal behavior.

What you have to do is to setup a hotkey/joystick button so 
start/pause/recenter tracker - see this page for walkthrough: 
https://code.google.com/p/linux-track/wiki/XplanePluginSetup

Now you need to install the Pilotview.ini - I usually use Text Wrangler, but I 
think TextEdit should work too...

The checkbox in the Equipment menu works in Windows only...
Hope it helps, let me know should you encounter any more problems.

Kind regards,

Michal

Original comment by f.jo...@email.cz on 5 Oct 2014 at 6:10

GoogleCodeExporter commented 9 years ago
Place the Wiiserver app and LTR_GUI on your desktop and leave them there
and it will work.

Barry

Original comment by barry.pe...@gmail.com on 5 Oct 2014 at 4:09