Expand description
Vehicle simulation API for Python interop.
Provides Python-friendly types for full vehicle simulation including: tire models (Pacejka/Fiala), drivetrain, suspension, stability control, telemetry, and racing line optimization.
Structs§
- AbsState
- ABS (anti-lock braking system) state.
- Engine
Curve - Engine torque curve defined by RPM breakpoints and torque values.
- EscState
- Electronic stability control (ESC) state.
- Fiala
Params - Fiala tire model parameters.
- LapStats
- Lap statistics derived from telemetry.
- Pacejka
Coeffs - Pacejka magic formula tire coefficients.
- PyDrivetrain
- Drivetrain configuration.
- PyRacing
Line - Racing line optimizer and analyzer.
- PyStability
Control - Vehicle stability control system combining TCS, ABS, and ESC.
- PySteering
- Steering system with Ackermann geometry and 4WS option.
- PySuspension
- One corner suspension.
- PyTelemetry
- Vehicle telemetry recorder.
- PyTire
Model - Tire model for force computation.
- PyTire
Thermal - Three-layer tire thermal model (surface / bulk / carcass).
- PyVehicle
- Full vehicle state.
- PyWheel
Dynamics - State and forces at a single wheel.
- TcsState
- Traction control system (TCS) state.
- Telemetry
Sample - A single telemetry sample.
- Track
Point - A 2D point on the track.
Enums§
- Diff
Type - Differential type.
- Suspension
Kind - Suspension geometry type.
- Tire
Model Kind - Tire model selection.
Functions§
- ackermann_
angles - Compute Ackermann steering angles for inner and outer front wheels.
- compute_
slip_ angle - Compute the slip angle from tire velocity components.
- compute_
slip_ ratio - Compute the longitudinal slip ratio.
- pacejka_
fx - Compute the Pacejka magic formula longitudinal force Fx.
- pacejka_
fy - Compute the Pacejka magic formula lateral force Fy.