Fixed joystickd.py incorrect steering control (#30879)

pull/30842/head^2
Sliicy 1 year ago committed by GitHub
parent d3cdd837fa
commit 6ccf2cbfde
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
  1. 2
      tools/joystick/joystickd.py

@ -47,7 +47,7 @@ class Joystick:
else:
self.cancel_button = 'BTN_TRIGGER'
accel_axis = 'ABS_Y'
steer_axis = 'ABS_RZ'
steer_axis = 'ABS_RX'
self.min_axis_value = {accel_axis: 0., steer_axis: 0.}
self.max_axis_value = {accel_axis: 255., steer_axis: 255.}
self.axes_values = {accel_axis: 0., steer_axis: 0.}

Loading…
Cancel
Save