google-deepmind / mujoco_menagerie

A collection of high-quality models for the MuJoCo physics engine, curated by Google DeepMind.
Other
1.32k stars 176 forks source link

Ufactory Lite 6 load fails due to joint limits #61

Closed eufrizz closed 3 months ago

eufrizz commented 3 months ago

Which model is the issue affecting? Ufactory Lite6

What is the issue?

import mujoco
model = mujoco.MjModel.from_xml_path("./ufactory_lite6/lite6.xml")

ValueError Traceback (most recent call last) Cell In[2], line 1 ----> 1 model = mujoco.MjModel.from_xml_path("./ufactory_lite6/lite6.xml")

ValueError: Error: joint has range but not limited. set the autolimits="true" compiler option, specify limited explicitly ("true" or "false"), or remove the range attribute. Object name = joint1, id = 0, line = 58, column = -1

Fix Set autolimits=true as is done in other models PR: https://github.com/google-deepmind/mujoco_menagerie/pull/62