Robot-Use LLM Agents

Simplified Hardware

Two one-camera setups for a dual-arm LLM robot, each tested with depth on and off: wrist cameras plus skills, or active perception alone.

Hardware simplification

Both options place just one depth camera overhead, and both are also tested with the depth “turned off and used as an ordinary RGB camera.” Option B keeps two wrist RGB cameras and hands the last few millimeters to the skill library; Option C removes the wrist cameras too, and instead moves the arms and the objects in hand for the camera to see.

  • RGB camera
  • Depth camera (red cross = depth off)
  • Servo (doubling as a sensor)
  • Capture / driver / kinematics
  • New software / manipulation skill
  • Active-perception skill
  • Reused from Inspect Robots
  • LLM
  • Limitation / risk

Overview: Four Test Conditions

B-D: Option B, depth on Overhead RGB-D + 2× wrist RGB Table Overhead RGB-D Two wrist RGB cameras Cameras ≈ $400 Overhead depth gives object xyz Wrist RGB closes the skills’ 30 Hz loop B-R: Option B, depth off Same hardware, depth stream off Table Overhead (depth off) Two wrist RGB cameras Test condition, no extra cost Object positions from table calibration instead Stack heights need measure() C-D: Option C, depth on Only 1 overhead RGB-D Table Overhead RGB-D No wrist cameras Cameras ≈ $375 Occluded → step aside (peek) After grasping → rotate under camera to scan C-R: Option C, depth off A single RGB camera for the whole scene Table Overhead (depth off) No wrist cameras Test condition, no extra cost Depth comes only from: table calibration + silhouette reconstruction from rotation scans
“Depth off” needs no extra equipment: the same D435 with only its color stream enabled is just an ordinary RGB camera. So the four conditions need only two hardware setups.
B-D B-R C-D C-R
Cameras Overhead RGB-D + 2× wrist RGB Same as left, depth off Overhead RGB-D only Same as left, depth off
Where objects are Overhead point cloud Table calibration (+ measure) Overhead point cloud Table calibration
Objects in hand Seen by wrist cameras Seen by wrist cameras Scan: point cloud fusion Scan: silhouette carving
When occluded Switch to a wrist view Switch to a wrist view peek peek
Last few millimeters Wrist RGB visual servoing + current Same as left Geometric alignment + close-up check + current Same as left, check uses RGB only
Camera cost ≈ $400 Same setup ≈ $375 Same setup
Millimeter-level tasks Most robust Close to B-D Needs testing Highest risk

Option B: Overhead RGB-D + Two Wrist RGB Cameras + Skill Library

The overhead depth only answers “where is the object”; grasping and mating are done by skills that close a 30 Hz loop on the wrist RGB cameras, so turning off the overhead depth mainly affects judgments that need z, such as stack heights.

