Skip to main content

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index] [List Home]
Re: [sumo-user] subscription

- subscribe to VAR_EDGES to get the route via subscriptions
- the documentation in constants.py is incomplete. traci.edge.getWaitingTime works just fine

Am Di., 20. Aug. 2019 um 09:57 Uhr schrieb Hoffmann, Pascal <pascal.hoffmann@xxxxxx>:

Dear sumo-user,


due to high computation time of the simulation via TraCI, I want to use subscriptions. Most of the times it worked quite well, but I'm looking for a subscription method to get the route (every edge of the route like traci.vehicle.getRoute) of the vehicles and can not find it. Furthermore I used traci.edge.getWaitingTime, but in constants.py I just can find a method for the lane waiting time. Is it true that there is no method to get the waiting time of the edges? How do I get the routes via subscriptions?


Thanks in advance!!


Best regards,

Pascal

_______________________________________________
sumo-user mailing list
sumo-user@xxxxxxxxxxx
To change your delivery options, retrieve your password, or unsubscribe from this list, visit
https://www.eclipse.org/mailman/listinfo/sumo-user

Back to the top