PDA

View Full Version : partially stopping tracking


vsully
01-11-2005, 10:20 PM
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, 10: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: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:#Resume ppt tracker
view.link(ppt)