Skip to content

Commit

Permalink
added test refs #21, #15919
Browse files Browse the repository at this point in the history
  • Loading branch information
namdre committed Dec 16, 2024
1 parent 2efb4de commit b1cef30
Show file tree
Hide file tree
Showing 10 changed files with 149 additions and 0 deletions.
Original file line number Diff line number Diff line change
@@ -0,0 +1,2 @@
Error: parkingArea 'pa_0' for vehicle 'ego' on lane '-a_0' is not downstream the current route.
Quitting (on error).
Original file line number Diff line number Diff line change
@@ -0,0 +1 @@
1
Original file line number Diff line number Diff line change
@@ -0,0 +1,42 @@
<?xml version="1.0" encoding="UTF-8"?>

<!-- generated on 2024-12-16 18:47:53 by Eclipse SUMO sumo Version v1_21_0+1387-6a238c03344
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
This file may also be made available under the following Secondary
Licenses when the conditions for such availability set forth in the Eclipse
Public License 2.0 are satisfied: GNU General Public License, version 2
or later which is available at
https://www.gnu.org/licenses/old-licenses/gpl-2.0-standalone.html
SPDX-License-Identifier: EPL-2.0 OR GPL-2.0-or-later
<sumoConfiguration 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"/>
<route-files value="input_routes.rou.xml"/>
<additional-files value="input_additional.add.xml"/>
</input>
<output>
<write-license value="true"/>
<fcd-output value="fcd.xml"/>
<tripinfo-output value="tripinfos.xml"/>
<vehroute-output value="vehroutes.xml"/>
</output>
<processing>
<default.speeddev value="0"/>
</processing>
<report>
<xml-validation value="never"/>
<no-step-log value="true"/>
</report>
</sumoConfiguration>
-->

<fcd-export xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xsi:noNamespaceSchemaLocation="http://sumo.dlr.de/xsd/fcd_file.xsd">
</fcd-export>
Original file line number Diff line number Diff line change
@@ -0,0 +1,4 @@
<additional>
<parkingArea id="pa_0" lane="-a_0" startPos="60" endPos="80" roadsideCapacity="3"/>

</additional>
Original file line number Diff line number Diff line change
@@ -0,0 +1,10 @@
<routes>
<vType id="DEFAULT_VEHTYPE" sigma="0"/>

<route id="r0" edges="a"/>

<vehicle id="ego" route="r0" departPos="0" depart="0">
<stop parkingArea="pa_0" duration="10" parking="true"/>
</vehicle>

</routes>
Original file line number Diff line number Diff line change
@@ -0,0 +1,3 @@
--no-step-log --net-file=net.net.xml --routes=input_routes.rou.xml --tripinfo-output tripinfos.xml --fcd-output fcd.xml
-a input_additional.add.xml
--vehroute-output vehroutes.xml
Empty file.
Original file line number Diff line number Diff line change
@@ -0,0 +1,42 @@
<?xml version="1.0" encoding="UTF-8"?>

<!-- generated on 2024-12-16 18:47:53 by Eclipse SUMO sumo Version v1_21_0+1387-6a238c03344
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
This file may also be made available under the following Secondary
Licenses when the conditions for such availability set forth in the Eclipse
Public License 2.0 are satisfied: GNU General Public License, version 2
or later which is available at
https://www.gnu.org/licenses/old-licenses/gpl-2.0-standalone.html
SPDX-License-Identifier: EPL-2.0 OR GPL-2.0-or-later
<sumoConfiguration 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"/>
<route-files value="input_routes.rou.xml"/>
<additional-files value="input_additional.add.xml"/>
</input>
<output>
<write-license value="true"/>
<fcd-output value="fcd.xml"/>
<tripinfo-output value="tripinfos.xml"/>
<vehroute-output value="vehroutes.xml"/>
</output>
<processing>
<default.speeddev value="0"/>
</processing>
<report>
<xml-validation value="never"/>
<no-step-log value="true"/>
</report>
</sumoConfiguration>
-->

<tripinfos xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xsi:noNamespaceSchemaLocation="http://sumo.dlr.de/xsd/tripinfo_file.xsd">
</tripinfos>
Original file line number Diff line number Diff line change
@@ -0,0 +1,42 @@
<?xml version="1.0" encoding="UTF-8"?>

<!-- generated on 2024-12-16 18:47:53 by Eclipse SUMO sumo Version v1_21_0+1387-6a238c03344
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
This file may also be made available under the following Secondary
Licenses when the conditions for such availability set forth in the Eclipse
Public License 2.0 are satisfied: GNU General Public License, version 2
or later which is available at
https://www.gnu.org/licenses/old-licenses/gpl-2.0-standalone.html
SPDX-License-Identifier: EPL-2.0 OR GPL-2.0-or-later
<sumoConfiguration 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"/>
<route-files value="input_routes.rou.xml"/>
<additional-files value="input_additional.add.xml"/>
</input>
<output>
<write-license value="true"/>
<fcd-output value="fcd.xml"/>
<tripinfo-output value="tripinfos.xml"/>
<vehroute-output value="vehroutes.xml"/>
</output>
<processing>
<default.speeddev value="0"/>
</processing>
<report>
<xml-validation value="never"/>
<no-step-log value="true"/>
</report>
</sumoConfiguration>
-->

<routes xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xsi:noNamespaceSchemaLocation="http://sumo.dlr.de/xsd/routes_file.xsd">
</routes>
Original file line number Diff line number Diff line change
Expand Up @@ -4,6 +4,9 @@ noconflict
# stopping on the opposite side without other traffic
noconflict_parking

# stopping on the opposite side without other traffic
noconflict_parkingArea

# stopping on the opposite side without other traffic,
# forward edge has 2 lanes
2lanes_forward
Expand Down

0 comments on commit b1cef30

Please sign in to comment.