JepsenPresentationQ1..

Download Report

Transcript JepsenPresentationQ1..

Traffic Light Simulation
Lynn Jepsen
Introduction and Background




Try and find the most efficient way to move
cars through an intersection given different
traffic densities
Currently have a simulation that obeys most
“rules of the road” but no light algorithm
Want to see waiting time for cars go down
Many traffic simulations out there, but none
that I have seen with a learning light
Development








Cars on each lane take up a certain number of
spaces and have a certain speed at each instant
Speed and space is update every .1 sec along
with graphics
Speed up when object in front is getting farther
away but with a max. accel.
Slow down for red and most yellow lights
Yellow lights don't always look right
Use Java to show graphics
Eventually show graphs of waiting time
Need to give artificial intelligence to light
Results and Conclusions


The simulation looks
realistic
Shows how easily
heavy traffic flow
can back up if the
light has no
algorithm