Hello Jakob Thank you for your reply. Yes, I know of these functions and I tried to work with them as well. The problem is that there are roads/ edges which my car node crosses more than once in it's route. On retrieving the edges on the route, I can obtain only a list of the edges and not the index of the current edge. How do I identify which index on the edge list is my car node at?
On Sat, Jun 13, 2015 at 11:31 AM, Jakob Erdmann <[email protected]> wrote: > 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 >> > > -- 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
