Closed JoeMWatson closed 2 weeks ago
Hi @JoeMWatson , MJX doesn't use sys.link.inertia
, which is presumably why the grad is 0. MJX uses classic MuJoCo fields, so mjx.Model.body_inertia
. However, keep in mind that if mass/inertia is changed on the fly, you'll want to recompile the entire model, since there will be other derived fields in the model.
Hi,
I'm using brax 0.11.0 and am confused about parameter gradients. In this issue from last year, pipelines appeared to be consistent, however I'm looking at parameter gradients w.r.t. link mass and they no longer appear consistent across pipelines
If you run the following script,
the output is
Should we expect to be able to compute parameter gradients for generalized and MJX pipelines?