WorldViz User Forum

WorldViz User Forum (https://forum.worldviz.com/index.php)
-   Precision Position Tracker (PPT) (https://forum.worldviz.com/forumdisplay.php?f=9)
-   -   detect ppt markers state from vizard script (https://forum.worldviz.com/showthread.php?t=5636)

pitbool 02-15-2016 07:23 PM

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!


All times are GMT -7. The time now is 09:50 AM.

Powered by vBulletin® Version 3.8.7
Copyright ©2000 - 2024, vBulletin Solutions, Inc.
Copyright 2002-2023 WorldViz LLC