From 4fa75f52d52fe2816bbdbe7d482499ae1861a9a1 Mon Sep 17 00:00:00 2001 From: Your Name Date: Sat, 18 May 2024 02:40:57 -0500 Subject: [PATCH] wip --- selfdrive/car/hyundai/carcontroller.py | 1 + selfdrive/ui/ui.cc | 4 ++-- 2 files changed, 3 insertions(+), 2 deletions(-) diff --git a/selfdrive/car/hyundai/carcontroller.py b/selfdrive/car/hyundai/carcontroller.py index 94e4dfb..2955ee7 100755 --- a/selfdrive/car/hyundai/carcontroller.py +++ b/selfdrive/car/hyundai/carcontroller.py @@ -185,6 +185,7 @@ class CarController(CarControllerBase): can_sends = [] if use_clu11: if CC.cruiseControl.cancel: + print("Cancel executed") can_sends.append(hyundaican.create_clu11(self.packer, self.frame, CS.clu11, Buttons.CANCEL, self.CP)) CS.lkas_trigger_result = 5 elif CC.cruiseControl.resume: diff --git a/selfdrive/ui/ui.cc b/selfdrive/ui/ui.cc index 6c4034d..f2b2f35 100755 --- a/selfdrive/ui/ui.cc +++ b/selfdrive/ui/ui.cc @@ -121,8 +121,8 @@ void update_model(UIState *s, } else { path = CENTER_LANE_WIDTH; } - - path = 70; + + path = 7; auto lead_count = model.getLeadsV3().size(); if (lead_count > 0) {