mirror of
https://github.com/firestar5683/StarPilot.git
synced 2026-12-02 08:03:40 +08:00
Cover source-run edges when detecting sustained tracking wobble
This commit is contained in:
@@ -1281,7 +1281,7 @@ def _tracking_oscillation_windows(samples: list[FLMSample], eligibility: list[bo
|
||||
return count
|
||||
|
||||
events = []
|
||||
for start in range(0, len(samples) - 49, 10):
|
||||
for start in range(1, len(samples) - 49, 10):
|
||||
window = samples[start:start + 50]
|
||||
if not all(eligibility[start:start + 50]) or any(s.saturated or s.v_ego < 25.0 for s in window):
|
||||
continue
|
||||
|
||||
+1
-1
@@ -1 +1 @@
|
||||
{"protected_inventory_sha256": "2f1f836e750dcc3d47ea609ac84c62ac32f72e50769a45c3efa079cde46c6df1", "schema_version": 1}
|
||||
{"protected_inventory_sha256": "d7b7505b02d9ede4e39a5503f5c9232940c3acd2cdfa89923b15c1757aecfe31", "schema_version": 1}
|
||||
|
||||
Reference in New Issue
Block a user