Skip to content

Setup joystick

Stacy edited this page Dec 16, 2022 · 3 revisions

Joystick setup

  1. Connect your joystick to a car.

  2. First I tested joystick with original donkey software

    • run donkey createjs command in ~/mycar directory

    • map buttons with actions

    • modify myconfig.py to set CONTROLLER_TYPE="custom" to use your my_joystick.py controller

    • run your car with python3 manage.py drive --js command

Keyboard control

  1. Install ros-noetic-teleop-twist-keyboard