Skip to content

Fix color image publisher logic when undistortion is enabled #14

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

Merged
merged 1 commit into from
Nov 27, 2023

Conversation

mmattamala
Copy link
Contributor

This fixes the bug that published undistorted iamges in the color topic when undistortion was enabled.
The correct behavior is that the /camera/color/image topic should have the distorted color-corrected image, while /camera/color_rect/image should have the undistorted one.

This makes the camera_info topics /camera/color/camera_info and /camera/color_rect/camera_info consistent now.

@mmattamala mmattamala merged commit 556c315 into master Nov 27, 2023
@mmattamala mmattamala deleted the fix/publish-undistorted-image branch November 27, 2023 16:20
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.

1 participant