Hello, each traffic light typically has multiple green phases. Also, a 'phase' in sumo has a somewhat different meaning compared to typical traffic engineering usage. See http://sumo.dlr.de/wiki/Simulation/Traffic_Lights#.3Cphase.3E_Attributes You will have to determine the index of the phase(s) that are of interest to you and sum up the duration of preceding phases. regards, Jakob
2018-04-06 13:08 GMT+02:00 Mouna Karoui via sumo-user < [email protected]>: > Dear sumo users, > > Have you an idea how can I determine the start time and the final time of > green phase of a traffic light > For instance, I trucked phases then I observed each start time of green > phase ? but I didn't find a function in the code that determine this time > there is function only for PhaseDuration. > > Regards, > ------------------------------------------------------------ > ------------------ > Check out the vibrant tech community on one of the world's most > engaging tech sites, Slashdot.org! http://sdm.link/slashdot > _______________________________________________ > sumo-user mailing list > [email protected] > https://lists.sourceforge.net/lists/listinfo/sumo-user > _______________________________________________ > sumo-user mailing list > [email protected] > To change your delivery options, retrieve your password, or unsubscribe > from this list, visit > https://dev.eclipse.org/mailman/listinfo/sumo-user > ------------------------------------------------------------------------------ Check out the vibrant tech community on one of the world's most engaging tech sites, Slashdot.org! http://sdm.link/slashdot _______________________________________________ sumo-user mailing list [email protected] https://lists.sourceforge.net/lists/listinfo/sumo-user
