Skip to content

Commit

Permalink
Add Genesis G80 to special panda safety mode (#2602)
Browse files Browse the repository at this point in the history
Co-authored-by: Tyler O'Neill <tjoneill1995@gmail.com>
  • Loading branch information
slppo and Tyler O'Neill authored Nov 22, 2020
1 parent b147d91 commit 9c93612
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion selfdrive/car/hyundai/interface.py
Original file line number Diff line number Diff line change
Expand Up @@ -181,7 +181,7 @@ def get_params(candidate, fingerprint=gen_empty_fingerprint(), car_fw=[]): # py

# these cars require a special panda safety mode due to missing counters and checksums in the messages
if candidate in [CAR.HYUNDAI_GENESIS, CAR.IONIQ_EV_LTD, CAR.IONIQ, CAR.KONA_EV, CAR.KIA_SORENTO, CAR.SONATA_2019,
CAR.KIA_NIRO_EV, CAR.KIA_OPTIMA, CAR.VELOSTER, CAR.KIA_STINGER, CAR.GENESIS_G70]:
CAR.KIA_NIRO_EV, CAR.KIA_OPTIMA, CAR.VELOSTER, CAR.KIA_STINGER, CAR.GENESIS_G70, CAR.GENESIS_G80]:
ret.safetyModel = car.CarParams.SafetyModel.hyundaiLegacy

ret.centerToFront = ret.wheelbase * 0.4
Expand Down

0 comments on commit 9c93612

Please sign in to comment.