Skip to content

Commit

Permalink
added test refs #21, #15932
Browse files Browse the repository at this point in the history
  • Loading branch information
namdre committed Dec 18, 2024
1 parent f9493f8 commit 161c62c
Show file tree
Hide file tree
Showing 6 changed files with 67 additions and 0 deletions.
3 changes: 3 additions & 0 deletions tests/sumo/sublane_model/bugs/testsuite.sumo
Original file line number Diff line number Diff line change
Expand Up @@ -103,3 +103,6 @@ ticket13101

# crash
ticket14460

# unsafe driving with lcSigma
ticket15932
3 changes: 3 additions & 0 deletions tests/sumo/sublane_model/bugs/ticket15932/errors.sumo
Original file line number Diff line number Diff line change
@@ -0,0 +1,3 @@
Warning: Vehicle 'f_0.1' performs emergency braking on lane 'E0_1' with decel=9.00, wished=4.50, severity=1.00, time=52.00.
Warning: Teleporting vehicle 'f_0.1'; collision with vehicle 'f_1.7', lane='E0_1', gap=-1.33, latGap=-0.05, time=52.00, stage=move.
Warning: Vehicle 'f_0.1' teleports beyond arrival edge 'E0', time=52.00.
13 changes: 13 additions & 0 deletions tests/sumo/sublane_model/bugs/ticket15932/input_routes.rou.xml
Original file line number Diff line number Diff line change
@@ -0,0 +1,13 @@
<?xml version="1.0" encoding="UTF-8"?>

<!-- generated on 2024-12-18 15:41:49 by Eclipse SUMO netedit Version v1_21_0+1443-eacf6376ad0
-->

<routes xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xsi:noNamespaceSchemaLocation="http://sumo.dlr.de/xsd/routes_file.xsd">
<!-- VTypes -->
<vType id="t_0" lcSigma="1.0" speedDev="0.5"/>
<route id="r_0" edges="E0"/>
<!-- Vehicles, persons and containers (sorted by depart) -->
<flow id="f_0" type="t_0" begin="0.00" route="r_0" departLane="0" arrivalLane="1" departSpeed="avg" end="3600.00" period="exp(0.25)"/>
<flow id="f_1" type="t_0" begin="0.00" route="r_0" departLane="1" arrivalLane="0" departSpeed="avg" end="3600.00" period="exp(0.25)"/>
</routes>
41 changes: 41 additions & 0 deletions tests/sumo/sublane_model/bugs/ticket15932/net.net.xml
Original file line number Diff line number Diff line change
@@ -0,0 +1,41 @@
<?xml version="1.0" encoding="UTF-8"?>

<!-- generated on 2024-12-18 15:40:28 by Eclipse SUMO netedit Version v1_21_0+1443-eacf6376ad0
<neteditConfiguration xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xsi:noNamespaceSchemaLocation="http://sumo.dlr.de/xsd/neteditConfiguration.xsd">
<input>
<sumo-net-file value="/localdata1/debug/15932/net.net.xml"/>
</input>
<output>
<output-file value="/localdata1/debug/15932/net.net.xml"/>
</output>
<processing>
<offset.disable-normalization value="true"/>
</processing>
<junctions>
<no-turnarounds value="true"/>
</junctions>
<netedit>
<new-network value="false"/>
</netedit>
</neteditConfiguration>
-->

<net version="1.20" 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="-200.00,0.00,800.00,0.00" origBoundary="10000000000.00,10000000000.00,-10000000000.00,-10000000000.00" projParameter="!"/>

<edge id="E0" from="J0" to="J1" priority="-1">
<lane id="E0_0" index="0" speed="33.33" length="1000.00" shape="-200.00,-4.80 800.00,-4.80"/>
<lane id="E0_1" index="1" speed="33.33" length="1000.00" shape="-200.00,-1.60 800.00,-1.60"/>
</edge>

<junction id="J0" type="dead_end" x="-200.00" y="0.00" incLanes="" intLanes="" shape="-200.00,0.00 -200.00,-6.40"/>
<junction id="J1" type="dead_end" x="800.00" y="0.00" incLanes="E0_0 E0_1" intLanes="" shape="800.00,-6.40 800.00,0.00"/>

</net>
7 changes: 7 additions & 0 deletions tests/sumo/sublane_model/bugs/ticket15932/options.sumo
Original file line number Diff line number Diff line change
@@ -0,0 +1,7 @@
-n net.net.xml
-r input_routes.rou.xml
--no-step-log
--lateral-resolution 0.8
--step-length 0.5
--seed 48
-e 100
Empty file.

0 comments on commit 161c62c

Please sign in to comment.