spaxel/mothership/internal/localization
jedarden af8800caef feat: add self-improving localization REST API
Implement REST API endpoints for managing learned weights and tracking
improvement in the self-improving localization system.

- Add LocalizationHandler with endpoints for:
  - GET /api/localization/weights - get all learned link weights
  - GET /api/localization/weights/{linkID} - get specific link weight
  - POST /api/localization/weights/reset - reset all weights to default
  - GET /api/localization/spatial-weights - get spatial weights per zone
  - GET /api/localization/groundtruth/* - ground truth sample management
  - GET /api/localization/accuracy/* - position accuracy tracking
  - GET /api/localization/learning/* - learning progress and history

- Integrate spatial weight learner into fusion engine:
  - Add AddLinkInfluenceWithSpatialWeights to grid.go for per-cell weight application
  - Update Fuse() in fusion.go to use spatial weight functions when available
  - Apply both sigma adjustments and spatial weights for Fresnel zone computation

- Add comprehensive table-driven tests for all API endpoints

Co-Authored-By: Claude Opus 4.6 <noreply@anthropic.com>
2026-04-09 10:06:06 -04:00
..
fusion.go feat: add self-improving localization REST API 2026-04-09 10:06:06 -04:00
grid.go feat: add self-improving localization REST API 2026-04-09 10:06:06 -04:00
groundtruth.go fix: resolve Phase 6 build integration issues 2026-04-07 02:31:02 -04:00
groundtruth_store.go fix: resolve Phase 6 build integration issues 2026-04-07 02:31:02 -04:00
groundtruth_test.go feat: implement webhook action firing & fault tolerance for automations 2026-04-06 21:39:51 -04:00
spatial_weights.go fix: replace unused linkID with blank identifier in spatial_weights.go 2026-04-06 18:34:53 -04:00
spatial_weights_test.go feat: implement webhook action firing & fault tolerance for automations 2026-04-06 21:39:51 -04:00
weightlearner.go feat(localization): implement self-improving localization with BLE ground truth 2026-03-29 20:11:22 -04:00
weightstore.go feat(localization): implement self-improving localization with BLE ground truth 2026-03-29 20:11:22 -04:00