grasping-a-cable-lying-flat
Grasps a thin cable lying flat on a table - top-down over a point on its centreline with the jaws closing across its local tangent, the fingertips brought down until they meet the table (the arm's stall, no force sensor), optionally narrowed first and held pressed on the table while they shut, then a test lift that checks the cable came up with the hand. Use when a cable, wire or cord a few millimetres thick lies on its support (from curve.fit_centerline / curve.endpoints, or a given point and direction) and must be picked up, e.g. to route or plug it.
grasp_point Vec3, close_heading_deg float, planned_tool_z float, contact_z float, fingertips_over_table float, touched_table bool, pressed bool, pre_closed bool, jaw_width float, cable_rise float, lift_checked boolrobot.close_gripper, robot.describe_gripper, robot.describe_workspace, robot.get_ee_pose, robot.get_gripper, robot.get_observation, robot.go_to_pose, robot.go_to_pose_cartesian, robot.grasp_frame, robot.move_cartesian_until_contact, robot.move_to_joints, robot.open_gripper, robot.set_grip, robot.solve_ikExits
What the skill reports when it ends; a policy branches on these.
grasped The jaws closed short of their closed stop and, with a cable_description, the cable beside the fingers was seen to rise at least min_rise (7 mm) with the test lift (lift_checked true); without one it is judged by the jaw gap alone (lift_checked false), which on a real YAM does not tell a cable caught on the fingertips from a held one. The hand is left lifted, closed.missed The jaws closed to their stop, or the cable beside the fingers did not rise with the hand; the hand opened and stands over the cable.unreachable The cable does not lie flat at the grasp point, the depth the fingertips need is under the tool-centre floor (min_tool_height), no wrist solution reaches the grasp pose (IK preview), or a rise, the approach, the wrist turn or the descent was refused; `detail` says which.hand_geometry_unknown Neither the `hand` input nor robot.describe_gripper states the closed fingertips' reach under the tool centre (`finger.reach_m`, stated); `detail` names the missing field and nothing moved. No robot's value is assumed.Scripts
Use it
Take this bundle (and the tools it calls) into a registry for your task, then point your policy generator at it:
git clone https://github.com/runtime-si/RoboSkillHub
cd RoboSkillHub && uv sync
uv run --no-sync roboskillhub search "grasps a thin cable lying flat on a table" --why
uv run --no-sync roboskillhub view --bundles grasping-a-cable-lying-flat --out my_registrySee Get started for searching by task and robot, locking what a policy uses, and fetching it on the robot.