From f2fe22b26453feb77815c4f2104b440c9964f634 Mon Sep 17 00:00:00 2001 From: Your Name Date: Sat, 18 May 2024 01:48:37 -0500 Subject: [PATCH] wip --- selfdrive/car/hyundai/carstate.py | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/selfdrive/car/hyundai/carstate.py b/selfdrive/car/hyundai/carstate.py index 0d18468..9b504c3 100755 --- a/selfdrive/car/hyundai/carstate.py +++ b/selfdrive/car/hyundai/carstate.py @@ -303,8 +303,8 @@ class CarState(CarStateBase): # and cruise can already be enabled when openpilot starts. This compensates for that behavior. # Block attempt to engage if already engaged according to cruise state - if ret.cruiseState.speed > 0 and self.main_enabled == False: - self.main_buttons[-1] = 0 + # if ret.cruiseState.speed > 0 and self.main_enabled == False: + # self.main_buttons[-1] = 0 # Block attempt to engage if breaks are pressed if self.main_buttons[-1] != 0 and ret.brakePressed and self.main_enabled == False: