WorldViz User Forum

WorldViz User Forum (https://forum.worldviz.com/index.php)
-   Vizard (https://forum.worldviz.com/forumdisplay.php?f=17)
-   -   partially stopping tracking (https://forum.worldviz.com/showthread.php?t=270)

vsully 01-11-2005 09:20 PM

partially stopping tracking
 
Hi,

I'm using both ppt and intersense for auto-tracking. While running the script, I want to halt just the ppt but allow the intersense to continue functioning. I've tried issuing a viz.tracker(viz.STOP) command, but that shuts down both trackers.

Is there a way I can stop just one?

Thanks.

farshizzo 01-12-2005 09:02 AM

Hi,

There is no way to stop only one tracker, but you can stop all of them and then add one at a time. So to halt the ppt tracker you could do the following:
Code:

view = viz.get(viz.MAIN_VIEWPOINT)

#Stop all trackers
view.unlink()

#Add only the intersense tracker
view.link(intersense)

Then to resume the ppt tracker you would do this:
Code:

#Resume ppt tracker
view.link(ppt)



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

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