http://www.naturalpoint.com/optitrack/s ... #streaming
Direct link to the zip file:
http://media.naturalpoint.com/software/ ... eaming.zip
Then modify the change callback in a straightforward way to display the timestamps:
Code: Select all
void VRPN_CALLBACK handle_pos (void *, const vrpn_TRACKERCB t)
{
printf("Tracker Position:(%.4f,%.4f,%.4f) Orientation:(%.2f,%.2f,%.2f,%.2f) Time: %i.%06i\n",
t.pos[0], t.pos[1], t.pos[2],
t.quat[0], t.quat[1], t.quat[2], t.quat[3],
t.msg_time.tv_sec, t.msg_time.tv_usec);
}
If the Rigid Body library/application really does not output timestamps, I would be really really happy if that feature was added. Really happy
If it's just me doing something stupid, please whack me on the head and explain what I should do differently