Hello,
you can retrieve the route id of a vehicle and then get all edges of the
route.
see
http://sumo.dlr.de/wiki/TraCI/VehicleType_Value_Retrieval
http://sumo.dlr.de/wiki/TraCI/Route_Value_Retrieval
regards,
Jakob

2015-06-11 16:42 GMT+02:00 Anmol Dalmia <[email protected]>:

> Hello SUMO Community.
>
> I am implementing a scenario in Veins where I am interested to know the
> RoadID of the *next* road or lane which a car node will take. I can extract
> such info about the current road but how to do this for the next road?
> Searching through the route file in runtime is not a proper option, I
> guess. Even if it is, can anyone tell me how to do this?
>
> Thanks in advance
>
> --
> With Regards
> ANMOL DALMIA
> Summer Research Intern
> Technische Universitat Chemnitz, Germany
>
> ------------------------------------------------------------------------------
> _______________________________________________
> 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