mirror of
https://github.com/azaion/gps-denied-desktop.git
synced 2026-04-22 21:46:36 +00:00
abc26d5c20
docs -> _docs
14 lines
299 B
Python
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)
|
|
|