So I tried with a wireless and a wired connection :
1. My raspberry pi board with the Luos module is connected to a USB port on my computer
With Ubuntu and Jupyter, the following line returned an access problem : robot = Robot(’/dev/ttyS4’)
So I tried :
dmesg | grep tty
(only the tty0 and the ttyS4 ports are listed)
ls -la /dev/ttyS4
(returns crw-rw---- 1 root dialout)
sudo chmod 777 /dev/ttyS4
sudo reboot -h now
Now the command runs indefinitely. I also tried to physically change the USB port I plug the board into.
2. The raspberry pi board and the computer are on the same 2.4 Ghz wireless network.
robot = Robot(‘192.168.43.227’)
Sometimes it runs indefinitely and sometimes it returns :
ConnectionRefusedError: [Errno 111] Connection refused
ConnectionRefusedError: [WinError 10061] No connection could be made because the target machine actively refused it
(On windows 10)
Any idea on how to solve that problem ?
Also, the documentation is rather light … So it’s hard to debug when we don’t know much about what’s going on under the hood.
Thanks for the help !