Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

stay up to date #182

Merged
Merged
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
11 changes: 7 additions & 4 deletions selfdrive/car/toyota/interface.py
Original file line number Diff line number Diff line change
Expand Up @@ -83,9 +83,12 @@ def get_params(candidate, fingerprint=gen_empty_fingerprint(), has_relay=False,
ret.mass = 3115. * CV.LB_TO_KG + STD_CARGO_KG
if prius_pid:
ret.lateralTuning.init('pid')
ret.lateralTuning.pid.kpV, ret.lateralTuning.pid.kiV = [[0.6], [0.1]]
ret.lateralTuning.pid.kfV = [0.00007818594]
#ret.lateralTuning.pid.newKfTuned = False
ret.lateralTuning.pid.kpBP = [0.0]
ret.lateralTuning.pid.kiBP = [0.0]
ret.lateralTuning.pid.kpV = [0.036]
ret.lateralTuning.pid.kiV = [0.0012]
ret.lateralTuning.pid.kf = 0.000153263811757641
ret.lateralTuning.pid.newKfTuned = True
else:
ret.steerActuatorDelay = 0.6
ret.steerRateCost = 0.45 #0.45
Expand Down Expand Up @@ -113,7 +116,7 @@ def get_params(candidate, fingerprint=gen_empty_fingerprint(), has_relay=False,
stop_and_go = True if (candidate in CAR.RAV4H) else False
ret.safetyParam = 73
ret.wheelbase = 2.65
ret.steerRatio = 13.88 # 14.5 is spec end-to-end
ret.steerRatio = 13.7 # 14.5 is spec end-to-end
tire_stiffness_factor = 0.5533
ret.mass = 3650. * CV.LB_TO_KG + STD_CARGO_KG # mean between normal and hybrid
if ret.enableGasInterceptor:
Expand Down