TORCS  1.3.9
The Open Racing Car Simulator
tCarCtrl Struct Reference

Info returned by driver during the race. More...

#include <car.h>

Public Attributes

tdble steer
 Steer command [-1.0, 1.0]. More...
 
tdble accelCmd
 Accelerator command [0.0, 1.0]. More...
 
tdble brakeCmd
 Brake command [0.0, 1.0]. More...
 
tdble clutchCmd
 Clutch command [0.0, 1.0]. More...
 
int gear
 [-1,6] for gear selection More...
 
int raceCmd
 command issued by the driver More...
 
char msg [4][32]
 4 lines of 31 characters 0-1 from car 2-3 from race engine More...
 
float msgColor [4]
 RGBA of text. More...
 
int lightCmd
 Lights command. More...
 
int brakeRepartitionCmd
 Brake balance "clicks", positive is to the front. More...
 

Detailed Description

Info returned by driver during the race.

Definition at line 344 of file car.h.

Member Data Documentation

◆ accelCmd

tdble tCarCtrl::accelCmd

Accelerator command [0.0, 1.0].

Definition at line 346 of file car.h.

◆ brakeCmd

tdble tCarCtrl::brakeCmd

Brake command [0.0, 1.0].

Definition at line 347 of file car.h.

◆ brakeRepartitionCmd

int tCarCtrl::brakeRepartitionCmd

Brake balance "clicks", positive is to the front.

Definition at line 359 of file car.h.

◆ clutchCmd

tdble tCarCtrl::clutchCmd

Clutch command [0.0, 1.0].

Definition at line 348 of file car.h.

◆ gear

int tCarCtrl::gear

[-1,6] for gear selection

Definition at line 349 of file car.h.

◆ lightCmd

int tCarCtrl::lightCmd

Lights command.

Definition at line 356 of file car.h.

◆ msg

char tCarCtrl::msg[4][32]

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

Definition at line 353 of file car.h.

◆ msgColor

float tCarCtrl::msgColor[4]

RGBA of text.

Definition at line 355 of file car.h.

◆ raceCmd

int tCarCtrl::raceCmd

command issued by the driver

Definition at line 350 of file car.h.

◆ steer

tdble tCarCtrl::steer

Steer command [-1.0, 1.0].

Definition at line 345 of file car.h.


The documentation for this struct was generated from the following file: