From fd130642b6f221d15cbc44d3feaf58d2286c07ab Mon Sep 17 00:00:00 2001 From: Shane Smiskol Date: Mon, 4 Dec 2023 23:16:33 -0600 Subject: [PATCH] joystick: bump max angle (#30602) old-commit-hash: 09a9ba6de1603fbcda0f883d5298b3f80f8295e1 --- selfdrive/controls/controlsd.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/selfdrive/controls/controlsd.py b/selfdrive/controls/controlsd.py index a0bfbcd837..6f2ae6aa3a 100755 --- a/selfdrive/controls/controlsd.py +++ b/selfdrive/controls/controlsd.py @@ -633,7 +633,7 @@ class Controls: if CC.latActive: steer = clip(joystick_axes[1], -1, 1) # max angle is 45 for angle-based cars, max curvature is 0.02 - actuators.steer, actuators.steeringAngleDeg, actuators.curvature = steer, steer * 45., steer * -0.02 + actuators.steer, actuators.steeringAngleDeg, actuators.curvature = steer, steer * 90., steer * -0.02 lac_log.active = self.active lac_log.steeringAngleDeg = CS.steeringAngleDeg