Logotipo de Correcting In Plane Offset By Discrete Moves

Correcting In Plane Offset By Discrete Moves

Organización
runtime-si
correcting-in-plane-offset-by-discrete-moves

Final x, y and yaw alignment of a held part (or the hand) over its target from the wrist camera, by a small classifier that looks at one cropped wrist frame and says which way to nudge - +/-x, +/-y, +/-yaw or stay per axis (27 classes); the hand steps 1 mm / 0.5 deg and repeats until three "aligned" in a row. The classifier is trained per target from images the arm labels itself (collect_offsets jogs from a taught aligned pose to random offsets and records each offset). Use when a part must sit over a slot, stud grid or rack within a millimetre and the target has no reference image or keypoints to servo on (textureless bricks, domino backs, slots).

Descripción general

Editorruntime-si
RepositorioRoboSkillHub
Nombre de la habilidadcorrecting-in-plane-offset-by-discrete-moves
Estrellas
242
Forks
27
Archivos incluidos
4
LicenciaMIT
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: 4

    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 Correcting In Plane Offset By Discrete Moves 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/correcting-in-plane-offset-by-discrete-moves
  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/correcting-in-plane-offset-by-discrete-moves .claude/skills/correcting-in-plane-offset-by-discrete-moves
Reinicia Claude Code después de copiarla para que detecte la nueva habilidad.

Úsala en TypingMind

Activa Correcting In Plane Offset By Discrete Moves 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 Correcting In Plane Offset By Discrete Moves 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 Correcting In Plane Offset By Discrete Moves 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á.

correcting-in-plane-offset-by-discrete-moves

This is the closed loop of vision-guided rack insertion (Liverpool, Opentrons OT-2, 90.3 % insertion success upstream). It brings a held part, or the hand itself, over its target using the wrist camera.

Upstream used ResNet18 with 27 classes. The classifier is tools/move-classifier; it is trained per target on images the arm labels itself, so no hand labelling is needed.

Two scripts

  1. collect_offsets collects training data. Start at the taught aligned pose. It jogs samples times to random offsets: +-12 mm in x and y, +-5 deg in yaw (upstream's ranges). Yaw is turned with the last joint. At each offset it saves the cropped wrist frame. The label is the hand's offset read back after the move (not the commanded one), written to index.jsonl. At the end it returns to the taught pose. Exits: collected, move_refused, no_frame.

  2. align runs the loop. Each decision:

    • calls move-classifier.predict on the crop;
    • steps step_m (1 mm, upstream) in x / y and step_yaw_deg (0.5 deg) about +z, by the sign of each axis.

    It ends when three predictions in a row say "000" (upstream's rule).

Then train once: move-classifier.train(dataset_dir, model_path).

Labels are world-frame signs per axis ("+x", "-y", "0" ...). Upstream's two loops used "Move Up / Move Left" strings whose direction differed between the loops, so world-frame signs avoid that trap.

tolerance is passed to the move tool only when set. A servo connector's default 4 mm arrival ball turns every 1 mm step into a no-op that reports "reached". That happened in the twin (80 decisions, no motion), so pass e.g. tolerance=0.0003.

Measured (YAM station twin, wrist D405 render)

Setup:

  • Target: the station's open box, seen by the left wrist D405 rendered at the real station's calibrated mount. The aligned pose is the hand top-down, 10 cm over the box centre.
  • Data: collect_offsets gathered 600 frames on two hosts (0 jogs refused). The read-back offset differed from the command by a median 1.5 mm in x (the default go_to_pose arrival ball), which is why labels are read back.
  • Training: move-classifier.train for 20 epochs on 510 frames, 27 s on an RTX PRO 6000. On 90 held-out frames, all three axes were right 0.73 of the time; per axis, x 0.91, y 0.92, yaw 0.90.
  • Trials: 7 closed-loop runs from random offsets (2.9-13.0 mm, up to 4.0 deg), tolerance 0.3 mm, 60-decision cap. Errors are the hand's read-back against the taught pose.
trialsstart errorend erroryaw at end
no correction (open loop)72.9-13.0 mm (mean 8.1)= startup to 4.0 deg
this skill7same0.20-1.73 mm (median 0.52)0.02-0.55 deg

Exits: 1 of 7 ended aligned (14 decisions, 0.26 mm / 0.54 deg). The other 6 ended max_steps while already within 0.2-1.7 mm.

Why the stop rule rarely fires: only 7 of the 600 random jogs fell inside the "000" dead-band (0.5 mm and 0.2 deg on all three axes at once). The classifier therefore seldom says "000" three times in a row, and it dithers one step about the goal. Collect extra samples near the aligned pose (for example max_offset_m=0.001, max_yaw_deg=0.3 for a quarter of the set) before relying on the aligned exit. Until then, treat max_steps with a small moved_m change as aligned.

Not measured:

  • a held part;
  • a LEGO, domino or jigsaw target;
  • the real arm;
  • upstream's LLaVA variant.

Licence

Adapted from vision-guided-rack-insertion-ot2 (MIT, Copyright (c) 2026 Hadi Beyzaee Juneghani). See the script headers and NOTICE.

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 Correcting In Plane Offset By Discrete Moves?

Final x, y and yaw alignment of a held part (or the hand) over its target from the wrist camera, by a small classifier that looks at one cropped wrist frame and says which way to nudge - +/-x, +/-y, +/-yaw or stay per axis (27 classes); the hand steps 1 mm / 0.5 deg and repeats until three "aligned" in a row. The classifier is trained per target from images the arm labels itself (collect_offsets jogs from a taught aligned pose to random offsets and records each offset). Use when a part must sit over a slot, stud grid or rack within a millimetre and the target has no reference image or keypo...

¿Por qué usar Correcting In Plane Offset By Discrete Moves en TypingMind?

Porque la instalas una vez y la usas con cualquier modelo. Correcting In Plane Offset By Discrete Moves 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 Correcting In Plane Offset By Discrete Moves en TypingMind?

Abre Plugins → Habilidades → Instalar desde GitHub en TypingMind y pega https://github.com/runtime-si/RoboSkillHub/tree/main/skills/correcting-in-plane-offset-by-discrete-moves. 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 Correcting In Plane Offset By Discrete Moves?

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 Correcting In Plane Offset By Discrete Moves?

Con tantos como quieras. Siempre que un modelo admita habilidades, puedes usar Correcting In Plane Offset By Discrete Moves 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 Correcting In Plane Offset By Discrete Moves?

Sí. runtime-si la ha publicado en GitHub bajo la licencia MIT. 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 👇