Motive API : TT_FrameTimeStamp

NatNet, VRPN, TrackD, and Plugins
Post Reply
Posts: 7
Joined: Fri May 25, 2018 1:16 pm

Motive API : TT_FrameTimeStamp

Post by kimtae55 » Wed May 30, 2018 9:12 am

What exactly does this TT_FrameTimeStamp() function return?
1) Time when frame info is received by the application
2) Time when frame is captured by the camera
3) etc

NaturalPoint Employee
NaturalPoint Employee
Posts: 39
Joined: Thu Nov 12, 2015 10:57 am

Re: Motive API : TT_FrameTimeStamp

Post by joe.lee » Wed May 30, 2018 2:29 pm

Hello kimtae55,

TT_FrameTimeStamp function returns a timestamp, in seconds, since the camera system process started. The exact start time will vary depending on a number of factors including the camera system specs and the software build used. Thus, the returned value would not be very useful information just by itself.

Instead, this function is intended to be used for measuring relative time difference. In other words, you can call this function two different moments to obtain two different timestamp values, and they can be subtracted to measure how many seconds has past since the first point.

I hope this clarifies the use of the TT_FrameTimeStamp function.

Joseph Lee
NaturalPoint | Customer Support Engineer

Post Reply