Mylab6 / ml-simple-driver

Basic car controls for Unity ML-Agents

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

Simple Driver

This is a basic car controller demo for Unity Machine Learning Agents v0.12.

The driver agent can control acceleration and steering, while observing the road either with raycasts or cameras. The raycast detection method is fitted to the specific road type (using spline points) and probably won't generalize well to other situations. The project contains pretrained models for both setups which are trained up to a point where they can manage the easier track layouts, but still fail on the more curved ones. Road generation and raycast detection code are stripped down versions of what was used for this project.

Dependencies:
https://github.com/Unity-Technologies/ml-agents/releases/tag/0.12.0

About

Basic car controls for Unity ML-Agents

License:Apache License 2.0


Languages

Language:C# 97.0%Language:ShaderLab 3.0%