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
I am a undergrad student at ETH Zurich, I use MuJoCo for my research on Multimaterial deformable objects.
My setup
I use MuJoCo 3.2.5 with python bindings.
What's happening? What did you expect?
When I try to load my "drop_1_axis-y_sim-0.xml" with mujoco.MjModel.from_xml_path(scene_path) , mujoco throws the error:
" Error: XML Error: Error: Node tags must be sequential
Element 'flexcomp', line 33".
After inspecting the mesh manually and computationally, the mesh doesn't have discontinouties as mujoco claims. All 546 Nodes of the "caorsened_bottle_neck.41.msh" file are numbered continous.
Therefore mujoco should not throw any error when loading this scene for simulation.
Here is the full error thrown:
Traceback (most recent call last):
File "/mnt/c/Users/Nickt/OneDrive - ETH Zurich/Desktop/Private stuff/06_Schule/ETH/Bachelorarbeit/Repos/let-the-best-sim-win/src/pipeline/simulate.py", line 304, in simulate_scene_with_timestep
mj_model = mujoco.MjModel.from_xml_path(scene_path)
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
ValueError: XML Error: Error: Node tags must be sequential
Element 'flexcomp', line 33
During handling of the above exception, another exception occurred:
Traceback (most recent call last):
File "path/to/my/repo/src/pipeline/simulate.py", line 401, in simulate_scene
sim_success = simulate_scene_with_timestep(scene_path, output_path, timestep, sim_duration, fps, save_pixel_frames)
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
File "path/to/my/repo/src/pipeline/simulate.py", line 307, in simulate_scene_with_timestep
raise Exception(f"InitializationError: the mujoco model and data for {scene_path} couldn't be initialzed.\nError: {e}\n\n")
Exception: InitializationError: the mujoco model and data for bin/multi-mat_dataset/Bottle/1/drop/drop_1_axis-y_sim-0.xml couldn't be initialzed.
Error: XML Error: Error: Node tags must be sequential
Element 'flexcomp', line 33
Load the "drop_1_axis-y_sim-0.xml" scene into mujoco. Either programmatically through mj_model = mujoco.MjModel.from_xml_path(scene_path) or in the interactive viewer.
Intro
Hi!
I am a undergrad student at ETH Zurich, I use MuJoCo for my research on Multimaterial deformable objects.
My setup
I use MuJoCo 3.2.5 with python bindings.
What's happening? What did you expect?
When I try to load my "drop_1_axis-y_sim-0.xml" with
mujoco.MjModel.from_xml_path(scene_path)
, mujoco throws the error:" Error: XML Error: Error: Node tags must be sequential
Element 'flexcomp', line 33".
After inspecting the mesh manually and computationally, the mesh doesn't have discontinouties as mujoco claims. All 546 Nodes of the "caorsened_bottle_neck.41.msh" file are numbered continous.
Therefore mujoco should not throw any error when loading this scene for simulation.
Here is the full error thrown:
Steps for reproduction
Here is all the data needed: example.zip
mj_model = mujoco.MjModel.from_xml_path(scene_path)
or in the interactive viewer.Minimal model for reproduction
No response
Code required for reproduction
No response
Confirmations
The text was updated successfully, but these errors were encountered: