TORCS  1.3.10
The Open Racing Car Simulator
Loading...
Searching...
No Matches
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
30
31typedef 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 */
56
57
58
59#endif /* _DIFFERENTIAL_H_ */
60
61
62
float tdble
Floating point type used in TORCS.
Definition tgf.h:47
tDynAxis * outAxis[2]
tDynAxis * inAxis[2]
tdble lockBrakeInputTq
tDynAxis feedBack
tdble spinVel
tdble brkTq