Λογότυπο Computing Brick Pose From Stud Grid

Computing Brick Pose From Stud Grid

Οργανισμός
runtime-si
computing-brick-pose-from-stud-grid

Converts between a cell on a LEGO or DUPLO baseplate's stud grid (x, y, layer, brick size such as 2x4, rotation 0/90/180/270) and metric world poses - ICL's calc_brick_loc chain (plate pose * top-left offset * cell offset * yaw * brick-centre offset) - giving the brick's body-centre pose, the seat pressing-a-brick-onto-studs takes, a top-down parallel-jaw grasp across the short side with its approach (press hover), and pose6d's box and support plane; and back, from a world pose (e.g. pose6d's) to the nearest cell with the residual. Checks the plate's bounds and, given occupied cells, collisions, support from the layer below and room for the fingers. Use when a build step names a cell on a calibrated baseplate and the arm needs where to grasp or press, or when a perceived brick must be read as a grid cell.

Επισκόπηση

Εκδότηςruntime-si
ΑποθετήριοRoboSkillHub
Όνομα δεξιότηταςcomputing-brick-pose-from-stud-grid
Αστέρια
242
Διακλαδώσεις
27
Συνοδευτικά αρχεία
2
Άδεια χρήσηςMIT
Σύνδεσμοι
  • Οδηγίες σε Markdown

    Ένα αρχείο SKILL.md που το μοντέλο φορτώνει όταν χρειάζεται, ώστε να καταναλώνει token μόνο όταν ένα αίτημα είναι πράγματι σχετικό.

  • Λειτουργεί με οποιοδήποτε LLM

    Οι δεξιότητες AI είναι απλό Markdown, όχι κώδικας για συγκεκριμένο πάροχο, επομένως αυτή η δεξιότητα λειτουργεί με GPT, Claude, Gemini, Grok ή ένα τοπικό μοντέλο.

  • Συνοδευτικά αρχεία: 2

    Αρχεία script, πρότυπα και υλικό αναφοράς που μπορεί να διαβάζει το μοντέλο καθώς εργάζεται. Τα αρχεία είναι μόνο για ανάγνωση και δεν εκτελούνται ποτέ.

  • Ανοιχτού κώδικα

    Δημοσιεύτηκε στο GitHub από τον λογαριασμό runtime-si. Ελέγξτε τα αρχεία της δεξιότητας στο αποθετήριο πριν την εγκαταστήσετε.

Εγκατάσταση

Εγκαταστήστε τη δεξιότητα AI Computing Brick Pose From Stud Grid στο TypingMind για να τη χρησιμοποιείτε με οποιοδήποτε LLM ή προσθέστε τη σε άλλον πράκτορα AI που διαβάζει αρχεία SKILL.md.

1

Εγκατάσταση στο TypingMind

Το TypingMind εγκαθιστά μια δεξιότητα απευθείας από τον φάκελό της στο GitHub — διαβάζει το SKILL.md, συγκεντρώνει τα συνοδευτικά αρχεία σε πακέτο και αποθηκεύει το αποτέλεσμα τοπικά.

  1. Ανοίξτε την εφαρμογή και μεταβείτε στα Πρόσθετα → Δεξιότητες.
  2. Επιλέξτε «Εγκατάσταση από GitHub».
  3. Επικολλήστε το παρακάτω URL του φακέλου της δεξιότητας και επιβεβαιώστε.
    https://github.com/runtime-si/RoboSkillHub/tree/main/skills/computing-brick-pose-from-stud-grid
  4. Ενεργοποιήστε τη δεξιότητα σε κάθε συνομιλία όπου θέλετε να είναι διαθέσιμη.
Πρόσθετα → Δεξιότητες → Προσθήκη δεξιότητας → Από URL του GitHub, έπειτα επικολλήστε το URL του φακέλου και πατήστε «Συνέχεια».
2

Εγκατάσταση σε άλλον πράκτορα AI

Κάθε πράκτορας AI που υποστηρίζει τη μορφή 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/computing-brick-pose-from-stud-grid .claude/skills/computing-brick-pose-from-stud-grid
Επανεκκινήστε το Claude Code μετά την αντιγραφή, ώστε να εντοπίσει τη νέα δεξιότητα.

Χρησιμοποιήστε τη στο TypingMind

Ενεργοποιήστε τη δεξιότητα Computing Brick Pose From Stud Grid σε οποιαδήποτε συνομιλία στο TypingMind και το μοντέλο αναλαμβάνει τα υπόλοιπα. Το όνομα και η περιγραφή της περιλαμβάνονται στην προτροπή συστήματος και, μόλις προκύψει ένα σχετικό αίτημα, το μοντέλο φορτώνει μόνο του τις πλήρεις οδηγίες — δεν χρειάζεται ποτέ να την καλείτε χειροκίνητα και δεν καταναλώνει token μέχρι να χρησιμοποιηθεί πραγματικά.

Το μοντέλο φορτώνει αυτόματα τη δεξιότητα Computing Brick Pose From Stud Grid μόλις λάβει ένα σχετικό αίτημα.

Λειτουργεί με οποιοδήποτε μοντέλο AI

Οι δεξιότητες AI είναι οδηγίες σε απλό κείμενο Markdown και όχι κώδικας για συγκεκριμένο πάροχο, οπότε η δεξιότητα Computing Brick Pose From Stud Grid δεν περιορίζεται στο μοντέλο για το οποίο γράφτηκε. Εγκαταστήστε τη μία φορά στο TypingMind και χρησιμοποιήστε τη με GPT-5, Claude, Gemini, Grok, DeepSeek, Mistral, Llama ή ένα τοπικό μοντέλο που εκτελείτε εσείς — πάντα με τα δικά σας κλειδιά API.

  • Φόρτωση μόνο όταν χρειάζεται

    Η προτροπή συστήματος περιλαμβάνει μόνο το όνομα και την περιγραφή. Οι οδηγίες ανακτώνται με το πρώτο σχετικό αίτημα, οπότε μια δεξιότητα που δεν χρησιμοποιείται δεν έχει κόστος.

  • Αλλάξτε μοντέλο κατά τη διάρκεια της συνομιλίας

    Επειδή η δεξιότητα αποτελείται από οδηγίες και όχι από κώδικα, η αλλαγή μοντέλου δεν επηρεάζει τη λειτουργία της — το επόμενο μοντέλο διαβάζει το ίδιο αρχείο SKILL.md.

Οδηγίες δεξιότητας

Αυτό είναι το περιεχόμενο του αρχείου SKILL.md που φορτώνει το μοντέλο. Διαβάστε το πριν από την εγκατάσταση — μια δεξιότητα αποτελείται από οδηγίες που θα ακολουθήσει το μοντέλο σας.

computing-brick-pose-from-stud-grid

Pure geometry, no motion: a build step's grid cell becomes the poses the arm needs, and a perceived brick becomes a grid cell.

How it composes

  • Before it: the baseplate's pose (a calibrated plate, e.g. read by registering the plate or its corner studs). For the inverse, a brick pose from pose6d.register_mask fitted with this skill's pose6d_mesh (pass support_plane and brick_pose as init when checking an expected cell).
  • After it: approach_pose / grasp_pose to pick a brick at a cell; seat_position, seat_yaw_deg, brick_studs, system, stud_pitch, stud_height, brick_height straight into pressing-a-brick-onto-studs (its inputs of the same names; give it held_obb from the hand as well); cells appended to the occupied list for the next step.

Conventions

  • Plate frame (plate_pose): origin at the centre of the plate's top surface (the stud bases), x along its first stud count, z up out of the studs; ICL's plate pose. plate_studs: [nx, ny]. If plate_pose is the plate's underside (e.g. the table under it), give plate_thickness (a standard LEGO plate is 3.2 mm).
  • Cell {x, y, layer, rotation}: (x, y) is the footprint's lowest-index corner cell at every rotation (ICL's anchor), 0-based; layer 1 is a brick standing on the plate (ICL's z); rotation is the brick's yaw about the plate normal, 90 = ICL's ori 1.
  • Brick brick_size "2x4" or [2, 4]: studs along the brick's own x and y (ICL's height x width), so a 2x4 at rotation 0 covers 2 cells along the plate's x and 4 along y, and 4 x 2 at 90.
  • Poses: brick_pose the body centre (no studs) with the brick's axes - pose6d's box frame; top_pose the top centre at the stud bases (ICL's brick pose); seat_position the bottom centre, which is the press skill's seat (z = the stud bases of whatever it stands on). seat_yaw_deg is the brick x axis' heading.

The grasp

Top-down at the brick's centre, jaws closing across the short side (close_axis: auto falls back to the long side if the cells beside the short side's walls are occupied; short / long force one), fingertips grasp_depth under the top (LEGO 5 mm, 6 mm for 1-wide - BrickSim's; DUPLO 13 mm - the depth the press skill's DUPLO check grasped at), so the tool centre is top - grasp_depth + tip_reach (how far the closed fingertips reach past the tool centre: the caller's tip_reach / hand.tip_reach_m, else robot.describe_gripper's finger.reach_m; 10.2 mm on a YAM linear_4310, for example). The rotation is robot.grasp_frame(close_heading_deg=...)'s (rotation, and rotation_flipped as grasp_pose_flipped); a plate tilted over 5 deg, or a connector without the tool, gets tool +z down the plate normal with the jaws along tool +y. approach_pose is approach_height (4 cm, BrickSim's) over it - the pre-grasp and the press hover. press_pose is the same hand pose as grasp_pose: where the hand is with the brick seated when it holds it with this grasp. ICL's own grab pose sits on one edge of the brick (its end-of-arm tool levers the brick off), and is not ported.

