Hello Folks, I checked the help page again. I didn't notice the command *slowDown* The description matches my requirement. I'll try using it and get back in case of any queries.
I am sorry for the previous mail. I should have searched more before I requested for help. Regards, Vaibhav Rungta Graduate Student - Industrial and Systems Engineering Graduate Assistant - Toyota Production Systems Lab Research Assistant - University Transport Research Center 585-754-7133 On Thu, Dec 22, 2016 at 2:10 AM, Vaibhav Rungta <[email protected]> wrote: > Hello Folks, > TraCI interface has been really helpful so far. > > So far I have used following commands to create a group a vehicles: > traci.trafficlights.getNextSwitch() > traci.lane.getLastStepVehicleIDs() > traci.vehicle.getVehicleClass() > traci.vehicle.getLanePostion() > > Now I wish to accelerate a group and decelerate another group of vehicles. > I used traci.vehicle.setAccel(veh_ID, some acceleration value) > I thought this will accelerate the vehicle but the description > http://www.sumo.dlr.de/pydoc/traci._vehicle.html > suggests that *this sets the maximum acceleration. *However, I wish the > vehicles to accelerate or decelerate at a particular rate (based on > calculation). > > I also got the *error* 0xc4: invaliid acceleration > > Please help me figure out the correct command to accelerate and decelerate > the vehicle at a desired rate. Thank you. > > It's almost Christmas :) > > Regards, > Vaibhav Rungta > Graduate Student - Industrial and Systems Engineering > Graduate Assistant - Toyota Production Systems Lab > Research Assistant - University Transport Research Center > 585-754-7133 <(585)%20754-7133> > > ------------------------------------------------------------------------------ Developer Access Program for Intel Xeon Phi Processors Access to Intel Xeon Phi processor-based developer platforms. With one year of Intel Parallel Studio XE. Training and support from Colfax. Order your platform today.http://sdm.link/intel _______________________________________________ sumo-user mailing list [email protected] https://lists.sourceforge.net/lists/listinfo/sumo-user
