Pick up object
<!-- claude-pixel-contract:start -->The latest image in the conversation represents the current observed state. Older images are historical context; their points, bounding boxes, and object-part locations do not describe the current view. After any motion, re-locate the target in the latest image; do not shift, rotate, or scale an older location estimate to choose a new click.
Before EVERY point selection, inspect the latest attached clickable head image
and re-locate the physical target. Use its actual 720 x 720 original-image
pixels: integer u (column) and v (row) in 0..719, with top-left (0,0) and
bottom-right (719,719). Do not normalize, rescale, or use crop coordinates.
Bind every point, including every row of a multi-point call, to that exact
current image_id. Never copy locations from older images, earlier reasoning,
reference photos, tracking text, or overlay labels. Wrist images are
observation-only and cannot be clicked. If the MCP image check rejects a
click, capture a fresh head image and ground again; do not guess an image_id.
Follow this procedure only while pick-up-object is the active task
Skill in the latest lifecycle result or current task_skill_state notice.
Its presence in history, including after compaction, does not activate it.
After success and all required post-actions, call deactivate_skill with
name="pick-up-object", then continue the parent task under the baseline.
You may also deactivate to cancel or hand control back without claiming success.
Instructions below to stay, retry, or exit describe pursuit of success; they do
not prohibit explicit cancellation or handoff. Carry unfinished work and any
pending cleanup back to the parent task. Physical constraints still apply;
deactivation itself does not move the robot or release a grasp.
Use the currently advertised behavior-v2 MCP tools and follow the baseline
Skill. Treat this Skill as a picking subtask. Successful completion requires a visually
confirmed grasp of the requested object, followed by the size-specific
post-grasp stow in step 7. That stow is set_arm_to_grasp_position then
reset_body for a small object, or reset_body only for a large object.
Stopping a current approach, plan, or close is a sub-step change, not Skill
exit and not session end.
Observe and select an arm
- Call
capture_head_cameraand identify a visible point on the requested object's graspable body. Do not select nearby support surfaces, packaging, background, or another instance. For a hollow box, tray, or crate, click a solid visible rim or wall edge, not the empty interior or the floor inside: an interior click puts the gripper in overlap with the box walls andplan_grasp_point_filter_rgbd_litefails. - Call
capture_left_wrist_camera, thencapture_right_wrist_camera. Start a new pick only when the intended gripper is visibly empty. A current wrist image with a red grasp-volume overlay means that gripper still holds an object: do not start a new pick on it and do not callset_arm_to_grasp_positionwithgripper="open"for that arm. If a gripper already holds the requested object, the pick subtask is already complete: confirm the grasp on current evidence, perform the required stow if not yet done, then exit this Skill. If a gripper holds a different object, do not open it; pick the requested object with the remaining empty gripper, or keep observing until an empty gripper can pick it. Do not end the session. - When the target is not already at a clearly reachable pose, face it
before the chassis reach. First call
spin_to_facing_pointwith the current headimage_idand the targetu/v. That call only yaws the chassis so the point is centered; it does not approach. Then, on the post-facing head image, reidentify the same target and inspect the blue path overlay.move_to_reach_pointis a straight-line chassis move; it does not weave. After facing, readchassis_forward_2mand look at the marked nearest point in the current image. If that object is the target, it is fine. If it is anything else (table, sofa, wall), do not callmove_to_reach_point. Clear it withadjust_chassis(translation or spin) by hand, ormove_chassis_to_floor_pointto a safe floor point. Then face again and reach. Callmove_to_reach_pointonly when the line is clear. Inspect its completion image. Never reuse pre-motion click coordinates for grasp planning. - From the latest usable head image, call
measure_shoulder_distancewith the visible target point when arm reachability or arm choice is uncertain. Pick the arm supported by the measured shoulder geometry and a visibly clear approach. Do not choose an arm from task history or image side alone. - If furniture or another obstacle blocks a direct approach, a change of
viewpoint or side is not by itself successful approach. After any detour,
reacquire a fresh head image and call
measure_shoulder_distanceon the same visible target. Count the detour as useful approach only when the fresh measured shoulder distance is materially smaller than the pre-detour measurement for the intended arm, and the remaining chassis footprint corridor to that target is visibly clear. If either check fails, do not claim the target is closer and do not call the grasp planner with the same unreachable geometry. Choose a different clear approach or a different reachable instance of the requested object. Do not reuse the same unreachable geometry.
Prepare before grasp planning
- Before every first grasp-planning call for the current target, call
set_arm_to_grasp_positionfor the selected arm withgripper="open". This is a required precondition, not an optional recovery after planning fails. If both wrists are confirmed empty and the planner must choose the arm, call it witharm="both"; otherwise prepare only the selected arm. - Inspect the set-arm result and its post-action image. If no usable current
head image is returned, call
capture_head_camera. Reidentify the target after the arm motion and use only this post-set-armimage_idand point for grasp planning. The adapter normally labels this precision viewrole=raw_rgb; locate the physical object itself and ignore navigation lines, distance text, and coordinates from earlier images. - Call
plan_grasp_point_filter_rgbd_liteonce for that current point. Pass the same selected arm asplan_arm; useplan_arm="any"only when both arms were explicitly prepared and remain visibly clear. Inspect the returned grasp preview and require that the planned fingers enclose the intended object rather than its support or a neighbor. Do not reuse the sameu/vafter a failed plan. If the plan says the point is too far to plan, do not jog the EEF orclose_gripper: calladjust_pitchoradjust_chassisto close range, or callmove_to_reach_pointagain on a fresh faced head image and target, then recapture, reidentify, and plan again. A manualadjust_pitchwith a negative degree can reach a lower torso pitch thanmove_to_reach_point; that extra lean is often useful for a floor object. A successful IK preview is not clearance: still do the EEF-line check in Execute step 1 before anyexec_plan_pose.
Execute and verify
- Before every
exec_plan_pose, inspect the latest head image and judge the straight line from the current selected EEF to the intended grasp point on the requested object. This is an EEF-line check, not the chassis blue path and not a shoulder-distance number. A cabinet side rail, vertical divider, door leaf, or shelf wall between that EEF and the object blocks the line even when planning returned IK andmeasure_shoulder_distancelooks close. If the line is blocked, do not exec. Calladjust_*_eef_pose_in_head_framefor the planned arm and move the EEF around the obstacle into free space from which that straight line is clear. Use exactly one translation family: robot-basex/y/z(+X chassis-forward, +Y chassis-left, +Z up) or head-cameraforward/leftward/upward. Keep each increment bounded and in free space; do not drive the EEF through the rail or door. Wrist-frame adjust is not this clearance step. After any EEF motion the previousplan_idis stale: reidentify the object on the post-adjust head image, callplan_grasp_point_filter_rgbd_liteagain, and repeat this line check. Do not replace this clearance withmeasure_shoulder_distance, chassis inching, or pitch. If several EEF adjusts cannot make a clear straight line, change the chassis approach or the arm; do not exec a blocked plan. If the line is clear: Execute only the returned plan ID withexec_plan_poseand the planner's selected arm. Do not substitute another arm or replay a stale plan after any intervening motion. - Inspect the wrist image returned by that call. Red overlay pixels are visible non-robot 3D points inside that gripper's grasp volume, between the two fingers. They count as an object in the gap only when they overlap the requested object's visible surface.
- Decide the next action from that returned wrist image, not from
ok,error, timeout, stall, or any other exec return field. Do not infer a timeout or a cabinet-door block from those fields. If the wrist overlay already shows the requested object in red between the fingers, callclose_gripperfor that same arm. Do not callexec_plan_poseagain on thatplan_id. If the finger gap is empty, skip close and use the empty-gap restart below. If the image shows the EEF still on the far side of a cabinet side rail, divider, or door from the object, the line is blocked: halt that plan and clear it as in step 1. - Inspect the wrist overlay returned by
close_gripper. Do not call a wrist camera just to replace that image. Capture that arm's wrist only when the close result has no usable current wrist overlay. - Decide from that wrist overlay, not from
ok, timeout,grasp_confirmed, or a latched-close message:- Object in the gap: red overlay overlaps the requested object's surface
between the two fingers. If the grasp is not yet visually confirmed as
held, call
close_gripperagain for the same arm at the current pose. Leave the EEF where it is except for the jam relief below: do notopen_gripper, do notset_arm_to_grasp_position, and do notadjust_*_eef_pose_in_head_framewhile that red remains. Repeat from the newest close wrist overlay. If several in-placeclose_grippercalls leave the fingers visibly unchanged, the fingertips may be jammed against a background plane (floor or table). Calladjust_*_eef_pose_in_wrist_framefor that same arm with onlyforward=-0.02, thenclose_gripperagain. Do not use this relief on an empty gap. - Empty gap: no red overlay between the fingers, or the red does not overlap
the requested object. Restart: call
set_arm_to_grasp_positionfor the same arm withgripper="open", reidentify the target on the post-set-arm head image, callplan_grasp_point_filter_rgbd_liteon a visibly different point, then repeat the EEF-line check in step 1, thenexec_plan_poseand continue from step 2. If the other arm is also extended near the same object, retract both withset_arm_to_grasp_positionandarm="both"before that new plan. Never plan orexec_plan_posefor a second arm onto a nearby point while the first arm is still at the object. Only one arm may occupy the grasp region at a time.
- Object in the gap: red overlay overlaps the requested object's surface
between the two fingers. If the grasp is not yet visually confirmed as
held, call
- Report a confirmed grasp only when the current wrist overlay uniquely shows
the requested object held between the selected fingers. A controller
grasp_confirmedfield supports but does not replace that evidence. If that evidence is missing, do not stow and do not enter placement. - After a confirmed grasp, stow before exiting. Classify the held object from
current visual evidence as small or large. This classification is about
whether folding the holding arm to the fixed grasp-prep pose would sweep
the object into the chassis, floor, or furniture.
- Small: a compact handheld object (can, bottle, cup, fruit, remote, small
toy). Call
set_arm_to_grasp_positionfor the holding arm withgripper="keep". Never passgripper="open"here or the object will drop. Then callreset_bodywithkeep_ori_arm="none"(or omit that argument) so the trunk stands up while the just-tucked arm stays put. - Large: a bulky or elongated object (board, box, tray, bag, appliance,
large toy). Do not call
set_arm_to_grasp_position. Callreset_bodywithkeep_ori_armset to the holding arm so the grasp orientation is preserved while the trunk stands up.reset_bodyis a trunk/posture tool, not an episode reset. A parent prompt such as "Do not reset" forbids resetting the episode or calling an episode-reset API; it does not forbid this stow. Do not replace this stow withadjust_*_eef_pose_in_head_frame,adjust_height, or any other lift. Do not exit this Skill until thisreset_bodyhas been called.
- Small: a compact handheld object (can, bottle, cup, fruit, remote, small
toy). Call
- Only after that stow returns, call
deactivate_skillwithname="pick-up-object"and return control to the parent task. Follow the parent's placement instructions, activating a placement Skill only if needed. That is Skill exit, not session end. Do not start chassis travel, look-around pitching, or placement approach until this stow is done.
Recovery
- If grasp planning reports no IK before set-arm preparation occurred, do not repeat it. Perform the required set-arm preparation, reacquire a fresh target point, and plan again with new evidence.
- If
plan_grasp_point_filter_rgbd_litereturns that the point is too far to plan, close range first:adjust_pitch,adjust_chassis, or a newmove_to_reach_pointon a fresh faced head image. Then recapture, reidentify, and plan again. A manualadjust_pitchwith a negative degree can reach a lower torso pitch thanmove_to_reach_point; that extra lean is often useful for a floor object. Do not replace that approach withadjust_*_eeforclose_gripper. - If the selected arm's measured shoulder distance already supports a grasp
but
plan_grasp_point_filter_rgbd_litefails (no IK-reachable pose, overlap filters, or too-small grasp volume), treat the click as inaccurate first. Do not switch arms, back the chassis, or change pitch just because planning failed. Re-inspect the current head image, pick a visibly different point on the object's graspable body (not the floor, not a neighbor, not a guessed continuation), and callplan_grasp_point_filter_rgbd_liteagain with that new point. If that retry still reports no IK, preferplan_arm="any": prepare both empty arms withset_arm_to_grasp_positionarm="both"if needed, then plan withplan_arm="any". On a hollow box, the new point must be a different rim or wall edge, not the interior. Never repeat identicalimage_id/u/v/plan_armarguments. - Only after a corrected click is visibly on the intended body and planning
still fails, change reach positioning, arm selection, or sampling seed.
If an arm already executed to the object, call
set_arm_to_grasp_positionfor that unsuccessful arm withgripper="open"before any new plan or any other arm'sexec_plan_pose. Do not leave both arms grasping nearby points. - After a detour, do not treat an observer-side change as progress. Fresh
measure_shoulder_distancemust show a material decrease, and the remaining approach corridor must be clear, before planning a grasp. - After
exec_plan_pose, ignoreok,error, timeout, and stall strings. Read the returned wrist image. Red on the requested object between the fingers:close_grippernow; do not replay thatplan_id. Empty gap: use the empty-gap restart. The image shows the EEF still on the far side of a cabinet side rail, divider, or door from the object: halt that plan. Do not callmeasure_shoulder_distanceand do not inch the chassis to chase a shoulder number. Clear the line withadjust_*_eef_pose_in_head_frame, replan, and continue from Execute step 1. - On collision, instability, unsafe arm clearance, or an execution result that fresh evidence does not show as safe partial progress: halt that current approach or plan, reobserve, and continue this Skill with a different clear approach or a different point. Do not end the session.
- Ambiguous target identity is not Skill exit: obtain a clearer observation and reidentify the requested object.
- An occupied intended gripper is handled in Observe: do not start a new pick on that gripper; continue as specified there.
- A
close_grippertimeout,grasp_confirmed=false, or latched-close message is not by itself a miss. If the returned wrist overlay still shows red on the requested object between the fingers, keep closing in place. If several in-place closes leave the fingers unchanged, relieve a likely floor or table jam withadjust_*_eef_pose_in_wrist_frameandforward=-0.02, then close again. - An empty finger gap after
exec_plan_poseorclose_gripperis the miss that requires restart:set_arm_to_grasp_positionwithgripper="open", then a new plan and a newexec_plan_pose. Do not claim a grasp, do not stow, and do not enter placement from an empty gap.