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

Support setting horizontal and vertical resolution for GpuRays #229

Merged
merged 7 commits into from
Feb 9, 2021

Conversation

nkoenig
Copy link
Contributor

@nkoenig nkoenig commented Feb 3, 2021

This allows horizontal and vertical resolution to be set on GpuRays.

This problem was found in Citadel (see here), but applying a non-breaking change to Citadel proved difficult.

Signed-off-by: Nate Koenig [email protected]

@nkoenig nkoenig requested a review from iche033 as a code owner February 3, 2021 21:17
@github-actions github-actions bot added the 🏢 edifice Ignition Edifice label Feb 3, 2021
@codecov
Copy link

codecov bot commented Feb 3, 2021

Codecov Report

Merging #229 (80427ef) into main (b04a527) will increase coverage by 0.02%.
The diff coverage is 100.00%.

Impacted file tree graph

@@            Coverage Diff             @@
##             main     #229      +/-   ##
==========================================
+ Coverage   56.98%   57.01%   +0.02%     
==========================================
  Files         151      151              
  Lines       15000    15010      +10     
==========================================
+ Hits         8548     8558      +10     
  Misses       6452     6452              
Impacted Files Coverage Δ
include/ignition/rendering/GpuRays.hh 0.00% <ø> (ø)
include/ignition/rendering/base/BaseGpuRays.hh 77.10% <100.00%> (+3.13%) ⬆️

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 b04a527...80427ef. Read the comment docs.

@iche033
Copy link
Contributor

iche033 commented Feb 3, 2021

changes looks good to me. Waiting for Windows CI fix in #228

@iche033
Copy link
Contributor

iche033 commented Feb 4, 2021

CI looks good. Just some windows warnings:
https://build.osrfoundation.org/job/ign_rendering-pr-win/1288/msbuild/

@chapulina chapulina requested a review from mjcarroll February 8, 2021 19:37
Copy link
Contributor

@mjcarroll mjcarroll 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.

I think that there needs to be some documentation of what the units of the resolution parameters are. I think it's supposed to be radians/increment, but I'm not 100% positive.

@mjcarroll
Copy link
Contributor

@osrf-jenkins retest this please

Nate Koenig added 2 commits February 8, 2021 16:58
Signed-off-by: Nate Koenig <[email protected]>
…robotics/ign-rendering into gpu_rays_resolution_fix_edifice
@nkoenig
Copy link
Contributor Author

nkoenig commented Feb 9, 2021

Looks good.

I think that there needs to be some documentation of what the units of the resolution parameters are. I think it's supposed to be radians/increment, but I'm not 100% positive.

I added more documentation in f41df65. Resolution is a factor and unitless.

Signed-off-by: Nate Koenig <[email protected]>
Copy link
Contributor

@mjcarroll mjcarroll 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 adding the doc, CI failure is unrelated.

@mjcarroll mjcarroll merged commit c6fc79f into main Feb 9, 2021
@mjcarroll mjcarroll deleted the gpu_rays_resolution_fix_edifice branch February 9, 2021 18:57
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
🏢 edifice Ignition Edifice
Projects
None yet
Development

Successfully merging this pull request may close these issues.

3 participants