From b344c53990edee62a9969e9e8c1897dc1395dac9 Mon Sep 17 00:00:00 2001 From: actuallylemoncurd Date: Sat, 5 Oct 2024 13:31:04 -0400 Subject: [PATCH] VW PQ: update carAPI signal values again --- selfdrive/car/volkswagen/carcontroller.py | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/selfdrive/car/volkswagen/carcontroller.py b/selfdrive/car/volkswagen/carcontroller.py index 933be3ffdaecbd..e05b18c909d1cf 100644 --- a/selfdrive/car/volkswagen/carcontroller.py +++ b/selfdrive/car/volkswagen/carcontroller.py @@ -31,9 +31,9 @@ def __init__(self, dbc_name, CP, VM): self.last_button_frame = 0 self.accel_last = 0 - self.deviationBP = [-0.3, -0.2, -0.1, 0.] # accel (m/s squared) - self.deviationV = [0., 0.1, 0.13, 0.15] # comfort-band (m/s squared) - self.rateLimitBP = [-1.3, -0.8, -0.3, 0.] # accel (m/s squared) + self.deviationBP = [-0.16, -0.13, -0.05, 0.] # accel (m/s squared) + self.deviationV = [0., 0.08, 0.14, 0.15] # comfort-band (m/s squared) + self.rateLimitBP = [-0.5, -0.3, -0.1, 0.] # accel (m/s squared) self.ratelimitV = [4., 2., 0.75, 0.50] # jerk-limits (m/s squared) # SMA to EMA conversion: alpha = 2 / (n + 1) n = SMA-sample self.longSignalSmooth = 0.00995 # closer to 0 = more smoothing, 1 = no smoothing (eq = 200 SMA-sample)