To achieve the correct behavior all incoming and outgoing edges of the
prioritized road must have elevated priority. See the attached example
network.
regards,
Jakob


2017-06-07 21:03 GMT+02:00 Matthias Wirtz <[email protected]>:

> Hi,
>
> simple example attached.
>
> Regards.
>
> --
> Matthias Wirtz, Mannheim, DE
>
>
> On 07.06.2017 20:26, Jakob Erdmann wrote:
>
>> This should not happen if the priority values are set correctly. Please
>> send me a sample intersection of your making so I can take a look.
>>
>>
>> 2017-06-07 16:49 GMT+02:00 Matthias Wirtz <[email protected]
>> <mailto:[email protected]>>:
>>
>>     Hi,
>>
>>     oh, you are right regarding the priority values. I changed them so
>>     that the edge with the highest priority has the highest value too.
>>
>>     Indeed this improved the situation. But there are still some traffic
>>     rules constantly violated.
>>
>>     For example the cars on the priority road turning left have priority
>>     even over the oncoming traffic which runs straight. This is opposing
>>     the usual traffic rules applying at for e.g. right-before-left
>>     junctions.
>>
>>     So this traffic rule is not yet followed by simulation.
>>
>>     Is there a way to get this changed?
>>
>>     Thx.
>>
>>     --     Matthias Wirtz
>>
>>
>>
>>     On 07.06.2017 15:24, Jakob Erdmann wrote:
>>
>>         Hello,
>>         to model this type of situation it is sufficient to set the edge
>>         priorities. However, higher priority values also indicate higher
>>         priority so you need to set this the other way around.
>>         best regards,
>>         Jakob
>>
>>         2017-06-07 15:14 GMT+02:00 Matthias Wirtz
>>         <[email protected] <mailto:[email protected]>
>>         <mailto:[email protected] <mailto:[email protected]>>>:
>>
>>
>>              Hello,
>>
>>              I have an issue with a junction where the turning traffic has
>>              priority, in Germany it's called "abknickende
>> Vorfahrtsstraße".
>>
>>              Working with netedit I set the junction to type priority.
>>
>>              Furthermore I set connections as "target (pass)" who do not
>>         need to
>>              wait for anyone else and all other connections to "target"
>>         only.
>>
>>              Lastly since the right of way is determined by the priortiy
>>         of the
>>              edges I assigned priorities to the for edges leading to the
>>              junction. Starting with priority 1 for the edge where all
>>              connections are of type "target (pass)" and ending with
>>         priority 3
>>              for all edges where no connection is of type "target (pass)".
>>
>>              Unfortunately I have so many cars not following the correct
>>         traffic
>>              rule that I assume I missed something.
>>
>>              I also did a screenshot of netedit, so it's easier to see
>>         what I
>>              did. I could send this out too.
>>
>>              Glad, if someone could point me into the right direction.
>>
>>              Regards.
>>              --     Matthias Wirtz
>>
>>                     ------------------------------
>> ------------------------------------------------
>>              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]
>>         <mailto:[email protected]>
>>         <mailto:[email protected]
>>         <mailto:[email protected]>>
>>         https://lists.sourceforge.net/lists/listinfo/sumo-user
>>         <https://lists.sourceforge.net/lists/listinfo/sumo-user>
>>              <https://lists.sourceforge.net/lists/listinfo/sumo-user
>>         <https://lists.sourceforge.net/lists/listinfo/sumo-user>>
>>
>>
>>
>>
>
<?xml version="1.0" encoding="UTF-8"?>

<!-- generated on Wed 07 Jun 2017 09:15:39 PM CEST by Netedit Version dev-SVN-r24506
<?xml version="1.0" encoding="UTF-8"?>

