PDA

View Full Version : Reset Problem


bembem7
03-10-2010, 02:36 PM
Hi all,
This is probably a simple problem but I can't figure out why it is happening.

When I try to reset virtual north, the world usually only jumps a little bit or not at all. It seems to be pretty random (1 out of 30 or 40 presses) that the virtual world actually realigns with physical facing direction.

These are the commands I am using:

posTracker = add('vizppt.dls')
oriTracker = add('intersense.dls')

headTracker = viz.mergeLinkable(posTracker,oriTracker)
headLink = viz.link(headTracker,viz.MainView)

...

vizact.onkeydown ('r', oriTracker.reset)