Skip to content

Commit

Permalink
body: remove orientation/angular velocity checks (#1267)
Browse files Browse the repository at this point in the history
Do not check for llk
  • Loading branch information
fredyshox authored Sep 24, 2024
1 parent 0b7648a commit 090f476
Showing 1 changed file with 1 addition and 2 deletions.
3 changes: 1 addition & 2 deletions opendbc/car/body/carcontroller.py
Original file line number Diff line number Diff line change
Expand Up @@ -98,8 +98,7 @@ def update(self, CC, CS, now_nanos):
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.
Expand Down

0 comments on commit 090f476

Please sign in to comment.