mirror of
https://github.com/firestar5683/StarPilot.git
synced 2026-07-06 05:52:12 +08:00
VW PQ: Fix exception with openpilot longitudinal (#26417)
* VW PQ: Fix exception in long control * move default value to init old-commit-hash: 34f580e75ee148398e6a44980053c20bf10f9797
This commit is contained in:
@@ -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 = []
|
||||
|
||||
Reference in New Issue
Block a user