Logo di Centering A Part With The Gripper

Centering A Part With The Gripper

Organizzazione
runtime-si
centering-a-part-with-the-gripper

Centres a loose part between the jaws without perceiving it - closes on it, opens, turns the wrist a quarter turn about the hand's approach axis, closes again (each close squares the part up along one axis), opens and turns back; fails when the jaw gap after a close says nothing is between the pads. Use when the hand already stands around a small part whose estimated position is a few millimetres off (before a pick that must be centred, an insertion of a plug or peg, or threading a ring held in the fingers), the part is free to slide on its support, and the hand is open or empty.

Panoramica

Pubblicato daruntime-si
RepositoryRoboSkillHub
Nome della skillcentering-a-part-with-the-gripper
Stelle
242
Fork
27
File inclusi
2
LicenzaMIT
Link
  • Istruzioni in Markdown

    Un file SKILL.md che il modello carica quando serve, consumando token solo quando una richiesta è effettivamente pertinente.

  • Funziona con qualsiasi LLM

    Le skill IA sono in semplice Markdown, non in codice specifico di un fornitore, quindi funzionano con GPT, Claude, Gemini, Grok o un modello locale.

  • File inclusi: 2

    Script, template e riferimenti che il modello può leggere mentre lavora. I file sono di sola lettura e non vengono mai eseguiti.

  • Open source

    Pubblicata da runtime-si su GitHub. Leggi i sorgenti prima di installarla.

Installazione

Installa la skill IA Centering A Part With The Gripper in TypingMind per usarla con qualsiasi LLM, oppure copiala in un altro agente in grado di leggere SKILL.md.

1

Installa in TypingMind

TypingMind installa una skill direttamente dalla sua cartella GitHub: legge SKILL.md, raccoglie i file delle risorse e salva il risultato in locale.

  1. Apri l'app e vai su Plugin → Skill.
  2. Scegli "Installa da GitHub".
  3. Incolla l'URL della cartella della skill riportato qui sotto e conferma.
    https://github.com/runtime-si/RoboSkillHub/tree/main/skills/centering-a-part-with-the-gripper
  4. Attiva la skill in ogni chat in cui vuoi averla a disposizione.
Plugin → Skill → Aggiungi skill → Da URL GitHub, poi incolla l'URL della cartella e premi Continua.
2

Installa in un altro agente

Qualsiasi agente che legge il formato Agent Skills può usare questa skill: copia la cartella della skill nella directory delle skill di quell'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/centering-a-part-with-the-gripper .claude/skills/centering-a-part-with-the-gripper
Dopo la copia, riavvia Claude Code per caricare la nuova skill.

Usala in TypingMind

Attiva Centering A Part With The Gripper in qualsiasi chat di TypingMind e al resto pensa il modello. Il nome e la descrizione della skill sono nel prompt di sistema e, non appena arriva una richiesta pertinente, il modello carica da solo le istruzioni complete: non devi mai richiamarla manualmente e non consuma token finché non viene effettivamente usata.

Il modello carica automaticamente Centering A Part With The Gripper non appena riceve una richiesta pertinente.

Funziona con qualsiasi modello IA

Le skill IA sono semplici istruzioni in Markdown, non codice specifico di un fornitore, quindi Centering A Part With The Gripper non è vincolata al modello per cui è stata scritta. Installala una sola volta in TypingMind e usala con GPT-5, Claude, Gemini, Grok, DeepSeek, Mistral, Llama o un modello locale che esegui tu, sempre con le tue chiavi API.

  • Caricata solo quando serve

    Il prompt di sistema contiene solo il nome e la descrizione. Le istruzioni vengono recuperate alla prima richiesta pertinente, quindi una skill inutilizzata non costa nulla.

  • Cambia modello durante la chat

    Poiché la skill è composta da istruzioni e non da codice, continua a funzionare anche se cambi modello: il nuovo modello legge lo stesso file SKILL.md.

Istruzioni della skill

Questo è il contenuto di SKILL.md che il modello carica. Leggilo prima dell'installazione: una skill è un insieme di istruzioni che il tuo modello seguirà.

centering-a-part-with-the-gripper

Square a small loose part up between the jaws by touch, with no camera. A parallel gripper closing on a part pushes it toward the jaws' midline along the closing axis; turned a quarter turn and closed again it does the same along the other axis, so after two closes the part sits under the tool centre in both horizontal directions.

