WorldViz User Forum  

Go Back   WorldViz User Forum > Vizard

Reply
 
Thread Tools Rate Thread Display Modes
  #1  
Old 06-11-2012, 03:20 PM
Zhi Zhi is offline
Member
 
Join Date: Mar 2011
Posts: 49
Unusual tracker sensor setup with Vizard

Hi All,

Our lab uses hiball 3000 tracking system. The hiball tracker sensor is usually attached to the top of the HMD. However, a new project requires us to attach the tracker sensor to the left side of the HMD. That is, the tracker sensor is now tilted 90 deg to the left (roll rotation only) with respect to its original orientation. My question is how to recalibrate the tracker coordinate system to the vizard coordinate system. We used the following code to calibrate the hiball tracker coordinate with the upright sensor orienation.

Code:
HeadSensor.swapPos([1,3,2]) 
HeadSensor.swapQuat([-1,-3,-2,4])
Is there an easy way to recalibrate the system when the sensor is rotated 90 deg to the side (i.e. now hiball pitch is vizard yaw, and hiball yaw is vizard pitch, the hiball roll is vizard roll). That is, to find out the corresponding parameters of the swapPos and swapQuat methods.

Thanks in advance.
Zhi
Reply With Quote
  #2  
Old 06-11-2012, 06:07 PM
farshizzo farshizzo is offline
WorldViz Team Member
 
Join Date: Mar 2003
Posts: 2,849
When linking the sensor to the viewpoint (or any other target), you can apply a <link>.preEuler operator to undo the mount offset of the sensor:
Code:
HeadLink = viz.link(HeadSensor,viz.MainView)
HeadLink.preEuler([0,0,-90])
Reply With Quote
  #3  
Old 06-12-2012, 10:52 AM
Zhi Zhi is offline
Member
 
Join Date: Mar 2011
Posts: 49
That's really helpful! Thank you farshizzo.
Reply With Quote
Reply

Thread Tools
Display Modes Rate This Thread
Rate This Thread:

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
Vizard 4 Beta Testing farshizzo Announcements 0 02-01-2011 11:46 AM
Vizard 4 Beta Testing farshizzo Vizard 0 02-01-2011 11:46 AM
Vizard tech tip: Using the Python Imaging Library (PIL) Jeff Vizard 0 03-23-2009 12:13 PM
Can Vizard interact with the Arrington eye tracker? Deltcho Vizard 1 09-18-2007 03:38 PM
Wireless InertiaCube3 with Vizard mspusch Vizard 0 03-01-2005 03:31 AM


All times are GMT -7. The time now is 01:49 AM.


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