TrafficSenseMSD is an open-source traffic light performance tuning and optimization tool build by RIT students for Multidisciplinary Senior Design. The design and project process documentation can be found here
For the official source code documentation, go here
Prerequisites:
- python 3.5+
- GIT
- pip
Steps: In a terminal with privileges:
- Navigate to the directory in which you want to install this
- Clone the GIT repository ("git clone https://github.com/TrafficSenseMSD/core.git")
- Navigate to the "core" directory
- Install this location as a python package ("pip install [-e] ."). Use -e if you intend on editing any of the files to add functionality
- Install SUMO 0.32.0. Sumo provides installers for Windows 32 and 64 bit versions
Usage (As of TrafficSenseMSD version 0.72.0): ts_core build -c -p ts_runner [--gui]
The above documentation is spotty at best. You will likely be able to follow the Mac OS install method
if the above doesn't work. DON'T USE apt-get!!!
The somewhat difficult to follow SUMO install docs for Mac OS
-
Install Homebrew package manager
-
wget -o sumo-src-0.32.0.tar.gz http://prdownloads.sourceforge.net/sumo/sumo-src-0.32.0.tar.gz?download -
tar -xzvf sumo-src-0.32.0.tar.gz -
cd ./sumo-src-0.32.0
brew install Caskroom/cask/xquartz
brew install autoconf
brew install automake
brew install pkg-config
brew install libtool
brew install gdal
brew install proj
brew install xerces-c
brew install fox
-
export CPPFLAGS="$CPPFLAGS -I/opt/X11/include/"export LDFLAGS="-L/opt/X11/lib" -
autoreconf -i -
./configure CXX=clang++ CXXFLAGS="-stdlib=libc++ -std=gnu++11" --with-xerces=/usr/local --with-proj-gdal=/usr/local -
make -j`sysctl -n hw.ncpu` -
export SUMO_HOME=$(pwd)
Don't do make install. Things get all messed up