Skip to main content

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

Thank you !

On Dec 23, 2018, at 5:53 PM, Jakob Erdmann <namdre.sumo@xxxxxxxxx> wrote:

Fortunately, the latest development version supports retrieval of traffic lights along the whole route regardless of lane changes. If you are using the windows version, updated binaries will be available by afternoon of tomorrow at http://sumo.dlr.de/wiki/Downloads#Nightly_Snapshots

regards,
Jakob

Am Sa., 22. Dez. 2018 um 05:01 Uhr schrieb Mahdi Afshin <mahdi.afshin@xxxxxxxxx>:
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 <namdre.sumo@xxxxxxxxx> 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 <mahdi.afshin@xxxxxxxxx>:
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
sumo-user@xxxxxxxxxxx
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
sumo-user@xxxxxxxxxxx
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
sumo-user@xxxxxxxxxxx
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
sumo-user@xxxxxxxxxxx
To change your delivery options, retrieve your password, or unsubscribe from this list, visit
https://www.eclipse.org/mailman/listinfo/sumo-user

Back to the top