mirror of https://github.com/commaai/openpilot.git
Fixed joystickd.py incorrect steering control (#30879)
old-commit-hash: 6ccf2cbfde
This commit is contained in:
parent
8c9ca9c7be
commit
fc2e961f1b
|
@ -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…
Reference in New Issue