Files
StarPilot/selfdrive/frogpilot/controls/lib/frogpilot_variables.py
T
2024-07-01 12:08:13 -07:00

6 lines
328 B
Python

from openpilot.selfdrive.modeld.constants import ModelConstants
CITY_SPEED_LIMIT = 25 # 55mph is typically the minimum speed for highways
CRUISING_SPEED = 5 # Roughly the speed cars go when not touching the gas while in drive
TRAJECTORY_SIZE = ModelConstants.IDX_N # Minimum path length