![]() |
|
#1
|
|||
|
|||
Your while loop is blocking the main update loop, so the tracker will never update. You should never use time.sleep in the main thread. Instead, register a function to be called every 0.25 seconds and print the tracker values within that function:
Code:
import vizact def PrintValues(): print glasses.getPosition() print glasses.getQuat() vizact.ontimer(0.25,PrintValues) |
#2
|
|||
|
|||
Thanks! That did the trick.
|
![]() |
Tags |
infinite, vrpn, zspace |
Thread Tools | |
Display Modes | Rate This Thread |
|
|
![]() |
||||
Thread | Thread Starter | Forum | Replies | Last Post |
VRPN info | sdiverdi | Precision Position Tracker (PPT) | 5 | 01-16-2011 12:00 PM |
The problem of tracker using via VRPN | _kj_ | Vizard | 2 | 08-13-2009 12:03 AM |
Turning info boxes on and off | Karla | Vizard | 2 | 12-17-2007 03:13 PM |