#1
|
|||
|
|||
HMD and Vicon
Hi guys,
if have the follwing issue: I want to let a person move in the virtual Reality with a HMD, it has a build in Tracker. So it sends the Tracking data to Vizard and it all works perfectly, I can look around in the environment. But What I also want is that the person moves in the environment with the help of the Vicon data. So I just want the HMD for 'looking around' and the Vicon data to be able to move in different directions. The Vicon tracking works, the data comes in and I can walk around if I'm doing it without the HMD. So it is not a setup problem, more a combination problem... So far I worked out this: " [...] link = viz.link (Vicon, viz.MainView) link.preEuler([90,0,90]) hmd = oculus.Rift() sensor = hmd.getSensor() viz.link(hmd.getSensor(), viz.MainView) [...]" I think the problem is that I kind of overwrite the viz.MainView. Thanks for your help |
#2
|
|||
|
|||
You can use the viz.mergeLinkable command:
Code:
#Create a 6DOF tracker by merging position data from vicon with #orientation data from oculus headTracker = viz.mergeLinkable(posTracker,oriTracker) #Link viz.MainView with headTracker viz.link(headTracker, viz.MainView) |
|
|