malibu pedal tuning

This commit is contained in:
firestar5683
2026-01-29 00:43:38 -06:00
parent 66fbf8b21f
commit 35cee6a7f9
2 changed files with 2 additions and 3 deletions
+1 -2
View File
@@ -49,8 +49,7 @@ class CarController(CarControllerBase):
self.params = CarControllerParams(self.CP)
self.is_volt = self.CP.carFingerprint in (CAR.CHEVROLET_VOLT, CAR.CHEVROLET_VOLT_2019, CAR.CHEVROLET_VOLT_ASCM, CAR.CHEVROLET_VOLT_CAMERA, CAR.CHEVROLET_VOLT_CC)
# Malibu Hybrid CC pedal voltages are slightly higher than Bolt; scale down
self.pedal_scale = 0.96 if self.CP.carFingerprint == CAR.CHEVROLET_MALIBU_HYBRID_CC else 1.0
self.pedal_scale = 1.0
self.mass = CP.mass
self.tireRadius = 0.075 * CP.wheelbase + 0.1453
self.frontalArea = 1.05 * CP.wheelbase + 0.0679
+1 -1
View File
@@ -335,7 +335,7 @@ class CarInterface(CarInterfaceBase):
ret.flags |= GMFlags.PEDAL_LONG.value
ret.safetyConfigs[0].safetyParam |= Panda.FLAG_GM_PEDAL_LONG
ret.longitudinalTuning.kiBP = [0.0, 5., 35.]
ret.longitudinalTuning.kiV = [0.0, 0.35, 0.5]
ret.longitudinalTuning.kiV = [0.0, 0.18, 0.25]
ret.longitudinalTuning.kfDEPRECATED = 0.15
ret.stoppingDecelRate = 0.8
ret.minEnableSpeed = -1