Aero Control Component
Active aerodynamics control component for the driving dynamics system. Adjusts active aero elements (spoilers, flaps, diffusers) based on supervisor commands to influence vehicle balance and stability.
Active aerodynamics control component for the driving dynamics system. Adjusts active aero elements (spoilers, flaps, diffusers) based on supervisor commands to influence vehicle balance and stability.
State Fields
| Field | Type | Description |
|---|---|---|
isActive, isActingAsYC | boolean | Status flags. |
Public API
| Function | Description |
|---|---|
actAsYawControl(measuredYaw, expectedYaw, yawDifference, bodySlipAngle, dt) | Detects oversteer based on body slip angle and triggers the yawControlRequestReduceOversteer signal for aero surfaces. |
registerCMU(cmu) | Links to the CMU. |
module.setDebugMode(debugEnabled) | Sets the debug mode. |
module.shutdown() | Shuts down the module and cleans up resources. |
module.setParameters(parameters) | Sets the parameters. |
module.setConfig(configTable) | Sets the config. |
module.getConfig() | Returns the config. |
Hooks
| Hook | Description |
|---|---|
initSecondStage(jbeamData) | Registers itself with the yawControl supervisor and sets the oversteer detection threshold. |
module.initLastStage(jbeamData) | Final-stage initialization after all controllers and powertrains are ready. |
module.reset() | Resets the controller to its initial state. |
module.updateGFX(dt) | Per-frame update for visual state and UI synchronization. |
See Also
- Yaw Control — Yaw stability supervisor
- Traction Control — Traction supervisor
Yaw Control Supervisor
Advanced electronic stability control that monitors vehicle yaw rate and body slip angle. Coordinates brake interventions, differential adjustments, and active aero to correct oversteer and understeer, keeping the vehicle on the driver's intended path.
AWD Control Component
All-wheel-drive torque distribution control component. Adjusts front/rear torque split based on supervisor commands to optimize traction and stability. Works with active center differentials and transfer cases.