autorope / donkeydocs

Docs for donkeycar
32 stars 130 forks source link

Add instructions for connecting xbox controller to jetson nano #23

Closed Ezward closed 2 years ago

Ezward commented 2 years ago

from https://www.roboticsbuildlog.com/hardware/xbox-one-controller-with-nvidia-jetson-nano

Jetson Nano

Adapted from: https://www.roboticsbuildlog.com/hardware/xbox-one-controller-with-nvidia-jetson-nano

  1. Install these python libraries before we disable ertm.
    sudo apt-get install nano
    sudo apt-get install evtest
  1. Add Non-root access to your input folder:

    sudo usermod -a -G dialout $USER
    sudo reboot
  2. Install sysfsutils

    sudo apt-get install sysfsutils
  3. Edit the config to disable bluetooth ertm

    sudo nano /etc/sysfs.conf
    • Append this to the end of the config
      /module/bluetooth/parameters/disable_ertm=1
  4. Reboot your computer

    sudo reboot
  5. Re-pair the Xbox One Bluetooth Controller

    • Unpair the controller first, then pair it again.

You should now have a solid light on the xbox button and a stable bluetooth connection.

RaspberryPi OS

Ezward commented 2 years ago

Closing. I did a force push and it won't pick up the new commit. So I will reopen a new PR.