Hi Jakob, How could I load the new definition and continue from the same spot it was? The steps would be:
load tlLogic definition into junction saveState Reload simulation ? How do I achieve each one of these? Best regards, José On Tue, 10 Jul 2018 at 15:39, Jakob Erdmann <[email protected]> wrote: > This is currently not possible. > It should be possible in the future using > setCompleteRedYellowGreenDefinition but does not work at the moment due to > https://github.com/eclipse/sumo/issues/4324 > > As a workaroudn you could use traci.load to reload the simulation with > another tlLogic definition. > By using traci.simulation.saveState and using that state when reloading > the simulation you might be able to achieve a seamless transition. > > regards, > Jakob > > 2018-07-10 14:51 GMT+02:00 Jose Monreal Bailey <[email protected]>: > >> Dear sumo-users, >> >> Is it possible to change the phase max value for an actuated TrafficLight >> with TraCI? >> Would it be the setProgram method? >> >> 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 >
_______________________________________________ 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
