/city

Primary LanguageC

City

Assigned Project for Real-Time Systems course 2018/2019 at Scuola Superiore Sant'Anna

Simulation of a urban area with a number of crossing streets with traffic lights managed by a single traffic control task. Cars are randomly generated to enter and exit the area. Each car is autonomous and is controlled by a periodic task on local sensors (no global information must be used)

Prerequisites

  • allegro 4.4.2
  • pthread