Re: [sumo-user] Changing maximum speed limit of all the vehicles in a simulation at a given time.

2020-07-03 Thread Traboulsi, Abdullah
Hi PSK, Yes, thank you it is clear now. Best regards, Abdullah On Fri, Jul 3, 2020 at 11:00 AM Padisala, Shanthan Kumar < padisal...@buckeyemail.osu.edu> wrote: > Sure! > > I first used *VID = traci.vehicle.getIDList() *to load all the vehicle > IDs into list VID. Then I ran a for loop from 0

Re: [sumo-user] Changing maximum speed limit of all the vehicles in a simulation at a given time.

2020-07-03 Thread Padisala, Shanthan Kumar
Sure! I first used VID = traci.vehicle.getIDList() to load all the vehicle IDs into list VID. Then I ran a for loop from 0 to len(VID) and used traci.vehicle.setMaxSpeed(VID[v],0.5*35) to alter the speeds of all the vehicles. I hope it is clear. Thanks PSK

Re: [sumo-user] Changing maximum speed limit of all the vehicles in a simulation at a given time.

2020-07-03 Thread Traboulsi, Abdullah
Hi, Could you please share your solution? How did you do that? Thank you and regards On Fri, Jul 3, 2020 at 2:20 AM Padisala, Shanthan Kumar < padisal...@buckeyemail.osu.edu> wrote: > Thanks, guys. > > I was able to figure it out. > > -- > *From:*

Re: [sumo-user] Changing maximum speed limit of all the vehicles in a simulation at a given time.

2020-07-03 Thread Padisala, Shanthan Kumar
Thanks, guys. I was able to figure it out. From: sumo-user-boun...@eclipse.org on behalf of Padisala, Shanthan Kumar Sent: Friday, July 3, 2020 1:33 AM To: Sumo project User discussions Subject: [sumo-user] Changing maximum speed limit of all the vehicles in