|
Edited by 1585597812 at 2020-4-6 04:30 AM
sudo python3.7 Adeept_PiCar-B/server/server.py
mpu6050 disconnected.
192.168.0.54
waiting for App connection...
192.168.0.54
waiting for connection...
...connected from : ('192.168.0.63', 50058)
192.168.0.63
Right
stop
Left
stop
auto
forward
stop
Stop
stop
Exception in thread Thread-6:
Traceback (most recent call last):
File "/usr/lib/python3.7/threading.py", line 917, in _bootstrap_inner
self.run()
File "/usr/lib/python3.7/threading.py", line 865, in run
self._target(*self._args, **self._kwargs)
File "Adeept_PiCar-B/server/server.py", line 286, in info_send_client
Info_Socket.connect(SERVER_ADDR)
TimeoutError: [Errno 110] Connection timed out
The server completely ignores the stop command
I also get this on the client side, not sure if its related.
Connecting to server @ 192.168.0.54:10223...
Connecting
Connected
Video Connected
C:\Adeept_PiCar-B-V1.0\code\Adeept_PiCar-B-master\client\client.py:55: DeprecationWarning: The binary mode of fromstring is deprecated, as it behaves surprisingly on unicode inputs. Use frombuffer instead
npimg = np.fromstring(img, dtype=np.uint8)
My environment
Raspberry Pi 4-B
Raspbian GNU/Linux 10 (buster) - Newest release |
|