-
Notifications
You must be signed in to change notification settings - Fork 42
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
Rotate capsule to Z-up #186
Conversation
Signed-off-by: Louise Poubel <[email protected]>
Codecov Report
@@ Coverage Diff @@
## main #186 +/- ##
=======================================
Coverage 75.49% 75.49%
=======================================
Files 73 73
Lines 10346 10346
=======================================
Hits 7811 7811
Misses 2535 2535
Continue to review full report at Codecov.
|
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.
Changes look good to me. Is there a way to unit test the CreateCapsule
method somehow? I don't see any tests for this method in MeshManager_TEST.cc
.
It's being tested in And see the coverage report. The test is not checking the vertices and normals right now, but I don't know how much value there is in repeating the implementation logic in the test. |
🦟 Bug fix
Summary
The capsule code was using Y-up, but Ignition uses Z-up. In particular, see the capsule description on Ignition Math and on SDFormat.
Checklist
Updated migration guide (as needed)codecheck
passed (See contributing)Note to maintainers: Remember to use Squash-Merge
🔸🔸🔸🔸🔸🔸🔸🔸🔸🔸🔸🔸🔸🔸🔸🔸🔸🔸🔸🔸🔸🔸🔸🔸🔸🔸🔸🔸🔸🔸🔸🔸🔸🔸🔸🔸🔸