Skip to content

Conversation

@kevin-thankyou-lin
Copy link
Contributor

What this does

Fixes error from updated base adding PR.

Error:

python robosuite/scripts/collect_human_demonstrations.py --robot GR1FloatingBody --device spacemouse
  File "robosuite/models/base.py", line 145, in get_model
    model = mujoco.MjModel.from_xml_string(string.getvalue())
ValueError: XML Error: Schema violation: unique element 'inertial' found 2 times
Element 'body', line 155

How to test

python robosuite/scripts/collect_human_demonstrations.py --robot GR1FloatingBody --device spacemouse

@kevin-thankyou-lin kevin-thankyou-lin changed the title Fix duplicated inertial property issue Fix duplicated inertial property + free joint issue Oct 23, 2025
@kevin-thankyou-lin kevin-thankyou-lin merged commit cb25aae into master Oct 25, 2025
2 checks passed
ShahRutav pushed a commit to ShahRutav/robosuite that referenced this pull request Dec 31, 2025
…#765)

* Fix duplicated inertial property issue

* skip explicit torso action is >1D

* Format

* Don't add freejoints for add_mobile_base
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

3 participants