ssems important for stopngo (#21579)

old-commit-hash: dc3a22c3d5a8197148a4d4b58157abba4b7580e1
This commit is contained in:
HaraldSchafer
2021-07-13 15:35:27 -07:00
committed by GitHub
parent 599346f1c3
commit baa402aeba
+2 -3
View File
@@ -3,7 +3,6 @@
from cereal import car
from selfdrive.car import dbc_dict
from selfdrive.config import Conversions as CV
from selfdrive.controls.lib.longitudinal_planner import A_CRUISE_MAX_VALS
Ecu = car.CarParams.Ecu
MIN_ACC_SPEED = 19. * CV.MPH_TO_MS
@@ -11,8 +10,8 @@ PEDAL_HYST_GAP = 3. * CV.MPH_TO_MS
class CarControllerParams:
ACCEL_HYST_GAP = 0.02 # don't change accel command for small oscilalitons within this value
ACCEL_MAX = A_CRUISE_MAX_VALS[0]
ACCEL_MIN = -3.0 # 3 m/s2
ACCEL_MAX = 1.5 # m/s2
ACCEL_MIN = -3.0 # m/s2
ACCEL_SCALE = max(ACCEL_MAX, -ACCEL_MIN)
STEER_MAX = 1500