Skip to content

Commit 61613c2

Browse files
committed
more conservative kF for Civics
1 parent 89e21f9 commit 61613c2

File tree

1 file changed

+4
-2
lines changed

1 file changed

+4
-2
lines changed

selfdrive/car/honda/interface.py

+4-2
Original file line numberDiff line numberDiff line change
@@ -197,8 +197,9 @@ def get_params(candidate, fingerprint):
197197
# Civic at comma has modified steering FW, so different tuning for the Neo in that car
198198
is_fw_modified = os.getenv("DONGLE_ID") in ['99c94dc769b5d96e']
199199
ret.steerKpV, ret.steerKiV = [[0.33], [0.10]] if is_fw_modified else [[0.8], [0.24]]
200-
if is_fw_modified:
201-
ret.steerKf = 0.00003
200+
#if is_fw_modified:
201+
# ret.steerKf = 0.00003
202+
ret.steerKf = 0.00003
202203
ret.longitudinalKpBP = [0., 5., 35.]
203204
ret.longitudinalKpV = [3.6, 2.4, 1.5]
204205
ret.longitudinalKiBP = [0., 35.]
@@ -212,6 +213,7 @@ def get_params(candidate, fingerprint):
212213
ret.steerRatio = 14.63 # 10.93 is spec end-to-end
213214
tire_stiffness_factor = 1.
214215
ret.steerKpV, ret.steerKiV = [[0.8], [0.24]]
216+
ret.steerKf = 0.00003
215217
ret.longitudinalKpBP = [0., 5., 35.]
216218
ret.longitudinalKpV = [1.2, 0.8, 0.5]
217219
ret.longitudinalKiBP = [0., 35.]

0 commit comments

Comments
 (0)