Skip to main content

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index] [List Home]
Re: [sumo-user] Set yielding rules at junctions

To switch yielding rules at the lane merge, set connection attribute pass=true for the connection from the right lane (https://sumo.dlr.de/docs/Netedit/neteditUsageExamples.html#setting_connection_attributes)
Never modify the .net.xml directly (https://sumo.dlr.de/docs/FAQ.html#i_made_changes_to_the_netxml-file_but_it_did_not_work_as_expected_why)

Am Do., 25. Aug. 2022 um 21:12 Uhr schrieb yu tang <herrtangvonjj@xxxxxxxxx>:
Hi all,

I am modeling freeway traffic in SUMO and have a question about how to set conflicting connections. 

Attached is my junction where the leftmost is HOV lanes and two HOV lanes merge into one HOV lane. In the default setting, the right HOV lane is the minor lane while the left one is the major lane. It makes vehicles in the right HOV lane yield, but I want the right lane to have higher priority and vehicles in the left HOV lane to yield. It seems that SUMO only sets edge-based priority. Can I set lane-based priority to achieve what I desire? 

By the way, one solution I came up with is to switch connection states, "m" and "M", in net.xml, but it is cumbersome and even it shows unchanged states in netedit after I have modified the states in the xml file (a possible bug?).

Best,
Yu
_______________________________________________
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