Model switcher

Added model selector to swap between several different models on the fly.
This commit is contained in:
FrogAi
2024-02-27 16:34:47 -07:00
parent e076a3d4d6
commit 3345470373
11 changed files with 66 additions and 2 deletions

View File

@@ -7,6 +7,8 @@ from openpilot.system.hardware import HARDWARE
params_memory = Params("/dev/shm/params")
DEFAULT_MODEL = "los-angeles"
CITY_SPEED_LIMIT = 25
CRUISING_SPEED = 5 # Roughly the speed cars go when not touching the gas while in drive
PROBABILITY = 0.6 # 60% chance of condition being true