Hi Rui, thanks for the remark. It is actually a tad different because the TraCI protocol transmits milliseconds but the Python function (and maybe others as well) uses seconds and converts before transmission. I updated the python docstring to reflect that.
Best regards, Michael Am 01.04.2016 um 19:14 schrieb Sha, Rui: > Hi, > > I have found a problem with the function > traci.trafficlights.setPhaseDuration, and I am using sumo.0.25.0. > > The function's help shows "setPhaseDuration(TLSID,PHASEDURATION) Sets the > current phase's duration in miliseconds of the traffic lights with ID TLSID > to the given in the PHASEDURATION parameter." > > However, I found the unit actually is calculated in seconds instead of > miliseconds. > > Kind Regards, > Rui > ------------------------------------------------------------------------------ > Transform Data into Opportunity. > Accelerate data analysis in your applications with > Intel Data Analytics Acceleration Library. > Click to learn more. > http://pubads.g.doubleclick.net/gampad/clk?id=278785471&iu=/4140 > _______________________________________________ > sumo-user mailing list > [email protected] > https://lists.sourceforge.net/lists/listinfo/sumo-user > ------------------------------------------------------------------------------ Transform Data into Opportunity. Accelerate data analysis in your applications with Intel Data Analytics Acceleration Library. Click to learn more. http://pubads.g.doubleclick.net/gampad/clk?id=278785471&iu=/4140 _______________________________________________ sumo-user mailing list [email protected] https://lists.sourceforge.net/lists/listinfo/sumo-user
