WorldViz User Forum  

Go Back   WorldViz User Forum > Vizard

Reply
 
Thread Tools Rate Thread Display Modes
  #1  
Old 01-22-2014, 12:37 AM
elpetto elpetto is offline
Member
 
Join Date: Oct 2012
Posts: 5
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
Reply With Quote
  #2  
Old 01-22-2014, 09:40 AM
Jeff Jeff is offline
WorldViz Team Member
 
Join Date: Aug 2008
Posts: 2,471
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)
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


All times are GMT -7. The time now is 06:56 AM.


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