Skip to content

A finite state machine controller for TORCS environment.

Notifications You must be signed in to change notification settings

gnramos/FSMDriver

 
 

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

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

  • TORCS 1.3.4 (or higher). Be sure to install it from the Source Package, and not a binary distribution (better yet, use the instructions below for installing the SCR patch).
  • SCR patch as described in "Simulated Car Racing Championship Competition Software Manual" (v2 - April 2013),

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=FSMDriver3

This creates the default driver executable (FSMDriver3). 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

Also there is avaiable the work report about the modularization of the (FSMDriver3) at the file "Relatório de trabalho.pdf"

About

A finite state machine controller for TORCS environment.

Resources

Stars

Watchers

Forks

Packages

No packages published

Languages

  • C++ 97.9%
  • Makefile 2.1%