Thanks Jacob. It's working now. Regards, Santa
On Sun, Oct 22, 2017 at 4:29 AM, Jakob Erdmann <[email protected]> wrote: > Hello, > command traci.vehicle.setSpeed sets the new desired speed indefinitely. In > order to go back to normal behavior the command setSpeed(vehID, -1) must be > sent. > see http://sumo.dlr.de/wiki/TraCI/Change_Vehicle_State > regards, > Jakob > > 2017-10-20 19:45 GMT+02:00 Santa Maiti <[email protected]>: > >> Hi Jacob, >> >> Please find the sample example code rough.m . The initial vehicle speed >> is 2 m/s and it is increasing as per accel. speedmode is set to 0. Later, >> speed is increased and speedmode is set back to 31. But, the speed of the >> vehicle remains same 20m/s. Can you please tell me where is the mistake >> here? >> >> Thanks, >> Santa >> >> On Fri, Oct 20, 2017 at 5:23 PM, Jakob Erdmann < >> [email protected]> wrote: >> >>> Hello, >>> the default speed mode is 31. Please check whether the vehicles have >>> already reached their maximum desired speed (speedLimit * speedFactor). >>> Also, remove any previous setSpeed() commands by sending >>> traci.vehicle.setSpeed(vehID, -1). >>> Furthermore, ensure that the maximum allowed acceleration value of the >>> vehicle type is positive. >>> regards, >>> Jakob >>> >>> 2017-10-20 7:26 GMT+02:00 Santa Maiti <[email protected]>: >>> >>>> Hi Jacob, >>>> >>>> Could you please tell me what is the default speed mode value used in >>>> Sumo, where the vehicles speed up if the lane is free? I thought it's 31. >>>> In my simulation, I first made the speed mode as 0 that makes all checks >>>> off. In next simulation step when I'm resetting the speed mode in 31, the >>>> vehicles are moving at constant speed. They are not accelerating even if >>>> the lane is empty. I'm working in traci-matlab. >>>> >>>> Thanks in advance, >>>> Santa >>>> >>>> -- >>>> Santa Maiti, >>>> Ph.D Student, >>>> Geomatics, Department of Infrastructure Engineering, >>>> University of Melbourne. >>>> >>> >>> >> >> >> -- >> Santa Maiti, >> Ph.D Student, >> Geomatics, Department of Infrastructure Engineering, >> University of Melbourne. >> > > -- Santa Maiti, Ph.D Student, Geomatics, Department of Infrastructure Engineering, University of Melbourne. ------------------------------------------------------------------------------ Check out the vibrant tech community on one of the world's most engaging tech sites, Slashdot.org! http://sdm.link/slashdot _______________________________________________ sumo-user mailing list [email protected] https://lists.sourceforge.net/lists/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
