From 090f476688f5a0d985440c6d88a887ae2ce5f159 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Kacper=20R=C4=85czy?= Date: Mon, 23 Sep 2024 20:34:58 -0700 Subject: [PATCH] body: remove orientation/angular velocity checks (#1267) Do not check for llk --- opendbc/car/body/carcontroller.py | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) diff --git a/opendbc/car/body/carcontroller.py b/opendbc/car/body/carcontroller.py index a311304e..76c6bb97 100644 --- a/opendbc/car/body/carcontroller.py +++ b/opendbc/car/body/carcontroller.py @@ -98,8 +98,7 @@ class CarController(CarControllerBase): torque_l = 0 torque_r = 0 - llk_valid = len(CC.orientationNED) > 1 and len(CC.angularVelocity) > 1 - if CC.enabled and llk_valid: + if CC.enabled: # Read these from the joystick # TODO: this isn't acceleration, okay? speed_desired = CC.actuators.accel / 5.