From 560d9aa6fced675c656e3377dff19cd4023aea48 Mon Sep 17 00:00:00 2001 From: firestar5683 <168790843+firestar5683@users.noreply.github.com> Date: Tue, 27 Jan 2026 00:23:43 -0600 Subject: [PATCH 1/4] silverado --- opendbc/car/torque_data/override.toml | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/opendbc/car/torque_data/override.toml b/opendbc/car/torque_data/override.toml index d2416afc3fe..36de854d2ec 100644 --- a/opendbc/car/torque_data/override.toml +++ b/opendbc/car/torque_data/override.toml @@ -48,7 +48,7 @@ legend = ["LAT_ACCEL_FACTOR", "MAX_LAT_ACCEL_MEASURED", "FRICTION"] "CADILLAC_ESCALADE_ESV_2019" = [1.15, 1.3, 0.2] "CADILLAC_XT4" = [1.45, 1.6, 0.2] "CHEVROLET_BOLT_EUV" = [1.0, 2.0, 0.175] -"CHEVROLET_SILVERADO" = [1.9, 1.9, 0.112] +"CHEVROLET_SILVERADO" = [2.014, 1.9, 0.125] "CHEVROLET_TRAILBLAZER" = [1.33, 1.9, 0.16] "CHEVROLET_TRAVERSE" = [1.33, 1.33, 0.18] "CHEVROLET_EQUINOX" = [2.5, 2.5, 0.05] From b4cec3e5de4876a1a58f044032537825c7f2d87c Mon Sep 17 00:00:00 2001 From: firestar5683 <168790843+firestar5683@users.noreply.github.com> Date: Sat, 31 Jan 2026 22:22:15 -0600 Subject: [PATCH 2/4] Update interface.py --- opendbc/car/gm/interface.py | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/opendbc/car/gm/interface.py b/opendbc/car/gm/interface.py index 1cdb04fae9d..1cb807b279b 100755 --- a/opendbc/car/gm/interface.py +++ b/opendbc/car/gm/interface.py @@ -53,10 +53,10 @@ def torque_from_lateral_accel_siglin_func(lateral_acceleration: float) -> float: # This has big effect on the stability about 0 (noise when going straight) non_linear_torque_params = NON_LINEAR_TORQUE_PARAMS.get(self.CP.carFingerprint) assert non_linear_torque_params, "The params are not defined" - a, b, c, _ = non_linear_torque_params + a, b, c, d = non_linear_torque_params sig_input = a * lateral_acceleration sig = np.sign(sig_input) * (1 / (1 + exp(-fabs(sig_input))) - 0.5) - steer_torque = (sig * b) + (lateral_acceleration * c) + steer_torque = (sig * b) + (lateral_acceleration * c) + d return float(steer_torque) lataccel_values = np.arange(-5.0, 5.0, 0.01) From 1cc2aebd9f88b29797c00dd37434fce89c1d5f28 Mon Sep 17 00:00:00 2001 From: firestar5683 <168790843+firestar5683@users.noreply.github.com> Date: Sun, 1 Feb 2026 20:14:59 -0600 Subject: [PATCH 3/4] quant --- opendbc/car/gm/interface.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/opendbc/car/gm/interface.py b/opendbc/car/gm/interface.py index 1cb807b279b..fa5e28e7ceb 100755 --- a/opendbc/car/gm/interface.py +++ b/opendbc/car/gm/interface.py @@ -16,7 +16,7 @@ NON_LINEAR_TORQUE_PARAMS = { CAR.CHEVROLET_BOLT_EUV: [2.6531724862969748, 1.0, 0.1919764879840985, 0.009054123646805178], CAR.GMC_ACADIA: [4.78003305, 1.0, 0.3122, 0.05591772], - CAR.CHEVROLET_SILVERADO: [3.29974374, 1.0, 0.25571356, 0.0465122] + CAR.CHEVROLET_SILVERADO: [3.8, 0.81, 0.21, 0.0465122] } From 1948048b3d4032df603d75421971579222b76803 Mon Sep 17 00:00:00 2001 From: elkoled Date: Mon, 2 Feb 2026 15:29:28 -0800 Subject: [PATCH 4/4] Update interface.py --- opendbc/car/gm/interface.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/opendbc/car/gm/interface.py b/opendbc/car/gm/interface.py index fa5e28e7ceb..ba276502c8c 100755 --- a/opendbc/car/gm/interface.py +++ b/opendbc/car/gm/interface.py @@ -16,7 +16,7 @@ NON_LINEAR_TORQUE_PARAMS = { CAR.CHEVROLET_BOLT_EUV: [2.6531724862969748, 1.0, 0.1919764879840985, 0.009054123646805178], CAR.GMC_ACADIA: [4.78003305, 1.0, 0.3122, 0.05591772], - CAR.CHEVROLET_SILVERADO: [3.8, 0.81, 0.21, 0.0465122] + CAR.CHEVROLET_SILVERADO: [3.8, 0.81, 0.24, 0.0465122] }