You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Add per-LH adaptive R to Kalman tracker (TE-PROC-038)
Scale each LH observation noise R by its residual relative to the fleet
mean, floored at 1.0. Miscalibrated LHs get less Kalman weight without
affecting well-calibrated ones. Populates the previously-stub fields
light_residuals[lh], lightcap_error_by_lh, and lightcap_count_by_lh.
Adds 6 AdaptiveR property tests in residual_cascade_props.c.
Co-Authored-By: Claude Sonnet 4.6 <noreply@anthropic.com>
Copy file name to clipboardExpand all lines: docs/specs/tracking-engine-specs.md
+1Lines changed: 1 addition & 0 deletions
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -38,6 +38,7 @@ Prefix: **TE**
38
38
-[x]**TE-PROC-035**: The system shall update each lightcap measurement's noise covariance R adaptively from observed residuals: `R_k = 0.3×R_{k-1} + 0.7×(residual² + H×P×H^T)`.
39
39
-[x]**TE-PROC-036**: While the tracked object is stationary (IMU variance below `kalman-stationary-*` thresholds), the system shall apply a Zero Velocity Update pseudo-measurement forcing velocity and acceleration toward zero.
40
40
-[x]**TE-PROC-037**: When tracking is lost (no valid measurements for the configured timeout period), the system shall reset the Kalman state covariance to reflect high uncertainty.
41
+
-[x]**TE-PROC-038**: The system shall scale each lighthouse's observation noise covariance R by the ratio of that lighthouse's EWMA residual to the fleet mean residual, so that lighthouses with above-average residuals receive proportionally less Kalman weight.
0 commit comments