|
From: Sofiane Z. <sof...@gm...> - 2013-07-19 18:52:14
|
Hi, I am currently working on a simulation scenario using SUMO and i have encountered some difficulties accessing some of the simulation information using TraCI. In fact, i want to extract the IDs of all the road segments directly linked (one junction away) to a road segment, a given vehicle is on, at a given time step. I found out that it is possible to extract the outgoing lanes of a given lane with the help of the command LANE_LINKS, but again, it is hard to know the exact number of lanes on an edge given only the id of this edge, and most importantly, in the case where there is an edge connected to my edge (the edge on which the vehicle is), but this connected edge has only ingoing lanes (single way). How can i figure out that there is a a road segment there and that is linked to my road segment? Thank you in advance for your time and answer. Best regards |