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

Fix ResizeNode to allow remapping both image and camera_info topics #693

Merged

Conversation

schornakj
Copy link
Contributor

Due to how image_transport::create_camera_subscription creates a camera_info topic from the provided image topic name, the current implementation of image_proc::ResizeNode ends up using the same topic name /camera_info for both the input image subscriber and the output resized image publisher. This prevents remapping the input and output CameraInfo topics.

This change makes image and resize topic namespaces instead of image topic names, which allows the node to correctly separately use /image/camera_info and /resize/camera_info.

@afrixs
Copy link

afrixs commented Feb 17, 2022

This resolves #703 . Linking the issue to maybe attract maintainers, because this is a crucial bug fix to make the node usable and it's been hanging here unmerged for 6 months...

@schornakj
Copy link
Contributor Author

Based on who's been merging recent PRs, I think @JWhitleyWork is the right person to tag here for visibility.

@clalancette clalancette force-pushed the fix/resize-topic-remapping branch from 9d99668 to 2cd603c Compare April 26, 2022 18:05
@JWhitleyWork JWhitleyWork merged commit c60baa3 into ros-perception:rolling Dec 4, 2022
@JWhitleyWork
Copy link
Collaborator

Sorry for the incredibly long delay. LGTM.

@schornakj
Copy link
Contributor Author

Sorry for the incredibly long delay. LGTM.

Thank you for following up! I just created #786 to backport this fix to Humble as well.

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.

3 participants