-
Notifications
You must be signed in to change notification settings - Fork 100
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
Added --inertial-stats
option to ign sdf
#936
Conversation
Signed-off-by: Aditya <[email protected]>
Signed-off-by: Aditya <[email protected]>
1d5686f
to
492a436
Compare
Signed-off-by: Aditya <[email protected]>
Codecov Report
@@ Coverage Diff @@
## sdf12 #936 +/- ##
==========================================
+ Coverage 87.68% 87.70% +0.01%
==========================================
Files 104 104
Lines 15049 15109 +60
==========================================
+ Hits 13196 13251 +55
- Misses 1853 1858 +5
Continue to review full report at Codecov.
|
Signed-off-by: Aditya <[email protected]>
… does not have a world Signed-off-by: Aditya <[email protected]>
Signed-off-by: Aditya <[email protected]>
Signed-off-by: Aditya <[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.
LGTM but I'll let @scpeters do the final approval
Signed-off-by: Aditya <[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.
I tested this with the VIPER urdf, and it failed to load with libsdformat12
due to #746, so we should prioritize fixing that issue as well, but that is not the fault of this PR. We should also backport this to libsdformat9
so it will be available to gazebo11 users.
looks good
Signed-off-by: Aditya <[email protected]>
* Ported changes from #936 * Removed quick return logic Signed-off-by: Aditya <[email protected]>
Signed-off-by: Aditya [email protected]
🔸🔸🔸🔸🔸🔸🔸🔸🔸🔸🔸🔸🔸🔸🔸🔸🔸🔸🔸🔸🔸🔸🔸🔸🔸🔸🔸🔸🔸🔸🔸🔸🔸🔸🔸🔸🔸
🎉 New feature
Closes #832
Summary
Adds an option of
--inertial-stats
toign sdf
tool and prints out centre of mass, total mass, and moment of inertia matrix of the given model sdf.Test it
Working on a test case.
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.🔸🔸🔸🔸🔸🔸🔸🔸🔸🔸🔸🔸🔸🔸🔸🔸🔸🔸🔸🔸🔸🔸🔸🔸🔸🔸🔸🔸🔸🔸🔸🔸🔸🔸🔸🔸🔸