Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

RGB - Mono capture time sync #174

Merged
merged 4 commits into from
Jul 21, 2021
Merged

RGB - Mono capture time sync #174

merged 4 commits into from
Jul 21, 2021

Conversation

alex-luxonis
Copy link
Contributor

@alex-luxonis alex-luxonis commented Jul 15, 2021

Updated firmware, implementing RGB - Mono sync: capture time and sequence numbers, using a soft sync mechanism that adjusts the RGB frame time based on the capture timestamp difference between RGB and Mono cameras. Enabled automatically when one or both Mono cameras are used, and when all cameras have the same FPS configured.

The initial difference between capture timestamps should usually be less than 1ms, and over the course of first 15 frames or less should get down to max 0.1 .. 0.15 ms.
Currently a drift is observed if the configured FPS is larger than 33, to be fixed. EDIT: was fixed before merging.

Add ImgFrame::getTimestampDevice():

Retrieves image timestamp directly captured from device's monotonic clock,
not synchronized to host time. Used mostly for debugging

Related PR: luxonis/depthai-shared#44

Update FW and depthai-shared after merge
@alex-luxonis alex-luxonis merged commit 8ff9ec3 into develop Jul 21, 2021
Gen2 Phase I Delivery automation moved this from In progress to Done Jul 21, 2021
@alex-luxonis alex-luxonis deleted the cam_sync branch July 21, 2021 15:50
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Development

Successfully merging this pull request may close these issues.

None yet

2 participants