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

Update extract_images_sync to add sec_per_frame parameter #920

Merged
merged 4 commits into from
Jan 31, 2024

Conversation

artineering
Copy link
Contributor

Added sec_per_frame parameter to allow decimation of frames being synchronized and captured.
fixes #726

image_view/scripts/extract_images_sync Outdated Show resolved Hide resolved
image_view/scripts/extract_images_sync Outdated Show resolved Hide resolved
image_view/scripts/extract_images_sync Outdated Show resolved Hide resolved
1. Set default value for sec_per_frame to 0.
2. changed time variable to last_frame_time.
Ensure delay is compared with the sec_per_frame value as a float.
@mikeferguson
Copy link
Member

I just pushed a commit that:

  • makes the param a float, rather than an integer
  • does proper conversion (there is no to_sec(), but we can make a Duration from secs_per_frame)

Tested locally and works

@mikeferguson mikeferguson merged commit db8fc17 into ros-perception:rolling Jan 31, 2024
3 checks passed
Kotochleb pushed a commit to Kotochleb/image_pipeline that referenced this pull request May 27, 2024
…tion#920)

Added sec_per_frame parameter to allow decimation of frames being
synchronized and captured.
fixes ros-perception#726

---------

Co-authored-by: Michael Ferguson <[email protected]>
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

missing "sec_per_frame" param in "extract_images_sync" node
2 participants