Skip to main content

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index] [List Home]
Re: [sumo-user] Addressing rerouter via TraCI

Hi Gergely,

 

on the page you mentioned (https://sumo.dlr.de/docs/Demand/Automatic_Routing.html#traci) it is question of rerouting devices of vehicles, not rerouter elements on edges. These are two separate concepts and currently there is no option to access / update the rerouter properties during the simulation (see similar questions asked on Github #12110 #13214). What you can do during the simulation is closing or reopening a lane/edge by editing its permissions (traci.lane.setAllowed).

 

Best regards

Mirko

 

 

 

 

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

Betreff: [sumo-user] Addressing rerouter via TraCI

Datum: 2025-01-20T18:29:40+0100

Von: "Gergely Ferenczi via sumo-user" <sumo-user@xxxxxxxxxxx>

An: "Akua Dickson via sumo-user" <sumo-user@xxxxxxxxxxx>

 

 

 

Dear SUMO User Group

 

 

Can the information set in the ‘<interval/>’ nodes of a rerouter definition (https://sumo.dlr.de/docs/Simulation/Rerouter.html) be addressed via TraCI at runtime? There are some options listed for addressing rerouters with TraCI here: https://sumo.dlr.de/docs/Demand/Automatic_Routing.html#traci but I do not see the information I want to change listed here.

 

In particular what I want to set at runtime are the ‘begin’ & ‘end’ attributes of an ‘<interval/>’ node and the ‘id’ attribute of its ‘<closingReroute/>’ node. I want to simulate road closures but without having to specify its start time and duration before the simulation begins.

 

Kind regards,

Gergely Ferenczi


This email and any files communicated with it are confidential and intended solely for the use of the individual or entity to whom they are addressed. If you have received this email in error, please inform us and delete this message. It is forbidden to copy, forward, or in any way reveal the contents of this message to anyone.

MXTREALITY UK LTD. trading as "MXT" | A company registered in England and Wales | Company number: 10431348 | The Courtyard, 4 Evelyn Road, London, United Kingdom, W4 5JL

 



Back to the top