From 1b5207bd033e2ff57f2b0644e88df1c3e593a739 Mon Sep 17 00:00:00 2001 From: actuallylemoncurd Date: Sun, 15 Dec 2024 13:54:02 -0500 Subject: [PATCH] VW PQ: make bremse8 signals filter when stopped --- selfdrive/car/volkswagen/carcontroller.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/selfdrive/car/volkswagen/carcontroller.py b/selfdrive/car/volkswagen/carcontroller.py index f0851e7a7a0310..1e41ebbc740374 100644 --- a/selfdrive/car/volkswagen/carcontroller.py +++ b/selfdrive/car/volkswagen/carcontroller.py @@ -310,7 +310,7 @@ def update(self, CC, CS, now_nanos): if self.frame % 2 or CS.motor2_stock != getattr(self, 'motor2_last', CS.motor2_stock): # 50hz / 20ms can_sends.append(self.CCS.filter_motor2(self.packer_pt, CANBUS.cam, CS.motor2_stock, self.EPB_active)) if CS.bremse8_stock["COUNTER"] != self.bremse8_counter_last: - can_sends.append(self.CCS.filter_bremse8(self.packer_pt, CANBUS.cam, CS.bremse8_stock, self.EPB_active)) + can_sends.append(self.CCS.filter_bremse8(self.packer_pt, CANBUS.cam, CS.bremse8_stock, self.stopped)) if self.frame % 10 or CS.bremse11_stock != self.bremse11_last: can_sends.append(self.CCS.filter_bremse11(self.packer_pt, CANBUS.cam, CS.bremse11_stock, self.stopped)) if CS.gra_stock_values["COUNTER"] != self.gra_acc_counter_last: