Skip to content

Repository files navigation

Autonomous-Robocar

alt text

Schaltplan v1

alt text

alt text

Needed Libraries

Enable in the Raspberry Pi Config:

  • I2C

Collecting training data

  • for collecting training data run sudo python complete_control.py

Training the network

alt text

  • training the CNN with the gathered data to predict steering angle and acceleration

Predictions and further visualizations

  • after successfully predicting steering angle and acceleration I decided to write the predictions directly on the image

alt text

  • further implemented an arrow that visualizes the direction the network predicted to steer. The length of the arrow as well symbolizes the intensity of acceleration.

alt text

Updates and Changes:

  • trained a smaller model for predictions because loading and calc with the previous model was too calculation costly. Therefore I trained another - smaller model- and increased the size from 331 MB to 1.4 MB. While the accuracy still is up to 92% compared to 97% for the bigger model! huge success in my eyes!

final video output:

Video

TODO:

  • add ultrasonic
  • optimize steering and acceleration adaption