Logo : Computing Stable Placements

Computing Stable Placements

Organisation
runtime-si
computing-stable-placements

Enumerates the stable resting faces of a rigid object - from its oriented bounding box or a perceived point cloud closed down to the table - by convex hull and centre-of-mass projection, and reports for each rest the tipping angle, the centre-of-mass height, the turn from the object's current orientation that puts that face down, its footprint, and (given a goal point) the resting pose; also says which rest the object is on now, or that it is on none (leaning, tilted, held). Routes placements or no_stable_pose. Use when a graph must choose how to set a part down (a brick, a domino on its end or flat, a jigsaw piece), decide whether a part lying on the table needs a regrasp or flip, or reject a placement too easy to tip; geometry only, no motion.

Présentation

Éditeurruntime-si
DépôtRoboSkillHub
Nom de la compétencecomputing-stable-placements
Étoiles
242
Forks
27
Fichiers inclus
2
LicenceBSD-2-Clause
Liens
  • Instructions en Markdown

    Un fichier SKILL.md que le modèle charge à la demande : il ne consomme donc des tokens que lorsqu’une demande correspond réellement à la compétence.

  • Compatible avec tous les LLM

    Les compétences IA sont rédigées en Markdown et non sous forme de code propre à un fournisseur. Elles fonctionnent donc avec GPT, Claude, Gemini, Grok ou un modèle local.

  • Fichiers inclus : 2

    Des scripts, des gabarits et des références que le modèle peut consulter pendant son travail. Les fichiers sont en lecture seule et ne sont jamais exécutés.

  • Open source

    Publiée par runtime-si sur GitHub. Consultez les sources avant de l’installer.

Installation

Installez la compétence IA Computing Stable Placements dans TypingMind pour l’utiliser avec n’importe quel LLM, ou ajoutez-la à un autre agent capable de lire SKILL.md.

1

Installer dans TypingMind

TypingMind installe une compétence directement depuis son dossier GitHub : l’application lit SKILL.md, regroupe les fichiers de ressources et enregistre le tout localement.

  1. Ouvrez l’application et accédez à Plugins → Compétences.
  2. Choisissez « Installer depuis GitHub ».
  3. Copiez l’URL ci-dessous, qui pointe vers le dossier de la compétence, puis collez-la et confirmez.
    https://github.com/runtime-si/RoboSkillHub/tree/main/skills/computing-stable-placements
  4. Activez la compétence dans chaque discussion où vous souhaitez pouvoir l’utiliser.
Plugins → Compétences → Ajouter une compétence → Via une URL GitHub, puis collez l’URL du dossier et appuyez sur Continuer.
2

Installer dans un autre agent

Tout agent capable de lire le format Agent Skills peut utiliser cette compétence : copiez le dossier dans le répertoire des compétences de cet agent.

Claude Code — .claude/skills
git clone --depth 1 https://github.com/runtime-si/RoboSkillHub.git /tmp/RoboSkillHub
mkdir -p .claude/skills
cp -r /tmp/RoboSkillHub/skills/computing-stable-placements .claude/skills/computing-stable-placements
Redémarrez Claude Code après la copie pour que la nouvelle compétence soit prise en compte.

Utilisez cette compétence dans TypingMind

Activez Computing Stable Placements dans n’importe quelle discussion TypingMind et le modèle s’occupe du reste. Le nom et la description de la compétence figurent dans le prompt système. Dès qu’une demande correspond, le modèle charge lui-même l’intégralité des instructions : vous n’avez jamais à l’invoquer manuellement, et elle ne consomme aucun token tant qu’elle n’est pas utilisée.

Le modèle charge automatiquement Computing Stable Placements dès qu’une demande correspond à cette compétence.

Compatible avec tous les modèles IA

Les compétences IA sont de simples instructions Markdown, et non du code propre à un fournisseur. Ainsi, la compétence Computing Stable Placements n’est pas liée au modèle pour lequel elle a été conçue. Installez-la une seule fois dans TypingMind et utilisez-la avec GPT-5, Claude, Gemini, Grok, DeepSeek, Mistral, Llama ou un modèle local que vous exécutez vous-même, le tout avec vos propres clés API.

  • Chargée uniquement en cas de besoin

    Le prompt système ne contient que le nom et la description. Les instructions sont récupérées à la première demande correspondante : une compétence inutilisée ne coûte donc rien.

  • Changez de modèle en cours de discussion

    La compétence étant constituée d’instructions et non de code, elle reste fonctionnelle lorsque vous changez de modèle : le nouveau modèle lit le même fichier SKILL.md.

Instructions de la compétence

Voici le contenu de SKILL.md que le modèle charge. Lisez-le avant l’installation : une compétence contient des instructions que votre modèle suivra.

computing-stable-placements

Which faces can this part rest on, how firmly, and how far must it turn to get there?

