Robotwin

From nssmd/RoboRSI · View interactive version

Robotwin is an AI agent skill from the GitHub repository nssmd/RoboRSI. GraspGen with COLOR-BASED point-cloud segmentation. Filters head_camera point cloud to ONLY pixels matching the named color before sending to GraspGen. Solves "GraspGen returns bowl-rim grasps when target is a small colored object in a container" — the bowl rim has more graspable geometry than a 2cm

How to use this skill

Skill file

get_grasp_pose_segmented · RoboTwin

Color-segmented variant of get_grasp_pose. Pre-filters the input point

cloud by HSV color mask + optional bbox crop so GraspGen only "sees" the

target object. Backend = same GraspGen ZMQ server (port 5556). Filtering

happens client-side before the request.

How it works

  1. Capture head_camera RGB + depth.
  2. Run find_pixel(object) to get a coarse pixel center.
  3. Crop a 2*bbox_pad_px window around the center.
  4. Convert the crop to HSV; mask pixels matching the named color.
  5. Build a world-frame point cloud from ONLY the masked pixels' depths.
  6. Send the segmented cloud to GraspGen ZMQ server.
  7. Return top-K grasps (with TCP→flange offset already applied).
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.