Skip to main content

Module sim

Module sim 

Source
Expand description

Module containing the main parts of the simulation.

Systems are stored in modules that best describe their main interest, e.g. system that moves a train’s bogies is stored in the train module.

Modules§

driver
Logic to drive trains automatically by themselves. Unfinished.
logical_graph
Logical graph containing the stops, etc. Unfinished.
signal
Track signals.
track
Physical track.
train
Trains.

Structs§

Acceleration
Controls
SimPlugin
Velocity

Constants§

GRAVITY 🔒
STEEL_SLIP 🔒

Functions§

integrate_acceleration