Reaktor race-condition: Difference between revisions

From wikiluntti
Line 25: Line 25:
* Distance to some black; about 15.  
* Distance to some black; about 15.  


https://www.youtube.com/watch?v=a8Bo2DHrrow
A.I. teaches itself to drive in Trackmania: https://www.youtube.com/watch?v=a8Bo2DHrrow
* The neat algorithm: https://neat-python.readthedocs.io/en/latest/neat_overview.html
* Input: Wall distances and speed (shown at t=1.01; 7 or 15 distances)
* 8 inputs (distances and speed) -> 3 outputs (left, right, throttle)
*


https://www.youtube.com/results?search_query=neat+algorithm+game
https://www.youtube.com/results?search_query=neat+algorithm+game

Revision as of 15:07, 12 May 2023

Introduction

https://race-condition.reaktor.com/play

Input data

  • FPV view
  • speed?
  • best lap time, last lap time?

Output

  • throttle
  • steering

Theory

Rules

PID algorithm

PID to stay in the blue area.

NEAT algorithm

Input

  • Distance to some black; about 15.

A.I. teaches itself to drive in Trackmania: https://www.youtube.com/watch?v=a8Bo2DHrrow

https://www.youtube.com/results?search_query=neat+algorithm+game