diff --git a/src/modules/simu/simuv4/brake.cpp b/src/modules/simu/simuv4/brake.cpp index 5b584e7fd..496f7dd07 100644 --- a/src/modules/simu/simuv4/brake.cpp +++ b/src/modules/simu/simuv4/brake.cpp @@ -62,10 +62,14 @@ SimBrakeUpdate(tCar *car, tWheel *wheel, tBrake *brake) brake->Tq = brake->coeff * brake->pressure; // Option ABS ... - if (car->features & FEAT_ABSINSIMU) +// if (car->features & FEAT_ABSINSIMU) { if (brake->EnableABS) brake->Tq *= brake->ABS; +/* + if (brake->EnableABS) + fprintf(stderr,"ABS: %.1f %%\n",brake->ABS * 100.0); +*/ } // ... Option ABS /* diff --git a/src/modules/simu/simuv4/engine.cpp b/src/modules/simu/simuv4/engine.cpp index 535d1141d..49b9af6f8 100644 --- a/src/modules/simu/simuv4/engine.cpp +++ b/src/modules/simu/simuv4/engine.cpp @@ -180,7 +180,7 @@ SimEngineUpdateTq(tCar *car) if (engine->EnableTCL) fprintf(stderr,"TCL: %.1f %%\n", engine->TCL * 100); */ - engine->TCL = 1.0; // Reset the TCL accel command + //engine->TCL = 1.0; // Reset the TCL accel command } // ... Option TCL diff --git a/src/modules/simu/simuv4/wheel.cpp b/src/modules/simu/simuv4/wheel.cpp index 6bf025740..f6536f686 100644 --- a/src/modules/simu/simuv4/wheel.cpp +++ b/src/modules/simu/simuv4/wheel.cpp @@ -170,7 +170,7 @@ void SimWheelUpdateRide(tCar *car, int index) // update wheel brake SimBrakeUpdate(car, wheel, &(wheel->brake)); -/* +/**/ // Option TCL ... if (car->features & FEAT_TCLINSIMU) { @@ -178,10 +178,10 @@ void SimWheelUpdateRide(tCar *car, int index) { // After using the values for the last wheel tEngine *engine = &(car->engine); engine->TCL = 1.0; // Reset the TCL accel command - wheel->brake.TCLMin = 1.0; // Reset the TCL brake command reference value + //wheel->brake.TCLMin = 1.0; // Reset the TCL brake command reference value } } -*/ +/**/ // ... Option TCL } @@ -371,7 +371,7 @@ void SimWheelUpdateForce(tCar *car, int index) { tdble TCL_SlipScale = 0.1f; // Make it be a parameter later tdble TCL_BrakeScale = 1/60.0f; // Make it be a parameter later - tdble TCL_AccelScale = 0.3f; // Make it be a parameter later + tdble TCL_AccelScale = 0.9f; // Make it be a parameter later tEngine *engine = &(car->engine); // Get engine if (sx < -TCL_SlipScale) // Slip is over our limit