The information about which link is controlled by which traffic light signal may be obtained using the "show link tls index" option within SUMO-GUI <http://sumo.dlr.de/wiki/SUMO-GUI>'s visualisation settings or from the according linkIndex attribute of the <connection> elements in the *.net.xml* file.
2016-10-04 10:37 GMT+02:00 윤원경 <[email protected]>: > Dear every users of SUMO. > > > Hello. I'd like to ask how to adjust the traffic light link by link. > What I have is like this, > > HashMap<String, String> tlight; > first variable is the string represents fromLane and toLane, in the form of > "fromLane@toLane". > and second string means the light. "g", "r", or "y". > > Now I should make this map to one string, like "rgyygg". > But the problem is that I do not know which link should be the first. (On > the string above, which link is "r"?) > I mean, I need to arrange these information to one string for traffic > light, though I have the traffic light of each location. > > Is there the rule to select the order of links on the string of traffic > light? > > Thank you. > > > Regards, > Yun > ------------------------------------------------------------ > ------------------ > Check out the vibrant tech community on one of the world's most > engaging tech sites, SlashDot.org! http://sdm.link/slashdot > _______________________________________________ > sumo-user mailing list > [email protected] > https://lists.sourceforge.net/lists/listinfo/sumo-user > ------------------------------------------------------------------------------ Check out the vibrant tech community on one of the world's most engaging tech sites, SlashDot.org! http://sdm.link/slashdot _______________________________________________ sumo-user mailing list [email protected] https://lists.sourceforge.net/lists/listinfo/sumo-user
