mirror of
https://github.com/dragonpilot/dragonpilot.git
synced 2026-02-27 20:03:53 +08:00
Toyota: remove unused ACCEL_HYST_GAP (#23121)
* fix typo in comments * remove hyst gap from values.py
This commit is contained in:
@@ -28,7 +28,7 @@ class CarController():
|
||||
# gas and brake
|
||||
if CS.CP.enableGasInterceptor and enabled:
|
||||
MAX_INTERCEPTOR_GAS = 0.5
|
||||
# RAV4 has very sensitive has pedal
|
||||
# RAV4 has very sensitive gas pedal
|
||||
if CS.CP.carFingerprint in [CAR.RAV4, CAR.RAV4H, CAR.HIGHLANDER, CAR.HIGHLANDERH]:
|
||||
PEDAL_SCALE = interp(CS.out.vEgo, [0.0, MIN_ACC_SPEED, MIN_ACC_SPEED + PEDAL_TRANSITION], [0.15, 0.3, 0.0])
|
||||
elif CS.CP.carFingerprint in [CAR.COROLLA]:
|
||||
|
||||
@@ -10,7 +10,6 @@ PEDAL_TRANSITION = 10. * CV.MPH_TO_MS
|
||||
|
||||
|
||||
class CarControllerParams:
|
||||
ACCEL_HYST_GAP = 0.06 # don't change accel command for small oscilalitons within this value
|
||||
ACCEL_MAX = 1.5 # m/s2, lower than allowed 2.0 m/s2 for tuning reasons
|
||||
ACCEL_MIN = -3.5 # m/s2
|
||||
|
||||
|
||||
Reference in New Issue
Block a user