-
Notifications
You must be signed in to change notification settings - Fork 49
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
Improve API and documentation for SpatialInertia construction. #521
Conversation
CC: @Symplectomorphism, sorry it took so long. |
@rdeits, could I ask you to double check the |
f510b39
to
5aca52a
Compare
Add warning to SpatialInertia doc. Improve show method for SpatialInertia. SpatialInertia: add constructor doc, add convenience kwarg constructor, update rand method to use new constructor. Add test for new SpatialInertia constructor. Also add a `moment` keyword argument to the SpatialInertia constructor. Use kwarg constructor in more places.
5aca52a
to
73e97b6
Compare
Codecov Report
@@ Coverage Diff @@
## master #521 +/- ##
==========================================
+ Coverage 99.27% 99.53% +0.25%
==========================================
Files 38 38
Lines 1788 2770 +982
==========================================
+ Hits 1775 2757 +982
Misses 13 13
Continue to review full report at Codecov.
|
1 similar comment
Codecov Report
@@ Coverage Diff @@
## master #521 +/- ##
==========================================
+ Coverage 99.27% 99.53% +0.25%
==========================================
Files 38 38
Lines 1788 2770 +982
==========================================
+ Hits 1775 2757 +982
Misses 13 13
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.
Yup, looks good!
Great, thanks! |
Fix #520. @togo59, I hope this will clarify things and improve usability.