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

Allow updating multibody constraints in the context with new specs values after Finalize() #22007

Open
chen-tianjian opened this issue Oct 8, 2024 · 1 comment
Assignees
Labels
component: multibody plant MultibodyPlant and supporting code type: feature request

Comments

@chen-tianjian
Copy link
Contributor

chen-tianjian commented Oct 8, 2024

Is your feature request related to a problem? Please describe.
We are attempting to model an item in a soft bag as a runtime-mutable pendulum, and we wish to leverage the multibody distance constraints. However, currently Drake does not allow updating the constraints specs after Finalize().

Describe the solution you'd like
Allow updating multibody constraints in the context with new specs values.
Currently we only care about updating distance, but we are glad to see other specs becoming mutable too.

Describe alternatives you've considered
We can also use bushing for this purpose, but (we heard that) constraints are better for numerics in SAP.

Additional context
The slack discussion is here

@sherm1 sherm1 added the component: multibody plant MultibodyPlant and supporting code label Oct 10, 2024
@sherm1
Copy link
Member

sherm1 commented Oct 10, 2024

Assigned to @amcastro-tri for disposition.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
component: multibody plant MultibodyPlant and supporting code type: feature request
Projects
None yet
Development

No branches or pull requests

3 participants