-
Notifications
You must be signed in to change notification settings - Fork 3
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Add get attribute type function in utils (#26)
Signed-off-by: romanodanilo <danilo@ivex.ai> Signed-off-by: romanodanilo <62891297+romanodanilo@users.noreply.github.com>
- Loading branch information
1 parent
3aa8e4d
commit 4a936c5
Showing
6 changed files
with
100 additions
and
4 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
42 changes: 42 additions & 0 deletions
42
tests/data/parameter_declaration_with_expression/VehicleCatalog.xosc
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,42 @@ | ||
<?xml version="1.0" encoding="UTF-8"?> | ||
<OpenSCENARIO xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xsi:noNamespaceSchemaLocation="../../../Schema/OpenSCENARIO.xsd"> | ||
<FileHeader revMajor="1" revMinor="3" date="2020-02-21T10:00:00" description="Example - Vehicle Catalog" author="ASAM e.V." /> | ||
<Catalog name="VehicleCatalog"> | ||
<Vehicle name="car1" vehicleCategory="car"> | ||
<BoundingBox> | ||
<Center x="1.4" y="0.0" z="0.9" /> | ||
<Dimensions width="2.0" length="5.0" height="1.8" /> | ||
</BoundingBox> | ||
<Performance maxSpeed="69" maxAcceleration="200" maxDeceleration="30" /> | ||
<Axles> | ||
<FrontAxle maxSteering="0.5235987756" wheelDiameter="0.8" trackWidth="1.68" positionX="2.98" positionZ="0.4"/> | ||
<RearAxle maxSteering="0.5235987756" wheelDiameter="0.8" trackWidth="1.68" positionX="0" positionZ="0.4"/> | ||
</Axles> | ||
</Vehicle> | ||
<Vehicle name="car2" vehicleCategory="car"> | ||
<BoundingBox> | ||
<Center x="1.3" y="0.0" z="0.8" /> | ||
<Dimensions width="1.8" length="4.5" height="1.5" /> | ||
</BoundingBox> | ||
<Performance maxSpeed="70" maxAcceleration="200" maxDeceleration="30" /> | ||
<Axles> | ||
<FrontAxle maxSteering="0.5235987756" wheelDiameter="0.8" trackWidth="1.68" positionX="2.98" positionZ="0.4" /> | ||
<RearAxle maxSteering="0.5235987756" wheelDiameter="0.8" trackWidth="1.68" positionX="0" positionZ="0.4" /> | ||
</Axles> | ||
<TrailerHitch dx="-1.2"/> | ||
<Properties /> | ||
</Vehicle> | ||
<Vehicle name="car_trailer" vehicleCategory="trailer"> | ||
<BoundingBox> | ||
<Center x="0.87" y="0.0" z="0.61"/> | ||
<Dimensions width="2.06" length="4.94" height="1.22"/> | ||
</BoundingBox> | ||
<Performance maxSpeed="${250/3.6}" maxDeceleration="10" maxAcceleration="5"/> | ||
<Axles> | ||
<RearAxle maxSteering="0.0" wheelDiameter="0.6" trackWidth="1.68" positionX="0.0" positionZ="0.3"/> | ||
</Axles> | ||
<TrailerCoupler dx="3.25"/> | ||
<Properties/> | ||
</Vehicle> | ||
</Catalog> | ||
</OpenSCENARIO> |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters