Expand description
F1 Nexus Core - Domain types and fundamental racing logic
This crate provides the core data structures and business logic for F1 racing, including telemetry data, race state, strategy representation, and FIA regulations.
Re-exports§
pub use telemetry::*;pub use strategy::*;pub use race::*;pub use regulations::*;pub use track::*;pub use weather::*;pub use tire::*;pub use fuel::*;pub use types::*;pub use api::*;
Modules§
- api
- OpenF1 API integration module
- fuel
- Fuel consumption modeling
- race
- Race state management
- regulations
- FIA regulations and compliance checking
- strategy
- Race strategy representation and manipulation
- telemetry
- Real-time telemetry data structures
- tire
- Tire modeling and degradation physics
- track
- Track definitions and characteristics
- types
- Core type definitions for F1 Nexus
- weather
- Weather modeling and prediction
Constants§
- GRID_
SIZE - Number of cars on the grid
- MANDATORY_
PIT_ STOPS - Mandatory pit stop count (2024+ regulations)
- MAX_
RACE_ LAPS - Maximum number of laps in a typical F1 race
- TELEMETRY_
HZ - Telemetry sampling rate (Hz)
- VERSION
- F1 Nexus version