Rework radar system

This commit is contained in:
Ayzen
2026-10-06 12:32:26 +03:00
parent 552cdc688a
commit 5bb86b7165
299 changed files with 13537 additions and 27763 deletions
@@ -2,7 +2,7 @@
from __future__ import annotations
from dataclasses import asdict, dataclass
from dataclasses import asdict, dataclass, field
import logging
from pathlib import Path
@@ -15,14 +15,9 @@ class ProcessingLiveConfig:
"""Runtime-adjustable processing parameters shared with data processor."""
processor_mode: str = "pass_through"
pass_through_channel: str = "s21"
pass_through_fixed_y_enabled: bool = False
pass_through_y_min_db: float = -100.0
pass_through_y_max_db: float = 0.0
bscan_axis: str = "abs"
bscan_channel: str = "s21"
bscan_cut_m: float = 0.0
bscan_max_depth_m: float = 8.0
bscan_cut_m: float = 0.824
bscan_max_depth_m: float = 1.0
bscan_gain: float = 1.0
bscan_start_freq_mhz: float = 100.0
bscan_stop_freq_mhz: float = 8800.0
@@ -39,8 +34,7 @@ class ProcessingLiveConfig:
gpr_object_min_frac: float = 0.7
gpr_score_mode: str = "combined"
# Backprojection intra-sweep speed-correction mode: "int_minus" (full
# correction) or "int_focus" (focusing residual only). Mirrors Python
# Horns_motion_3libre.py MOTION_CORRECTION_MODE.
# correction) or "int_focus" (focusing residual only).
gpr_motion_mode: str = "int_minus"
gpr_max_detected_objects_to_draw: int = 5
gpr_draw_top_m_objects: int = 2
@@ -89,8 +83,8 @@ class ProcessingLiveConfig:
# and keeps using `gpr_speed_m_s` from this file.
ignore_socket_speed: bool = False
reprocess_current_result: bool = True
history_command_seq: int = 0
history_command: str = "none"
history_clear_before_ns: int = 0
history_removed: list[dict[str, int]] = field(default_factory=list)
settings_revision: int = 0
def __post_init__(self) -> None: