LitControl needs to allow the user to remotely select a file to be played on LitSpin. On this purpose, I created this simple remote file picker in C++/Qt.
It uses ssh to remotely list the files in the selected directory and launch a program with the file chosen by the user as an argument. Since out HPS runs on Linux, this is a viable option to simply remote control what is being played on LitSpin.
We will however have to be careful to terminate the previous program running before launching another one (as the 2019 Télécom Robotics team can testify).