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

Consider region of interest in CameraDisplay #864

Merged
merged 1 commit into from
Sep 21, 2022

Conversation

AndreasR30
Copy link
Contributor

@AndreasR30 AndreasR30 commented Jun 3, 2022

Hello,

this commit considers the region of interest (roi) in CameraInfo.msg. It accounts for the fact that an image was cropped by the camera driver to reduce the required bandwidth. The values in CameraInfo.msg are the same as for the full image. Just the ROI values are set to non-zero values. This was already implemented in Rviz1. So I took these lines.

@audrow audrow changed the base branch from ros2 to rolling June 28, 2022 14:24
Copy link
Member

@jacobperron jacobperron left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Sorry for the delay in getting to review this. Thank you for the addition!

The changes LGTM! There's just two small comments to address. After that, I'll trigger CI :)

@AndreasR30
Copy link
Contributor Author

@jacobperron Thank you very much for your feedback. I added your suggestions.

@AndreasR30
Copy link
Contributor Author

I applied uncrustify and found that I overlooked one more formatting issue. Now it should be fine.

This feature was already implemented in Rviz1
Copy link
Member

@jacobperron jacobperron left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

LGTM pending CI. Thanks for iterating!

  • Linux Build Status
  • Linux-aarch64 Build Status
  • Windows Build Status (unrelated cmake warning)

@jacobperron jacobperron merged commit a535da7 into ros2:rolling Sep 21, 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.

None yet

2 participants