Forces from Weld constraints #3234
Unanswered
Balint-H
asked this question in
Asking for Help
Replies: 0 comments
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Uh oh!
There was an error while loading. Please reload this page.
Uh oh!
There was an error while loading. Please reload this page.
-
Intro
Hi!
I am using MJX/MJWarp and the python API.
My setup
I'm using Mj 3.6, on Windows and Linux
My question
If I want to get the linear forces and torques applied by a specific weld, what is my best bet? Would the 6D forces from the corresponding fields in
efc_forcesprovide this? If so, how can I get the address of an equality constraint of a given ID? For contacts there isefc_addressbut unless I missed it, this doesn't exist for equality constraints. Should I simply iterate throughefc_typeuntil I find the equality constraints, check that they are welds, and then assume they are in order?Minimal model and/or code that explain my question
No response
Confirmations
Beta Was this translation helpful? Give feedback.
All reactions