Yes you can, empty links means it's isolated. Since this information is
static you do not need to use (expensive) TraCI calls. Import sumolib
instead and read this from the network:
http://sumo.dlr.de/wiki/Tools/Sumolib
regards,
Jakob

2015-08-19 2:59 GMT+02:00 Nguyen Nguyen <[email protected]>:

> Hello All,
> I have lane ID and I want to find available lanes starting from that lane
> in file net.xml May I ask if I can use the command traci.lane.getLinks?
> Moreover, sometimes when I call traci.lane.getLinks, it returns empty
> list. How should I deal with this? Does that mean that the specific lane is
> isolated?
> Thank you.
> Best regards,
> Tran
>
> ------------------------------------------------------------------------------
> _______________________________________________
> sumo-user mailing list
> [email protected]
> https://lists.sourceforge.net/lists/listinfo/sumo-user
>
------------------------------------------------------------------------------
_______________________________________________
sumo-user mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/sumo-user

Reply via email to