Skip to content

Commit 4d66380

Browse files
committed
adapting traci tests to fcd instead of rawdump #21 #16882
1 parent dcc0402 commit 4d66380

File tree

299 files changed

+15868
-35670
lines changed

Some content is hidden

Large Commits have some content hidden by default. Use the searchbox below for content that may be hidden.

299 files changed

+15868
-35670
lines changed

tests/traci/config.traci

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -48,5 +48,6 @@ log:Simulation.*started with{REPLACE Simulation started with}
4848
[floating_point_tolerance]
4949
testclient_out:0.0101
5050
net_state:0.0101
51+
fcd:0.0101
5152
detector:0.0101
5253
tripinfos:0.0101
Lines changed: 43 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,43 @@
1+
<?xml version="1.0" encoding="UTF-8"?>
2+
3+
<!-- generated on 2026-03-14T17:58:52.807931+01:00 by Eclipse SUMO sumo v1_26_0+0596-598a13ff2c9
4+
This data file and the accompanying materials
5+
are made available under the terms of the Eclipse Public License v2.0
6+
which accompanies this distribution, and is available at
7+
http://www.eclipse.org/legal/epl-v20.html
8+
This file may also be made available under the following Secondary
9+
Licenses when the conditions for such availability set forth in the Eclipse
10+
Public License 2.0 are satisfied: GNU General Public License, version 2
11+
or later which is available at
12+
https://www.gnu.org/licenses/old-licenses/gpl-2.0-standalone.html
13+
SPDX-License-Identifier: EPL-2.0 OR GPL-2.0-or-later
14+
<sumoConfiguration xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xsi:noNamespaceSchemaLocation="http://sumo.dlr.de/xsd/sumoConfiguration.xsd">
15+
16+
<input>
17+
<net-file value="net.net.xml"/>
18+
<route-files value="routes.rou.xml"/>
19+
</input>
20+
21+
<output>
22+
<write-license value="true"/>
23+
<fcd-output value="fcd.xml"/>
24+
<fcd-output.attributes value="speed,pos,lane"/>
25+
</output>
26+
27+
<report>
28+
<xml-validation value="never"/>
29+
<no-step-log value="true"/>
30+
</report>
31+
32+
<traci_server>
33+
<remote-port value="36669"/>
34+
</traci_server>
35+
36+
</sumoConfiguration>
37+
-->
38+
39+
<fcd-export xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xsi:noNamespaceSchemaLocation="http://sumo.dlr.de/xsd/fcd_file.xsd">
40+
<timestep time="0.00"/>
41+
<timestep time="1.00"/>
42+
<timestep time="2.00"/>
43+
</fcd-export>

tests/traci/get_variable/Simulation/DISTANCE_REQUEST/3D3DAir/net_state.traci

Lines changed: 0 additions & 35 deletions
This file was deleted.
Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1 +1 @@
1-
--no-step-log --net-file net.net.xml --route-files routes.rou.xml --netstate-dump netstate_dump.xml
1+
--no-step-log --net-file net.net.xml --route-files routes.rou.xml --fcd-output fcd.xml --fcd-output.attributes speed,pos,lane
Lines changed: 43 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,43 @@
1+
<?xml version="1.0" encoding="UTF-8"?>
2+
3+
<!-- generated on 2026-03-14T17:58:52.875092+01:00 by Eclipse SUMO sumo v1_26_0+0596-598a13ff2c9
4+
This data file and the accompanying materials
5+
are made available under the terms of the Eclipse Public License v2.0
6+
which accompanies this distribution, and is available at
7+
http://www.eclipse.org/legal/epl-v20.html
8+
This file may also be made available under the following Secondary
9+
Licenses when the conditions for such availability set forth in the Eclipse
10+
Public License 2.0 are satisfied: GNU General Public License, version 2
11+
or later which is available at
12+
https://www.gnu.org/licenses/old-licenses/gpl-2.0-standalone.html
13+
SPDX-License-Identifier: EPL-2.0 OR GPL-2.0-or-later
14+
<sumoConfiguration xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xsi:noNamespaceSchemaLocation="http://sumo.dlr.de/xsd/sumoConfiguration.xsd">
15+
16+
<input>
17+
<net-file value="net.net.xml"/>
18+
<route-files value="routes.rou.xml"/>
19+
</input>
20+
21+
<output>
22+
<write-license value="true"/>
23+
<fcd-output value="fcd.xml"/>
24+
<fcd-output.attributes value="speed,pos,lane"/>
25+
</output>
26+
27+
<report>
28+
<xml-validation value="never"/>
29+
<no-step-log value="true"/>
30+
</report>
31+
32+
<traci_server>
33+
<remote-port value="34833"/>
34+
</traci_server>
35+
36+
</sumoConfiguration>
37+
-->
38+
39+
<fcd-export xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xsi:noNamespaceSchemaLocation="http://sumo.dlr.de/xsd/fcd_file.xsd">
40+
<timestep time="0.00"/>
41+
<timestep time="1.00"/>
42+
<timestep time="2.00"/>
43+
</fcd-export>

