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 to modelphotoshoot test #1570

Merged
merged 4 commits into from
Jul 19, 2022
Merged

Conversation

marcoag
Copy link
Member

@marcoag marcoag commented Jul 1, 2022

Signed-off-by: Marco A. Gutierrez [email protected]

🦟 Bug fix

This PR fixes the test for Model Photo Shoot system. Apparently the image generation contains some differences in color for a few pixels that would make it fail when comparing the exact content of the two images data. For now it will compare that most of the pixels are the same.

Summary

Checklist

  • Signed all commits for DCO
  • Added tests
  • Updated documentation (as needed)
  • Updated migration guide (as needed)
  • Consider updating Python bindings (if the library has them)
  • 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 and edit the commit message to match the pull request summary while retaining Signed-off-by messages.

Signed-off-by: Marco A. Gutierrez <[email protected]>
@marcoag marcoag requested a review from chapulina as a code owner July 1, 2022 04:47
@marcoag marcoag requested a review from luca-della-vedova July 1, 2022 04:54
@codecov
Copy link

codecov bot commented Jul 1, 2022

Codecov Report

Merging #1570 (58af970) into ign-gazebo6 (1f6c126) will decrease coverage by 0.50%.
The diff coverage is n/a.

@@               Coverage Diff               @@
##           ign-gazebo6    #1570      +/-   ##
===============================================
- Coverage        64.01%   63.50%   -0.51%     
===============================================
  Files              317      317              
  Lines            25635    26229     +594     
===============================================
+ Hits             16410    16657     +247     
- Misses            9225     9572     +347     
Impacted Files Coverage Δ
include/ignition/gazebo/rendering/SceneManager.hh 100.00% <0.00%> (ø)
src/rendering/SceneManager.cc 32.52% <0.00%> (+4.53%) ⬆️

Continue to review full report at Codecov.

Legend - Click here to learn more
Δ = absolute <relative> (impact), ø = not affected, ? = missing data
Powered by Codecov. Last update 1f6c126...58af970. Read the comment docs.

Copy link
Member

@luca-della-vedova luca-della-vedova left a comment

Choose a reason for hiding this comment

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

Thanks for the fix! Looks good but not sure what to do with CI 😅

This will make #1563 obsolete and I'll close it after this is merged

Copy link
Contributor

@chapulina chapulina left a comment

Choose a reason for hiding this comment

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

Just a small style nit, LGTM otherwise. All the CI failures are expected 🙃

test/integration/ModelPhotoShootTest.hh Outdated Show resolved Hide resolved
test/integration/ModelPhotoShootTest.hh Outdated Show resolved Hide resolved
@chapulina chapulina merged commit 4f2a520 into ign-gazebo6 Jul 19, 2022
@chapulina chapulina deleted the marcoag/fix_modelphotoshoot_test branch July 19, 2022 23:43
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
Archived in project
Development

Successfully merging this pull request may close these issues.

4 participants