mj_inverse computed qfrc_inverse components #2448
Replies: 1 comment 2 replies
-
If you set |
Beta Was this translation helpful? Give feedback.
2 replies
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
-
Intro
Hi!
I am Shivayogi, a graduate student at Michigan Tech, I use MuJoCo for my research on Musculoskeletal system simulation.
My setup
Mujoco Version: 3.2.7
My question
I'm working on a floating body musculoskeletal simulation using MuJoCo, and while the simulation runs well overall, I'm encountering an issue regarding force decomposition. According to the MuJoCo documentation, the net force is computed as:
qfrc_inverse = qfrc_applied + Jᵀ*xfrc_applied + qfrc_actuator
Since mj_inverse returns this aggregated qfrc_inverse, is there a recommended way to extract the individual contributions—specifically, to separate the contact forces (transformed by the Jacobian) from the actuator/joint forces? I need to isolate the applied joint forces to accurately compute muscle activations.
Minimal model and/or code that explain my question
No response
Confirmations
Beta Was this translation helpful? Give feedback.
All reactions