Skip to content
Crestani edited this page Jun 11, 2015 · 1 revision

Welcome to the driver-ga wiki!

This page contain the information this group used to develop the driver, including references, such as articles, books, and sites. It also explaned here how it was useful to the build the driver.

Since this work indent to create a controller to the environment torcs it was a excellent source the TORCS Official Website[1]. It provide data of tracks, races, cars, previews controllers and the simulator TORCS itself. The main motivation to build a driver at torcs may be te fact it is a common benchmark to AIs worldwise know, the Simulation Car Racing Championship(SCR)[2] is the event where controllers compete.In order to build the driver it is useful look for previews controllers at SCR[3].

Develop a drive without any code to base is a diffucult task, aiming to a starting point at the implementation it possible to use loiacano files of the "Simpledriver"[4]. This code might help to understand the UDP connection to TORCS, basic classes organization, and the input/output used at the environment.

The implementation of the controller was based at a Finite State Machine, the code used was inspired at the examples at the book Programming Game AI by example[5]. It is important to emphasize the complex behavour of the controller need to a set of parameters that associate sensors values to actuators values, in order to evolve the driver a Evolutionary Algorithm has been made to obtation optimal parameters, the first step to create it can be found at AI-junkie[6].

Clone this wiki locally