Skip to content

Commit

Permalink
VW PQ: update carAPI deviation, start tweaking longTuning specific PI…
Browse files Browse the repository at this point in the history
… values
  • Loading branch information
dkiiv committed Sep 28, 2024
1 parent 796a34a commit bb2e339
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
2 changes: 1 addition & 1 deletion selfdrive/car/volkswagen/carcontroller.py
Original file line number Diff line number Diff line change
Expand Up @@ -31,7 +31,7 @@ def __init__(self, dbc_name, CP, VM):
self.last_button_frame = 0
self.accel_last = 0

self.deviationBP = [-1., 0., 1.] # accel (m/s squared)
self.deviationBP = [-0.8, 0., 0.8] # accel (m/s squared)
self.deviationV = [0., 0.13, 0.] # comfort-band (m/s squared)
self.rateLimitBP = [-5., 0., 5.] # accel (m/s squared)
self.ratelimitV = [4., 0.20, 4.] # jerk-limits (m/s squared)
Expand Down
2 changes: 1 addition & 1 deletion selfdrive/car/volkswagen/interface.py
Original file line number Diff line number Diff line change
Expand Up @@ -73,7 +73,7 @@ def _get_params(ret, candidate: CAR, fingerprint, car_fw, experimental_long, doc
ret.steerActuatorDelay = 0.11
ret.longitudinalTuning.kf = 1.
ret.longitudinalTuning.kpBP = [0.]
ret.longitudinalTuning.kpV = [0.]
ret.longitudinalTuning.kpV = [0.1]
ret.longitudinalTuning.kiBP = [0.]
ret.longitudinalTuning.kiV = [0.]
ret.longitudinalActuatorDelay = 0.15
Expand Down

0 comments on commit bb2e339

Please sign in to comment.