philou76 / linux-track

Automatically exported from code.google.com/p/linux-track
0 stars 0 forks source link

Fixed scale and coordinate system #92

Open GoogleCodeExporter opened 8 years ago

GoogleCodeExporter commented 8 years ago
We're working on a VR project and would like to get unscaled values in a 
consistent coordinate system.  

We are using the trackir5 with the NP Trackclip. I've been outputting data 
using udp. We've played with the configuration in linux track GUI, but can't 
seem to get things back to a 1 to 1 scale. We'v also noticed that the origin 
appears be set based on where the Trackclip is placed when the camera is turned 
on.

I understand the use cases for these features for gamers. For our purpose 
however, we would prefer that the origin and orientation and scale were fixed. 
This would allow us to orient and offset the tracking space as needed within 
our software.

Any pointers on how we might accomplish this would be greatly appreciated. 
Also, thank you for sharing this great piece of software.

Original issue reported on code.google.com by jvanderd...@gmail.com on 28 Apr 2015 at 1:02

GoogleCodeExporter commented 8 years ago
Hello,

I received a similar request some time ago and I already worked on it, however 
the requestor became silent, so it was not tested much.

Anyway, please take a look at this page: 
http://linux-track.googlecode.com/svn/trunk/src/qt_gui/help/interface.htm

At the section describing advanced interface, there is linuxtrack_get_abs_pose 
function, that might give you what you need.

The code is in the trunk already, and I can put together a test build for you, 
if needed; just let me know what system (Linux 32/64 bit or Mac) to target.

Kind regards,

Michal

Original comment by f.jo...@email.cz on 28 Apr 2015 at 7:27

GoogleCodeExporter commented 8 years ago
A test build would be great! I'm on a 64 bit Mac.

Original comment by jvanderd...@gmail.com on 29 Apr 2015 at 2:32

GoogleCodeExporter commented 8 years ago
A test build is at http://linuxtrack.eu/test/linuxtrack-0.99.12abs.dmg

Kind regards,

Michal

Original comment by f.jo...@email.cz on 29 Apr 2015 at 8:02

GoogleCodeExporter commented 8 years ago
Thank! I will give it a try and let you know.

Original comment by jvanderd...@gmail.com on 29 Apr 2015 at 8:45

GoogleCodeExporter commented 8 years ago
Sorry, to be clear, this branch adds the API call, but doesn't update
`ltr_pipe` or the gui, correct?

On Wed, Apr 29, 2015 at 1:45 PM Jesse Vander Does <jvanderdoes@gmail.com>
wrote:

Original comment by jvanderd...@gmail.com on 29 Apr 2015 at 9:02

GoogleCodeExporter commented 8 years ago
I was able to test the `linuxtrack_get_abs_pose`. So far it appears to work as 
advertised. My next step will be piping those values into our program.

Thanks for your help.

Original comment by jvanderd...@gmail.com on 29 Apr 2015 at 9:25