View Single Post
  #1  
Old 02-15-2016, 07:23 PM
pitbool pitbool is offline
Member
 
Join Date: Oct 2012
Posts: 31
detect ppt markers state from vizard script

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!
Reply With Quote