find_pixel (LIBERO)
Overview
Ground a named object to a pixel centroid in the current head-camera frame using
the shared Grounding-DINO + SAM detector. The only input is the rendered RGB
image, exactly what a camera-only robot sees.
Prerequisites
- A fresh frame from
look()(sets the head-camera image).
Phases
- Snapshot the head-camera image.
- Detect the noun phrase; take the top mask's centroid.
- Return
(u, v)+ confidence.
Success criteria
ok=Truewith a(u, v)inside the image; pass it tounproject_pixel.
Failure modes
- Object not found: use a more concrete noun phrase, or
look()to refresh and
retry. Do not substitute hidden simulator geometry.