Hi, so the correct answer is probably there is only one traffic light _control_ but there may be one _signal_ for each link (which may be more than four).
For the dummy nodes: No you don't need them. Best regards, Michael 2013/12/29 Pooja Voladoddi <[email protected]>: > > Thanks, > I do not need to change the links, just the signal at each link independent > of other signals at the same junction. I guess what I meant to ask is when > we declare type "traffic_light" , by default there are 4 traffic signals or > only 1 traffic signal that is declared when net convert is used. > > Im assuming it would be possible to invoke JTRouter for generating route > files using the python script where traci is used. Do let me know if this > assumption is wrong. > > > By dummy nodes, I was referring to the "node generation" per this link > http://sourceforge.net/apps/mediawiki/sumo/index.php?title=Tutorials/Quick_Start > where nodes 911 - 914 are referred to as dummy nodes that are necessary for > traffic analysis. > > > Regards, > Pooja. > > On Sunday, December 29, 2013, Michael Behrisch wrote: >> >> Hi, >> yes of course you can set the signals via TraCI but you will not be >> able to change the connections (the links) itself. >> I do not know what you mean by dummy nodes, but yes every edge needs a >> start and an end node. >> >> Best regards, >> Michael >> >> 2013/12/27 Pooja Voladoddi <[email protected]>: >> > Hello, >> > >> > Thanks for replying. >> > >> > -- would it not be possible to access individual traffic lights (as in, >> > each >> > signal per link) using getRedYellowGreenState and setRedYellowGreenState >> > in >> > the python traci script for controlling traffic ? >> > Or is importing the csv description the only way to go about it ? >> > >> > >> > --are dummy nodes required at the end of each link ? >> > >> > >> > >> > Regards, >> > Pooja. >> > >> > On Friday, December 27, 2013, Michael Behrisch wrote: >> >> >> >> Hi, >> >> flow definitions are described here: >> >> >> >> >> >> http://sumo-sim.org/userdoc/Definition_of_Vehicles,_Vehicle_Types,_and_Routes.html#Repeated_vehicles >> >> except that for router input they do not have route childs but from >> >> and to attributes like trips. >> >> For the traffic lights I think you misunderstood the documentation, >> >> there is usually one traffic light logic per junction but it may be >> >> one signal per link, see here: >> >> http://sumo-sim.org/userdoc/Simulation/Traffic_Lights.html >> >> >> >> Best regards, >> >> Michael >> >> >> >> 2013/12/26 Pooja Voladoddi <[email protected]>: >> >> > (Forgot to send it to the whole group) >> >> > >> >> > Hello, >> >> > >> >> > Thanks for your reply. >> >> > >> >> > 1) how are flow definitions different from trip files (as in what >> >> > parameters >> >> > are defined in it ? I know the syntax of rou.xml and trips.xml but I >> >> > don't >> >> > know what goes into flow definitions) . >> >> > >> >> > 2) any hints /clues on how to provide only one traffic light per >> >> > link(/lane) >> >> > at a junction instead of one traffic light controlling all the links >> >> > (/lanes)? >> >> > >> >> > Merry Christmas to all. >> >> > ----- >> >> > >> >> > Regards , >> >> > Pooja. >> >> > >> >> > >> >> > On Thursday, December 26, 2013, Michael Behrisch wrote: >> >> >> >> >> >> Hi, >> >> >> you omitted the flow definitions in your call to jtrrouter. >> >> >> >> >> >> Best regards, >> >> >> Michael >> >> >> >> >> >> 2013/12/24 Pooja Voladoddi <[email protected]>: >> >> >> > Dummy nodes- >> >> >> > >> >> >> > In implementing a simple grid-like junction, is it necessary for >> >> >> > later >> >> >> > versions of SUMO (0.18) to add dummy nodes at the ends of >> >> >> > links/edges >> >> >> > ? >> >> >> > >> >> >> > >> >> >> > JTRROUTER - >> >> >> > After referring to >> >> >> > >> >> >> > http://sumo-sim.org/userdoc/Demand/Routing_by_Turn_Probabilities.html >> >> >> > >> >> >> > I tried to generate route files like so ----> >> >> >> > >> >> >> > jtrrouter --turn-ratio-files=trial_one.turns.xml >> >> >> > --net-file=trial_one.net.xml --output-file=trial_one.rou.xml >> >> >> > >> >> >> > however, i am getting an error like this ----> >> >> >> > >> >> >> > Error: No route input specified. >> >> >> > Quitting (on error). >> >> >> > >> >> >> > -- If i am not wrong, JTRRouter gives an output rou.xml file so >> >> >> > what >> >> >> > it >> >> >> > does >> >> >> > it mean by this error? >> >> >> > --Also, i was wondering if i could instead write the routes >> >> >> > explicitly >> >> >> > using >> >> >> > python instead of adding probabilities to make the traffic >> >> >> > movement >> >> >> > more >> >> >> > realistic. >> >> >> > >> >> >> > >> >> >> > One-to-many traffic light control >> >> > ------------------------------------------------------------------------------ Rapidly troubleshoot problems before they affect your business. Most IT organizations don't have a clear picture of how application performance affects their revenue. With AppDynamics, you get 100% visibility into your Java,.NET, & PHP application. Start your 15-day FREE TRIAL of AppDynamics Pro! http://pubads.g.doubleclick.net/gampad/clk?id=84349831&iu=/4140/ostg.clktrk _______________________________________________ sumo-user mailing list [email protected] https://lists.sourceforge.net/lists/listinfo/sumo-user
