torcs - 1.2.2

tCarCtrl Struct Reference

#include <car.h>

List of all members.


Detailed Description

Info returned by driver during the race.


Public Attributes

tdble steer
 Steer command [-1.0, 1.0].

tdble accelCmd
 Accelerator command [0.0, 1.0].

tdble brakeCmd
 Brake command [0.0, 1.0].

tdble clutchCmd
 Clutch command [0.0, 1.0].

int gear
 [-1,6] for gear selection

int raceCmd
 command issued by the driver

char msg [4][32]
 4 lines of 31 characters 0-1 from car 2-3 from race engine

float msgColor [4]
 RGBA of text.

int lightCmd
 Lights command.


Member Data Documentation

tdble tCarCtrl::accelCmd
 

Accelerator command [0.0, 1.0].

tdble tCarCtrl::brakeCmd
 

Brake command [0.0, 1.0].

tdble tCarCtrl::clutchCmd
 

Clutch command [0.0, 1.0].

int tCarCtrl::gear
 

[-1,6] for gear selection

int tCarCtrl::lightCmd
 

Lights command.

char tCarCtrl::msg[4][32]
 

4 lines of 31 characters 0-1 from car 2-3 from race engine

float tCarCtrl::msgColor[4]
 

RGBA of text.

int tCarCtrl::raceCmd
 

command issued by the driver

tdble tCarCtrl::steer
 

Steer command [-1.0, 1.0].


The documentation for this struct was generated from the following file:
Generated at Thu Feb 26 21:54:14 2004 for torcs by doxygen 1.3.3 written by Dimitri van Heesch, © 1997-1999
TORCS © Eric Espié 1999, 2002.