sundevilrobotics / urc-code

ASU's Sun Devil Robotics Club code for the University Rover Competition
15 stars 4 forks source link

Change chassis to take in cmd_vel instead of joystick data #26

Closed bjrice13 closed 3 years ago

bjrice13 commented 4 years ago

Update:

Joystick currently produces joystick data mapped to topics /joy0, /joy1, etc. but chassis is controlled by joyDataLeft and joyDataRight in Chassis::chatterCallback(). Chassis should be rewritten to have a separate node to handle joystick-to-cmd_vel which is then subscribed to by the chassis control node (which is currently named Chassis::tank_drive()).