Skip to content

golem_robocasa: both robots spawn clear of the kitchen - #14

Merged
maxconwa merged 1 commit into
mainfrom
spawn_clearance
Nov 16, 2026
Merged

maxconwa merged 1 commit into
mainfrom
spawn_clearance

Conversation

@maxconwa

Copy link
Copy Markdown
Contributor

What

  • One shared spawn search, robosuite_common.place_robot_collision_free, for both robots: backs off, then tries sideways offsets (±0.1–0.5 m) until GOLEM_SPAWN_MARGIN holds.
  • H1-2: the clearance must also hold in the limp sag poses and along golem_upper_ik's start-up moves (init_1 → init_2 → init_3 → home), which run under the elastic band. STARTUP_ARM_STAGES is checked against robot.yaml by tests/docker/test_sim_startup_poses.py.
  • G1: GOLEM_SPAWN_MARGIN is now read (default 0.05 m).

Why

With collisions off, the robot could spawn with an arm through a fixture; in 4/18 kitchens the H1-2's start-up arm path went up to 6.8 cm into a fixture, and a gripper touched a cabinet handle at init_3 in a closed-loop run.

Tests

  • 18 H1-2 kitchens: ≥0.20 m clear along the whole start-up path (backoff 0.14–0.98 m, three spawns shifted 0.2–0.4 m sideways). G1: ≥0.051 m, 0–0.14 m backoff.
  • tests/robocasa (195 pass), tests/docker, spawn unit tests for both robots, tests/sim/test_sim_stack.sh 14/14 on both robots.

Robot collision models and CL_Assets are untouched (separate work).

🤖 Generated with Claude Code

https://claude.ai/code/session_015EG7p8sgY1ZVi6unbbLp4J

One spawn search for both robots (robosuite_common.place_robot_collision_free)
backs the robot off, and shifts it sideways where that is not enough, until
GOLEM_SPAWN_MARGIN holds. The H1-2's must also hold in its limp sag poses and
along golem_upper_ik's start-up arm moves (h12_mujoco.STARTUP_ARM_STAGES, kept
equal to robot.yaml by tests/docker/test_sim_startup_poses.py), which run while
the band holds it. The G1 reads GOLEM_SPAWN_MARGIN (default 0.05 m).

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
Claude-Session: https://claude.ai/code/session_015EG7p8sgY1ZVi6unbbLp4J
@maxconwa
maxconwa merged commit f444214 into main Nov 16, 2026
1 of 2 checks passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant