Skip to main content

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index] [List Home]
Re: [sumo-user] It it possible to have bidi roads?

Here are the instructions I recently posted for a similar question:

  • create an edge
  • select it and choose "add reverse direction" from the context menu
  • set spreadType for both to "center"
  • adapt the shape coordinates of one of them to match the shape of the other
  • activate "bidi" checkbox

 

 

 

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

Betreff: Re: [sumo-user] It it possible to have bidi roads?

Datum: 2023-11-14T12:46:27+0100

Von: "Tiago Furtado via sumo-user" <sumo-user@xxxxxxxxxxx>

An: "sumo-user@xxxxxxxxxxx" <sumo-user@xxxxxxxxxxx>

 

 

 

Hi,
 
How do I make edges overlap? If I try to create edges in netedit, it only lets me make edges that are in opposite directions between junctions/nodes. It places those edges side-by-side.
 
On 13 November 2023 at 10:53:02 -00:00, Mirko Barthauer <m.barthauer@xxxxxxxxxxx> wrote:

Hi Tiago,

 

bidirectional edges are an extreme case of the "opposite direction driving" feature. You need to have a one-lane edge per direction and make them overlap exactly (same end nodes and same geometry). Only then you can mark it as birectional.

 

Best regards

Mirko

 

 

 

 

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

Betreff: [sumo-user] It it possible to have bidi roads?

Datum: 2023-11-13T10:51:31+0100

Von: "Tiago Furtado via sumo-user" <sumo-user@xxxxxxxxxxx>

An: "sumo-user@xxxxxxxxxxx" <sumo-user@xxxxxxxxxxx>

 

 

 

Hi,
 
I would like to model a situation where there is a bidi edge that is gated by two traffic lights on opposite ends. I believe the documentation states that it is only possible to have bidi on railways, but this issue on https://github.com/eclipse-sumo/sumo/issues/13541,  suggests otherwise. As of right now, I'm using two edges and manually gating access to those sections of road, but ultimately I would prefer to represent that section more accurately.
 

 

 
 


Back to the top