hamuchiwa / AutoRCCar

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

Differential Motor rather than RC Car #41

Open 094459 opened 7 years ago

094459 commented 7 years ago

I am trying to get this working using a simple robot that is using two DC motors, rather than an RC car.

I have created a websocket library that controls the robot - it listens for "0" Left, "1" Right, "2" Forward, etc and I have modified the collect, rc_driver scripts to send the control signals to the websocket service.

It all works great - I can test the driving using the test_rc script, I can collect data - all good. I run the training data and get good figures (90% and 74% accuracy). However, when I then go and run the rc_driver script, it all goes very wrong.

The robot appears to drive very randomly.

Things I have tried:

a) reset and re calibrated the camera using my chessboard printout b) removed and retrained data, positioning the camera in different view points c) tweaked the robot movement scripts

All these have failed, so I wanted to ask whether there are any points on how to troubleshoot the actual autonomous driving part of the script. Any guidance greatly appreciated.

Gooose1909 commented 6 years ago

Can u share your code to Sugan170@gmail.com I can try to help u

mandalraju commented 6 years ago

can you share the code. @ rajumandal036@gmail.com I would love to have a look at it and help in any way i can.