Skip to content

Error "XML Error: Element size must be a multiple of dim+1 mujoco" #2107

Discussion options

You must be logged in to vote

You need to set dim=3 in xml.
Here is a simplified model that loads.

mujoco_model_solution.zip

if you look at the content of part-0.41.msh:

$Nodes
1 1663 1 1663
3 0 0 1663

you can see 3 0 0 1663.
3 indicates that this is a volumetric mesh. Therefore you need to set the dim=3 in xml.

Replies: 3 comments 1 reply

Comment options

You must be logged in to vote
1 reply
@Nick20500
Comment options

Comment options

You must be logged in to vote
0 replies
Comment options

You must be logged in to vote
0 replies
Answer selected by kevinzakka
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
3 participants