Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Error when adding multiple same class xml objects #149

Closed
ray8828 opened this issue Dec 28, 2020 · 1 comment
Closed

Error when adding multiple same class xml objects #149

ray8828 opened this issue Dec 28, 2020 · 1 comment

Comments

@ray8828
Copy link

ray8828 commented Dec 28, 2020

Thanks for sharing this great job!

When I try to add multiple same class XML objects e.g. two BottelObject to an environment, I got an mjcf XML error, (I've already specified different names for the objects)

Failed to load XML from string. mj_loadXML error: b'Error: repeated name in body array, position 25\nObject name = bottle_main, id = 25, line = 267, column = 7'

@cremebrule
Copy link
Member

Thanks for catching this bug! This is fixed in the most recent PR.

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

No branches or pull requests

2 participants