Skip to content

Commit

Permalink
Revert Civic kF values to default
Browse files Browse the repository at this point in the history
  • Loading branch information
NeonGalaxy75 committed Dec 13, 2018
1 parent c9434f3 commit 2d5ee5e
Showing 1 changed file with 2 additions and 4 deletions.
6 changes: 2 additions & 4 deletions selfdrive/car/honda/interface.py
Original file line number Diff line number Diff line change
Expand Up @@ -197,9 +197,8 @@ def get_params(candidate, fingerprint):
# Civic at comma has modified steering FW, so different tuning for the Neo in that car
is_fw_modified = os.getenv("DONGLE_ID") in ['99c94dc769b5d96e']
ret.steerKpV, ret.steerKiV = [[0.33], [0.10]] if is_fw_modified else [[0.8], [0.24]]
#if is_fw_modified:
# ret.steerKf = 0.00003
ret.steerKf = 0.00003
if is_fw_modified:
ret.steerKf = 0.00003
ret.longitudinalKpBP = [0., 5., 35.]
ret.longitudinalKpV = [3.6, 2.4, 1.5]
ret.longitudinalKiBP = [0., 35.]
Expand All @@ -213,7 +212,6 @@ def get_params(candidate, fingerprint):
ret.steerRatio = 14.63 # 10.93 is spec end-to-end
tire_stiffness_factor = 1.
ret.steerKpV, ret.steerKiV = [[0.8], [0.24]]
ret.steerKf = 0.00003
ret.longitudinalKpBP = [0., 5., 35.]
ret.longitudinalKpV = [1.2, 0.8, 0.5]
ret.longitudinalKiBP = [0., 35.]
Expand Down

0 comments on commit 2d5ee5e

Please sign in to comment.