With check_gripper (default) robot.describe_gripper's open width must exceed the brick's width across the jaws + jaw_margin (4 mm). With check_reach, robot.solve_ik previews the grasp and approach, the flipped wrist taken when only it reaches.

The inverse

observed_pose (Se3Pose; observed_reference body_centre (pose6d's), bottom or top) in the plate frame: a box twin with z down is flipped up; the yaw snaps to 0 or 90 (a square brick to 0, its yaw folded by 90); the centre snaps to the nearest cell for that footprint and the bottom to the nearest layer. residual gives x, y (plate axes), z, yaw and tilt and the lateral norm; over the tolerances is off_grid, with the nearest cell still returned. The same checks as the forward direction follow (pass occupied without the brick itself).

Inputs

  • plate_pose, plate_studs (required); brick_size (2x2); exactly one of cell or observed_pose.
  • system: duplo (default, as pressing-a-brick-onto-studs; 16 mm pitch, 19.2 mm bricks, 4.5 mm studs) or lego (8 mm, 9.6 mm, 1.7 mm). stud_pitch, brick_height, stud_height, stud_diameter override it.
  • plate_thickness (0), grid_bias ([0, 0] m along the plate's x, y; a calibration shift of the lattice - ICL's code amounts to [-0.0002, -0.0002]).
  • occupied: stud cells [x, y, layer], placed bricks {x, y, layer, brick_size, rotation}, or earlier outputs of this skill (their cells).
  • tip_reach or hand ({tip_reach_m, max_opening_m}): the hand's geometry; each one missing is read from robot.describe_gripper, and one nobody states is the hand_geometry_unknown exit (the opening only with check_gripper).
  • close_axis, grasp_depth, approach_height, jaw_margin, use_grasp_frame, check_gripper, check_reach (false), arm_id (passed only when nonzero).
  • Inverse tolerances: lateral_tolerance (a quarter pitch), height_tolerance (a quarter brick height), yaw_tolerance_deg (10), tilt_tolerance_deg (10).

Outputs

route, detail, direction (to_world / to_cell), cell, brick_size, footprint (cells along the plate's x, y), cells, brick_pose, top_pose, seat_position, seat_yaw_deg, brick_studs, system, stud_pitch, stud_height, stud_diameter, brick_height, grasp_pose, grasp_pose_flipped, approach_pose, press_pose, close_heading_deg, close_axis (short / long, or x / y for a square brick), jaw_width (the brick's width across the jaws), pose6d_mesh ({"box": [x, y, z]} body without studs), support_plane ([nx, ny, nz, d] of the surface under the brick, pose6d's form), residual, collisions.

Checks

CPU only, no robot, no GPU (no simulation check: the skill does not move the arm). Unit tests (tests/bundles/test_computing_brick_pose_from_stud_grid.py, 36): ICL's calc_brick_loc transcribed line by line reproduces this skill's top_pose to 1e-9 m on ICL's own 48 x 48 plate pose with grid_bias = [-0.0002, -0.0002] (ori 0 and 1, 1x6 to 2x4, layers 1-3); 600 random round trips (random plate yaw and 3 deg tilt, plate sizes 6-32, seven brick sizes, four rotations, layers 1-5, LEGO and DUPLO, from the body centre and from the top) come back to the same cells and seat with 0 residual; every exit; the press skill's presets and its no-box hang equal what is computed here.

After pose6d (tests/bundles/_brick_grid_eval.py --trials 50, seed 0): a brick body rendered at a random cell of a randomly yawed plate with pose6d's station depth noise, mask dilated a pixel, registered with pose6d_mesh and support_plane (expected: brick_pose 2 mm off as init; blind: no init), then mapped back. Shifted: the true brick half a pitch off its cell, blind. The plate pose is exact here: its own error adds directly to the residual.

systemcameramodeptsright cell, computedoff_gridotherlateral residual med / p90 (mm)yaw med / p90 (deg)
legowristexpected212750/50000.07 / 0.420.1 / 0.5
legowristblind182750/50000.06 / 0.260.1 / 0.4
legowristshifted19930/5049out_of_plate 13.98 / 3.990.1 / 0.4
legooverheadexpected14149/50100.66 / 1.332.2 / 4.9
legooverheadblind11343/50700.67 / 1.402.5 / 11.0
legooverheadshifted1160/5049out_of_plate 13.59 / 3.992.9 / 7.3
duplowristexpected803750/50000.06 / 0.380.0 / 0.1
duplowristblind911950/50000.08 / 0.370.0 / 0.1
duplowristshifted84410/5047out_of_plate 37.98 / 8.000.0 / 0.1
duplooverheadexpected40450/50000.46 / 0.870.7 / 2.3
duplooverheadblind42750/50000.43 / 0.870.5 / 1.7
duplooverheadshifted4390/5044out_of_plate 67.79 / 7.950.4 / 1.9

No trial returned a wrong cell as computed. The LEGO overhead misses are off_grid on yaw (a 2 cm brick is ~113 points at 0.9 m; p90 yaw 11 deg), so read LEGO from the wrist. Every brick half a pitch off was flagged (out_of_plate where the nearest cell ran off the plate's edge). Not measured: studs (the renders are bodies; pose6d notes the stud tops load its top-face residual), real frames (none of LEGO or DUPLO on disk), and the plate pose's own error.

Limits

  • No motion and no simulation check: the skill does not move the arm (sim check not needed; no GPU host was used this round).
  • The plate pose must be accurate to well under a pitch; this skill trusts it. The station's overhead camera alone (5.4 mm RMS) is not enough for LEGO; refine from the wrist.
  • Finger room is checked at cell granularity: one row of cells each side, the brick's whole length, at its layer and above. A real fingertip is narrower than a 4-long brick (conservative) and may be wider than a LEGO pitch (not caught).
  • A YAM station refuses a tool centre under 14 mm over its table: a LEGO layer-1 grasp is 14.8 mm over the plate's top.
  • unsupported only knows the cells it is given; with no occupied, nothing is checked.

The constants, and why

  • PRESETS: LEGO from ICL's Lego.hpp (P_len_ 8 mm, brick_height_m_ 9.6 mm, knob_height_ 1.7 mm); DUPLO and stud diameters as pressing-a-brick-onto-studs (the values are asserted equal in the tests).
  • FOOTPRINT_PLAY = 0.0001: ICL's brick_len_offset_ (0.2 mm) split over both sides: a 2x4 LEGO body is 15.8 x 31.8 mm.
  • APPROACH_HEIGHT = 0.04, grasp depths: see the grasp; shared with the press skill. The fingertip reach and jaw opening are the robot's, not constants.
  • JAW_MARGIN = 0.004: 2 mm a side, about a YAM's repeatability.
  • Inverse tolerances: rounding leaves at most half a pitch, so a quarter separates "on this cell" from "between two"; 10 deg yaw / tilt is a brick clearly not seated on studs.
  • FLAT_TOLERANCE_DEG = 5: past it robot.grasp_frame's world top-down is not the plate's.

Provenance

Adapted from ICL's Robotic_Lego_Manipulation (MIT; Lego::calc_brick_loc, Lego::calc_brick_grab_pose, Lego.hpp; Liu, Sun, Liu, arXiv:2309.02354). The chain is kept and generalised to any yaw and to DUPLO; ICL subtracts brick_len_offset_ three times, which shifts every brick 0.2 mm off the lattice along -x and -y - here that is the optional grid_bias, and a test reproduces ICL's poses exactly with it. Their edge-on grab pose for their end-of-arm tool becomes a centred parallel-jaw grasp; the inverse, the bounds, occupancy and gripper checks are new. The script's header lists the changes.

Συνοδευτικά αρχεία

Το μοντέλο τα διαβάζει όποτε χρειάζεται, όσο η δεξιότητα είναι φορτωμένη. Διατίθενται ως αρχεία για ανάγνωση και δεν εκτελούνται ποτέ.

Συχνές ερωτήσεις

Τι κάνει η δεξιότητα AI Computing Brick Pose From Stud Grid;

Converts between a cell on a LEGO or DUPLO baseplate's stud grid (x, y, layer, brick size such as 2x4, rotation 0/90/180/270) and metric world poses - ICL's calc_brick_loc chain (plate pose * top-left offset * cell offset * yaw * brick-centre offset) - giving the brick's body-centre pose, the seat pressing-a-brick-onto-studs takes, a top-down parallel-jaw grasp across the short side with its approach (press hover), and pose6d's box and support plane; and back, from a world pose (e.g. pose6d's) to the nearest cell with the residual. Checks the plate's bounds and, given occupied cells, collis...

Γιατί να χρησιμοποιήσετε τη δεξιότητα Computing Brick Pose From Stud Grid στο TypingMind;

Επειδή την εγκαθιστάτε μία φορά και τη χρησιμοποιείτε με οποιοδήποτε μοντέλο. Η Computing Brick Pose From Stud Grid είναι απλό Markdown και όχι κώδικας ειδικά για κάποιον πάροχο, επομένως η ίδια δεξιότητα λειτουργεί με GPT-5, Claude, Gemini, Grok ή ένα τοπικό μοντέλο — και μπορείτε να αλλάξετε μοντέλο κατά τη διάρκεια της συνομιλίας χωρίς να διακοπεί η λειτουργία της. Το TypingMind λειτουργεί με τα δικά σας κλειδιά API, οπότε πληρώνετε απευθείας τους παρόχους αντί για συνδρομή ανά θέση χρήστη, ενώ οι δεξιότητες και οι συνομιλίες σας παραμένουν στον δικό σας χώρο αποθήκευσης.

Πώς εγκαθιστώ τη δεξιότητα Computing Brick Pose From Stud Grid στο TypingMind;

Στο TypingMind, ανοίξτε Πρόσθετα → Δεξιότητες → Εγκατάσταση από το GitHub και επικολλήστε τη διεύθυνση https://github.com/runtime-si/RoboSkillHub/tree/main/skills/computing-brick-pose-from-stud-grid. Το TypingMind διαβάζει το αρχείο SKILL.md, συγκεντρώνει τα συνοδευτικά αρχεία και εγκαθιστά τη δεξιότητα, την οποία μπορείτε να ενεργοποιείτε ανά συνομιλία.

Ποια μοντέλα AI μπορούν να χρησιμοποιήσουν τη δεξιότητα Computing Brick Pose From Stud Grid;

Οποιοδήποτε μοντέλο συνδέετε στο TypingMind. Οι δεξιότητες AI είναι απλές οδηγίες Markdown και όχι κώδικας ειδικά για κάποιον πάροχο, επομένως τα GPT, Claude, Gemini, Grok και τα τοπικά μοντέλα μπορούν όλα να φορτώσουν αυτή τη δεξιότητα όταν ένα αίτημα αντιστοιχεί σε αυτή.

Με πόσα μοντέλα AI μπορώ να χρησιμοποιήσω τη δεξιότητα Computing Brick Pose From Stud Grid;

Με όσα θέλετε. Στο TypingMind μπορείτε να χρησιμοποιήσετε τη δεξιότητα Computing Brick Pose From Stud Grid με οποιοδήποτε μοντέλο υποστηρίζει δεξιότητες, όπως τα GPT, Claude, Gemini, Grok, DeepSeek, Mistral και Llama, χρησιμοποιώντας τα δικά σας κλειδιά API.

Είναι δωρεάν η δεξιότητα AI Computing Brick Pose From Stud Grid;

Ναι. Δημοσιεύεται στο GitHub από τον λογαριασμό runtime-si με την άδεια χρήσης MIT. Πληρώνετε μόνο τον δικό σας πάροχο AI για τα token που χρησιμοποιείτε.

Τι είναι οι δεξιότητες AI;

Μια δεξιότητα AI είναι ένα επαναχρησιμοποιήσιμο πακέτο οδηγιών που διδάσκει σε ένα μοντέλο AI πώς να εκτελεί μια συγκεκριμένη εργασία. Ακολουθεί την ανοιχτή μορφή Agent Skills: ένα αρχείο SKILL.md με όνομα και περιγραφή, μαζί με τυχόν σενάρια κώδικα, πρότυπα ή αρχεία αναφοράς που μπορεί να χρειαστεί το μοντέλο. Το μοντέλο διαβάζει τις οδηγίες μόνο όταν το αίτημά σας αντιστοιχεί στη δεξιότητα, οπότε μια εγκατεστημένη δεξιότητα δεν κοστίζει τίποτα μέχρι να χρησιμοποιηθεί.

Σε τι διαφέρουν οι δεξιότητες AI από τα πρόσθετα ή τους συνδέσμους MCP;

Ένα πρόσθετο ή ένας σύνδεσμος MCP παρέχει στο μοντέλο νέα εργαλεία που μπορεί να καλέσει — κώδικα που εκτελείται κάπου και επιστρέφει ένα αποτέλεσμα. Μια δεξιότητα AI παρέχει αντί γι’ αυτό γνώσεις και διαδικασίες στο μοντέλο: πώς να προσεγγίσει μια εργασία, ποια βήματα να ακολουθήσει και ποια χαρακτηριστικά έχει ένα καλό αποτέλεσμα. Οι δεξιότητες είναι απλό Markdown, επομένως δεν χρειάζονται διακομιστή, κλειδί API ή περιβάλλον εκτέλεσης και λειτουργούν με οποιοδήποτε μοντέλο.

Προβολή όλων

Δημιουργήστε τώρα τον δικό σας χώρο εργασίας AI

Εγγραφείτε στο ενημερωτικό μας δελτίο για να ενημερώνεστε για νέες λειτουργίες και μελλοντικές κληρώσεις δώρων 👇