Логотип Centering A Part With The Gripper

Centering A Part With The Gripper

Организация
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.

Обзор

Издательruntime-si
РепозиторийRoboSkillHub
Название навыкаcentering-a-part-with-the-gripper
Звёзды
242
Форки
27
Файлы в комплекте
2
ЛицензияMIT
Ссылки
  • Инструкции в формате Markdown

    Модель загружает файл SKILL.md по мере необходимости, поэтому токены расходуются только при подходящем запросе.

  • Работает с любой большой языковой моделью

    Навыки ИИ — это обычный Markdown, а не код для конкретного поставщика, поэтому они работают с GPT, Claude, Gemini, Grok и локальными моделями.

  • Файлы в комплекте: 2

    Скрипты, шаблоны и справочные материалы, которые модель может читать во время работы. Файлы доступны только для чтения и никогда не выполняются.

  • Открытый исходный код

    Издатель навыка на GitHub — runtime-si. Перед установкой изучите исходные материалы.

Установка

Установите навык ИИ Centering A Part With The Gripper в TypingMind, чтобы использовать его с любой LLM, или добавьте его в другой агент, который умеет читать SKILL.md.

1

Установка в TypingMind

TypingMind устанавливает навык прямо из его папки на GitHub: читает SKILL.md, собирает файлы ресурсов и сохраняет результат локально.

  1. Откройте приложение и перейдите в раздел «Плагины → Навыки».
  2. Выберите «Установить из GitHub».
  3. Вставьте указанную ниже ссылку на папку навыка и подтвердите установку.
    https://github.com/runtime-si/RoboSkillHub/tree/main/skills/centering-a-part-with-the-gripper
  4. Включите навык в каждом чате, где хотите его использовать.
Плагины → Навыки → Добавить навык → По ссылке GitHub, затем вставьте ссылку на папку и нажмите «Продолжить».
2

Установка в другом агенте

Любой агент с поддержкой формата Agent Skills может использовать этот навык — скопируйте папку в каталог навыков этого агента.

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
После копирования перезапустите Claude Code, чтобы загрузить новый навык.

Использование в TypingMind

Включите навык Centering A Part With The Gripper в любом чате TypingMind, и дальше модель всё сделает сама. Его название и описание хранятся в системном промпте, а при появлении подходящего запроса модель сама загружает полные инструкции. Вам не нужно вызывать навык вручную, и до фактического использования он не расходует токены.

Модель сама загружает навык Centering A Part With The Gripper, как только появляется подходящий для него запрос.

Работает с любой моделью ИИ

Навыки ИИ — это обычные инструкции в Markdown, а не код для конкретного поставщика, поэтому навык Centering A Part With The Gripper не привязан к модели, для которой он был создан. Установите его один раз в TypingMind и используйте с GPT-5, Claude, Gemini, Grok, DeepSeek, Mistral, Llama или локальной моделью, которую запускаете самостоятельно, — со своими ключами API.

  • Загружается только при необходимости

    Системный промпт содержит только название и описание. Инструкции загружаются при первом подходящем запросе, поэтому неиспользуемый навык не расходует токены.

  • Меняйте модели прямо в чате

    Навык состоит из инструкций, а не кода, поэтому смена модели не нарушает его работу: новая модель читает тот же файл SKILL.md.

Инструкции навыка

Это содержимое файла SKILL.md, которое загружает модель. Прочитайте его перед установкой: навык — это инструкции, которым будет следовать ваша модель.

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.

Файлы в комплекте

Модель читает эти файлы по мере необходимости, пока навык загружен. Они доступны только для чтения и никогда не выполняются.

Часто задаваемые вопросы

Что делает навык ИИ 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.

Зачем использовать Centering A Part With The Gripper в TypingMind?

Потому что вы устанавливаете навык один раз и используете его с любой моделью. Centering A Part With The Gripper — это обычный текст в формате Markdown, а не код для конкретного поставщика, поэтому один и тот же навык работает с GPT-5, Claude, Gemini, Grok или локальной моделью. Вы можете менять модель прямо во время чата, и навык продолжит работать. TypingMind использует ваши собственные ключи API, поэтому вы платите поставщикам напрямую, а не оформляете подписку с оплатой за каждое место. Ваши навыки и чаты остаются в вашем собственном хранилище.

Как установить Centering A Part With The Gripper в TypingMind?

В TypingMind откройте «Плагины → Навыки → Установить из GitHub» и вставьте https://github.com/runtime-si/RoboSkillHub/tree/main/skills/centering-a-part-with-the-gripper. TypingMind прочитает файл SKILL.md, включит сопутствующие файлы в пакет и установит навык, который можно включать отдельно для каждого чата.

Какие модели ИИ могут использовать Centering A Part With The Gripper?

Любая модель, которую вы подключите в TypingMind. Навыки ИИ — это обычные инструкции в формате Markdown, а не код для конкретного поставщика, поэтому GPT, Claude, Gemini, Grok и локальные модели могут загружать этот навык, когда запрос ему соответствует.

Со сколькими моделями ИИ можно использовать Centering A Part With The Gripper?

С любым количеством. В TypingMind вы можете использовать Centering A Part With The Gripper с любой моделью, которая поддерживает навыки, в том числе с GPT, Claude, Gemini, Grok, DeepSeek, Mistral и Llama. Для этого вы используете собственные ключи API.

Бесплатен ли навык ИИ Centering A Part With The Gripper?

Да. Навык опубликован на GitHub по лицензии MIT. Издатель — runtime-si. Вы платите только своему поставщику ИИ за использованные токены.

Что такое навыки ИИ?

Навык ИИ — это набор инструкций, которыми модель ИИ может пользоваться каждый раз, когда ей нужно выполнить конкретную задачу. Он соответствует открытому формату Agent Skills: файл SKILL.md с названием и описанием, а также любые скрипты, шаблоны или справочные файлы, которые могут понадобиться модели. Модель читает инструкции, только когда ваш запрос соответствует навыку, поэтому установленный навык ничего не стоит, пока не используется.

Чем навыки ИИ отличаются от плагинов и серверов MCP?

Плагин или сервер MCP даёт модели новые инструменты, которые она может вызывать: при вызове где-то выполняется код и возвращает результат. Навык ИИ, напротив, даёт модели знания и описывает порядок действий: как подойти к задаче, какие шаги выполнить и каким должен быть хороший результат. Навыки — это обычный текст в формате Markdown, поэтому им не нужны сервер, ключ API или среда выполнения, и они работают с любой моделью.

Все

Создайте своё рабочее пространство с ИИ прямо сейчас

Подпишитесь на нашу рассылку, чтобы узнавать о новых функциях и предстоящих розыгрышах 👇