|
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 |
|