Skip to main content

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index] [List Home]
Re: [sumo-user] Inquiry : Retrieve all traffic lights between source and destination for a given vehicle

Please provide a *minimal* example input (network and traci script) that demonstrates missing tls in getNextTLS.

Am Do., 9. Mai 2019 um 13:55 Uhr schrieb Sheshadri Kalkunte Ramachandra <sheshadrik@xxxxxxxxxx>:
Namaste,

I have the following requirement.

----------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------

Requirement:
----------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------
Given vehicleId, I want to know the following things
Input: vehicleId
Output: List [ (traffic-signal1, lane, state-of-signal), (traffic-signal2, lane, state-of-signal), ..................(traffic-signal-n, lane, state-of-signal) ]
Current api: getNextTLS(self, vehicleId)


----------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------

----------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------
Problem:
----------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------
The output of the above api getNextTLS() is not returning the complete list of traffic signals between the source and destination of the vehicle.
Many traffic signals are skipped in the returned list.
----------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------


----------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------
Question:
----------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------
How to retrieve the complete ordered list of traffic signals for a given vehicle following a particular route?
How to know which lane the vehicle will go on the specified edge in the current route it is following?
----------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------

Please advise on the above problem.


Regards,
Sheshadri K R

+91-9845213149

_______________________________________________
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