Skip to content

Commit

Permalink
added test refs #14403, #21
Browse files Browse the repository at this point in the history
  • Loading branch information
namdre committed Feb 24, 2024
1 parent 23f13f4 commit 3d2f0c8
Show file tree
Hide file tree
Showing 6 changed files with 8 additions and 3 deletions.
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
7 changes: 6 additions & 1 deletion tests/sumo/rail/model_railroad/input_routes.rou.xml
Original file line number Diff line number Diff line change
Expand Up @@ -45,7 +45,12 @@

<routes xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xsi:noNamespaceSchemaLocation="http://sumo.dlr.de/xsd/routes_file.xsd">
<vType id="train" vClass="rail" length="250" speedFactor="0.6" decel="1" accel="1"/>
<vType id="train2" vClass="rail" length="150" speedFactor="0.9" decel="1" accel="1"/>
<vType id="train2" vClass="rail" length="102" speedFactor="0.9" decel="1" accel="1" imgFile="data/locomotive.png" color="white">
<param key="locomotiveLength" value="12"/>
<param key="carriageLength" value="10"/>
<param key="carriageGap" value="0.3"/>
<param key="carriageImages" value="data/railcarFreight.png,data/railcarFreight2.png,data/railcarPassenger.png"/>
</vType>
<!--
<trip id="trip_0" type="train" depart="0.00" from="B0C0" to="C1B1" arrivalSpeed="0"/>
-->
Expand Down
4 changes: 2 additions & 2 deletions tests/sumo/rail/model_railroad/settings.xml
Original file line number Diff line number Diff line change
Expand Up @@ -450,7 +450,7 @@
<entry color="50.00" threshold="100.00"/>
</scalingScheme>
</edges>
<vehicles vehicleMode="8" vehicleQuality="2" vehicle_minSize="1.00" vehicle_exaggeration="1.00" vehicle_constantSize="1" vehicle_constantSizeSelected="0" showBlinker="1" drawMinGap="0" drawBrakeGap="0" showBTRange="0" showRouteIndex="0"
<vehicles vehicleMode="0" vehicleQuality="3" vehicle_minSize="1.00" vehicle_exaggeration="1.00" vehicle_constantSize="1" vehicle_constantSizeSelected="0" showBlinker="1" drawMinGap="0" drawBrakeGap="0" showBTRange="0" showRouteIndex="0"
vehicleName_show="0" vehicleName_size="50.00" vehicleName_color="204,153,0" vehicleName_bgColor="128,0,0,0" vehicleName_constantSize="1"
vehicleValue_show="0" vehicleValue_size="80.00" vehicleValue_color="cyan" vehicleValue_bgColor="128,0,0,0" vehicleValue_constantSize="1"
vehicleText_show="0" vehicleText_size="80.00" vehicleText_color="red" vehicleText_bgColor="128,0,0,0" vehicleText_constantSize="1">
Expand Down Expand Up @@ -744,7 +744,7 @@
</colorScheme>
</junctions>
<additionals addMode="0" add_minSize="1.00" add_exaggeration="2.00" add_constantSize="0" add_constantSizeSelected="0" addName_show="0" addName_size="50.00" addName_color="255,0,128" addName_bgColor="128,0,0,0" addName_constantSize="1" addFullName_show="0" addFullName_size="50.00" addFullName_color="255,0,128" addFullName_bgColor="128,0,0,0" addFullName_constantSize="1"/>
<pois poi_minSize="0.00" poi_exaggeration="1.00" poi_constantSize="0" poi_constantSizeSelected="0" poiName_show="0" poiName_size="50.00" poiName_color="black" poiName_bgColor="126,229,0" poiName_constantSize="1" poiType_show="1" poiType_size="100.00" poiType_color="black" poiType_bgColor="18,192,0" poiType_constantSize="1">
<pois poi_minSize="0.00" poi_exaggeration="1.00" poi_constantSize="0" poi_constantSizeSelected="0" poiName_show="0" poiName_size="50.00" poiName_color="black" poiName_bgColor="126,229,0" poiName_constantSize="1" poiType_show="1" poiType_size="100.00" poiType_color="black" poiType_bgColor="18,192,0" poiType_constantSize="0">
<colorScheme name="given POI color">
<entry color="red"/>
</colorScheme>
Expand Down

0 comments on commit 3d2f0c8

Please sign in to comment.