Skip to main content

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index] [List Home]
Re: [sumo-user] the simaple question

Using traci you can query the E2 detector (traci.lanearea.*) for the queue length in the last time step. You could also query the lane directly for all vehicles on it and then check the vehicles individually as to their speed or waitingTime.

Am Fr., 14. Juni 2019 um 02:08 Uhr schrieb Jane Cheung <cheung180515@xxxxxxxxx>:
Could I use Traci to get the results that I want while the simulation  is running? OR Could I use the Traci to get the E2 detector data in different time during the simulation?
Best regards!



Jane

On Thu, Jun 13, 2019 at 6:28 PM Jakob Erdmann <namdre.sumo@xxxxxxxxx> wrote:

Am Fr., 14. Juni 2019 um 00:56 Uhr schrieb Jane Cheung <cheung180515@xxxxxxxxx>:
Dear all,

 How could I get the total  vehicle  number that are waiting when the traffic light phase is red?
 Any kindly help would be appreciated!

Jane


_______________________________________________
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