Skip to main content

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index] [List Home]
Re: [sumo-user] Collision involving pedestrians

Hi,
1) See the attached files (network, demand and configuration files). The collisions start form simulation step 215 at traffic light when the vehicles are stopped. 
2) Ok got it. But what is the difference between lane changing and vehicle insertion stages? For example, when does vehicle insertion stage occur?

Best regards,
Azise


Le jeu. 27 juin 2019 à 13:03, Jakob Erdmann <namdre.sumo@xxxxxxxxx> a écrit :
1) This sounds like a bug. Can you provide a minimal example scenario that demonstrates the problem?
2) This is to help with debugging. A single simulation step consists of various stages (vehicle movement, lane changing, vehicle insertion) and each of these steps may trigger collisions independently.

regards,
Jakob

Am Fr., 21. Juni 2019 um 20:45 Uhr schrieb Azise Oumar Diallo <diallitoz@xxxxxxxxx>:
Dear users,
I performed a simulation involving pedestrians and vehicles of the class vClass = "ignoring" to see the possible collisions. I got two types of collisions. First, when a vehicle of vClass = "ignoring" changes lanes for the sidewalk, it can collide with a pedestrian. Secondly, when another vehicle of vClass = "ignoring" is stopped (for example, at red traffic light), the pedestrians do not take it into account and thus cross the vehicle, thus causing collisions at each pedestrian crossing (see the attached image, pedestrians  are blue and vehicles of the class vClass = "ignoring" are orange).
I have two questions:
- Why pedestrians do not avoid collision either by stopping or by shifting slightly to the right or left?
- What does the "stage" attribute mean in the collision message that can take the values "move", "insert", "events" or "laneChange".

Best regards,
Azise
_______________________________________________
sumo-user mailing list
sumo-user@xxxxxxxxxxx
To change your delivery options, retrieve your password, or unsubscribe from this list, visit
https://www.eclipse.org/mailman/listinfo/sumo-user
_______________________________________________
sumo-user mailing list
sumo-user@xxxxxxxxxxx
To change your delivery options, retrieve your password, or unsubscribe from this list, visit
https://www.eclipse.org/mailman/listinfo/sumo-user

Attachment: config.sumocfg
Description: application/sumo

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

<!-- generated on 06/24/19 16:30:34 by Eclipse SUMO netedit Version 1.2.0
<configuration xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"; xsi:noNamespaceSchemaLocation="http://sumo.dlr.de/xsd/netconvertConfiguration.xsd";>

    <input>
        <sumo-net-file value="C:\Users\azise.oumar.diallo\Desktop\sumo-1.2.0\Mes_Simulations\Trottinette\bikePed.net.xml"/>
    </input>

    <output>
        <output-file value="C:\Users\azise.oumar.diallo\Desktop\sumo-1.2.0\Mes_Simulations\Trottinette\bikePed.net.xml"/>
    </output>

    <processing>
        <geometry.max-grade.fix value="false"/>
        <offset.disable-normalization value="true"/>
        <lefthand value="false"/>
    </processing>

    <junctions>
        <no-turnarounds value="true"/>
        <junctions.corner-detail value="5"/>
        <junctions.limit-turn-speed value="5.5"/>
        <rectangular-lane-cut value="false"/>
    </junctions>

    <pedestrian>
        <walkingareas value="false"/>
    </pedestrian>

</configuration>
-->

