I see there is no python interpreter on the rp and the python sockets library is being used so I assume the idea is the scripts are interpreted remotely and control the rp over a network? I'm running the scripts on a Linux box which is connected to the rp through wired Ethernet cable. I can ssh into and have successfully cross compiled and ran c programs on it - so the connection is fine.
I change the IP address in the linked example to 192.168.1.100 then run the script and get the error;
Code: Select all
Traceback (most recent call last):
File "test.py", line 61, in <module>
rp_s.rp_write(rp_s.choose_state(str(i), 1))
File "test.py", line 40, in rp_write
return self._socket.send(message)
socket.error: [Errno 32] Broken pipe