tests/traci/get_variable/Simulation/DISTANCE_REQUEST/3D3DDrive/net_state.traci

Lines changed: 0 additions & 35 deletions
This file was deleted.
Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1 +1 @@
1-
--no-step-log --net-file net.net.xml --route-files routes.rou.xml --netstate-dump netstate_dump.xml
1+
--no-step-log --net-file net.net.xml --route-files routes.rou.xml --fcd-output fcd.xml --fcd-output.attributes speed,pos,lane
Lines changed: 43 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,43 @@
1+
<?xml version="1.0" encoding="UTF-8"?>
2+
3+
<!-- generated on 2026-03-14T17:58:52.911583+01:00 by Eclipse SUMO sumo v1_26_0+0596-598a13ff2c9
4+
This data file and the accompanying materials
5+
are made available under the terms of the Eclipse Public License v2.0
6+
which accompanies this distribution, and is available at
7+
http://www.eclipse.org/legal/epl-v20.html
8+
This file may also be made available under the following Secondary
9+
Licenses when the conditions for such availability set forth in the Eclipse
10+
Public License 2.0 are satisfied: GNU General Public License, version 2
11+
or later which is available at
12+
https://www.gnu.org/licenses/old-licenses/gpl-2.0-standalone.html
13+
SPDX-License-Identifier: EPL-2.0 OR GPL-2.0-or-later
14+
<sumoConfiguration xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xsi:noNamespaceSchemaLocation="http://sumo.dlr.de/xsd/sumoConfiguration.xsd">
15+
16+
<input>
17+
<net-file value="net.net.xml"/>
18+
<route-files value="routes.rou.xml"/>
19+
</input>
20+
21+
<output>
22+
<write-license value="true"/>
23+
<fcd-output value="fcd.xml"/>
24+
<fcd-output.attributes value="speed,pos,lane"/>
25+
</output>
26+
27+
<report>
28+
<xml-validation value="never"/>
29+
<no-step-log value="true"/>
30+
</report>
31+
32+
<traci_server>
33+
<remote-port value="39389"/>
34+
</traci_server>
35+
36+
</sumoConfiguration>
37+
-->
38+
39+
<fcd-export xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xsi:noNamespaceSchemaLocation="http://sumo.dlr.de/xsd/fcd_file.xsd">
40+
<timestep time="0.00"/>
41+
<timestep time="1.00"/>
42+
<timestep time="2.00"/>
43+
</fcd-export>

tests/traci/get_variable/Simulation/DISTANCE_REQUEST/3DRoadPosAir/net_state.traci

Lines changed: 0 additions & 35 deletions
This file was deleted.
Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1 +1 @@
1-
--no-step-log --net-file net.net.xml --route-files routes.rou.xml --netstate-dump netstate_dump.xml
1+
--no-step-log --net-file net.net.xml --route-files routes.rou.xml --fcd-output fcd.xml --fcd-output.attributes speed,pos,lane

0 commit comments

Comments
 (0)