google-deepmind / google-deepmind/dm_control

Way to combine XML files in same namespace?

オープン
#522 コメント 2 件 リアクション 0 件 担当者 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 を短くまとめたダイジェスト。