-
In MuJoCo, the generalized inertia matrix is stored as a joint-space sparse one in mjData.qM, calculated by https://mujoco.readthedocs.io/en/latest/APIreference/APIfunctions.html#mj-crb |
Beta Was this translation helpful? Give feedback.
Replies: 1 comment 1 reply
-
|
Beta Was this translation helpful? Give feedback.
scene.sim.rigid_solver.mass_mat.to_numpy()[:, :, 0]
is the dense mass matrix, including both damping in tangent configuration space (dof) and motor armatures. No plan to implement the sparse representation. For mapping between Mujoco and Genesis quantities, have a look at this unit test utility.