The motion

  1. Close (robot.close_gripper). If the measured jaw gap is within min_held_width of the closed stop, open and exit nothing_caught.
  2. Open (robot.open_gripper).
  3. Turn the wrist turn_deg (90) about the hand's approach axis, in place, with robot.go_to_pose_cartesian; judge the turn from a fresh robot.get_ee_pose. If it does not arrive, try the opposite turn (o2ac does the same). If neither does, turn the last joint by the same amounts with robot.move_to_joints from the joints read at the start (joint_fallback); either quarter turn counts. If nothing arrives, exit unreachable.
  4. Close again, with the same empty check (open, turn back, nothing_caught).
  5. Open (skip with release=false to keep the part held), and turn back to the start rotation (return_to_start, default true).

The jaw gap is robot.close_gripper's returned position (or robot.get_gripper), 1.0 = open, converted to metres through robot.describe_gripper's width_fit (or span_m), as verifying-grasps does. A hand that cannot be read is treated as holding something: absent evidence is not a failed centring.

Inputs (all optional)

  • check_held (true): the empty-close test after each close.
  • min_held_width (0.003 m): a close ending within this of the closed stop held nothing. Lower it for parts thinner than about 4 mm.
  • turn_deg (90), clockwise (false): the turn tried first.
  • return_to_start (true), release (true), skip_first_close (false): o2ac's move_back_to_initial_position and skip_first_grasp; release is new.
  • joint_fallback (true): turn the last joint when a pose turn does not arrive. An IK that leaves wrist roll free (RoboSimStudio's default on the YAM) reaches the turned pose without turning; o2ac's own docstring turns "the robot's last joint". A connector that refuses joint moves (the real YAM station bridge) just routes the refusal.
  • rotation_tolerance_deg (10), position_tolerance (0.015 m): arrival bounds of the turn.
  • arm_id (0), passed to the connector only when nonzero.

Preconditions

  • The hand already stands around the part: top-down over it, tool centre at the part's height, the part inside the open jaws in both directions. The skill does not move the hand down or sideways.
  • The part slides on its support and is narrower than the open hand. Neighbours within the open jaws' sweep (the fingers turn through a quarter circle) get pushed too.

Outputs

first_width, second_width (m, -1 when not measured), turned_deg (the turn that arrived, signed, as read back), turned_by (pose or last_joint), returned. The part's position is not measured: the exit says the hand closed on something twice, not where the part ended. Re-perceive it if that matters.

The constants, and why

  • TURN_DEG = 90: o2ac's tau / 4; two closes square the part along two perpendicular axes.
  • MIN_HELD_WIDTH = 0.003 m: o2ac's simple_gripper_check fails under 1 mm (6 mm on its imprecise hand); 3 mm is the hub's verifying-grasps margin, set from an empty close measured at 1.8 mm.
  • ROTATION_TOLERANCE_DEG = 10, POSITION_TOLERANCE = 0.015 m: no tighter than the connectors' own arrival bounds (a servo's 3 deg / 4 mm, a real YAM station's 0.04 rad / 12 mm per move).

Measured in a YAM station twin

RoboSimStudio's YAM station twin (left arm, linear_4310 hand, a 30 mm cube on the table), one rollout, default inputs. A setup script stood the open hand top-down with robot.grasp_frame's rotation, tool centre about 19.7 mm over the cube's bottom (the descent to 18 mm stopped 1.7 mm short), offset from the cube's centre; sim.get_object_obb measured the cube against robot.get_ee_pose before and after:

asked offset (mm)cube off the tool centre beforeafterjaw gap at the two closes
+8, 07.8 mm0.22 mm31.7 / 31.4 mm
0, +87.8 mm0.09 mm31.4 / 31.5 mm
+6, -68.2 mm0.17 mm31.4 / 31.4 mm
-5, +78.6 mm0.39 mm31.4 / 31.4 mm
+7, +79.6 mm1.11 mm31.4 / 31.4 mm
-10, 010.1 mm0.72 mm31.4 / 31.7 mm (first / second)

All six exited centered and turned back. The cube never tipped (tilt 0.0 deg) and turned at most 6 deg about the vertical. Over empty table (the hand 120 mm from the cube) the first close read 0.0 mm and the skill exited nothing_caught without turning; the cube did not move.

The twin's IK leaves wrist roll free, so every pose turn "arrived" without turning the hand (read back 90 deg off): the turns ran by the last joint, and the turn back likewise. A first rollout without the joint fallback routed all six unreachable; its first close alone had already centred the cube along the jaws' axis (0, +8 mm: 7.8 to 0.43 mm) and left it 7.8 mm off across them, which is what the second close is for. On a real YAM station the pose turn is expected to arrive (its IK solves the full rotation) and robot.move_to_joints is refused; that path has not been run on hardware.

Provenance

Adapted from o2ac-ur's center_with_gripper and simple_gripper_check (catkin_ws/src/o2ac_routines/src/o2ac_routines/common.py, MIT, Team O2AC, World Robot Summit 2020 assembly). Changed: robot.* connector tools instead of MoveIt and the Robotiq driver; the hand opens fully between closes instead of to a commanded opening_width, because the YAM station offers only open and close; the empty test converts the jaw gap through robot.describe_gripper; the turn is about the hand's approach axis from its current rotation, judged from a fresh pose reading; refused moves route instead of raising; release is new. o2ac's gripper force and speed arguments have no counterpart here.

File inclusi

Il modello legge questi file quando servono, mentre la skill è caricata. Sono accessibili in sola lettura e non vengono mai eseguiti.

Domande frequenti

Cosa fa la skill IA Centering A Part With The Gripper?

Centres a loose part between the jaws without perceiving it - closes on it, opens, turns the wrist a quarter turn about the hand's approach axis, closes again (each close squares the part up along one axis), opens and turns back; fails when the jaw gap after a close says nothing is between the pads. Use when the hand already stands around a small part whose estimated position is a few millimetres off (before a pick that must be centred, an insertion of a plug or peg, or threading a ring held in the fingers), the part is free to slide on its support, and the hand is open or empty.

Perché usare Centering A Part With The Gripper su TypingMind?

Perché la installi una volta e la usi con qualsiasi modello. Centering A Part With The Gripper è scritta in semplice Markdown anziché in codice specifico di un fornitore, quindi la stessa skill funziona con GPT-5, Claude, Gemini, Grok o un modello locale, e puoi cambiare modello durante la chat senza che la skill smetta di funzionare. TypingMind usa le tue chiavi API, quindi paghi direttamente i fornitori anziché un abbonamento per posto utente, e le tue skill e chat restano nel tuo spazio di archiviazione.

Come installo Centering A Part With The Gripper in TypingMind?

Apri Plugin → Skill → Installa da GitHub in TypingMind e incolla https://github.com/runtime-si/RoboSkillHub/tree/main/skills/centering-a-part-with-the-gripper. TypingMind legge il file SKILL.md, include i file associati e installa la skill, che puoi abilitare per ogni singola chat.

Quali modelli IA possono usare Centering A Part With The Gripper?

Qualsiasi modello che colleghi a TypingMind. Le skill IA sono semplici istruzioni in Markdown anziché codice specifico di un fornitore, quindi GPT, Claude, Gemini, Grok e i modelli locali possono tutti caricare questa skill quando una richiesta corrisponde al suo scopo.

Quanti modelli IA posso usare con Centering A Part With The Gripper?

Quanti ne vuoi. Se un modello supporta le skill, puoi usarlo con Centering A Part With The Gripper: GPT, Claude, Gemini, Grok, DeepSeek, Mistral, Llama e molti altri, tutti su TypingMind con le tue chiavi API.

La skill IA Centering A Part With The Gripper è gratuita?

Sì. È pubblicata su GitHub da runtime-si con licenza MIT. Paghi solo il tuo fornitore IA per i token che usi.

Cosa sono le skill IA?

Una skill IA è un pacchetto di istruzioni riutilizzabili che insegna a un modello IA come svolgere un'attività specifica. Segue il formato aperto Agent Skills: un file SKILL.md con un nome e una descrizione, più eventuali script, template o file di riferimento di cui il modello potrebbe aver bisogno. Il modello legge le istruzioni solo quando la tua richiesta corrisponde alla skill, quindi una skill installata non comporta costi finché non viene usata.

In cosa si differenziano le skill IA dai plugin o dai server MCP?

Un plugin o un server MCP fornisce a un modello nuovi strumenti da richiamare: codice che viene eseguito da qualche parte e restituisce un risultato. Una skill IA, invece, fornisce al modello conoscenze e procedure: come affrontare un'attività, quali passaggi seguire e quali caratteristiche deve avere un buon output. Le skill sono semplici istruzioni in Markdown, quindi non richiedono server, chiavi API né ambienti di esecuzione e funzionano con qualsiasi modello.

Elenco completo

Crea subito il tuo spazio di lavoro AI

Iscriviti alla nostra newsletter per ricevere aggiornamenti sulle nuove funzionalità e sulle prossime iniziative a premi 👇