Skip to main content

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index] [List Home]
Re: [sumo-user] How to add overtaking in SUMO

Thanks Jakob, but where can I adjust the lane attribute 'opposite' in netedit?

I see where you can view the lane attribute 'opposite' as a parameter (i.e., show parameters when I left click the lane), but I can't edit or adjust it. 

On Thu, Feb 3, 2022, 4:04 PM Jakob Erdmann <namdre.sumo@xxxxxxxxx> wrote:
Never modify a .net.xml file directly.
To support opposite direction driving in a network, run:
netconvert -s --opposites.guess -o
You can also set lane attribute 'opposite' in netedit.

Am Do., 3. Feb. 2022 um 14:26 Uhr schrieb Ifezue Obiako <vincentobiako@xxxxxxxxx>:
Would the line of code for opposite lane driving look something like what is depicted below if it were implemented in a .net file?


On Thu, Feb 3, 2022 at 6:03 AM Ifezue Obiako <vincentobiako@xxxxxxxxx> wrote:
Hello Everyone

I currently have a .net file that I am thinking about adding overtaking behavior. The idea is when one bus comes from behind another bus on a different bus route but at the same stop I would like the bus behind to overtake the other if the other bus is taking too long. Is there a way for the bus behind to overtake the leading bus (i.e., teleporting ahead of the leading bus)?

I have looked at the documentation on opposite-direction driving, but it seems like you can only explicitly call "neigh" in an .edge.xml file rather than a .net file. The reason why I asked if it is possible to do this in a .net file is because I already have a functioning .net file established and I would like to edit it from there.

For reference, my .net and additional files are attached to this email. The place I was trying to add overtaking is at lane -467228692#3_1, where the lane 467228692#3_1 is used to overtake at the bus stop.

Thank you in advance for your help
sumo-user mailing list
To unsubscribe from this list, visit
sumo-user mailing list
To unsubscribe from this list, visit

PNG image

Back to the top