Railroad - Train Signalling System
train_simu is application to control a simulation of a train traffic and signaling system. Features: The system includes the following components: Track segments of arbitrary length
- Connections between segments
- Signals which control traffic flow and can have two states GREEN or RED
- Trains which initially placed at specific segment and can move both directions
- The system automatically find shortest route between start and destination points for each train
- User Interface is implemented using XML files which can be modified by user. XML files serve as blueprints for the system builds
Prerequisites
- Install TinyXML library for Ubuntu
- Install cmake
Compilation: git clone https://github.com/satortanya/railroad.git cd railroad mkdir build cd build/ cmake .. make
Usage: ./train_simu // uses hard coded file name - ../resources/railroadlayout1.xml ./train_simu -f ../resources/railroadlayout2.xml // uses provided file name