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

mjcf/schema.xml is missing eulerdamp as flag attribute #462

Open
JeyRunner opened this issue Apr 11, 2024 · 1 comment · May be fixed by #463
Open

mjcf/schema.xml is missing eulerdamp as flag attribute #462

JeyRunner opened this issue Apr 11, 2024 · 1 comment · May be fixed by #463

Comments

@JeyRunner
Copy link
Contributor

Hi, I noticed that I get the following error when parsing my XML file with mjcf:

error while parsing element <flag>: 'eulerdamp' is not a valid attribute for <flag>

I guess that can be fixed by adding the following line in /mjcf/schema.xm:

        <element name="flag">
          <attributes>
             <attribute name="eulerdamp" type="keyword" valid_values="disable enable"/>
             <!-- ... -->

See https://mujoco.readthedocs.io/en/stable/XMLreference.html#option-flag .

@yuvaltassa
Copy link
Collaborator

Yes. Please try it locally and if it works for you, send us a PR?

@JeyRunner JeyRunner linked a pull request Apr 11, 2024 that will close this issue
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

Successfully merging a pull request may close this issue.

2 participants