-
Notifications
You must be signed in to change notification settings - Fork 52
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
Flip heightmap's Y position on Ogre 2 and add sanity checks for NaN #585
Conversation
Codecov Report
@@ Coverage Diff @@
## ign-rendering6 #585 +/- ##
==================================================
- Coverage 54.34% 54.34% -0.01%
==================================================
Files 198 198
Lines 20220 20225 +5
==================================================
+ Hits 10989 10991 +2
- Misses 9231 9234 +3
Continue to review full report at Codecov.
|
Signed-off-by: Louise Poubel <[email protected]>
Signed-off-by: Louise Poubel <[email protected]>
Retargeted to Fortress and added a note to the migration guide. |
Signed-off-by: Louise Poubel <[email protected]>
Signed-off-by: Louise Poubel <[email protected]>
There was a problem hiding this 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.
🦟 Bug fix
Summary
Added sanity checks for NaNs. Without gazebosim/gz-common#321
ign-common
may let some slip in, causing both Ogres to crash.Also flipped the Y position of the heightmap for Ogre 2. As it can be visible on the example, now Ogre 1 and 2 match, and the coordinates follow the right-hand-rule:
Checklist
codecheck
passed (See contributing)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.🔸🔸🔸🔸🔸🔸🔸🔸🔸🔸🔸🔸🔸🔸🔸🔸🔸🔸🔸🔸🔸🔸🔸🔸🔸🔸🔸🔸🔸🔸🔸🔸🔸🔸🔸🔸🔸