Add LED spline clipspace residuals

This commit is contained in:
Meta Vens 2026-05-31 01:58:50 +01:00
commit 571f9cdeec
7 changed files with 223 additions and 27 deletions

View file

@ -376,14 +376,19 @@ a named invariant that the native runtime cannot protect yet.
FieldEvidence authority: deterministic marker features plan as
`DebugOverlay` packets while ambiguous raw camera features still defer.
LED strip calibration now has the same typed evidence path:
`MimirLedSplineFieldCandidate` stores ordered per-camera bright-curve samples,
temporal-code/index stability flags, and shared calibration/spline identity.
`MimirLedSplineFieldCandidate` stores ordered per-camera bright-curve samples
in image pixels plus local clipspace/frustum coordinates, temporal-code/index
stability flags, and shared calibration/spline identity.
`BuildLedSplineCandidateFrame` lowers that curve as deterministic
camera-sensor Feature evidence, and `--led-spline-calibration-smoke` proves
Fensalir plans it as one `DebugOverlay` packet with no deferred request.
This is calibration evidence only. Exact correspondence requires coded or
otherwise stable LED identity; uncoded repeated lights remain curve
constraints until the global residual solver resolves them.
`MimirVisualCalibrationResidualSolver` is the first higher-level owner shape:
it compares coded/indexed observations across camera frustums and emits
residual reports, but it does not write camera pose until the calibration
state contract exists. This is calibration evidence only. Exact
correspondence requires coded or otherwise stable LED identity; uncoded
repeated lights remain curve constraints until the global residual solver
resolves them.
Phase 6 program-output receipts are also structurally complete: Fensalir
publishes the final program surface through named shared D3D12 texture/fence
resources, the OBS plugin consumes that surface with an explicit D3D12-to-