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.
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.