torcs - 1.2.2

src/modules/simu/simuv3/sim.h File Reference

#include <math.h>
#include <stdio.h>
#include <string.h>
#include <tgf.h>
#include <track.h>
#include <car.h>
#include <raceman.h>
#include <simu.h>
#include "carstruct.h"
#include <robottools.h>

Include dependency graph for sim.h:

Include dependency graph

This graph shows which files directly or indirectly include this file:

Included by dependency graph

Go to the source code of this file.

Defines

#define SIM_VECT_COLL   12
#define SIM_VECT_SPD   13
#define SIM_VECT_ACCEL   14
#define SIM_WHEEL_SPD   16
#define SIM_WHEEL_ACCEL   20
#define SIM_Z_OFFSET   2.0

Functions

void SimConfig (tCarElt *carElt)
void SimReConfig (tCarElt *carElt)
void SimUpdate (tSituation *, double deltaTime, int telemetry)
void SimInit (int nbcars)
void SimShutdown (void)
void SimAxleConfig (tCar *car, int index)
void SimAxleUpdate (tCar *car, int index)
void SimCarConfig (tCar *car)
void SimCarUpdate (tCar *car, tSituation *)
void SimCarUpdate2 (tCar *car, tSituation *)
void SimSuspCheckIn (tSuspension *susp)
void SimSuspUpdate (tSuspension *susp)
void SimSuspConfig (void *hdle, char *section, tSuspension *susp, tdble F0, tdble X0)
void SimWheelConfig (tCar *car, int index)
void SimWheelUpdateRide (tCar *car, int index)
void SimWheelUpdateForce (tCar *car, int index)
void SimWheelUpdateRotation (tCar *car)
void SimUpdateFreeWheels (tCar *car, int axlenb)
void SimSteerConfig (tCar *car)
void SimSteerUpdate (tCar *car)
void SimBrakeConfig (void *hdle, char *section, tBrake *brake)
void SimBrakeUpdate (tCar *car, tWheel *wheel, tBrake *brake)
void SimBrakeSystemConfig (tCar *car)
void SimBrakeSystemUpdate (tCar *car)
void SimAeroConfig (tCar *car)
void SimAeroUpdate (tCar *car, tSituation *s)
void SimWingConfig (tCar *car, int index)
void SimWingUpdate (tCar *car, int index, tSituation *s)
void SimCarUpdateWheelPos (tCar *car)
void SimTransmissionConfig (tCar *car)
void SimTransmissionUpdate (tCar *car)
void SimGearboxUpdate (tCar *car)
void SimDifferentialConfig (void *hdle, char *section, tDifferential *differential)
void SimDifferentialUpdate (tCar *car, tDifferential *differential, int first)
void SimEngineConfig (tCar *car)
void SimEngineUpdateTq (tCar *car)
tdble SimEngineUpdateRpm (tCar *car, tdble axleRpm)
void SimEngineShutdown (tCar *car)
void SimCarCollideZ (tCar *car)
void SimCarCollideXYScene (tCar *car)
void SimCarCollideCars (tSituation *)
void SimCarCollideConfig (tCar *car)
void SimCarCollideShutdown (int nbcars)
void SimCarCollideInit (void)
void NaiveRotate (t3Dd v, t3Dd u, t3Dd *v0)
void NaiveInverseRotate (t3Dd v, t3Dd u, t3Dd *v0)
tdble PartialFlowRectangle (tdble theta, tdble psi)
tdble PartialFlowSmooth (tdble theta, tdble psi)
tdble PartialFlowSphere (tdble theta, tdble psi)

Variables

tdble SimDeltaTime
int SimTelemetry
tCarSimCarTable
t3Dd vectStart []
t3Dd vectEnd []
tdble simDammageFactor []
tdble simSkidFactor []


Define Documentation

#define SIM_VECT_ACCEL   14
 

#define SIM_VECT_COLL   12
 

#define SIM_VECT_SPD   13
 

#define SIM_WHEEL_ACCEL   20
 

#define SIM_WHEEL_SPD   16
 

#define SIM_Z_OFFSET   2.0
 


Function Documentation

void NaiveInverseRotate t3Dd  v,
t3Dd  u,
t3Dd v0
 

void NaiveRotate t3Dd  v,
t3Dd  u,
t3Dd v0
 

