Added autoclutch, ASR and ABS fixes/enhancements - please test!
git-svn-id: https://svn.code.sf.net/p/speed-dreams/code/trunk@213 30fe4595-0a0c-4342-8851-515496e4dcbd Former-commit-id: 4b69c5ae8f56a9b642e516b4ef04a32cee511167 Former-commit-id: 93dd9e7564f27ca337940bebe649254c8b10fe4a
This commit is contained in:
parent
48f6f3cc49
commit
fd659f9752
1 changed files with 3 additions and 3 deletions
|
@ -90,7 +90,7 @@ static tKeyInfo skeyInfo[256];
|
||||||
static int currentKey[256];
|
static int currentKey[256];
|
||||||
static int currentSKey[256];
|
static int currentSKey[256];
|
||||||
|
|
||||||
static tdble lastKeyUpdate = -10.0;
|
static double lastKeyUpdate = -10.0;
|
||||||
|
|
||||||
static int firstTime = 0;
|
static int firstTime = 0;
|
||||||
|
|
||||||
|
@ -226,7 +226,7 @@ human(tModInfo *modInfo)
|
||||||
}
|
}
|
||||||
strncpy(names[i], driver, MAXNAMELEN);
|
strncpy(names[i], driver, MAXNAMELEN);
|
||||||
modInfo->name = names[i]; /* name of the module (short) */
|
modInfo->name = names[i]; /* name of the module (short) */
|
||||||
modInfo->desc = strdup("Joystick controlable driver"); /* description of the module (can be long) */
|
modInfo->desc = "Joystick controllable driver"; /* description of the module (can be long) */
|
||||||
modInfo->fctInit = InitFuncPt; /* init function */
|
modInfo->fctInit = InitFuncPt; /* init function */
|
||||||
modInfo->gfId = ROB_IDENT; /* supported framework version */
|
modInfo->gfId = ROB_IDENT; /* supported framework version */
|
||||||
modInfo->index = i+1;
|
modInfo->index = i+1;
|
||||||
|
@ -842,7 +842,7 @@ static void common_drive(int index, tCarElt* car, tSituation *s)
|
||||||
car->_brakeCmd = MIN(car->_brakeCmd, MAX(0.35, 1.0 - decel));
|
car->_brakeCmd = MIN(car->_brakeCmd, MAX(0.35, 1.0 - decel));
|
||||||
}
|
}
|
||||||
|
|
||||||
const tdble abs_slip = 2.5;
|
const tdble abs_slip = 3.5;
|
||||||
const tdble abs_range = 5.0;
|
const tdble abs_range = 5.0;
|
||||||
|
|
||||||
slip = 0;
|
slip = 0;
|
||||||
|
|
Loading…
Reference in a new issue