google-deepmind / google-deepmind/dm_control

Way to combine XML files in same namespace?

Aperta
#522 2 commenti 0 reazioni 0 assegnatari Vedi su GitHub
Lingua principale
Python
Stelle
4.7k
Fork
764
Metriche di merge delle PR
Nessuna PR unita negli ultimi 30g

Descrizione

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?

Guida per i contributori

Apri la guida per i contributori

Valutazione

Questa issue non è ancora stata valutata.

Ricevi le nuove issue nella tua casella

Un breve riepilogo di issue GitHub adatte ai principianti.