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] <javascript:;>>:
> > (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] <javascript:;>>:
> >> > 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
> >> >
> >> > It says in the documentation that
> >> >
> >> > " In SUMO, a one-to-n dependency between signals and links is
> >> > implemented,
> >> > this means each signal may control more than a single link - though
> >> > networks
> >> > generated by NETCONVERT or NETGENERATE usually use one signal per
> link.
> >> > "
> >> >
> >> > I want to make sure that in a single junction having 4 lanes, each
> lane
> >> > is
> >> > given a GREEN state and RED state in rotation.
> >> >
> >> >  For example, Lane 1 is GREEN from 0s to 30s , others are all RED.
> >> >                      Lane 2 is GREEN from 31s to 45s, others are all
> >> > RED.
> >> >                      Lane 3 is GREEN from 46s to 60s, others are all
> >> > RED...
> >> > and so on.
> >> >
> >> > So, i want to know if by saying type="traffic_light" at one junction,
> >> > I'm
> >> > initialising only one traffic light for that junction or 4 traffic
> >> > lights
> >> > for the 4 lanes?
> >> >
> >> > If yes, how do I override NETCONVERT's default setting to have 4
> >> > disconnected traffic lights to operate at one junction instead of only
> >> > one?
> >> >
> >> >
> >> >
> >> >
> >> >
> >> >
> >> >
> >> >
> >> > ----
> >> > Your help is appreciated, thanks in advance.
> >> >
> >> > Regards,
> >> > Pooja Voladoddi
> >
> >
>
------------------------------------------------------------------------------
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

Reply via email to