body: remove orientation/angular velocity checks (#1267)

Do not check for llk
This commit is contained in:
Kacper Rączy 2024-09-23 20:34:58 -07:00 committed by GitHub
parent 0b7648ad2c
commit 090f476688
No known key found for this signature in database
GPG Key ID: B5690EEEBB952194
1 changed files with 1 additions and 2 deletions

View File

@ -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.