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 Ogre2ThermalCamera using garbage depth data #523

Merged
merged 3 commits into from
Jan 4, 2022

Conversation

darksylinc
Copy link
Contributor

Summary

The depth buffer is created but never filled with anything.
As a result it contains uninitialized values (likely 0.0f but it's not
guaranteed)

This bug seems to have been introduced when ported to Ogre 2.2

Signed-off-by: Matias N. Goldberg dark_sylinc@yahoo.com.ar

🦟 Bug fix

No ticket created for this

Checklist

  • Signed all commits for DCO
  • Added tests
  • 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 and edit the commit message to match the pull request summary while retaining Signed-off-by messages.

The depth buffer is created but never filled with anything.
As a result it contains uninitialized values (likely 0.0f but it's not
guaranteed)

Signed-off-by: Matias N. Goldberg <dark_sylinc@yahoo.com.ar>
@github-actions github-actions bot added the 🏯 fortress Ignition Fortress label Dec 26, 2021
@codecov
Copy link

codecov bot commented Dec 27, 2021

Codecov Report

Merging #523 (77855b1) into ign-rendering6 (5a3bd0f) will increase coverage by 0.00%.
The diff coverage is 100.00%.

Impacted file tree graph

@@               Coverage Diff               @@
##           ign-rendering6     #523   +/-   ##
===============================================
  Coverage           54.44%   54.44%           
===============================================
  Files                 198      198           
  Lines               20108    20107    -1     
===============================================
  Hits                10948    10948           
+ Misses               9160     9159    -1     
Impacted Files Coverage Δ
ogre2/src/Ogre2ThermalCamera.cc 89.60% <100.00%> (-0.03%) ⬇️
...e/ignition/rendering/base/BaseGaussianNoisePass.hh 100.00% <0.00%> (+3.33%) ⬆️

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 5a3bd0f...77855b1. Read the comment docs.

Copy link
Contributor

@iche033 iche033 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 to me.

@iche033 iche033 merged commit da85b07 into gazebosim:ign-rendering6 Jan 4, 2022
@osrf-triage
Copy link

This pull request has been mentioned on Gazebo Community. There might be relevant details there:

https://community.gazebosim.org/t/new-ignition-releases-2022-03-01-citadel-edifice-fortress/1313/1

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
🏯 fortress Ignition Fortress
Projects
None yet
Development

Successfully merging this pull request may close these issues.

3 participants