Good evening all,
I’ve been trying out closing certain lanes in traffic using Traci but it’s causing the traffic to get stuck. The command I am using to close the Lane is the following:
traci.lane.setDisallowed(lane,'all')
where I call the lane I wish to close from a list of lanes I am closing.
In one of the test areas near a junction when I close 2 of the lanes the traffic moves in the outside lanes as planned. However when it reaches a the junction it gets stuck and cannot continue. I’ve included some screenshots (as attachments
and embedded) one showing the traffic in sumo along with the desired current route and one showing the same section in NetEdit.
In my sumo configuration file I also have the following parameter set which I hoped would be applied to all vehicles as default enabling them to reroute accordingly:
<routing>
<device.rerouting.probability value="1"/>
</routing>
This does not seem to solve my problem though as vehicles remain stuck at this junction.
Would anyone be able to provide me with some advice or direct me to a link as to how to fix this issue please?
Thank you in advance,
Barry
