TORCS  1.3.9
The Open Racing Car Simulator
differential.h
Go to the documentation of this file.
1 /***************************************************************************
2 
3  file : differential.h
4  created : Sun Mar 19 00:06:46 CET 2000
5  copyright : (C) 2000 by Eric Espie
6  email : torcs@free.fr
7  version : $Id$
8 
9  ***************************************************************************/
10 
11 /***************************************************************************
12  * *
13  * This program is free software; you can redistribute it and/or modify *
14  * it under the terms of the GNU General Public License as published by *
15  * the Free Software Foundation; either version 2 of the License, or *
16  * (at your option) any later version. *
17  * *
18  ***************************************************************************/
19 
20 #ifndef _DIFFERENTIAL_H_
21 #define _DIFFERENTIAL_H_
22 
23 typedef struct
24 {
29 } tDynAxis;
30 
31 typedef struct
32 {
33  /* caracteristics */
34  int type;
35 #define DIFF_NONE 0
36 #define DIFF_SPOOL 1
37 #define DIFF_FREE 2
38 #define DIFF_LIMITED_SLIP 3
39 #define DIFF_VISCOUS_COUPLER 4
49 
50  /* dynamic data */
53  tDynAxis *inAxis[2];
54  tDynAxis *outAxis[2];
56 
57 
58 
59 #endif /* _DIFFERENTIAL_H_ */
60 
61 
62 
tdble spinVel
Definition: differential.h:25
tdble efficiency
Definition: differential.h:42
float tdble
Floating point type used in TORCS.
Definition: tgf.h:48
tdble brkTq
Definition: differential.h:27
tdble lockBrakeInputTq
Definition: differential.h:47
tdble Tq
Definition: differential.h:26
tDynAxis in
Definition: differential.h:51
tdble lockInputTq
Definition: differential.h:46
tdble I
Definition: differential.h:28
tDynAxis feedBack
Definition: differential.h:52