Oh my, it works. Now I can try to solve the rest of the problems! Thank you very much, Jakob
2016-11-10 10:44 GMT+01:00 Jakob Erdmann <namdre.s...@googlemail.com>: > The traci getLeader() function supports leader retrieval across multiple > edges up to a distance of ~3000m > However, you need to set the optional dist parameter to the desired > look-ahead range. By default it only checks withing the braking distance of > the ego vehicle. > > 2016-11-10 10:31 GMT+01:00 Alberto Díaz <alberto...@gmail.com>: > >> Hi there, >> >> I'd like to know if there is a way to obtain the lead vehicle across >> edges. >> My problem is the next. I'm implementing a library for letting people to >> implement their own behavior models in python using traci. I've a network >> wit four edges forming a square and a bunch of vehicles running. I'm >> implementing a Nagel-Schreckenberg model for testing it and one of the >> problems that I have is that the getLeader method only works when the >> vehicles are in the same edge. >> >> I understand that after an edge can be more than one edges connected, but >> I'd like to know if there is someone that had the same issue and could >> help >> me. Thank you and have a nice day! >> >> Alberto >> ------------------------------------------------------------ >> ------------------ >> Developer Access Program for Intel Xeon Phi Processors >> Access to Intel Xeon Phi processor-based developer platforms. >> With one year of Intel Parallel Studio XE. >> Training and support from Colfax. >> Order your platform today. http://sdm.link/xeonphi >> _______________________________________________ >> sumo-user mailing list >> sumo-user@lists.sourceforge.net >> https://lists.sourceforge.net/lists/listinfo/sumo-user >> > > ------------------------------------------------------------------------------ Developer Access Program for Intel Xeon Phi Processors Access to Intel Xeon Phi processor-based developer platforms. With one year of Intel Parallel Studio XE. Training and support from Colfax. Order your platform today. http://sdm.link/xeonphi _______________________________________________ sumo-user mailing list sumo-user@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/sumo-user