You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
MuJoCo files with <include> tags in the xml result in models being loaded from nested xmls. But when applying dynamics randomization, we can only edit dynamic parameters of the root xml. Furthermore, when we pass this edited xml to MuJoCo, we pass the entire xml as a string. This prevents MuJoCo from recognising and reading include files.
Example: Say we are doing variations for a Sawyer reacher task. We want to randomize the mass of the inertial node inside the tag "right_wrist", inside sawyer_robot.xml.
We include sawyer_robot.xml through reacher.xml. However, dynamics randomization only search for tags in reacher.xml and not in the nested file sawyer_robot.xml. Even if the tag is in reacher.xml, dynamics randomization won't work because it passes the xml to MuJoCo as a string, not a path to an xml file. This fails due to improper parsing of the <include> tag.
tl;dr: Requesting these features
Perform search of dynamic attributes in nested xml models
Pass randomized xml model to MujoCo using a file path, not an xml string.
The text was updated successfully, but these errors were encountered:
MuJoCo files with
<include>
tags in the xml result in models being loaded from nested xmls. But when applying dynamics randomization, we can only edit dynamic parameters of the root xml. Furthermore, when we pass this edited xml to MuJoCo, we pass the entire xml as a string. This prevents MuJoCo from recognising and reading include files.Example: Say we are doing variations for a Sawyer reacher task. We want to randomize the mass of the inertial node inside the tag "right_wrist", inside sawyer_robot.xml.
We include sawyer_robot.xml through reacher.xml. However, dynamics randomization only search for tags in reacher.xml and not in the nested file sawyer_robot.xml. Even if the tag is in reacher.xml, dynamics randomization won't work because it passes the xml to MuJoCo as a string, not a path to an xml file. This fails due to improper parsing of the
<include>
tag.tl;dr: Requesting these features
The text was updated successfully, but these errors were encountered: