tip_pour
Overview
Single-arm pour: with the source container already grasped, hover over the
target container and tip past horizontal so gravity empties the loose contents
into it. Internally searches tilt-angle × roll-axis for the FIRST IK-feasible
past-horizontal config, instead of the Engineer blind-trying move_to_pose
(which IK-fails on most tip poses — dump_bin_bigbin burned 30+ move_to_pose
calls this way).
Prerequisites
- The arm already HOLDS the source container (grasp + verify holding first).
- You know the receiving container's mouth world XYZ (describe_scene_actors,
or find_pixel + unproject_pixel).
Phases
- Hover top-down above the target (mouth up, no premature spill).
- Search tilt (100/120/140°) × roll-axis (±x, ±y); command the first config
the planner actually executes.
- Hold the tipped pose
hold_ticksso contents fall out. - Restore upright (container stays lifted).
Success criteria
- A past-horizontal tip executed over the target (
ok=True). - ACTUAL success (contents landed in the target) is judged by the sim
predicate at episode end — never assume success from ok=True.
Failure modes
hover_unreachable: can't reach above the target — move source closer / other arm / smaller hover_above.no_reachable_tilt: no past-horizontal config was IK-feasible — adjust hover_above or approach.