-
Notifications
You must be signed in to change notification settings - Fork 737
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
sec_per_frame_ is unintuitive #274
Comments
I agree for VIDEO |
But In particular, there is also a faulty behavior in the application due to the usage of the time stamp in the code and not the one of the message. Let's assume you have image topic publishing with 1hz. Now one wants to downsample to exactly 0.5hz s.t. |
VIDEO_ is gone in ROS 2 (looks like it's still in noetic, but I don't see anybody addressing that at this point) Therefore, renaming this ticket since the real issue is the sec_per_frame_ sampling |
Merging into #935 |
The preprocessor variable
VIDEO_
makes no sense in theextract_images
node.Due to that, the very un-intuitive parameter
sec_per_frame_
is necessary in the callback.So I vote for getting rid of
VIDEO_
due tovideo_recorder
node.Then,
sec_per_frame_
is no longer necessary by that definition.Its default parameter can be then set to 0, or it should completely replaced by e.g.
store_nth_frame
to store ever n'th frame which respects the image stream more precisely.The text was updated successfully, but these errors were encountered: