Skip to content
/ AICar Public

Teaching a car to drive with Neural Network using neat and pygame.

Notifications You must be signed in to change notification settings

TTL30/AICar

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

22 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

AICar

Descripiton :

Autonomus car project using Pygame and Neat.
I wanted to realize this project after seeing a video on youtube : https://www.youtube.com/watch?v=r428O_CMcpI, code Bullet video.
Documentation for Neat : https://neat-python.readthedocs.io/en/latest/
Documentation for Pygame : https://www.pygame.org/docs/
Help source : https://github.com/monokim/framework_tutorial/tree/master/neat
source and credits for cicuit image : https://scalextricdigital.weebly.com/8x4-layouts.html
source and credits fro the car image : https://freesvg.org/yellow-car-top-view-remix

Demo:

demo Video

The Car :

alt text

  • 4 collisions points (green)
  • 5 sensors (red)

Our Neural Networks is fed with data from sensors, the distance between the car and a wall.

The Neural Network :

alt text

  • Activation function : tanh
  • Population size = 30
  • nb_max generation = 50

Futur ?

  • Manage the speed and angle of the car when its running
  • Draw is own circuit before the race

About

Teaching a car to drive with Neural Network using neat and pygame.

Topics

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages