Shape mismatch when calling "mjx.get_data" #2905
Unanswered
BissonnetteVincent
asked this question in
Asking for Help
Replies: 1 comment 1 reply
-
|
I this still an issue with 3.3.7? |
Beta Was this translation helpful? Give feedback.
1 reply
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.
Uh oh!
There was an error while loading. Please reload this page.
-
Intro
Hi, I'm currently working on a project where I try to use a physics engine to validate some physical configurations. I though I could use MJX to try different actions on a physical env and validate those in parallel
My setup
I'm using Mujoco 3.3.6
I'm also using JAX_cuda_13
I'm using WSL which is Ubuntu 22.04.05 LTS
My question
When I try to use "mjx.get_data" to retrieve the data from my device I'm getting an error regarding a shape mismatch for qLD. Im not sure what could cause this issue. As you can see the qPos are printed when iterating over the batch but as soon as I try to retrieve the data the error occurs
Something interesting is that if I remove body named "box_10" the error no longer occurs.
Model:
minimal XML
Code:
Confirmations
Beta Was this translation helpful? Give feedback.
All reactions