Skip to content
Draft
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
5 changes: 5 additions & 0 deletions opendbc/car/gm/interface.py
Original file line number Diff line number Diff line change
Expand Up @@ -111,6 +111,11 @@ def _get_params(ret: structs.CarParams, candidate, fingerprint, car_fw, alpha_lo
ret.vEgoStopping = 0.25
ret.vEgoStarting = 0.25

if candidate in CAMERA_ACC_CAR:
ret.longitudinalTuning.kiV = [0.5] * len(ret.longitudinalTuning.kiBP)
ret.stoppingDecelRate = 1.0
ret.stopAccel = -0.25

if alpha_long:
ret.pcmCruise = False
ret.openpilotLongitudinalControl = True
Expand Down