bruno147 / fsmdriver

A finite state machine controller for TORCS environment.
3 stars 4 forks source link

FSMDriver

This is an implementation of a SCR client controller using a Finite State Machine. Code was tested on Ubuntu 14.04 with TORCS 1.3.6.

Dependencies

Usage

A Makefile is provided in hopes of simplifying the build process. Assuming you've downloaded the code, FSMDriver can be compiled with:

cd path/to/fsmdriver
make
make DRIVER=FSMDriver5

This creates the default driver executable (FSMDriver3) and also FSMDriver5. To test it (assuming you started a properly configured race), just run:

./bin/FSMDriver3

Documentation

Documentation (and further explanations) for the code is available in the source code files, and can be extracted via Doxygen. The Makefile provides the info target for this, and the output directory can be changed with in the DOC_OUTPUT variable. By default, the documentation is placed in the same directory as the Makefile.

make info DOC_OUTPUT=/doc/fsmdriver