![]() |
Position and Orientation tracking problem
When I ran my Vizard program and tried to move around with the headset, it wasn't picking up the movement (both position and orientation). I went back and checked the PPT program to see whether the cameras were picking up the movement. They were able to pick up the movement. I'm suspecting it has something to do with my code. I was wondering what could be the cause of this and how it could be fixed.
Thanks, Vic |
Vic,
We use position and orientation tracking in our code. We use a function like this: import viztracker isense = viz.add('intersense.dls') vrpn = viz.add('vrpn7.dle') marker = vrpn.addTracker('PPT0@' + PPT_HOSTNAME,sensor=0) view = viz.MainView def checkHead(): ori = isense.get()vizact.onupdate(0, checkHead) But I'm sure there are other ways to accomplish the same thing, like using a timer callback. We had trouble at first because we hadn't set PPT_HOSTNAME correctly. This should be the name of your PPT computer, which in Win XP you can find under the Properties if you right-click on My Computer. Hope that it useful to you. |
All times are GMT -7. The time now is 12:29 PM. |
Powered by vBulletin® Version 3.8.7
Copyright ©2000 - 2025, vBulletin Solutions, Inc.
Copyright 2002-2023 WorldViz LLC