joystick: bump max angle (#30602)
old-commit-hash: 09a9ba6de1603fbcda0f883d5298b3f80f8295e1
This commit is contained in:
@@ -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
|
||||
|
||||
Reference in New Issue
Block a user