① Sensors ② Capture ③ Perception (local GPU) ④ Annotation layer for the LLM ⑤ LLM ⑥ Tools ⑦ Execution Overhead RGB-D (D435) Depth switch: on = B-D off = B-R (plain RGB) → RGB + depth @30 Capture + align Depth aligned to color Depth off: RGB only → RGB (+ depth, m) Table scene Depth on: table-frame cloud → object xyz Depth off: table calibration → object xy Both modes: detection + segmentation → object table Left wrist RGB camera Gripper fingertips in view (known distance = ruler) → 640×480 @30 Capture + undistort One-time intrinsic calibration → RGB frames Target tracking (for skills) SAM 2 tracks the target mask Offset of target from image center On demand: 2 cm shift parallax ranging → mask + offset (px) Right wrist RGB camera Same as left wrist → 640×480 @30 Capture + undistort Same as left wrist → RGB frames Target tracking (for skills) Same as left wrist → mask + offset (px) Joint encoders Built into servos, 12-bit → 6 joints × 2 arms Forward kinematics (FK) URDF + joint angles → gripper 3D pose FK projected into the images Fingertips drawn into all 3 images Landing point drawn in overhead view → pixel coords + height Servo current / load Same servo registers → Present_Current Threshold + filter Current + pos. error + duration → contact / holding flags Tactile signal Contact / holding / stuck → contact / holding Annotated images + summary Overlays: · Object IDs #1 #2 … (set-of-mark) · Fingertip dots + landing cross Text summary (attached every turn): #3 pen cap x=0.214 y=-0.051    z=0.012 src=depth ±3mm    (B-R: src=table) left: contact=0 holding=1 Each number carries source + error The LLM does not do the last few mm: that is the skills’ job LLM Surveys, assigns arms Coarse moves, picks skills Sets parameters, verifies 1 tool call per turn Call move_to Coarse moves, same as RoboCurve run_skill(skill, params) Skill library, local 30 Hz loop Reads: wrist masks + current → report: ok / reason / data measure(target) Used in B-R for stack heights done / give_up Unchanged Same output chain as RoboCurve Validate → linear interpolation → guardrail → inverse kinematics → servo bus Guardrail reads one more input: contact=1 stops the current segment at once What changes in B-R (depth off) · Object xyz → table xy only   (assumes the object rests on the table) · Stack heights, e.g. bowl on bowl:   LLM calls measure() for wrist parallax · Skills only use wrist RGB anyway,   so they are unaffected Expected: small gap on cm-level tasks, largest gap on stacking tasks Overhead depth only affects the “where is the object” layer; the last few millimeters are done by skills using wrist RGB + current, identical in both modes.
In B-R, an object’s height defaults to “resting on the table”; for cases like a bowl stacked on a bowl, the LLM calls measure(), which shifts the wrist camera about 2 cm and takes two images for triangulation.
LLM turns Slow: 3–15 s each Local skill loop Fast: 30 Hz Sensors used P1 Survey, assign arms Overhead: #2 pen, #3 cap Left arm: pen; right: cap Overhead RGB(-D) P2 Coarse positioning move_to 8 cm above the pen 1–2 turns Overhead + FK P3 Dispatch skill run_skill(grasp,  arm=left, target="pen") Skill: grasp Track the pen’s segmentation mask Center + rotate gripper to pen axis Descend until current spikes Close → check the grip holds → report: ok, mask offset 3 px Dispatch Report Left wrist RGB + current P4 Same for the cap run_skill(grasp,  arm=right, …) Skill: grasp Same, right arm → report: ok Dispatch Report R wrist RGB + current P5 Move to handoff pose Both arms above the table Cap mouth to pen tip, 4 cm gap FK P6 Dispatch insertion skill run_skill(cap_on,  moving=right,  target="pen tip") Skill: align_and_insert ① Track pen tip + cap mouth (right wrist) ② Visual servoing to offset < 3 px ③ Advance slowly along the axis ④ Current rises = contact ⑤ Stuck → spiral search ±2 mm ⑥ Advance ≥ cap depth → stop → report: ok, advanced 18 mm, 6 s Dispatch Report Right wrist RGB + both arms’ current P7 Verify Overhead + wrist images Cap confirmed on → done Overhead + 2 wrists The LLM acts at only 7 points, ≈ 7–10 calls (estimate). In the baseline, final alignment relies entirely on repeated move_to nudges (capped at 40 calls per trial); across all Tier 1 runs, “cap the pen” averages ≈ 43%. Skill library: the LLM picks the skill and parameters, the skill closes its own loop; each skill declares its sensors, stop condition, safety limits and report format Skill What it does Default algorithm (swappable) Stop condition center_over(target) Bring target to image center in wrist view Visual servoing (IBVS) Offset < 3 px align_axis(target) Rotate gripper to the object’s main axis Principal axis of the mask Angle error < 3° approach_until_contact Move slowly along a direction Current threshold Current spike / travel limit grasp(target) The three above + close Composite skill Holding = steady current align_and_insert Peg-in-hole mating (pen cap, plug) IBVS + spiral search Insertion depth / jammed place_on(target) Place onto an object Table calibration + contact Release after contact peek() Move out of view, snap a frame, return Option C occlusion handling Back at pose within tolerance LLM writes new skills (when the library falls short) 1. The LLM writes a Python skill from a template: inputs / loop / stop condition / report 2. Run it first in simulation or “dry-run” mode (motors idle, trajectory only) 3. Static check: whitelisted functions only, hard limits on speed and travel 4. After human approval it joins the library; next time just run_skill Difference from Cap-X: Cap-X writes and runs throwaway code every turn; here a skill is written once, verified once and reused many times, and is easier to audit. The LLM also supplies parameters, e.g. align_and_insert(max_force=0.4, spiral_radius_mm=2, speed=0.2). A failing skill reports why (lost track / timeout / jammed), and the LLM retries with new parameters or another skill.
Option B capping the pen: the LLM acts at only 7 points, and grasping and mating are both done by skills.

Option C: Only One Overhead RGB-D; the Camera Stays Still, the Arms and Objects Move

