Unfortunately my vehicle change its lane during the travel and it takes more than 3000 ms to arrive its destination with more than 8 edges. Can I still use getnexttls with this situation?
On Sat, Dec 22, 2018 at 12:36 AM Jakob Erdmann <[email protected]> wrote: > Currently, the list of upcoming traffic lights should extend as far as the > vehicle can drive along its route without changing lanes (with a cut-of > after 8 edges or 3000m). > Does this match the behavior you are seeing? If not, can you give a > screenshot describing the vehicles route, its position and the extent of > returned tls from getNextTLS? > > Am Do., 20. Dez. 2018 um 17:36 Uhr schrieb Mahdi Afshin < > [email protected]>: > >> Hello Guys, >> >> I'm using TraCI with Python to control an emergency vehicle. A problem >> that I'm facing too is that I cannot get the full list of traffic lights >> with getNextTLS() function. it just brings traffic lights before any >> turning left or right movement. At each simulation step I execute >> getNextTLS() and when the vehicle is in junctions to turn left or right the >> returning list is empty. After googling, I'm guessing that this is because >> of Internal junctions that makes vehicles wait and present in the >> conjunctions to get allowed to turn. >> Please help me to get the full list of traffic lights of the a given >> route. >> Thank you >> Mahdi >> _______________________________________________ >> sumo-user mailing list >> [email protected] >> To change your delivery options, retrieve your password, or unsubscribe >> from this list, visit >> https://www.eclipse.org/mailman/listinfo/sumo-user >> > _______________________________________________ > sumo-user mailing list > [email protected] > To change your delivery options, retrieve your password, or unsubscribe > from this list, visit > https://www.eclipse.org/mailman/listinfo/sumo-user >
_______________________________________________ sumo-user mailing list [email protected] To change your delivery options, retrieve your password, or unsubscribe from this list, visit https://www.eclipse.org/mailman/listinfo/sumo-user
