Skip to main content

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index] [List Home]
Re: [sumo-user] Get Incoming Lanes of an Edge

You can use traci.lane.getLinks on all lanes and filter those that target the lane/edge you are interested int
Or you can use sumolib: net.getLane("laneID").getIncoming()

regards,
Jakob

Am Do., 16. Apr. 2020 um 13:11 Uhr schrieb E Huan Chen <colaaddict96@xxxxxxxxx>:
Hi,

I am aware that for a traffic light, you could retrieve the incoming
lanes by using getControlledLanes in TraCI.

Is there a similar function for Edges? To find the incoming lanes of
an Edge or a junction without traffic lights?
_______________________________________________
sumo-user mailing list
sumo-user@xxxxxxxxxxx
To unsubscribe from this list, visit https://www.eclipse.org/mailman/listinfo/sumo-user

Back to the top