Skip to content

Commit

Permalink
added tests refs #21, #12012
Browse files Browse the repository at this point in the history
  • Loading branch information
namdre committed Dec 19, 2024
1 parent 03b5219 commit 42c349d
Show file tree
Hide file tree
Showing 8 changed files with 5,267 additions and 0 deletions.
Empty file.
3,193 changes: 3,193 additions & 0 deletions tests/sumo/sublane_model/lateral_speed/lcSigma_queued/fcd.sumo

Large diffs are not rendered by default.

1,993 changes: 1,993 additions & 0 deletions tests/sumo/sublane_model/lateral_speed/lcSigma_queued/fcd.sumo.ballistic

Large diffs are not rendered by default.

Original file line number Diff line number Diff line change
@@ -0,0 +1,10 @@
<routes>

<vType id="t0" lcSigma="0.9"/>
<route id="r0" edges="beg end"/>
<vehicle id="blocker" type="t0" depart="0" route="r0" departLane="1">
<stop lane="beg_1" duration="10"/>
</vehicle>
<flow id="veh" type="t0" begin="0" period="2" number="5" route="r0" departLane="1"/>

</routes>
63 changes: 63 additions & 0 deletions tests/sumo/sublane_model/lateral_speed/lcSigma_queued/net.net.xml
Original file line number Diff line number Diff line change
@@ -0,0 +1,63 @@
<?xml version="1.0" encoding="UTF-8"?>

<!-- generated on Fr 28 Aug 2020 08:48:10 CEST by Eclipse SUMO netedit Version v1_6_0+1814-4242b665f5
<configuration xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xsi:noNamespaceSchemaLocation="http://sumo.dlr.de/xsd/netconvertConfiguration.xsd">
<input>
<sumo-net-file value="/home/kobo/dlr/sumo/tests/sumo/sublane_model/lateral_speed/ramp_end_maxSpeedLatSpending/net.net.xml"/>
</input>
<output>
<output-file value="/home/kobo/dlr/sumo/tests/sumo/sublane_model/lateral_speed/ramp_end_maxSpeedLatSpending/net.net.xml"/>
</output>
<processing>
<geometry.min-radius.fix.railways value="false"/>
<geometry.max-grade.fix value="false"/>
<offset.disable-normalization value="true"/>
<lefthand value="false"/>
</processing>
<junctions>
<no-turnarounds value="true"/>
<junctions.corner-detail value="0"/>
<junctions.limit-turn-speed value="-1"/>
<rectangular-lane-cut value="false"/>
</junctions>
<pedestrian>
<walkingareas value="false"/>
</pedestrian>
<report>
<aggregate-warnings value="5"/>
</report>
</configuration>
-->

<net version="1.6" 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,300.00,0.00" origBoundary="-10000000000.00,-10000000000.00,10000000000.00,10000000000.00" projParameter="!"/>

<edge id=":gneJ1_0" function="internal">
<lane id=":gneJ1_0_0" index="0" speed="13.89" length="8.00" shape="196.00,-1.60 204.00,-1.60"/>
</edge>

<edge id="beg" from="gneJ0" to="gneJ1" priority="1">
<lane id="beg_0" index="0" speed="13.89" length="196.00" shape="0.00,-4.80 196.00,-4.80"/>
<lane id="beg_1" index="1" speed="13.89" length="196.00" shape="0.00,-1.60 196.00,-1.60"/>
</edge>
<edge id="end" from="gneJ1" to="gneJ2" priority="1">
<lane id="end_0" index="0" speed="13.89" length="96.00" shape="204.00,-1.60 300.00,-1.60"/>
</edge>

<junction id="gneJ0" type="dead_end" x="0.00" y="0.00" incLanes="" intLanes="" shape="0.00,0.00 0.00,-6.40"/>
<junction id="gneJ1" type="unregulated" x="200.00" y="0.00" incLanes="beg_0 beg_1" intLanes=":gneJ1_0_0" shape="204.00,0.00 204.00,-3.20 196.00,-6.40 196.00,0.00"/>
<junction id="gneJ2" type="dead_end" x="300.00" y="0.00" incLanes="end_0" intLanes="" shape="300.00,-3.20 300.00,0.00"/>

<connection from="beg" to="end" fromLane="1" toLane="0" via=":gneJ1_0_0" dir="s" state="M"/>

<connection from=":gneJ1_0" to="end" fromLane="0" toLane="0" dir="s" state="M"/>

</net>
Original file line number Diff line number Diff line change
@@ -0,0 +1,5 @@
--no-step-log --net-file=net.net.xml --routes=input_routes.rou.xml
--lateral-resolution 0.8
--step-length 0.1
--fcd-output fcd.xml
--fcd-output.acceleration
Empty file.
3 changes: 3 additions & 0 deletions tests/sumo/sublane_model/lateral_speed/testsuite.sumo
Original file line number Diff line number Diff line change
Expand Up @@ -32,3 +32,6 @@ red_light_maxDistLatStanding_3.2

# avoid strong lateral acceleration due to random lateral movement
lcSigma

# avoid strong lateral acceleration due to random lateral movement
lcSigma_queued

0 comments on commit 42c349d

Please sign in to comment.