Hi Jakob,
Thanks for your reply. Is there anyway that I can obtain a new route instead 
only loaded routes? If the starting edge is the current edge that the car just 
disappear, the destination edge is randomly picked, can I obtain the edges of 
the shortest route between 2 edges from file net.xml by SUMO?
Thank you.
Best regards,
Tran 


     On Wednesday, August 5, 2015 11:58 PM, Jakob Erdmann 
<[email protected]> wrote:
   

 you may iterate over all currently loaded roads, retrieve their edges and 
check whether it is the starting edge you need.
see http://sumo.dlr.de/wiki/TraCI/Route_Value_Retrieval
regards,
Jakob

2015-08-05 21:11 GMT+02:00 Nguyen Nguyen <[email protected]>:

Hello,
May I ask how I can obtain available routes starting from one specific edge by 
traci? I want to add a new vehicle after an old one is removed also at that 
position. The map is large so only a part of routes are loaded in the beginning.
Thank you.Best regards,Tran
------------------------------------------------------------------------------
_______________________________________________
sumo-user mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/sumo-user




   
------------------------------------------------------------------------------
_______________________________________________
sumo-user mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/sumo-user

Reply via email to