Xboxcontroller

From RobotinoWiki
Revision as of 11:01, 25 March 2019 by Verbeek (talk | contribs) (Ubuntu 16.04)

Introduction

Xbox bluetooth 64.png This page explains how to connect a XBox One Controller to Robotino via Bluetooth.

Bluetooth USB adapter

  • Asus BT211

XBox Wireless Controller

Xboxcontroller with bluetooth.png

Your controller must look like the controller marked with the blue rectangle. Only these devices support bluetooth.

Ubuntu 16.04

apt-get install sysfsutils
echo "module/bluetooth/parameters/disable_ertm=1" >> /etc/sysfs.conf

After editing /etc/sysfs.conf reboot Robotino. Power on your XBox controller. Press your XBox controller's connect button for 3 seconds. Xbox controller connect button.png

Click the bluetooth symbol in the upper right corner of the Ubuntu desktop and select bluetooth settings. Ubutnu 1604 bluetooth.png

Add a new device by clicking the "+" button. Select your xbox controller. Xbox controller bluetooth settings.png

After reboot or when your XBox controller powered off you have to establish the bluetooth connection again. Press the connect button at the XBox controller. Than go to Ubuntu bluetooth settings, select you XBox controller and change "Connection" from "off" to "on".