From 7dcbc23732d7dda88cbb04a30d9fae74259ac946 Mon Sep 17 00:00:00 2001 From: Jason Young <46612682+jyoung8607@users.noreply.github.com> Date: Wed, 9 Nov 2022 04:55:37 -0500 Subject: [PATCH] VW PQ: Fix exception with openpilot longitudinal (#26417) * VW PQ: Fix exception in long control * move default value to init old-commit-hash: 34f580e75ee148398e6a44980053c20bf10f9797 --- selfdrive/car/volkswagen/carstate.py | 1 + 1 file changed, 1 insertion(+) diff --git a/selfdrive/car/volkswagen/carstate.py b/selfdrive/car/volkswagen/carstate.py index d09420cf7a..def14ab019 100644 --- a/selfdrive/car/volkswagen/carstate.py +++ b/selfdrive/car/volkswagen/carstate.py @@ -12,6 +12,7 @@ class CarState(CarStateBase): super().__init__(CP) self.CCP = CarControllerParams(CP) self.button_states = {button.event_type: False for button in self.CCP.BUTTONS} + self.esp_hold_confirmation = False def create_button_events(self, pt_cp, buttons): button_events = []