Skip to main content

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index] [List Home]
Re: [sumo-user] Bidirectional lane and collision for overlapped edges

Hi Theodore,


regarding the use of opposite lane overtaking,

I can say that it is possible to declare a lane as the neighbor from one side, but not from the other.

So asymmetric overtaking relations or lane dedication to one direction should be possible to implement.


You probably need 3 edges side-by side, each with one lane, and declare the middle lane as 

the neighbor of one or the other outer edge lanes, however you require it.


If you want to switch those restrictions during run-time, I am not sure 

if setting those net attributes is possible via TraCi.


hope that helps,

best
Gerald


Von: sumo-user-bounces@xxxxxxxxxxx <sumo-user-bounces@xxxxxxxxxxx> im Auftrag von Thodoris Zerlentis <zerlentis@xxxxxxxx>
Gesendet: Montag, 28. September 2020 22:38:51
An: Sumo project User discussions
Betreff: [sumo-user] Bidirectional lane and collision for overlapped edges
 
Greetings,
I am currently trying to model a bidiractional lane where cars in both directions are able to move in a specific lane. I read in the forums that there are two available ways:
The first one uses the opposite-direction overtaking. My main problem with this method is that i am not sure if there is a way to Disallow cars from one direction to move on the bidiractional lane. The goal of such lane is that only one direction moving cars can access it each time (defined by conditions) and after that when the time comes it will open for the other direction moving cars again disallowing the reverse to access it.
The second way that i am currently modelling is the overlapped lane where one lane is overlapped on top of the other in order to simulate the bidirectional lane. The problem with this method is that sumo can't identify collisions in the overlapped lanes and the cars moves into each other without producing any warning.
So i would like to ask which one is the best way to model such a problem and for the second way is there any way or option to toggle sumo for collision even if there is overlapped edges or lanes?

Best regards,
Theodore Zerlentis

Back to the top