robotology/assistive-rehab

Investigate the possibility to replace the Wi-Fi buttons

mfussi66 opened this issue ยท 3 comments

The MyStrom Wifi Button that is now used to trigger the speech interaction in the TUG demo takes a long time to configure, needs a phone app, and requires internet connection to work in a reasonable timeframe. Additionally, it requires dedicated yarp JS code.

It might be useful to investigate if it can be replaced by a simpler device, for example a bluetooth joystick. Joysticks can be easily handled by yarp, since the dedicated device is already written, and the configuration supports launching rpcs natively (through shell scripts).

cc @pattacini @randaz81 @elandini84 @ste93 .

This little device called 8BitDo works well as a bluetooth joystick on Linux. We can configure it to send speech triggers through one of the buttons, like the right top one.

PXL_20230110_120640069.jpg

Just created the proper config file that mimicks the wifi button. By pressing the Right trigger, the joystickCtrl sends the message trigger, just like before towards the same managerTUG port. PR to be opened asap.

joy-2023-01-17_15.56.51.mp4

Integrated via: