Page 1 of 1

Motive API : TT_FrameTimeStamp

Posted: Wed May 30, 2018 9:12 am
by kimtae55
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

Re: Motive API : TT_FrameTimeStamp

Posted: Wed May 30, 2018 2:29 pm
by joe.lee
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.