Skip to content

This is the starter kit for new SUMO (Simulation Urban Mobility) users. See Readme for details.

Notifications You must be signed in to change notification settings

stevenxdeng/SUMO_Starter_Kit

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

10 Commits
 
 
 
 

Repository files navigation

SUMO Starter Kit

Author: Hsien-wen "Steven" Deng
This is a starter kit for Simulation Urban MObility (SUMO) with Traffic Control Interface (TraCI). In this case, we build a scenario referenced our testbed in Perimeter Rd., Clemson, SC. 10 vehicles are generated in this scenario and all vehicles are following a speed limit of 35 mph and perform a time headway of 1 second. Besides, 3 traffic controllers (signals) are deployed in 3 intersections and all controllers are fixed time.
SUMO is a traffic engineering simulator to simulate different traffics in macroscopic or microscopic view.
TraCI is a python-based platform to engage interactions (control, feedback) between user's scripts and SUMO.

Prerequisite

  1. Python 3.8
  2. Python IDE, recommend Pyzo

Deploy Application

  1. Download SUMO
  2. Install SUMO
  3. Place downloaded SUMO_Sample folder in installed SUMO directory: ../sumo/

Run Application

  1. Run SUMO_Base.py by Pyzo or by command: python SUMO_Base.py
  2. From SUMO GUI, tune the delay to max (1000ms)
  3. Hit the Run button in SUMO GUI

Modify Application

Here are the tips for expanding your own application by TraCI

  1. Get vehicles number
  2. Get vehicles states (positions, speeds)
  3. Change vehicles states (speeds)
  4. Get traffic controllers phase
  5. Get traffic controllers timer

About

This is the starter kit for new SUMO (Simulation Urban Mobility) users. See Readme for details.

Topics

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages