Allow Hyundai Santa Fe to use 384 STEER_MAX (#2411)

This commit is contained in:
Sean Boult 2020-10-28 23:19:23 -05:00 committed by GitHub
parent f163d5c1fd
commit 7346a7d56c
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23

View file

@ -7,7 +7,7 @@ Ecu = car.CarParams.Ecu
# Steer torque limits
class SteerLimitParams:
def __init__(self, CP):
if CP.carFingerprint in [CAR.SONATA, CAR.PALISADE]:
if CP.carFingerprint in [CAR.SONATA, CAR.PALISADE, CAR.SANTA_FE]:
self.STEER_MAX = 384
else:
self.STEER_MAX = 255