#1
|
|||
|
|||
How to set offset for ART SmartTrack
I have the ART SmartTrack working in the Christie HoloStation CAVE but when you put the tracked 3D glasses on it doesn't look like the correct view point for the user. It looks like the users eye point should be set to be higher. So I thought maybe the offset needs to be changed.
Since I was not able to use Vizconnect to setup the tracker is there a way to change the offset like you can in Vizconnect for the tracker (I attached the image that shows how you change settings in Vizconnect, but I didn't see information on how to do if not using Vizconnect to setup Tracker)? Below I included the CAVE dimensions information. With the Holostation CAVE the floor sits 32 inches off the ground Code:
# Declare constants defining the CAVE dimensions #height from floor to display 32 inches #height of display 42.875 inches W = 1.724 # 67.875 inches wide H = 1.902 # 74.875 inches tall #DF = 1.08 # 42.5 inches deep for floor D = 1.438 # 56.625 inches deep W2 = W/2.0 C0 = -W2,H,0 # Front Wall: C1,C2,C5,C6 C1 = -W2,H,D # Left Wall: C0,C1,C4,C5 C2 = W2,H,D # Right Wall: C2,C3,C6,C7 C3 = W2,H,0 # Bottom Wall: C5,C6,C4,C7 C4 = -W2,0,0 C5 = -W2,0,D C6 = W2,0,D C7 = W2,0,0 #Create front wall FrontWall = vizcave.Wall( upperLeft=C1, upperRight=C2, lowerLeft=C5, lowerRight=C6, name='Front Wall' ) #Create left wall LeftWall = vizcave.Wall( upperLeft=C0, upperRight=C1, lowerLeft=C4, lowerRight=C5, name='Left Wall' ) #Create right wall RightWall = vizcave.Wall( upperLeft=C2, upperRight=C3, lowerLeft=C6, lowerRight=C7, name='Right Wall' ) #Create bottom wall BottomWall = vizcave.Wall( upperLeft=C5, upperRight=C6, lowerLeft=C4, lowerRight=C7, name='Bottom Wall' ) |
#2
|
|||
|
|||
All the wall corners need to be specified in the tracking system's coordinates. In this case you need to account for the image rise off of the floor:
Code:
# Declare constants defining the CAVE dimensions #height from floor to display 32 inches #height of display 42.875 inches W = 1.724 # 67.875 inches wide H = 1.902 # 74.875 inches tall R = 0.81 # 32 inches rise off floor D = 1.438 # 56.625 inches deep W2 = W/2.0 C0 = -W2,H,0 # Front Wall: C1,C2,C5,C6 C1 = -W2,H,D # Left Wall: C0,C1,C4,C5 C2 = W2,H,D # Right Wall: C2,C3,C6,C7 C3 = W2,H,0 # Bottom Wall: C5,C6,C4,C7 C4 = -W2,R,0 C5 = -W2,R,D C6 = W2,R,D C7 = W2,R,0 Code:
import viz # VRPN Tracker connection (to ART Dtrack) vrpn = viz.add('vrpn7.dle') headtracker = vrpn.addTracker('DTrack@localhost') #Default sensor is 0. Head tracker is on DTrack sensor 0 headtracker.swapPos([1,2,-3]) headtracker.swapQuat([-1,-2,3,4]) headTrackerLink = viz.link(headtracker,viz.NullLinkable) # Adjust for origin offset from ground headTrackerLink.postTrans([0,1,0]) |
|
|
Similar Threads | ||||
Thread | Thread Starter | Forum | Replies | Last Post |
Offset position of link/attached object | MissingAFew | Vizard | 3 | 04-13-2015 05:15 PM |
Introducing a rotation offset into a link | EnvisMJ | Vizard | 1 | 11-13-2013 05:51 AM |
Textures not loading properly and offset window | TarkaDahl | Vizard | 2 | 05-18-2010 01:54 PM |
window offset on windows 7 | IGoudt | Vizard | 0 | 02-09-2010 07:06 AM |
Offset Problem | Elittdogg | Vizard | 1 | 09-15-2009 06:28 AM |