Skip to content

Commit

Permalink
adding test #21 #1922
Browse files Browse the repository at this point in the history
  • Loading branch information
behrisch committed Mar 21, 2024
1 parent 62236fa commit 08612b2
Show file tree
Hide file tree
Showing 10 changed files with 1,103 additions and 0 deletions.
Empty file.
548 changes: 548 additions & 0 deletions tests/sumo/devices/fcd-replay/plain/fcd.sumo

Large diffs are not rendered by default.

3 changes: 3 additions & 0 deletions tests/sumo/devices/fcd-replay/plain/input_additional.add.xml
Original file line number Diff line number Diff line change
@@ -0,0 +1,3 @@
<routes xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xsi:noNamespaceSchemaLocation="http://sumo.dlr.de/xsd/routes_file.xsd">
<vType id="t1" sigma="0"/>
</routes>
4 changes: 4 additions & 0 deletions tests/sumo/devices/fcd-replay/plain/input_routes.rou.xml
Original file line number Diff line number Diff line change
@@ -0,0 +1,4 @@
<routes xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xsi:noNamespaceSchemaLocation="http://sumo.dlr.de/xsd/routes_file.xsd">
<trip id="v0" depart="0" from="onRamp" to="end" type="t1"/>
<trip id="v1" depart="100" from="onRamp" to="end3" type="t1"/>
</routes>
524 changes: 524 additions & 0 deletions tests/sumo/devices/fcd-replay/plain/input_state.xml

Large diffs are not rendered by default.

18 changes: 18 additions & 0 deletions tests/sumo/devices/fcd-replay/plain/inputs.sumocfg
Original file line number Diff line number Diff line change
@@ -0,0 +1,18 @@
<?xml version="1.0" encoding="UTF-8"?>

<!-- generated on 2024-03-21 11:55:37 by Eclipse SUMO sumo Version v1_19_0+1439-fe8b4a30f04
-->

<configuration xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xsi:noNamespaceSchemaLocation="http://sumo.dlr.de/xsd/sumoConfiguration.xsd">

<input>
<net-file value="../../../motorway.net.xml"/>
<route-files value="input_routes.rou.xml"/>
<additional-files value="input_additional.add.xml"/>
</input>

<output>
<fcd-output value="input_state.xml"/>
</output>

</configuration>
2 changes: 2 additions & 0 deletions tests/sumo/devices/fcd-replay/plain/options.sumo
Original file line number Diff line number Diff line change
@@ -0,0 +1,2 @@
--no-step-log --no-duration-log --net-file=motorway.net.xml
-a input_additional.add.xml --fcd-output fcd.xml --device.fcd-replay.file input_state.xml
Empty file.
1 change: 1 addition & 0 deletions tests/sumo/devices/fcd-replay/testsuite.sumo
Original file line number Diff line number Diff line change
@@ -0,0 +1 @@
plain
3 changes: 3 additions & 0 deletions tests/sumo/devices/testsuite.sumo
Original file line number Diff line number Diff line change
Expand Up @@ -31,3 +31,6 @@ glosa
# tests for the friction device
friction
stationfinder

# testing replay of fcd trajectories
fcd-replay

0 comments on commit 08612b2

Please sign in to comment.