Skip to content

Commit

Permalink
added test for openGap testing with ACC model #21
Browse files Browse the repository at this point in the history
  • Loading branch information
robertalms authored and namdre committed Feb 27, 2024
1 parent e61d917 commit 05d9b56
Show file tree
Hide file tree
Showing 6 changed files with 5,626 additions and 0 deletions.
3 changes: 3 additions & 0 deletions tests/complex/traci/vehicle/openGap/testsuite.complex
Original file line number Diff line number Diff line change
Expand Up @@ -28,6 +28,9 @@ braking_leader_spaceGap
# No maxDecel given, low changeRate, only space gap specified
without_maxDecel_slow_spacegap

# No maxDecel given, low changeRate, only space gap specified. ACC model increases gap differently than Krauss, but it holds up qualitatively. (lower stepLength for ACC in this test)
without_maxDecel_slow_spacegap_ACC

# Giving a smaller time headway than the original should trigger a warning
warning_smaller_headway

Expand Down
Empty file.
Original file line number Diff line number Diff line change
@@ -0,0 +1,8 @@
<routes xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xsi:noNamespaceSchemaLocation="http://sumo.dlr.de/xsd/routes_file.xsd">
<vType id="fast" speedFactor="1.1" sigma="0"/>
<vType id="slow" speedFactor="1.0" sigma="0"/>
<vType id="automated" speedFactor="1.1" accel="1.362" actionStepLength="0.100" carFollowModel="ACC" color="white" lcAssertive="0.668" tau="1.649"/>

<vehicle id="leader" type="slow" route="circle" depart="0" departPos="30" departLane="0" departSpeed="max" />
<vehicle id="follower" type="automated" route="circle" depart="0" departPos="20" departLane="0" departSpeed="max" />
</routes>
Original file line number Diff line number Diff line change
@@ -0,0 +1 @@
sumo -1 250 10 0.01 tests/complex/traci/vehicle/openGap/runner.py

0 comments on commit 05d9b56

Please sign in to comment.