newer platforms has pause/resume

This commit is contained in:
Jason Wen
2024-09-14 22:44:13 -04:00
parent be46484b6e
commit 5135802760
@@ -13,7 +13,7 @@ class CustomStockLongitudinalController(CustomStockLongitudinalControllerBase):
super().__init__(car, car_controller, car_state, CP)
self.accel_button = Buttons.RES_ACCEL
self.decel_button = Buttons.SET_DECEL
self.set_speed_buttons = (ButtonType.accelCruise, ButtonType.decelCruise)
self.set_speed_buttons = (ButtonType.accelCruise, ButtonType.decelCruise, ButtonType.cancel)
def create_can_mock_button_messages(self) -> list[SendCan]:
can_sends = []