#1
|
|||
|
|||
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]) Thanks in advance. Zhi |
#2
|
|||
|
|||
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]) |
#3
|
|||
|
|||
That's really helpful! Thank you farshizzo.
|
Thread Tools | |
Display Modes | Rate This Thread |
|
|
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 |