Use speed mode 7 instead of 23. You need to clear the 'check red light' bit as well.
From: Vaibhav Rungta <[email protected]> > To: Jakob Erdmann <[email protected]> > Cc: sumo-user <[email protected]> > Date: Wed, 25 Jan 2017 12:01:19 -0500 > Subject: Re: [sumo-user] How to make vehicle accelerate at Yellow light? > Hello Jakob, > Thank you for your inputs. I used the SpeedMode command but the vehicles > still do not begin to move at the yellow phase. > I came across a discussion https://sourceforge.net/p/ > sumo/mailman/message/32796321/ > in which one of the user suggests setting tau to a value of zero. But that > doesn't seem to work either. > > Desired state - Vehicle begin to move at Yellow phase (which precedes the > Green phase) > Current state - Vehicle do not begin to move at green phase. > > Commands tried - > 1) traci.vehicle.setTau(vehID, 0) > 2) traci.vehicle.setSpeedMode(vehID, 23) > > #At the end of red phase I execute following section of code to begin the > vehicles to accelerate- > for veh in stopped_veh: > traci.vehicle.slowDown(veh, 16, 8000) > > Please suggest. > > > 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> > > > On Sat, Jan 21, 2017 at 12:48 PM, Jakob Erdmann < > [email protected]> wrote: > >> Hello, >> in case you a referring to the red/yellow phase that precedes the green >> phase, this is treated by vehicles like a red phase (forcing them to stop). >> To overcome this rule you need to set the speedmode to disregard red lights. >> See http://sumo.dlr.de/wiki/TraCI/Change_Vehicle_State#speed_mod >> e_.280xb3.29 >> >> regards, >> Jakob >> >> 2017-01-20 18:15 GMT+01:00 Vaibhav Rungta <[email protected]>: >> >>> Hello Folks, >>> I am trying to create an algorithm for vehicles approaching signalized >>> intersection. >>> >>> One of the observation for the Basic Krauss Model is that vehicles begin >>> moving when the light turns green and these vehicles accelerate at >>> nearly >>> 3 m/s^2 to 4 m/s^2. Higher acceleration result in more emissions and fuel >>> consumption. >>> >>> I plan to make the vehicles begin moving in yellow phase at a lower so >>> that >>> the vehicles begin moving earlier instead of accelerating faster and thus >>> maintaining the flow. >>> >>> Please suggest how I may make the vehicle begin moving at yellow. The >>> TraCI >>> code I have written instructs the vehicles to begin moving at yellow >>> (using >>> the slowDown command) phase but when I execute the program it doesn't >>> happen. Thanks. >>> >>> Regards, >>> Vaibhav Rungta >>> Graduate Student - Industrial and Systems Engineering >>> Graduate Assistant - Toyota Production Systems Lab >>> Research Assistant - University Transport Research Center >>> 585-754-7133 >>> ------------------------------------------------------------ >>> ------------------ >>> 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 >>> >> >> > > > ---------- Weitergeleitete Nachricht ---------- > From: [email protected] > To: > Cc: > Date: > Subject: confirm e70d8e33c22654e47bf2b933ec7b6aa357759deb > If you reply to this message, keeping the Subject: header intact, > Mailman will discard the held message. Do this if the message is > spam. If you reply to this message and include an Approved: header > with the list password in it, the message will be approved for posting > to the list. The Approved: header can also appear in the first line > of the body of the reply. > ------------------------------------------------------------------------------ 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
