You specify it in the TLL plain XML file format and can use one linkIndex value for more connections to replicate a signal group responsible for multiple movements. It is not necessary to have the same number of link indices and connections, although this is the standard for TL programs in SUMO.
Best regards
Mirko
-----Original-Nachricht-----
Betreff: Re: [sumo-user] Manual setup between phase state character and lane character and of connection in traffic light
You can specify the linkIndex in a tll.xml file, which can be passed to nextconvert via --tllogic-files
As far as I understood link indices, every connection in a node must have a unique linkIndex.
So if two connection are controlled by one traffic light, you have to give the appropriate letter twice in the phase definition.
Best regards, Harald
Am 03.08.22 um 19:57 schrieb Andrea Castegnaro:
Hi sumo community,
We are building a 3d visualizer that can create road networks and export them to sumo using netconvert with the plain xml files. We are trying to insert traffic lights at desired junctions. At the moment we are using the automatic generation using netconvert with the “--tls.group-signals” option by marking the type of the junction.
However is it possible to still have the netconvert automatic generation but for each junction specify which lane connection is associated with which character in phase state string? I have read previously that “linkindex” property might be helpful for this, but I have the following questions:
In which file to I need to specify this parameter?
Let s say for a given lane I have side turns and going straight but I want to use only 1 signal for all of these possibility (basically instructing the group signal). Do I need just to assign the same linkindex to all of the connections from the given lane?
Is there any example of the plain xml file with the traffic light information that should be given to netconvert to help the program generation?