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

Refactor Image Display to use ConvertToRGB function #212

Merged
merged 4 commits into from
May 10, 2021

Conversation

iche033
Copy link
Contributor

@iche033 iche033 commented Apr 23, 2021

Signed-off-by: Ian Chen ichen@osrfoundation.org

🎉 New feature

Summary

Depends on gazebosim/gz-common#205

Updated Image Display to use the new Image::ConvertToRGB function for visualizing depth and thermal camera sensor images, see gazebosim/gz-common#205

Test it

Run the sensors_demo.sdf world and you should see that the images in the the Image Display should be correctly rendered the same way as before.

ign gazebo -v 4 sensors_demo.sdf

sensors_demo_image_display

Checklist

  • Signed all commits for DCO
  • Added tests
  • Added example and/or tutorial
  • Updated documentation (as needed)
  • Updated migration guide (as needed)
  • codecheck passed (See contributing)
  • All tests passed (See test coverage)
  • While waiting for a review on your PR, please help review another open pull request to support the maintainers

Note to maintainers: Remember to use Squash-Merge

Signed-off-by: Ian Chen <ichen@osrfoundation.org>
@chapulina chapulina added the needs upstream release Blocked by a release of an upstream library label Apr 23, 2021
@adlarkin
Copy link
Contributor

adlarkin commented May 5, 2021

Would this by chance close #177?

@iche033
Copy link
Contributor Author

iche033 commented May 5, 2021

Would this by chance close #177?

ah forgot about that one - yes it'll close the issue

@adlarkin adlarkin linked an issue May 5, 2021 that may be closed by this pull request
Copy link
Contributor

@jennuine jennuine left a comment

Choose a reason for hiding this comment

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

Looks good! And works as described. A few minor comments

src/plugins/image_display/ImageDisplay.cc Show resolved Hide resolved
src/plugins/image_display/ImageDisplay.cc Outdated Show resolved Hide resolved
Signed-off-by: Ian Chen <ichen@osrfoundation.org>
Copy link
Contributor

@jennuine jennuine left a comment

Choose a reason for hiding this comment

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

LGTM!

Signed-off-by: Louise Poubel <louise@openrobotics.org>
@chapulina
Copy link
Contributor

Bumped the required ign-common version in 04ce9fd

@chapulina chapulina removed the needs upstream release Blocked by a release of an upstream library label May 7, 2021
@mjcarroll
Copy link
Contributor

This should be unblocked from the ign-common release now

@chapulina chapulina merged commit 1fd25de into ign-gui4 May 10, 2021
@chapulina chapulina deleted the image_display_refactor branch May 10, 2021 17:17
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
🔮 dome Ignition Dome
Projects
None yet
Development

Successfully merging this pull request may close these issues.

Merge Image Display UpdateFrom* functions.
5 participants