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.51k stars 1.42k forks source link

add traffic light type 'actuated_crossing' (trac #1746) #1746

Open behrisch opened 9 years ago

behrisch commented 9 years ago

this should build a pedestrian-actuated crossing as in tutorial/traci_pedestrian_crossing

possibly related to #5252 but using e2Detector on walkingArea is not enough since the nextCrossing must also be detected.

namdre commented 5 years ago

this could also be the default behavior when placing tlType="actuated" at geometry-like node with a pedestrian crossing.

namdre commented 5 years ago

two ways this could work:

namdre commented 3 years ago

could make use of the same logic as traci.trafficlight.getServedPersonCount