-
Notifications
You must be signed in to change notification settings - Fork 1.3k
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
model_visualizer
does not support mimic joints or implicit PD controlled joints
#21095
Comments
FYI #18917 is about having the joint sliders actually account for the mimic (so that the joints are dependently postured). I guess we can keep this issue separate, just about the throwing part. |
@calderpg-tri Do you remember why |
The |
Thanks; I was looking for the joint actuator part of this and didn't see #18917 during my search. I'm fine with leaving this issue as just tracking the joint actuator part. |
IIRC, several years ago the predecessor to |
Well, I was hoping this would be a 10-minute fix so I wrote #21098 to get it out of the way quickly. However, as that CI failure indicates, switching to a discrete time plant for visualization causes the visualizer to throw a different exception now, because it tries to compute inertias even though we're not simulating, and fails some inertia sanity checks. I guess the continuous time plant was ignoring the invalid inertias, or somehow avoided the error. I'll put this onto the backlog again, to schedule into a sprint when we have more time available. (For the record -- when the exception is thrown, the MbP function on the call stack is |
The problem I have met is that when I used the tag “drake:mimic”,everything goes ok at the beginning. |
Hmm, I didn't actually do end-to-end tests with some of those sample models. Possibly mimic joint visualization still doesn't work. |
Actually, it's mostly fine. It doesn't crash anymore, it just prints a warning: |
What happened?
model_visualizer
does not support modelling choices that are currently only supported by discrete time plants. In one case it throws a warning about ignoring mimic joints, in the other it terminates. This can be reproduced from within anzu viaVersion
71b3913
What operating system are you using?
Ubuntu 22.04
What installation option are you using?
compiled from source code using Bazel
Relevant log output
The text was updated successfully, but these errors were encountered: