Logotipo de Perceiving Deformable Linear Objects

Perceiving Deformable Linear Objects

Organización
runtime-si
perceiving-deformable-linear-objects

Read a cable's ordered 3D centreline from one RGB-D frame and keep it current across a task — seed it from an unobstructed survey, re-fit it cold whenever the whole rod is in view, and fall back to tracking the carried prior only when the fresh fit comes back short. Use when a manipulation loop needs the current shape of a deformable linear object (a cable, rope, or hose) once per step rather than every frame, from a fixed third-person camera.

Descripción general

Editorruntime-si
RepositorioRoboSkillHub
Nombre de la habilidadperceiving-deformable-linear-objects
Estrellas
242
Forks
27
Archivos incluidos
1
LicenciaApache-2.0
Enlaces
  • Instrucciones en Markdown

    Un archivo SKILL.md que el modelo carga cuando lo necesita, de modo que solo consume tokens cuando la petición encaja con la habilidad.

  • Funciona con cualquier LLM

    Las habilidades de IA están en Markdown, no en código específico de un proveedor, por lo que funcionan con GPT, Claude, Gemini, Grok o un modelo local.

  • Archivos incluidos: 1

    Scripts, plantillas y referencias que el modelo puede leer mientras trabaja. Los archivos son de solo lectura y nunca se ejecutan.

  • Código abierto

    Publicada por runtime-si en GitHub. Revisa el contenido original antes de instalarla.

Instalación

Instala la habilidad de IA Perceiving Deformable Linear Objects en TypingMind para usarla con cualquier LLM, o añádela a otro agente que lea SKILL.md.

1

Instalar en TypingMind

TypingMind instala una habilidad directamente desde su carpeta de GitHub: lee SKILL.md, empaqueta los archivos de recursos y guarda el resultado localmente.

  1. Abre la aplicación y ve a Plugins → Habilidades.
  2. Elige «Instalar desde GitHub».
  3. Pega la URL de la carpeta de la habilidad que se muestra a continuación y confirma.
    https://github.com/runtime-si/RoboSkillHub/tree/main/skills/perceiving-deformable-linear-objects
  4. Activa la habilidad en cada chat en el que quieras tenerla disponible.
Plugins → Habilidades → Añadir habilidad → URL de GitHub; después, pega la URL de la carpeta y pulsa Continuar.
2

Instalar en otro agente

Cualquier agente que lea el formato Agent Skills puede usar esta habilidad: copia la carpeta en el directorio de habilidades de ese agente.

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/perceiving-deformable-linear-objects .claude/skills/perceiving-deformable-linear-objects
Reinicia Claude Code después de copiarla para que detecte la nueva habilidad.

Úsala en TypingMind

Activa Perceiving Deformable Linear Objects en cualquier chat de TypingMind y el modelo se encargará del resto. Su nombre y descripción se incluyen en el prompt del sistema y, en cuanto una petición encaja con la habilidad, el modelo carga las instrucciones completas por sí solo. No tienes que invocarla manualmente y no consume tokens hasta que se utiliza.

El modelo carga Perceiving Deformable Linear Objects automáticamente en cuanto una petición es relevante para esa habilidad.

Funciona con cualquier modelo de IA

Las habilidades de IA son instrucciones en Markdown, no código específico de un proveedor, por lo que Perceiving Deformable Linear Objects no está vinculada al modelo para el que se creó. Instálala una sola vez en TypingMind y úsala con GPT-5, Claude, Gemini, Grok, DeepSeek, Mistral, Llama o un modelo local que ejecutes tú, todo con tus propias claves API.

  • Se carga solo cuando se necesita

    El prompt del sistema solo incluye el nombre y la descripción. Las instrucciones se cargan con la primera petición que encaja con la habilidad, por lo que una habilidad que no se usa no supone ningún coste.

  • Cambia de modelo durante el chat

    Como la habilidad contiene instrucciones y no código, cambiar de modelo no impide que funcione: el nuevo modelo lee el mismo archivo SKILL.md.

Instrucciones de la habilidad

Este es el contenido de SKILL.md que carga el modelo. Léelo antes de instalar la habilidad: contiene instrucciones que tu modelo seguirá.

perceiving-deformable-linear-objects

Read the cable's centreline once per step, and carry it through the loop as text.

Why this is its own skill

A rigid object is perceived once and then transformed; a cable has no pose, only a shape, and the shape changes every time a crossing moves it. The thing a routing loop needs is therefore an ordered 3D centreline — 42 nodes in arc-length order, not a bounding box and not a principal axis — and a rule for when to trust a fresh reading of it over the one it already has. That rule is the skill: a cold fit has no history and is the better estimate whenever the whole rod is in frame; a tracker is the better estimate only when it is not. Which case a frame is in is measurable (length against the prior) and the script routes on it.

Measured over eight arm poses from a bench camera pitched 55 degrees off the vertical, scored against the rod's own bodies:

estimatemedianp90max
cold fit per frame6.7 mm8.4 mm9.3 mm
tracked from the prior9.0 mm9.7 mm9.9 mm

The tracker is the worse estimate when nothing is hidden, and monotonically so across passes (7.6, 8.6, 9.2, 9.6, 9.6, 9.9 mm): each pass drags the prior along instead of carrying a hidden stretch through. It is still the right fallback, because the cold fit's own failure is sharp rather than gradual — a skeleton broken by the arm merges to one fragment, measured at 338 mm of a 488 mm rod (0.69), while honest fits ran 0.99–1.06 of the truth. The whole_rod gate (0.80) sits between those two populations.

When to use

  • A loop needs the current shape of a cable, rope, or hose once per station or per step, and the shape only changes when the robot moves it.
  • A fixed third-person RGB-D camera can be placed where it sees the whole object. Measured: an eye-in-hand camera frames a fifth of the cable at best, and an A/B over three episodes came out identical (0.667 mean) — the move it costs buys nothing. Pitch the camera off the vertical: overhead, the hand covered the rod exactly when the rod was moving (28 of 42 nodes visible, 60 mm RMS); at 55 degrees it sees 41 of 42 and fits at 6.7 mm.

When NOT to use

  • Every-frame tracking during a motion. This skill spends one detector call and one fit per read; call it between motions, not inside one.
  • Rigid, linear parts (a shaft, a handle) — fit an axis with geometry.fit_linear_feature instead.

State flow

text
prior == "" or index == 0 ──► seed from scene.rod ──► found (seeded)
           │ no seed
           ▼
prior == "" ──► cold fit every mask candidate, take the THINNEST ──► found (initialised) | lost
           │ prior present
           ▼
for camera in (chosen, track_camera, init_camera):
    cold fit ──► length ≥ whole_rod × len(prior)? ──► found (refit)
    else track prior onto the frame ──► ≥ min_visible nodes seen? ──► found (tracked)
nothing improved ──► found (held; rod == prior)
  1. Seeded. On the first pass (index == 0) — or whenever there is no prior — the survey's rod (the scene JSON's rod key, from perceiving-routing-fixtures) is returned as the model. The model must be born from an unobstructed view of the whole object, and that view exists exactly once per episode, before the first move; re-fitting after the hand has parked over the first station read 381 mm of a 500 mm rod.
  2. Initialised. With no prior and no seed, the bench camera is read, up to mask_candidates masks are fitted, and the thinnest plausible one wins. The top-scoring mask is not always the cable: on a grey bench with white arms a prompt sometimes returns the rod merged with an arm, scored confidently — measured on a 700 mm rod as 963 and 983 mm seeds on two of six episodes, both of which failed. Radius (mask area over centreline length) separates them where score cannot; max_rod_radius (12 mm) is the ceiling.
  3. Refit. The look's camera is tried first, then track_camera, then init_camera. A fresh fit whose arclength reaches whole_rod of the prior's is taken as is.
  4. Tracked. A short fit hands the frame to curve.track_centerline, which moves the prior's nodes by what the frame says about each and carries the unanswered ones on the displacement field of their visible neighbours. The update is believed only when at least min_visible nodes (6, about 70 mm of a 500 mm rod) had real correspondence — a tracker that accepted every frame would walk the model onto whatever happened to be visible.
  5. Held. Nothing improved on the prior; it is handed back unchanged.

Inputs

  • prior — the centreline the loop carries, as JSON text; empty on a cold start. The graph binds it to the latest rod written upstream (the survey's on the first pass, this skill's own afterwards).
  • scene — the survey JSON from perceiving-routing-fixtures; only its rod is read here.
  • camera — the camera the look chose for this pass (empty: the bench camera).
  • index — the pass number; 0 is the pass before the first move.
  • Bench constants as parameters with the measured defaults: init_camera and track_camera ("cable"), rod_query ("thin white cable"), rod_score (0.20), whole_rod (0.80), min_visible (6), max_rod_radius (0.012), curve_nodes (42), mask_candidates (4).

Outputs

  • rod — the centreline as JSON text: the points of a Centerline, an ordered list of [x, y, z] metres at 0.01 mm precision. It is passed as text so it round-trips through a loop unchanged (json.loads gives the list; a JSON Centerline object with a points key is also accepted on the way in). On held and lost it is the prior that was given ("null" when there was none), so a pass never binds a worse model than it had.
  • arclength_m, source (seeded | initialised | refit | tracked | held | no-camera | no-mask | no-fit), camera (which view carried this update), visible (nodes with real correspondence; the node count for a fit).

The router field is route. A node that raises binds no outputs, so the next reader of rod falls back to whatever was written before it.

Required end states

End stateMeaning
foundrod carries a centreline (see source for how it was earned).
lostNo model could be born and there was no prior to hold.

Archivos incluidos

El modelo los lee según los necesita mientras la habilidad está cargada. Son archivos de solo lectura y nunca se ejecutan.

Preguntas frecuentes

¿Qué hace la habilidad de IA Perceiving Deformable Linear Objects?

Read a cable's ordered 3D centreline from one RGB-D frame and keep it current across a task — seed it from an unobstructed survey, re-fit it cold whenever the whole rod is in view, and fall back to tracking the carried prior only when the fresh fit comes back short. Use when a manipulation loop needs the current shape of a deformable linear object (a cable, rope, or hose) once per step rather than every frame, from a fixed third-person camera.

¿Por qué usar Perceiving Deformable Linear Objects en TypingMind?

Porque la instalas una vez y la usas con cualquier modelo. Perceiving Deformable Linear Objects está escrita en Markdown, no en código específico de un proveedor, por lo que la misma habilidad funciona con GPT-5, Claude, Gemini, Grok o un modelo local, y puedes cambiar de modelo en mitad del chat sin que deje de funcionar. TypingMind utiliza tus propias claves API, de modo que pagas directamente a los proveedores en lugar de pagar una suscripción por puesto, y tus habilidades y chats permanecen en tu propio almacenamiento.

¿Cómo instalo Perceiving Deformable Linear Objects en TypingMind?

Abre Plugins → Habilidades → Instalar desde GitHub en TypingMind y pega https://github.com/runtime-si/RoboSkillHub/tree/main/skills/perceiving-deformable-linear-objects. TypingMind lee el archivo SKILL.md de esa carpeta, empaqueta los archivos de la carpeta e instala el conjunto como una habilidad que puedes activar en cada chat.

¿Qué modelos de IA pueden usar Perceiving Deformable Linear Objects?

Cualquier modelo que conectes en TypingMind. Las habilidades de IA son instrucciones en Markdown, no código específico de un proveedor, por lo que GPT, Claude, Gemini, Grok y los modelos locales pueden cargar esta habilidad cuando una solicitud se corresponda con ella.

¿Con cuántos modelos de IA puedo usar Perceiving Deformable Linear Objects?

Con tantos como quieras. Siempre que un modelo admita habilidades, puedes usar Perceiving Deformable Linear Objects con él: GPT, Claude, Gemini, Grok, DeepSeek, Mistral, Llama y muchos más, todos en TypingMind con tus propias claves API.

¿Es gratuita la habilidad de IA Perceiving Deformable Linear Objects?

Sí. runtime-si la ha publicado en GitHub bajo la licencia Apache-2.0. Solo pagas a tu proveedor de IA por los tokens que utilizas.

¿Qué son las habilidades de IA?

Una habilidad de IA es un conjunto de instrucciones reutilizables que enseña a un modelo de IA a realizar una tarea concreta. Sigue el formato abierto Agent Skills: un archivo SKILL.md con un nombre y una descripción, además de los scripts, plantillas o archivos de referencia que pueda necesitar el modelo. El modelo solo lee las instrucciones cuando tu solicitud se corresponde con la habilidad, por lo que una habilidad instalada no supone ningún coste hasta que se utiliza.

¿En qué se diferencian las habilidades de IA de los plugins o los servidores MCP?

Un plugin o un servidor MCP proporciona al modelo nuevas herramientas que puede invocar: código que se ejecuta en algún lugar y devuelve un resultado. En cambio, una habilidad de IA aporta conocimientos y procedimientos al modelo: cómo abordar una tarea, qué pasos seguir y qué se considera un buen resultado. Las habilidades son instrucciones en Markdown, por lo que no necesitan servidor, clave API ni entorno de ejecución, y funcionan con cualquier modelo.

Ver el directorio

Crea ya tu propio espacio de trabajo con IA

Suscríbete a nuestro boletín para recibir avisos sobre nuevas funciones y próximos sorteos 👇