Skip to content

Commit

Permalink
Fix left / right steering on xBox-Controller
Browse files Browse the repository at this point in the history
  • Loading branch information
0xD0M1M0 authored Dec 29, 2022
1 parent 3698d76 commit 9734a8a
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions src/joystick_parser_node.py
Original file line number Diff line number Diff line change
Expand Up @@ -64,7 +64,7 @@ def callback(data):
controller_funtion_map = {
"x_axis": 0,
"y_axis": 1,
"invert_x_axis": True,
"invert_x_axis": False,
"X_button": 2,
"Y_button": 3,
"A_button": 0,
Expand Down Expand Up @@ -165,4 +165,4 @@ def callback(data):
sub = rospy.Subscriber("/joy", Joy, callback, queue_size=1)
pub = rospy.Publisher('/rover_command', RoverCommand, queue_size=1)

rospy.spin()
rospy.spin()

0 comments on commit 9734a8a

Please # to comment.