Hello, there are two approaches to accomplish sophisticated traffic light algorithms: - you can implement your own traffic light logic in C++. A good starting point would we MSActuatedTrafficLightLogic since it already incorporates induction loop sensors. - you can write your algorithms in a language of your choosing and remote-control the simulation via the TraCI-API. There is a tutorial for this approach at http://sumo.dlr.de/wiki/Tutorials/TraCI4Traffic_Lights
regards, Jakob 2016-02-04 2:12 GMT+01:00 Guangyu Zou <[email protected]>: > Dear Sir/Madam: > > I am an associate professor within the domain of agent-based simulation > and intelligent transportation systems. Currently I look for an open-source > transportation simulation tool to study traffic signaling coordination, > which means traffic lights can communicate with each other and can monitor > the traffic flow. I dig into the source code of > MSSimpleTrafficLightLogic.cpp that seems adjusting phases according to time > ticks. > > My questions are as follows: > > Do I have to code my own new class of traffic light to obtain > environmental information such as traffic flow? If so, how can I obtain > such information in my new class? > Are there any existing applications that have similar logic to my > requirements? > > Thank you, > > Sincerely, > Guangyu Zou > > > ------------------------------------------------------------------------------ > Site24x7 APM Insight: Get Deep Visibility into Application Performance > APM + Mobile APM + RUM: Monitor 3 App instances at just $35/Month > Monitor end-to-end web transactions and take corrective actions now > Troubleshoot faster and improve end-user experience. Signup Now! > http://pubads.g.doubleclick.net/gampad/clk?id=272487151&iu=/4140 > _______________________________________________ > sumo-devel mailing list > [email protected] > https://lists.sourceforge.net/lists/listinfo/sumo-devel > ------------------------------------------------------------------------------ Site24x7 APM Insight: Get Deep Visibility into Application Performance APM + Mobile APM + RUM: Monitor 3 App instances at just $35/Month Monitor end-to-end web transactions and take corrective actions now Troubleshoot faster and improve end-user experience. Signup Now! http://pubads.g.doubleclick.net/gampad/clk?id=272487151&iu=/4140 _______________________________________________ sumo-devel mailing list [email protected] https://lists.sourceforge.net/lists/listinfo/sumo-devel
