![]() |
|
#2
|
|||
|
|||
|
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. |
|
|
Similar Threads
|
||||
| Thread | Thread Starter | Forum | Replies | Last Post |
| Can you link the position of a tracker to the orientation of an object? | michaelrepucci | Vizard | 1 | 09-19-2008 11:23 AM |
| Flock of Birds (Only Position Tracking working? No Orientation?) | TheLostBrain | Vizard | 6 | 05-10-2008 09:39 AM |
| tracking with multiple LEDS | dan12345 | Precision Position Tracker (PPT) | 7 | 04-02-2008 11:44 PM |
| position tracking with patriot | pgagolf | Vizard | 4 | 04-19-2007 05:42 AM |
| tracking using quaternarion data | jfreeman | Vizard | 2 | 06-01-2005 09:48 AM |