Using the new Traction Control and Anti-Lock Brake system

In updated 2022-2, a new TC and ABS system was introduced, this allows you to control the TC system slip and power cut, and changes the way ABS works.

Boolean(Bool) = 0 or 1

Integer(Int) = 1, 2, 3, 4, 5, 6, etc

Float = 1.234124, 4.124124, etc

HDV

New HDV lines:

[CONTROLS]

NameTypeDescriptionExample
OnboardTractionControlPowerCutBoolWhether the car has onboard power cut mapping. Default 0 (false), recommended is to see if the car has this in real lifeOnboardTractionControlPowerCut=0
OnboardTractionControlSlipAngleBoolWhether the car has onboard slip angle mapping. Default 0 (false), recommended is to see if the car has this in real lifeOnboardTractionControlSlipAngle=1
LinkPowerCutMapToTcMapBoolWhether the power cut map is linked to, and therefore controlled by, the main TC map. Default 0 (false), recommended is true if the onboard power cut is falseLinkPowerCutMapToTcMap=0
LinkSlipAngleMapToTcMapBoolWhether the slip angle map is linked to, and therefore controlled by, the main TC map. Default 0 (false), recommended is true if the onboard slip angle is false (if the car has traction control based on slip angle, otherwise false)LinkSlipAngleMapToTcMap=1
TractionControlTypeBoolThe TC system to use. 0=gripfract based (old), 1=slip based (new). Default 0TractionControlType=1
TractionControlLongSlipTypeBoolThe longitudinal slip used by the main TC controller, 0=slip ratio, 1=wheel spin (the long slip can be disabled by setting the map to 0). Default 0, Recommended: 0 in case there is no data on which to useTractionControlLongSlipType=0
TractionControlCutMethodBoolThe power cut method to be used by TC (only for new systems). 0=throttle, 1=fuel. Default 0TractionControlCutMethod=0
TractionControlEngineSpeedIntThe minimal engine rev speed (rpm) for TCS to work (this is to prevent bogging down or even stalling). Default 0, Recommended: 'idle speed'TractionControlEngineSpeed=1500
TractionControlMinSpeedIntThe minimal vehicle speed for TCS to work (in kph). Siimulate the wheel sensors not being reliable at low speeds, which is actually an issue in the sim. Setting it to 1 will not help because when the car is rolling on the clutch is can get to 1 kph and still have unreliable speeds. Default 5, Recommended: ~5.TractionControlMinSpeed=5
TractionControlMaxSpeedIntThe maximum vehicle speed for TCS to work (in kph) (simulate the wheel sensors not being reliable at high speeds). At 0 this will be ignored. Default 0TractionControlMaxSpeed=0
TractionControlPowerCutTimeFloatThe length of a power cut when TCS is active. (only for new systems) (in seconds). If this is 0 it will cut for just one frame. Default 0TractionControlPowerCutTime=0.02
TractionControlGearBasedReductionMultFloatThe amount TC cuts the power is dependent on the current gear ratio / first gear ratio. The multiplier controls how much this is of influence. 0=full influence, 1=no influence (same cut for every gear). Default 0, Recommended: 0.5
TractionControlGearBasedReductionMult=0.5
TractionControlMapMaxIntThe assumed maximum of the traction control map, does not have to be equal to the actual maximum. Default 0=actual map maximum, Recommended: 1 (makes it easier to calculate the values)TractionControlMapMax=1
TCPowerCutMapMaxIntThe assumed maximum of the TC power cut map, does not have to be equal to the actual maximum. Default 0=actual map maximum, Recommended: 1TCPowerCutMapMax=1
TCSlipAngleMapMaxIntThe assumed maximum of the TC slip angle map, does not have to be equal to the actual maximum. Default 0=actual map maximum, Recommended: 1TCSlipAngleMapMax=1
TCPowerCutMapRangeInt, Float, Int(range, setting, special) Onboard map for the power cut aggression. Power cut is measured from 0-1, 0 is no power cut (TC off), 1 is full power cut.
TCPowerCutMapRange=(0.0,0.125,9)
TCSlipAngleMapRangeInt, Float, Int(range, setting, special) Onboard map for the target slip angle. Slip angle is measured in radians, optimum slip angle is 6-10 degrees (~0.1-~0.17 rad). Map range is recommended to be from more than 10 degrees to less than 6 (maybe as low as 1 or 2 for rainy weather).TCSlipAngleMapRange=(0,0.025,9)
ABSTypeIntSomewhat replacement of ABS4Wheel, an indicator of which ABS to use. 0-(old style) single pulse, 1-4wheel ABS, 2-(new) Four-channel four-sensor ABS. Defaults to -1, which will look at the value of ABS4Wheel. Default -1ABSType=2
ABSSampleRateIntThe sample rate of the system. Defaults to the physics rate (0=physics rate as well). Default is physics rate (400hz), recommended: 40ABSSampleRate=40
ABSReleasedPressureMultiplierFrontBoolA multiplier for the brake pressure for how much it should be released (0 is a full release, 1 is full pressure) for the front axle. Default 0, recommended: 0ABSReleasedPressureMultiplierFront=0
ABSReappliedPressureMultiplierFrontBoolA multiplier for the brake pressure after ABS applies the brakes (0 is a full release, 1 is full pressure), for the front axle. Default 1, recommended 1ABSReappliedPressureMultiplierFront=1
ABSReleasedPressureMultiplierRearBoolA multiplier for the brake pressure for how much it should be released (0 is a full release, 1 is full pressure), for the rear axle. Default 0, recommended 0ABSReleasedPressureMultiplierRear=0
ABSReappliedPressureMultiplierRearBoolA multiplier for the brake pressure after ABS applies the brakes (0 is a full release, 1 is full pressure), for the rear axle. Default 1, recommended 1ABSReappliedPressureMultiplierRear=1
ABSMinSpeedKphIntThe minimal vehicle speed for ABS to intervene. If ABS is already on and the vehicle falls below this speed, ABS will apply the brakes again. Default 5, Recommended ~5ABSMinSpeedKph=5
ABSHoldPressureBeforeReleaseBoolWhether the ABS should first hold the applied brake pressure to measure if the wheel slip will improve, if the slip does not improve it will release brake pressure. Default 0 (false), Recommended 0 (false)ABSHoldPressureBeforeRelease=0
ABSBrakeMapRearMinFloatABS brake map for the rear axle, will use the setting of the normal onboard ABS. This is the minimum value. Default 0, recommended 'using the same as the front brake'ABSBrakeMapRearMin=0
ABSBrakeMapRearStepFloatABS brake map for the rear axle, will use the setting of the normal onboard ABS. This is the step value. Default 0, recommended 'using the same as the front brake'ABSBrakeMapRearStep=0.0909
BrakePressureSmoothingIntControls the amount of brake smoothing, simulation of upbuilding brake pressure in the system (higher values are more instant build-up). Unit: 100% pressure / sec. default 10, recommended 20BrakePressureSmoothing=20

Dashboard Lights

We've also added the ability to have lights in the cockpit for when the wheels slip or lock.  The ABS LEDs are named "ABSLEFT_LED" and "ABSRIGHT_LED", the TC LEDs are "TCLEFT_LED" and "TCRIGHT_LED". The LEDs are set up similar to the REV LEDs, with a maximum of 9 LEDs for each side. The last LED in the range (LED 9, but assigned index 8 because we count from 0) will only come on during ABS/locking or TC. You can change the names of these to match your specific car in the cockpitinfo file:
TCLEFT_LED=MYCAR_TCL
TCRIGHT_LED=MYCAR_TCR
ABSLEFT_LED=MYCAR_ABSL
ABSRIGHT_LED=MYCAR_ABSR
This is just an example, you can name it whatever you like.

The ABS trigger under two conditions; ABS is active and the LEDs flash, or one of the wheel has locked when just one LED will trigger. The TC LED simply lights up when TC activates. This can be seen flashing as well because the TC turns on and off by itself.Other than this the LEDs will partially come on when the cars experience slip.

Here's an example video. The pink lights show traction control, white, wheel lock.