Commit c1ad5ebd authored by Uwe Woessner's avatar Uwe Woessner
Browse files

added maxAcceleration and maxDeceleration

parent a07d8f8e
<?xml version="1.0"?>
<OpenSCENARIO>
<FileHeader revMajor="1" revMinor="0" date="2020-06-26T00:17:00" description="openPASS pedestrian models" author="in-tech GmbH"/>
<Catalog name="PedestrianCatalog">
<Pedestrian model="pedestrian_child" mass="30.0" name="pedestrian_child" pedestrianCategory="pedestrian">
<ParameterDeclarations/>
<BoundingBox>
<Center x="0.0645" y="0.0" z="0.577"/>
<Dimensions width="0.298" length="0.711" height="1.154"/>
</BoundingBox>
<Properties/>
</Pedestrian>
<Pedestrian model="pedestrian_adult" mass="80.0" name="pedestrian_adult" pedestrianCategory="pedestrian">
<ParameterDeclarations/>
<BoundingBox>
<Center x="0.1" y="0.0" z="0.9"/>
<Dimensions width="0.5" length="0.6" height="1.8"/>
</BoundingBox>
<Properties/>
</Pedestrian>
</Catalog>
</OpenSCENARIO>
<Profiles SchemaVersion="0.4.2">
<AgentProfiles>
<AgentProfile Name="EgoAgent" Type="Static">
<System>
<File>SystemConfigRegular.xml</File>
<Id>0</Id>
</System>
<VehicleModel>car_bmw_7_1</VehicleModel>
</AgentProfile>
<AgentProfile Name="ModularDriverAgent" Type="Static">
<System>
<File>SystemConfigRegular.xml</File>
<Id>0</Id>
</System>
<VehicleModel>car_bmw_7_1</VehicleModel>
</AgentProfile>
<AgentProfile Name="ModularDriverFailure" Type="Static">
<System>
<File>SystemConfigFailure.xml</File>
<Id>0</Id>
</System>
<VehicleModel>car_bmw_7_1</VehicleModel>
</AgentProfile>
<AgentProfile Name="ModularTruckDriverAgent" Type="Static">
<System>
<File>SystemConfigTruck.xml</File>
<Id>0</Id>
</System>
<VehicleModel>truck</VehicleModel>
</AgentProfile>
<AgentProfile Name="ModularTruckDriverFailureAgent" Type="Static">
<System>
<File>SystemConfigTruckFailure.xml</File>
<Id>0</Id>
</System>
<VehicleModel>truck</VehicleModel>
</AgentProfile>
</AgentProfiles>
<VehicleProfiles>
<VehicleProfile Name="BMW 7 1">
<Model Name="car_bmw_7_1"/>
<Components/>
<Sensors/>
</VehicleProfile>
<VehicleProfile Name="BMW 7 2">
<Model Name="car_bmw_7_2"/>
<Components/>
<Sensors/>
</VehicleProfile>
<VehicleProfile Name="Mini Cooper">
<Model Name="car_mini_cooper"/>
<Components/>
<Sensors/>
</VehicleProfile>
<VehicleProfile Name="BMW i3">
<Model Name="car_bmw_i3"/>
<Components/>
<Sensors/>
</VehicleProfile>
<VehicleProfile Name="BMW 3">
<Model Name="car_bmw_3"/>
<Components/>
<Sensors/>
</VehicleProfile>
<VehicleProfile Name="Truck">
<Model Name="truck"/>
<Components/>
<Sensors/>
</VehicleProfile>
<VehicleProfile Name="Bus">
<Model Name="bus"/>
<Components/>
<Sensors/>
</VehicleProfile>
</VehicleProfiles>
<ProfileGroup Type="TrafficGroup">
<Profile Name="ModularRuntimeCommon">
<List Name="AgentProfiles">
<ListItem>
<String Key="Name" Value="ModularDriverAgent"/>
<Double Key="Weight" Value="0.8"/>
</ListItem>
<ListItem>
<String Key="Name" Value="ModularDriverFailure"/>
<Double Key="Weight" Value="0.2"/>
</ListItem>
</List>
<NormalDistribution Key="Velocity" Max="43.685" Mean="31.475" Min="19.265" SD="6.105"/>
<LogNormalDistribution Key="TGap" Max="34.467" Min="1.276" Mu="1.892" Sigma="0.824"/>
<DoubleVector Key="Homogeneity" Value="0.820, 1.0"/>
</Profile>
<Profile Name="ModularRuntimeRightMostLane">
<List Name="AgentProfiles">
<ListItem>
<String Key="Name" Value="ModularTruckDriverFailureAgent"/>
<Double Key="Weight" Value="0.02"/>
</ListItem>
<ListItem>
<String Key="Name" Value="ModularTruckDriverAgent"/>
<Double Key="Weight" Value="0.08"/>
</ListItem>
<ListItem>
<String Key="Name" Value="ModularDriverAgent"/>
<Double Key="Weight" Value="0.8"/>
</ListItem>
<ListItem>
<String Key="Name" Value="ModularDriverFailure"/>
<Double Key="Weight" Value="0.1"/>
</ListItem>
</List>
<NormalDistribution Key="Velocity" Max="43.685" Mean="31.475" Min="19.265" SD="6.105"/>
<LogNormalDistribution Key="TGap" Max="34.467" Min="1.276" Mu="1.892" Sigma="0.824"/>
<DoubleVector Key="Homogeneity" Value="0.820, 1.0"/>
</Profile>
</ProfileGroup>
<ProfileGroup Type="Spawner">
<Profile Name="DefaultPreRunCommon">
<List Name="SpawnPoints">
<ListItem>
<StringVector Key="Roads" Value="1"/>
<IntVector Key="Lanes" Value="-1,-2"/>
<Double Key="SStart" Value="0.0"/>
<Double Key="SEnd" Value="200.0"/>
</ListItem>
</List>
<List Name="TrafficGroups">
<ListItem>
<Double Key="Weight" Value="1"/>
<Reference Type="TrafficGroup" Name="ModularRuntimeCommon"/>
</ListItem>
</List>
</Profile>
<Profile Name="DefaultPreRunRightMostLane">
<List Name="SpawnPoints">
<ListItem>
<StringVector Key="Roads" Value="1"/>
<IntVector Key="Lanes" Value="-3"/>
<Double Key="SStart" Value="0.0"/>
<Double Key="SEnd" Value="1040.0"/>
</ListItem>
</List>
<List Name="TrafficGroups">
<ListItem>
<Double Key="Weight" Value="1"/>
<Reference Type="TrafficGroup" Name="ModularRuntimeRightMostLane"/>
</ListItem>
</List>
</Profile>
<Profile Name="DefaultRuntimeCommon">
<List Name="SpawnPoints">
<ListItem>
<StringVector Key="Roads" Value="1"/>
<IntVector Key="Lanes" Value="-1,-2"/>
<Double Key="SCoordinate" Value="0.0"/>
</ListItem>
</List>
<List Name="TrafficGroups">
<ListItem>
<Double Key="Weight" Value="1"/>
<Reference Type="TrafficGroup" Name="ModularRuntimeCommon"/>
</ListItem>
</List>
</Profile>
<Profile Name="DefaultRuntimeRightMostLane">
<List Name="SpawnPoints">
<ListItem>
<StringVector Key="Roads" Value="1"/>
<IntVector Key="Lanes" Value="-3"/>
<Double Key="SCoordinate" Value="0.0"/>
</ListItem>
</List>
<List Name="TrafficGroups">
<ListItem>
<Double Key="Weight" Value="1"/>
<Reference Type="TrafficGroup" Name="ModularRuntimeRightMostLane"/>
</ListItem>
</List>
</Profile>
</ProfileGroup>
</Profiles>
<?xml version="1.0"?>
<OpenSCENARIO>
<FileHeader revMajor="1" revMinor="0" date="2020-06-22T15:00:00" description="openPASS default scenario" author="in-tech GmbH"/>
<ParameterDeclarations>
<ParameterDeclaration name="OP_OSC_SchemaVersion" parameterType="string" value="0.4.0"/>
</ParameterDeclarations>
<CatalogLocations>
<VehicleCatalog>
<Directory path="VehicleModelsCatalog.xosc"/>
</VehicleCatalog>
<PedestrianCatalog>
<Directory path="PedestrianModelsCatalog.xosc"/>
</PedestrianCatalog>
<ControllerCatalog>
<Directory path=""/>
</ControllerCatalog>
<ManeuverCatalog>
<Directory path=""/>
</ManeuverCatalog>
<MiscObjectCatalog>
<Directory path=""/>
</MiscObjectCatalog>
<EnvironmentCatalog>
<Directory path=""/>
</EnvironmentCatalog>
<TrajectoryCatalog>
<Directory path=""/>
</TrajectoryCatalog>
<RouteCatalog>
<Directory path=""/>
</RouteCatalog>
</CatalogLocations>
<RoadNetwork>
<LogicFile filepath="SceneryConfiguration.xodr"/>
<SceneGraphFile filepath=""/>
</RoadNetwork>
<Entities>
<ScenarioObject name="Ego">
<CatalogReference catalogName="ProfilesCatalog.xml" entryName="EgoAgent"/>
</ScenarioObject>
<EntitySelection name="ScenarioAgents">
<Members/>
</EntitySelection>
</Entities>
<Storyboard>
<Init>
<Actions>
<Private entityRef="Ego">
<PrivateAction>
<TeleportAction>
<Position>
<LanePosition roadId="1" laneId="-3" offset="0.0" s="0"/>
</Position>
</TeleportAction>
</PrivateAction>
<PrivateAction>
<LongitudinalAction>
<SpeedAction>
<SpeedActionDynamics dynamicsShape="linear" value="0.0" dynamicsDimension="rate"/>
<SpeedActionTarget>
<AbsoluteTargetSpeed value="30"/>
</SpeedActionTarget>
</SpeedAction>
</LongitudinalAction>
</PrivateAction>
</Private>
</Actions>
</Init>
<Story/>
<StopTrigger>
<ConditionGroup>
<Condition name="EndTime" delay="0" conditionEdge="rising">
<ByValueCondition>
<SimulationTimeCondition value="120.0" rule="greaterThan"/>
</ByValueCondition>
</Condition>
</ConditionGroup>
</StopTrigger>
</Storyboard>
</OpenSCENARIO>
<?xml version="1.0" ?>
<!--
*******************************************************************************
This file contains the configuration of the scenery of the virtual world
Currently located in the folder of the OpenPassSlave.exe.
*******************************************************************************
-->
<OpenDRIVE>
<header revMajor="1" revMinor="1" name="Testfile" version="1" date="Thu Feb 8 14:24:06 2007" north="2.0000000000000000e+003" south="-2.0000000000000000e+003" east="2.0000000000000000e+003" west="-2.0000000000000000e+003" />
<road name="" length="3139.7188686309819" id="1" junction="-1">
<link />
<planView>
<geometry s="0.0000000000000000e+000" x="0" y="7.5" hdg="0" length="5000">
<line />
</geometry>
<geometry s="5000" x="5000" y="7.5" hdg="0" length="285">
<spiral curvStart="0.0000000000000000e+000" curvEnd="-0.0028500000000000066" />
</geometry>
<geometry s="5285" x="5280.3350391612494" y="-30.629710830536482" hdg="-0.40612500000000096" length="183.7188686309816">
<arc curvature="-0.0028500000000000066" />
</geometry>
<geometry s="5468.7188686309819" x="5422.9323279193268" y="-143.12204699500415" hdg="-0.92972377559829977" length="571">
<spiral curvStart="-0.0028500000000000066" curvEnd="0.0000000000000000e+000" />
</geometry>
<geometry s="6039.7188686309819" x="5476.6651848689908" y="-694.88624436808436" hdg="-1.7453292519943295" length="100">
<line />
</geometry>
</planView>
<elevationProfile />
<lateralProfile />
<lanes>
<laneSection s="0.0000000000000000e+000">
<left />
<center>
<lane id="0" type="border" level="true">
<link>
<successor id="0" />
</link>
<roadMark weight="standard" sOffset="0" type="solid" color="standard" width="0.12" laneChange="both"/>
</lane>
</center>
<right>
<lane id="-1" type="driving" level="true">
<link>
<successor id="-1" />
</link>
<width sOffset="0" a="3.75" b="0" c="0" d="0" />
<roadMark weight='standard' sOffset='0' type='broken' color='standard' width='0.12' laneChange='both' />
</lane>
<lane id="-2" type="driving" level="true">
<link>
<successor id="-2" />
</link>
<width sOffset="0" a="3.75" b="0" c="0" d="0" />
<roadMark weight='standard' sOffset='0' type='solid' color='standard' width='0.12' laneChange='both' />
</lane>
<lane id="-3" type="driving" level="true">
<link>
<successor id="-3" />
</link>
<width sOffset="0" a="3.75" b="0" c="0" d="0" />
<roadMark weight='standard' sOffset='0' type='solid' color='standard' width='0.12' laneChange='both' />
</lane>
</right>
</laneSection>
<laneSection s="500.0000000000000000e+000">
<left />
<center>
<lane id="0" type="border" level="true">
<link>
<successor id="0" />
</link>
<roadMark weight="standard" sOffset="0" type="solid" color="standard" width="0.12" laneChange="both"/>
</lane>
</center>
<right>
<lane id="-1" type="driving" level="true">
<link>
<successor id="-1" />
</link>
<width sOffset="0" a="3.75" b="0" c="0" d="0" />
<roadMark weight='standard' sOffset='0' type='broken' color='standard' width='0.12' laneChange='both' />
</lane>
<lane id="-2" type="driving" level="true">
<link>
<successor id="-2" />
</link>
<width sOffset="0" a="3.75" b="0" c="0" d="0" />
<roadMark weight='standard' sOffset='0' type='broken' color='standard' width='0.12' laneChange='both' />
</lane>
<lane id="-3" type="driving" level="true">
<link>
<successor id="-3" />
</link>
<width sOffset="0" a="3.75" b="0" c="0" d="0" />
<roadMark weight='standard' sOffset='0' type='solid' color='standard' width='0.12' laneChange='both' />
</lane>
</right>
</laneSection>
<laneSection s="800.0000000000000000e+000">
<left />
<center>
<lane id="0" type="border" level="true">
<link>
<successor id="0" />
</link>
<roadMark weight="standard" sOffset="0" type="solid" color="standard" width="0.12" laneChange="both"/>
</lane>
</center>
<right>
<lane id="-1" type="driving" level="true">
<link>
<successor id="-1" />
</link>
<width sOffset="0" a="3.75" b="0" c="0" d="0" />
<roadMark weight='standard' sOffset='0' type='broken' color='standard' width='0.12' laneChange='both' />
</lane>
<lane id="-2" type="driving" level="true">
<link>
<successor id="-2" />
</link>
<width sOffset="0" a="3.75" b="0" c="0" d="0" />
<roadMark weight='standard' sOffset='0' type='solid' color='standard' width='0.12' laneChange='both' />
</lane>
</right>
</laneSection>
</lanes>
<objects>
<object type="RoadSideMarkerPost" name="" id="" s="0" t="1" zOffset="0" validLength="0" orientation="+" length="0.12" width="0.12" height="1.2" hdg="0" pitch="0" roll="0">
<repeat s="0" distance = "50" length="5139.7188686309819"/>
</object>
<object type="RoadSideMarkerPost" name="" id="" s="0" t="-12" zOffset="0" validLength="0" orientation="-" length="0.12" width="0.12" height="1.2" hdg="0" pitch="0" roll="0">
<repeat s="0" distance = "50" length="5139.7188686309819"/>
</object>
<object type="GuardRail" name="Leitplanke" id="" s="0" t="0.5" zOffset="0" validLength="0" orientation="+" length="3.0" width="0.25" height="0.9" hdg="0" pitch="0" roll="0">
<repeat s="0" distance = "0" length="5139.7188686309819"/>
</object>
<object type="GuardRail" name="Leitplanke" id="" s="0" t="-11.5" zOffset="0" validLength="0" orientation="-" length="3.0" width="0.25" height="0.9" hdg="0" pitch="0" roll="0">
<repeat s="0" distance = "0" length="5139.7188686309819"/>
</object>
</objects>
<signals>
<signal s="100.000e+000" t="0.00000000e+000" id="1" name="sl01" dynamic="no" orientation="+" zOffset="0.0000000000000000e+00" type="274" country="OpenDRIVE" subtype="130" value="130" hOffset="0" pitch="0" validity="true"/>
</signals>
</road>
</OpenDRIVE>
\ No newline at end of file
<slaveConfig SchemaVersion="0.8.1">
<ProfilesCatalog>ProfilesCatalog.xml</ProfilesCatalog>
<Experiment>
<ExperimentID>0</ExperimentID>
<NumberOfInvocations>1</NumberOfInvocations>
<RandomSeed>499264</RandomSeed>
<Libraries>
<WorldLibrary>World_OSI</WorldLibrary>
</Libraries>
</Experiment>
<Scenario>
<OpenScenarioFile>Scenario.xosc</OpenScenarioFile>
</Scenario>
<Environment>
<TimeOfDays>
<TimeOfDay Value="15" Probability="0.4"/>
<TimeOfDay Value="18" Probability="0.6"/>
</TimeOfDays>
<VisibilityDistances>
<VisibilityDistance Value="125" Probability="0.7"/>
<VisibilityDistance Value="250" Probability="0.3"/>
</VisibilityDistances>
<Frictions>
<Friction Value="1.0" Probability="1.0"/>
</Frictions>
<Weathers>
<Weather Value="Rainy" Probability="0.5"/>
<Weather Value="Snowy" Probability="0.5"/>
</Weathers>
</Environment>
<Observations>
<Observation>
<Library>Observation_Log</Library>
<Parameters>
<String Key="OutputFilename" Value="simulationOutput.xml"/>
<Bool Key="LoggingCyclicsToCsv" Value="false"/>
<StringVector Key="LoggingGroup_Trace" Value="XPosition,YPosition,YawAngle"/>
<StringVector Key="LoggingGroup_RoadPosition" Value="AgentInFront,Lane,PositionRoute,Road,TCoordinate"/>
<StringVector Key="LoggingGroup_RoadPositionExtended" Value="SecondaryLanes"/>
<StringVector Key="LoggingGroup_Sensor" Value="Sensor*_DetectedAgents,Sensor*_VisibleAgents"/>
<StringVector Key="LoggingGroup_Vehicle" Value="AccelerationPedalPosition,BrakePedalPosition,EngineMoment,Gear,SteeringAngle,TotalDistanceTraveled,YawRate"/>
<StringVector Key="LoggingGroup_Visualization" Value="AccelerationEgo,BrakeLight,IndicatorState,LightStatus,VelocityEgo"/>
<StringVector Key="LoggingGroups" Value="Trace,Visualization,RoadPosition,Sensor"/>
</Parameters>
</Observation>
</Observations>
<Spawners>
<Spawner>
<Library>SpawnPointScenario</Library>
<Type>PreRun</Type>
<Priority>1</Priority>
</Spawner>
<Spawner>
<Library>SpawnPointPreRunCommon</Library>
<Type>PreRun</Type>
<Priority>0</Priority>
<Profile>DefaultPreRunCommon</Profile>
</Spawner>
<Spawner>
<Library>SpawnPointPreRunCommon</Library>
<Type>PreRun</Type>
<Priority>0</Priority>
<Profile>DefaultPreRunRightMostLane</Profile>
</Spawner>
<Spawner>
<Library>SpawnPointRuntimeCommon</Library>
<Type>Runtime</Type>
<Priority>0</Priority>
<Profile>DefaultRuntimeCommon</Profile>
</Spawner>
<Spawner>
<Library>SpawnPointRuntimeCommon</Library>
<Type>Runtime</Type>
<Priority>0</Priority>
<Profile>DefaultRuntimeRightMostLane</Profile>
</Spawner>
</Spawners>
</slaveConfig>
<systems>
<system>
<id>0</id>
<priority>0</priority>
<components>
<component>
<id>Parameters_Vehicle</id>
<schedule>
<priority>500</priority>
<offset>0</offset>
<cycle>100</cycle>
<response>0</response>
</schedule>
<library>Parameters_Vehicle</library>
<parameters/>
</component>
<component>
<id>Sensor_Driver</id>
<schedule>
<priority>490</priority>
<offset>0</offset>
<cycle>100</cycle>
<response>0</response>
</schedule>
<library>Sensor_Driver</library>
<parameters/>
</component>
<component>
<id>SensorObjectDetector</id>
<schedule>
<priority>398</priority>
<offset>0</offset>
<cycle>100</cycle>
<response>0</response>
</schedule>
<library>Sensor_OSI</library>
<parameters/>
</component>
<component>
<id>SensorAggregation</id>
<schedule>
<priority>351</priority>
<offset>0</offset>
<cycle>100</cycle>
<response>0</response>
</schedule>
<library>SensorAggregation_OSI</library>
<parameters/>
</component>
<component>
<id>SensorFusionErrorless</id>
<schedule>
<priority>350</priority>
<offset>0</offset>
<cycle>100</cycle>
<response>0</response>
</schedule>
<library>SensorFusionErrorless_OSI</library>
<parameters/>
</component>
<component>
<id>AlgorithmAgentFollowingDriverModel</id>
<schedule>
<priority>310</priority>
<offset>0</offset>
<cycle>100</cycle>
<response>0</response>
</schedule>
<library>AlgorithmAgentFollowingDriverModel</library>
<parameters/>
</component>
<component>
<id>ComponentController</id>
<schedule>
<priority>200</priority>