شعار 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 يُحمّله النموذج عند الحاجة، فلا يستهلك توكنات إلا عندما يَرِد طلب ذو صلة فعلًا.

  • تعمل مع أي نموذج لغوي كبير

    مهارات الذكاء الاصطناعي مكتوبة بصيغة Markdown وليست شيفرة خاصة بمزوّد معيّن، لذا تعمل مع GPT أو Claude أو Gemini أو Grok أو نموذج محلي.

  • الملفات المرفقة: 4

    نصوص برمجية وقوالب ومراجع يمكن للنموذج قراءتها أثناء عمله. الملفات للقراءة فقط ولا تُنفّذ أبدًا.

  • مفتوحة المصدر

    نشرها runtime-si على GitHub. اطّلع على المصدر قبل تثبيتها.

التثبيت

ثبّت مهارة الذكاء الاصطناعي Correcting In Plane Offset By Discrete Moves في TypingMind لاستخدامها مع أي نموذج لغوي كبير، أو أضفها إلى وكيل ذكاء اصطناعي آخر يقرأ SKILL.md.

1

التثبيت في TypingMind

يُثبّت TypingMind المهارة مباشرةً من مجلدها على GitHub — فيقرأ SKILL.md، ويجمع ملفات الموارد في حزمة، ويحفظ النتيجة محليًا.

  1. افتح التطبيق وانتقل إلى «الإضافات» ثم «المهارات».
  2. اختر «تثبيت من GitHub».
  3. الصق رابط مجلد المهارة الموضّح أدناه وأكّد التثبيت.
    https://github.com/runtime-si/RoboSkillHub/tree/main/skills/correcting-in-plane-offset-by-discrete-moves
  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/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؟

أي عدد تريده. ما دام النموذج يدعم المهارات، يمكنك استخدام Correcting In Plane Offset By Discrete Moves معه، سواء كان GPT أو Claude أو Gemini أو Grok أو DeepSeek أو Mistral أو Llama أو غيرها، وكل ذلك على TypingMind باستخدام مفاتيح API الخاصة بك.

هل مهارة الذكاء الاصطناعي Correcting In Plane Offset By Discrete Moves مجانية؟

نعم. نشرها runtime-si على GitHub بموجب ترخيص MIT. لا تدفع إلا لمزود الذكاء الاصطناعي الخاص بك مقابل التوكنات التي تستخدمها.

ما هي مهارات الذكاء الاصطناعي؟

مهارة الذكاء الاصطناعي حزمة تعليمات قابلة لإعادة الاستخدام تعلّم نموذج الذكاء الاصطناعي كيفية تنفيذ مهمة محددة. وتتبع تنسيق Agent Skills المفتوح: ملف SKILL.md يتضمن اسمًا ووصفًا، إلى جانب أي نصوص برمجية أو قوالب أو ملفات مرجعية قد يحتاج إليها النموذج. لا يقرأ النموذج التعليمات إلا عندما يتوافق طلبك مع المهارة، لذا لا تترتب على المهارة المثبتة أي تكلفة حتى تُستخدم.

كيف تختلف مهارات الذكاء الاصطناعي عن الإضافات أو موصلات MCP؟

تمنح الإضافة أو موصل MCP النموذج أدوات جديدة يمكنه استدعاؤها، وهي شيفرة تُنفَّذ في مكان ما وتُرجع نتيجة. أما مهارة الذكاء الاصطناعي فتزوّد النموذج بالمعرفة ومنهجية العمل: كيفية التعامل مع مهمة، والخطوات التي ينبغي اتباعها، وما ينبغي أن تكون عليه المخرجات الجيدة. المهارات عبارة عن نصوص Markdown، لذا لا تحتاج إلى خادم أو مفتاح API أو بيئة تشغيل، وتعمل مع أي نموذج.

عرض الكل

أنشئ مساحة عملك للذكاء الاصطناعي الآن

اشترك في نشرتنا الإخبارية لتصلك أخبار الميزات الجديدة والهدايا القادمة 👇