Without wrist cameras, two things are missing: the regions occluded by the arms, and detail on the objects in hand. The first is handled by peek, which steps aside to look; the second by scan_in_hand, which lifts the object under the camera and rotates it a full turn. Both are triggered automatically by the local program when needed and use no LLM calls.

① Sensors ② Capture + kinematics ③ Scene = image − arm ④ Active-perception triggers ⑤ LLM ⑥ Tools ⑦ Execution Overhead RGB-D (D435) The only camera in the scene Depth on = C-D Depth off = C-R → RGB + depth @30 Joint encoders Built into servos → joint angles Servo current Used as touch sensing → Present_Current Capture + align Depth on: table-frame point cloud Depth off: RGB only One-time extrinsic calibration → RGB (+ point cloud) FK + joint-angle rendering URDF projected into camera view → arm / gripper mask Threshold + filter Current + pos. error + duration → contact / holding Scene = image − arm All arm pixels / points removed Depth on: cloud segmentation → xyz Depth off: table calibration → xy Detect + segment the objects Object memory: · How and where each object looked   when last fully visible · 3D models from scanning   (in-hand objects, gripper frame) Visible fraction = seen now   / expected from memory → object table + visible fraction Triggers (local, no LLM wait) Target occluded (visible < 60%)   → peek() Just grasped, shape / pose unknown   → scan_in_hand() Next step needs mm-level alignment   → to_precision_zone() The LLM can also call them itself Summary + annotated images Object table (table frame, mm) Tag: “#3 70% blocked by right arm” In hand: “pen tip at left gripper   +z direction, 62 mm” Each number carries source + error No active sensing needed LLM Reads object table + 1 image Picks skills + parameters Can also ask for: peek(#3) scan_in_hand(left) Active-perception skills peek / scan_in_hand / to_precision_zone Manipulation skills grasp / align_and_insert … No wrist cameras: overhead close-up + in-hand object model + current move_to / done Unchanged Auto-triggered, runs directly (bypasses the LLM) Same output chain as RoboCurve Validate → interpolate → guardrail → inverse kinematics → servos Guardrail: contact=1 stops at once New views from active perception → update object memory What was removed ✕ 2 wrist cameras and cabling In C-R, only 1 RGB camera left: depth from table calibration + scan silhouette reconstruction Core idea: the camera stays still; the objects and arms move. The robot knows the angle of each of its joints, so the arm’s position and the in-hand object’s viewpoint in every image are known.
The three triggers in column ④ are the core of this option. to_precision_zone moves fine manipulation to about 0.4 m below the camera: depth error grows with the square of distance, so at half the distance the error is about a quarter of that at the table.

Option C: Two Active-Perception Skills

Skill 1 · peek(): when an arm blocks the target, step aside, capture, then return ① Safety check Holding something? In contact? Object propped up by the arm? → Yes: don’t move; wait instead ② Record joint angles q0 Encoder readings, for return ③ Compute retreat direction Perpendicular to the “camera → target” sight line, plus upward; move 5–10 cm, check collisions ④ Move away slowly Speed capped at 25% ⑤ Grab 1 frame ≈ 0.1 s Occluded region added to memory ⑥ Return to q0 Encoder error < threshold ⑦ Scene undisturbed? Compare the image outside the arm Big change → tell the LLM ≈ 2–4 s in total Skill 2 · scan_in_hand(): after grasping an object, rotate it under the camera to get its 3D model ① Grip check Steady current = gripped Object won’t drop while rotating ② Move to scan pose ≈ 0.4 m directly below the camera Image center, table as background (half the distance → depth error  ≈ 1/4 of that at the table) ③ Rotate the wrist wrist_roll 8 steps × 45° wrist_flex also tilts up / down 30° ≈ 16 views in total ④ 1 frame per view Subtract gripper and arm (URDF) FK gives the object’s exact pose relative to the camera, per frame ⑤ Fuse into 3D Depth on: known-pose cloud fusion Depth off: silhouette carving   (visual hull) + color ⑥ Object → calibrated tool Size, main axis, key points (pen tip / cap mouth) located in the gripper frame ⑦ Back to task pose Update object memory ≈ 8–15 s (estimate) Scan sketch: the camera stays still and the gripper rotates the pen cap; each step shows a different silhouette, and together they give the 3D shape Overhead camera ≈ 0.4 m wrist_roll turns 45° per step 0° 45° 90° 135° 180° 225° 270° 315° Subtracting the gripper leaves only the object’s silhouette in each image; FK gives the exact viewpoint, so even with depth off, multi-view silhouettes can “carve” out the shape (including which way the cap’s opening faces). With depth on, each frame adds a slice of point cloud, and fusion is more accurate. After the scan, pen tip or cap mouth position = FK(joint angles) × its offset in the gripper; the camera no longer has to find it. Limitations Thin, transparent or reflective objects give unreliable silhouettes and depth; an object slipping in the gripper while rotating misaligns the model (comparing silhouettes before and after the scan can detect this). The SO-101’s wrist_roll range is ≈ −2.74 … 2.84 rad, enough for a full turn; for YAM, set the steps by its actual joint limits.
Both skills rely on the same fact: the robot always knows the angle of each of its joints. So how far to move aside, where to return to, and which way the in-hand object currently faces the camera never have to be guessed.

