Skip to content

Latest commit

 

History

History
59 lines (52 loc) · 2.59 KB

File metadata and controls

59 lines (52 loc) · 2.59 KB

CppND-ProjectCapstone_BinaryBandit81

Program to monitor if a subwaytrain is currently at a station for the complete subway in Munich. The Code is derived from https://github.com/udacity/CppND-Program-a-Concurrent-Traffic-Simulation

SubwayStations

What it does

  1. Open the subwaystation map '/data/mvg_subwaystations.png'
  2. read subwayline from file '/data/lines.csv'
  3. read a stationlist from file '/data/stations.csv'
  4. start a thread for every subwaystation
  5. in every thread:

Dependencies/ HowTo Install it

Basic Build Instructions

  1. Clone this repo
  2. Change CMAKE_PREFIX_PATH (line 8) in CMakeLists.txt ot your vcpkg install folder (eg. /home/workspace/vcpkg/installed/x64-linux)
  3. Make a build directory in the top level directory: mkdir build && cd build
  4. Compile: cmake .. && make
  5. Run it: ./CapStone.

Covered rubrics

  • The Project is mainly focussed on threads and reading data from files and from http requests.
  • It uses classes whereever useful.
  • To exchange information between the classes smart pointers are used

Known Issues

  • Window does not start in fullscreen
  • Unkown error (probably json related) ('Line 1, Column 1 Syntax error: value, object or array expected.)
  • Not all stations seem to update properly