See http://sumo.dlr.de/wiki/Networks/Building_Networks_from_own_XML-descriptions#Right-of-way
Also, it is quite possible to verify the logic manually since the indices for each connection can be shown in the GUI. Be careful with the reading order of foes and response though: http://sumo.dlr.de/wiki/Networks/SUMO_Road_Networks#Requests regards, Jakob 2015-10-09 11:49 GMT+02:00 Carlo Kielstra <[email protected]>: > For a junction I want to configure the right of way. I've read the wiki > but it's not clear to me how to configure the foes and response parameters. > Is there a tool to configure this, for example Netedit? > Is there an option in Netedit to see and configure the internal lanes? I > tried a Netedit daily build from a few weeks ago (SVN r18837) and couldn't > find it. > > For example, I have this configuration: > <junction id="I2" type="priority" incLanes="1766_0 1511_0 1578_0 " > intLanes="10064_0 10065_0 10063_0 10068_0" shape="2232.6,801.4 2231,798.29 > 2239.51,797.5 2241.12,800.6 2238.46,801.46 2236.88,804.58 " x="2236.595" > y="800.638"> > <request cont="1" foes="1010" index="0" response="0000"/> > <request cont="0" foes="0001" index="1" response="0001"/> > <request cont="0" foes="0000" index="2" response="0000"/> > <request cont="0" foes="0001" index="3" response="0000"/> > </junction> > > This configuration gives me collision errors on the edge where 10064_0 and > 10065_0 join. > Now I assume that the lane with index 0 is the one mentioned first in the > list, so 10064_0? And index 1 is the second in the list, so 10065_0? > > Or does this direct relation not exist? Confusing is that the wiki says > that the indices are computed depending on the direction of the incoming > edges. This suggests that the sequence of the edges in parameter intLanes > doesn't care. When that's true, then it means it's humanly impossible to > verify the foes/response values and smells like a design bug. We need to > have a direct relation between lanes and indices, not some hidden algorithm > that can change from one software package to the other. > Note that my given sequence of intLanes doesn't comply to the direction > sensitive algorithm. > > Regards, Carlo > > ------------------------------------------------------------------------------ > _______________________________________________ > sumo-user mailing list > [email protected] > https://lists.sourceforge.net/lists/listinfo/sumo-user > ------------------------------------------------------------------------------ _______________________________________________ sumo-user mailing list [email protected] https://lists.sourceforge.net/lists/listinfo/sumo-user
