uglyDwarf / linuxtrack

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

ltr_pipe output only when camera not in sight - ubuntu 12.04 #64

Closed GoogleCodeExporter closed 9 years ago

GoogleCodeExporter commented 9 years ago
What steps will reproduce the problem?
1. I run ltr_pipe, I've tried with a precompiled from bin and one I built 
myself, no difference. 

2. I have a TrackIR5 connected with a TrackClip Pro. I have used ltr_gui to 
create a default profile and everything is working in the gui, i get 120fps and 
the tracking is really good. 

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

I want to get the standard output string to be able to parse it to my own 
simulator but i only get updates whenever I remove the TrackClip Pro from the 
cameras sight. The counter keeps ticking but i don't get the output at all in 
the terminal except when I remove the trackclip as i mentioned. 

What version of the product are you using? On what operating system?
I'm using Ubuntu 12.04, TrackIR 5, Trackclip Pro. Linuxtrack 0.99.9

Please provide any additional information below.
I have used the exact same camera on my macbook pro with the macosx-build

Below is a screen dump of the ubuntu run and as you can see by the counter it's 
missing a lot of outputs, this is straight from the terminal:

ltr_pipe: Initializing ltr_pipe
ltr_pipe: Initializing LinuxTrack library
Slave reader thread function entered!
Opening master comms!
Starting as master!
Sending string Default
Master comms opened => u -> 8  d -> 10
Master is responding!
Master Uplink 8, Downlink 10
Trying to register slave!
Slave @fifo 15 registered!
ltr_pipe: Working
-7.277488   -6.720838   12.159801   -54.334518  163.340469  -15.122095  62
-9.037934   -8.959829   10.359237   -47.437599  192.802246  -17.142260  126
-78.757713  24.018265   43.914356   -93.523537  180.756592  -183.167328 241
-84.450745  31.944527   9.725321    63.547665   6.557089    -240.979858 284

Original issue reported on code.google.com by Andersso...@gmail.com on 9 May 2014 at 2:23

GoogleCodeExporter commented 9 years ago
Hello,
I'll try to see if I can reproduce the problem you are seeing; in the meantime, 
might I ask you to attach the logfiles (ltr_gui, last pane, Package logs - just 
type in some name nad attach the result here)... Also the exact commandline you 
use to invoke ltr_gui would be great.

Kind regards,

Michal

PS. During this weekend I plan to release the 0.99.10 version, that contains 
big SDK overhaul - maybe using it would be easier than piping in and parsing 
data from ltr_pipe...

Original comment by f.jo...@email.cz on 9 May 2014 at 7:57

GoogleCodeExporter commented 9 years ago
Hello,
I managed to reproduce the problem and I'm committing the fix right now. I'll 
make the new packages this weekend (or you can try to update and recompile 
yourself), just please let me know if it solves the problem for you...

Thank you for bringing this to my attention!
Kind regards,

Michal 

Original comment by f.jo...@email.cz on 10 May 2014 at 3:17

GoogleCodeExporter commented 9 years ago
Hello,
I'm closing this issue, as the problem should be fixed - feel free to reopen it 
should you encounter the problem again...

Kind regards,

Michal 

Original comment by f.jo...@email.cz on 18 Nov 2014 at 6:13