Persist rover observation configuration and calibrate Insta360 panorama

This commit is contained in:
DCCONSTRUCTIONS
2026-10-09 18:17:54 +03:00
parent c43b097a3a
commit b4dab01f2a
36 changed files with 1271 additions and 50 deletions
@@ -1922,3 +1922,110 @@ Map network acceptance also completed: after Windows connector became healthy,
71774→71798/bytes1519820206→1534981513, while failure count remained5. Previous
AMD connection refusal is resolved; cold data still requires its documented
Windows Docker/VPN path. Cached map and all camera views left open.
### OBS05 — onboard observation preferences, 2026-10-09
Node 0.8.46-1 is the versioned owner of `Rover Config.json` in its existing
private state directory. This increment owns observation layouts, named layout
presets, independent left/right display rotations and panorama heading. Physical
calibration, device assignments, pairing keys and motor configuration retain
their existing owners; display rotation does not alter sensor extrinsics.
Core proposes revision-checked changes over the established authenticated
heartbeat channel. Node validates and atomically replaces the file with file
and directory fsync before acknowledging. Core persists only the confirmed
board snapshot. An offline browser keeps an explicitly unsaved draft; it cannot
report local-only persistence as an onboard save. Existing local method.json
may supply a migration draft only for an empty board document. A lost ACK is
reconciled from the subsequent board snapshot. Conflicts require explicit reload.
Qualification and installation use the existing bounded Ubuntu source-build
artifact and owner-release launcher. No ad-hoc service, permission, USB, SDK or
package repair is part of this change. Preview/recording ownership is preserved;
no physical motion is requested. The previous qualified Node package is the
rollback path; downgrade preserves the new preferences file but does not read it.
The panorama is a nominal dual-fisheye projection from the existing single
preview decoder, with adjustable heading. Optical stitching/calibration and
seamless output are not claimed.
Live acceptance completed on the prepared Rover 006. All 18 Ubuntu qualification
jobs passed (265.03 s), including Node UI, race-enabled Go tests, environment,
installer and VESC reader checks. Package SHA256
`4175bb1ffdd697f464f2874c8497e85e018483e54a6d3206410293fe2a4aed63`.
Owner release `48958eedc8fce70afa6e26d9` upgraded only Node to 0.8.46-1;
installation completed in 23.99 s, UI ready, Node/K1/RealSense services active
with zero restart counts. Core has 87 passing fleet tests, 1050 existing UI
tests plus two acknowledgement reconciliation tests, typecheck and build.
Actual Core UI checks confirmed independent clockwise rotation cycles, heading
shift to 90 degrees, edge docking, panel swap, resize, named preset selection,
and restoration after page reload. The final board-confirmed revision is 13;
the current preset is retained on board. Both X4 lenses and panorama are live
from one decoder. Core8000 is left healthy and the Observation Center is open.
No motor operation, camera recording, SDK change or simulation stop was issued.
Private acceptance manifest: `.runtime/observation-live-acceptance-20261009.json`.
### OBS06 — X4 identity and calibrated live panorama, 2026-10-09
X4 plugin 0.1.3-10 exposes the camera serial and preview optical calibration
through the existing open Camera SDK session. These are read-only metadata;
no second SDK producer, capture settings or recording operation is introduced.
The serial is displayed in X4 Details. Real serials and calibration payloads
remain in private runtime evidence, outside source fixtures.
Owner release `cbcda3adc95f934dd0034d08` installed only the X4 upgrade through
the existing Ubuntu installer. The first attempt correctly refused an active
preview; after preview was stopped through its existing API, the same release
completed in 13.59 s. Package SHA256:
`ec65c384aac40f1e5ee8a8f13df01aa2ea2cc582d2cfbb6d9bc2b4508c7b6ca5`.
Node 0.8.46-1 and its existing services were preserved. Rollback uses the retained
qualified 0.1.3-9 release through the same installer with capture idle. The older
Node bundle still pins 0.1.3-9; its downgrade guard is unchanged, and future Node
bundles must qualify and pin the newer plugin separately.
The flat panorama now consumes the actual X4 v3 MEI lens model and centered
live-sensor crop. Independent operator display rotations are preserved. A
bounded overlap feather and temporally smoothed per-channel gain matching use
corresponding seam directions from the existing shared decoder. The heading
arrow advances 90 degrees through the existing board-acknowledged preference
path. Missing or unsupported metadata retains the nominal projection fallback.
Open-source calibration conventions were reviewed from GyroView at
`ae5c22b155ab4ec9c28d141e61340ca2d6f94994`; MIT attribution ships with Core.
This is calibrated projection and blending, not the proprietary Media SDK or
optical-flow stitching. Near-field parallax and scene-dependent seam artifacts
remain possible. No claim of seamless output for arbitrary scenes is made.
Qualification passed 10 synthetic native ABI checks on macOS and Ubuntu,
existing Ubuntu package qualification, 1057 Control Station tests, four
architecture checks, typecheck and production build. New tests cover crop
mapping, invalid calibration, seam coverage across mount rotations and bounded
exposure matching. An actual-calibration model check covered 16200 rays without
an uncovered ray; this is projection coverage, not a physical accuracy bound.
Live Core8000 acceptance confirmed the serial in Details, calibrated live
panorama, the complete heading cycle, board acknowledgement and reload.
Compared with the prior nominal view, the hard central seam was reduced in the
observed scene. Final readback: preview=1, recording=0, calibration present,
onboard configuration available; heading 270 degrees at revision 40 matches the
reloaded view. Existing left90/right270 and six-window layout remain. Core and
bundled license return HTTP 200. No motor operation or simulation stop occurred.
Private acceptance SHA256:
`e37e0eed4ac888100781ec0b53af0606ae566bdaf4bada88e8192c75110b0e6d`.
### OBS06B — serial in Park device settings, 2026-10-09
The shared device-settings window in Park now renders read-only identity facts
provided by its sensor plugin. X4 supplies its SDK-reported serial from the
latest inventory, with an explicit unavailable value when absent. The value is
selectable and is not submitted as part of rename or preparation. This completes
the Park path in addition to the existing camera Details view. No board install,
SDK operation or camera setting was changed.
Acceptance: refreshed Core8000, opened Park / Rover 006 configuration / X4
settings and verified the real serial in the read-only field; Escape and reopen
passed. Four architecture checks, 1057 frontend tests, Control Station and Node
UI typechecks, and production build passed. Node UI validation also corrected
readonly-tuple WebGL uniform typing using scalar uniform calls with unchanged
values. Private UI evidence SHA256: `40b6dfec3bd52927a4571b89d13709bfc2e832421c736bf532f06d65e661b2ad`.
Rollback is the previous Control Station frontend build.