text
perceive (OBB or cloud) -> rests (this skill) -> choose a rest -> place / flip / regrasp

What it computes

TSR's stable_poses_mesh, unchanged in substance: the convex hull of the object, its facets grouped into faces by coplanarity (a 4D grid over normal and offset, matched against each group's first plane), and for each face the centre of mass projected onto it. A face is a rest when the projection lies inside the face's support polygon (the 2D hull of its contact points) by more than the length tolerance; the tipping angle is atan(support_margin / com_height): how far the object must be tilted about the nearest support edge before the COM passes over it. Rests are sorted most stable first (upstream place_mesh).

Each rest in rests:

fieldmeaning
label+x ... -z (the OBB's local face) or face-k for a cloud
tipping_deg, support_margin_m, com_height_mstability, as above
center_height_mheight of the reference point (OBB centre, or the COM for a cloud) over the support when resting
turn_deg, rotation_to_restthe minimal world rotation from the current orientation that puts this face down (yaw is then free)
face_normal_worldthe face's outward normal now
footprint_radius_mfarthest horizontal reach from the COM at rest (what a free yaw sweeps)
posewith goal_position: the reference point's world pose resting there (rotation = rotation_to_rest x current)

current_index is the rest whose face points within current_tol_deg (10) of straight down, or -1: the object is not resting on a stable face (tilted, leaning on something, or held).

Inputs

  • object_obb (world, half-extents): the exact path, a box with the COM at its centre unless com is given. Use it for bricks, dominoes, holders, jigsaw pieces.
  • points (world cloud) with support_z: a top-down camera sees no underside, so the cloud is closed down to the support:
    • closing: prism (default): footprint of the points in the upper half of the object's height (mixed depth pixels at the edges fall below it), simplified (3 mm Douglas-Peucker) and extruded from the support to the top (p98). Exact geometry, so upstream's tight tolerances apply.
    • closing: drop: every point plus its drop onto the support; the hull of the raw cloud, with faces merged within 0.05 rad and 2 mm.
    • closing: none / no support_z: the cloud as given (a registered mesh's vertices, a multi-view scan).
  • com: defaults to the OBB centre or the hull's volume centroid (uniform density). Pass it for top-heavy or compound parts.
  • min_margin_deg (0, upstream's default): drop rests that tip more easily. 5 degrees removes the knife-edge rests a noisy footprint produces.
  • surface_half_extents [hx, hy]: drop rests whose footprint does not fit at every yaw (upstream _fits, about the COM here).

Checks

Exact geometry (unit tests): a domino 48 x 24 x 7.5 mm and a LEGO 2x4 brick 31.8 x 15.8 x 11.4 mm give six rests each with tipping angles equal to the analytic atan(min half-side / half-height) to 0.01 deg (domino: flat 72.65, on its long edge 17.35, on its end 8.88; brick: 54.19 / 35.81 / 19.72). A COM moved 10 mm toward one end of the domino gives 15.0 and 6.3 deg on the two ends (atan(3.75/14), atan(3.75/34)). A box cloud tilted 30 deg reports six rests with turns 30.6 / 60 / 90 / 120 / 150 deg and no current rest.

Real station (overhead D405 frame top_before.npz of a gsota probe run, points inside each holder's measured footprint + 6 mm, over the table), against the holders' wrist-measured boxes:

grey holder (wrist: 76.2 x 100.4 x 24.5 mm)restsflat rest: tipping, COM heightcurrent
measured box, OBB path672.2 deg, 12.2 mmflat
OBB fitted to the cloud (minAreaRect of the upper points, p98 top: 73.0 x 97.0 x 23.7 mm)672.0 deg, 11.8 mm; sides 18.0 / 13.7 deg vs 17.8 / 13.7flat
cloud, prism (7-gon 73.0 x 99.5 x 23.7 mm)768.8 deg, 11.8 mmflat
cloud, drop (raw hull)376.1 deg, 9.3 mmflat
  • For box-like parts fit an OBB first. The fitted OBB matched every rest of the measured box within 0.2 deg and 1.7 mm. The prism keeps the flat rest and the current one right, but its footprint polygon has cut corners (the holder's footprint fills 78 % of its rectangle), so one short side splits into two bent segments: rests at 4.0 deg and the side angles off by up to 3 deg. The raw drop hull is a rounded frustum (mixed pixels widen its base to 88 x 112 mm): 3 rests of 6, COM 3 mm low.
  • Uniform density is an assumption. The black holder with 12 markers standing in it (cloud top 126 mm) becomes a solid 68 x 91 x 124 mm prism whose most stable rest is on its side (34 deg vs 25.6 deg upright); the real object's mass is in the holder. Pass com for such parts.
  • No arm motion, so no simulation check; nothing was placed to confirm a rest physically.

Relation to other skills

  • standing-a-lying-domino-by-reorient-and-regrasp, tipping-over-a-surface-edge: the motions that change the rest; this skill says which rest to aim for and whether the part is on one now.
  • placing-with-contact-descent / placing-into-container-obb: use best_pose / center_height_m for the release height.

Changes from TSR

Adapted from src/tsr/placement/_stable_poses.py and the place_mesh / _fits logic of stable_placer.py (BSD-2-Clause, licence in LICENSE.tsr):

  • Input is a world OBB or a perceived cloud instead of a mesh in its own frame; the cloud closings (prism, drop) and the cloud tolerances are new.
  • COM defaults to the hull's volume centroid.
  • Output is per-rest world numbers (turn, normal now, pose at a goal) instead of TSR templates with sampling bounds; the current rest is identified.
  • The surface fit is measured about the COM, from given half-extents.
  • The analytic primitives (cylinder, sphere, torus, compound shapes) are not ported; a cylinder lying on its side is not a rest in upstream either.

Fichiers inclus

Le modèle lit ces fichiers à la demande lorsque la compétence est chargée. Ils sont accessibles en lecture et ne sont jamais exécutés.

Foire aux questions

À quoi sert la compétence IA Computing Stable Placements ?

Enumerates the stable resting faces of a rigid object - from its oriented bounding box or a perceived point cloud closed down to the table - by convex hull and centre-of-mass projection, and reports for each rest the tipping angle, the centre-of-mass height, the turn from the object's current orientation that puts that face down, its footprint, and (given a goal point) the resting pose; also says which rest the object is on now, or that it is on none (leaning, tilted, held). Routes placements or no_stable_pose. Use when a graph must choose how to set a part down (a brick, a domino on its en...

Pourquoi utiliser Computing Stable Placements sur TypingMind ?

Parce que vous l’installez une seule fois pour l’utiliser avec n’importe quel modèle. Computing Stable Placements se compose de simples instructions en Markdown plutôt que de code propre à un fournisseur. La même compétence fonctionne donc avec GPT-5, Claude, Gemini, Grok ou un modèle local, et vous pouvez changer de modèle en cours de discussion sans perturber son fonctionnement. TypingMind utilise vos propres clés API : vous payez donc directement les fournisseurs plutôt qu’un abonnement par siège, et vos compétences et discussions restent dans votre propre espace de stockage.

Comment installer Computing Stable Placements dans TypingMind ?

Dans TypingMind, ouvrez Plugins → Compétences → Installer depuis GitHub et collez https://github.com/runtime-si/RoboSkillHub/tree/main/skills/computing-stable-placements. TypingMind lit le fichier SKILL.md, regroupe les fichiers associés et installe le tout sous forme de compétence que vous pouvez activer pour chaque discussion.

Quels modèles d’IA peuvent utiliser Computing Stable Placements ?

N’importe quel modèle que vous connectez dans TypingMind. Les compétences IA sont de simples instructions en Markdown, et non du code propre à un fournisseur. GPT, Claude, Gemini, Grok et les modèles locaux peuvent donc tous charger cette compétence lorsqu’une demande lui correspond.

Combien de modèles d’IA puis-je utiliser avec Computing Stable Placements ?

Autant que vous le souhaitez. Vous pouvez utiliser Computing Stable Placements avec tout modèle qui prend en charge les compétences : GPT, Claude, Gemini, Grok, DeepSeek, Mistral, Llama et bien d’autres, le tout dans TypingMind avec vos propres clés API.

La compétence IA Computing Stable Placements est-elle gratuite ?

Oui. Cette compétence est publiée sur GitHub par runtime-si sous licence BSD-2-Clause. Vous ne payez que votre propre fournisseur d’IA pour les tokens utilisés.

Que sont les compétences IA ?

Une compétence IA est un ensemble d’instructions réutilisables qui apprend à un modèle d’IA à accomplir une tâche précise. Elle suit le format ouvert Agent Skills : un fichier SKILL.md contenant un nom et une description, ainsi que les éventuels scripts, gabarits ou fichiers de référence dont le modèle peut avoir besoin. Le modèle ne lit les instructions que lorsque votre demande correspond à la compétence. Une compétence installée ne coûte donc rien tant qu’elle n’est pas utilisée.

En quoi les compétences IA diffèrent-elles des plugins ou des serveurs MCP ?

Un plugin ou un serveur MCP fournit au modèle de nouveaux outils à appeler : du code qui s’exécute quelque part et renvoie un résultat. Une compétence IA lui apporte plutôt des connaissances et une méthode : comment aborder une tâche, quelles étapes suivre et à quoi ressemble un bon résultat. Les compétences sont de simples instructions en Markdown. Elles ne nécessitent donc ni serveur, ni clé API, ni environnement d’exécution, et fonctionnent avec n’importe quel modèle.

Tout voir

Créez votre propre espace de travail IA dès maintenant

Abonnez-vous à notre newsletter pour être informé des nouvelles fonctionnalités et des prochains cadeaux à gagner 👇