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

Send image index on save #109

Merged
merged 1 commit into from
Feb 29, 2024
Merged

Send image index on save #109

merged 1 commit into from
Feb 29, 2024

Conversation

WeisLeDocto
Copy link
Member

Since #107, the Camera Block sends a signal to downstream Blocks when recording images in case no image processing is performed and output Links are present. Originally, the sent message was containing only the timestamp of the saved image and its metadata. However, these two labels did not allow integration with the Synchronizer Block added in #108, as the time label is a special one and the metadata label cannot be interpolated.

To solve this issue, this PR adds a new label 'index', carrying the image index, to the values sent when saving an image. By taking the 'index' label as the reference one for the Synchronizer Block, is is now possible to synchronize signals with the timestamps of recorded images.

@WeisLeDocto WeisLeDocto self-assigned this Feb 29, 2024
@WeisLeDocto WeisLeDocto merged commit 350fc4f into develop Feb 29, 2024
19 checks passed
@WeisLeDocto WeisLeDocto deleted the fix/send_img_index_on_save branch February 29, 2024 14:49
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

Successfully merging this pull request may close these issues.

None yet

1 participant