A SUMO (Simulation of Urban Mobility) project featuring traffic simulation scenarios.
A realistic traffic simulation scenario for the city of Hasselt, including urban road networks, traffic patterns, and interactive simulation capabilities.
To run the Hasselt scenario demo:
-
Navigate to the scenario folder:
cd scenarios/hasselt_xl -
Run the spawn script:
py ./spawn.py
The script will:
- Launch the SUMO simulation environment with pre-configured settings
- Automatically spawn a vehicle into the simulation
- Track the vehicle as it travels through the city
- Allow interaction once the vehicle arrives at its destination (Kol. Dusartplein)
Once the vehicle has completed its journey, you can freely navigate and explore the simulation environment.
Once the simulation is running, you can use TraCI to gather information and change stuff in the environment (e.g. traffic lights).