RoboSkillHub
Catalog / Skills
skill

verifying-grasps

Three independent checks on one grasp attempt -- that the hand arrived where it was sent before the jaws close (given where the approach started, a hand stopped short on top of the object routes stopped_short with the shortfall, for correcting a held tip before an insertion; one beside it routes missed), that the jaw gap after the close is not the mechanical stop, and that the lifted object is visible above the surface and near the hand. Use when a grasp closed on a small or thin object and the graph must know, before carrying or inserting, whether anything is actually in the gripper.

Kind
Skill · verify: checks that a step did what it should
Robots
any robot
Tasks
pick-place insertion
Takes
object_description string
Gives
verified bool, observed_center Vec3
Calls
geometry, sam3
Robot tools
robot.describe_gripper, robot.describe_workspace, robot.get_ee_pose, robot.get_gripper, robot.get_observation, robot.go_to_pose_cartesian
Used by
pick-place-camera-only (recipe)
License
Apache-2.0
Source
source on GitHub · SKILL.md · upstream code · v1.0.1

Exits

What the skill reports when it ends; a policy branches on these.

verified The object was seen after the lift, above the surface and near the hand.
not_held Nothing matching was seen, or what was seen stayed on the surface or far from the hand.
reached The hand is close enough to the commanded grasp pose to have the object between the pads.
stopped_short (verify_reach, only with approach_start) The hand stopped short of the commanded pose along the approach by more than shortfall_min_m and within the object's smallest half-extent across it - on top of the object, not beside it; shortfall_vector (observed minus commanded, along the approach) says by how much, for correcting where the object sits in the hand.
missed The hand stopped further from the commanded pose than the object's own smallest half-extent allows.
held The jaws closed on something -- the gap is above the mechanical stop.
empty The jaws ran to the stop, so they closed on nothing.
unknown The hand could not be read, which is a gap in the instrument rather than a failed grasp.

Scripts

verify_grasp, verify_reach, verify_grip

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 "three independent checks on one grasp attempt" --why
uv run --no-sync roboskillhub view --bundles verifying-grasps --out my_registry

See Get started for searching by task and robot, locking what a policy uses, and fetching it on the robot.