Re: [sumo-user] TraCI subscriptions to route changes

2018-07-05 Thread Michael Behrisch
Hi Lara, it is currently not implemented and at the moment all of the subscriptions are time triggered and not event based. The easiest way to get the information without constantly polling is probably to implement an analogue to simulation.getLoadedIDList for rerouting and subscribe to that. But

[sumo-user] TraCI subscriptions to route changes

2018-07-05 Thread Lara CODECA
Dear all, is there a way to subscribe to the route changes events? I saw subscribeContext in http://www.sumo.dlr.de/daily/pydoc/traci._simulation.html#SimulationDomain-subscribeContext and # command: subscribe route context CMD_SUBSCRIBE_ROUTE_CONTEXT = 0x86 # response: subscribe route