No, this is currently not tracked by the simulation. You can count the cycles using one of the various tls-outputs: http://sumo.dlr.de/wiki/Simulation/Output#traffic_lights-based_information. If you need to know the cycle while the traffic light is running you have to keep track of the phases in your script using traci.trafficlight.getPhase.
regards, Jakob 2018-06-21 12:34 GMT+02:00 Jose Monreal Bailey <[email protected]>: > Hello everyone, > > Is there a way to get the current cycle of the Traffic Light? > By cycle I mean when all the phases have completed, and starting again > from phase 0. > > Best regards, > José > > _______________________________________________ > 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 > >
_______________________________________________ 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
