|
From: Dennis U. (C) <den...@op...> - 2017-07-18 06:36:37
|
Dear SUMO users, I am currently working on a project that uses SUMO in Matlab via TraCI. I am stuck trying to find out how to get the lane IDs of my neighbouring lanes. To be clear: I have a vehicle on the road. This road could have 1 - 4 lanes. Any given moment I need to know if there is a lane to my right and/or to my left. I already had a solution by adding 1 and subtracting 1 from my current Lane IDs index and comparing the results to the complete Lane ID list of my network. But this was way too slow. Is there a simpler, faster way to retrieve this information? Best regards Dennis Uftring |