PDA

View Full Version : Any way of knowing if a tracker is lost?


shivanangel
12-01-2009, 10:37 AM
Hi,
I was wondering if there was some way for the PPT tracker to tell Vizard
through the VRPN 7 interface that a tracker has been lost.

An example would be:

I am using three LEDs to track on object and its orientation. If due to
a human occluding one of the trackers, or just a situation where the cameras
can't immediately see all 3, is it possible to communicate that a tracker has
been dropped.

Currently, it just seems to transmit data from the last point in history and
snaps to a previous location when dropped.

Any way I can alert Vizard about this drop so that I can handle this case?

Thank you,
George Lecakes

Notch
03-11-2014, 04:15 AM
It seems this question was posted over five years ago, with no reply... I'd also like to know the answer to this question, if there is now a solution?

Jeff
03-18-2014, 11:01 PM
The tracker will report the last know location once its lost so you can check the current value against the previous one. Or you could use the waitForSample method on the vrpn (http://docs.worldviz.com/vizard/#VRPN_plug-in.htm) tracker object to see if new data has arrived within the specified timeout period.

Also we'll look into having PPT's VRPN server send a NULL signal to Vizard when a tracker gets lost.

masaki
03-19-2014, 06:41 PM
Just wanted to give a quick update. We just identified a bug in our PPT VRPN7 plugin that resulted in PPT sending data even if the Marker is not valid (from occlusion, dead marker, etc). So because of this, using waitForSample will still give a false positive. The fix for this will be coming out in a new installer of PPT soon and you'll be able to call waitForSample, and then it will return False if the Marker is not valid. I'll update this post when the new installer is ready.