Skip to content

Commit

Permalink
added another collision test refs #4252
Browse files Browse the repository at this point in the history
  • Loading branch information
namdre committed Jun 28, 2018
1 parent a12569b commit b7042e5
Show file tree
Hide file tree
Showing 6 changed files with 60 additions and 0 deletions.
Empty file.
Original file line number Diff line number Diff line change
@@ -0,0 +1,36 @@
<routes xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xsi:noNamespaceSchemaLocation="http://sumo.dlr.de/xsd/routes_file.xsd">

<vType id="bicycle" vClass="bicycle" laneChangeModel="SL2015" lcAssertive="1" lcImpatience="1" lcTimeToImpatience="1" accel="0.5" decel="1.0" latAlignment="compact" lcTurnAlignmentDistance="10" sigma="0" length="2" minGap="1" maxSpeed="6" speedFactor="1.2" speedDev="0.4" color="0,1,0" guiShape="bicycle" jmIgnoreKeepClearTime="0"/>
<vType id="bicycle_bikeboxleft" vClass="bicycle" laneChangeModel="SL2015" lcAssertive="1" lcImpatience="1" lcTimeToImpatience="1" accel="0.5" decel="1.0" latAlignment="compact" lcTurnAlignmentDistance="10" sigma="0" length="2" minGap="1" maxSpeed="6" speedFactor="1.2" speedDev="0.4" color="0,1,0" guiShape="bicycle"/>
<vType id="delivery" vClass="delivery" laneChangeModel="SL2015" latAlignment="center" lcTurnAlignmentDistance="25" accel="0.8" decel="5.0" sigma="0.5" tau="1.5" length="10" minGap="3.0" maxSpeed="25" speedFactor="0.8" speedDev="0.1" guiShape="delivery"/>
<vType id="passenger" vClass="passenger" laneChangeModel="SL2015" latAlignment="center" lcTurnAlignmentDistance="50" accel="1.5" decel="8.0" sigma="0.5" tau="1.0" length="5" minGap="1.5" maxSpeed="45" speedFactor="1.05" speedDev="0.1" guiShape="passenger"/>
<vType id="passenger_bike_box_left" vClass="passenger" laneChangeModel="SL2015" latAlignment="center" lcTurnAlignmentDistance="50" accel="1.5" decel="8.0" sigma="0.5" tau="1.0" length="5" minGap="1.5" maxSpeed="45" speedFactor="1.05" speedDev="0.1" guiShape="passenger"/>
<vType id="passenger_bike_box_straightright" vClass="passenger" laneChangeModel="SL2015" latAlignment="center" lcTurnAlignmentDistance="50" accel="1.5" decel="8.0" sigma="0.5" tau="1.0" length="5" minGap="1.5" maxSpeed="45" speedFactor="1.05" speedDev="0.1" guiShape="passenger"/>


<route id="SN" edges="SN1 SN2"/>
<route id="WN" edges="WE1 SN2"/>

<vehicle id="WN_blocker" type="bicycle" route="WN" depart="0" departLane="0" departPos="-1">
<stop lane="SN2_0" endPos="14" duration="150" />
</vehicle>
<!--
<vehicle id="WN_bikes" type="bicycle" route="WN" depart="0" departLane="0" departPos="-5"/>
-->
<flow id="WN_bikes" type="bicycle" route="WN" begin="0" end="20" departLane="0" departPos="-5" vehsPerHour="3600">
<!--
<stop lane=":C_14_0" endPos="30.5" duration="50" />
-->
</flow>


<route id="ES" edges="EW1 NS2"/>
<route id="WE" edges="WE1 WE2"/>
<vehicle id="WE_car" type="passenger" route="WE" depart="100" departLane="2" departPos="-5"/>






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

[Reported by leo at 19Jun15:19:20]
search_string:collision
trigger_on_absence:1
search_file:errors
ignore_other_errors:1
bug_id:#4253
full_description:concerns #4024, #4252, #4253
brief_description:concerns #4024, #4252, #4253

[Reported by leo at 19Jun15:23:32]
search_string:collision
search_file:errors
bug_id:#4252
full_description:#4252
brief_description:#4252
Original file line number Diff line number Diff line change
@@ -0,0 +1,4 @@
-r input_routes.rou.xml
-n net.net.xml
--no-step-log true
--collision.check-junctions true
Empty file.
4 changes: 4 additions & 0 deletions tests/sumo/junction_model/indirect_left_turn/testsuite.sumo
Original file line number Diff line number Diff line change
Expand Up @@ -9,3 +9,7 @@ opposite_left_turner_bikes
# Tests interaction with straight-going vehicle from the same origin.
# At test creation, the left turning vehicle does not recognize the queue of indirect left turning bikes as possible foes (#4252).
straight_from_left

# Tests interaction with straight-going vehicle from the same origin.
# At test creation, the left turning vehicle does not recognize the queue of indirect left turning bikes as possible foes (#4252).
straight_from_left_blockedSecond

0 comments on commit b7042e5

Please sign in to comment.