计划执行与检查节点
executing-plans
按既定实施计划完成工作,保持过程检查和反馈。
mjcf-mujoco-models【效率与协作】Build, parse, compose, export, compile, step, inspect, and optionally render MJCF/MuJoCo models with dm_control.
独立 GitHub 快照 · 自动分类 · 以原作者文档为准
Use this sub-skill when a task is about raw MJCF/PyMJCF models or dm_control.mujoco.Physics: building XML object models, parsing model files or strings, composing attached models, exporting assets, compiling a Physics, stepping/resetting state, named data/model inspection, action specs, or a small render probe.
dm_control.mjcf.RootElement, Element.add/find/find_all, parser/export helpers, mjcf.Physics.from_mjcf_model, mujoco.Physics.from_xml_string/from_xml_path, physics.named, reset_context, mujoco.action_spec, and physics.render API usage.Entity, Task, observable, and variation abstractions to composer-environments.Install the public package with:
pip install dm_control
For unreleased source installs use:
pip install git+https://github.com/google-deepmind/dm_control.git
Editable installs are not supported; do not rely on a source checkout, local paths, notebooks, or repository tests at runtime. Rendering is optional: CPU model construction, compile, reset, and stepping should work without an OpenGL backend, while physics.render depends on a configured MuJoCo GL backend.
Physics, stepping/resetting simulations, using named data/model access, deriving action specs, rendering, or wrapping a custom dm_env environment.dm_control can build a tiny PyMJCF model, compile mjcf.Physics, step it, optionally render, and optionally write the generated XML.mujoco.Physics constructors for existing XML or MJB models.dclass for XML class, getattr(model.visual, 'global') for keyword child names, and direct mjcf.Element references for reference attributes.mjcf.Physics.from_mjcf_model(model) or mujoco.Physics.from_xml_string(xml, assets=model.get_assets()) before claiming the model is valid.physics.named, physics.bind(element) for PyMJCF elements, reset_context, set_control, step, and mujoco.action_spec.