add note about max speed

albatross
Adeeb Shihadeh 2021-05-11 15:20:30 -07:00
parent f4f70995ed
commit dc3d8f2ea2
1 changed files with 3 additions and 0 deletions

View File

@ -13,6 +13,9 @@ from selfdrive.controls.lib.vehicle_model import VehicleModel
GearShifter = car.CarState.GearShifter
EventName = car.CarEvent.EventName
# WARNING: this value was determined based on the model's training distribution,
# model predictions above this speed can be unpredictable
MAX_CTRL_SPEED = (V_CRUISE_MAX + 4) * CV.KPH_TO_MS # 135 + 4 = 86 mph
# generic car and radar interfaces