The post crash brake controller applies the brakes when a crash is detected. It is a safety feature found on some modern cars.
When it detects sudden deceleration on either the X or Y axis, it starts by pressing the brakes until the speed is under 0.5m/s, at which point it will apply the parking brake to hold the car in place.
The system will also activate the hazard lights once it has stopped the car.
| Filename | postCrashBrake.lua |
| Path | /lua/vehicle/controller/postCrashBrake.lua |
| Type | Auxiliary |
| Usage type | Multiple (Not useful) |
"controller": [
["fileName"],
["postCrashBrake", {"brakeThreshold": 60}],
],
Was this article helpful?