tdble PartialFlowRectangle tdble  theta,
tdble  psi
 

tdble PartialFlowSmooth tdble  theta,
tdble  psi
 

tdble PartialFlowSphere tdble  theta,
tdble  psi
 

void SimAeroConfig tCar car  ) 
 

Here is the call graph for this function:

void SimAeroUpdate tCar car,
tSituation s
 

void SimAxleConfig tCar car,
int  index
 

Here is the call graph for this function:

void SimAxleUpdate tCar car,
int  index
 

Here is the call graph for this function:

void SimBrakeConfig void *  hdle,
char *  section,
tBrake brake
 

Here is the call graph for this function:

void SimBrakeSystemConfig tCar car  ) 
 

Here is the call graph for this function:

void SimBrakeSystemUpdate tCar car  ) 
 

void SimBrakeUpdate tCar car,
tWheel wheel,
tBrake brake
 

void SimCarCollideCars tSituation  ) 
 

Here is the call graph for this function:

void SimCarCollideConfig tCar car  ) 
 

Here is the call graph for this function:

void SimCarCollideInit void   ) 
 

Here is the call graph for this function:

void SimCarCollideShutdown int  nbcars  ) 
 

Here is the call graph for this function:

void SimCarCollideXYScene tCar car  ) 
 

Here is the call graph for this function:

void SimCarCollideZ tCar car  ) 
 

Here is the call graph for this function:

void SimCarConfig tCar car  ) 
 

Here is the call graph for this function:

void SimCarUpdate tCar car,
tSituation
 

Here is the call graph for this function:

void SimCarUpdate2 tCar car,
tSituation
 

Here is the call graph for this function:

void SimCarUpdateWheelPos tCar car  ) 
 

Here is the call graph for this function:

void SimConfig tCarElt carElt  ) 
 

Here is the call graph for this function:

void SimDifferentialConfig void *  hdle,
char *  section,
tDifferential differential
 

Here is the call graph for this function:

void SimDifferentialUpdate tCar car,
tDifferential differential,
int  first
 

Here is the call graph for this function:

void SimEngineConfig tCar car  ) 
 

Here is the call graph for this function:

void SimEngineShutdown tCar car  ) 
 

tdble SimEngineUpdateRpm tCar car,
tdble  axleRpm
 

void SimEngineUpdateTq tCar car  ) 
 

void SimGearboxUpdate tCar car  ) 
 

void SimInit int  nbcars  ) 
 

Here is the call graph for this function:

void SimReConfig tCarElt carElt  ) 
 

void SimShutdown void   ) 
 

Here is the call graph for this function:

void SimSteerConfig tCar car  ) 
 

Here is the call graph for this function:

void SimSteerUpdate tCar car  ) 
 

void SimSuspCheckIn tSuspension susp  ) 
 

void SimSuspConfig void *  hdle,
char *  section,
tSuspension susp,
tdble  F0,
tdble  X0
 

Here is the call graph for this function:

void SimSuspUpdate tSuspension susp  ) 
 

void SimTransmissionConfig tCar car  ) 
 

Here is the call graph for this function:

void SimTransmissionUpdate tCar car  ) 
 

Here is the call graph for this function:

void SimUpdate tSituation ,
double  deltaTime,
int  telemetry
 

Here is the call graph for this function:

void SimUpdateFreeWheels tCar car,
int  axlenb
 

void SimWheelConfig tCar car,
int  index
 

Here is the call graph for this function:

void SimWheelUpdateForce tCar car,
int  index
 

Here is the call graph for this function:

void SimWheelUpdateRide tCar car,
int  index
 

Here is the call graph for this function:

void SimWheelUpdateRotation tCar car  ) 
 

void SimWingConfig tCar car,
int  index
 

Here is the call graph for this function:

void SimWingUpdate tCar car,
int  index,
tSituation s
 

Here is the call graph for this function:


Variable Documentation

tCar* SimCarTable
 

tdble simDammageFactor[]
 

tdble SimDeltaTime
 

tdble simSkidFactor[]
 

int SimTelemetry
 

t3Dd vectEnd[]
 

t3Dd vectStart[]
 


Generated at Thu Feb 26 21:53:31 2004 for torcs by doxygen 1.3.3 written by Dimitri van Heesch, © 1997-1999
TORCS © Eric Espié 1999, 2002.