mirror of
https://github.com/dragonpilot/dragonpilot.git
synced 2026-07-19 20:02:04 +08:00
GM minSteerSpeed: add some tolerance for Volt (#25809)
* add some tolerance for volts * add comment * update refs
This commit is contained in:
@@ -74,7 +74,8 @@ class CarInterface(CarInterfaceBase):
|
||||
ret.dashcamOnly = candidate in {CAR.CADILLAC_ATS, CAR.HOLDEN_ASTRA, CAR.MALIBU, CAR.BUICK_REGAL, CAR.EQUINOX, CAR.BOLT_EV}
|
||||
|
||||
# Start with a baseline tuning for all GM vehicles. Override tuning as needed in each model section below.
|
||||
ret.minSteerSpeed = 10 * CV.KPH_TO_MS
|
||||
# Some GMs need some tolerance above 10 kph to avoid a fault
|
||||
ret.minSteerSpeed = 10.1 * CV.KPH_TO_MS
|
||||
ret.lateralTuning.pid.kiBP, ret.lateralTuning.pid.kpBP = [[0.], [0.]]
|
||||
ret.lateralTuning.pid.kpV, ret.lateralTuning.pid.kiV = [[0.2], [0.00]]
|
||||
ret.lateralTuning.pid.kf = 0.00004 # full torque for 20 deg at 80mph means 0.00007818594
|
||||
|
||||
@@ -1 +1 @@
|
||||
147410f09f242f05b922c9cc7ac04c3c3366419c
|
||||
a4aa1f37c6d966151d3b43a0b51fffbcfa0187b1
|
||||
Reference in New Issue
Block a user