View: 674|Reply: 2

RaspTank shows no response when booting.

[Copy link]

1

Threads

2

Posts

13

Credits

Newbie

Rank: 1

Credits
13
Post time 2021-6-16 12:39:58 | Show all posts |Read mode
RaspTank shows no response when booting.


Hello,

After installation, the robot shows no response when booting, so there is no debug of the servo. Starting webServer.py manually I get the script below. Can you help, please. Thanks!

pi@piTank:~ $ sudo python3 Downloads/adeept_rasptank/server/webServer.py
......................pause..........................
Starting camera thread.
OLED disconnected
OLED\u6ca1\u6709\u8fde\u63a5
Exception in thread Thread-9:
Traceback (most recent call last):
  File "/usr/lib/python3.7/threading.py", line 917, in _bootstrap_inner
    self.run()
  File "/home/pi/Downloads/adeept_rasptank/server/OLED.py", line 49, in run
    with canvas(device) as draw:
NameError: name 'device' is not defined

......................pause..........................
* Serving Flask app "app" (lazy loading)
* Environment: production
   WARNING: Do not use the development server in a production environment.
192.168.0.21
   Use a production WSGI server instead.
* Debug mode: off
* Running on http://0.0.0.0:5000/ (Press CTRL+C to quit)
waiting for connection..
^CTraceback (most recent call last):
  File "Downloads/adeept_rasptank/server/webServer.py", line 557, in <module>
    asyncio.get_event_loop().run_forever()
  File "/usr/lib/python3.7/asyncio/base_events.py", line 539, in run_forever
    self._run_once()
  File "/usr/lib/python3.7/asyncio/base_events.py", line 1739, in _run_once
    event_list = self._selector.select(timeout)
  File "/usr/lib/python3.7/selectors.py", line 468, in select
    fd_event_list = self._selector.poll(timeout, max_ev)
KeyboardInterrupt
Reply

Use magic Report

1

Threads

2

Posts

13

Credits

Newbie

Rank: 1

Credits
13
 Author| Post time 2021-6-21 23:58:44 | Show all posts
I haven't got any response here and spent hours trying myself and reading in this forum without success. From the amount of posted problems in this forum I conclude: Your programming is absolute SHIT !!! I throw that junk tank away and never buy anything again from adeept !
Reply

Use magic Report

0

Threads

1

Posts

8

Credits

Newbie

Rank: 1

Credits
8
Post time 2021-6-25 17:03:26 | Show all posts
Make a weekly plan to be effective in work and your life
cookie clicker
Reply

Use magic Report

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

Points Rules