Robotwin

From nssmd/RoboRSI · View interactive version

Robotwin is an AI agent skill from the GitHub repository nssmd/RoboRSI. Active-perception two-step localization. Hover a wrist camera above the coarse head-camera pixel, capture a close-up wrist frame, run VLM grounding on the zoomed view, and unproject to a PRECISE world xyz. Use when 320x240 head-camera resolution is too coarse (small objects, rims, objects inside bow

How to use this skill

Skill file

find_object_via_wrist · robotwin

Active-perception two-step localization to overcome 320x240 head-camera

pixel quantization (~3mm/pixel at table). Implementation in policy.py's

dispatch_runtime. Auto-discovered by _dispatch in rollout_runtime.py.

Workflow inside the tool:

1. snapshot head, find_pixel(object) on head → coarse (u_h,v_h)

2. unproject(head, u_h, v_h) → coarse_xyz

3. move_to_pose(arm, coarse_xyz.x, coarse_xyz.y, coarse_xyz.z + hover_height,

quat=top-down) — fingertip hovers 30cm above

4. scan_wrist(arm) → wrist image at higher effective resolution

5. find_pixel(object) on wrist image → precise (u_w,v_w)

6. unproject(wrist_camera, u_w, v_w) → precise xyz

7. return precise xyz

Failure modes handled: hover IK failure (returns ok=False with reason);

wrist depth invalid (returns ok=False); VLM doesn't see object in wrist view

(returns ok=False with raw VLM response).

Use this skill with your AI agent: Open on Skill Issue to copy, download, or add to your library. Works with Claude, ChatGPT, Gemini, Cursor, Windsurf and more.