Changes
- Closing speed detection — Smoothed closing speed calculated from last 3 distance samples. Vehicles closing at ≥36 km/h differential are auto-escalated one threat level (Approaching→Warning, Warning→Critical). Vehicles holding distance or receding are suppressed — no more alerts for traffic matching your speed.
- Traffic density adaptation — Rolling 30-second average of vehicle count. When sustained heavy traffic (≥2 vehicles for 10+ seconds) is detected, Approaching alerts are suppressed. Fast-closing vehicles are escalated first, so they bypass density suppression and always break through.
- Target change detection — Distance jumps >30 m automatically reset closing speed tracking. When a vehicle passes and a new one appears, the system starts fresh instead of producing invalid speed data.
How It Works Together
On a busy road: normal traffic is silent. A fast-closing vehicle gets escalated to Warning → bypasses density suppression AND triggers throttler escalation bypass → immediate alert.
| Phase | Effect |
|---|---|
| Closing speed escalation | Fast vehicle: APPROACHING→WARNING or WARNING→CRITICAL |
| Holding/receding suppression | Vehicle not actually approaching: suppress APPROACHING |
| Traffic density suppression | Sustained heavy traffic: suppress remaining APPROACHING |
| Existing throttler | Unchanged cooldown + escalation bypass |
Critical alerts always fire regardless of any suppression. No new settings — fully automatic.