mirror of
https://github.com/ruvnet/RuView
synced 2026-08-01 19:01:42 +00:00
004a63e82d
- Upgrade openssl to 0.10.78 (CVE-2026-41676), jsonwebtoken to 9.4 - Suppress unmaintained-only/no-CVE advisories in .cargo/audit.toml with per-entry rationale - Fix all `cargo clippy --all-targets -- -D warnings` errors across 35 crates: derivable_impls, needless_range_loop, map_or→is_some_and/ is_none_or, await_holding_lock (drop MutexGuard before .await), ptr_arg (&mut Vec→&mut [T]), useless_conversion, approximate_constant (2.718→E, 3.14→PI), field_reassign_with_default, manual_inspect, useless_vec, lines_filter_map_ok, print_literal, dead_code - Apply `cargo fmt --all` - Pre-existing test failure in wifi-densepose-signal (test_estimate_occupancy_noise_only) is not introduced by this PR
32 lines
1.1 KiB
Rust
32 lines
1.1 KiB
Rust
//! Survivor track lifecycle management for the MAT crate.
|
|
//!
|
|
//! Implements three collaborating components:
|
|
//!
|
|
//! - **[`KalmanState`]** — constant-velocity 3-D position filter
|
|
//! - **[`CsiFingerprint`]** — biometric re-identification across signal gaps
|
|
//! - **[`TrackLifecycle`]** — state machine (Tentative→Active→Lost→Terminated)
|
|
//! - **[`SurvivorTracker`]** — aggregate root orchestrating all three
|
|
//!
|
|
//! # Example
|
|
//!
|
|
//! ```rust,no_run
|
|
//! use wifi_densepose_mat::tracking::{SurvivorTracker, TrackerConfig, DetectionObservation};
|
|
//!
|
|
//! let mut tracker = SurvivorTracker::with_defaults();
|
|
//! let observations = vec![]; // DetectionObservation instances from sensing pipeline
|
|
//! let result = tracker.update(observations, 0.5); // dt = 0.5s (2 Hz)
|
|
//! println!("Active survivors: {}", tracker.active_count());
|
|
//! ```
|
|
|
|
pub mod fingerprint;
|
|
pub mod kalman;
|
|
pub mod lifecycle;
|
|
pub mod tracker;
|
|
|
|
pub use fingerprint::CsiFingerprint;
|
|
pub use kalman::KalmanState;
|
|
pub use lifecycle::{TrackLifecycle, TrackState, TrackerConfig};
|
|
pub use tracker::{
|
|
AssociationResult, DetectionObservation, SurvivorTracker, TrackId, TrackedSurvivor,
|
|
};
|