Add survivor tracking and RuVector integration (ADR-026, ADR-017) #66
Reference in New Issue
Block a user
Delete Branch "claude/analyze-repo-structure-aOtgs"
Deleting a branch is permanent. Although the deleted branch may continue to exist for a short time before it actually gets removed, it CANNOT be undone in most cases. Continue?
Summary
This PR implements two major architectural decisions:
ADR-026: Survivor Track Lifecycle Management — A new
trackingbounded context within the MAT crate that orchestrates Kalman filtering, data association, CSI fingerprint re-identification, and track lifecycle state management for disaster survivors.ADR-017: RuVector v2.0.4 Integration — A new
wifi-densepose-ruvectorcrate that wraps seven RuVector integration points for signal processing and multi-AP triage.Key Changes
Tracking Module (
wifi-densepose-mat/src/tracking/)tracker.rs(815 lines):SurvivorTrackeraggregate root implementing the main per-tick update algorithm:kalman.rs(487 lines): Constant-velocity 3-D Kalman filter with:[px, py, pz, vx, vy, vz](position + velocity)fingerprint.rs(329 lines): CSI-based biometric fingerprint for re-ID:lifecycle.rs(297 lines): Track state machine:mod.rs: Module exports and documentationRuVector Integration (
wifi-densepose-ruvector/)New crate with seven integration points:
Signal Processing (
signal/):subcarrier.rs: Graph min-cut partitioning of subcarriers into sensitive/insensitive groupsspectrogram.rs: Attention-mincut gating to suppress noise framesbvp.rs: Scaled dot-product attention aggregation of per-subcarrier STFT rowsfresnel.rs: Sparse regularized solver for TX-body and body-RX distance estimationMulti-AP Triage (
mat/):triangulation.rs: TDoA-based survivor localization via Neumann series solverbreathing.rs: Tiered compressed breathing buffer (hot/warm/cold tiers)heartbeat.rs: Tiered compressed heartbeat spectrogramDomain Events
Extended
domain/events.rswithTrackingEventenum to emit events for:Configuration & Cleanup
#![allow(unexpected_cfgs)]to ML modules for conditional compilationcsi_receiver.rsCargo.tomlto include newwifi-densepose-ruvectorcrateREADME.mdwith links to ADR-026 and ADR-017Implementation Highlights
https://claude.ai/code/session_0164UZu6rG6gA15HmVyLZAmU