You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Is your feature request related to a problem? Please describe.
I have written a few custom constraint evaluators that need to extract a Frame from a MultibodyPlant of type AutoDiffXd. When using these constraint evaluators with more complex plants with nested models, I hoped to use the GetScopedFrameByName utility but found that (as of v1.36.0) it only works with plants of type double.
Describe the solution you'd like
It would be helpful for the GetScopedFrameByName utilities to be template functions that work with all plant types.
I personally am also using the Python interface, so it would also be helpful for this change to propagate there too.
Describe alternatives you've considered
I'm currently writing my own helper function to do this, but it would be cleaner for this functionality to exist out of the box with Drake
Is your feature request related to a problem? Please describe.
I have written a few custom constraint evaluators that need to extract a
Frame
from aMultibodyPlant
of typeAutoDiffXd
. When using these constraint evaluators with more complex plants with nested models, I hoped to use theGetScopedFrameByName
utility but found that (as of v1.36.0) it only works with plants of typedouble
.Describe the solution you'd like
It would be helpful for the
GetScopedFrameByName
utilities to be template functions that work with all plant types.I personally am also using the Python interface, so it would also be helpful for this change to propagate there too.
Describe alternatives you've considered
I'm currently writing my own helper function to do this, but it would be cleaner for this functionality to exist out of the box with Drake
Additional context
Related to #15660
The text was updated successfully, but these errors were encountered: