Hi,
I am using "moveToVTD" and "setSpeed" function. Both these functions are used in a loop at every simulation step(0.01 second). There is no error while using both these functions simultaneously in a single script. Both these functions take input argument from a set of data file. The coordinates of the vehicles are set according to "moveToVTD"(the vehicles move due to use of this function through out the simulation period), but the speed of the vehicles are not set according to "setSpeed" function. Speed of all the vehicles are 0 (zero) in the output. To confirmation this I checked using sumo-GUI/View Settings, I tried setting the color of the vehicles by their speed. Vehicles' color are all red (default for zero speed). This suggests that "moveToVTD" is overwriting the "setSpeed" function. Hence I tried changing the sequence of the above functions used in the script but no luck. Is it possible to set the speed as well? Best Regards, Sujit Sharan ------------------------------------------------------------------------------ _______________________________________________ sumo-user mailing list [email protected] https://lists.sourceforge.net/lists/listinfo/sumo-user
