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

Resolve auto inertia based on input mass (backport #1513) #1525

Merged
merged 1 commit into from
Jan 14, 2025

Conversation

mergify[bot]
Copy link
Contributor

@mergify mergify bot commented Jan 14, 2025

🎉 New feature

Closes #1482

Summary

Support auto-inertia computation using mass and density. Implemented based on the suggestions in #1482 (comment) and #1482 (comment)

inertia is first auto resolved from all collisions as usual. If mass is specified, we normalize the inertia to get unit inertia, then scaling is applied to match the desired mass.

Marked as draft to get feedback on implementation and correctness of math

Checklist

  • Signed all commits for DCO
  • Added tests
  • Added example and/or tutorial
  • Updated documentation (as needed)
  • Updated migration guide (as needed)
  • Consider updating Python bindings (if the library has them)
  • codecheck passed (See contributing)
  • All tests passed (See test coverage)
  • While waiting for a review on your PR, please help review another open pull request to support the maintainers

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.


This is an automatic backport of pull request #1513 done by [Mergify](https://mergify.com).

Support auto-inertia computation using mass and density. Implemented based on the suggestions in #1482. Inertia is first auto resolved from all collisions as usual. If mass is specified, we normalize the inertia to get unit inertia, then scaling is applied to match the desired mass.

---------

Signed-off-by: Steve Peters <[email protected]>
Signed-off-by: Ian Chen <[email protected]>
Co-authored-by: Steve Peters <[email protected]>
(cherry picked from commit aaadeea)
@mergify mergify bot requested review from azeey and scpeters as code owners January 14, 2025 17:49
@mergify mergify bot mentioned this pull request Jan 14, 2025
9 tasks
@github-actions github-actions bot added 🏛️ ionic Gazebo Ionic 🪵 jetty Gazebo Jetty labels Jan 14, 2025
@iche033 iche033 merged commit c68fd3d into sdf15 Jan 14, 2025
17 checks passed
@iche033 iche033 deleted the mergify/bp/sdf15/pr-1513 branch January 14, 2025 18:48
@scpeters
Copy link
Member

I think we should also update the migration guide. I can assist if you get it started

@iche033
Copy link
Contributor

iche033 commented Jan 15, 2025

I think we should also update the migration guide. I can assist if you get it started

I created a PR to update the migration guide in #1528

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
🏛️ ionic Gazebo Ionic 🪵 jetty Gazebo Jetty
Projects
Status: Done
Development

Successfully merging this pull request may close these issues.

//inertial/@auto: allow specifying mass instead of density
2 participants