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

ROS 2 node that flips image and publishes updated transform #743

Closed
wants to merge 3 commits into from

Conversation

dcconner
Copy link

(e.g. for camera mounted upside down)

The node does a simple image rotation (by 90, 180, 270) as simple pixel transpose .

The node publishes a tf to allow images to be viewed right side up in RViz if camera is mounted upside down.

This is less general than image_rotate, but performs simpler operations.

It also preserves the image size and aspect ratio.

It does NOT attempt to remap the distortion parameters at this time.

The code has been tested under Foxy and Galactic. Foxy required camera topics as parameters due to issue with extracting camera/camera_info names from base topic.

Posting pull request for review and comment. It does not currently have any specific unit tests.

@dcconner
Copy link
Author

Closing and superseding by #756

@dcconner dcconner closed this Jun 27, 2022
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