Skip to main content

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index] [List Home]
Re: [sumo-user] Implement all way stop intersection without traffic lights

It looks as if you manipulated the .net.xml file directly. Never do this (https://sumo.dlr.de/docs/FAQ.html#i_made_changes_to_the_netxml-file_but_it_did_not_work_as_expected_why).
Instead set the junction type to allway_stop in netedit and that should be enough.

Am Mo., 22. Apr. 2024 um 09:11 Uhr schrieb Mirko Barthauer via sumo-user <sumo-user@xxxxxxxxxxx>:

You can have a look at our tests for all way stops. Download here a set of example simulations.

 

Best regards

Mirko

 

 

 

 

-----Original-Nachricht-----

Betreff: [sumo-user] Implement all way stop intersection without traffic lights

Datum: 2024-04-21T07:44:46+0200

Von: "Dayuan Tan via sumo-user" <sumo-user@xxxxxxxxxxx>

An: "Sumo project User discussions" <sumo-user@xxxxxxxxxxx>

 

 

 

Hi SUMO community,

Could anyone help me? Any replies would be appreciated deeply! Thank you so so much in advance!


I'm implementing an all way stop (4 stop signs) intersection without traffic lights but unfortunately cannot.

I've tried to change the tlLogic programID to "off" and set junction with  type="allway_stop" rightOfWay="allwayStop"  but I think they don't work as they descripted in the documents. 

To change the tlLogic programID to "off" I used
traci.trafficlight.setProgram("0", "off")
at step 0 using python. I chose this way because I cannot directly define a tlLogic with programID="off" in net.xml which gave me an error and could not start SUMO.
 
The veh2 always stops and allows veh3 pass firstly. This is not what I expect but veh2 arrives at the intersection earlier and should pass before veh3.
All 4 vehs didn't "stop" before the intersection. 
 
The color shows like the below which means "
  • FOO Traffic light, off-blinking, vehicle has to yield
  • FOO Traffic light, off-no-signal, vehicle has right of way"
image.png
 
I expect it shows: " 
  • FOO uncontrolled, allway-stop, all vehicles have to stop and then drive in the order of arrival"
 
 
I've carefully checked the below full pages:
 
 
I also searched previous archived emails but didn't find a solution, even though there were multiple people asking questions about all way stop intersections.
 
Thank you so so much!
Deeply appreciated!
 
Sincerely,
Dayuan
University of Maryland, Baltimore County

 


_______________________________________________
sumo-user mailing list
sumo-user@xxxxxxxxxxx
To unsubscribe from this list, visit https://www.eclipse.org/mailman/listinfo/sumo-user

Back to the top