Self Driving Car Simulation
Self Driving Car using Genetic Algorithm
Github Repository (Unreal Engine 4)
Unity 3D
Implemented Genetic Algorithm in Unity using the "Math.net Numerics" library which is a open source library for .NET and mono. It's almost similar to the implementation done in UE4, although this is entirely coded in C#. The Genetic Algorithm uses distance driven from the driving line for reward (fitness) function, collision detection and current distance from driving line as inputs. All simulation results are saved each time using the Newtonsoft.JSON nuget plugin for Unity.
Tech Stack
- Unity3D
- Math.net Numerics Library
Unreal Engine 4
The Genetic algorithm's neural network is based on UE4's blueprints. Utilizing UE4's Advanced Vehicle template.