Python3 with socketIO and inputs library to read joystick input and pass it to server via socketIO
908
Microservice which reads the input of a connected Thrustmaster. Commands are transferred via socketIO to a MultiWii or Betaflight compatible Device.
Device wasnt showed as /dev/ttyUSB0. According to website (https://www.linuxquestions.org/questions/linux-server-73/ttyusb0-not-showing-up-in-dev-827416/):
mknod /dev/ttyUSB0 c 188 0
docker build -t cmb87/skylink-thrustmaster:latest -f docker/Dockerfile .
docker run --privileged -v /dev:/dev -e ENV_SOCKETIOSERVER="192.168.2.138" joystick:latest
docker push cmb87/skylink-thrustmaster:latest
Content type
Image
Digest
Size
36.3 MB
Last updated
over 5 years ago
docker pull cmb87/skylink-thrustmaster