<configuration xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"; xsi:noNamespaceSchemaLocation="http://sumo.dlr.de/xsd/netconvertConfiguration.xsd";>

    <input>
        <sumo-net-file value="priority_crossing.net.xml"/>
    </input>

    <output>
        <output-file value="priority_crossing.net.xml"/>
    </output>

    <processing>
        <no-turnarounds value="true"/>
        <offset.disable-normalization value="true"/>
        <lefthand value="false"/>
        <junctions.corner-detail value="0"/>
        <rectangular-lane-cut value="false"/>
    </processing>

    <visualisation>
        <registry-viewport value="true"/>
    </visualisation>

</configuration>
-->

<net version="0.27" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"; xsi:noNamespaceSchemaLocation="http://sumo.dlr.de/xsd/net_file.xsd";>

    <location netOffset="0.00,0.00" convBoundary="-181.30,-135.46,410.36,240.42" origBoundary="-10000000000.00,-10000000000.00,10000000000.00,10000000000.00" projParameter="!"/>

    <edge id=":gneJ3_0" function="internal">
        <lane id=":gneJ3_0_0" index="0" speed="13.89" length="0.10" shape="97.27,54.12 97.27,54.12"/>
    </edge>
    <edge id=":gneJ3_1" function="internal">
        <lane id=":gneJ3_1_0" index="0" speed="13.89" length="0.10" shape="97.27,50.82 97.27,50.82"/>
    </edge>
    <edge id=":gneJ4_0" function="internal">
        <lane id=":gneJ4_0_0" index="0" speed="13.89" length="5.07" shape="215.08,54.11 213.71,54.31 212.73,54.90 212.13,55.88 211.92,57.26"/>
    </edge>
    <edge id=":gneJ4_1" function="internal">
        <lane id=":gneJ4_1_0" index="0" speed="13.89" length="9.55" shape="215.08,54.11 205.54,54.12"/>
    </edge>
    <edge id=":gneJ4_2" function="internal">
        <lane id=":gneJ4_2_0" index="0" speed="13.89" length="10.35" shape="215.08,54.11 212.27,53.71 210.27,52.51 209.07,50.51 208.68,47.70"/>
    </edge>
    <edge id=":gneJ4_3" function="internal">
        <lane id=":gneJ4_3_0" index="0" speed="13.89" length="5.01" shape="211.98,47.71 212.17,49.07 212.75,50.04 213.72,50.62 215.08,50.81"/>
    </edge>
    <edge id=":gneJ4_4" function="internal">
        <lane id=":gneJ4_4_0" index="0" speed="13.89" length="9.55" shape="211.98,47.71 211.92,57.26"/>
    </edge>
    <edge id=":gneJ4_5" function="internal">
        <lane id=":gneJ4_5_0" index="0" speed="13.89" length="3.45" shape="211.98,47.71 211.57,50.51 211.25,51.04"/>
    </edge>
    <edge id=":gneJ4_12" function="internal">
        <lane id=":gneJ4_12_0" index="0" speed="13.89" length="6.91" shape="211.25,51.04 210.36,52.52 208.34,53.72 205.54,54.12"/>
    </edge>
    <edge id=":gneJ4_6" function="internal">
        <lane id=":gneJ4_6_0" index="0" speed="13.89" length="5.05" shape="205.54,50.82 206.91,50.62 207.89,50.04 208.48,49.06 208.68,47.70"/>
    </edge>
    <edge id=":gneJ4_7" function="internal">
        <lane id=":gneJ4_7_0" index="0" speed="13.89" length="9.54" shape="205.54,50.82 215.08,50.81"/>
    </edge>
    <edge id=":gneJ4_8" function="internal">
        <lane id=":gneJ4_8_0" index="0" speed="13.89" length="10.36" shape="205.54,50.82 208.35,51.22 210.35,52.43 211.54,54.44 211.92,57.26"/>
    </edge>
    <edge id=":gneJ4_9" function="internal">
        <lane id=":gneJ4_9_0" index="0" speed="13.89" length="5.01" shape="208.62,57.23 208.44,55.87 207.86,54.90 206.90,54.31 205.54,54.12"/>
    </edge>
    <edge id=":gneJ4_10" function="internal">
        <lane id=":gneJ4_10_0" index="0" speed="13.89" length="9.54" shape="208.62,57.23 208.68,47.70"/>
    </edge>
    <edge id=":gneJ4_11" function="internal">
        <lane id=":gneJ4_11_0" index="0" speed="13.89" length="10.36" shape="208.62,57.23 209.05,54.43 210.26,52.42 212.27,51.22 215.08,50.81"/>
    </edge>
    <edge id=":gneJ8_0" function="internal">
        <lane id=":gneJ8_0_0" index="0" speed="13.89" length="0.10" shape="266.67,54.02 266.67,54.02"/>
    </edge>
    <edge id=":gneJ8_1" function="internal">
        <lane id=":gneJ8_1_0" index="0" speed="13.89" length="0.10" shape="266.67,50.72 266.67,50.72"/>
    </edge>

    <edge id="-gneE1" from="gneJ3" to="gneJ2" priority="1">
        <lane id="-gneE1_0" index="0" speed="13.89" length="278.57" shape="97.27,54.12 -181.30,54.20"/>
    </edge>
    <edge id="-gneE2" from="gneJ4" to="gneJ3" priority="1">
        <lane id="-gneE2_0" index="0" speed="13.89" length="108.27" shape="205.54,54.12 97.27,54.12"/>
    </edge>
    <edge id="-gneE3" from="gneJ4" to="gneJ6" priority="3">
        <lane id="-gneE3_0" index="0" speed="13.89" length="183.16" shape="208.68,47.70 209.39,-135.47"/>
    </edge>
    <edge id="-gneE4.0" from="gneJ7" to="gneJ8" priority="1">
        <lane id="-gneE4.0_0" index="0" speed="13.89" length="143.69" shape="410.36,53.77 266.67,54.02"/>
    </edge>
    <edge id="-gneE4.166" from="gneJ8" to="gneJ4" priority="3">
        <lane id="-gneE4.166_0" index="0" speed="13.89" length="51.59" shape="266.67,54.02 215.08,54.11"/>
    </edge>
    <edge id="-gneE7" from="gneJ14" to="gneJ4" priority="1">
        <lane id="-gneE7_0" index="0" speed="13.89" length="183.18" shape="207.24,240.41 208.62,57.23"/>
    </edge>
    <edge id="gneE1" from="gneJ2" to="gneJ3" priority="1">
        <lane id="gneE1_0" index="0" speed="13.89" length="278.57" shape="-181.30,50.90 97.27,50.82"/>
    </edge>
    <edge id="gneE2" from="gneJ3" to="gneJ4" priority="1">
        <lane id="gneE2_0" index="0" speed="13.89" length="108.27" shape="97.27,50.82 205.54,50.82"/>
    </edge>
    <edge id="gneE3" from="gneJ6" to="gneJ4" priority="3">
        <lane id="gneE3_0" index="0" speed="13.89" length="183.16" shape="212.69,-135.45 211.98,47.71"/>
    </edge>
    <edge id="gneE4.0" from="gneJ4" to="gneJ8" priority="3">
        <lane id="gneE4.0_0" index="0" speed="13.89" length="51.59" shape="215.08,50.81 266.67,50.72"/>
    </edge>
    <edge id="gneE4.33" from="gneJ8" to="gneJ7" priority="1">
        <lane id="gneE4.33_0" index="0" speed="13.89" length="143.69" shape="266.67,50.72 410.36,50.47"/>
    </edge>
    <edge id="gneE7" from="gneJ4" to="gneJ14" priority="1">
        <lane id="gneE7_0" index="0" speed="13.89" length="183.18" shape="211.92,57.26 210.54,240.43"/>
    </edge>

    <junction id="gneJ14" type="dead_end" x="208.89" y="240.42" incLanes="gneE7_0" intLanes="" shape="208.84,240.42 212.14,240.44 208.94,240.42"/>
    <junction id="gneJ2" type="dead_end" x="-181.30" y="52.55" incLanes="-gneE1_0" intLanes="" shape="-181.30,52.50 -181.30,55.80 -181.30,52.60"/>
    <junction id="gneJ3" type="priority" x="97.27" y="52.47" incLanes="-gneE2_0 gneE1_0" intLanes=":gneJ3_0_0 :gneJ3_1_0" shape="97.27,55.72 97.27,49.22 97.27,55.72">
        <request index="0" response="00" foes="00" cont="0"/>
        <request index="1" response="00" foes="00" cont="0"/>
    </junction>
    <junction id="gneJ4" type="priority" x="210.31" y="52.47" incLanes="-gneE4.166_0 gneE3_0 gneE2_0 -gneE7_0" intLanes=":gneJ4_0_0 :gneJ4_1_0 :gneJ4_2_0 :gneJ4_3_0 :gneJ4_4_0 :gneJ4_12_0 :gneJ4_6_0 :gneJ4_7_0 :gneJ4_8_0 :gneJ4_9_0 :gneJ4_10_0 :gneJ4_11_0" shape="215.08,55.71 215.07,49.21 213.58,47.71 207.08,47.69 205.54,49.22 205.54,55.72 207.02,57.22 213.52,57.27">
        <request index="0" response="000000000000" foes="000100010000" cont="0"/>
        <request index="1" response="000000000000" foes="111100110000" cont="0"/>
        <request index="2" response="000000000000" foes="110011110000" cont="0"/>
        <request index="3" response="000000000000" foes="100010000000" cont="0"/>
        <request index="4" response="000000000111" foes="100110000111" cont="0"/>
        <request index="5" response="000000000110" foes="011110000110" cont="1"/>
        <request index="6" response="000000000100" foes="010000000100" cont="0"/>
        <request index="7" response="000000111100" foes="110000111100" cont="0"/>
        <request index="8" response="000000110011" foes="110000110011" cont="0"/>
        <request index="9" response="000000100010" foes="000000100010" cont="0"/>
        <request index="10" response="000111100110" foes="000111100110" cont="0"/>
        <request index="11" response="000110011110" foes="000110011110" cont="0"/>
    </junction>
    <junction id="gneJ6" type="dead_end" x="211.04" y="-135.46" incLanes="-gneE3_0" intLanes="" shape="211.09,-135.46 207.79,-135.47 210.99,-135.46"/>
    <junction id="gneJ7" type="dead_end" x="410.36" y="52.12" incLanes="gneE4.33_0" intLanes="" shape="410.36,52.17 410.35,48.87 410.36,52.07"/>
    <junction id="gneJ8" type="priority" x="266.67" y="52.37" incLanes="-gneE4.0_0 gneE4.0_0" intLanes=":gneJ8_0_0 :gneJ8_1_0" shape="266.68,55.62 266.66,49.12 266.68,55.62">
        <request index="0" response="00" foes="00" cont="0"/>
        <request index="1" response="00" foes="00" cont="0"/>
    </junction>

    <junction id=":gneJ4_12_0" type="internal" x="211.25" y="51.04" incLanes=":gneJ4_5_0 -gneE4.166_0" intLanes=":gneJ4_1_0 :gneJ4_2_0 :gneJ4_7_0 :gneJ4_8_0 :gneJ4_9_0 :gneJ4_10_0"/>

    <connection from="-gneE2" to="-gneE1" fromLane="0" toLane="0" via=":gneJ3_0_0" dir="s" state="M"/>
    <connection from="-gneE4.0" to="-gneE4.166" fromLane="0" toLane="0" via=":gneJ8_0_0" dir="s" state="M"/>
    <connection from="-gneE4.166" to="gneE7" fromLane="0" toLane="0" via=":gneJ4_0_0" dir="r" state="M"/>
    <connection from="-gneE4.166" to="-gneE2" fromLane="0" toLane="0" via=":gneJ4_1_0" dir="s" state="M"/>
    <connection from="-gneE4.166" to="-gneE3" fromLane="0" toLane="0" via=":gneJ4_2_0" dir="l" state="M"/>
    <connection from="-gneE7" to="-gneE2" fromLane="0" toLane="0" via=":gneJ4_9_0" dir="r" state="m"/>
    <connection from="-gneE7" to="-gneE3" fromLane="0" toLane="0" via=":gneJ4_10_0" dir="s" state="m"/>
    <connection from="-gneE7" to="gneE4.0" fromLane="0" toLane="0" via=":gneJ4_11_0" dir="l" state="m"/>
    <connection from="gneE1" to="gneE2" fromLane="0" toLane="0" via=":gneJ3_1_0" dir="s" state="M"/>
    <connection from="gneE2" to="-gneE3" fromLane="0" toLane="0" via=":gneJ4_6_0" dir="r" state="m"/>
    <connection from="gneE2" to="gneE4.0" fromLane="0" toLane="0" via=":gneJ4_7_0" dir="s" state="m"/>
    <connection from="gneE2" to="gneE7" fromLane="0" toLane="0" via=":gneJ4_8_0" dir="l" state="m"/>
    <connection from="gneE3" to="gneE4.0" fromLane="0" toLane="0" via=":gneJ4_3_0" dir="r" state="M"/>
    <connection from="gneE3" to="gneE7" fromLane="0" toLane="0" via=":gneJ4_4_0" dir="s" state="m"/>
    <connection from="gneE3" to="-gneE2" fromLane="0" toLane="0" via=":gneJ4_5_0" dir="l" state="m"/>
    <connection from="gneE4.0" to="gneE4.33" fromLane="0" toLane="0" via=":gneJ8_1_0" dir="s" state="M"/>

    <connection from=":gneJ3_0" to="-gneE1" fromLane="0" toLane="0" dir="s" state="M"/>
    <connection from=":gneJ3_1" to="gneE2" fromLane="0" toLane="0" dir="s" state="M"/>
    <connection from=":gneJ4_0" to="gneE7" fromLane="0" toLane="0" dir="s" state="M"/>
    <connection from=":gneJ4_1" to="-gneE2" fromLane="0" toLane="0" dir="s" state="M"/>
    <connection from=":gneJ4_2" to="-gneE3" fromLane="0" toLane="0" dir="s" state="M"/>
    <connection from=":gneJ4_3" to="gneE4.0" fromLane="0" toLane="0" dir="s" state="M"/>
    <connection from=":gneJ4_4" to="gneE7" fromLane="0" toLane="0" dir="s" state="M"/>
    <connection from=":gneJ4_5" to="-gneE2" fromLane="0" toLane="0" via=":gneJ4_12_0" dir="s" state="m"/>
    <connection from=":gneJ4_12" to="-gneE2" fromLane="0" toLane="0" dir="s" state="M"/>
    <connection from=":gneJ4_6" to="-gneE3" fromLane="0" toLane="0" dir="s" state="M"/>
    <connection from=":gneJ4_7" to="gneE4.0" fromLane="0" toLane="0" dir="s" state="M"/>
    <connection from=":gneJ4_8" to="gneE7" fromLane="0" toLane="0" dir="s" state="M"/>
    <connection from=":gneJ4_9" to="-gneE2" fromLane="0" toLane="0" dir="s" state="M"/>
    <connection from=":gneJ4_10" to="-gneE3" fromLane="0" toLane="0" dir="s" state="M"/>
    <connection from=":gneJ4_11" to="gneE4.0" fromLane="0" toLane="0" dir="s" state="M"/>
    <connection from=":gneJ8_0" to="-gneE4.166" fromLane="0" toLane="0" dir="s" state="M"/>
    <connection from=":gneJ8_1" to="gneE4.33" fromLane="0" toLane="0" dir="s" state="M"/>

</net>
------------------------------------------------------------------------------
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

Reply via email to