Hi,

I would like to generate a junction with four sidewalks around. But I just
get two that are crossing in the middle. I'm wonder where the problem is. I
attached the picture generated by netconvert to this email. The only codes
I am adding to the con.xml file for pedestrian crossing are.

    <crossing node="0" edges="3i 4o" priority="1"/>
<crossing node="0" edges="4i 3o" priority="1"/>
<crossing node="0" edges="1o 2i" priority="1"/>
<crossing node="0" edges="1i 2o" priority="1"/>

Could anyone give me some suggestions? Also, how could I get the length of
pedestrians waiting at the junction by Python in Traci file? Many thanks.

Emma
<?xml version="1.0" encoding="UTF-8"?>

<!-- generated on 10/31/2016 10:36:55 AM by Netedit Version 0.27.1
<?xml version="1.0" encoding="UTF-8"?>

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

    <input>
        <sumo-net-file value="C:\Program%20Files%202\DLR\Sumo\doc\tutorial\q_tls\q_tls.net.xml"/>
    </input>

    <output>
        <output-file value="C:\Program%20Files%202\DLR\Sumo\doc\tutorial\q_tls\q_tls.net.xml"/>
        <plain-output-prefix value="C:\Program%20Files%202\DLR\Sumo\doc\tutorial\q_tls\q_tls"/>
    </output>

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

</configuration>
-->

<connections version="0.27" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"; xsi:noNamespaceSchemaLocation="http://sumo.dlr.de/xsd/connections_file.xsd";>
    <connection from="1i" to="3o" fromLane="1" toLane="1"/>
    <connection from="1i" to="2o" fromLane="1" toLane="1"/>
    <connection from="1i" to="2o" fromLane="1" toLane="2"/>
    <connection from="1i" to="4o" fromLane="2" toLane="2"/>

    <connection from="1o" to="1i" fromLane="2" toLane="2"/>

    <connection from="2i" to="4o" fromLane="1" toLane="1"/>
    <connection from="2i" to="1o" fromLane="1" toLane="1"/>
    <connection from="2i" to="1o" fromLane="1" toLane="2"/>
    <connection from="2i" to="3o" fromLane="2" toLane="2"/>

    <connection from="2o" to="2i" fromLane="2" toLane="2"/>

    <connection from="3i" to="2o" fromLane="1" toLane="1"/>
    <connection from="3i" to="4o" fromLane="1" toLane="1"/>
    <connection from="3i" to="4o" fromLane="1" toLane="2"/>
    <connection from="3i" to="1o" fromLane="2" toLane="2"/>

    <connection from="3o" to="3i" fromLane="2" toLane="2"/>

    <connection from="4i" to="1o" fromLane="1" toLane="1"/>
    <connection from="4i" to="3o" fromLane="1" toLane="1"/>
    <connection from="4i" to="3o" fromLane="1" toLane="2"/>
    <connection from="4i" to="2o" fromLane="2" toLane="2"/>

    <connection from="4o" to="4i" fromLane="2" toLane="2"/>

    <crossing node="0" edges="3i 4o" priority="1"/>
	<crossing node="0" edges="4i 3o" priority="1"/>
	<crossing node="0" edges="1o 2i" priority="1"/>
	<crossing node="0" edges="1i 2o" priority="1"/>
</connections>
------------------------------------------------------------------------------
Developer Access Program for Intel Xeon Phi Processors
Access to Intel Xeon Phi processor-based developer platforms.
With one year of Intel Parallel Studio XE.
Training and support from Colfax.
Order your platform today. http://sdm.link/xeonphi
_______________________________________________
sumo-user mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/sumo-user

Reply via email to