Geom orientation sometimes parsed or compiled wrongly with MjSpec #2699
Unanswered
jbruedigam-bdai
asked this question in
Asking for Help
Replies: 2 comments 2 replies
-
Wow really hard to debug :) Next time it fails, can you check if this quat is correct?
Or in general, if geom.alt contains the correct values. At least, we would know if it was parsed correctly and nothing else wrote into it. |
Beta Was this translation helpful? Give feedback.
2 replies
-
Hi @quagla! Thank you for taking a look at this. I have a minimal example of what @jbruedigam-bdai was talking about before, and have filed a bug report #2834 . Would appreciate any ideas you have about what might be causing the issue! |
Beta Was this translation helpful? Give feedback.
0 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.
Uh oh!
There was an error while loading. Please reload this page.
-
Intro
Hi!
I am a researcher at RAI, I use MuJoCo for my research on robot manipulation.
My setup
MuJoCo 3.3.3 (switched from 3.2.6), Python, Ubuntu 22.04
My question
We recently switched from Mujoco version 3.2.6 to 3.3.3 and now we are seeing the following issue:
We have one xml for a robot and different xmls for different objects. We dynamically compose an MjSpec to obtain one model with the robot and a specific object.
Sometimes (i.e., not deterministically), the orientation of the collision geoms is wrong after calling
spec.compile()
. Position and other things are fine. If the error occurs, the orientation is almost at identity, up to some numerical deviation.I don't have a minimal example at this point because the code for generating the composed scene is a bit involved. But here's some things that may be relevant:
Something I'm curious about that might point to the issue is that when loading a spec from file (and not compiling yet), the position of the geoms is set as specified in the xml, but the quat is just set to identity (see code example below). It appears to be set during
compile
.Minimal model and/or code that explain my question
Confirmations
Beta Was this translation helpful? Give feedback.
All reactions