PDA

View Full Version : detect ppt markers state from vizard script


pitbool
02-15-2016, 08:23 PM
Hi,

To reduce overhead from unnecessary data logging, I was trying to add a boundary condition of when the PPT markers are switched off. I am currently adding them using VRPN like below:

rhPPT = VRPN.addTracker('PPT0@' + PPT_HOSTNAME, globals_oa.PPT1_RIGHT_HAND_VIRTUAL_ID-1)
lhPPT = VRPN.addTracker('PPT0@' + PPT_HOSTNAME, globals_oa.PPT1_LEFT_HAND_VIRTUAL_ID-1)

But it appears that even when the ppt markers are off, these are getting initialized to some value.

Do you know if there is a way to detect from Vizard script if the PPT markers are off?

Thanks!