Skip to content

Commit

Permalink
added test refs #7632
Browse files Browse the repository at this point in the history
  • Loading branch information
namdre committed Feb 19, 2021
1 parent 0a96b9d commit 62a3b8f
Show file tree
Hide file tree
Showing 6 changed files with 142 additions and 0 deletions.
Empty file.
56 changes: 56 additions & 0 deletions tests/sumo/output/fcd-output/attributes/fcd.sumo
Original file line number Diff line number Diff line change
@@ -0,0 +1,56 @@
<?xml version="1.0" encoding="UTF-8"?>

<!-- generated on Fri Feb 19 10:49:35 2021 by Eclipse SUMO sumo Version v1_8_0+1289-692df37
This data file and the accompanying materials
are made available under the terms of the Eclipse Public License v2.0
which accompanies this distribution, and is available at
http://www.eclipse.org/legal/epl-v20.html
SPDX-License-Identifier: EPL-2.0
<configuration xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xsi:noNamespaceSchemaLocation="http://sumo.dlr.de/xsd/sumoConfiguration.xsd">
<input>
<net-file value="net.net.xml"/>
<additional-files value="input_routes.rou.xml"/>
</input>
<output>
<write-license value="true"/>
<fcd-output value="fcd.xml"/>
<fcd-output.attributes value="x,y,speed"/>
</output>
<time>
<end value="5"/>
</time>
<processing>
<default.speeddev value="0"/>
</processing>
<report>
<xml-validation value="never"/>
<xml-validation.routes value="never"/>
<duration-log.disable value="true"/>
<no-step-log value="true"/>
</report>
</configuration>
-->

<fcd-export xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xsi:noNamespaceSchemaLocation="http://sumo.dlr.de/xsd/fcd_file.xsd">
<timestep time="0.00">
<vehicle id="0" x="1495.25" y="401.65" speed="10.00"/>
</timestep>
<timestep time="1.00">
<vehicle id="0" x="1485.25" y="401.65" speed="10.00"/>
</timestep>
<timestep time="2.00">
<vehicle id="0" x="1475.25" y="401.65" speed="10.00"/>
</timestep>
<timestep time="3.00">
<vehicle id="0" x="1465.25" y="401.65" speed="10.00"/>
</timestep>
<timestep time="4.00">
<vehicle id="0" x="1455.25" y="401.65" speed="10.00"/>
</timestep>
</fcd-export>
79 changes: 79 additions & 0 deletions tests/sumo/output/fcd-output/attributes/fcd.sumo.meso
Original file line number Diff line number Diff line change
@@ -0,0 +1,79 @@
<?xml version="1.0" encoding="UTF-8"?>

<!-- generated on Mon Feb 1 08:51:54 2021 by Eclipse SUMO sumo Version v1_8_0+0850-297f6a0
This data file and the accompanying materials
are made available under the terms of the Eclipse Public License v2.0
which accompanies this distribution, and is available at
http://www.eclipse.org/legal/epl-v20.html
SPDX-License-Identifier: EPL-2.0
<configuration xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xsi:noNamespaceSchemaLocation="http://sumo.dlr.de/xsd/sumoConfiguration.xsd">
<input>
<net-file value="net.net.xml"/>
<additional-files value="input_routes.rou.xml"/>
</input>
<output>
<write-license value="true"/>
<precision value="3"/>
<netstate-dump.precision value="3"/>
<emission-output.precision value="3"/>
<battery-output.precision value="3"/>
<elechybrid-output.precision value="3"/>
<fcd-output value="fcd.xml"/>
</output>
<time>
<end value="0.2"/>
<step-length value="0.025"/>
</time>
<processing>
<default.speeddev value="0"/>
<pedestrian.model value="nonInteracting"/>
</processing>
<report>
<xml-validation value="never"/>
<xml-validation.routes value="never"/>
<duration-log.disable value="true"/>
<no-step-log value="true"/>
</report>
<mesoscopic>
<mesosim value="true"/>
</mesoscopic>
<gui_only>
<tracker-interval value="0.025"/>
</gui_only>
</configuration>
-->

<fcd-export xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xsi:noNamespaceSchemaLocation="http://sumo.dlr.de/xsd/fcd_file.xsd">
<timestep time="0.000">
<vehicle id="0" x="1497.625" y="401.650" angle="270.000" type="t1" speed="9.999" pos="97.625" edge="4/1to3/1" slope="0.000"/>
</timestep>
<timestep time="0.025">
<vehicle id="0" x="1497.625" y="401.650" angle="270.000" type="t1" speed="9.999" pos="97.625" edge="4/1to3/1" slope="0.000"/>
</timestep>
<timestep time="0.050">
<vehicle id="0" x="1497.625" y="401.650" angle="270.000" type="t1" speed="9.999" pos="97.625" edge="4/1to3/1" slope="0.000"/>
</timestep>
<timestep time="0.075">
<vehicle id="0" x="1497.625" y="401.650" angle="270.000" type="t1" speed="9.999" pos="97.625" edge="4/1to3/1" slope="0.000"/>
</timestep>
<timestep time="0.100">
<vehicle id="0" x="1497.625" y="401.650" angle="270.000" type="t1" speed="9.999" pos="97.625" edge="4/1to3/1" slope="0.000"/>
</timestep>
<timestep time="0.125">
<vehicle id="0" x="1497.625" y="401.650" angle="270.000" type="t1" speed="9.999" pos="97.625" edge="4/1to3/1" slope="0.000"/>
</timestep>
<timestep time="0.150">
<vehicle id="0" x="1497.625" y="401.650" angle="270.000" type="t1" speed="9.999" pos="97.625" edge="4/1to3/1" slope="0.000"/>
</timestep>
<timestep time="0.175">
<vehicle id="0" x="1497.625" y="401.650" angle="270.000" type="t1" speed="9.999" pos="97.625" edge="4/1to3/1" slope="0.000"/>
</timestep>
</fcd-export>
4 changes: 4 additions & 0 deletions tests/sumo/output/fcd-output/attributes/options.sumo
Original file line number Diff line number Diff line change
@@ -0,0 +1,4 @@
--fcd-output=fcd.xml --no-step-log --no-duration-log --net-file=net.net.xml -a
input_routes.rou.xml
-e 5
--fcd-output.attributes x,y,speed
Empty file.
3 changes: 3 additions & 0 deletions tests/sumo/output/fcd-output/testsuite.sumo
Original file line number Diff line number Diff line change
Expand Up @@ -60,3 +60,6 @@ leader

# automatically set precision on long step length
precision

# filter written attributes
attributes

0 comments on commit 62a3b8f

Please sign in to comment.