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 23, 2021
1 parent 9c02749 commit cc32c4f
Show file tree
Hide file tree
Showing 7 changed files with 124 additions and 0 deletions.
Empty file.
49 changes: 49 additions & 0 deletions tests/sumo/output/fcd-output/person_attributes/fcd.sumo
Original file line number Diff line number Diff line change
@@ -0,0 +1,49 @@
<?xml version="1.0" encoding="UTF-8"?>

<!-- generated on Tue Feb 23 08:36:14 2021 by Eclipse SUMO sumo Version v1_8_0+1335-39b66c4
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="2"/>
</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">
<person id="noFCDByTypeEnableViaParam" x="395.25" y="402.93" speed="0.00"/>
<person id="default" x="1595.25" y="402.93" speed="0.00"/>
</timestep>
<timestep time="1.00">
<person id="noFCDByTypeEnableViaParam" x="394.11" y="402.93" speed="1.14"/>
<person id="default" x="1594.00" y="402.93" speed="1.25"/>
</timestep>
</fcd-export>
51 changes: 51 additions & 0 deletions tests/sumo/output/fcd-output/person_attributes/fcd.sumo.meso
Original file line number Diff line number Diff line change
@@ -0,0 +1,51 @@
<?xml version="1.0" encoding="UTF-8"?>

<!-- generated on Mon Jun 4 14:44:55 2018 by Eclipse SUMO Version 4ce83f2
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"/>
</output>
<time>
<end value="2"/>
</time>
<processing>
<pedestrian.model value="nonInteracting"/>
</processing>
<report>
<xml-validation value="never"/>
<duration-log.disable value="true"/>
<no-step-log value="true"/>
</report>
<mesoscopic>
<mesosim value="true"/>
</mesoscopic>
</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">
<person id="noFCDByTypeEnableViaParam" x="395.25" y="401.65" angle="270.00" speed="1.39" pos="0.00" edge="1/1to0/1" slope="0.00"/>
<person id="default" x="1595.25" y="401.65" angle="270.00" speed="1.39" pos="0.00" edge="4/1to3/1" slope="0.00"/>
</timestep>
<timestep time="1.00">
<person id="noFCDByTypeEnableViaParam" x="393.87" y="401.65" angle="270.00" speed="1.39" pos="1.38" edge="1/1to0/1" slope="0.00"/>
<person id="default" x="1593.87" y="401.65" angle="270.00" speed="1.39" pos="1.38" edge="4/1to3/1" slope="0.00"/>
</timestep>
</fcd-export>
Original file line number Diff line number Diff line change
@@ -0,0 +1,19 @@
<routes xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xsi:noNamespaceSchemaLocation="http://sumo.dlr.de/xsd/routes_file.xsd">
<vType id="noFCD" vClass="pedestrian">
<param key="has.fcd.device" value="false"/>
</vType>
<person id="default" depart="0">
<walk edges="4/1to3/1"/>
</person>
<person id="noFCDByType" depart="0" type="noFCD">
<walk edges="3/1to2/1"/>
</person>
<person id="noFCDByParam" depart="0">
<walk edges="2/1to1/1"/>
<param key="has.fcd.device" value="false"/>
</person>
<person id="noFCDByTypeEnableViaParam" depart="0" type="noFCD">
<walk edges="1/1to0/1"/>
<param key="has.fcd.device" value="true"/>
</person>
</routes>
4 changes: 4 additions & 0 deletions tests/sumo/output/fcd-output/person_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 2
--fcd-output.attributes x,y,speed
Empty file.
1 change: 1 addition & 0 deletions tests/sumo/output/fcd-output/testsuite.sumo
Original file line number Diff line number Diff line change
Expand Up @@ -63,3 +63,4 @@ precision

# filter written attributes
attributes
person_attributes

0 comments on commit cc32c4f

Please sign in to comment.