Perception
We ground references to objects (“the red chair”, “la plante”) in what the robot sees and then compute where the object is in the map. Architecture maps each stage to our code.
Pipeline
Proposals. An open-vocabulary model proposes regions for the object names that the language model extracted from the instruction.
Mask quality. Segmentation masks with
|M| / |hull(M)| < mask_quality_thresholdare discarded.Degradation weight. Each region gets a weight Θ = exp(−β‖Ω‖), where Ω measures darkness, blur and truncation at the image border.
Verification (optional). A dual encoder (CLIP, SigLIP 2) scores each masked crop against the query and the vocabulary. Low-confidence regions can be rejected with an energy threshold.
Target selection. Regions are ranked by detector score × Θ × verifier probability × label similarity, and the highest score is selected.
Depth. Depth is the median of the valid values near the mask centroid, taken from the depth camera or, without one, a monocular metric depth model.
3-D position. The pixel is back-projected with the camera intrinsics, then transformed with the camera extrinsics into the base frame and with the robot pose into the map frame.
Scene memory. A Kalman filter per object fuses repeated observations, so the robot can answer retrospective queries e.g., “where was the cup?” after the cup has left the view.
If the object is not in view, the robot turns in place in steps (search.step_deg) and looks again. Failing that, it uses the scene memory and returns how old that observation is.
Detectors
|
Model (default checkpoint) |
Output |
Notes |
|---|---|---|---|
|
SAM 3 ( |
masks + boxes |
default; text-prompted concept segmentation; gated on Hugging Face |
|
Grounding DINO ( |
boxes |
strong open-vocabulary detector |
|
OWLv2 ( |
boxes |
lighter; good recall |
|
YOLO-World ( |
boxes |
real time; |
|
ground truth from |
positions |
simulator, no camera |
Any compatible checkpoint can be set with perception.model.
Verifier
The verifier classifies each masked region with a dual encoder.
perception:
verifier:
model: google/siglip2-base-patch16-224 # or openai/clip-vit-base-patch32
temperature: null # null = the model's learned logit scale
energy_threshold: null # calibrate per model before enabling
Cameras and depth
|
Images |
Depth |
|---|---|---|
|
ROS topics via rosbridge |
aligned depth topic (16UC1 mm or 32FC1 m) |
|
Intel RealSense over USB |
aligned hardware depth |
|
OpenCV webcam |
monocular model ( |
|
— |
— |
Intrinsics come from camera_info or RealSense, from camera.intrinsics, or as a last resort from camera.hfov_deg. The extrinsics (camera.extrinsics) are the camera body pose in the robot base frame. Measure them on the robot: every object position depends on them.
Tuning
Symptom |
Try |
|---|---|
Objects missed |
lower |
Wrong object chosen |
enable the verifier; add distractors to |
Positions off by a constant |
check |
Positions noisy |
use a depth camera; increase |
Robot stops too close or far |
|