Page 1 of 1

Exporting data (position and orientation) via VRPN

Posted: Thu Oct 11, 2012 8:55 am
by gchaney33
Hello I am using the optitrack system with flex13 cameras. I am able to track rigid bodies and stream data from them via VRPN to my virtual reality software (Vizard), however the position and orientation between optitrack and vizard are completely different. How do I sync these up to where when I turn my head to the right for example, the view in vizard turns to the right as well? It seems like the orientation between optitrack and vizard are 180 degrees different.

Thanks!

Re: Exporting data (position and orientation) via VRPN

Posted: Thu Oct 11, 2012 1:44 pm
by NaturalPoint - Mike
Hello -

Are you using Arena or Tracking Tools? Does it look like you're simply using the wrong handed coordinate plane?

Re: Exporting data (position and orientation) via VRPN

Posted: Wed Oct 24, 2012 8:05 am
by gchaney33
I am using tracking tools, but I believe that I solved this problem, however I have two more quick questions for you. I would like to orient my system so that when looking in a particular direction I want the euler angles (roll, yaw, pitch) to all output zero. I want this to be the established "starting" position for my VR training, is there a way to do this? My second question is, when walking around my virtual world, is there a way to "reset" marker positions when I run out of space to walk around in the real world? This is a hard question to ask on a forum so I understand if you need further explanation

Re: Exporting data (position and orientation) via VRPN

Posted: Wed Oct 24, 2012 11:04 am
by Seth Steiling
Yaw, Pitch, and Roll are set at 0 when the rigid body is created. If at any point you want to reset to zero and create a new local orientation, you can click "reset orientation" in the trackables tab.

Your second question is a little unclear. Could you elaborate? There is no way to translate the markers upon location (or any other) trigger. They're always true to the real-world global location. You could apply a transformation matrix to the RB data, after the data leaves Tracking Tools, based on some sort of location trigger.

Re: Exporting data (position and orientation) via VRPN

Posted: Wed Oct 24, 2012 11:20 am
by gchaney33
Yes that question is tricky. I guess I could always manipulate tha data from trackin tools in vizard in order to be able to span my entire virtual world within the real world

Re: Exporting data (position and orientation) via VRPN

Posted: Wed Oct 24, 2012 12:25 pm
by Seth Steiling
[quote=gchaney33]Yes that question is tricky. I guess I could always manipulate tha data from trackin tools in vizard in order to be able to span my entire virtual world within the real world[/quote]
Yeah, Tracking Tools is primarily about giving you the data--be it local or global. Any contextually-triggered transformations should happen downstream.