WorldViz User Forum  

Go Back   WorldViz User Forum > Vizard

Reply
 
Thread Tools Rate Thread Display Modes
  #1  
Old 06-05-2012, 03:55 PM
Zhi Zhi is offline
Member
 
Join Date: Mar 2011
Posts: 49
Integrated orientation tracker in zSight HMD

Hi All,

Our lab recently purchased a zSight HMD, which integrated a 3DOF orientation tracker. We were exciting that a simple code can make it work, as below:

Code:
import sensics

hmd = sensics.zSight_60()
tracker = sensics.zSightSensor()
viz.link(tracker, viz.MainView)
However, my question is how to determine the tracker coordinates with respect to the real world. Is the tracker coordinates fixed or does it depend on the initial (physical) status of the HMD? How do we align, for example, the +Z axis in the virtual world to the physical north of the real world.

Another question is that it seems the default position of the HMD is fixed (i.e. 1.76 m above the ground). Is there a way to change the default position of the zSight tracker?

Thanks in advance.
Zhi
Reply With Quote
  #2  
Old 06-05-2012, 04:57 PM
farshizzo farshizzo is offline
WorldViz Team Member
 
Join Date: Mar 2003
Posts: 2,849
I'm not sure how the zSight sensor calibrates itself. You might need to ask Sensics about this. Either way, you will need to apply a postEuler operator on the view link to align it with your virtual north. Example:
Code:
view_link = viz.link(tracker, viz.MainView)
view_link.postEuler([45,0,0])
The zSight sensor does not provide position data. So you will need to either link a position tracker to the view or manually control the viz.MainView object yourself. For example, if you need to position the view at [1,2,3], you would use the following code:
Code:
viz.MainView.setPosition([1,2,3])
Reply With Quote
  #3  
Old 06-06-2012, 09:29 AM
Zhi Zhi is offline
Member
 
Join Date: Mar 2011
Posts: 49
Thank you farshizzo. I have contacted sensics support team. They told me that zSight tracker is not self calibrated. So, I made a calibration function using the code you suggested.

Zhi
Reply With Quote
Reply


Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off

Forum Jump

Similar Threads
Thread Thread Starter Forum Replies Last Post
Intermittent orthographic stereo projection problems AySz88 Vizard 10 02-17-2012 01:50 PM
The problem of tracker using via VRPN _kj_ Vizard 2 08-13-2009 01:03 AM
problem in setting the orientation of bones bharatbhushan Vizard 0 06-30-2009 05:30 AM
CAVE PPT Tracker Help with Orientation Inversion on Up and Down shivanangel Vizard 3 03-11-2009 10:14 PM
Can you link the position of a tracker to the orientation of an object? michaelrepucci Vizard 1 09-19-2008 11:23 AM


All times are GMT -7. The time now is 10:21 AM.


Powered by vBulletin® Version 3.8.7
Copyright ©2000 - 2024, vBulletin Solutions, Inc.
Copyright 2002-2023 WorldViz LLC