Files
gps-denied-desktop/models/config/rotation_config.py
T
Oleksandr Bezdieniezhnykh abc26d5c20 initial structure implemented
docs -> _docs
2025-12-01 14:20:56 +02:00

14 lines
299 B
Python

from pydantic import BaseModel
class RotationConfig(BaseModel):
step_angle: float = 30.0
sharp_turn_threshold: float = 45.0
confidence_threshold: float = 0.7
history_size: int = 10
@property
def rotation_iterations(self) -> int:
return int(360 / self.step_angle)