Skip to content

Commit

Permalink
patching meta results refs #21, #9891
Browse files Browse the repository at this point in the history
  • Loading branch information
namdre committed May 17, 2024
1 parent dc55912 commit 63ca19c
Show file tree
Hide file tree
Showing 4 changed files with 12 additions and 4 deletions.
5 changes: 4 additions & 1 deletion tests/sumo/meta/help/output.sumo
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
Eclipse SUMO sumo Version v1_20_0+0026-b9eee10faaa
Eclipse SUMO sumo Version v1_20_0+0093-896caffe5a3
Copyright (C) 2001-2024 German Aerospace Center (DLR) and others; https://sumo.dlr.de
A microscopic, multi-modal traffic simulation.

Expand Down Expand Up @@ -228,6 +228,9 @@ Processing Options:
maintained to avoid collision detection.
If a negative value is given, the
carFollowModel parameter is used
--keep-after-arrival TIME After a vehicle arrives, keep it in
memory for the given TIME (for TraCI
access)
--max-num-vehicles INT Delay vehicle insertion to stay within
the given maximum number
--max-num-teleports INT Abort the simulation if the given
Expand Down
3 changes: 2 additions & 1 deletion tests/sumo/meta/write_schema/cfg.sumo
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
<?xml version="1.0" encoding="UTF-8"?>

<!-- generated on 2024-05-07 18:41:39 by Eclipse SUMO sumo Version v1_20_0+0026-b9eee10faaa
<!-- generated on 2024-05-17 09:35:42 by Eclipse SUMO sumo Version v1_20_0+0093-896caffe5a3
-->

<xsd:schema elementFormDefault="qualified" xmlns:xsd="http://www.w3.org/2001/XMLSchema">
Expand Down Expand Up @@ -168,6 +168,7 @@
<xsd:element name="collision.check-junctions" type="boolOptionType" minOccurs="0"/>
<xsd:element name="collision.check-junctions.mingap" type="floatOptionType" minOccurs="0"/>
<xsd:element name="collision.mingap-factor" type="floatOptionType" minOccurs="0"/>
<xsd:element name="keep-after-arrival" type="timeOptionType" minOccurs="0"/>
<xsd:element name="max-num-vehicles" type="intOptionType" minOccurs="0"/>
<xsd:element name="max-num-teleports" type="intOptionType" minOccurs="0"/>
<xsd:element name="scale" type="floatOptionType" minOccurs="0"/>
Expand Down
5 changes: 4 additions & 1 deletion tests/sumo/meta/write_template_commented_full/cfg.sumo
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
<?xml version="1.0" encoding="UTF-8"?>

<!-- generated on 2024-05-08 19:06:19 by Eclipse SUMO sumo Version v1_20_0+0051-b8e19735240
<!-- generated on 2024-05-17 09:35:42 by Eclipse SUMO sumo Version v1_20_0+0093-896caffe5a3
-->

<configuration xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xsi:noNamespaceSchemaLocation="http://sumo.dlr.de/xsd/sumoConfiguration.xsd">
Expand Down Expand Up @@ -372,6 +372,9 @@
<!-- Sets the fraction of minGap that must be maintained to avoid collision detection. If a negative value is given, the carFollowModel parameter is used -->
<collision.mingap-factor value="-1" type="FLOAT"/>

<!-- After a vehicle arrives, keep it in memory for the given TIME (for TraCI access) -->
<keep-after-arrival value="0" type="TIME"/>

<!-- Delay vehicle insertion to stay within the given maximum number -->
<max-num-vehicles value="-1" type="INT"/>

Expand Down
3 changes: 2 additions & 1 deletion tests/sumo/meta/write_template_full/cfg.sumo
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
<?xml version="1.0" encoding="UTF-8"?>

<!-- generated on 2024-05-08 19:06:19 by Eclipse SUMO sumo Version v1_20_0+0051-b8e19735240
<!-- generated on 2024-05-17 09:35:42 by Eclipse SUMO sumo Version v1_20_0+0093-896caffe5a3
-->

<configuration xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xsi:noNamespaceSchemaLocation="http://sumo.dlr.de/xsd/sumoConfiguration.xsd">
Expand Down Expand Up @@ -136,6 +136,7 @@
<collision.check-junctions value="false" type="BOOL" help="Enables collisions checks on junctions"/>
<collision.check-junctions.mingap value="0" type="FLOAT" help="Increase or decrease sensitivity for junction collision check"/>
<collision.mingap-factor value="-1" type="FLOAT" help="Sets the fraction of minGap that must be maintained to avoid collision detection. If a negative value is given, the carFollowModel parameter is used"/>
<keep-after-arrival value="0" type="TIME" help="After a vehicle arrives, keep it in memory for the given TIME (for TraCI access)"/>
<max-num-vehicles value="-1" type="INT" help="Delay vehicle insertion to stay within the given maximum number"/>
<max-num-teleports value="-1" type="INT" help="Abort the simulation if the given maximum number of teleports is exceeded"/>
<scale value="1" type="FLOAT" help="Scale demand by the given factor (by discarding or duplicating vehicles)"/>
Expand Down

0 comments on commit 63ca19c

Please sign in to comment.