eclipse-sumo / sumo

Eclipse SUMO is an open source, highly portable, microscopic and continuous traffic simulation package designed to handle large networks. It allows for intermodal simulation including pedestrians and comes with a large set of tools for scenario creation.
https://eclipse.dev/sumo
Eclipse Public License 2.0
2.44k stars 1.38k forks source link

build internal junctions for tls left-turns by default #6277

Open namdre opened 4 years ago

namdre commented 4 years ago

currently, internal junctions are only built when the loaded tls program requires them (i.e. built for layout opposites but not for layout incoming. This may lead to unexpected behavior when later loading a program that would require them (i.e. building with layout incoming and loading layout opposites).

By default, internal junctions should be built for left turns when there is an opposite-straight connection. Legacy behavior should be available via a new option --tls.reduce-internal-junctions

namdre commented 4 years ago

diff.workOn6277.txt

Changing the default behavior also has downsides: in networks with pedestrian crossings the internal junctions for left turns are moved to the junction interior instead of close to the crossing