google-deepmind / google-deepmind/dm_control

Way to combine XML files in same namespace?

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

描述

In mujoco XML we can compose files multiple ways: we can use `include` to bring in assets and `attach` to build hierarchies. I'm wondering if there's any equivalent to `include` in `dm_control.mjcf`.

My use case is I have both cartesian and joint-space actuators defined for my robot, and I want to dynamically load the desired actuators for my robot. `Element.attach` does not seem to provide the desired functionality, as it places the robot and actuators in separate namespaces. Is it possible to load both my actuators and robot from XMLs into the same namespace?

贡献指南

打开贡献指南

评估

这个 Issue 还没有评估数据。

把新 issue 发到你的邮箱

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