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

[multibody] Speed up inverse dynamics by exploiting new templatized code #22014

Draft
wants to merge 2 commits into
base: master
Choose a base branch
from

Conversation

sherm1
Copy link
Member

@sherm1 sherm1 commented Oct 9, 2024

[WIP] Don't review yet.

What's here

  • Removes passed-in context from some calls in favor of passing in positions and velocities. (This is moving in the direction of standardizing the parameter lists so they can be replaced with preloaded structs.)
  • Added inlines calc_A_FM() and calc_tau() to all mobilizers and replaces calls to the equivalent virtuals.
  • Reimplements the virtuals using the inlines.
  • Updates both CalcSpatialAcceleration and CalcInverseDynamics because the latter depends on the former.

This change is Reviewable

@sherm1 sherm1 force-pushed the inverse_dynamics_speedup branch 2 times, most recently from 09e6d40 to 7d3ec67 Compare October 10, 2024 02:08
Removes passed-in context from some calls.
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

Successfully merging this pull request may close these issues.

1 participant