Re: [sumo-user] setting velocity gradually

2019-08-28 Thread Jakob Erdmann
It appears you are using an old version of SUMO that expects the duration argument to be in ms. In this case, setting duration to 250 should work. Am Mi., 28. Aug. 2019 um 08:53 Uhr schrieb Aditya Prakash Chouhan < phd1501201...@iiti.ac.in>: > Hello, > Thanks for you reply Jakob. I also tried wha

Re: [sumo-user] setting velocity gradually

2019-08-27 Thread Aditya Prakash Chouhan
Hello, Thanks for you reply Jakob. I also tried what you mentioned but it is not working. Maybe I am making some silly mistake I don't know. I am attaching screenshot of the error message. [image: sumo_slowDown_error.png] On Tue, Aug 27, 2019 at 11:35 PM Jakob Erdmann wrote: > vehicle.slowDown

Re: [sumo-user] setting velocity gradually

2019-08-27 Thread Jakob Erdmann
vehicle.slowDown accepts non-integer values so you can just send 0.25 as duration. Am Di., 27. Aug. 2019 um 12:32 Uhr schrieb Aditya Prakash Chouhan < phd1501201...@iiti.ac.in>: > Dear all, > I am looking a way to adjust velocity of vehicles gradually. I came to > know that traci.vehicle.setSpee

[sumo-user] setting velocity gradually

2019-08-27 Thread Aditya Prakash Chouhan
Dear all, I am looking a way to adjust velocity of vehicles gradually. I came to know that traci.vehicle.setSpeed() does an instant change in velocity whereas traci.vehicle.slowDown() changes velocity in the time given in seconds. However, I wish to change velocity in a non-integer time interval fo