Логотип Correcting In Plane Offset By Discrete Moves

Correcting In Plane Offset By Discrete Moves

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

Огляд

Видавецьruntime-si
РепозиторійRoboSkillHub
Назва навичкиcorrecting-in-plane-offset-by-discrete-moves
Зірки
242
Форки
27
Файли в пакеті
4
ЛіцензіяMIT
Посилання
  • Інструкції у форматі Markdown

    Файл SKILL.md, який модель завантажує за потреби, тож токени витрачаються лише тоді, коли запит справді відповідає навичці.

  • Працює з будь-якою LLM

    Навички ШІ — це звичайний Markdown, а не код для певного постачальника, тому вони працюють із GPT, Claude, Gemini, Grok або локальною моделлю.

  • Файлів у комплекті: 4

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

  • Відкритий вихідний код

    Видавець на GitHub: runtime-si. Перед установленням перегляньте вихідні файли навички.

Встановлення

Установіть навичку ШІ Correcting In Plane Offset By Discrete Moves у TypingMind, щоб використовувати її з будь-якою LLM, або додайте її до іншого агента, що читає SKILL.md.

1

Встановити в TypingMind

TypingMind встановлює навичку безпосередньо з її папки на GitHub — читає SKILL.md, збирає файли ресурсів у пакет і зберігає результат локально.

  1. Відкрийте застосунок і перейдіть до розділу «Плагіни» → «Навички».
  2. Виберіть «Встановити з GitHub».
  3. Вставте наведений нижче URL папки навички та підтвердьте встановлення.
    https://github.com/runtime-si/RoboSkillHub/tree/main/skills/correcting-in-plane-offset-by-discrete-moves
  4. Увімкніть навичку в кожному чаті, де хочете її використовувати.
Плагіни → Навички → Додати навичку → За URL GitHub, потім вставте URL папки й натисніть «Продовжити».
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/correcting-in-plane-offset-by-discrete-moves .claude/skills/correcting-in-plane-offset-by-discrete-moves
Після копіювання перезапустіть Claude Code, щоб завантажити нову навичку.

Використовуйте навичку в TypingMind

Увімкніть навичку Correcting In Plane Offset By Discrete Moves в будь-якому чаті TypingMind, і далі модель усе зробить сама. Назва й опис навички містяться в системному промпті, а щойно надходить відповідний запит, модель самостійно завантажує повні інструкції — вам не потрібно викликати навичку вручну, і до фактичного використання вона не витрачає токенів.

Модель самостійно завантажує навичку Correcting In Plane Offset By Discrete Moves, щойно надходить відповідний запит.

Працює з будь-якою моделлю ШІ

Навички ШІ — це звичайні інструкції у форматі Markdown, а не код для певного постачальника, тому навичка Correcting In Plane Offset By Discrete Moves не прив’язана до моделі, для якої її створено. Установіть її один раз у TypingMind і використовуйте з GPT-5, Claude, Gemini, Grok, DeepSeek, Mistral, Llama або локальною моделлю, яку ви запускаєте самостійно, — усе з вашими власними ключами API.

  • Завантажується лише за потреби

    Системний промпт містить лише назву й опис. Інструкції завантажуються за першого відповідного запиту, тож поки навичка не потрібна, токени на її інструкції не витрачаються.

  • Змінюйте моделі під час чату

    Оскільки навичка — це інструкції, а не код, зміна моделі не порушує її роботу: наступна модель читає той самий файл SKILL.md.

Інструкції навички

Це вміст файлу SKILL.md, який завантажує модель. Прочитайте його перед установленням — навичка містить інструкції, яких дотримуватиметься ваша модель.

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.

Файли в пакеті

Модель читає ці файли за потреби, поки навичку завантажено. Вони доступні для читання й ніколи не виконуються.

Поширені запитання

Що робить навичка ШІ 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...

Навіщо використовувати Correcting In Plane Offset By Discrete Moves у TypingMind?

Тому що ви встановлюєте її один раз і використовуєте з будь-якою моделлю. Correcting In Plane Offset By Discrete Moves — це звичайний Markdown, а не код для конкретного постачальника, тому та сама навичка працює з GPT-5, Claude, Gemini, Grok або локальною моделлю. Ви можете змінити модель навіть посеред чату, і навичка продовжить працювати. TypingMind використовує ваші власні ключі API, тож ви платите безпосередньо постачальникам замість передплати за кожне місце користувача, а ваші навички й чати залишаються у вашому сховищі.

Як встановити Correcting In Plane Offset By Discrete Moves у TypingMind?

Відкрийте в TypingMind Плагіни → Навички → Встановити з GitHub і вставте https://github.com/runtime-si/RoboSkillHub/tree/main/skills/correcting-in-plane-offset-by-discrete-moves. TypingMind прочитає файл SKILL.md, додасть супровідні файли та встановить навичку, яку можна вмикати окремо для кожного чату.

Які моделі ШІ можуть використовувати Correcting In Plane Offset By Discrete Moves?

Будь-яка модель, яку ви підключите в TypingMind. Навички ШІ — це звичайні інструкції у форматі Markdown, а не код для конкретного постачальника, тому GPT, Claude, Gemini, Grok і локальні моделі можуть завантажувати цю навичку, коли запит їй відповідає.

Зі скількома моделями ШІ можна використовувати Correcting In Plane Offset By Discrete Moves?

Зі скількома забажаєте. У TypingMind ви можете використовувати Correcting In Plane Offset By Discrete Moves із будь-якою моделлю, яка підтримує навички, зокрема з GPT, Claude, Gemini, Grok, DeepSeek, Mistral чи Llama. Для цього ви використовуєте власні ключі API.

Чи безкоштовна навичка ШІ Correcting In Plane Offset By Discrete Moves?

Так. На GitHub цю навичку публікує runtime-si за ліцензією MIT. Ви платите лише своєму постачальнику ШІ за використані токени.

Що таке навички ШІ?

Навичка ШІ — це набір інструкцій для повторного використання, який навчає модель ШІ виконувати одне конкретне завдання. Він відповідає відкритому формату Agent Skills: файл SKILL.md із назвою та описом, а також скрипти, шаблони чи довідкові файли, які можуть знадобитися моделі. Модель читає інструкції лише тоді, коли ваш запит відповідає навичці, тому встановлена навичка нічого не коштує, доки її не використано.

Чим навички ШІ відрізняються від плагінів або серверів MCP?

Плагін або сервер MCP надає моделі нові інструменти, які вона може викликати, — код, який десь виконується й повертає результат. Натомість навичка ШІ дає моделі знання й пояснює порядок дій: як підійти до завдання, яких кроків дотримуватися та яким має бути якісний результат. Навички — це звичайний Markdown, тож їм не потрібні ні сервер, ні ключ API, ні середовище виконання, і вони працюють із будь-якою моделлю.

Усі

Створіть власний робочий простір зі ШІ вже зараз

Підпишіться на нашу розсилку, щоб дізнаватися про нові функції та майбутні розіграші 👇