Skip to content

Commit

Permalink
Hyundai: limit Kona torque (#25074)
Browse files Browse the repository at this point in the history
  • Loading branch information
adeebshihadeh authored Jul 8, 2022
1 parent ff3f6de commit a4c9076
Showing 1 changed file with 6 additions and 0 deletions.
6 changes: 6 additions & 0 deletions selfdrive/car/hyundai/values.py
Original file line number Diff line number Diff line change
Expand Up @@ -32,6 +32,12 @@ def __init__(self, CP):
CAR.IONIQ_EV_LTD, CAR.SANTA_FE_PHEV_2022, CAR.SONATA_LF, CAR.KIA_FORTE, CAR.KIA_NIRO_HEV,
CAR.KIA_OPTIMA_H, CAR.KIA_SORENTO, CAR.KIA_STINGER):
self.STEER_MAX = 255

# These cars have significantly more torque than most HKG. Limit to 70% of max.
elif CP.carFingerprint in (CAR.KONA, CAR.KONA_EV, CAR.KONA_HEV):
self.STEER_MAX = 270

# Default for most HKG
else:
self.STEER_MAX = 384

Expand Down

0 comments on commit a4c9076

Please sign in to comment.