VRPN - multiple trackers with one callback function
Posted: Mon Jul 19, 2010 5:31 pm
I'm trying to modify the VRPN-Listener example provided by OptiTrack. It seems with this method you need to hardcode in the tracker name for each object you want to track. I want to be able to add new trackers without modifying code but I can't figure out how.
On the VRPN website here it says
On the VRPN website here it says
So it seems like there's some way to do this, so if anyone has any ideas please let me know. Thanks!//The above routines only deal with the sensor to tracker transform. The routines
//handle the tracker to room transform, unit to sensor transform, and the trackers
// workspace (working volume). These currently come from the vrpn_Tracker.cfg on
// VRPN server or client. Have this set properly on the VRPN servers allows your
// application to run on different trackers without having to change any code or
// recompile!