Skip to main content

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index] [List Home]
[sumo-user] A Problem to get list of upcoming Traffic Lights

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

Back to the top