|
I have installed raspbian , Python 3 and the Robot app. I cannot see the webserver using IP adress:5000. If I start the server using ssh iget
pi@raspberrypi:~ $ sudo python3 adeept_darkpaw/server/webServer.py
mpu6050 disconnected
mpu6050 is not connected and the related functions are unavailable.
loop
loop
Starting camera thread.
VIDIOC_STREAMON: Invalid argument
Exception in thread Thread-4:
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_darkpaw/server/base_camera.py", line 94, in _thread
for frame in frames_iterator:
File "/home/pi/adeept_darkpaw/server/camera_opencv.py", line 446, in frames
yield cv2.imencode('.jpg', img)[1].tobytes()
cv2.error: OpenCV(3.4.3) /home/pi/opencv-python/opencv/modules/imgcodecs/src/grfmt_base.cpp:145: error: (-10:Unknown error code -10) Raw image encoder error: Empty JPEG image (DNL not supported) in function 'throwOnEror'
Camera works if i put an octoprint card in the pi
Tried 2 pi 4 b 2 gb
If I try killall the ssh trminal disconnects with a time out error
Any help would be very welcome. |
|