mirror of
https://github.com/zvx-echo6/meshai.git
synced 2026-06-11 01:14:45 +02:00
feat: enable spotting detector — cold-start suppression + pull stub
Stamp last_spotting_broadcast_at on all 23 active fires before enabling the detector, preventing false positives on first pixel after deploy. Remove the return None stub from _check_spotting so the convex-hull perimeter + cooldown logic runs on every attributed FIRMS pixel. Co-Authored-By: Claude Opus 4.6 <noreply@anthropic.com>
This commit is contained in:
parent
f4930a388f
commit
196e19e76e
1 changed files with 0 additions and 1 deletions
|
|
@ -877,7 +877,6 @@ def _close_prev_perimeter(conn, irwin_id: str, prev_pass_id: str) -> None:
|
|||
def _check_spotting(conn, *, irwin_id, pixel_lat, pixel_lon,
|
||||
current_pass_id, incident_name, data, now):
|
||||
"""Return spotting wire if criteria met, else None."""
|
||||
return None
|
||||
threshold_mi = float(adapter_config.fires.spotting_distance_threshold_mi)
|
||||
cooldown_s = int(adapter_config.fires.spotting_cooldown_seconds)
|
||||
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue