MJX Support for Linearized Dynamics Estimation #2274
Unanswered
jc-bao
asked this question in
Asking for Help
Replies: 2 comments 2 replies
-
Why would you want to use MJX for this? |
Beta Was this translation helpful? Give feedback.
0 replies
-
I tend to run multiple iLQR instance or use randomized gradient estimators. |
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
Uh oh!
There was an error while loading. Please reload this page.
-
Intro
Hi!
I am a graduate student at CMU, I use MuJoCo for my research on optimal control.
My setup
I am using MJX.
My question
I noticed that using JAX autograd with MJX dynamics is relatively slow. Besides, to make sure the Jacobian is calculated without JAX error, I had to set the iteration number to 1, which avoiding the use of while_loop for MuJoCo inner solver.
I am wondering if MJX provides a similar function to
mjd_transitionFD
for fast linearized dynamic estimation. If not, is it possible to implement such functionality withmj_jac
?Minimal model and/or code that explain my question
If you encountered the issue in a complex model, please simplify it as much as possible (while still reproducing the issue).
Model:
minimal XML
Code:
Confirmations
Beta Was this translation helpful? Give feedback.
All reactions