docs(vision): no grid needed alongside markers, matte-black pin surroundings
Two follow-up design questions from Mirko, resolved by reasoning (no code): - No grid pattern needed alongside the ArUco markers -- a single marker's 4 corners already over-determine a 2D similarity transform, and more importantly the gripper isn't one rigid body (the two jaws move independently), so a grid spanning both halves would assume rigidity across exactly the boundary that isn't rigid. Two independent per-jaw markers are the structurally correct choice already planned, not a simplification. Clarified that markers give the gripper's pose, not the pin's state -- the marker-to-pin-region offset still needs a one-time calibration from the planned open/closed reference photos. - Recommended matte-blackening the pin's immediate surroundings (receiving body, gripper tip -- not the jaw faces where markers live) for contrast during the pin-check step: same underlying strategy as the fiducial pivot itself (fix it in the scene/materials, not the software). For OMNY this converges with the still-open vacuum-material question -- anodize-then- laser-etch is a standard combined process that could plausibly solve both the blackening and the fiducial-marking need in one vacuum-safe pass. Co-Authored-By: Claude Sonnet 5 <noreply@anthropic.com> Claude-Session: https://claude.ai/code/session_01V6nRBjsmGrXxSZsaEz9ScV
This commit is contained in:
1 parent
0a2f783e5c
commit
82e6627c51
1 file changed
+53
-1
@@ -38,7 +38,13 @@ a real photo of the gripper with tags actually mounted -- that's on Mirko, not b
|
||||
reliably-anchored region instead of an unconstrained, shifting frame.
|
||||
4. **Open, not yet decided**: OMNY's vacuum-compatible fabrication method (laser engraving vs.
|
||||
Kapton vs. something else) -- needs sign-off from whoever manages vacuum-material compatibility
|
||||
at cSAXS, not a call to make in a coding session.
|
||||
at cSAXS, not a call to make in a coding session. Possibly the same process also solves the item
|
||||
below -- worth raising together.
|
||||
5. **Recommended, not yet done**: matte-black the pin's immediate surroundings (receiving body,
|
||||
gripper tip near the notch -- not the jaw faces where the markers live) for contrast during the
|
||||
actual pin-check step later. No grid pattern needed alongside the markers -- see the second
|
||||
2026-09-08 update for why (the two jaws aren't one rigid body, so per-jaw markers are already the
|
||||
structurally correct choice).
|
||||
|
||||
## Why edge-threshold tuning alone isn't the fix
|
||||
|
||||
@@ -281,6 +287,52 @@ practical. **Whoever manages vacuum-material compatibility at cSAXS needs to con
|
||||
committing** -- this is a real vacuum-safety call, outside what a software session should decide on
|
||||
its own.
|
||||
|
||||
## Update 2026-09-08 (continued): no grid pattern needed, and darkening the pin's surroundings
|
||||
|
||||
Two follow-up questions from Mirko, both resolved by reasoning (no new code):
|
||||
|
||||
**"Would a grid pattern across the gripper surface help alongside the markers?" -- no, and it
|
||||
would actually work against the object's real structure.** A single marker's 4 corners already
|
||||
over-determine a 2D similarity transform (4 degrees of freedom -- position, rotation, scale -- from
|
||||
8 corner-coordinate constraints), so more correspondence points wouldn't buy meaningfully more
|
||||
precision here. More importantly, the gripper isn't one rigid body: the two jaws move independently
|
||||
when the gripper opens/closes, so a single grid spanning both halves would need to assume one rigid
|
||||
coordinate frame across the notch -- exactly where the object stops being rigid. Two independent
|
||||
per-jaw markers (already the plan) are the structurally correct choice, not a simplification: each
|
||||
tracks its own jaw's pose independently, and the distance between the two marker centroids becomes
|
||||
a free jaw-open/closed signal a shared grid wouldn't cleanly give either.
|
||||
|
||||
One clarification that came out of this: the markers give the *gripper's* pose, not a ready-made
|
||||
gripper outline or the pin's state. Turning a marker pose into "where's the pin-check region" still
|
||||
needs a one-time calibration -- measure the fixed offset from a marker's coordinate frame to the
|
||||
pin/notch region, from the open- and closed-state reference photos Mirko's already planning to take
|
||||
-- applied via that pose on every subsequent frame. That calibration step is real work, not
|
||||
automatically solved by adding more markers or a grid.
|
||||
|
||||
**"Would painting the pin-mounting body and gripper tip black help contrast for the pin check?" --
|
||||
yes, strongly recommended, and it's the same underlying strategy as the fiducial-marker pivot
|
||||
itself: fix the vision problem in the scene/materials, not by making the software cleverer.** The
|
||||
pin's own backlit glow bridging both jaws into one blob (found earlier this session, see the first
|
||||
2026-09-08 update) was fundamentally a background-contrast problem -- if the pin's immediate
|
||||
surroundings (receiving body, gripper tip near the notch) are matte black instead of reflective
|
||||
metal, "is the pin properly seated" becomes close to a plain brightness/presence check at a
|
||||
calibrated location, rather than needing contour/edge matching against a busy background at all.
|
||||
|
||||
Scoped deliberately: darken only the pin's immediate neighborhood, not the outer jaw faces where
|
||||
the fiducial markers live -- matte black there would kill the print contrast the markers themselves
|
||||
need, so these are two different surfaces with two different treatments, not a conflict as long as
|
||||
that boundary is respected during fabrication.
|
||||
|
||||
Material, same split as the fiducial markers: flomni has no vacuum constraint (matte paint,
|
||||
bluing/blackening treatment, even a permanent-marker test patch are all fine, freely iterable).
|
||||
OMNY is vacuum, and this converges with the still-open fiducial-material question there -- **black
|
||||
anodizing is both vacuum-safe and naturally matte black**, and anodize-then-laser-etch (etching the
|
||||
ArUco pattern into the anodized layer, revealing bare/lighter metal at the marked cells) is a
|
||||
standard combined industrial process: one vacuum-safe fabrication pass could plausibly solve both
|
||||
the blackening and the fiducial-marking need for OMNY at once. Still needs the same sign-off from
|
||||
whoever manages vacuum-material compatibility at cSAXS as the marker material choice -- not decided
|
||||
here, just a promising direction to raise with them together.
|
||||
|
||||
**New Layer 0 primitive, already implemented and tested (not waiting on the physical markers)**:
|
||||
`vision_toolkit.detect_aruco_markers(image, dictionary_name="DICT_4X4_50") -> list[ArucoDetection]`
|
||||
(`ArucoDetection` = `marker_id` + `corners` + a `centroid` property). Tested against synthetically
|
||||
|
||||
Reference in new issue
Block a user