Body Tracking Velocity

Hi,
Sorry if you get this message twice, but I do not know if replying to an old closed post works…
Hi,
How does the timestamp works exactly?
if I print timestamp or timestamp.get_seconds or get_milliseconds, I always get the same result. I was expecting a different value whether if I am using seconds or microseconds.
Is it the timestamp when the image was taken or when the image was received?
Is it the time it took to grab the image?
I need to calculate the velocity of certain body parts but I do not understand the values I am getting from the timestamp…I just need to calculate the time difference between two frames but the timestamp return value is not clear

Thanks

Hi @Aleblanc,

The getTimestamp() method has a parameter which allows to choose which reference you retrieve the timestamp. More info on this in the documentation here

The get_seconds() or get_milliseconds() methods should return the same timestamp value but in a different unit (respectively s and ms). Are you saying the the values returned are identical? If so, can you please send a code sample to reproduce?

Hi,

Thanks for the link, I believe I was not using the right method. This link will be pretty useful!.

Thanks