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

mbp: Should consider implementing "MultibodyPlant subgraph" #18162

Open
EricCousineau-TRI opened this issue Oct 24, 2022 · 0 comments
Open

mbp: Should consider implementing "MultibodyPlant subgraph" #18162

EricCousineau-TRI opened this issue Oct 24, 2022 · 0 comments

Comments

@EricCousineau-TRI
Copy link
Contributor

Is your feature request related to a problem? Please describe.
See issues #12203, #13177, and #13074, and related issues.

AFAIK, Drake at present does not have a great affordance for decomposing / (re)composing multibody plants, e.g. for making control models, caching parsing of models, etc.

This issue presents a potential solution for possibly all of these things.

Describe the solution you'd like
Add the ability to select subsets of a MultibodyPlant and (optionally) corresponding SceneGraph components, remove portions based on their dependencies, then copy those portions (and their corresponding default and non-default state) to a new (MultibodyPlant, [optional] SceneGraph) pair, providing the mapping.

See prototype:
repro/.../multibody_plant_prototypes, MultibodyPlant Subgraph (permalink)
Please see:

  • Docstring for multibody_plant_subgraph for more details.
  • Unittest for example workflows.

IMO, a broader systems equivalent is out of scope.

Describe alternatives you've considered
Those described in aforementioned issues.

Additional context
N/A

\cc @azeey

@EricCousineau-TRI EricCousineau-TRI self-assigned this Oct 24, 2022
@EricCousineau-TRI EricCousineau-TRI changed the title mbp: Should consider using MultibodyPlantSubgraph mbp: Should consider implementing "MultibodyPlant subgraph" Oct 24, 2022
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

2 participants