verifying-a-domino-cascade-from-video
Decides from a short RGB(-D) clip of the overhead or a wrist camera which tiles of a planned domino line fell and when, how fast the wave ran and where it stopped. Per planned slot it measures a fall angle each frame (depth - a rotated-box height profile fitted along the tile's fall corridor; RGB only - how much of the gap in front of the tile its body covers; optionally a tracked point (track) or tracked mask (sam3) fitted to the rotated box's image), drops frames where a hand or the arm hides the tile, confirms a fall after 3 frames past the fallen threshold and dates it back to when the tile left the upright band (predicators' cascade certificate), then routes all_fell, stopped_at (with the first standing tile), not_triggered, fell_before_trigger, irregular or unverifiable. No motion. Use after triggering a domino line or curve to check the chain, before re-triggering from where it stopped or rebuilding.
first_slot Se3Pose, pitch float, n_tiles intn_tiles int, n_fell int, stop_index int, last_fallen_index int, stop_point Vec3, wave_speed float, wave_rate float, first_onset_time float, last_onset_time float, signal strrobot.get_observationExits
What the skill reports when it ends; a policy branches on these.
all_fell Every tile fell, one after another from slot 0 (onsets never run backwards by more than a frame plus their uncertainty) and none before the trigger; `wave_speed` (m/s along the path) and `wave_rate` (tiles/s) are robust fits over the onsets, `intervals` the successive propagation intervals.stopped_at Tiles 0 to k-1 fell and tile k was seen standing after the wave reached it, with every tile after it standing or unseen; `stop_index` is k, `stop_point` its centre (where to re-trigger or fix the gap).not_triggered No tile fell and the first tile was seen standing.fell_before_trigger A tile started falling before `trigger_frame` / `trigger_time` (the frame the push began) - the line was knocked, not triggered.irregular The falls are not one wave from slot 0 - a tile fell while the first stood, a tile fell beyond a standing one, or a later tile started falling clearly before an earlier one.unverifiable No clip, no slots, a tile already down in its first frames, too few usable frames to tell whether the first tile or the tile where the wave stopped fell (a hand over it, out of view), or 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 "decides from a short rgb(-d) clip of the overhead or a…" --why
uv run --no-sync roboskillhub view --bundles verifying-a-domino-cascade-from-video --out my_registrySee Get started for searching by task and robot, locking what a policy uses, and fetching it on the robot.