Skip to main content

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index] [List Home]
Re: [sumo-user] Edges with bi-directional lanes

Hi Hriday,

the link you sent (https://sumo.dlr.de/docs/Networks/PlainXML.html#neighboring_opposite-direction_lanes) is used to allow drifting on the opposite lane, not to build a lane in the opposite direction.
In SUMO, edges are directional. You can see it in their definition, from node to node, and that gives the direction.
There are only a few specific lanes that are bidirectional, like railways, for example.

Regards,
Lara

On Thu, Feb 11, 2021 at 6:49 PM Hriday Sanghvi <sanghvih@xxxxxx> wrote:
Hello,

I am trying to create a network one junction at the center and four edges branching out from there in cardinal directions. But I need all these edges to have 2 lanes, each lane allowing the passage of vehicles in the opposite direction.

I have referred to https://sumo.dlr.de/docs/Networks/PlainXML.html#neighboring_opposite-direction_lanes and tried to do it myself but it seemingly creates a new EDGE that acts as the opposite-direction lane instead. 
Screenshot from 2021-02-11 18-44-28.png
You may notice the gaps between the edges that are supposed to be "neighbouring lanes". 

The closes image I found to what I am trying to achieve is as given:

ref img.jpg
Note how the blue and orange car are facing. Assuming the blue car travels straight upwards instead of right. Is it possible to get such a edge with two lanes(bidirectional)
--
_______________________________________________
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