Anti-Lag System
Controls turbocharger anti-lag systems that maintain boost pressure during throttle lift-off. Injects fuel and retards ignition timing to keep exhaust gases flowing through the turbine, eliminating turbo lag on throttle reapplication.
Controls turbocharger anti-lag systems that maintain boost pressure during throttle lift-off. Injects fuel and retards ignition timing to keep exhaust gases flowing through the turbine, eliminating turbo lag on throttle reapplication.
Public API
| Function | Description |
|---|---|
setAntilagState(newState) | Manually forces the ALS state machine into a specific mode. |
Hooks
| Hook | Description |
|---|---|
init(jbeamData) | Connects to the engine's turbocharger and initializes the turbo speed PID controller. |
updateGFX(dt) | Main state machine logic (Idle, Armed, ManualOverride, Timeout). Monitors turbo speed and applies engine torque overrides to maintain target boost, while enforcing safety timeouts to prevent thermal damage. |
module.reset(jbeamData) | Resets the controller to its initial state. |
Usage Example
-- Anti-lag is typically toggled via input binding
-- Active when throttle is lifted but RPM is above thresholdSee Also
- Two Step Launch — Launch control (often paired with anti-lag)
- Nitrous Oxide — Alternative power augmentation
Active Center Differential
Controls electronically-adjustable center differential systems that vary front/rear torque split. Manages clutch pack engagement to continuously adjust torque distribution based on driving conditions.
Combustion Engine Governor
Electronic engine speed governor that limits maximum RPM or maintains a target idle/operating speed. Used on diesel engines in trucks and heavy equipment to prevent over-revving and maintain stable operating speeds under varying loads.