• DepthAI-v2
  • OAKD SR POE clock synced with host computer?

Hi,

Is OakD SR camera clock synced with host automatically? How to operate that from programming point of view?

The reason I am asking this question is that I have a time sync programming module that I coded for OAKD camera (non SR, but stereo), and it worked there nicely, but that code does not work for SR camera. The sync value reported from that code on SR is off by 4 seconds.

Please advise. Is there a document somewhere?

Thanks.

JK

Hi,

this might be from a known issue with time sync on OAK-D-SR. Can you try updating depthai?

pip install -U depthai

Also reminder:

  • getTimestampDevice() is time from when device was started (after dai.Device()).
  • On host, use time.monotonic() for similar timing.
  • To get device time in host clock, use getTimestamp() — it gives offset from PC boot.

Hope it helps!