Option C: Capping the Pen

LLM turns Local skills Manipulation + active sensing Sensors used P1 Survey, assign arms Overhead: #2 pen, #3 cap Overhead camera P2 Grasp the pen run_skill(grasp, left) Skill: grasp (no wrist) Locate in overhead + descend Current spike = touch Close → holding Dispatch Report Overhead + current P3 Scan the pen Auto-triggered, no LLM call Active: scan_in_hand(left) One turn under the camera → pen tip position and axis   in the left gripper frame Dispatch Report Overhead + FK P4 Grasp + scan the cap Same as P2 + P3, right arm Active: grasp + scan → cap mouth position, opening   direction, cap depth Dispatch Report Overhead + FK + current P5 To the precision zone run_skill(  to_precision_zone) Active: to_precision_zone Arms to ≈ 0.4 m below the camera Computed from both tool models: Cap mouth to pen tip, 3 cm gap Dispatch Report FK + tool models P6 Insertion run_skill(align_and_insert,  mode=geometry) Skill: align_and_insert ① Geometric alignment (FK × tool model) ② Check offset in overhead close-up → adjust ③ Advance along axis; current = contact ④ Stuck → spiral search ±2 mm ⑤ Occluded? Both hands full, no peek:    rotate both arms 30° about the axis Dispatch Report Overhead close-up, FK, 2-arm current P7 Verify One turn under the camera Cap fully on → done Active: scan_in_hand Scan skill reused to verify Dispatch Report Overhead + FK Key difference: Option B relies on the wrist cameras to “align by sight” over the last few millimeters; Option C first scans both objects into calibrated tools, then “aligns by geometry” close to the camera, which only checks the result. C-R (depth off): scanning uses silhouette carving, precision-zone checks use RGB close-ups only (≈ 0.3 mm/pixel, estimated for 1920×1080 at 0.4 m), and error along the push direction is left to contact sensing. ≈ 7 LLM calls (estimate); active perception is triggered automatically by the local program and uses no LLM calls.
During mating both hands are holding something, so peek’s safety rules forbid moving aside; when occluded, the two arms instead keep their relative pose and rotate together 30° about the pen’s axis, giving the camera a different angle.

Next Step: Experiment Matrix

Four conditions × three tasks, 20 trials per cell, 240 in total. Besides the score, each trial records the number of LLM calls, the time taken, how often peek / scan triggered, and the reasons for skill failures.

Task (RoboDojo-RC Tier 1) B-D B-R C-D C-R What it mainly tests
Stack Bowls 20 20 20 20 Stack height: the task where depth on/off differs most
Cap Pen 20 20 20 20 Millimeter-level mating: B’s visual servoing vs C’s scan + geometry
Sort Objects 20 20 20 20 Heavy occlusion: peek trigger count and success rate
  1. First do three basic things on the SO-101: camera extrinsic calibration, rendering the arm mask from joint angles, and reading servo current to set the contact threshold. Both options need them.
  2. For Option B, first write the two skills grasp and align_and_insert, and run pen capping and bowl stacking under B-D / B-R.
  3. For Option C, first test scan_in_hand on its own: scan 10 kinds of objects and measure the position error of their key points (once with depth on, once with depth off); move on to mating only if the error is small enough.
  4. Record the scene change before and after every peek, to confirm that “stepping aside” does not disturb the table.

Note: both options change how the LLM works, so their results cannot be compared directly with the RoboCurve leaderboard; the four conditions can be compared with each other.

Notes

Errors and timings are order-of-magnitude estimates: the D435’s rated error is <2% at 2 m, extrapolated by distance squared; pixel size at 0.4 m is estimated for 1920×1080 and a ≈ 69° field of view. 2026-10-14.

Start a Project