Skip to content

Commit

Permalink
Added test for mrmKeepRight, refs #5484
Browse files Browse the repository at this point in the history
  • Loading branch information
Leonhard Luecken committed May 21, 2019
1 parent 2c065ae commit c9d8730
Show file tree
Hide file tree
Showing 7 changed files with 811 additions and 0 deletions.
Empty file.
@@ -0,0 +1,69 @@
<?xml version="1.0" encoding="UTF-8"?>

<!-- generated on Di 20 Nov 2018 15:59:15 CET by Eclipse SUMO netedit Version v1_0_1+0513-1e4479f
<configuration xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xsi:noNamespaceSchemaLocation="http://sumo.dlr.de/xsd/netconvertConfiguration.xsd">
<input>
<sumo-net-file value="input_net.net.xml"/>
</input>
<output>
<output-file value="input_net.net.xml"/>
</output>
<processing>
<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>
</configuration>
-->

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

<location netOffset="1589.00,1511.23" convBoundary="500.00,-200.00,1500.00,200.00" origBoundary="-1589.00,-1511.23,1589.00,1511.23" projParameter="!"/>

<edge id=":gneJ1_0" function="internal">
<lane id=":gneJ1_0_0" index="0" speed="13.89" length="9.03" shape="1492.80,-4.80 1495.25,-5.15 1497.00,-6.20 1498.05,-7.95 1498.40,-10.40"/>
</edge>
<edge id=":gneJ1_1" function="internal">
<lane id=":gneJ1_1_0" index="0" speed="13.89" length="11.73" shape="1492.80,-1.60 1496.65,-1.25 1499.40,-0.20 1501.05,1.55 1501.60,4.00"/>
</edge>

<edge id="NS" from="gneJ1" to="gneJ2" priority="-1">
<lane id="NS_0" index="0" speed="13.89" length="189.60" shape="1498.40,-10.40 1498.40,-200.00"/>
</edge>
<edge id="SN" from="gneJ1" to="gneJ3" priority="-1">
<lane id="SN_0" index="0" speed="13.89" length="196.00" shape="1501.60,4.00 1501.60,200.00"/>
</edge>
<edge id="WE" from="gneJ0" to="gneJ1" priority="-1">
<lane id="WE_0" index="0" speed="13.89" length="992.80" shape="500.00,-4.80 1492.80,-4.80"/>
<lane id="WE_1" index="1" speed="13.89" length="992.80" shape="500.00,-1.60 1492.80,-1.60"/>
</edge>

<junction id="gneJ0" type="dead_end" x="500.00" y="0.00" incLanes="" intLanes="" shape="500.00,0.00 500.00,-6.40"/>
<junction id="gneJ1" type="priority" x="1500.00" y="0.00" incLanes="WE_0 WE_1" intLanes=":gneJ1_0_0 :gneJ1_1_0" shape="1500.00,4.00 1503.20,4.00 1500.00,-10.40 1496.80,-10.40 1492.80,-6.40 1492.80,0.00">
<request index="0" response="00" foes="00" cont="0"/>
<request index="1" response="00" foes="00" cont="0"/>
</junction>
<junction id="gneJ2" type="dead_end" x="1500.00" y="-200.00" incLanes="NS_0" intLanes="" shape="1496.80,-200.00 1500.00,-200.00"/>
<junction id="gneJ3" type="dead_end" x="1500.00" y="200.00" incLanes="SN_0" intLanes="" shape="1503.20,200.00 1500.00,200.00"/>

<connection from="WE" to="NS" fromLane="0" toLane="0" via=":gneJ1_0_0" dir="r" state="M"/>
<connection from="WE" to="SN" fromLane="1" toLane="0" via=":gneJ1_1_0" dir="l" state="M"/>

<connection from=":gneJ1_0" to="NS" fromLane="0" toLane="0" dir="r" state="M"/>
<connection from=":gneJ1_1" to="SN" fromLane="0" toLane="0" dir="l" state="M"/>

</net>
@@ -0,0 +1,17 @@
<routes xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xsi:noNamespaceSchemaLocation="http://sumo.dlr.de/xsd/routes_file.xsd">
<vType id="automated" sigma="0." speedFactor="1" lcStrategic="3" />
<vType id="manual" sigma="0.5" speedFactor="normc(0.8,0.1,0.5,1.5)" guiShape="passenger/van" />
<vehicle id="ToC_veh" type="automated" depart="0" departPos="0" >
<route edges="WE SN"/>
<param key="has.toc.device" value="true"/>
<param key="device.toc.manualType" value="manual"/>
<param key="device.toc.automatedType" value="automated"/>
<param key="device.toc.responseTime" value="40.0"/>
<param key="device.toc.recoveryRate" value="0.1"/>
<param key="device.toc.lcAbstinence" value="1.0"/>
<param key="device.toc.initialAwareness" value="0.25"/>
<param key="device.toc.mrmDecel" value="0.5"/>
<param key="device.toc.mrmKeepRight" value="true"/>
<param key="device.toc.file" value="tocs.xml"/>
</vehicle>
</routes>
@@ -0,0 +1 @@
tests/complex/sumo/ToCDevice/Keep_right_during_MRM/runner.py

0 comments on commit c9d8730

Please sign in to comment.