google-deepmind / google-deepmind/dm_control

`mjcf` parser only supports `include` at root level

未关闭
#529 0 条评论 0 个 reaction 已指派 0 人 在 GitHub 查看
主要语言
Python
星标
4.7k
派生
764
PR 合并指标
30 天内没有已合并 PR

描述

I think the `mjcf` parser [assumes](https://github.com/google-deepmind/dm_control/blob/main/dm_control/mjcf/parser.py#L199) that `include` elements can only be children of the root element, while, in contrast, MuJoCo allows `include` to live at any depth in the XML tree?

贡献指南

打开贡献指南

调研方向

从 dm_control/mjcf/parser.py 中 199 行附近的链接代码开始,跟踪相对于根元素如何处理 include 元素。将该行为与 MuJoCo 对嵌套 XML include 的支持进行比较;完成标准是 include 在任意深度都能工作,且不破坏根级解析。

由索引模型根据 Issue 内容生成。

评估

技术栈
python
领域
backend
Issue 类型
缺陷
难度
3/5
预计耗时
1-2 天
活跃度
停滞
描述清晰度
基本清楚
新手友好度
45/100

把新 issue 发到你的邮箱

精选适合新手参与的 GitHub issue 摘要。