<net version="1.1" junctionCornerDetail="5" limitTurnSpeed="5.50" 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="0.00,0.00,500.00,0.00" origBoundary="-10000000000.00,-10000000000.00,10000000000.00,10000000000.00" projParameter="!"/>

    <edge id=":nIn_0" function="internal">
        <lane id=":nIn_0_0" index="0" allow="pedestrian" speed="3.00" length="0.10" width="2.00" shape="400.00,-9.40 400.00,-9.40"/>
        <lane id=":nIn_0_1" index="1" allow="bicycle" speed="8.33" length="0.10" width="2.00" shape="400.00,-7.40 400.00,-7.40"/>
        <lane id=":nIn_0_2" index="2" allow="bus" speed="13.89" length="0.10" shape="400.00,-4.80 400.00,-4.80"/>
        <lane id=":nIn_0_3" index="3" allow="passenger" speed="13.89" length="0.10" shape="400.00,-1.60 400.00,-1.60"/>
    </edge>

    <edge id="begin" from="n1" to="nIn" priority="-1">
        <lane id="begin_0" index="0" allow="pedestrian" speed="3.00" length="400.00" width="2.00" shape="0.00,-9.40 400.00,-9.40"/>
        <lane id="begin_1" index="1" allow="bicycle" speed="8.33" length="400.00" width="2.00" shape="0.00,-7.40 400.00,-7.40"/>
        <lane id="begin_2" index="2" allow="bus" speed="13.89" length="400.00" shape="0.00,-4.80 400.00,-4.80"/>
        <lane id="begin_3" index="3" allow="passenger" speed="13.89" length="400.00" shape="0.00,-1.60 400.00,-1.60"/>
    </edge>
    <edge id="end" from="nIn" to="n2" priority="-1">
        <lane id="end_0" index="0" allow="pedestrian" speed="3.00" length="100.00" width="2.00" shape="400.00,-9.40 500.00,-9.40"/>
        <lane id="end_1" index="1" allow="bicycle" speed="8.33" length="100.00" width="2.00" shape="400.00,-7.40 500.00,-7.40"/>
        <lane id="end_2" index="2" allow="bus" speed="13.89" length="100.00" shape="400.00,-4.80 500.00,-4.80"/>
        <lane id="end_3" index="3" allow="passenger" speed="13.89" length="100.00" shape="400.00,-1.60 500.00,-1.60"/>
    </edge>

    <tlLogic id="nIn" type="static" programID="0" offset="0">
        <phase duration="250" state="rrrr"/>
        <phase duration="1000" state="GGGG"/>
    </tlLogic>

    <junction id="n1" type="dead_end" x="0.00" y="0.00" incLanes="" intLanes="" shape="0.00,0.00 0.00,-10.40"/>
    <junction id="n2" type="dead_end" x="500.00" y="0.00" incLanes="end_0 end_1 end_2 end_3" intLanes="" shape="500.00,-10.40 500.00,0.00"/>
    <junction id="nIn" type="traffic_light" x="400.00" y="0.00" incLanes="begin_0 begin_1 begin_2 begin_3" intLanes=":nIn_0_0 :nIn_0_1 :nIn_0_2 :nIn_0_3" shape="400.00,0.00 400.00,-10.40 400.00,0.00">
        <request index="0" response="0000" foes="0000" cont="0"/>
        <request index="1" response="0000" foes="0000" cont="0"/>
        <request index="2" response="0000" foes="0000" cont="0"/>
        <request index="3" response="0000" foes="0000" cont="0"/>
    </junction>

    <connection from="begin" to="end" fromLane="0" toLane="0" via=":nIn_0_0" tl="nIn" linkIndex="0" dir="s" state="O"/>
    <connection from="begin" to="end" fromLane="1" toLane="1" via=":nIn_0_1" tl="nIn" linkIndex="1" dir="s" state="O"/>
    <connection from="begin" to="end" fromLane="2" toLane="2" via=":nIn_0_2" tl="nIn" linkIndex="2" dir="s" state="O"/>
    <connection from="begin" to="end" fromLane="3" toLane="3" via=":nIn_0_3" tl="nIn" linkIndex="3" dir="s" state="O"/>

    <connection from=":nIn_0" to="end" fromLane="0" toLane="0" dir="s" state="M"/>
    <connection from=":nIn_0" to="end" fromLane="1" toLane="1" dir="s" state="M"/>
    <connection from=":nIn_0" to="end" fromLane="2" toLane="2" dir="s" state="M"/>
    <connection from=":nIn_0" to="end" fromLane="3" toLane="3" dir="s" state="M"/>

</net>
<routes>
	<vType id="car" length="5" maxSpeed="50" accel="2.6" decel="4.5" sigma="0.2" speedDev="0.2" vClass="passenger"/>
	<vType id="bus" length="15" maxSpeed="30" accel="1.2" decel="2.5" sigma="0.1" speedDev="0.1" vClass="bus"/>
	<vType id="bike" length="1.8" width="0.8" maxSpeed="7.5" accel="0.8" decel="1.5" sigma="0.5" speedDev="0.5" vClass="bicycle"/>
	<vType id="cust1" length="1.3" width="0.5" maxSpeed="4.5" accel="0.5" decel="1.5" sigma="0.7" speedDev="0.3" guiShape="pedestrian"  color="255,100,50" imgFile= "troti1.jpg" vClass="ignoring"/>


	<flow id="car" type="car" from="begin" to="end" begin="0" end="0" number="50" departPos="0"/>
	<flow id="bus" type="bus" from="begin" to="end" begin="0" end="0" number="10" departPos="0"/>
	<flow id="bike" type="bike" from="begin" to="end" begin="0" end="0" number="50" departPos="0"/>
	<flow id="cust1" type="cust1" from="begin" to="end" begin="0" end="0" number="50" departPos="10"/>
	<personFlow id="person" begin="0" end="0" number="100" departPos="100">
       <walk from="begin" to="end"/>
	</personFlow>

</routes>


Back to the top