grasp_flat · RoboTwin (EXPERIMENTAL)
Specialized top-down pinch for flush FLAT / THIN objects the normal grasps
cannot pick. One call runs the whole camera/depth pipeline without reading task
state or model contact annotations.
Why this exists
A slab lying flush on the table (phone ≈ 8 mm, bread slice ≈ 10 mm) defeats the
usual grasps: grasp_obb / grasp_top_down descend to the OBB body-center,
which for a slab is essentially table level — the descend floor-cap refuses it,
or the jaws close on air above the slab (the place_phone_stand /
place_burger_fries failure). Scripted baselines may use model contact
annotations that are unavailable to a camera-only agent. The textbook
flush-object move (drag to a table EDGE, then
side-pinch the overhang) needs a reachable edge; RoboTwin's workspace is
central and the table edge is out of the arm's reach, so it does not apply.
How it works
look, then OBB-localize (object_mask→object_cloud→filter_noise→
object_obb): center, extent, orientation.
table_z= the object cloud's floor (5th-percentile z — the slab rests ON
the table).
- Wide open the gripper, hover, then
descend_tcp_to_zto
grasp_z ≈ table_z + 0.45·thickness (clamped ≥ 4 mm above the table) with the
floor-cap lowered to table_z so the near-table target is not refused —
the fingertips grip the slab's BODY near its base, not the top face.
gripperclose across the OBB's narrow footprint, a small lift, then
is_holding + verify_holding_visual.
- On no-hold, retry ONCE closing across the long footprint axis.
Success criteria
held: true— bothis_holdingandverify_holding_visualconfirm the grip
after the lift.
Failure modes
- No / whole-scene mask →
ok: False; pass a concreteobjectoru,v. - Jaws still close on air / slab too thin →
ok: Falseafter both axes; the
slab may be ungraspable top-down here (no reachable edge for an overhang
side-pinch). This is the known flush-object ceiling.
Enabling
Enabled for the Engineer to try; set ROBORSI_FLAT_GRASP=0 to disable
(returns {ok: False, reason: "disabled"} without touching the sim).
EXPERIMENTAL — field-validated via place_phone_stand / place_bread_skillet runs,
not a per-run harness pass.