Table of Contents

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

float

BrakeTorque

Current brake torque applied to the wheel (N·m).

public float BrakeTorque

Field Value

float

CoreTemperature

Current tyre carcass/core temperature (°C). Changes slower than the tread surface.

public float CoreTemperature

Field Value

float

DriveTorque

Current drivetrain torque applied to the wheel before tyre reaction (N·m).

public float DriveTorque

Field Value

float

LateralDeflection

Lateral deflection state for the brush contact-patch model (m).

public float LateralDeflection

Field Value

float

LongitudinalDeflection

Longitudinal deflection state for the brush contact-patch model (m).

public float LongitudinalDeflection

Field Value

float

SlipAngle

Current lateral slip angle (rad).

public float SlipAngle

Field Value

float

SlipRatio

Current longitudinal slip ratio (dimensionless).

public float SlipRatio

Field Value

float

Temperature

Current tyre surface temperature (°C). Starts at ambient (~30 °C).

public float Temperature

Field Value

float

TreadLife

Remaining tread fraction (1.0 = new, 0.0 = fully worn).

public float TreadLife

Field Value

float

TyreReactionTorque

Current tyre reaction torque opposing wheel rotation (N·m).

public float TyreReactionTorque

Field Value

float

Methods

CreateDefault()

Creates a fresh tyre state with ambient temperature, full tread life, and zero slip state.

public static TyreState CreateDefault()

Returns

TyreState

A new TyreState initialized to the model defaults.