View Single Post
  #1  
Old 06-24-2013, 10:31 AM
escmo escmo is offline
Member
 
Join Date: Jun 2013
Posts: 3
Exclamation Problems with linking Sensor to MainView

Dear community,

I have problems linking a tracker to the MainView. I'm trying two approaches, none of them is working right now. I'm using a Nvisor SX 60 HMD with InertiaCube 2+ sensor.

The first approach is using a viztracker, extract from vizsetupcfg.py:
Code:
isense = viz.add('intersense.dle')
headori = isense.addTracker(port=10)
viz.link(headori, viz.MainView)
and simply a 'viztracker.go()' after importing viztracker. The sensor works as wanted, but the MainView is rooted in (0,2,0) which is not where I want it to be, and setting the position of MainView has no effect.

The second approach is updating the Euler of MainView manually without linking, in which case I can set the position of MainView as usual but the sensor keeps spinning around the z-axis without sensor movement.

Is there any solution to either of the two approaches?

Thanks very much in advance!
Reply With Quote