Struct TyreState
- Namespace
- LibreRally.Vehicle.Physics
- Assembly
- LibreRally.dll
Mutable per-wheel thermal and wear state. Updated every physics step by Update(ref TyreState, float, float, float, float, float, float, in SurfaceProperties, float, out float, out float, out float).
Temperature model reference: Salaani et al., "An Analytical Tire Model for Use in Vehicle Dynamics Simulations", SAE 2007-01-0816. Wear model: simplified abrasion proportional to slip energy dissipation.
public struct TyreState
- Inherited Members
Fields
AngularVelocity
Wheel angular velocity (rad/s). Positive = forward rolling.
public float AngularVelocity
Field Value
BrakeTorque
Current brake torque applied to the wheel (N·m).
public float BrakeTorque
Field Value
CoreTemperature
Current tyre carcass/core temperature (°C). Changes slower than the tread surface.
public float CoreTemperature
Field Value
DriveTorque
Current drivetrain torque applied to the wheel before tyre reaction (N·m).
public float DriveTorque
Field Value
LateralDeflection
Lateral deflection state for the brush contact-patch model (m).
public float LateralDeflection
Field Value
LongitudinalDeflection
Longitudinal deflection state for the brush contact-patch model (m).
public float LongitudinalDeflection
Field Value
SlipAngle
Current lateral slip angle (rad).
public float SlipAngle
Field Value
SlipRatio
Current longitudinal slip ratio (dimensionless).
public float SlipRatio
Field Value
Temperature
Current tyre surface temperature (°C). Starts at ambient (~30 °C).
public float Temperature
Field Value
TreadLife
Remaining tread fraction (1.0 = new, 0.0 = fully worn).
public float TreadLife
Field Value
TyreReactionTorque
Current tyre reaction torque opposing wheel rotation (N·m).
public float TyreReactionTorque
Field Value
Methods
CreateDefault()
Creates a fresh tyre state with ambient temperature, full tread life, and zero slip state.
public static TyreState CreateDefault()