rc_driver_nn_only.py runs fine but problem with rc_driver.py
tc2n opened this issue · 16 comments
My rc_driver_nn_only.py
file runs fine, but when I try to run rc_driver.py
and run stream_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 start stream_server.py
on the client side.
I face same issue
Only ultrasonic_client.py runs when I start stream_client.py it show me error
@hamuchiwa no sir it not work
@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
@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 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).