placing-on-receptacle-top-surface
Finds where to set a held object down on a receptacle's top surface (a box lid, a tray, a block, a shelf) - OK-Robot's place heuristic. It takes the receptacle's points (segmented by text with sam3 and lifted with the depth, or given), puts the drop point at the median of its horizontal footprint over unique 1 cm cells, reads the surface height as the 95th percentile of the receptacle points within 3 cm of that point, and returns a release pose 2 cm over it (plus how far the held object's bottom hangs under the tool). No motion. Use before placing an object onto another object's top; chain into placing-with-contact-descent to set it down.
place_pose Se3Pose, surface_z float, footprint_center Vec3, n_points introbot.get_observationExits
What the skill reports when it ends; a policy branches on these.
place_point The receptacle was found with at least 30 points and 5 of them within `band` of its footprint's median; `place_pose` is over that point at the surface height + `drop_height` + `held_bottom_offset`.receptacle_not_found No camera frame, no mask for the query, fewer than 30 points, or no surface round the footprint's median (an open ring, a box's hollow - use placing-into-container-obb for containers).invalid_input Neither a query nor points were given (also the route of a raised error).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 "finds where to set a held object down on a receptacle's…" --why
uv run --no-sync roboskillhub view --bundles placing-on-receptacle-top-surface --out my_registrySee Get started for searching by task and robot, locking what a policy uses, and fetching it on the robot.