|
Hi,
The github code for adeept_awr for Smart 4 Whl Car does not work for Ultrasonic, Camera, or info threads on Raspberry Pi 3B. The server keeps giving below error.
pi@raspberrypi:~ $ sudo python3 //home/pi/adeept_awr/server/server.py
192.168.2.24
waiting for connection...
...connected from : ('192.168.2.16', 54762)
192.168.2.16
Exception in thread Thread-2:
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 "//home/pi/adeept_awr/server/server.py", line 103, in info_send_client
Info_Socket.connect(SERVER_ADDR)
TimeoutError: [Errno 110] Connection timed out
Exception in thread Thread-3:
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 "//home/pi/adeept_awr/server/server.py", line 119, in ultra_send_client
ultra_Socket.connect(ultra_ADDR)
TimeoutError: [Errno 110] Connection timed out
I checked the other thread and added a sleep(1) in the threads and it still does not solve the issue. I believe this is a generic problem that all are facing on Pi 3B and I request Adeept to solve the issue in GitHub or at least provide the solution with attached updated files.
I am struggling with this since 4 days and would like to here back as soon as possible with some solution. Thank you.
|
|