Hello, you can do this with TraCI and you do not need TraNS. Using TraCI you have access to all vehicles on the lane which allows you to compte the density. You can also set the traffic light phases however you like. see http://sumo-sim.org/wiki/Tutorials/TraCI4Traffic_Lights regards, Jakob
2013/11/26 USC <[email protected]> > Or at least simulate without the traffic signal at the junction . > > I'm assuming it's possible to do so using induction loops on each lane of > the junction. > > Please do let me know . > > Regards, > Pooja. > > On 25 ನವೆಂಬರ್ 2013, at 03:01 PM, Pooja Voladoddi <[email protected]> wrote: > > I'm going to simplify the problem statement, please help me out if this > makes sense. > > My goal is this - > > Look at the lane density of each lane (say 4 lanes) intersecting at a > junction, and allow the lane with the highest density through , assuming > that the cars/vehicles on all lanes are able to communicate with each other. > -------------- > > Say N-S lane has a higher density but the traffic light is RED , it should > still go through because the lead vehicle at N-S intersection has > communicated to W-E lead vehicle that lane density is higher on N-S > direction. > > > For this purpose, > > *---do i need TraCI or TraNS ?* > > > *i need to override the 'RED' traffic light in case lane density for that > lane is high compared to others.* > > *--- will TraCI suffice if i just use the Python script as the controller > (instead of NS2) , and make the intersection to NOT have a traffic signal?* > > > > Regards, > Pooja. > > ------------------------------------------------------------------------------ Shape the Mobile Experience: Free Subscription Software experts and developers: Be at the forefront of tech innovation. Intel(R) Software Adrenaline delivers strategic insight and game-changing conversations that shape the rapidly evolving mobile landscape. Sign up now. http://pubads.g.doubleclick.net/gampad/clk?id=63431311&iu=/4140/ostg.clktrk _______________________________________________ sumo-user mailing list [email protected] https://lists.sourceforge.net/lists/listinfo/sumo-user
