Self-driving-car-simulation-AI
First to install the required packages from the below command
pip install requirements.txt
To run the program , run this command from the root directory
python3 src/main.py
We have simulated a self driving car using NEAT algorithm
Challenges Faced
Reward Function
- Reward Function is based on the distance covered by the agent.
Updated reward function:
- based on laps covered and distance travelled.
Performance
Elimination of Species
Reward Function
$$Reward = D + \sum_{each frame} L * Lap Reward $$
Inputs
- Ray cast 1(Front)
- Ray cast 2(Front-right)
- Ray cast 3(Front-left)
- Ray cast 4(Right)
- Ray cast 5(Left)
- Speed of the car
outputs
- Steering value
- Acceleration value