Please take a look at http://sumo-sim.org/wiki/Tutorials/TraCI4Traffic_Lights which does exactly this. regards, Jakob
2014-07-15 6:47 GMT+02:00 Titus Rakkesh <[email protected]>: > ---------- Forwarded message ---------- > From: Titus Rakkesh <[email protected]> > Date: Sun, Jul 13, 2014 at 11:56 PM > Subject: Controlling traffic lights through TraCI > To: sumo-user <[email protected]> > > > Dear All, > Currently I am using MatLab TraCI for a simulation purpose. I have > attached an image for your reference. Here I want to control the mentioned > traffic lights from TraCI. I have put 2 induction loop detectors. If a > vehicle pass the induction loop, I want to change the light to green and > allow green for some time. Then change back to yellow and red and keep. Pls > assist me how I can do with sample code segment. > > Thanks, > Titus. > > > ------------------------------------------------------------------------------ > Want fast and easy access to all the code in your enterprise? Index and > search up to 200,000 lines of code with a free copy of Black Duck > Code Sight - the same software that powers the world's largest code > search on Ohloh, the Black Duck Open Hub! Try it now. > http://p.sf.net/sfu/bds > _______________________________________________ > sumo-user mailing list > [email protected] > https://lists.sourceforge.net/lists/listinfo/sumo-user > > ------------------------------------------------------------------------------ Want fast and easy access to all the code in your enterprise? Index and search up to 200,000 lines of code with a free copy of Black Duck Code Sight - the same software that powers the world's largest code search on Ohloh, the Black Duck Open Hub! Try it now. http://p.sf.net/sfu/bds _______________________________________________ sumo-user mailing list [email protected] https://lists.sourceforge.net/lists/listinfo/sumo-user
