It really doesn't matter where it is called, as long as it is called on a regular interval. I'm assuming this plugin is being used within some sort of simulation framework. The best thing would be to call tracker->mainloop() at the beginning of every frame of your simulation.
Are there any errors printed out to the console. If VRPN doesn't receive data it should print output messages. Make sure that the mainloop is being called and that you are connecting to the correct address (i.e. "PPT0@ComputerName")
|