Skip to content

BinaryBandit81/CppND-ProjectCapstone_BinaryBandit81

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

15 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

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

About

No description, website, or topics provided.

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published