Fix bugs in kettle_asset.xml to ensure compatibility with the latest MuJoCo versions #255
Add this suggestion to a batch that can be applied as a single commit.
This suggestion is invalid because no changes were made to the code.
Suggestions cannot be applied while the pull request is closed.
Suggestions cannot be applied while viewing a subset of changes.
Only one suggestion per line can be applied in a batch.
Add this suggestion to a batch that can be applied as a single commit.
Applying suggestions on deleted lines is not supported.
You must change the existing code in this line in order to create a valid suggestion.
Outdated suggestions cannot be applied.
This suggestion has been applied or marked resolved.
Suggestions cannot be applied from pending reviews.
Suggestions cannot be applied on multi-line comments.
Suggestions cannot be applied while the pull request is queued to merge.
Suggestion cannot be applied right now. Please check back later.
Description
There's a missing tag in kettle_asset.xml. This will bring errors in the latest version of MuJoCo (>3.16). I have validated that this change does not change the behavior of the environment for older versions of mujoco (3.1.6, 3.0.1). However, the behavior in MuJoCo version (<3.0, e.g. 2.1.5) remains to be checked (if needed).
Related issues $ temp fixes includes:
Farama-Foundation/D4RL#236 (comment)
CleanDiffuserTeam/CleanDiffuser#24
Farama-Foundation/D4RL#238 (comment)
Type of change
Please delete options that are not relevant.
Notes
This behavior aligns with other assets descriptions in kitchen. For example, in microwave:
in oven:
However, in kettle
I hope this typo could be fixed soon. Since in latest version of MuJoCo, the default tag without name is identified as "main default", which will bring errors like:
ValueError: XML Error: top-level default class 'main' cannot be renamed
Checklist:
pre-commit
checks withpre-commit run --all-files
(seeCONTRIBUTING.md
instructions to set it up)