sim2real-deployment
Run ASAP sim2sim playback, sim2real policy runtime, Unitree/ROS2 bridges, joystick or keyboard controls, and real-data collection safely.
- License 许可
- MIT
- 最近更新
- 2026-10-08
- Stars
- ★ 11
- Forks
- 3
01 前言 Front Matter
- name
- sim2real-deployment
- license
- MIT
- metadata
- { "disco-role": "operating" }
- description
- Run ASAP sim2sim playback, sim2real policy runtime, Unitree/ROS2 bridges, joystick or keyboard controls, and real-data collection safely.
- disable-model-invocation
- true
02 资源文件 3
- 参考文档references/configuration.md8.3 KB
- 参考文档references/troubleshooting.md7.8 KB
- 参考文档references/workflows.md10.9 KB
03 SKILL.md 正文
sim2real-deployment
Use this sub-skill when the task is to operate ASAP deployment code: MuJoCo sim2sim playback, sim2real policy runtime on a Unitree G1, ROS2/Unitree bridge setup, joystick or keyboard command input, and real-world data collection.
First Safety Gate
Real robot deployment can injure people and damage hardware. Do not start policy actions on physical hardware until a qualified human confirms the robot is mechanically configured for the intended DOF count, in low-level mode, on a clear test area or support rig, with emergency-stop procedures ready. The bundled instructions explain repository behavior; they do not replace a hardware safety review.
Route by Need
- Local MuJoCo sim2sim playback: read
references/workflows.mdand run the simulator plus policy terminals from the repositorysim2real/directory. - Real Unitree G1 policy runtime: read
references/workflows.mdandreferences/troubleshooting.mdbefore changingINTERFACEaway from localhost. - Keyboard, joystick, or MuJoCo viewer controls: use
references/workflows.mdfor the exact key/button maps implemented bybase_policy.py,deepmimic_dec_loco.py, andunitree_sdk2py_bridge.py. - Robot/config/model path edits: use
references/configuration.mdbefore editingsim2real/config/g1_29dof_hist.yaml. - Safe readiness check: run the bundled
scripts/deployment_doctor.pyto check imports, config shape, assets, model paths, joystick visibility, and network-interface expectations without initializing Unitree DDS or commanding motors. - Real-data collection: use
references/workflows.mdforlistener_deltaa.pyand its recording keys.
Working Directory Convention
Deployment commands in ASAP are written to run from the repository sim2real/ directory, because config paths point to ../humanoidverse/..., policy scripts append ./rl_policy, and model examples use ./models/....
cd sim2real
python sim_env/base_sim.py --config=config/g1_29dof_hist.yaml
python rl_policy/deepmimic_dec_loco_height.py --config=config/g1_29dof_hist.yaml \
--loco_model_path=./models/dec_loco/20250109_231507-noDR_rand_history_loco_stand_height_noise-decoupled_locomotion-g1_29dof/model_6600.onnx \
--mimic_model_paths=./models/mimic
Boundaries and Cross-Links
- For HumanoidVerse training, checkpoint export, Hydra overrides, or evaluation, use
../training-and-evaluation/SKILL.mdand the root../../SKILL.md. - For SMPL/AMASS shape fitting, motion fitting, or retargeting, use
../motion-retargeting/SKILL.md. - For base installs, simulator backends, ROS2, and optional SDK prerequisites, use root
../../references/install-and-backends.mdwhen present. - For cross-cutting package/import/config failures, use root
../../references/troubleshooting.mdwhen present; keep deployment-specific failures in this sub-skill'sreferences/troubleshooting.md.
This sub-skill intentionally excludes HumanoidVerse training internals and SMPL motion retargeting details except where a trained ONNX policy or retargeted mimic model path is required for deployment.
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.