Closed tc2n closed 5 years ago
I face same issue
Only ultrasonic_client.py runs when I start stream_client.py it show me error
@tc2n @codeskul See if this is what you encountered on the server side: #176, #185
@hamuchiwa no sir it not work
@codeskul What's the error on the server side?
@hamuchiwa When I start server side code rc_driver.py it don't show any error, in raspberry pi i start ultrasonic_client.py it sends sensor data well, as I start stream_client.py on raspberry pi it stop and show broken pip error on raspberry pi as shown above and at server side it shows system exit as shown above
It stop server side execution when i start raspberry side stream_client.py
@codeskul Have you tried running stream_client first or on linux? This project was only tested on Linux and Mac, it could the way of handling threads is different on windows.
@hamuchiwa ok i will try it on Linux and reply to you
@hamuchiwa I face the same problem on Linux.
I tried to remove the 'stop sign' detection part from the rc_driver.py
file, then I was able to run stream_server.py
file too, but still when I try to run ultrasonic_stream
file I got Broken Pipe error with no error on Server Side (I am unable to run both stream_server.py
and ultrasonic_stream.py
simultaneously).
@tc2n @codeskul My mistake, forgot to put self
before variables in last update. rc_driver.py
has been updated and should be working now.
@tc2n Hi, is your car moving in the correct directions after running rc_driver_nn_only.py?
@ShwetaLalwani When I run model_training on .npz file, sometimes it works fine. But sometimes when I again train the model on the same .npz file my car always moves in the same direction(Always right or Always forward).
My
rc_driver_nn_only.py
file runs fine, but when I try to runrc_driver.py
and runstream_server.py
on the client I get broken pipe error on the client side and server command just terminates without giving any error. This error is generated only when I startstream_server.py
on the client side.