robotology / assistive-rehab

Assistive and Rehabilitative Robotics
https://robotology.github.io/assistive-rehab/doc/mkdocs/site
BSD 3-Clause "New" or "Revised" License
21 stars 11 forks source link

Add configuration for 8bitdo joystick to use as trigger #343

Closed mfussi66 closed 1 year ago

mfussi66 commented 1 year ago

This PR adds the necessary files to use the 8bitDo joystick as a speech trigger for the TUG demo. Related issue: https://github.com/robotology/assistive-rehab/issues/331

The device can be easily paired with a Ubuntu machine through the GUI. Pairing through the command line needs the following terminal commands:

$ bluetoothctl

Now type devices to list the available devices to be paired. The joystick will show up as either 8bitDo or Pro Controller as name, but the mac address should be the same.

Device <MAC Address> 8BitDo

Then run the commands

# pair <MAC address>
# trust <MAC address>

and it's done.

mfussi66 commented 1 year ago

cc @randaz81 @elandini84 @ste93

pattacini commented 1 year ago

Merging straight away as two new files won't hurt anyway.