robotwin
Use RoboTwin bimanual manipulation simulation, data, task authoring, and XPolicyLab policy-evaluation workflows.
- License 许可
- MIT
- 最近更新
- 2026-10-08
- Stars
- ★ 11
- Forks
- 3
01 前言 Front Matter
- name
- robotwin
- license
- MIT
- metadata
- { "disco-role": "operating" }
- description
- Use RoboTwin bimanual manipulation simulation, data, task authoring, and XPolicyLab policy-evaluation workflows.
- disable-model-invocation
- true
02 资源文件 5
- 参考文档references/install-and-submodules.md4.0 KB
- 参考文档references/repo-provenance.md2.5 KB
- 参考文档references/repo-routing-metadata.json421 B
- 参考文档references/troubleshooting.md2.4 KB
- 参考文档references/workspace-bootstrap.md2.8 KB
03 SKILL.md 正文
RoboTwin
Use this repo skill when a user asks about RoboTwin 2.0, dual-arm/bimanual manipulation simulation, RoboTwin task configs/classes, demonstration data collection, XPolicyLab-format trajectories, or XPolicyLab policy evaluation for RoboTwin.
Start here
- If the user already has a RoboTwin workspace, work there. If not, use the bundled workspace bootstrapper to materialize a pinned public workspace and public assets without depending on the construction checkout.
- Check setup before long runs: Python 3.10/3.11, NumPy 1.x ABI, SAPIEN/MPLib/Open3D/PyTorch dependencies, downloaded assets, and initialized
XPolicyLabsubmodule when evaluating policies. - Route to the smallest sub-skill below. Return here for cross-cutting install, assets, provenance, and global troubleshooting.
Sub-skill routes
| User intent | Read |
|---|---|
Understand Base_Task, task classes, SAPIEN scene setup, action helpers, robot/camera configs, render smoke, or planning failures |
simulation-core |
| Download pre-collected data, collect demonstrations, validate XPolicyLab HDF5, understand data layouts, or convert legacy raw episodes | data-pipeline |
| Configure XPolicyLab local/remote policy evaluation, scheduler dry-runs, policy-server pools, result logs, or qpos/endpose action adapter shapes | policy-eval |
| Add or modify tasks/configs/language templates, expand episode instructions, or reason about credential-bound LLM/code-generation utilities | task-authoring |
Cross-cutting references
- repo-provenance.md: source revision and evidence paths used to build this skill.
- install-and-submodules.md: setup sequence, dependency pins, assets, and
XPolicyLabsubmodule handling. - workspace-bootstrap.md: self-contained bootstrap/check/download entry point for users without a ready workspace.
- troubleshooting.md: global failures that span sub-skills.
- repo-routing-metadata.json: structured router metadata for managed repo-skill import.
- scripts/check_robotwin_prereqs.py: read-only workspace and dependency check before any mutating workflow.
Bundled runtime entry points
scripts/robotwin_workspace.py: self-contained bootstrapper for pinned public workspaces, asset/data download, collection dispatch, and evaluation dispatch.scripts/check_robotwin_prereqs.py: read-only environment and workspace probe for dry-run validation before any mutating workflow.
High-level workflows
Prepare a workspace
- If starting from scratch, run the bundled workspace bootstrapper to create a pinned public RoboTwin checkout.
- Create an isolated Python 3.10/3.11 environment.
- Install the simulation/data/eval dependencies with
numpy==1.26.4; avoid Python 3.13 for current compiled dependencies. - Download and extract RoboTwin assets before importing
envsor running tasks. - Run a SAPIEN render smoke.
- For policy evaluation, initialize
XPolicyLabor use the bootstrapper'sbootstrap --with-xpolicylabpath before working on adapter workflows.
Collect or inspect data
- Use data-pipeline to choose pre-collected data vs self-collection.
- Use simulation-core if collection fails during task initialization, actor creation, rendering, or planning.
- Validate HDF5 schema before feeding data to training or LeRobot conversion.
- If you only need a standalone workspace or public asset/data acquisition flow, the bundled bootstrapper can create it without any original checkout.
Evaluate a policy
- Initialize
XPolicyLaband confirm the policy adapter exists. - Use policy-eval for local scheduler or remote server/client commands.
- Run dry-runs and synthetic action-shape checks before full rollout.
- Use data-pipeline for dataset layout questions and simulation-core for environment/task failures.
Do not assume
- Do not assume RoboTwin is pip-installable as a normal package; this source revision has no
setup.pyorpyproject.toml. - Do not import top-level
envsbefore assets are present; cluttered-object metadata is read during import. - Do not treat the empty or uninitialized
XPolicyLabdirectory as a usable policy stack; initialize the submodule first. - Do not run large downloads, long collection, policy rollouts, or credentialed LLM generation unless the user asks for those side effects.
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.