Skip to content

Commit

Permalink
Merge pull request commaai#191 from crwusiz/HKG_community
Browse files Browse the repository at this point in the history
fix and update
  • Loading branch information
xx979xx authored Dec 13, 2020
2 parents 3cdead8 + 50ea338 commit 198e116
Show file tree
Hide file tree
Showing 2 changed files with 73 additions and 89 deletions.
8 changes: 8 additions & 0 deletions selfdrive/car/hyundai/interface.py
Original file line number Diff line number Diff line change
Expand Up @@ -145,6 +145,14 @@ def get_params(candidate, fingerprint=gen_empty_fingerprint(), car_fw=[]): # py
ret.lateralTuning.pid.kf = 0.00005
ret.lateralTuning.pid.kiBP, ret.lateralTuning.pid.kpBP = [[0.], [0.]]
ret.lateralTuning.pid.kpV, ret.lateralTuning.pid.kiV = [[0.25], [0.05]]
elif candidate == CAR.NEXO:
ret.mass = 1885. + STD_CARGO_KG
ret.wheelbase = 2.79
ret.steerRatio = 13.73
tire_stiffness_factor = 0.5
ret.lateralTuning.pid.kf = 0.00005
ret.lateralTuning.pid.kiBP, ret.lateralTuning.pid.kpBP = [[0.], [0.]]
ret.lateralTuning.pid.kpV, ret.lateralTuning.pid.kiV = [[0.25], [0.05]]
# kia
elif candidate == CAR.SORENTO:
ret.mass = 1985. + STD_CARGO_KG
Expand Down
Loading

0 comments on commit 198e116

Please sign in to comment.