Evaluating a jacobian of a mass matrix (manipulator dynamics) with Jax and MJX #1973
-
Hi, I am a graduate student interested in taking derivatives of the manipulator dynamics with Jax and MJX. I'm new to Mujoco but have worked extensively with other simulators, and have used Jax in a limited capacity. Ideally, I'd like to use automatic differentiation with the robot dynamics (for instance, compiling a function for the derivative of the mass matrix, with respect to the joint angles). I've done a preliminary test (below) and I can access the So to summarize, my main question is:
Returns: A Jax Array with numeric values |
Beta Was this translation helpful? Give feedback.
Replies: 1 comment
-
here it is. I can't help you with the second part, since JAX is not my strength, I just searched the MJX source for "qM", it wasn't hard to find. |
Beta Was this translation helpful? Give feedback.
here it is. I can't help you with the second part, since JAX is not my strength, I just searched the MJX source for "qM", it wasn't hard to find.