Skip to main content

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index] [List Home]
Re: [sumo-user] Route to include Edges and Nodes

Hi Jakob,

Thank you for your response. 

The network has internal links and the vehicles are able to follow these internal links across the intersections. 

So, now a generated route may look like: 
 <route edges="edge1 edge2 edge3"/>

But I would like to include the junctions as well, like this:
 <route ....="edge1 junction1 edge2 junction2 edge3 junction3"/>

Is there a way to include these internal links in the route (.rou.xml) of the vehicle? 

Kind regards,

Pepijn

On Wed, Aug 28, 2024 at 7:50 AM Jakob Erdmann via sumo-user <sumo-user@xxxxxxxxxxx> wrote:
There are "internal edges" within your junctions on which the vehicle should be able to drive (unless you are using a network without these). See https://sumo.dlr.de/docs/Simulation/Intersections.html#internal_links

Am Di., 27. Aug. 2024 um 16:22 Uhr schrieb Pepijn Gregoire via sumo-user <sumo-user@xxxxxxxxxxx>:
Hi all,

I have a question regarding the routing of SUMO traffic. I have a SUMO vehicle with a route and I have made it possible to switch between two options:
- the SUMO vehicle following the route as part of the traffic simulation;
- manually driving a vehicle and place this vehicle in SUMO using TraCI.

Both work very smooth and I can switch between the two, but only on edges which are part of the route. I cannot switch on nodes/junctions, this will make my vehicle disappear from the simulation, because it does not recognise the nodes/junctions as part of its route. I think that this has to do with the fact that SUMO routes consist of edges and not nodes/junctions. Maybe if the nodes/junctions are included in the route as well, that it would be possible to switch on them.

Does anyone know if it is possible to include both edges and nodes/junctions in the vehicle route?

I did some research, to no avail, and tried to input nodes straight away, but that also did not seem to work.

All suggestions are welcome.

Kind regards,

Pepijn
_______________________________________________
sumo-user mailing list
sumo-user@xxxxxxxxxxx
To unsubscribe from this list, visit https://www.eclipse.org/mailman/listinfo/sumo-user
_______________________________________________
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