From 9f8e449b062b0db8641bcd6acf40cbcc57f33f20 Mon Sep 17 00:00:00 2001 From: actuallylemoncurd Date: Sat, 14 Dec 2024 09:53:54 -0500 Subject: [PATCH] VW PQ: undo force filter --- selfdrive/car/volkswagen/carcontroller.py | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/selfdrive/car/volkswagen/carcontroller.py b/selfdrive/car/volkswagen/carcontroller.py index f9f0ef8c886f8c..4b6480631a04b9 100644 --- a/selfdrive/car/volkswagen/carcontroller.py +++ b/selfdrive/car/volkswagen/carcontroller.py @@ -308,9 +308,9 @@ def update(self, CC, CS, now_nanos): if CS.acc_anz_stock["COUNTER"] != self.acc_anz_counter_last: can_sends.append(self.CCS.filter_ACC_Anzeige(self.packer_pt, CANBUS.pt, CS.acc_anz_stock, self.ACC_anz_blind)) 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, active = CS.acc_sys_stock["ACS_Sta_ADR"] == 1)) + 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, active = CS.acc_sys_stock["ACS_Sta_ADR"] == 1)) + can_sends.append(self.CCS.filter_bremse8(self.packer_pt, CANBUS.cam, CS.bremse8_stock, self.EPB_active)) if CS.bremse11_stock["COUNTER"] != self.bremse11_counter_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: