hamuchiwa / AutoRCCar

OpenCV Python Neural Network Autonomous RC Car
BSD 2-Clause "Simplified" License
3.34k stars 1.47k forks source link

Problem streaming in rc_driver.py #150

Closed sundar19 closed 5 years ago

sundar19 commented 5 years ago

Exception happened during processing of request from ('192.168.0.2', 39178) Traceback (most recent call last): File "C:\Python27\lib\SocketServer.py", line 290, in _handle_request_noblock self.process_request(request, client_address) File "C:\Python27\lib\SocketServer.py", line 318, in process_request self.finish_request(request, client_address) File "C:\Python27\lib\SocketServer.py", line 331, in finish_request self.RequestHandlerClass(request, client_address, self) File "C:\Python27\lib\SocketServer.py", line 652, in init self.handle() File "C:\Python27\rc_driver.py", line 157, in handle sys.exit() SystemExit

Mr.Hamuchiwa, I found that ServerSocket gets the ultrasonic data but not the videostreaming data,while this works in stream_server_test.py program,please respond Thank You

sundar19 commented 5 years ago

And why do you use serversocket instead only socket is enough?

hamuchiwa commented 5 years ago

No particular reason, it just simplifies things a bit.