WorldViz User Forum

WorldViz User Forum (
-   Precision Position Tracker (PPT) (
-   -   detect ppt markers state from vizard script (

pitbool 02-15-2016 07:23 PM

detect ppt markers state from vizard script

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?


All times are GMT -7. The time now is 07:54 PM.

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