zed-sdk icon indicating copy to clipboard operation
zed-sdk copied to clipboard

get accurate frame sampling time

Open shockjiang opened this issue 2 years ago • 9 comments

Preliminary Checks

  • [X] This issue is not a duplicate. Before opening a new issue, please search existing issues.
  • [X] This issue is not a question, bug report, or anything other than a feature request directly related to this project.

Proposal

According to the document here: https://www.stereolabs.com/docs/api/classsl_1_1Camera.html#a3cd31c58aba33727f35aeae28244c82d, timestamp for each frame is the time that indicate the ending of each frame's readout:

  • the cam read each line of pixel and transmit it to PC immediately, instead of read the whole frame to the camera's mem and then transmit to PC
  • ignore the time cost for the last bit of last line of the frame.

Is the above description right?

In some case, we really need an accurate time, which could be the middle time between the start and end of frame's sampling (readout), which is an accurate timestamp for the frame.

Use-Case

realtime multi-sensor fusion for navigation

Anything else?

No response

shockjiang avatar Feb 25 '23 14:02 shockjiang