View: 1133|Reply: 2

Adeept_AWR issue

[Copy link]

1

Threads

3

Posts

15

Credits

Newbie

Rank: 1

Credits
15
Post time 2020-5-15 23:55:00 | Show all posts |Read mode
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.

Reply

Use magic Report

1

Threads

3

Posts

15

Credits

Newbie

Rank: 1

Credits
15
 Author| Post time 2020-5-19 23:33:20 | Show all posts
For those who are also struggling, just an update that this was partially anti-virus firewall issue. My laptop had block on incoming connections so when pi client tried to connect, connections timed out. I changed firewall settings to make at least ultrasonic sensor and info threads working. Still struggling with Video though!
Reply

Use magic Report

23

Threads

223

Posts

814

Credits

Senior member

Rank: 4

Credits
814
Post time 2021-2-5 18:24:18 | Show all posts
1589403737 replied at 2020-5-19 11:33 PM
For those who are also struggling, just an update that this was partially anti-virus firewall issue. ...

Please provide us with a detailed report (including product model, error report, pictures, etc.): support@adeept.com
Reply

Use magic Report

You have to log in before you can reply Login | Sign Up

Points Rules