Closed JoaoCostaIFG closed 1 year ago
From LaneStop.laneIndex docs:
The lane index to stop at. Traci uses the pair (edge ID, lane index) for lane stops (instead of lane ID). There isn't a way to get the index of a lane in traci. As such, we use the index of the order at which lanes are found. If a user wants to, it is possible to define lanes' indexes, in the simulation's XML files, in an order that doesn't match their positions in the lane. If this happens, the lane index used for the stop can match with a different lane (in the same edge).
Currently, haven't found a reliable way to get the lane ID.