RoboParty Release
Unify robohome source, assets and scenes delivery
3f15e9f
|
Raw History Blame
2.82 kB

Saved-scene Sim2Real stages

This mode extends the existing scripts/run_mainline_pipeline.py entry. It consumes an already saved scene and never restarts generation, binding or assembly.

Ordered stages:

  1. Read and hash the source runtime manifest, saved Blend and unchanged task.
  2. Blender exports exact world-space collision triangles. Only explicitly tagged planning door-swing helpers are excluded; hidden real geometry remains physical.
  3. Validate actual centerline and full-radius floor support, author static collision USD, and derive required rug contacts from the actual saved mesh footprints and task route.
  4. Native fixed-waist position IK for both task endpoints.
  5. Native Arena G1/Homie-v2 CPU navigation and independent verification of raw body/rug/obstacle contacts.

Fresh geometry on a host with Blender, Shapely and pxr:

python scripts/run_mainline_pipeline.py --sim2real \
  --scene /absolute/saved_scene --task /absolute/task.json \
  --out /absolute/new_geometry_run --blender /absolute/blender \
  --stop-after geometry

For native execution on the SDK host, transfer the saved scene, exact task and the geometry/ output without editing their contents. The SDK and robot assets are read-only inputs; writable runtime directories are created underneath the new run output.

python scripts/run_mainline_pipeline.py --sim2real \
  --scene /absolute/saved_scene --task /absolute/task.json \
  --geometry-input /absolute/previous_run/geometry \
  --runtime-config /absolute/native_runtime.json --out /absolute/new_native_run

The runtime JSON requires python, sdk_root, assets; optional pythonpath lists explicitly installed native-interpreter dependencies. The interpreter launching the handoff orchestration also requires Shapely for independent geometry checks; expose its matching installation before launching the entry. assets must contain the frozen robot USD, policy files and wbc_robot_model/. Keep the geometry host and native host on the same Shapely/GEOS versions for deterministic recomputation. Do not reuse compiled Python dependencies across Blender, geometry Python and the SDK interpreter.

Exit 0 means only that the requested stage scope passed. sim2real_report.json always retains whole_task_acceptance=false. Diagnostic task fields remain unchanged. Position IK does not prove grasp orientation or wrist/object calibration. Static USD is not material conversion or a SimReady delivery bundle. Physical grasp/carry/release and RPArena task acceptance remain separate pending gates.

This integration audits an existing scene; it does not repair a physical floor gap or change a task route. Unsupported floors fail before native execution. New-scene generation needs its upstream floor/task planning changes separately verified.