simulator-foundations
Use ProtoMotions simulator, robot, terrain, scene, and tutorial building blocks without jumping into full training.
- License 许可
- Apache-2.0
- 最近更新
- 2026-10-08
- Stars
- ★ 11
- Forks
- 3
01 前言 Front Matter
- name
- simulator-foundations
- license
- Apache 2.0
- metadata
- { "disco-role": "operating" }
- description
- Use ProtoMotions simulator, robot, terrain, scene, and tutorial building blocks without jumping into full training.
- disable-model-invocation
- true
02 资源文件 3
- 参考文档references/simulator-api.md2.6 KB
- 参考文档references/tutorial-map.md1.8 KB
- 参考文档references/visualization.md1.9 KB
03 SKILL.md 正文
ProtoMotions simulator foundations
Use this sub-skill for tasks that ask how ProtoMotions creates simulators, loads robots, builds terrains/scenes, reads context views, or validates a robot/environment setup before training.
Read first
references/simulator-api.md: factories, config objects, import order, and simulator state concepts.references/tutorial-map.md: progressive learning path from simulator creation to DeepMimic.references/visualization.md: motion and random-pose visual checks and safety notes.scripts/smoke_config_factories.py: safe script that constructs robot and simulator config objects without creating a simulator runtime.
Typical tasks
- Choose a simulator backend for a small debug run.
- Create a robot config with
robot_config("g1"),robot_config("smpl"), or another registered name. - Build
simulator_config(...)from a robot, backend name, headless flag, env count, and experiment name. - Add procedural terrain or scene objects to an environment config.
- Understand
EnvContextandMdpComponentbindings for observations/rewards/terminations. - Validate a custom robot's MJCF/config before training.
Safe workflow
-
Confirm backend environment and import order using the install sub-skill.
-
Construct configs only; do not instantiate simulator classes until backend dependencies are verified.
-
Run a small robot/simulator config smoke:
python scripts/smoke_config_factories.py --robot g1 --simulator mujoco --num-envs 1 -
For visual checks, start with one environment, headless where possible, then enable rendering only when the display/Kit backend is ready.
-
If changing robot assets or custom simulator adapters, prefer unit tests or factory smokes before long rollouts.
Key invariants
- Robot configs own asset paths, body-name mappings, control gains, default root height, trackable bodies, and per-simulator physics params.
- Simulator configs are selected by backend name and must use that robot's matching simulation params.
BaseEnvcomposes simulator, terrain, scene library, motion library, observation/reward/termination components, and control components.- MDP components are pure tensor functions wired to context paths plus static params.
- Tutorial scripts are educational and backend-runnable; they are not a substitute for environment-specific install verification.
04 同仓库更多 Skills
obsidian-clipper-template-creator
Guide for creating templates for the Obsidian Web Clipper. Use when you want to create a new clipping template, understand available variables, or format clipped content.
obsidian-clipper-template-creator
Guide for creating templates for the Obsidian Web Clipper. Use when you want to create a new clipping template, understand available variables, or format clipped content.
python-api
Programmatic Object-Detection-Metrics API guidance for BoundingBox, BoundingBoxes, Evaluator, enums, coordinate conversion, AP/mAP semantics, and source-style import diagnostics.
file-evaluation
Folder-based PASCAL VOC AP/mAP evaluation from ground-truth and detection text files.
object-detection-metrics
Guides legacy Object-Detection-Metrics PASCAL VOC AP/mAP evaluation from detection text folders and direct Python API classes.
nx-workspace-patterns
Configure and optimize Nx monorepo workspaces. Use when setting up Nx, configuring project boundaries, optimizing build caching, or implementing affected commands.