From: Markus M. <mar...@un...> - 2009-04-23 14:08:32
|
Hi! Because I would like to have the information of the simulated vehicles (postion, current speed, ...) more often than once per second, I would like to increase the step size of the micro simulation. Therefore I enabled the compile option ----enable-subsecond and changed the typedef inside the file SUMOtime.cpp from one step per second #ifdef HAVE_SUBSECOND_TIMESTEPS SUMOReal DELTA_T = (SUMOReal) 1.; #endif to ten steps per second #ifdef HAVE_SUBSECOND_TIMESTEPS SUMOReal DELTA_T = (SUMOReal) 0.1; #endif Afterwards I added a print out within the main simulation (MSNet::simulate(SUMOTime start, SUMOTime stop)) loop to check if everything went well. >From the output I can see, that the step size is still the same ... Does anybody has an idea what's going wrong here? BR, Markus |