request
stringlengths
11k
36.3k
response
stringlengths
11k
36.2k
i would like to command you to remove pedestrian actor named pedestrian_close_to_hero_9311? ``` <?xml version="1.0" ?> <OpenSCENARIO> <FileHeader revMajor="1" revMinor="0" date="2020-03-24T12:00:00" description="CARLA:LaneChangeSimple" author=""/> <ParameterDeclarations/> <CatalogLocations/> <RoadNetwork> <LogicFile filepath="Town04"/> <SceneGraphFile filepath=""/> </RoadNetwork> <Entities> <ScenarioObject name="hero"> <Vehicle name="vehicle.tesla.model3" vehicleCategory="car"> <ParameterDeclarations/> <Performance maxSpeed="69.444" maxAcceleration="200" maxDeceleration="10.0"/> <BoundingBox> <Center x="1.5" y="0.0" z="0.9"/> <Dimensions width="2.1" length="4.5" height="1.8"/> </BoundingBox> <Axles> <FrontAxle maxSteering="0.5" wheelDiameter="0.6" trackWidth="1.8" positionX="3.1" positionZ="0.3"/> <RearAxle maxSteering="0.0" wheelDiameter="0.6" trackWidth="1.8" positionX="0.0" positionZ="0.3"/> </Axles> <Properties> <Property name="type" value="ego_vehicle"/> </Properties> </Vehicle> </ScenarioObject> <ScenarioObject name="adversary"> <Vehicle name="vehicle.lincoln.mkz_2017" vehicleCategory="car"> <ParameterDeclarations/> <Performance maxSpeed="69.444" maxAcceleration="200" maxDeceleration="10.0"/> <BoundingBox> <Center x="1.5" y="0.0" z="0.9"/> <Dimensions width="2.1" length="4.5" height="1.8"/> </BoundingBox> <Axles> <FrontAxle maxSteering="0.5" wheelDiameter="0.6" trackWidth="1.8" positionX="3.1" positionZ="0.3"/> <RearAxle maxSteering="0.0" wheelDiameter="0.6" trackWidth="1.8" positionX="0.0" positionZ="0.3"/> </Axles> <Properties> <Property name="type" value="simulation"/> </Properties> </Vehicle> </ScenarioObject> <ScenarioObject name="standing"> <Vehicle name="vehicle.volkswagen.t2" vehicleCategory="car"> <ParameterDeclarations/> <Performance maxSpeed="69.444" maxAcceleration="200" maxDeceleration="10.0"/> <BoundingBox> <Center x="1.5" y="0.0" z="0.9"/> <Dimensions width="2.1" length="4.5" height="1.8"/> </BoundingBox> <Axles> <FrontAxle maxSteering="0.5" wheelDiameter="0.6" trackWidth="1.8" positionX="3.1" positionZ="0.3"/> <RearAxle maxSteering="0.0" wheelDiameter="0.6" trackWidth="1.8" positionX="0.0" positionZ="0.3"/> </Axles> <Properties> <Property name="type" value="simulation"/> </Properties> </Vehicle> </ScenarioObject> <ScenarioObject name="pedestrian_close_to_hero_9303"> <Pedestrian model="walker.pedestrian.0001" mass="80" name="walker.pedestrian.0001" pedestrianCategory="pedestrian"> <ParameterDeclarations/> <BoundingBox> <Center x="1.5" y="0.0" z="0.9"/> <Dimensions width="2" length="2" height="2"/> </BoundingBox> <Properties> <Property name="type" value="simulation"/> </Properties> </Pedestrian> </ScenarioObject> <ScenarioObject name="pedestrian_close_to_hero_9304"> <Pedestrian model="walker.pedestrian.0001" mass="80" name="walker.pedestrian.0001" pedestrianCategory="pedestrian"> <ParameterDeclarations/> <BoundingBox> <Center x="1.5" y="0.0" z="0.9"/> <Dimensions width="2" length="2" height="2"/> </BoundingBox> <Properties> <Property name="type" value="simulation"/> </Properties> </Pedestrian> </ScenarioObject> <ScenarioObject name="pedestrian_w_transform_9305"> <Pedestrian model="walker.pedestrian.0001" mass="80" name="walker.pedestrian.0001" pedestrianCategory="pedestrian"> <ParameterDeclarations/> <BoundingBox> <Center x="1.5" y="0.0" z="0.9"/> <Dimensions width="2" length="2" height="2"/> </BoundingBox> <Properties> <Property name="type" value="simulation"/> </Properties> </Pedestrian> </ScenarioObject> <ScenarioObject name="pedestrian_close_to_adversary_9306"> <Pedestrian model="walker.pedestrian.0001" mass="80" name="walker.pedestrian.0001" pedestrianCategory="pedestrian"> <ParameterDeclarations/> <BoundingBox> <Center x="1.5" y="0.0" z="0.9"/> <Dimensions width="2" length="2" height="2"/> </BoundingBox> <Properties> <Property name="type" value="simulation"/> </Properties> </Pedestrian> </ScenarioObject> <ScenarioObject name="pedestrian_close_to_adversary_9307"> <Pedestrian model="walker.pedestrian.0001" mass="80" name="walker.pedestrian.0001" pedestrianCategory="pedestrian"> <ParameterDeclarations/> <BoundingBox> <Center x="1.5" y="0.0" z="0.9"/> <Dimensions width="2" length="2" height="2"/> </BoundingBox> <Properties> <Property name="type" value="simulation"/> </Properties> </Pedestrian> </ScenarioObject> <ScenarioObject name="pedestrian_close_to_standing_9310"> <Pedestrian model="walker.pedestrian.0001" mass="80" name="walker.pedestrian.0001" pedestrianCategory="pedestrian"> <ParameterDeclarations/> <BoundingBox> <Center x="1.5" y="0.0" z="0.9"/> <Dimensions width="2" length="2" height="2"/> </BoundingBox> <Properties> <Property name="type" value="simulation"/> </Properties> </Pedestrian> </ScenarioObject> <ScenarioObject name="pedestrian_close_to_hero_9311"> <Pedestrian model="walker.pedestrian.0001" mass="80" name="walker.pedestrian.0001" pedestrianCategory="pedestrian"> <ParameterDeclarations/> <BoundingBox> <Center x="1.5" y="0.0" z="0.9"/> <Dimensions width="2" length="2" height="2"/> </BoundingBox> <Properties> <Property name="type" value="simulation"/> </Properties> </Pedestrian> </ScenarioObject> <ScenarioObject name="pedestrian_w_transform_9312"> <Pedestrian model="walker.pedestrian.0001" mass="80" name="walker.pedestrian.0001" pedestrianCategory="pedestrian"> <ParameterDeclarations/> <BoundingBox> <Center x="1.5" y="0.0" z="0.9"/> <Dimensions width="2" length="2" height="2"/> </BoundingBox> <Properties> <Property name="type" value="simulation"/> </Properties> </Pedestrian> </ScenarioObject> <ScenarioObject name="pedestrian_close_to_hero_9313"> <Pedestrian model="walker.pedestrian.0001" mass="80" name="walker.pedestrian.0001" pedestrianCategory="pedestrian"> <ParameterDeclarations/> <BoundingBox> <Center x="1.5" y="0.0" z="0.9"/> <Dimensions width="2" length="2" height="2"/> </BoundingBox> <Properties> <Property name="type" value="simulation"/> </Properties> </Pedestrian> </ScenarioObject> <ScenarioObject name="pedestrian_close_to_adversary_9314"> <Pedestrian model="walker.pedestrian.0001" mass="80" name="walker.pedestrian.0001" pedestrianCategory="pedestrian"> <ParameterDeclarations/> <BoundingBox> <Center x="1.5" y="0.0" z="0.9"/> <Dimensions width="2" length="2" height="2"/> </BoundingBox> <Properties> <Property name="type" value="simulation"/> </Properties> </Pedestrian> </ScenarioObject> <ScenarioObject name="pedestrian_w_transform_9315"> <Pedestrian model="walker.pedestrian.0001" mass="80" name="walker.pedestrian.0001" pedestrianCategory="pedestrian"> <ParameterDeclarations/> <BoundingBox> <Center x="1.5" y="0.0" z="0.9"/> <Dimensions width="2" length="2" height="2"/> </BoundingBox> <Properties> <Property name="type" value="simulation"/> </Properties> </Pedestrian> </ScenarioObject> <ScenarioObject name="pedestrian_w_transform_9316"> <Pedestrian model="walker.pedestrian.0001" mass="80" name="walker.pedestrian.0001" pedestrianCategory="pedestrian"> <ParameterDeclarations/> <BoundingBox> <Center x="1.5" y="0.0" z="0.9"/> <Dimensions width="2" length="2" height="2"/> </BoundingBox> <Properties> <Property name="type" value="simulation"/> </Properties> </Pedestrian> </ScenarioObject> </Entities> <Storyboard> <Init> <Actions> <GlobalAction> <EnvironmentAction> <Environment name="Environment1"> <TimeOfDay animation="false" dateTime="2019-06-25T12:00:00"/> <Weather cloudState="free"> <Sun intensity="0.85" azimuth="0" elevation="1.31"/> <Fog visualRange="100000.0"/> <Precipitation precipitationType="dry" intensity="0.0"/> </Weather> <RoadCondition frictionScaleFactor="1.0"/> </Environment> </EnvironmentAction> </GlobalAction> <Private entityRef="hero"> <PrivateAction> <TeleportAction> <Position> <WorldPosition x="-9.4" y="-152.8" z="0.5" h="1.57079632679"/> </Position> </TeleportAction> </PrivateAction> <PrivateAction> <ControllerAction> <AssignControllerAction> <Controller name="HeroAgent"> <Properties> <Property name="module" value="external_control"/> </Properties> </Controller> </AssignControllerAction> <OverrideControllerValueAction> <Throttle value="0" active="false"/> <Brake value="0" active="false"/> <Clutch value="0" active="false"/> <ParkingBrake value="0" active="false"/> <SteeringWheel value="0" active="false"/> <Gear number="0" active="false"/> </OverrideControllerValueAction> </ControllerAction> </PrivateAction> </Private> <Private entityRef="adversary"> <PrivateAction> <TeleportAction> <Position> <WorldPosition x="-9.4" y="-71.0" z="0.5" h="1.57079632679"/> </Position> </TeleportAction> </PrivateAction> </Private> <Private entityRef="standing"> <PrivateAction> <TeleportAction> <Position> <WorldPosition x="-8.2" y="29.2" z="0.5" h="1.57079632679"/> </Position> </TeleportAction> </PrivateAction> </Private> <Private entityRef="pedestrian_close_to_hero_9303"> <PrivateAction> <TeleportAction> <Position> <WorldPosition x="-13.655760765075684" y="-148.5970916748047" z="0.0014286803780123591"/> </Position> </TeleportAction> </PrivateAction> </Private> <Private entityRef="pedestrian_close_to_hero_9304"> <PrivateAction> <TeleportAction> <Position> <WorldPosition x="-11.301944732666016" y="-160.7686309814453" z="0.0014286803780123591"/> </Position> </TeleportAction> </PrivateAction> </Private> <Private entityRef="pedestrian_w_transform_9305"> <PrivateAction> <TeleportAction> <Position> <WorldPosition x="31.556333541870117" y="65.00142669677734" z="0.5"/> </Position> </TeleportAction> </PrivateAction> </Private> <Private entityRef="pedestrian_close_to_adversary_9306"> <PrivateAction> <TeleportAction> <Position> <WorldPosition x="-12.707935333251953" y="-71.54801177978516" z="0.033794935792684555"/> </Position> </TeleportAction> </PrivateAction> </Private> <Private entityRef="pedestrian_close_to_adversary_9307"> <PrivateAction> <TeleportAction> <Position> <WorldPosition x="-5.580847263336182" y="-64.82557678222656" z="0.0337974913418293"/> </Position> </TeleportAction> </PrivateAction> </Private> <Private entityRef="pedestrian_close_to_standing_9310"> <PrivateAction> <TeleportAction> <Position> <WorldPosition x="0.3982805907726288" y="34.22350311279297" z="0.0030870437622070312"/> </Position> </TeleportAction> </PrivateAction> </Private> <Private entityRef="pedestrian_close_to_hero_9311"> <PrivateAction> <TeleportAction> <Position> <WorldPosition x="-6.261291027069092" y="-146.80909729003906" z="0.0014286803780123591"/> </Position> </TeleportAction> </PrivateAction> </Private> <Private entityRef="pedestrian_w_transform_9312"> <PrivateAction> <TeleportAction> <Position> <WorldPosition x="-12.831305503845215" y="-99.38774871826172" z="0.5"/> </Position> </TeleportAction> </PrivateAction> </Private> <Private entityRef="pedestrian_close_to_hero_9313"> <PrivateAction> <TeleportAction> <Position> <WorldPosition x="-13.010954856872559" y="-161.80987548828125" z="0.0014286803780123591"/> </Position> </TeleportAction> </PrivateAction> </Private> <Private entityRef="pedestrian_close_to_adversary_9314"> <PrivateAction> <TeleportAction> <Position> <WorldPosition x="-17.013080596923828" y="-79.10795593261719" z="0.033822059631347656"/> </Position> </TeleportAction> </PrivateAction> </Private> <Private entityRef="pedestrian_w_transform_9315"> <PrivateAction> <TeleportAction> <Position> <WorldPosition x="-39.7172966003418" y="14.807897567749023" z="0.5"/> </Position> </TeleportAction> </PrivateAction> </Private> <Private entityRef="pedestrian_w_transform_9316"> <PrivateAction> <TeleportAction> <Position> <WorldPosition x="-63.441524505615234" y="-0.08541785180568695" z="0.5"/> </Position> </TeleportAction> </PrivateAction> </Private> </Actions> </Init> <Story name="MyStory"> <Act name="Behavior"> <ManeuverGroup maximumExecutionCount="1" name="ManeuverSequence"> <Actors selectTriggeringEntities="false"> <EntityRef entityRef="adversary"/> </Actors> <Maneuver name="LaneChangeSimpleManeuver"> <Event name="AdversaryAccelerates" priority="overwrite"> <Action name="AdversaryAccelerates"> <PrivateAction> <LongitudinalAction> <SpeedAction> <SpeedActionDynamics dynamicsShape="step" value="50" dynamicsDimension="distance"/> <SpeedActionTarget> <AbsoluteTargetSpeed value="5.0"/> </SpeedActionTarget> </SpeedAction> </LongitudinalAction> </PrivateAction> </Action> <StartTrigger> <ConditionGroup> <Condition name="StartCondition" delay="0" conditionEdge="rising"> <ByEntityCondition> <TriggeringEntities triggeringEntitiesRule="any"> <EntityRef entityRef="hero"/> </TriggeringEntities> <EntityCondition> <RelativeDistanceCondition entityRef="adversary" relativeDistanceType="cartesianDistance" value="40.0" freespace="false" rule="lessThan"/> </EntityCondition> </ByEntityCondition> </Condition> </ConditionGroup> </StartTrigger> </Event> <Event name="AdversaryChangesLane" priority="overwrite"> <Action name="AdversaryChangesLane"> <PrivateAction> <LateralAction> <LaneChangeAction> <LaneChangeActionDynamics dynamicsShape="linear" value="25" dynamicsDimension="distance"/> <LaneChangeTarget> <RelativeTargetLane entityRef="adversary" value="-1"/> </LaneChangeTarget> </LaneChangeAction> </LateralAction> </PrivateAction> </Action> <StartTrigger> <ConditionGroup> <Condition name="AfterAdversaryAccelerates" delay="0" conditionEdge="rising"> <ByValueCondition> <StoryboardElementStateCondition storyboardElementType="action" storyboardElementRef="AdversaryAccelerates" state="completeState"/> </ByValueCondition> </Condition> </ConditionGroup> </StartTrigger> </Event> </Maneuver> </ManeuverGroup> <StartTrigger> <ConditionGroup> <Condition name="OverallStartCondition" delay="0" conditionEdge="rising"> <ByEntityCondition> <TriggeringEntities triggeringEntitiesRule="any"> <EntityRef entityRef="hero"/> </TriggeringEntities> <EntityCondition> <TraveledDistanceCondition value="1.0"/> </EntityCondition> </ByEntityCondition> </Condition> <Condition name="StartTime" delay="0" conditionEdge="rising"> <ByValueCondition> <SimulationTimeCondition value="0" rule="equalTo"/> </ByValueCondition> </Condition> </ConditionGroup> </StartTrigger> <StopTrigger> <ConditionGroup> <Condition name="EndCondition" delay="0" conditionEdge="rising"> <ByEntityCondition> <TriggeringEntities triggeringEntitiesRule="any"> <EntityRef entityRef="hero"/> </TriggeringEntities> <EntityCondition> <TraveledDistanceCondition value="200.0"/> </EntityCondition> </ByEntityCondition> </Condition> </ConditionGroup> </StopTrigger> </Act> </Story> <StopTrigger> <ConditionGroup> <Condition name="criteria_RunningStopTest" delay="0" conditionEdge="rising"> <ByValueCondition> <ParameterCondition parameterRef="" value="" rule="lessThan"/> </ByValueCondition> </Condition> <Condition name="criteria_RunningRedLightTest" delay="0" conditionEdge="rising"> <ByValueCondition> <ParameterCondition parameterRef="" value="" rule="lessThan"/> </ByValueCondition> </Condition> <Condition name="criteria_WrongLaneTest" delay="0" conditionEdge="rising"> <ByValueCondition> <ParameterCondition parameterRef="" value="" rule="lessThan"/> </ByValueCondition> </Condition> <Condition name="criteria_OnSidewalkTest" delay="0" conditionEdge="rising"> <ByValueCondition> <ParameterCondition parameterRef="" value="" rule="lessThan"/> </ByValueCondition> </Condition> <Condition name="criteria_KeepLaneTest" delay="0" conditionEdge="rising"> <ByValueCondition> <ParameterCondition parameterRef="" value="" rule="lessThan"/> </ByValueCondition> </Condition> <Condition name="criteria_CollisionTest" delay="0" conditionEdge="rising"> <ByValueCondition> <ParameterCondition parameterRef="" value="" rule="lessThan"/> </ByValueCondition> </Condition> <Condition name="criteria_DrivenDistanceTest" delay="0" conditionEdge="rising"> <ByValueCondition> <ParameterCondition parameterRef="distance_success" value="100" rule="lessThan"/> </ByValueCondition> </Condition> </ConditionGroup> </StopTrigger> </Storyboard> </OpenSCENARIO> ```
Here is the result: ``` <?xml version="1.0" ?> <OpenSCENARIO> <FileHeader revMajor="1" revMinor="0" date="2020-03-24T12:00:00" description="CARLA:LaneChangeSimple" author=""/> <ParameterDeclarations/> <CatalogLocations/> <RoadNetwork> <LogicFile filepath="Town04"/> <SceneGraphFile filepath=""/> </RoadNetwork> <Entities> <ScenarioObject name="hero"> <Vehicle name="vehicle.tesla.model3" vehicleCategory="car"> <ParameterDeclarations/> <Performance maxSpeed="69.444" maxAcceleration="200" maxDeceleration="10.0"/> <BoundingBox> <Center x="1.5" y="0.0" z="0.9"/> <Dimensions width="2.1" length="4.5" height="1.8"/> </BoundingBox> <Axles> <FrontAxle maxSteering="0.5" wheelDiameter="0.6" trackWidth="1.8" positionX="3.1" positionZ="0.3"/> <RearAxle maxSteering="0.0" wheelDiameter="0.6" trackWidth="1.8" positionX="0.0" positionZ="0.3"/> </Axles> <Properties> <Property name="type" value="ego_vehicle"/> </Properties> </Vehicle> </ScenarioObject> <ScenarioObject name="adversary"> <Vehicle name="vehicle.lincoln.mkz_2017" vehicleCategory="car"> <ParameterDeclarations/> <Performance maxSpeed="69.444" maxAcceleration="200" maxDeceleration="10.0"/> <BoundingBox> <Center x="1.5" y="0.0" z="0.9"/> <Dimensions width="2.1" length="4.5" height="1.8"/> </BoundingBox> <Axles> <FrontAxle maxSteering="0.5" wheelDiameter="0.6" trackWidth="1.8" positionX="3.1" positionZ="0.3"/> <RearAxle maxSteering="0.0" wheelDiameter="0.6" trackWidth="1.8" positionX="0.0" positionZ="0.3"/> </Axles> <Properties> <Property name="type" value="simulation"/> </Properties> </Vehicle> </ScenarioObject> <ScenarioObject name="standing"> <Vehicle name="vehicle.volkswagen.t2" vehicleCategory="car"> <ParameterDeclarations/> <Performance maxSpeed="69.444" maxAcceleration="200" maxDeceleration="10.0"/> <BoundingBox> <Center x="1.5" y="0.0" z="0.9"/> <Dimensions width="2.1" length="4.5" height="1.8"/> </BoundingBox> <Axles> <FrontAxle maxSteering="0.5" wheelDiameter="0.6" trackWidth="1.8" positionX="3.1" positionZ="0.3"/> <RearAxle maxSteering="0.0" wheelDiameter="0.6" trackWidth="1.8" positionX="0.0" positionZ="0.3"/> </Axles> <Properties> <Property name="type" value="simulation"/> </Properties> </Vehicle> </ScenarioObject> <ScenarioObject name="pedestrian_close_to_hero_9303"> <Pedestrian model="walker.pedestrian.0001" mass="80" name="walker.pedestrian.0001" pedestrianCategory="pedestrian"> <ParameterDeclarations/> <BoundingBox> <Center x="1.5" y="0.0" z="0.9"/> <Dimensions width="2" length="2" height="2"/> </BoundingBox> <Properties> <Property name="type" value="simulation"/> </Properties> </Pedestrian> </ScenarioObject> <ScenarioObject name="pedestrian_close_to_hero_9304"> <Pedestrian model="walker.pedestrian.0001" mass="80" name="walker.pedestrian.0001" pedestrianCategory="pedestrian"> <ParameterDeclarations/> <BoundingBox> <Center x="1.5" y="0.0" z="0.9"/> <Dimensions width="2" length="2" height="2"/> </BoundingBox> <Properties> <Property name="type" value="simulation"/> </Properties> </Pedestrian> </ScenarioObject> <ScenarioObject name="pedestrian_w_transform_9305"> <Pedestrian model="walker.pedestrian.0001" mass="80" name="walker.pedestrian.0001" pedestrianCategory="pedestrian"> <ParameterDeclarations/> <BoundingBox> <Center x="1.5" y="0.0" z="0.9"/> <Dimensions width="2" length="2" height="2"/> </BoundingBox> <Properties> <Property name="type" value="simulation"/> </Properties> </Pedestrian> </ScenarioObject> <ScenarioObject name="pedestrian_close_to_adversary_9306"> <Pedestrian model="walker.pedestrian.0001" mass="80" name="walker.pedestrian.0001" pedestrianCategory="pedestrian"> <ParameterDeclarations/> <BoundingBox> <Center x="1.5" y="0.0" z="0.9"/> <Dimensions width="2" length="2" height="2"/> </BoundingBox> <Properties> <Property name="type" value="simulation"/> </Properties> </Pedestrian> </ScenarioObject> <ScenarioObject name="pedestrian_close_to_adversary_9307"> <Pedestrian model="walker.pedestrian.0001" mass="80" name="walker.pedestrian.0001" pedestrianCategory="pedestrian"> <ParameterDeclarations/> <BoundingBox> <Center x="1.5" y="0.0" z="0.9"/> <Dimensions width="2" length="2" height="2"/> </BoundingBox> <Properties> <Property name="type" value="simulation"/> </Properties> </Pedestrian> </ScenarioObject> <ScenarioObject name="pedestrian_close_to_standing_9310"> <Pedestrian model="walker.pedestrian.0001" mass="80" name="walker.pedestrian.0001" pedestrianCategory="pedestrian"> <ParameterDeclarations/> <BoundingBox> <Center x="1.5" y="0.0" z="0.9"/> <Dimensions width="2" length="2" height="2"/> </BoundingBox> <Properties> <Property name="type" value="simulation"/> </Properties> </Pedestrian> </ScenarioObject> <ScenarioObject name="pedestrian_w_transform_9312"> <Pedestrian model="walker.pedestrian.0001" mass="80" name="walker.pedestrian.0001" pedestrianCategory="pedestrian"> <ParameterDeclarations/> <BoundingBox> <Center x="1.5" y="0.0" z="0.9"/> <Dimensions width="2" length="2" height="2"/> </BoundingBox> <Properties> <Property name="type" value="simulation"/> </Properties> </Pedestrian> </ScenarioObject> <ScenarioObject name="pedestrian_close_to_hero_9313"> <Pedestrian model="walker.pedestrian.0001" mass="80" name="walker.pedestrian.0001" pedestrianCategory="pedestrian"> <ParameterDeclarations/> <BoundingBox> <Center x="1.5" y="0.0" z="0.9"/> <Dimensions width="2" length="2" height="2"/> </BoundingBox> <Properties> <Property name="type" value="simulation"/> </Properties> </Pedestrian> </ScenarioObject> <ScenarioObject name="pedestrian_close_to_adversary_9314"> <Pedestrian model="walker.pedestrian.0001" mass="80" name="walker.pedestrian.0001" pedestrianCategory="pedestrian"> <ParameterDeclarations/> <BoundingBox> <Center x="1.5" y="0.0" z="0.9"/> <Dimensions width="2" length="2" height="2"/> </BoundingBox> <Properties> <Property name="type" value="simulation"/> </Properties> </Pedestrian> </ScenarioObject> <ScenarioObject name="pedestrian_w_transform_9315"> <Pedestrian model="walker.pedestrian.0001" mass="80" name="walker.pedestrian.0001" pedestrianCategory="pedestrian"> <ParameterDeclarations/> <BoundingBox> <Center x="1.5" y="0.0" z="0.9"/> <Dimensions width="2" length="2" height="2"/> </BoundingBox> <Properties> <Property name="type" value="simulation"/> </Properties> </Pedestrian> </ScenarioObject> <ScenarioObject name="pedestrian_w_transform_9316"> <Pedestrian model="walker.pedestrian.0001" mass="80" name="walker.pedestrian.0001" pedestrianCategory="pedestrian"> <ParameterDeclarations/> <BoundingBox> <Center x="1.5" y="0.0" z="0.9"/> <Dimensions width="2" length="2" height="2"/> </BoundingBox> <Properties> <Property name="type" value="simulation"/> </Properties> </Pedestrian> </ScenarioObject> </Entities> <Storyboard> <Init> <Actions> <GlobalAction> <EnvironmentAction> <Environment name="Environment1"> <TimeOfDay animation="false" dateTime="2019-06-25T12:00:00"/> <Weather cloudState="free"> <Sun intensity="0.85" azimuth="0" elevation="1.31"/> <Fog visualRange="100000.0"/> <Precipitation precipitationType="dry" intensity="0.0"/> </Weather> <RoadCondition frictionScaleFactor="1.0"/> </Environment> </EnvironmentAction> </GlobalAction> <Private entityRef="hero"> <PrivateAction> <TeleportAction> <Position> <WorldPosition x="-9.4" y="-152.8" z="0.5" h="1.57079632679"/> </Position> </TeleportAction> </PrivateAction> <PrivateAction> <ControllerAction> <AssignControllerAction> <Controller name="HeroAgent"> <Properties> <Property name="module" value="external_control"/> </Properties> </Controller> </AssignControllerAction> <OverrideControllerValueAction> <Throttle value="0" active="false"/> <Brake value="0" active="false"/> <Clutch value="0" active="false"/> <ParkingBrake value="0" active="false"/> <SteeringWheel value="0" active="false"/> <Gear number="0" active="false"/> </OverrideControllerValueAction> </ControllerAction> </PrivateAction> </Private> <Private entityRef="adversary"> <PrivateAction> <TeleportAction> <Position> <WorldPosition x="-9.4" y="-71.0" z="0.5" h="1.57079632679"/> </Position> </TeleportAction> </PrivateAction> </Private> <Private entityRef="standing"> <PrivateAction> <TeleportAction> <Position> <WorldPosition x="-8.2" y="29.2" z="0.5" h="1.57079632679"/> </Position> </TeleportAction> </PrivateAction> </Private> <Private entityRef="pedestrian_close_to_hero_9303"> <PrivateAction> <TeleportAction> <Position> <WorldPosition x="-13.655760765075684" y="-148.5970916748047" z="0.0014286803780123591"/> </Position> </TeleportAction> </PrivateAction> </Private> <Private entityRef="pedestrian_close_to_hero_9304"> <PrivateAction> <TeleportAction> <Position> <WorldPosition x="-11.301944732666016" y="-160.7686309814453" z="0.0014286803780123591"/> </Position> </TeleportAction> </PrivateAction> </Private> <Private entityRef="pedestrian_w_transform_9305"> <PrivateAction> <TeleportAction> <Position> <WorldPosition x="31.556333541870117" y="65.00142669677734" z="0.5"/> </Position> </TeleportAction> </PrivateAction> </Private> <Private entityRef="pedestrian_close_to_adversary_9306"> <PrivateAction> <TeleportAction> <Position> <WorldPosition x="-12.707935333251953" y="-71.54801177978516" z="0.033794935792684555"/> </Position> </TeleportAction> </PrivateAction> </Private> <Private entityRef="pedestrian_close_to_adversary_9307"> <PrivateAction> <TeleportAction> <Position> <WorldPosition x="-5.580847263336182" y="-64.82557678222656" z="0.0337974913418293"/> </Position> </TeleportAction> </PrivateAction> </Private> <Private entityRef="pedestrian_close_to_standing_9310"> <PrivateAction> <TeleportAction> <Position> <WorldPosition x="0.3982805907726288" y="34.22350311279297" z="0.0030870437622070312"/> </Position> </TeleportAction> </PrivateAction> </Private> <Private entityRef="pedestrian_w_transform_9312"> <PrivateAction> <TeleportAction> <Position> <WorldPosition x="-12.831305503845215" y="-99.38774871826172" z="0.5"/> </Position> </TeleportAction> </PrivateAction> </Private> <Private entityRef="pedestrian_close_to_hero_9313"> <PrivateAction> <TeleportAction> <Position> <WorldPosition x="-13.010954856872559" y="-161.80987548828125" z="0.0014286803780123591"/> </Position> </TeleportAction> </PrivateAction> </Private> <Private entityRef="pedestrian_close_to_adversary_9314"> <PrivateAction> <TeleportAction> <Position> <WorldPosition x="-17.013080596923828" y="-79.10795593261719" z="0.033822059631347656"/> </Position> </TeleportAction> </PrivateAction> </Private> <Private entityRef="pedestrian_w_transform_9315"> <PrivateAction> <TeleportAction> <Position> <WorldPosition x="-39.7172966003418" y="14.807897567749023" z="0.5"/> </Position> </TeleportAction> </PrivateAction> </Private> <Private entityRef="pedestrian_w_transform_9316"> <PrivateAction> <TeleportAction> <Position> <WorldPosition x="-63.441524505615234" y="-0.08541785180568695" z="0.5"/> </Position> </TeleportAction> </PrivateAction> </Private> </Actions> </Init> <Story name="MyStory"> <Act name="Behavior"> <ManeuverGroup maximumExecutionCount="1" name="ManeuverSequence"> <Actors selectTriggeringEntities="false"> <EntityRef entityRef="adversary"/> </Actors> <Maneuver name="LaneChangeSimpleManeuver"> <Event name="AdversaryAccelerates" priority="overwrite"> <Action name="AdversaryAccelerates"> <PrivateAction> <LongitudinalAction> <SpeedAction> <SpeedActionDynamics dynamicsShape="step" value="50" dynamicsDimension="distance"/> <SpeedActionTarget> <AbsoluteTargetSpeed value="5.0"/> </SpeedActionTarget> </SpeedAction> </LongitudinalAction> </PrivateAction> </Action> <StartTrigger> <ConditionGroup> <Condition name="StartCondition" delay="0" conditionEdge="rising"> <ByEntityCondition> <TriggeringEntities triggeringEntitiesRule="any"> <EntityRef entityRef="hero"/> </TriggeringEntities> <EntityCondition> <RelativeDistanceCondition entityRef="adversary" relativeDistanceType="cartesianDistance" value="40.0" freespace="false" rule="lessThan"/> </EntityCondition> </ByEntityCondition> </Condition> </ConditionGroup> </StartTrigger> </Event> <Event name="AdversaryChangesLane" priority="overwrite"> <Action name="AdversaryChangesLane"> <PrivateAction> <LateralAction> <LaneChangeAction> <LaneChangeActionDynamics dynamicsShape="linear" value="25" dynamicsDimension="distance"/> <LaneChangeTarget> <RelativeTargetLane entityRef="adversary" value="-1"/> </LaneChangeTarget> </LaneChangeAction> </LateralAction> </PrivateAction> </Action> <StartTrigger> <ConditionGroup> <Condition name="AfterAdversaryAccelerates" delay="0" conditionEdge="rising"> <ByValueCondition> <StoryboardElementStateCondition storyboardElementType="action" storyboardElementRef="AdversaryAccelerates" state="completeState"/> </ByValueCondition> </Condition> </ConditionGroup> </StartTrigger> </Event> </Maneuver> </ManeuverGroup> <StartTrigger> <ConditionGroup> <Condition name="OverallStartCondition" delay="0" conditionEdge="rising"> <ByEntityCondition> <TriggeringEntities triggeringEntitiesRule="any"> <EntityRef entityRef="hero"/> </TriggeringEntities> <EntityCondition> <TraveledDistanceCondition value="1.0"/> </EntityCondition> </ByEntityCondition> </Condition> <Condition name="StartTime" delay="0" conditionEdge="rising"> <ByValueCondition> <SimulationTimeCondition value="0" rule="equalTo"/> </ByValueCondition> </Condition> </ConditionGroup> </StartTrigger> <StopTrigger> <ConditionGroup> <Condition name="EndCondition" delay="0" conditionEdge="rising"> <ByEntityCondition> <TriggeringEntities triggeringEntitiesRule="any"> <EntityRef entityRef="hero"/> </TriggeringEntities> <EntityCondition> <TraveledDistanceCondition value="200.0"/> </EntityCondition> </ByEntityCondition> </Condition> </ConditionGroup> </StopTrigger> </Act> </Story> <StopTrigger> <ConditionGroup> <Condition name="criteria_RunningStopTest" delay="0" conditionEdge="rising"> <ByValueCondition> <ParameterCondition parameterRef="" value="" rule="lessThan"/> </ByValueCondition> </Condition> <Condition name="criteria_RunningRedLightTest" delay="0" conditionEdge="rising"> <ByValueCondition> <ParameterCondition parameterRef="" value="" rule="lessThan"/> </ByValueCondition> </Condition> <Condition name="criteria_WrongLaneTest" delay="0" conditionEdge="rising"> <ByValueCondition> <ParameterCondition parameterRef="" value="" rule="lessThan"/> </ByValueCondition> </Condition> <Condition name="criteria_OnSidewalkTest" delay="0" conditionEdge="rising"> <ByValueCondition> <ParameterCondition parameterRef="" value="" rule="lessThan"/> </ByValueCondition> </Condition> <Condition name="criteria_KeepLaneTest" delay="0" conditionEdge="rising"> <ByValueCondition> <ParameterCondition parameterRef="" value="" rule="lessThan"/> </ByValueCondition> </Condition> <Condition name="criteria_CollisionTest" delay="0" conditionEdge="rising"> <ByValueCondition> <ParameterCondition parameterRef="" value="" rule="lessThan"/> </ByValueCondition> </Condition> <Condition name="criteria_DrivenDistanceTest" delay="0" conditionEdge="rising"> <ByValueCondition> <ParameterCondition parameterRef="distance_success" value="100" rule="lessThan"/> </ByValueCondition> </Condition> </ConditionGroup> </StopTrigger> </Storyboard> </OpenSCENARIO> ```
i would like to tell you to add pedestrian close to standing? ``` <?xml version="1.0" ?> <OpenSCENARIO> <FileHeader revMajor="1" revMinor="0" date="2020-03-24T12:00:00" description="CARLA:LaneChangeSimple" author=""/> <ParameterDeclarations/> <CatalogLocations/> <RoadNetwork> <LogicFile filepath="Town04"/> <SceneGraphFile filepath=""/> </RoadNetwork> <Entities> <ScenarioObject name="hero"> <Vehicle name="vehicle.tesla.model3" vehicleCategory="car"> <ParameterDeclarations/> <Performance maxSpeed="69.444" maxAcceleration="200" maxDeceleration="10.0"/> <BoundingBox> <Center x="1.5" y="0.0" z="0.9"/> <Dimensions width="2.1" length="4.5" height="1.8"/> </BoundingBox> <Axles> <FrontAxle maxSteering="0.5" wheelDiameter="0.6" trackWidth="1.8" positionX="3.1" positionZ="0.3"/> <RearAxle maxSteering="0.0" wheelDiameter="0.6" trackWidth="1.8" positionX="0.0" positionZ="0.3"/> </Axles> <Properties> <Property name="type" value="ego_vehicle"/> </Properties> </Vehicle> </ScenarioObject> <ScenarioObject name="adversary"> <Vehicle name="vehicle.lincoln.mkz_2017" vehicleCategory="car"> <ParameterDeclarations/> <Performance maxSpeed="69.444" maxAcceleration="200" maxDeceleration="10.0"/> <BoundingBox> <Center x="1.5" y="0.0" z="0.9"/> <Dimensions width="2.1" length="4.5" height="1.8"/> </BoundingBox> <Axles> <FrontAxle maxSteering="0.5" wheelDiameter="0.6" trackWidth="1.8" positionX="3.1" positionZ="0.3"/> <RearAxle maxSteering="0.0" wheelDiameter="0.6" trackWidth="1.8" positionX="0.0" positionZ="0.3"/> </Axles> <Properties> <Property name="type" value="simulation"/> </Properties> </Vehicle> </ScenarioObject> <ScenarioObject name="standing"> <Vehicle name="vehicle.volkswagen.t2" vehicleCategory="car"> <ParameterDeclarations/> <Performance maxSpeed="69.444" maxAcceleration="200" maxDeceleration="10.0"/> <BoundingBox> <Center x="1.5" y="0.0" z="0.9"/> <Dimensions width="2.1" length="4.5" height="1.8"/> </BoundingBox> <Axles> <FrontAxle maxSteering="0.5" wheelDiameter="0.6" trackWidth="1.8" positionX="3.1" positionZ="0.3"/> <RearAxle maxSteering="0.0" wheelDiameter="0.6" trackWidth="1.8" positionX="0.0" positionZ="0.3"/> </Axles> <Properties> <Property name="type" value="simulation"/> </Properties> </Vehicle> </ScenarioObject> <ScenarioObject name="pedestrian_close_to_hero_17355"> <Pedestrian model="walker.pedestrian.0001" mass="80" name="walker.pedestrian.0001" pedestrianCategory="pedestrian"> <ParameterDeclarations/> <BoundingBox> <Center x="1.5" y="0.0" z="0.9"/> <Dimensions width="2" length="2" height="2"/> </BoundingBox> <Properties> <Property name="type" value="simulation"/> </Properties> </Pedestrian> </ScenarioObject> <ScenarioObject name="pedestrian_close_to_standing_17356"> <Pedestrian model="walker.pedestrian.0001" mass="80" name="walker.pedestrian.0001" pedestrianCategory="pedestrian"> <ParameterDeclarations/> <BoundingBox> <Center x="1.5" y="0.0" z="0.9"/> <Dimensions width="2" length="2" height="2"/> </BoundingBox> <Properties> <Property name="type" value="simulation"/> </Properties> </Pedestrian> </ScenarioObject> <ScenarioObject name="pedestrian_w_transform_17357"> <Pedestrian model="walker.pedestrian.0001" mass="80" name="walker.pedestrian.0001" pedestrianCategory="pedestrian"> <ParameterDeclarations/> <BoundingBox> <Center x="1.5" y="0.0" z="0.9"/> <Dimensions width="2" length="2" height="2"/> </BoundingBox> <Properties> <Property name="type" value="simulation"/> </Properties> </Pedestrian> </ScenarioObject> <ScenarioObject name="pedestrian_w_transform_17358"> <Pedestrian model="walker.pedestrian.0001" mass="80" name="walker.pedestrian.0001" pedestrianCategory="pedestrian"> <ParameterDeclarations/> <BoundingBox> <Center x="1.5" y="0.0" z="0.9"/> <Dimensions width="2" length="2" height="2"/> </BoundingBox> <Properties> <Property name="type" value="simulation"/> </Properties> </Pedestrian> </ScenarioObject> <ScenarioObject name="pedestrian_w_transform_17359"> <Pedestrian model="walker.pedestrian.0001" mass="80" name="walker.pedestrian.0001" pedestrianCategory="pedestrian"> <ParameterDeclarations/> <BoundingBox> <Center x="1.5" y="0.0" z="0.9"/> <Dimensions width="2" length="2" height="2"/> </BoundingBox> <Properties> <Property name="type" value="simulation"/> </Properties> </Pedestrian> </ScenarioObject> </Entities> <Storyboard> <Init> <Actions> <GlobalAction> <EnvironmentAction> <Environment name="Environment1"> <TimeOfDay animation="false" dateTime="2019-06-25T12:00:00"/> <Weather cloudState="free"> <Sun intensity="0.85" azimuth="0" elevation="1.31"/> <Fog visualRange="100000.0"/> <Precipitation precipitationType="dry" intensity="0.0"/> </Weather> <RoadCondition frictionScaleFactor="1.0"/> </Environment> </EnvironmentAction> </GlobalAction> <Private entityRef="hero"> <PrivateAction> <TeleportAction> <Position> <WorldPosition x="-9.4" y="-152.8" z="0.5" h="1.57079632679"/> </Position> </TeleportAction> </PrivateAction> <PrivateAction> <ControllerAction> <AssignControllerAction> <Controller name="HeroAgent"> <Properties> <Property name="module" value="external_control"/> </Properties> </Controller> </AssignControllerAction> <OverrideControllerValueAction> <Throttle value="0" active="false"/> <Brake value="0" active="false"/> <Clutch value="0" active="false"/> <ParkingBrake value="0" active="false"/> <SteeringWheel value="0" active="false"/> <Gear number="0" active="false"/> </OverrideControllerValueAction> </ControllerAction> </PrivateAction> </Private> <Private entityRef="adversary"> <PrivateAction> <TeleportAction> <Position> <WorldPosition x="-9.4" y="-71.0" z="0.5" h="1.57079632679"/> </Position> </TeleportAction> </PrivateAction> </Private> <Private entityRef="standing"> <PrivateAction> <TeleportAction> <Position> <WorldPosition x="-8.2" y="29.2" z="0.5" h="1.57079632679"/> </Position> </TeleportAction> </PrivateAction> </Private> <Private entityRef="pedestrian_close_to_hero_17355"> <PrivateAction> <TeleportAction> <Position> <WorldPosition x="-17.779903411865234" y="-161.78855895996094" z="0.0014286803780123591"/> </Position> </TeleportAction> </PrivateAction> </Private> <Private entityRef="pedestrian_close_to_standing_17356"> <PrivateAction> <TeleportAction> <Position> <WorldPosition x="-16.857852935791016" y="31.478464126586914" z="0.0030574798583984375"/> </Position> </TeleportAction> </PrivateAction> </Private> <Private entityRef="pedestrian_w_transform_17357"> <PrivateAction> <TeleportAction> <Position> <WorldPosition x="-97.77778625488281" y="-53.4239501953125" z="0.5"/> </Position> </TeleportAction> </PrivateAction> </Private> <Private entityRef="pedestrian_w_transform_17358"> <PrivateAction> <TeleportAction> <Position> <WorldPosition x="-7.857059955596924" y="70.82406616210938" z="0.5"/> </Position> </TeleportAction> </PrivateAction> </Private> <Private entityRef="pedestrian_w_transform_17359"> <PrivateAction> <TeleportAction> <Position> <WorldPosition x="5.922111511230469" y="15.240533828735352" z="0.5"/> </Position> </TeleportAction> </PrivateAction> </Private> </Actions> </Init> <Story name="MyStory"> <Act name="Behavior"> <ManeuverGroup maximumExecutionCount="1" name="ManeuverSequence"> <Actors selectTriggeringEntities="false"> <EntityRef entityRef="adversary"/> </Actors> <Maneuver name="LaneChangeSimpleManeuver"> <Event name="AdversaryAccelerates" priority="overwrite"> <Action name="AdversaryAccelerates"> <PrivateAction> <LongitudinalAction> <SpeedAction> <SpeedActionDynamics dynamicsShape="step" value="50" dynamicsDimension="distance"/> <SpeedActionTarget> <AbsoluteTargetSpeed value="5.0"/> </SpeedActionTarget> </SpeedAction> </LongitudinalAction> </PrivateAction> </Action> <StartTrigger> <ConditionGroup> <Condition name="StartCondition" delay="0" conditionEdge="rising"> <ByEntityCondition> <TriggeringEntities triggeringEntitiesRule="any"> <EntityRef entityRef="hero"/> </TriggeringEntities> <EntityCondition> <RelativeDistanceCondition entityRef="adversary" relativeDistanceType="cartesianDistance" value="40.0" freespace="false" rule="lessThan"/> </EntityCondition> </ByEntityCondition> </Condition> </ConditionGroup> </StartTrigger> </Event> <Event name="AdversaryChangesLane" priority="overwrite"> <Action name="AdversaryChangesLane"> <PrivateAction> <LateralAction> <LaneChangeAction> <LaneChangeActionDynamics dynamicsShape="linear" value="25" dynamicsDimension="distance"/> <LaneChangeTarget> <RelativeTargetLane entityRef="adversary" value="-1"/> </LaneChangeTarget> </LaneChangeAction> </LateralAction> </PrivateAction> </Action> <StartTrigger> <ConditionGroup> <Condition name="AfterAdversaryAccelerates" delay="0" conditionEdge="rising"> <ByValueCondition> <StoryboardElementStateCondition storyboardElementType="action" storyboardElementRef="AdversaryAccelerates" state="completeState"/> </ByValueCondition> </Condition> </ConditionGroup> </StartTrigger> </Event> </Maneuver> </ManeuverGroup> <StartTrigger> <ConditionGroup> <Condition name="OverallStartCondition" delay="0" conditionEdge="rising"> <ByEntityCondition> <TriggeringEntities triggeringEntitiesRule="any"> <EntityRef entityRef="hero"/> </TriggeringEntities> <EntityCondition> <TraveledDistanceCondition value="1.0"/> </EntityCondition> </ByEntityCondition> </Condition> <Condition name="StartTime" delay="0" conditionEdge="rising"> <ByValueCondition> <SimulationTimeCondition value="0" rule="equalTo"/> </ByValueCondition> </Condition> </ConditionGroup> </StartTrigger> <StopTrigger> <ConditionGroup> <Condition name="EndCondition" delay="0" conditionEdge="rising"> <ByEntityCondition> <TriggeringEntities triggeringEntitiesRule="any"> <EntityRef entityRef="hero"/> </TriggeringEntities> <EntityCondition> <TraveledDistanceCondition value="200.0"/> </EntityCondition> </ByEntityCondition> </Condition> </ConditionGroup> </StopTrigger> </Act> </Story> <StopTrigger> <ConditionGroup> <Condition name="criteria_RunningStopTest" delay="0" conditionEdge="rising"> <ByValueCondition> <ParameterCondition parameterRef="" value="" rule="lessThan"/> </ByValueCondition> </Condition> <Condition name="criteria_RunningRedLightTest" delay="0" conditionEdge="rising"> <ByValueCondition> <ParameterCondition parameterRef="" value="" rule="lessThan"/> </ByValueCondition> </Condition> <Condition name="criteria_WrongLaneTest" delay="0" conditionEdge="rising"> <ByValueCondition> <ParameterCondition parameterRef="" value="" rule="lessThan"/> </ByValueCondition> </Condition> <Condition name="criteria_OnSidewalkTest" delay="0" conditionEdge="rising"> <ByValueCondition> <ParameterCondition parameterRef="" value="" rule="lessThan"/> </ByValueCondition> </Condition> <Condition name="criteria_KeepLaneTest" delay="0" conditionEdge="rising"> <ByValueCondition> <ParameterCondition parameterRef="" value="" rule="lessThan"/> </ByValueCondition> </Condition> <Condition name="criteria_CollisionTest" delay="0" conditionEdge="rising"> <ByValueCondition> <ParameterCondition parameterRef="" value="" rule="lessThan"/> </ByValueCondition> </Condition> <Condition name="criteria_DrivenDistanceTest" delay="0" conditionEdge="rising"> <ByValueCondition> <ParameterCondition parameterRef="distance_success" value="100" rule="lessThan"/> </ByValueCondition> </Condition> </ConditionGroup> </StopTrigger> </Storyboard> </OpenSCENARIO> ```
Here is the result: ``` <?xml version="1.0" ?> <OpenSCENARIO> <FileHeader revMajor="1" revMinor="0" date="2020-03-24T12:00:00" description="CARLA:LaneChangeSimple" author=""/> <ParameterDeclarations/> <CatalogLocations/> <RoadNetwork> <LogicFile filepath="Town04"/> <SceneGraphFile filepath=""/> </RoadNetwork> <Entities> <ScenarioObject name="hero"> <Vehicle name="vehicle.tesla.model3" vehicleCategory="car"> <ParameterDeclarations/> <Performance maxSpeed="69.444" maxAcceleration="200" maxDeceleration="10.0"/> <BoundingBox> <Center x="1.5" y="0.0" z="0.9"/> <Dimensions width="2.1" length="4.5" height="1.8"/> </BoundingBox> <Axles> <FrontAxle maxSteering="0.5" wheelDiameter="0.6" trackWidth="1.8" positionX="3.1" positionZ="0.3"/> <RearAxle maxSteering="0.0" wheelDiameter="0.6" trackWidth="1.8" positionX="0.0" positionZ="0.3"/> </Axles> <Properties> <Property name="type" value="ego_vehicle"/> </Properties> </Vehicle> </ScenarioObject> <ScenarioObject name="adversary"> <Vehicle name="vehicle.lincoln.mkz_2017" vehicleCategory="car"> <ParameterDeclarations/> <Performance maxSpeed="69.444" maxAcceleration="200" maxDeceleration="10.0"/> <BoundingBox> <Center x="1.5" y="0.0" z="0.9"/> <Dimensions width="2.1" length="4.5" height="1.8"/> </BoundingBox> <Axles> <FrontAxle maxSteering="0.5" wheelDiameter="0.6" trackWidth="1.8" positionX="3.1" positionZ="0.3"/> <RearAxle maxSteering="0.0" wheelDiameter="0.6" trackWidth="1.8" positionX="0.0" positionZ="0.3"/> </Axles> <Properties> <Property name="type" value="simulation"/> </Properties> </Vehicle> </ScenarioObject> <ScenarioObject name="standing"> <Vehicle name="vehicle.volkswagen.t2" vehicleCategory="car"> <ParameterDeclarations/> <Performance maxSpeed="69.444" maxAcceleration="200" maxDeceleration="10.0"/> <BoundingBox> <Center x="1.5" y="0.0" z="0.9"/> <Dimensions width="2.1" length="4.5" height="1.8"/> </BoundingBox> <Axles> <FrontAxle maxSteering="0.5" wheelDiameter="0.6" trackWidth="1.8" positionX="3.1" positionZ="0.3"/> <RearAxle maxSteering="0.0" wheelDiameter="0.6" trackWidth="1.8" positionX="0.0" positionZ="0.3"/> </Axles> <Properties> <Property name="type" value="simulation"/> </Properties> </Vehicle> </ScenarioObject> <ScenarioObject name="pedestrian_close_to_hero_17355"> <Pedestrian model="walker.pedestrian.0001" mass="80" name="walker.pedestrian.0001" pedestrianCategory="pedestrian"> <ParameterDeclarations/> <BoundingBox> <Center x="1.5" y="0.0" z="0.9"/> <Dimensions width="2" length="2" height="2"/> </BoundingBox> <Properties> <Property name="type" value="simulation"/> </Properties> </Pedestrian> </ScenarioObject> <ScenarioObject name="pedestrian_close_to_standing_17356"> <Pedestrian model="walker.pedestrian.0001" mass="80" name="walker.pedestrian.0001" pedestrianCategory="pedestrian"> <ParameterDeclarations/> <BoundingBox> <Center x="1.5" y="0.0" z="0.9"/> <Dimensions width="2" length="2" height="2"/> </BoundingBox> <Properties> <Property name="type" value="simulation"/> </Properties> </Pedestrian> </ScenarioObject> <ScenarioObject name="pedestrian_w_transform_17357"> <Pedestrian model="walker.pedestrian.0001" mass="80" name="walker.pedestrian.0001" pedestrianCategory="pedestrian"> <ParameterDeclarations/> <BoundingBox> <Center x="1.5" y="0.0" z="0.9"/> <Dimensions width="2" length="2" height="2"/> </BoundingBox> <Properties> <Property name="type" value="simulation"/> </Properties> </Pedestrian> </ScenarioObject> <ScenarioObject name="pedestrian_w_transform_17358"> <Pedestrian model="walker.pedestrian.0001" mass="80" name="walker.pedestrian.0001" pedestrianCategory="pedestrian"> <ParameterDeclarations/> <BoundingBox> <Center x="1.5" y="0.0" z="0.9"/> <Dimensions width="2" length="2" height="2"/> </BoundingBox> <Properties> <Property name="type" value="simulation"/> </Properties> </Pedestrian> </ScenarioObject> <ScenarioObject name="pedestrian_w_transform_17359"> <Pedestrian model="walker.pedestrian.0001" mass="80" name="walker.pedestrian.0001" pedestrianCategory="pedestrian"> <ParameterDeclarations/> <BoundingBox> <Center x="1.5" y="0.0" z="0.9"/> <Dimensions width="2" length="2" height="2"/> </BoundingBox> <Properties> <Property name="type" value="simulation"/> </Properties> </Pedestrian> </ScenarioObject> <ScenarioObject name="pedestrian_close_to_standing_17360"> <Pedestrian model="walker.pedestrian.0001" mass="80" name="walker.pedestrian.0001" pedestrianCategory="pedestrian"> <ParameterDeclarations/> <BoundingBox> <Center x="1.5" y="0.0" z="0.9"/> <Dimensions width="2" length="2" height="2"/> </BoundingBox> <Properties> <Property name="type" value="simulation"/> </Properties> </Pedestrian> </ScenarioObject> </Entities> <Storyboard> <Init> <Actions> <GlobalAction> <EnvironmentAction> <Environment name="Environment1"> <TimeOfDay animation="false" dateTime="2019-06-25T12:00:00"/> <Weather cloudState="free"> <Sun intensity="0.85" azimuth="0" elevation="1.31"/> <Fog visualRange="100000.0"/> <Precipitation precipitationType="dry" intensity="0.0"/> </Weather> <RoadCondition frictionScaleFactor="1.0"/> </Environment> </EnvironmentAction> </GlobalAction> <Private entityRef="hero"> <PrivateAction> <TeleportAction> <Position> <WorldPosition x="-9.4" y="-152.8" z="0.5" h="1.57079632679"/> </Position> </TeleportAction> </PrivateAction> <PrivateAction> <ControllerAction> <AssignControllerAction> <Controller name="HeroAgent"> <Properties> <Property name="module" value="external_control"/> </Properties> </Controller> </AssignControllerAction> <OverrideControllerValueAction> <Throttle value="0" active="false"/> <Brake value="0" active="false"/> <Clutch value="0" active="false"/> <ParkingBrake value="0" active="false"/> <SteeringWheel value="0" active="false"/> <Gear number="0" active="false"/> </OverrideControllerValueAction> </ControllerAction> </PrivateAction> </Private> <Private entityRef="adversary"> <PrivateAction> <TeleportAction> <Position> <WorldPosition x="-9.4" y="-71.0" z="0.5" h="1.57079632679"/> </Position> </TeleportAction> </PrivateAction> </Private> <Private entityRef="standing"> <PrivateAction> <TeleportAction> <Position> <WorldPosition x="-8.2" y="29.2" z="0.5" h="1.57079632679"/> </Position> </TeleportAction> </PrivateAction> </Private> <Private entityRef="pedestrian_close_to_hero_17355"> <PrivateAction> <TeleportAction> <Position> <WorldPosition x="-17.779903411865234" y="-161.78855895996094" z="0.0014286803780123591"/> </Position> </TeleportAction> </PrivateAction> </Private> <Private entityRef="pedestrian_close_to_standing_17356"> <PrivateAction> <TeleportAction> <Position> <WorldPosition x="-16.857852935791016" y="31.478464126586914" z="0.0030574798583984375"/> </Position> </TeleportAction> </PrivateAction> </Private> <Private entityRef="pedestrian_w_transform_17357"> <PrivateAction> <TeleportAction> <Position> <WorldPosition x="-97.77778625488281" y="-53.4239501953125" z="0.5"/> </Position> </TeleportAction> </PrivateAction> </Private> <Private entityRef="pedestrian_w_transform_17358"> <PrivateAction> <TeleportAction> <Position> <WorldPosition x="-7.857059955596924" y="70.82406616210938" z="0.5"/> </Position> </TeleportAction> </PrivateAction> </Private> <Private entityRef="pedestrian_w_transform_17359"> <PrivateAction> <TeleportAction> <Position> <WorldPosition x="5.922111511230469" y="15.240533828735352" z="0.5"/> </Position> </TeleportAction> </PrivateAction> </Private> <Private entityRef="pedestrian_close_to_standing_17360"> <PrivateAction> <TeleportAction> <Position> <WorldPosition x="-18.170551300048828" y="31.53914451599121" z="0.0030489349737763405"/> </Position> </TeleportAction> </PrivateAction> </Private> </Actions> </Init> <Story name="MyStory"> <Act name="Behavior"> <ManeuverGroup maximumExecutionCount="1" name="ManeuverSequence"> <Actors selectTriggeringEntities="false"> <EntityRef entityRef="adversary"/> </Actors> <Maneuver name="LaneChangeSimpleManeuver"> <Event name="AdversaryAccelerates" priority="overwrite"> <Action name="AdversaryAccelerates"> <PrivateAction> <LongitudinalAction> <SpeedAction> <SpeedActionDynamics dynamicsShape="step" value="50" dynamicsDimension="distance"/> <SpeedActionTarget> <AbsoluteTargetSpeed value="5.0"/> </SpeedActionTarget> </SpeedAction> </LongitudinalAction> </PrivateAction> </Action> <StartTrigger> <ConditionGroup> <Condition name="StartCondition" delay="0" conditionEdge="rising"> <ByEntityCondition> <TriggeringEntities triggeringEntitiesRule="any"> <EntityRef entityRef="hero"/> </TriggeringEntities> <EntityCondition> <RelativeDistanceCondition entityRef="adversary" relativeDistanceType="cartesianDistance" value="40.0" freespace="false" rule="lessThan"/> </EntityCondition> </ByEntityCondition> </Condition> </ConditionGroup> </StartTrigger> </Event> <Event name="AdversaryChangesLane" priority="overwrite"> <Action name="AdversaryChangesLane"> <PrivateAction> <LateralAction> <LaneChangeAction> <LaneChangeActionDynamics dynamicsShape="linear" value="25" dynamicsDimension="distance"/> <LaneChangeTarget> <RelativeTargetLane entityRef="adversary" value="-1"/> </LaneChangeTarget> </LaneChangeAction> </LateralAction> </PrivateAction> </Action> <StartTrigger> <ConditionGroup> <Condition name="AfterAdversaryAccelerates" delay="0" conditionEdge="rising"> <ByValueCondition> <StoryboardElementStateCondition storyboardElementType="action" storyboardElementRef="AdversaryAccelerates" state="completeState"/> </ByValueCondition> </Condition> </ConditionGroup> </StartTrigger> </Event> </Maneuver> </ManeuverGroup> <StartTrigger> <ConditionGroup> <Condition name="OverallStartCondition" delay="0" conditionEdge="rising"> <ByEntityCondition> <TriggeringEntities triggeringEntitiesRule="any"> <EntityRef entityRef="hero"/> </TriggeringEntities> <EntityCondition> <TraveledDistanceCondition value="1.0"/> </EntityCondition> </ByEntityCondition> </Condition> <Condition name="StartTime" delay="0" conditionEdge="rising"> <ByValueCondition> <SimulationTimeCondition value="0" rule="equalTo"/> </ByValueCondition> </Condition> </ConditionGroup> </StartTrigger> <StopTrigger> <ConditionGroup> <Condition name="EndCondition" delay="0" conditionEdge="rising"> <ByEntityCondition> <TriggeringEntities triggeringEntitiesRule="any"> <EntityRef entityRef="hero"/> </TriggeringEntities> <EntityCondition> <TraveledDistanceCondition value="200.0"/> </EntityCondition> </ByEntityCondition> </Condition> </ConditionGroup> </StopTrigger> </Act> </Story> <StopTrigger> <ConditionGroup> <Condition name="criteria_RunningStopTest" delay="0" conditionEdge="rising"> <ByValueCondition> <ParameterCondition parameterRef="" value="" rule="lessThan"/> </ByValueCondition> </Condition> <Condition name="criteria_RunningRedLightTest" delay="0" conditionEdge="rising"> <ByValueCondition> <ParameterCondition parameterRef="" value="" rule="lessThan"/> </ByValueCondition> </Condition> <Condition name="criteria_WrongLaneTest" delay="0" conditionEdge="rising"> <ByValueCondition> <ParameterCondition parameterRef="" value="" rule="lessThan"/> </ByValueCondition> </Condition> <Condition name="criteria_OnSidewalkTest" delay="0" conditionEdge="rising"> <ByValueCondition> <ParameterCondition parameterRef="" value="" rule="lessThan"/> </ByValueCondition> </Condition> <Condition name="criteria_KeepLaneTest" delay="0" conditionEdge="rising"> <ByValueCondition> <ParameterCondition parameterRef="" value="" rule="lessThan"/> </ByValueCondition> </Condition> <Condition name="criteria_CollisionTest" delay="0" conditionEdge="rising"> <ByValueCondition> <ParameterCondition parameterRef="" value="" rule="lessThan"/> </ByValueCondition> </Condition> <Condition name="criteria_DrivenDistanceTest" delay="0" conditionEdge="rising"> <ByValueCondition> <ParameterCondition parameterRef="distance_success" value="100" rule="lessThan"/> </ByValueCondition> </Condition> </ConditionGroup> </StopTrigger> </Storyboard> </OpenSCENARIO> ```
i would like to guide you to add pedestrian close to standing? ``` <?xml version="1.0" ?> <OpenSCENARIO> <FileHeader revMajor="1" revMinor="0" date="2020-03-24T12:00:00" description="CARLA:LaneChangeSimple" author=""/> <ParameterDeclarations/> <CatalogLocations/> <RoadNetwork> <LogicFile filepath="Town04"/> <SceneGraphFile filepath=""/> </RoadNetwork> <Entities> <ScenarioObject name="hero"> <Vehicle name="vehicle.tesla.model3" vehicleCategory="car"> <ParameterDeclarations/> <Performance maxSpeed="69.444" maxAcceleration="200" maxDeceleration="10.0"/> <BoundingBox> <Center x="1.5" y="0.0" z="0.9"/> <Dimensions width="2.1" length="4.5" height="1.8"/> </BoundingBox> <Axles> <FrontAxle maxSteering="0.5" wheelDiameter="0.6" trackWidth="1.8" positionX="3.1" positionZ="0.3"/> <RearAxle maxSteering="0.0" wheelDiameter="0.6" trackWidth="1.8" positionX="0.0" positionZ="0.3"/> </Axles> <Properties> <Property name="type" value="ego_vehicle"/> </Properties> </Vehicle> </ScenarioObject> <ScenarioObject name="adversary"> <Vehicle name="vehicle.lincoln.mkz_2017" vehicleCategory="car"> <ParameterDeclarations/> <Performance maxSpeed="69.444" maxAcceleration="200" maxDeceleration="10.0"/> <BoundingBox> <Center x="1.5" y="0.0" z="0.9"/> <Dimensions width="2.1" length="4.5" height="1.8"/> </BoundingBox> <Axles> <FrontAxle maxSteering="0.5" wheelDiameter="0.6" trackWidth="1.8" positionX="3.1" positionZ="0.3"/> <RearAxle maxSteering="0.0" wheelDiameter="0.6" trackWidth="1.8" positionX="0.0" positionZ="0.3"/> </Axles> <Properties> <Property name="type" value="simulation"/> </Properties> </Vehicle> </ScenarioObject> <ScenarioObject name="standing"> <Vehicle name="vehicle.volkswagen.t2" vehicleCategory="car"> <ParameterDeclarations/> <Performance maxSpeed="69.444" maxAcceleration="200" maxDeceleration="10.0"/> <BoundingBox> <Center x="1.5" y="0.0" z="0.9"/> <Dimensions width="2.1" length="4.5" height="1.8"/> </BoundingBox> <Axles> <FrontAxle maxSteering="0.5" wheelDiameter="0.6" trackWidth="1.8" positionX="3.1" positionZ="0.3"/> <RearAxle maxSteering="0.0" wheelDiameter="0.6" trackWidth="1.8" positionX="0.0" positionZ="0.3"/> </Axles> <Properties> <Property name="type" value="simulation"/> </Properties> </Vehicle> </ScenarioObject> </Entities> <Storyboard> <Init> <Actions> <GlobalAction> <EnvironmentAction> <Environment name="Environment1"> <TimeOfDay animation="false" dateTime="2019-06-25T12:00:00"/> <Weather cloudState="free"> <Sun intensity="0.85" azimuth="0" elevation="1.31"/> <Fog visualRange="100000.0"/> <Precipitation precipitationType="dry" intensity="0.0"/> </Weather> <RoadCondition frictionScaleFactor="1.0"/> </Environment> </EnvironmentAction> </GlobalAction> <Private entityRef="hero"> <PrivateAction> <TeleportAction> <Position> <WorldPosition x="-9.4" y="-152.8" z="0.5" h="1.57079632679"/> </Position> </TeleportAction> </PrivateAction> <PrivateAction> <ControllerAction> <AssignControllerAction> <Controller name="HeroAgent"> <Properties> <Property name="module" value="external_control"/> </Properties> </Controller> </AssignControllerAction> <OverrideControllerValueAction> <Throttle value="0" active="false"/> <Brake value="0" active="false"/> <Clutch value="0" active="false"/> <ParkingBrake value="0" active="false"/> <SteeringWheel value="0" active="false"/> <Gear number="0" active="false"/> </OverrideControllerValueAction> </ControllerAction> </PrivateAction> </Private> <Private entityRef="adversary"> <PrivateAction> <TeleportAction> <Position> <WorldPosition x="-9.4" y="-71.0" z="0.5" h="1.57079632679"/> </Position> </TeleportAction> </PrivateAction> </Private> <Private entityRef="standing"> <PrivateAction> <TeleportAction> <Position> <WorldPosition x="-8.2" y="29.2" z="0.5" h="1.57079632679"/> </Position> </TeleportAction> </PrivateAction> </Private> </Actions> </Init> <Story name="MyStory"> <Act name="Behavior"> <ManeuverGroup maximumExecutionCount="1" name="ManeuverSequence"> <Actors selectTriggeringEntities="false"> <EntityRef entityRef="adversary"/> </Actors> <Maneuver name="LaneChangeSimpleManeuver"> <Event name="AdversaryAccelerates" priority="overwrite"> <Action name="AdversaryAccelerates"> <PrivateAction> <LongitudinalAction> <SpeedAction> <SpeedActionDynamics dynamicsShape="step" value="50" dynamicsDimension="distance"/> <SpeedActionTarget> <AbsoluteTargetSpeed value="5.0"/> </SpeedActionTarget> </SpeedAction> </LongitudinalAction> </PrivateAction> </Action> <StartTrigger> <ConditionGroup> <Condition name="StartCondition" delay="0" conditionEdge="rising"> <ByEntityCondition> <TriggeringEntities triggeringEntitiesRule="any"> <EntityRef entityRef="hero"/> </TriggeringEntities> <EntityCondition> <RelativeDistanceCondition entityRef="adversary" relativeDistanceType="cartesianDistance" value="40.0" freespace="false" rule="lessThan"/> </EntityCondition> </ByEntityCondition> </Condition> </ConditionGroup> </StartTrigger> </Event> <Event name="AdversaryChangesLane" priority="overwrite"> <Action name="AdversaryChangesLane"> <PrivateAction> <LateralAction> <LaneChangeAction> <LaneChangeActionDynamics dynamicsShape="linear" value="25" dynamicsDimension="distance"/> <LaneChangeTarget> <RelativeTargetLane entityRef="adversary" value="-1"/> </LaneChangeTarget> </LaneChangeAction> </LateralAction> </PrivateAction> </Action> <StartTrigger> <ConditionGroup> <Condition name="AfterAdversaryAccelerates" delay="0" conditionEdge="rising"> <ByValueCondition> <StoryboardElementStateCondition storyboardElementType="action" storyboardElementRef="AdversaryAccelerates" state="completeState"/> </ByValueCondition> </Condition> </ConditionGroup> </StartTrigger> </Event> </Maneuver> </ManeuverGroup> <StartTrigger> <ConditionGroup> <Condition name="OverallStartCondition" delay="0" conditionEdge="rising"> <ByEntityCondition> <TriggeringEntities triggeringEntitiesRule="any"> <EntityRef entityRef="hero"/> </TriggeringEntities> <EntityCondition> <TraveledDistanceCondition value="1.0"/> </EntityCondition> </ByEntityCondition> </Condition> <Condition name="StartTime" delay="0" conditionEdge="rising"> <ByValueCondition> <SimulationTimeCondition value="0" rule="equalTo"/> </ByValueCondition> </Condition> </ConditionGroup> </StartTrigger> <StopTrigger> <ConditionGroup> <Condition name="EndCondition" delay="0" conditionEdge="rising"> <ByEntityCondition> <TriggeringEntities triggeringEntitiesRule="any"> <EntityRef entityRef="hero"/> </TriggeringEntities> <EntityCondition> <TraveledDistanceCondition value="200.0"/> </EntityCondition> </ByEntityCondition> </Condition> </ConditionGroup> </StopTrigger> </Act> </Story> <StopTrigger> <ConditionGroup> <Condition name="criteria_RunningStopTest" delay="0" conditionEdge="rising"> <ByValueCondition> <ParameterCondition parameterRef="" value="" rule="lessThan"/> </ByValueCondition> </Condition> <Condition name="criteria_RunningRedLightTest" delay="0" conditionEdge="rising"> <ByValueCondition> <ParameterCondition parameterRef="" value="" rule="lessThan"/> </ByValueCondition> </Condition> <Condition name="criteria_WrongLaneTest" delay="0" conditionEdge="rising"> <ByValueCondition> <ParameterCondition parameterRef="" value="" rule="lessThan"/> </ByValueCondition> </Condition> <Condition name="criteria_OnSidewalkTest" delay="0" conditionEdge="rising"> <ByValueCondition> <ParameterCondition parameterRef="" value="" rule="lessThan"/> </ByValueCondition> </Condition> <Condition name="criteria_KeepLaneTest" delay="0" conditionEdge="rising"> <ByValueCondition> <ParameterCondition parameterRef="" value="" rule="lessThan"/> </ByValueCondition> </Condition> <Condition name="criteria_CollisionTest" delay="0" conditionEdge="rising"> <ByValueCondition> <ParameterCondition parameterRef="" value="" rule="lessThan"/> </ByValueCondition> </Condition> <Condition name="criteria_DrivenDistanceTest" delay="0" conditionEdge="rising"> <ByValueCondition> <ParameterCondition parameterRef="distance_success" value="100" rule="lessThan"/> </ByValueCondition> </Condition> </ConditionGroup> </StopTrigger> </Storyboard> </OpenSCENARIO> ```
Here is the result: ``` <?xml version="1.0" ?> <OpenSCENARIO> <FileHeader revMajor="1" revMinor="0" date="2020-03-24T12:00:00" description="CARLA:LaneChangeSimple" author=""/> <ParameterDeclarations/> <CatalogLocations/> <RoadNetwork> <LogicFile filepath="Town04"/> <SceneGraphFile filepath=""/> </RoadNetwork> <Entities> <ScenarioObject name="hero"> <Vehicle name="vehicle.tesla.model3" vehicleCategory="car"> <ParameterDeclarations/> <Performance maxSpeed="69.444" maxAcceleration="200" maxDeceleration="10.0"/> <BoundingBox> <Center x="1.5" y="0.0" z="0.9"/> <Dimensions width="2.1" length="4.5" height="1.8"/> </BoundingBox> <Axles> <FrontAxle maxSteering="0.5" wheelDiameter="0.6" trackWidth="1.8" positionX="3.1" positionZ="0.3"/> <RearAxle maxSteering="0.0" wheelDiameter="0.6" trackWidth="1.8" positionX="0.0" positionZ="0.3"/> </Axles> <Properties> <Property name="type" value="ego_vehicle"/> </Properties> </Vehicle> </ScenarioObject> <ScenarioObject name="adversary"> <Vehicle name="vehicle.lincoln.mkz_2017" vehicleCategory="car"> <ParameterDeclarations/> <Performance maxSpeed="69.444" maxAcceleration="200" maxDeceleration="10.0"/> <BoundingBox> <Center x="1.5" y="0.0" z="0.9"/> <Dimensions width="2.1" length="4.5" height="1.8"/> </BoundingBox> <Axles> <FrontAxle maxSteering="0.5" wheelDiameter="0.6" trackWidth="1.8" positionX="3.1" positionZ="0.3"/> <RearAxle maxSteering="0.0" wheelDiameter="0.6" trackWidth="1.8" positionX="0.0" positionZ="0.3"/> </Axles> <Properties> <Property name="type" value="simulation"/> </Properties> </Vehicle> </ScenarioObject> <ScenarioObject name="standing"> <Vehicle name="vehicle.volkswagen.t2" vehicleCategory="car"> <ParameterDeclarations/> <Performance maxSpeed="69.444" maxAcceleration="200" maxDeceleration="10.0"/> <BoundingBox> <Center x="1.5" y="0.0" z="0.9"/> <Dimensions width="2.1" length="4.5" height="1.8"/> </BoundingBox> <Axles> <FrontAxle maxSteering="0.5" wheelDiameter="0.6" trackWidth="1.8" positionX="3.1" positionZ="0.3"/> <RearAxle maxSteering="0.0" wheelDiameter="0.6" trackWidth="1.8" positionX="0.0" positionZ="0.3"/> </Axles> <Properties> <Property name="type" value="simulation"/> </Properties> </Vehicle> </ScenarioObject> <ScenarioObject name="pedestrian_close_to_standing_6888"> <Pedestrian model="walker.pedestrian.0001" mass="80" name="walker.pedestrian.0001" pedestrianCategory="pedestrian"> <ParameterDeclarations/> <BoundingBox> <Center x="1.5" y="0.0" z="0.9"/> <Dimensions width="2" length="2" height="2"/> </BoundingBox> <Properties> <Property name="type" value="simulation"/> </Properties> </Pedestrian> </ScenarioObject> </Entities> <Storyboard> <Init> <Actions> <GlobalAction> <EnvironmentAction> <Environment name="Environment1"> <TimeOfDay animation="false" dateTime="2019-06-25T12:00:00"/> <Weather cloudState="free"> <Sun intensity="0.85" azimuth="0" elevation="1.31"/> <Fog visualRange="100000.0"/> <Precipitation precipitationType="dry" intensity="0.0"/> </Weather> <RoadCondition frictionScaleFactor="1.0"/> </Environment> </EnvironmentAction> </GlobalAction> <Private entityRef="hero"> <PrivateAction> <TeleportAction> <Position> <WorldPosition x="-9.4" y="-152.8" z="0.5" h="1.57079632679"/> </Position> </TeleportAction> </PrivateAction> <PrivateAction> <ControllerAction> <AssignControllerAction> <Controller name="HeroAgent"> <Properties> <Property name="module" value="external_control"/> </Properties> </Controller> </AssignControllerAction> <OverrideControllerValueAction> <Throttle value="0" active="false"/> <Brake value="0" active="false"/> <Clutch value="0" active="false"/> <ParkingBrake value="0" active="false"/> <SteeringWheel value="0" active="false"/> <Gear number="0" active="false"/> </OverrideControllerValueAction> </ControllerAction> </PrivateAction> </Private> <Private entityRef="adversary"> <PrivateAction> <TeleportAction> <Position> <WorldPosition x="-9.4" y="-71.0" z="0.5" h="1.57079632679"/> </Position> </TeleportAction> </PrivateAction> </Private> <Private entityRef="standing"> <PrivateAction> <TeleportAction> <Position> <WorldPosition x="-8.2" y="29.2" z="0.5" h="1.57079632679"/> </Position> </TeleportAction> </PrivateAction> </Private> <Private entityRef="pedestrian_close_to_standing_6888"> <PrivateAction> <TeleportAction> <Position> <WorldPosition x="-12.38095760345459" y="37.025665283203125" z="0.0030613706912845373"/> </Position> </TeleportAction> </PrivateAction> </Private> </Actions> </Init> <Story name="MyStory"> <Act name="Behavior"> <ManeuverGroup maximumExecutionCount="1" name="ManeuverSequence"> <Actors selectTriggeringEntities="false"> <EntityRef entityRef="adversary"/> </Actors> <Maneuver name="LaneChangeSimpleManeuver"> <Event name="AdversaryAccelerates" priority="overwrite"> <Action name="AdversaryAccelerates"> <PrivateAction> <LongitudinalAction> <SpeedAction> <SpeedActionDynamics dynamicsShape="step" value="50" dynamicsDimension="distance"/> <SpeedActionTarget> <AbsoluteTargetSpeed value="5.0"/> </SpeedActionTarget> </SpeedAction> </LongitudinalAction> </PrivateAction> </Action> <StartTrigger> <ConditionGroup> <Condition name="StartCondition" delay="0" conditionEdge="rising"> <ByEntityCondition> <TriggeringEntities triggeringEntitiesRule="any"> <EntityRef entityRef="hero"/> </TriggeringEntities> <EntityCondition> <RelativeDistanceCondition entityRef="adversary" relativeDistanceType="cartesianDistance" value="40.0" freespace="false" rule="lessThan"/> </EntityCondition> </ByEntityCondition> </Condition> </ConditionGroup> </StartTrigger> </Event> <Event name="AdversaryChangesLane" priority="overwrite"> <Action name="AdversaryChangesLane"> <PrivateAction> <LateralAction> <LaneChangeAction> <LaneChangeActionDynamics dynamicsShape="linear" value="25" dynamicsDimension="distance"/> <LaneChangeTarget> <RelativeTargetLane entityRef="adversary" value="-1"/> </LaneChangeTarget> </LaneChangeAction> </LateralAction> </PrivateAction> </Action> <StartTrigger> <ConditionGroup> <Condition name="AfterAdversaryAccelerates" delay="0" conditionEdge="rising"> <ByValueCondition> <StoryboardElementStateCondition storyboardElementType="action" storyboardElementRef="AdversaryAccelerates" state="completeState"/> </ByValueCondition> </Condition> </ConditionGroup> </StartTrigger> </Event> </Maneuver> </ManeuverGroup> <StartTrigger> <ConditionGroup> <Condition name="OverallStartCondition" delay="0" conditionEdge="rising"> <ByEntityCondition> <TriggeringEntities triggeringEntitiesRule="any"> <EntityRef entityRef="hero"/> </TriggeringEntities> <EntityCondition> <TraveledDistanceCondition value="1.0"/> </EntityCondition> </ByEntityCondition> </Condition> <Condition name="StartTime" delay="0" conditionEdge="rising"> <ByValueCondition> <SimulationTimeCondition value="0" rule="equalTo"/> </ByValueCondition> </Condition> </ConditionGroup> </StartTrigger> <StopTrigger> <ConditionGroup> <Condition name="EndCondition" delay="0" conditionEdge="rising"> <ByEntityCondition> <TriggeringEntities triggeringEntitiesRule="any"> <EntityRef entityRef="hero"/> </TriggeringEntities> <EntityCondition> <TraveledDistanceCondition value="200.0"/> </EntityCondition> </ByEntityCondition> </Condition> </ConditionGroup> </StopTrigger> </Act> </Story> <StopTrigger> <ConditionGroup> <Condition name="criteria_RunningStopTest" delay="0" conditionEdge="rising"> <ByValueCondition> <ParameterCondition parameterRef="" value="" rule="lessThan"/> </ByValueCondition> </Condition> <Condition name="criteria_RunningRedLightTest" delay="0" conditionEdge="rising"> <ByValueCondition> <ParameterCondition parameterRef="" value="" rule="lessThan"/> </ByValueCondition> </Condition> <Condition name="criteria_WrongLaneTest" delay="0" conditionEdge="rising"> <ByValueCondition> <ParameterCondition parameterRef="" value="" rule="lessThan"/> </ByValueCondition> </Condition> <Condition name="criteria_OnSidewalkTest" delay="0" conditionEdge="rising"> <ByValueCondition> <ParameterCondition parameterRef="" value="" rule="lessThan"/> </ByValueCondition> </Condition> <Condition name="criteria_KeepLaneTest" delay="0" conditionEdge="rising"> <ByValueCondition> <ParameterCondition parameterRef="" value="" rule="lessThan"/> </ByValueCondition> </Condition> <Condition name="criteria_CollisionTest" delay="0" conditionEdge="rising"> <ByValueCondition> <ParameterCondition parameterRef="" value="" rule="lessThan"/> </ByValueCondition> </Condition> <Condition name="criteria_DrivenDistanceTest" delay="0" conditionEdge="rising"> <ByValueCondition> <ParameterCondition parameterRef="distance_success" value="100" rule="lessThan"/> </ByValueCondition> </Condition> </ConditionGroup> </StopTrigger> </Storyboard> </OpenSCENARIO> ```
i would like you to add pedestrian close to adversary? ``` <?xml version="1.0" ?> <OpenSCENARIO> <FileHeader revMajor="1" revMinor="0" date="2020-03-24T12:00:00" description="CARLA:LaneChangeSimple" author=""/> <ParameterDeclarations/> <CatalogLocations/> <RoadNetwork> <LogicFile filepath="Town04"/> <SceneGraphFile filepath=""/> </RoadNetwork> <Entities> <ScenarioObject name="hero"> <Vehicle name="vehicle.tesla.model3" vehicleCategory="car"> <ParameterDeclarations/> <Performance maxSpeed="69.444" maxAcceleration="200" maxDeceleration="10.0"/> <BoundingBox> <Center x="1.5" y="0.0" z="0.9"/> <Dimensions width="2.1" length="4.5" height="1.8"/> </BoundingBox> <Axles> <FrontAxle maxSteering="0.5" wheelDiameter="0.6" trackWidth="1.8" positionX="3.1" positionZ="0.3"/> <RearAxle maxSteering="0.0" wheelDiameter="0.6" trackWidth="1.8" positionX="0.0" positionZ="0.3"/> </Axles> <Properties> <Property name="type" value="ego_vehicle"/> </Properties> </Vehicle> </ScenarioObject> <ScenarioObject name="adversary"> <Vehicle name="vehicle.lincoln.mkz_2017" vehicleCategory="car"> <ParameterDeclarations/> <Performance maxSpeed="69.444" maxAcceleration="200" maxDeceleration="10.0"/> <BoundingBox> <Center x="1.5" y="0.0" z="0.9"/> <Dimensions width="2.1" length="4.5" height="1.8"/> </BoundingBox> <Axles> <FrontAxle maxSteering="0.5" wheelDiameter="0.6" trackWidth="1.8" positionX="3.1" positionZ="0.3"/> <RearAxle maxSteering="0.0" wheelDiameter="0.6" trackWidth="1.8" positionX="0.0" positionZ="0.3"/> </Axles> <Properties> <Property name="type" value="simulation"/> </Properties> </Vehicle> </ScenarioObject> <ScenarioObject name="standing"> <Vehicle name="vehicle.volkswagen.t2" vehicleCategory="car"> <ParameterDeclarations/> <Performance maxSpeed="69.444" maxAcceleration="200" maxDeceleration="10.0"/> <BoundingBox> <Center x="1.5" y="0.0" z="0.9"/> <Dimensions width="2.1" length="4.5" height="1.8"/> </BoundingBox> <Axles> <FrontAxle maxSteering="0.5" wheelDiameter="0.6" trackWidth="1.8" positionX="3.1" positionZ="0.3"/> <RearAxle maxSteering="0.0" wheelDiameter="0.6" trackWidth="1.8" positionX="0.0" positionZ="0.3"/> </Axles> <Properties> <Property name="type" value="simulation"/> </Properties> </Vehicle> </ScenarioObject> <ScenarioObject name="pedestrian_close_to_hero_14444"> <Pedestrian model="walker.pedestrian.0001" mass="80" name="walker.pedestrian.0001" pedestrianCategory="pedestrian"> <ParameterDeclarations/> <BoundingBox> <Center x="1.5" y="0.0" z="0.9"/> <Dimensions width="2" length="2" height="2"/> </BoundingBox> <Properties> <Property name="type" value="simulation"/> </Properties> </Pedestrian> </ScenarioObject> <ScenarioObject name="pedestrian_close_to_adversary_14445"> <Pedestrian model="walker.pedestrian.0001" mass="80" name="walker.pedestrian.0001" pedestrianCategory="pedestrian"> <ParameterDeclarations/> <BoundingBox> <Center x="1.5" y="0.0" z="0.9"/> <Dimensions width="2" length="2" height="2"/> </BoundingBox> <Properties> <Property name="type" value="simulation"/> </Properties> </Pedestrian> </ScenarioObject> <ScenarioObject name="pedestrian_close_to_standing_14446"> <Pedestrian model="walker.pedestrian.0001" mass="80" name="walker.pedestrian.0001" pedestrianCategory="pedestrian"> <ParameterDeclarations/> <BoundingBox> <Center x="1.5" y="0.0" z="0.9"/> <Dimensions width="2" length="2" height="2"/> </BoundingBox> <Properties> <Property name="type" value="simulation"/> </Properties> </Pedestrian> </ScenarioObject> <ScenarioObject name="pedestrian_w_transform_14447"> <Pedestrian model="walker.pedestrian.0001" mass="80" name="walker.pedestrian.0001" pedestrianCategory="pedestrian"> <ParameterDeclarations/> <BoundingBox> <Center x="1.5" y="0.0" z="0.9"/> <Dimensions width="2" length="2" height="2"/> </BoundingBox> <Properties> <Property name="type" value="simulation"/> </Properties> </Pedestrian> </ScenarioObject> <ScenarioObject name="pedestrian_w_transform_14448"> <Pedestrian model="walker.pedestrian.0001" mass="80" name="walker.pedestrian.0001" pedestrianCategory="pedestrian"> <ParameterDeclarations/> <BoundingBox> <Center x="1.5" y="0.0" z="0.9"/> <Dimensions width="2" length="2" height="2"/> </BoundingBox> <Properties> <Property name="type" value="simulation"/> </Properties> </Pedestrian> </ScenarioObject> <ScenarioObject name="pedestrian_close_to_standing_14449"> <Pedestrian model="walker.pedestrian.0001" mass="80" name="walker.pedestrian.0001" pedestrianCategory="pedestrian"> <ParameterDeclarations/> <BoundingBox> <Center x="1.5" y="0.0" z="0.9"/> <Dimensions width="2" length="2" height="2"/> </BoundingBox> <Properties> <Property name="type" value="simulation"/> </Properties> </Pedestrian> </ScenarioObject> <ScenarioObject name="pedestrian_close_to_hero_14450"> <Pedestrian model="walker.pedestrian.0001" mass="80" name="walker.pedestrian.0001" pedestrianCategory="pedestrian"> <ParameterDeclarations/> <BoundingBox> <Center x="1.5" y="0.0" z="0.9"/> <Dimensions width="2" length="2" height="2"/> </BoundingBox> <Properties> <Property name="type" value="simulation"/> </Properties> </Pedestrian> </ScenarioObject> </Entities> <Storyboard> <Init> <Actions> <GlobalAction> <EnvironmentAction> <Environment name="Environment1"> <TimeOfDay animation="false" dateTime="2019-06-25T12:00:00"/> <Weather cloudState="free"> <Sun intensity="0.85" azimuth="0" elevation="1.31"/> <Fog visualRange="100000.0"/> <Precipitation precipitationType="dry" intensity="0.0"/> </Weather> <RoadCondition frictionScaleFactor="1.0"/> </Environment> </EnvironmentAction> </GlobalAction> <Private entityRef="hero"> <PrivateAction> <TeleportAction> <Position> <WorldPosition x="-9.4" y="-152.8" z="0.5" h="1.57079632679"/> </Position> </TeleportAction> </PrivateAction> <PrivateAction> <ControllerAction> <AssignControllerAction> <Controller name="HeroAgent"> <Properties> <Property name="module" value="external_control"/> </Properties> </Controller> </AssignControllerAction> <OverrideControllerValueAction> <Throttle value="0" active="false"/> <Brake value="0" active="false"/> <Clutch value="0" active="false"/> <ParkingBrake value="0" active="false"/> <SteeringWheel value="0" active="false"/> <Gear number="0" active="false"/> </OverrideControllerValueAction> </ControllerAction> </PrivateAction> </Private> <Private entityRef="adversary"> <PrivateAction> <TeleportAction> <Position> <WorldPosition x="-9.4" y="-71.0" z="0.5" h="1.57079632679"/> </Position> </TeleportAction> </PrivateAction> </Private> <Private entityRef="standing"> <PrivateAction> <TeleportAction> <Position> <WorldPosition x="-8.2" y="29.2" z="0.5" h="1.57079632679"/> </Position> </TeleportAction> </PrivateAction> </Private> <Private entityRef="pedestrian_close_to_hero_14444"> <PrivateAction> <TeleportAction> <Position> <WorldPosition x="-16.661096572875977" y="-150.93014526367188" z="0.0014286803780123591"/> </Position> </TeleportAction> </PrivateAction> </Private> <Private entityRef="pedestrian_close_to_adversary_14445"> <PrivateAction> <TeleportAction> <Position> <WorldPosition x="-9.191859245300293" y="-77.69051361083984" z="0.03385932743549347"/> </Position> </TeleportAction> </PrivateAction> </Private> <Private entityRef="pedestrian_close_to_standing_14446"> <PrivateAction> <TeleportAction> <Position> <WorldPosition x="-14.030180931091309" y="35.0216064453125" z="0.0030765533447265625"/> </Position> </TeleportAction> </PrivateAction> </Private> <Private entityRef="pedestrian_w_transform_14447"> <PrivateAction> <TeleportAction> <Position> <WorldPosition x="90.7458724975586" y="86.59252166748047" z="0.5"/> </Position> </TeleportAction> </PrivateAction> </Private> <Private entityRef="pedestrian_w_transform_14448"> <PrivateAction> <TeleportAction> <Position> <WorldPosition x="73.98709106445312" y="44.88349533081055" z="0.5"/> </Position> </TeleportAction> </PrivateAction> </Private> <Private entityRef="pedestrian_close_to_standing_14449"> <PrivateAction> <TeleportAction> <Position> <WorldPosition x="-16.842121124267578" y="35.30966567993164" z="0.0030631637200713158"/> </Position> </TeleportAction> </PrivateAction> </Private> <Private entityRef="pedestrian_close_to_hero_14450"> <PrivateAction> <TeleportAction> <Position> <WorldPosition x="-8.948283195495605" y="-144.66822814941406" z="0.0014286803780123591"/> </Position> </TeleportAction> </PrivateAction> </Private> </Actions> </Init> <Story name="MyStory"> <Act name="Behavior"> <ManeuverGroup maximumExecutionCount="1" name="ManeuverSequence"> <Actors selectTriggeringEntities="false"> <EntityRef entityRef="adversary"/> </Actors> <Maneuver name="LaneChangeSimpleManeuver"> <Event name="AdversaryAccelerates" priority="overwrite"> <Action name="AdversaryAccelerates"> <PrivateAction> <LongitudinalAction> <SpeedAction> <SpeedActionDynamics dynamicsShape="step" value="50" dynamicsDimension="distance"/> <SpeedActionTarget> <AbsoluteTargetSpeed value="5.0"/> </SpeedActionTarget> </SpeedAction> </LongitudinalAction> </PrivateAction> </Action> <StartTrigger> <ConditionGroup> <Condition name="StartCondition" delay="0" conditionEdge="rising"> <ByEntityCondition> <TriggeringEntities triggeringEntitiesRule="any"> <EntityRef entityRef="hero"/> </TriggeringEntities> <EntityCondition> <RelativeDistanceCondition entityRef="adversary" relativeDistanceType="cartesianDistance" value="40.0" freespace="false" rule="lessThan"/> </EntityCondition> </ByEntityCondition> </Condition> </ConditionGroup> </StartTrigger> </Event> <Event name="AdversaryChangesLane" priority="overwrite"> <Action name="AdversaryChangesLane"> <PrivateAction> <LateralAction> <LaneChangeAction> <LaneChangeActionDynamics dynamicsShape="linear" value="25" dynamicsDimension="distance"/> <LaneChangeTarget> <RelativeTargetLane entityRef="adversary" value="-1"/> </LaneChangeTarget> </LaneChangeAction> </LateralAction> </PrivateAction> </Action> <StartTrigger> <ConditionGroup> <Condition name="AfterAdversaryAccelerates" delay="0" conditionEdge="rising"> <ByValueCondition> <StoryboardElementStateCondition storyboardElementType="action" storyboardElementRef="AdversaryAccelerates" state="completeState"/> </ByValueCondition> </Condition> </ConditionGroup> </StartTrigger> </Event> </Maneuver> </ManeuverGroup> <StartTrigger> <ConditionGroup> <Condition name="OverallStartCondition" delay="0" conditionEdge="rising"> <ByEntityCondition> <TriggeringEntities triggeringEntitiesRule="any"> <EntityRef entityRef="hero"/> </TriggeringEntities> <EntityCondition> <TraveledDistanceCondition value="1.0"/> </EntityCondition> </ByEntityCondition> </Condition> <Condition name="StartTime" delay="0" conditionEdge="rising"> <ByValueCondition> <SimulationTimeCondition value="0" rule="equalTo"/> </ByValueCondition> </Condition> </ConditionGroup> </StartTrigger> <StopTrigger> <ConditionGroup> <Condition name="EndCondition" delay="0" conditionEdge="rising"> <ByEntityCondition> <TriggeringEntities triggeringEntitiesRule="any"> <EntityRef entityRef="hero"/> </TriggeringEntities> <EntityCondition> <TraveledDistanceCondition value="200.0"/> </EntityCondition> </ByEntityCondition> </Condition> </ConditionGroup> </StopTrigger> </Act> </Story> <StopTrigger> <ConditionGroup> <Condition name="criteria_RunningStopTest" delay="0" conditionEdge="rising"> <ByValueCondition> <ParameterCondition parameterRef="" value="" rule="lessThan"/> </ByValueCondition> </Condition> <Condition name="criteria_RunningRedLightTest" delay="0" conditionEdge="rising"> <ByValueCondition> <ParameterCondition parameterRef="" value="" rule="lessThan"/> </ByValueCondition> </Condition> <Condition name="criteria_WrongLaneTest" delay="0" conditionEdge="rising"> <ByValueCondition> <ParameterCondition parameterRef="" value="" rule="lessThan"/> </ByValueCondition> </Condition> <Condition name="criteria_OnSidewalkTest" delay="0" conditionEdge="rising"> <ByValueCondition> <ParameterCondition parameterRef="" value="" rule="lessThan"/> </ByValueCondition> </Condition> <Condition name="criteria_KeepLaneTest" delay="0" conditionEdge="rising"> <ByValueCondition> <ParameterCondition parameterRef="" value="" rule="lessThan"/> </ByValueCondition> </Condition> <Condition name="criteria_CollisionTest" delay="0" conditionEdge="rising"> <ByValueCondition> <ParameterCondition parameterRef="" value="" rule="lessThan"/> </ByValueCondition> </Condition> <Condition name="criteria_DrivenDistanceTest" delay="0" conditionEdge="rising"> <ByValueCondition> <ParameterCondition parameterRef="distance_success" value="100" rule="lessThan"/> </ByValueCondition> </Condition> </ConditionGroup> </StopTrigger> </Storyboard> </OpenSCENARIO> ```
Here is the result: ``` <?xml version="1.0" ?> <OpenSCENARIO> <FileHeader revMajor="1" revMinor="0" date="2020-03-24T12:00:00" description="CARLA:LaneChangeSimple" author=""/> <ParameterDeclarations/> <CatalogLocations/> <RoadNetwork> <LogicFile filepath="Town04"/> <SceneGraphFile filepath=""/> </RoadNetwork> <Entities> <ScenarioObject name="hero"> <Vehicle name="vehicle.tesla.model3" vehicleCategory="car"> <ParameterDeclarations/> <Performance maxSpeed="69.444" maxAcceleration="200" maxDeceleration="10.0"/> <BoundingBox> <Center x="1.5" y="0.0" z="0.9"/> <Dimensions width="2.1" length="4.5" height="1.8"/> </BoundingBox> <Axles> <FrontAxle maxSteering="0.5" wheelDiameter="0.6" trackWidth="1.8" positionX="3.1" positionZ="0.3"/> <RearAxle maxSteering="0.0" wheelDiameter="0.6" trackWidth="1.8" positionX="0.0" positionZ="0.3"/> </Axles> <Properties> <Property name="type" value="ego_vehicle"/> </Properties> </Vehicle> </ScenarioObject> <ScenarioObject name="adversary"> <Vehicle name="vehicle.lincoln.mkz_2017" vehicleCategory="car"> <ParameterDeclarations/> <Performance maxSpeed="69.444" maxAcceleration="200" maxDeceleration="10.0"/> <BoundingBox> <Center x="1.5" y="0.0" z="0.9"/> <Dimensions width="2.1" length="4.5" height="1.8"/> </BoundingBox> <Axles> <FrontAxle maxSteering="0.5" wheelDiameter="0.6" trackWidth="1.8" positionX="3.1" positionZ="0.3"/> <RearAxle maxSteering="0.0" wheelDiameter="0.6" trackWidth="1.8" positionX="0.0" positionZ="0.3"/> </Axles> <Properties> <Property name="type" value="simulation"/> </Properties> </Vehicle> </ScenarioObject> <ScenarioObject name="standing"> <Vehicle name="vehicle.volkswagen.t2" vehicleCategory="car"> <ParameterDeclarations/> <Performance maxSpeed="69.444" maxAcceleration="200" maxDeceleration="10.0"/> <BoundingBox> <Center x="1.5" y="0.0" z="0.9"/> <Dimensions width="2.1" length="4.5" height="1.8"/> </BoundingBox> <Axles> <FrontAxle maxSteering="0.5" wheelDiameter="0.6" trackWidth="1.8" positionX="3.1" positionZ="0.3"/> <RearAxle maxSteering="0.0" wheelDiameter="0.6" trackWidth="1.8" positionX="0.0" positionZ="0.3"/> </Axles> <Properties> <Property name="type" value="simulation"/> </Properties> </Vehicle> </ScenarioObject> <ScenarioObject name="pedestrian_close_to_hero_14444"> <Pedestrian model="walker.pedestrian.0001" mass="80" name="walker.pedestrian.0001" pedestrianCategory="pedestrian"> <ParameterDeclarations/> <BoundingBox> <Center x="1.5" y="0.0" z="0.9"/> <Dimensions width="2" length="2" height="2"/> </BoundingBox> <Properties> <Property name="type" value="simulation"/> </Properties> </Pedestrian> </ScenarioObject> <ScenarioObject name="pedestrian_close_to_adversary_14445"> <Pedestrian model="walker.pedestrian.0001" mass="80" name="walker.pedestrian.0001" pedestrianCategory="pedestrian"> <ParameterDeclarations/> <BoundingBox> <Center x="1.5" y="0.0" z="0.9"/> <Dimensions width="2" length="2" height="2"/> </BoundingBox> <Properties> <Property name="type" value="simulation"/> </Properties> </Pedestrian> </ScenarioObject> <ScenarioObject name="pedestrian_close_to_standing_14446"> <Pedestrian model="walker.pedestrian.0001" mass="80" name="walker.pedestrian.0001" pedestrianCategory="pedestrian"> <ParameterDeclarations/> <BoundingBox> <Center x="1.5" y="0.0" z="0.9"/> <Dimensions width="2" length="2" height="2"/> </BoundingBox> <Properties> <Property name="type" value="simulation"/> </Properties> </Pedestrian> </ScenarioObject> <ScenarioObject name="pedestrian_w_transform_14447"> <Pedestrian model="walker.pedestrian.0001" mass="80" name="walker.pedestrian.0001" pedestrianCategory="pedestrian"> <ParameterDeclarations/> <BoundingBox> <Center x="1.5" y="0.0" z="0.9"/> <Dimensions width="2" length="2" height="2"/> </BoundingBox> <Properties> <Property name="type" value="simulation"/> </Properties> </Pedestrian> </ScenarioObject> <ScenarioObject name="pedestrian_w_transform_14448"> <Pedestrian model="walker.pedestrian.0001" mass="80" name="walker.pedestrian.0001" pedestrianCategory="pedestrian"> <ParameterDeclarations/> <BoundingBox> <Center x="1.5" y="0.0" z="0.9"/> <Dimensions width="2" length="2" height="2"/> </BoundingBox> <Properties> <Property name="type" value="simulation"/> </Properties> </Pedestrian> </ScenarioObject> <ScenarioObject name="pedestrian_close_to_standing_14449"> <Pedestrian model="walker.pedestrian.0001" mass="80" name="walker.pedestrian.0001" pedestrianCategory="pedestrian"> <ParameterDeclarations/> <BoundingBox> <Center x="1.5" y="0.0" z="0.9"/> <Dimensions width="2" length="2" height="2"/> </BoundingBox> <Properties> <Property name="type" value="simulation"/> </Properties> </Pedestrian> </ScenarioObject> <ScenarioObject name="pedestrian_close_to_hero_14450"> <Pedestrian model="walker.pedestrian.0001" mass="80" name="walker.pedestrian.0001" pedestrianCategory="pedestrian"> <ParameterDeclarations/> <BoundingBox> <Center x="1.5" y="0.0" z="0.9"/> <Dimensions width="2" length="2" height="2"/> </BoundingBox> <Properties> <Property name="type" value="simulation"/> </Properties> </Pedestrian> </ScenarioObject> <ScenarioObject name="pedestrian_close_to_adversary_14451"> <Pedestrian model="walker.pedestrian.0001" mass="80" name="walker.pedestrian.0001" pedestrianCategory="pedestrian"> <ParameterDeclarations/> <BoundingBox> <Center x="1.5" y="0.0" z="0.9"/> <Dimensions width="2" length="2" height="2"/> </BoundingBox> <Properties> <Property name="type" value="simulation"/> </Properties> </Pedestrian> </ScenarioObject> </Entities> <Storyboard> <Init> <Actions> <GlobalAction> <EnvironmentAction> <Environment name="Environment1"> <TimeOfDay animation="false" dateTime="2019-06-25T12:00:00"/> <Weather cloudState="free"> <Sun intensity="0.85" azimuth="0" elevation="1.31"/> <Fog visualRange="100000.0"/> <Precipitation precipitationType="dry" intensity="0.0"/> </Weather> <RoadCondition frictionScaleFactor="1.0"/> </Environment> </EnvironmentAction> </GlobalAction> <Private entityRef="hero"> <PrivateAction> <TeleportAction> <Position> <WorldPosition x="-9.4" y="-152.8" z="0.5" h="1.57079632679"/> </Position> </TeleportAction> </PrivateAction> <PrivateAction> <ControllerAction> <AssignControllerAction> <Controller name="HeroAgent"> <Properties> <Property name="module" value="external_control"/> </Properties> </Controller> </AssignControllerAction> <OverrideControllerValueAction> <Throttle value="0" active="false"/> <Brake value="0" active="false"/> <Clutch value="0" active="false"/> <ParkingBrake value="0" active="false"/> <SteeringWheel value="0" active="false"/> <Gear number="0" active="false"/> </OverrideControllerValueAction> </ControllerAction> </PrivateAction> </Private> <Private entityRef="adversary"> <PrivateAction> <TeleportAction> <Position> <WorldPosition x="-9.4" y="-71.0" z="0.5" h="1.57079632679"/> </Position> </TeleportAction> </PrivateAction> </Private> <Private entityRef="standing"> <PrivateAction> <TeleportAction> <Position> <WorldPosition x="-8.2" y="29.2" z="0.5" h="1.57079632679"/> </Position> </TeleportAction> </PrivateAction> </Private> <Private entityRef="pedestrian_close_to_hero_14444"> <PrivateAction> <TeleportAction> <Position> <WorldPosition x="-16.661096572875977" y="-150.93014526367188" z="0.0014286803780123591"/> </Position> </TeleportAction> </PrivateAction> </Private> <Private entityRef="pedestrian_close_to_adversary_14445"> <PrivateAction> <TeleportAction> <Position> <WorldPosition x="-9.191859245300293" y="-77.69051361083984" z="0.03385932743549347"/> </Position> </TeleportAction> </PrivateAction> </Private> <Private entityRef="pedestrian_close_to_standing_14446"> <PrivateAction> <TeleportAction> <Position> <WorldPosition x="-14.030180931091309" y="35.0216064453125" z="0.0030765533447265625"/> </Position> </TeleportAction> </PrivateAction> </Private> <Private entityRef="pedestrian_w_transform_14447"> <PrivateAction> <TeleportAction> <Position> <WorldPosition x="90.7458724975586" y="86.59252166748047" z="0.5"/> </Position> </TeleportAction> </PrivateAction> </Private> <Private entityRef="pedestrian_w_transform_14448"> <PrivateAction> <TeleportAction> <Position> <WorldPosition x="73.98709106445312" y="44.88349533081055" z="0.5"/> </Position> </TeleportAction> </PrivateAction> </Private> <Private entityRef="pedestrian_close_to_standing_14449"> <PrivateAction> <TeleportAction> <Position> <WorldPosition x="-16.842121124267578" y="35.30966567993164" z="0.0030631637200713158"/> </Position> </TeleportAction> </PrivateAction> </Private> <Private entityRef="pedestrian_close_to_hero_14450"> <PrivateAction> <TeleportAction> <Position> <WorldPosition x="-8.948283195495605" y="-144.66822814941406" z="0.0014286803780123591"/> </Position> </TeleportAction> </PrivateAction> </Private> <Private entityRef="pedestrian_close_to_adversary_14451"> <PrivateAction> <TeleportAction> <Position> <WorldPosition x="-5.674217224121094" y="-68.63804626464844" z="0.03379596769809723"/> </Position> </TeleportAction> </PrivateAction> </Private> </Actions> </Init> <Story name="MyStory"> <Act name="Behavior"> <ManeuverGroup maximumExecutionCount="1" name="ManeuverSequence"> <Actors selectTriggeringEntities="false"> <EntityRef entityRef="adversary"/> </Actors> <Maneuver name="LaneChangeSimpleManeuver"> <Event name="AdversaryAccelerates" priority="overwrite"> <Action name="AdversaryAccelerates"> <PrivateAction> <LongitudinalAction> <SpeedAction> <SpeedActionDynamics dynamicsShape="step" value="50" dynamicsDimension="distance"/> <SpeedActionTarget> <AbsoluteTargetSpeed value="5.0"/> </SpeedActionTarget> </SpeedAction> </LongitudinalAction> </PrivateAction> </Action> <StartTrigger> <ConditionGroup> <Condition name="StartCondition" delay="0" conditionEdge="rising"> <ByEntityCondition> <TriggeringEntities triggeringEntitiesRule="any"> <EntityRef entityRef="hero"/> </TriggeringEntities> <EntityCondition> <RelativeDistanceCondition entityRef="adversary" relativeDistanceType="cartesianDistance" value="40.0" freespace="false" rule="lessThan"/> </EntityCondition> </ByEntityCondition> </Condition> </ConditionGroup> </StartTrigger> </Event> <Event name="AdversaryChangesLane" priority="overwrite"> <Action name="AdversaryChangesLane"> <PrivateAction> <LateralAction> <LaneChangeAction> <LaneChangeActionDynamics dynamicsShape="linear" value="25" dynamicsDimension="distance"/> <LaneChangeTarget> <RelativeTargetLane entityRef="adversary" value="-1"/> </LaneChangeTarget> </LaneChangeAction> </LateralAction> </PrivateAction> </Action> <StartTrigger> <ConditionGroup> <Condition name="AfterAdversaryAccelerates" delay="0" conditionEdge="rising"> <ByValueCondition> <StoryboardElementStateCondition storyboardElementType="action" storyboardElementRef="AdversaryAccelerates" state="completeState"/> </ByValueCondition> </Condition> </ConditionGroup> </StartTrigger> </Event> </Maneuver> </ManeuverGroup> <StartTrigger> <ConditionGroup> <Condition name="OverallStartCondition" delay="0" conditionEdge="rising"> <ByEntityCondition> <TriggeringEntities triggeringEntitiesRule="any"> <EntityRef entityRef="hero"/> </TriggeringEntities> <EntityCondition> <TraveledDistanceCondition value="1.0"/> </EntityCondition> </ByEntityCondition> </Condition> <Condition name="StartTime" delay="0" conditionEdge="rising"> <ByValueCondition> <SimulationTimeCondition value="0" rule="equalTo"/> </ByValueCondition> </Condition> </ConditionGroup> </StartTrigger> <StopTrigger> <ConditionGroup> <Condition name="EndCondition" delay="0" conditionEdge="rising"> <ByEntityCondition> <TriggeringEntities triggeringEntitiesRule="any"> <EntityRef entityRef="hero"/> </TriggeringEntities> <EntityCondition> <TraveledDistanceCondition value="200.0"/> </EntityCondition> </ByEntityCondition> </Condition> </ConditionGroup> </StopTrigger> </Act> </Story> <StopTrigger> <ConditionGroup> <Condition name="criteria_RunningStopTest" delay="0" conditionEdge="rising"> <ByValueCondition> <ParameterCondition parameterRef="" value="" rule="lessThan"/> </ByValueCondition> </Condition> <Condition name="criteria_RunningRedLightTest" delay="0" conditionEdge="rising"> <ByValueCondition> <ParameterCondition parameterRef="" value="" rule="lessThan"/> </ByValueCondition> </Condition> <Condition name="criteria_WrongLaneTest" delay="0" conditionEdge="rising"> <ByValueCondition> <ParameterCondition parameterRef="" value="" rule="lessThan"/> </ByValueCondition> </Condition> <Condition name="criteria_OnSidewalkTest" delay="0" conditionEdge="rising"> <ByValueCondition> <ParameterCondition parameterRef="" value="" rule="lessThan"/> </ByValueCondition> </Condition> <Condition name="criteria_KeepLaneTest" delay="0" conditionEdge="rising"> <ByValueCondition> <ParameterCondition parameterRef="" value="" rule="lessThan"/> </ByValueCondition> </Condition> <Condition name="criteria_CollisionTest" delay="0" conditionEdge="rising"> <ByValueCondition> <ParameterCondition parameterRef="" value="" rule="lessThan"/> </ByValueCondition> </Condition> <Condition name="criteria_DrivenDistanceTest" delay="0" conditionEdge="rising"> <ByValueCondition> <ParameterCondition parameterRef="distance_success" value="100" rule="lessThan"/> </ByValueCondition> </Condition> </ConditionGroup> </StopTrigger> </Storyboard> </OpenSCENARIO> ```
i would like to order you to remove pedestrian actor named pedestrian_w_transform_22319? ``` <?xml version="1.0" ?> <OpenSCENARIO> <FileHeader revMajor="1" revMinor="0" date="2020-03-24T12:00:00" description="CARLA:LaneChangeSimple" author=""/> <ParameterDeclarations/> <CatalogLocations/> <RoadNetwork> <LogicFile filepath="Town04"/> <SceneGraphFile filepath=""/> </RoadNetwork> <Entities> <ScenarioObject name="hero"> <Vehicle name="vehicle.tesla.model3" vehicleCategory="car"> <ParameterDeclarations/> <Performance maxSpeed="69.444" maxAcceleration="200" maxDeceleration="10.0"/> <BoundingBox> <Center x="1.5" y="0.0" z="0.9"/> <Dimensions width="2.1" length="4.5" height="1.8"/> </BoundingBox> <Axles> <FrontAxle maxSteering="0.5" wheelDiameter="0.6" trackWidth="1.8" positionX="3.1" positionZ="0.3"/> <RearAxle maxSteering="0.0" wheelDiameter="0.6" trackWidth="1.8" positionX="0.0" positionZ="0.3"/> </Axles> <Properties> <Property name="type" value="ego_vehicle"/> </Properties> </Vehicle> </ScenarioObject> <ScenarioObject name="adversary"> <Vehicle name="vehicle.lincoln.mkz_2017" vehicleCategory="car"> <ParameterDeclarations/> <Performance maxSpeed="69.444" maxAcceleration="200" maxDeceleration="10.0"/> <BoundingBox> <Center x="1.5" y="0.0" z="0.9"/> <Dimensions width="2.1" length="4.5" height="1.8"/> </BoundingBox> <Axles> <FrontAxle maxSteering="0.5" wheelDiameter="0.6" trackWidth="1.8" positionX="3.1" positionZ="0.3"/> <RearAxle maxSteering="0.0" wheelDiameter="0.6" trackWidth="1.8" positionX="0.0" positionZ="0.3"/> </Axles> <Properties> <Property name="type" value="simulation"/> </Properties> </Vehicle> </ScenarioObject> <ScenarioObject name="standing"> <Vehicle name="vehicle.volkswagen.t2" vehicleCategory="car"> <ParameterDeclarations/> <Performance maxSpeed="69.444" maxAcceleration="200" maxDeceleration="10.0"/> <BoundingBox> <Center x="1.5" y="0.0" z="0.9"/> <Dimensions width="2.1" length="4.5" height="1.8"/> </BoundingBox> <Axles> <FrontAxle maxSteering="0.5" wheelDiameter="0.6" trackWidth="1.8" positionX="3.1" positionZ="0.3"/> <RearAxle maxSteering="0.0" wheelDiameter="0.6" trackWidth="1.8" positionX="0.0" positionZ="0.3"/> </Axles> <Properties> <Property name="type" value="simulation"/> </Properties> </Vehicle> </ScenarioObject> <ScenarioObject name="pedestrian_w_transform_22313"> <Pedestrian model="walker.pedestrian.0001" mass="80" name="walker.pedestrian.0001" pedestrianCategory="pedestrian"> <ParameterDeclarations/> <BoundingBox> <Center x="1.5" y="0.0" z="0.9"/> <Dimensions width="2" length="2" height="2"/> </BoundingBox> <Properties> <Property name="type" value="simulation"/> </Properties> </Pedestrian> </ScenarioObject> <ScenarioObject name="pedestrian_close_to_standing_22315"> <Pedestrian model="walker.pedestrian.0001" mass="80" name="walker.pedestrian.0001" pedestrianCategory="pedestrian"> <ParameterDeclarations/> <BoundingBox> <Center x="1.5" y="0.0" z="0.9"/> <Dimensions width="2" length="2" height="2"/> </BoundingBox> <Properties> <Property name="type" value="simulation"/> </Properties> </Pedestrian> </ScenarioObject> <ScenarioObject name="pedestrian_w_transform_22317"> <Pedestrian model="walker.pedestrian.0001" mass="80" name="walker.pedestrian.0001" pedestrianCategory="pedestrian"> <ParameterDeclarations/> <BoundingBox> <Center x="1.5" y="0.0" z="0.9"/> <Dimensions width="2" length="2" height="2"/> </BoundingBox> <Properties> <Property name="type" value="simulation"/> </Properties> </Pedestrian> </ScenarioObject> <ScenarioObject name="pedestrian_w_transform_22319"> <Pedestrian model="walker.pedestrian.0001" mass="80" name="walker.pedestrian.0001" pedestrianCategory="pedestrian"> <ParameterDeclarations/> <BoundingBox> <Center x="1.5" y="0.0" z="0.9"/> <Dimensions width="2" length="2" height="2"/> </BoundingBox> <Properties> <Property name="type" value="simulation"/> </Properties> </Pedestrian> </ScenarioObject> <ScenarioObject name="pedestrian_close_to_standing_22320"> <Pedestrian model="walker.pedestrian.0001" mass="80" name="walker.pedestrian.0001" pedestrianCategory="pedestrian"> <ParameterDeclarations/> <BoundingBox> <Center x="1.5" y="0.0" z="0.9"/> <Dimensions width="2" length="2" height="2"/> </BoundingBox> <Properties> <Property name="type" value="simulation"/> </Properties> </Pedestrian> </ScenarioObject> <ScenarioObject name="pedestrian_close_to_standing_22321"> <Pedestrian model="walker.pedestrian.0001" mass="80" name="walker.pedestrian.0001" pedestrianCategory="pedestrian"> <ParameterDeclarations/> <BoundingBox> <Center x="1.5" y="0.0" z="0.9"/> <Dimensions width="2" length="2" height="2"/> </BoundingBox> <Properties> <Property name="type" value="simulation"/> </Properties> </Pedestrian> </ScenarioObject> <ScenarioObject name="pedestrian_w_transform_22322"> <Pedestrian model="walker.pedestrian.0001" mass="80" name="walker.pedestrian.0001" pedestrianCategory="pedestrian"> <ParameterDeclarations/> <BoundingBox> <Center x="1.5" y="0.0" z="0.9"/> <Dimensions width="2" length="2" height="2"/> </BoundingBox> <Properties> <Property name="type" value="simulation"/> </Properties> </Pedestrian> </ScenarioObject> <ScenarioObject name="pedestrian_w_transform_22323"> <Pedestrian model="walker.pedestrian.0001" mass="80" name="walker.pedestrian.0001" pedestrianCategory="pedestrian"> <ParameterDeclarations/> <BoundingBox> <Center x="1.5" y="0.0" z="0.9"/> <Dimensions width="2" length="2" height="2"/> </BoundingBox> <Properties> <Property name="type" value="simulation"/> </Properties> </Pedestrian> </ScenarioObject> <ScenarioObject name="pedestrian_close_to_hero_22324"> <Pedestrian model="walker.pedestrian.0001" mass="80" name="walker.pedestrian.0001" pedestrianCategory="pedestrian"> <ParameterDeclarations/> <BoundingBox> <Center x="1.5" y="0.0" z="0.9"/> <Dimensions width="2" length="2" height="2"/> </BoundingBox> <Properties> <Property name="type" value="simulation"/> </Properties> </Pedestrian> </ScenarioObject> <ScenarioObject name="pedestrian_close_to_standing_22325"> <Pedestrian model="walker.pedestrian.0001" mass="80" name="walker.pedestrian.0001" pedestrianCategory="pedestrian"> <ParameterDeclarations/> <BoundingBox> <Center x="1.5" y="0.0" z="0.9"/> <Dimensions width="2" length="2" height="2"/> </BoundingBox> <Properties> <Property name="type" value="simulation"/> </Properties> </Pedestrian> </ScenarioObject> <ScenarioObject name="pedestrian_w_transform_22327"> <Pedestrian model="walker.pedestrian.0001" mass="80" name="walker.pedestrian.0001" pedestrianCategory="pedestrian"> <ParameterDeclarations/> <BoundingBox> <Center x="1.5" y="0.0" z="0.9"/> <Dimensions width="2" length="2" height="2"/> </BoundingBox> <Properties> <Property name="type" value="simulation"/> </Properties> </Pedestrian> </ScenarioObject> <ScenarioObject name="pedestrian_w_transform_22328"> <Pedestrian model="walker.pedestrian.0001" mass="80" name="walker.pedestrian.0001" pedestrianCategory="pedestrian"> <ParameterDeclarations/> <BoundingBox> <Center x="1.5" y="0.0" z="0.9"/> <Dimensions width="2" length="2" height="2"/> </BoundingBox> <Properties> <Property name="type" value="simulation"/> </Properties> </Pedestrian> </ScenarioObject> <ScenarioObject name="pedestrian_w_transform_22330"> <Pedestrian model="walker.pedestrian.0001" mass="80" name="walker.pedestrian.0001" pedestrianCategory="pedestrian"> <ParameterDeclarations/> <BoundingBox> <Center x="1.5" y="0.0" z="0.9"/> <Dimensions width="2" length="2" height="2"/> </BoundingBox> <Properties> <Property name="type" value="simulation"/> </Properties> </Pedestrian> </ScenarioObject> <ScenarioObject name="pedestrian_close_to_adversary_22331"> <Pedestrian model="walker.pedestrian.0001" mass="80" name="walker.pedestrian.0001" pedestrianCategory="pedestrian"> <ParameterDeclarations/> <BoundingBox> <Center x="1.5" y="0.0" z="0.9"/> <Dimensions width="2" length="2" height="2"/> </BoundingBox> <Properties> <Property name="type" value="simulation"/> </Properties> </Pedestrian> </ScenarioObject> <ScenarioObject name="pedestrian_w_transform_22332"> <Pedestrian model="walker.pedestrian.0001" mass="80" name="walker.pedestrian.0001" pedestrianCategory="pedestrian"> <ParameterDeclarations/> <BoundingBox> <Center x="1.5" y="0.0" z="0.9"/> <Dimensions width="2" length="2" height="2"/> </BoundingBox> <Properties> <Property name="type" value="simulation"/> </Properties> </Pedestrian> </ScenarioObject> <ScenarioObject name="pedestrian_w_transform_22333"> <Pedestrian model="walker.pedestrian.0001" mass="80" name="walker.pedestrian.0001" pedestrianCategory="pedestrian"> <ParameterDeclarations/> <BoundingBox> <Center x="1.5" y="0.0" z="0.9"/> <Dimensions width="2" length="2" height="2"/> </BoundingBox> <Properties> <Property name="type" value="simulation"/> </Properties> </Pedestrian> </ScenarioObject> </Entities> <Storyboard> <Init> <Actions> <GlobalAction> <EnvironmentAction> <Environment name="Environment1"> <TimeOfDay animation="false" dateTime="2019-06-25T12:00:00"/> <Weather cloudState="free"> <Sun intensity="0.85" azimuth="0" elevation="1.31"/> <Fog visualRange="100000.0"/> <Precipitation precipitationType="dry" intensity="0.0"/> </Weather> <RoadCondition frictionScaleFactor="1.0"/> </Environment> </EnvironmentAction> </GlobalAction> <Private entityRef="hero"> <PrivateAction> <TeleportAction> <Position> <WorldPosition x="-9.4" y="-152.8" z="0.5" h="1.57079632679"/> </Position> </TeleportAction> </PrivateAction> <PrivateAction> <ControllerAction> <AssignControllerAction> <Controller name="HeroAgent"> <Properties> <Property name="module" value="external_control"/> </Properties> </Controller> </AssignControllerAction> <OverrideControllerValueAction> <Throttle value="0" active="false"/> <Brake value="0" active="false"/> <Clutch value="0" active="false"/> <ParkingBrake value="0" active="false"/> <SteeringWheel value="0" active="false"/> <Gear number="0" active="false"/> </OverrideControllerValueAction> </ControllerAction> </PrivateAction> </Private> <Private entityRef="adversary"> <PrivateAction> <TeleportAction> <Position> <WorldPosition x="-9.4" y="-71.0" z="0.5" h="1.57079632679"/> </Position> </TeleportAction> </PrivateAction> </Private> <Private entityRef="standing"> <PrivateAction> <TeleportAction> <Position> <WorldPosition x="-8.2" y="29.2" z="0.5" h="1.57079632679"/> </Position> </TeleportAction> </PrivateAction> </Private> <Private entityRef="pedestrian_w_transform_22313"> <PrivateAction> <TeleportAction> <Position> <WorldPosition x="76.44083404541016" y="-45.2336311340332" z="0.5"/> </Position> </TeleportAction> </PrivateAction> </Private> <Private entityRef="pedestrian_close_to_standing_22315"> <PrivateAction> <TeleportAction> <Position> <WorldPosition x="-14.977783203125" y="32.36625671386719" z="0.0030440902337431908"/> </Position> </TeleportAction> </PrivateAction> </Private> <Private entityRef="pedestrian_w_transform_22317"> <PrivateAction> <TeleportAction> <Position> <WorldPosition x="87.87495422363281" y="2.6312601566314697" z="0.5"/> </Position> </TeleportAction> </PrivateAction> </Private> <Private entityRef="pedestrian_w_transform_22319"> <PrivateAction> <TeleportAction> <Position> <WorldPosition x="56.64495086669922" y="-98.30899810791016" z="0.5"/> </Position> </TeleportAction> </PrivateAction> </Private> <Private entityRef="pedestrian_close_to_standing_22320"> <PrivateAction> <TeleportAction> <Position> <WorldPosition x="-11.105751991271973" y="39.054630279541016" z="0.0030258940532803535"/> </Position> </TeleportAction> </PrivateAction> </Private> <Private entityRef="pedestrian_close_to_standing_22321"> <PrivateAction> <TeleportAction> <Position> <WorldPosition x="-8.515600204467773" y="24.81248664855957" z="0.003021850483492017"/> </Position> </TeleportAction> </PrivateAction> </Private> <Private entityRef="pedestrian_w_transform_22322"> <PrivateAction> <TeleportAction> <Position> <WorldPosition x="-45.0340690612793" y="92.00672149658203" z="0.5"/> </Position> </TeleportAction> </PrivateAction> </Private> <Private entityRef="pedestrian_w_transform_22323"> <PrivateAction> <TeleportAction> <Position> <WorldPosition x="-60.516422271728516" y="-81.06587219238281" z="0.5"/> </Position> </TeleportAction> </PrivateAction> </Private> <Private entityRef="pedestrian_close_to_hero_22324"> <PrivateAction> <TeleportAction> <Position> <WorldPosition x="-16.825544357299805" y="-145.5976104736328" z="0.0014286803780123591"/> </Position> </TeleportAction> </PrivateAction> </Private> <Private entityRef="pedestrian_close_to_standing_22325"> <PrivateAction> <TeleportAction> <Position> <WorldPosition x="-15.53736686706543" y="29.395606994628906" z="0.00304973591119051"/> </Position> </TeleportAction> </PrivateAction> </Private> <Private entityRef="pedestrian_w_transform_22327"> <PrivateAction> <TeleportAction> <Position> <WorldPosition x="-93.69062805175781" y="91.358642578125" z="0.5"/> </Position> </TeleportAction> </PrivateAction> </Private> <Private entityRef="pedestrian_w_transform_22328"> <PrivateAction> <TeleportAction> <Position> <WorldPosition x="96.96090698242188" y="8.523127555847168" z="0.5"/> </Position> </TeleportAction> </PrivateAction> </Private> <Private entityRef="pedestrian_w_transform_22330"> <PrivateAction> <TeleportAction> <Position> <WorldPosition x="98.04219818115234" y="-44.07793045043945" z="0.5"/> </Position> </TeleportAction> </PrivateAction> </Private> <Private entityRef="pedestrian_close_to_adversary_22331"> <PrivateAction> <TeleportAction> <Position> <WorldPosition x="4.593201637268066" y="-75.56744384765625" z="0.033739812672138214"/> </Position> </TeleportAction> </PrivateAction> </Private> <Private entityRef="pedestrian_w_transform_22332"> <PrivateAction> <TeleportAction> <Position> <WorldPosition x="29.78693962097168" y="11.006972312927246" z="0.5"/> </Position> </TeleportAction> </PrivateAction> </Private> <Private entityRef="pedestrian_w_transform_22333"> <PrivateAction> <TeleportAction> <Position> <WorldPosition x="-68.6492919921875" y="-2.992363691329956" z="0.5"/> </Position> </TeleportAction> </PrivateAction> </Private> </Actions> </Init> <Story name="MyStory"> <Act name="Behavior"> <ManeuverGroup maximumExecutionCount="1" name="ManeuverSequence"> <Actors selectTriggeringEntities="false"> <EntityRef entityRef="adversary"/> </Actors> <Maneuver name="LaneChangeSimpleManeuver"> <Event name="AdversaryAccelerates" priority="overwrite"> <Action name="AdversaryAccelerates"> <PrivateAction> <LongitudinalAction> <SpeedAction> <SpeedActionDynamics dynamicsShape="step" value="50" dynamicsDimension="distance"/> <SpeedActionTarget> <AbsoluteTargetSpeed value="5.0"/> </SpeedActionTarget> </SpeedAction> </LongitudinalAction> </PrivateAction> </Action> <StartTrigger> <ConditionGroup> <Condition name="StartCondition" delay="0" conditionEdge="rising"> <ByEntityCondition> <TriggeringEntities triggeringEntitiesRule="any"> <EntityRef entityRef="hero"/> </TriggeringEntities> <EntityCondition> <RelativeDistanceCondition entityRef="adversary" relativeDistanceType="cartesianDistance" value="40.0" freespace="false" rule="lessThan"/> </EntityCondition> </ByEntityCondition> </Condition> </ConditionGroup> </StartTrigger> </Event> <Event name="AdversaryChangesLane" priority="overwrite"> <Action name="AdversaryChangesLane"> <PrivateAction> <LateralAction> <LaneChangeAction> <LaneChangeActionDynamics dynamicsShape="linear" value="25" dynamicsDimension="distance"/> <LaneChangeTarget> <RelativeTargetLane entityRef="adversary" value="-1"/> </LaneChangeTarget> </LaneChangeAction> </LateralAction> </PrivateAction> </Action> <StartTrigger> <ConditionGroup> <Condition name="AfterAdversaryAccelerates" delay="0" conditionEdge="rising"> <ByValueCondition> <StoryboardElementStateCondition storyboardElementType="action" storyboardElementRef="AdversaryAccelerates" state="completeState"/> </ByValueCondition> </Condition> </ConditionGroup> </StartTrigger> </Event> </Maneuver> </ManeuverGroup> <StartTrigger> <ConditionGroup> <Condition name="OverallStartCondition" delay="0" conditionEdge="rising"> <ByEntityCondition> <TriggeringEntities triggeringEntitiesRule="any"> <EntityRef entityRef="hero"/> </TriggeringEntities> <EntityCondition> <TraveledDistanceCondition value="1.0"/> </EntityCondition> </ByEntityCondition> </Condition> <Condition name="StartTime" delay="0" conditionEdge="rising"> <ByValueCondition> <SimulationTimeCondition value="0" rule="equalTo"/> </ByValueCondition> </Condition> </ConditionGroup> </StartTrigger> <StopTrigger> <ConditionGroup> <Condition name="EndCondition" delay="0" conditionEdge="rising"> <ByEntityCondition> <TriggeringEntities triggeringEntitiesRule="any"> <EntityRef entityRef="hero"/> </TriggeringEntities> <EntityCondition> <TraveledDistanceCondition value="200.0"/> </EntityCondition> </ByEntityCondition> </Condition> </ConditionGroup> </StopTrigger> </Act> </Story> <StopTrigger> <ConditionGroup> <Condition name="criteria_RunningStopTest" delay="0" conditionEdge="rising"> <ByValueCondition> <ParameterCondition parameterRef="" value="" rule="lessThan"/> </ByValueCondition> </Condition> <Condition name="criteria_RunningRedLightTest" delay="0" conditionEdge="rising"> <ByValueCondition> <ParameterCondition parameterRef="" value="" rule="lessThan"/> </ByValueCondition> </Condition> <Condition name="criteria_WrongLaneTest" delay="0" conditionEdge="rising"> <ByValueCondition> <ParameterCondition parameterRef="" value="" rule="lessThan"/> </ByValueCondition> </Condition> <Condition name="criteria_OnSidewalkTest" delay="0" conditionEdge="rising"> <ByValueCondition> <ParameterCondition parameterRef="" value="" rule="lessThan"/> </ByValueCondition> </Condition> <Condition name="criteria_KeepLaneTest" delay="0" conditionEdge="rising"> <ByValueCondition> <ParameterCondition parameterRef="" value="" rule="lessThan"/> </ByValueCondition> </Condition> <Condition name="criteria_CollisionTest" delay="0" conditionEdge="rising"> <ByValueCondition> <ParameterCondition parameterRef="" value="" rule="lessThan"/> </ByValueCondition> </Condition> <Condition name="criteria_DrivenDistanceTest" delay="0" conditionEdge="rising"> <ByValueCondition> <ParameterCondition parameterRef="distance_success" value="100" rule="lessThan"/> </ByValueCondition> </Condition> </ConditionGroup> </StopTrigger> </Storyboard> </OpenSCENARIO> ```
Here is the result: ``` <?xml version="1.0" ?> <OpenSCENARIO> <FileHeader revMajor="1" revMinor="0" date="2020-03-24T12:00:00" description="CARLA:LaneChangeSimple" author=""/> <ParameterDeclarations/> <CatalogLocations/> <RoadNetwork> <LogicFile filepath="Town04"/> <SceneGraphFile filepath=""/> </RoadNetwork> <Entities> <ScenarioObject name="hero"> <Vehicle name="vehicle.tesla.model3" vehicleCategory="car"> <ParameterDeclarations/> <Performance maxSpeed="69.444" maxAcceleration="200" maxDeceleration="10.0"/> <BoundingBox> <Center x="1.5" y="0.0" z="0.9"/> <Dimensions width="2.1" length="4.5" height="1.8"/> </BoundingBox> <Axles> <FrontAxle maxSteering="0.5" wheelDiameter="0.6" trackWidth="1.8" positionX="3.1" positionZ="0.3"/> <RearAxle maxSteering="0.0" wheelDiameter="0.6" trackWidth="1.8" positionX="0.0" positionZ="0.3"/> </Axles> <Properties> <Property name="type" value="ego_vehicle"/> </Properties> </Vehicle> </ScenarioObject> <ScenarioObject name="adversary"> <Vehicle name="vehicle.lincoln.mkz_2017" vehicleCategory="car"> <ParameterDeclarations/> <Performance maxSpeed="69.444" maxAcceleration="200" maxDeceleration="10.0"/> <BoundingBox> <Center x="1.5" y="0.0" z="0.9"/> <Dimensions width="2.1" length="4.5" height="1.8"/> </BoundingBox> <Axles> <FrontAxle maxSteering="0.5" wheelDiameter="0.6" trackWidth="1.8" positionX="3.1" positionZ="0.3"/> <RearAxle maxSteering="0.0" wheelDiameter="0.6" trackWidth="1.8" positionX="0.0" positionZ="0.3"/> </Axles> <Properties> <Property name="type" value="simulation"/> </Properties> </Vehicle> </ScenarioObject> <ScenarioObject name="standing"> <Vehicle name="vehicle.volkswagen.t2" vehicleCategory="car"> <ParameterDeclarations/> <Performance maxSpeed="69.444" maxAcceleration="200" maxDeceleration="10.0"/> <BoundingBox> <Center x="1.5" y="0.0" z="0.9"/> <Dimensions width="2.1" length="4.5" height="1.8"/> </BoundingBox> <Axles> <FrontAxle maxSteering="0.5" wheelDiameter="0.6" trackWidth="1.8" positionX="3.1" positionZ="0.3"/> <RearAxle maxSteering="0.0" wheelDiameter="0.6" trackWidth="1.8" positionX="0.0" positionZ="0.3"/> </Axles> <Properties> <Property name="type" value="simulation"/> </Properties> </Vehicle> </ScenarioObject> <ScenarioObject name="pedestrian_w_transform_22313"> <Pedestrian model="walker.pedestrian.0001" mass="80" name="walker.pedestrian.0001" pedestrianCategory="pedestrian"> <ParameterDeclarations/> <BoundingBox> <Center x="1.5" y="0.0" z="0.9"/> <Dimensions width="2" length="2" height="2"/> </BoundingBox> <Properties> <Property name="type" value="simulation"/> </Properties> </Pedestrian> </ScenarioObject> <ScenarioObject name="pedestrian_close_to_standing_22315"> <Pedestrian model="walker.pedestrian.0001" mass="80" name="walker.pedestrian.0001" pedestrianCategory="pedestrian"> <ParameterDeclarations/> <BoundingBox> <Center x="1.5" y="0.0" z="0.9"/> <Dimensions width="2" length="2" height="2"/> </BoundingBox> <Properties> <Property name="type" value="simulation"/> </Properties> </Pedestrian> </ScenarioObject> <ScenarioObject name="pedestrian_w_transform_22317"> <Pedestrian model="walker.pedestrian.0001" mass="80" name="walker.pedestrian.0001" pedestrianCategory="pedestrian"> <ParameterDeclarations/> <BoundingBox> <Center x="1.5" y="0.0" z="0.9"/> <Dimensions width="2" length="2" height="2"/> </BoundingBox> <Properties> <Property name="type" value="simulation"/> </Properties> </Pedestrian> </ScenarioObject> <ScenarioObject name="pedestrian_close_to_standing_22320"> <Pedestrian model="walker.pedestrian.0001" mass="80" name="walker.pedestrian.0001" pedestrianCategory="pedestrian"> <ParameterDeclarations/> <BoundingBox> <Center x="1.5" y="0.0" z="0.9"/> <Dimensions width="2" length="2" height="2"/> </BoundingBox> <Properties> <Property name="type" value="simulation"/> </Properties> </Pedestrian> </ScenarioObject> <ScenarioObject name="pedestrian_close_to_standing_22321"> <Pedestrian model="walker.pedestrian.0001" mass="80" name="walker.pedestrian.0001" pedestrianCategory="pedestrian"> <ParameterDeclarations/> <BoundingBox> <Center x="1.5" y="0.0" z="0.9"/> <Dimensions width="2" length="2" height="2"/> </BoundingBox> <Properties> <Property name="type" value="simulation"/> </Properties> </Pedestrian> </ScenarioObject> <ScenarioObject name="pedestrian_w_transform_22322"> <Pedestrian model="walker.pedestrian.0001" mass="80" name="walker.pedestrian.0001" pedestrianCategory="pedestrian"> <ParameterDeclarations/> <BoundingBox> <Center x="1.5" y="0.0" z="0.9"/> <Dimensions width="2" length="2" height="2"/> </BoundingBox> <Properties> <Property name="type" value="simulation"/> </Properties> </Pedestrian> </ScenarioObject> <ScenarioObject name="pedestrian_w_transform_22323"> <Pedestrian model="walker.pedestrian.0001" mass="80" name="walker.pedestrian.0001" pedestrianCategory="pedestrian"> <ParameterDeclarations/> <BoundingBox> <Center x="1.5" y="0.0" z="0.9"/> <Dimensions width="2" length="2" height="2"/> </BoundingBox> <Properties> <Property name="type" value="simulation"/> </Properties> </Pedestrian> </ScenarioObject> <ScenarioObject name="pedestrian_close_to_hero_22324"> <Pedestrian model="walker.pedestrian.0001" mass="80" name="walker.pedestrian.0001" pedestrianCategory="pedestrian"> <ParameterDeclarations/> <BoundingBox> <Center x="1.5" y="0.0" z="0.9"/> <Dimensions width="2" length="2" height="2"/> </BoundingBox> <Properties> <Property name="type" value="simulation"/> </Properties> </Pedestrian> </ScenarioObject> <ScenarioObject name="pedestrian_close_to_standing_22325"> <Pedestrian model="walker.pedestrian.0001" mass="80" name="walker.pedestrian.0001" pedestrianCategory="pedestrian"> <ParameterDeclarations/> <BoundingBox> <Center x="1.5" y="0.0" z="0.9"/> <Dimensions width="2" length="2" height="2"/> </BoundingBox> <Properties> <Property name="type" value="simulation"/> </Properties> </Pedestrian> </ScenarioObject> <ScenarioObject name="pedestrian_w_transform_22327"> <Pedestrian model="walker.pedestrian.0001" mass="80" name="walker.pedestrian.0001" pedestrianCategory="pedestrian"> <ParameterDeclarations/> <BoundingBox> <Center x="1.5" y="0.0" z="0.9"/> <Dimensions width="2" length="2" height="2"/> </BoundingBox> <Properties> <Property name="type" value="simulation"/> </Properties> </Pedestrian> </ScenarioObject> <ScenarioObject name="pedestrian_w_transform_22328"> <Pedestrian model="walker.pedestrian.0001" mass="80" name="walker.pedestrian.0001" pedestrianCategory="pedestrian"> <ParameterDeclarations/> <BoundingBox> <Center x="1.5" y="0.0" z="0.9"/> <Dimensions width="2" length="2" height="2"/> </BoundingBox> <Properties> <Property name="type" value="simulation"/> </Properties> </Pedestrian> </ScenarioObject> <ScenarioObject name="pedestrian_w_transform_22330"> <Pedestrian model="walker.pedestrian.0001" mass="80" name="walker.pedestrian.0001" pedestrianCategory="pedestrian"> <ParameterDeclarations/> <BoundingBox> <Center x="1.5" y="0.0" z="0.9"/> <Dimensions width="2" length="2" height="2"/> </BoundingBox> <Properties> <Property name="type" value="simulation"/> </Properties> </Pedestrian> </ScenarioObject> <ScenarioObject name="pedestrian_close_to_adversary_22331"> <Pedestrian model="walker.pedestrian.0001" mass="80" name="walker.pedestrian.0001" pedestrianCategory="pedestrian"> <ParameterDeclarations/> <BoundingBox> <Center x="1.5" y="0.0" z="0.9"/> <Dimensions width="2" length="2" height="2"/> </BoundingBox> <Properties> <Property name="type" value="simulation"/> </Properties> </Pedestrian> </ScenarioObject> <ScenarioObject name="pedestrian_w_transform_22332"> <Pedestrian model="walker.pedestrian.0001" mass="80" name="walker.pedestrian.0001" pedestrianCategory="pedestrian"> <ParameterDeclarations/> <BoundingBox> <Center x="1.5" y="0.0" z="0.9"/> <Dimensions width="2" length="2" height="2"/> </BoundingBox> <Properties> <Property name="type" value="simulation"/> </Properties> </Pedestrian> </ScenarioObject> <ScenarioObject name="pedestrian_w_transform_22333"> <Pedestrian model="walker.pedestrian.0001" mass="80" name="walker.pedestrian.0001" pedestrianCategory="pedestrian"> <ParameterDeclarations/> <BoundingBox> <Center x="1.5" y="0.0" z="0.9"/> <Dimensions width="2" length="2" height="2"/> </BoundingBox> <Properties> <Property name="type" value="simulation"/> </Properties> </Pedestrian> </ScenarioObject> </Entities> <Storyboard> <Init> <Actions> <GlobalAction> <EnvironmentAction> <Environment name="Environment1"> <TimeOfDay animation="false" dateTime="2019-06-25T12:00:00"/> <Weather cloudState="free"> <Sun intensity="0.85" azimuth="0" elevation="1.31"/> <Fog visualRange="100000.0"/> <Precipitation precipitationType="dry" intensity="0.0"/> </Weather> <RoadCondition frictionScaleFactor="1.0"/> </Environment> </EnvironmentAction> </GlobalAction> <Private entityRef="hero"> <PrivateAction> <TeleportAction> <Position> <WorldPosition x="-9.4" y="-152.8" z="0.5" h="1.57079632679"/> </Position> </TeleportAction> </PrivateAction> <PrivateAction> <ControllerAction> <AssignControllerAction> <Controller name="HeroAgent"> <Properties> <Property name="module" value="external_control"/> </Properties> </Controller> </AssignControllerAction> <OverrideControllerValueAction> <Throttle value="0" active="false"/> <Brake value="0" active="false"/> <Clutch value="0" active="false"/> <ParkingBrake value="0" active="false"/> <SteeringWheel value="0" active="false"/> <Gear number="0" active="false"/> </OverrideControllerValueAction> </ControllerAction> </PrivateAction> </Private> <Private entityRef="adversary"> <PrivateAction> <TeleportAction> <Position> <WorldPosition x="-9.4" y="-71.0" z="0.5" h="1.57079632679"/> </Position> </TeleportAction> </PrivateAction> </Private> <Private entityRef="standing"> <PrivateAction> <TeleportAction> <Position> <WorldPosition x="-8.2" y="29.2" z="0.5" h="1.57079632679"/> </Position> </TeleportAction> </PrivateAction> </Private> <Private entityRef="pedestrian_w_transform_22313"> <PrivateAction> <TeleportAction> <Position> <WorldPosition x="76.44083404541016" y="-45.2336311340332" z="0.5"/> </Position> </TeleportAction> </PrivateAction> </Private> <Private entityRef="pedestrian_close_to_standing_22315"> <PrivateAction> <TeleportAction> <Position> <WorldPosition x="-14.977783203125" y="32.36625671386719" z="0.0030440902337431908"/> </Position> </TeleportAction> </PrivateAction> </Private> <Private entityRef="pedestrian_w_transform_22317"> <PrivateAction> <TeleportAction> <Position> <WorldPosition x="87.87495422363281" y="2.6312601566314697" z="0.5"/> </Position> </TeleportAction> </PrivateAction> </Private> <Private entityRef="pedestrian_close_to_standing_22320"> <PrivateAction> <TeleportAction> <Position> <WorldPosition x="-11.105751991271973" y="39.054630279541016" z="0.0030258940532803535"/> </Position> </TeleportAction> </PrivateAction> </Private> <Private entityRef="pedestrian_close_to_standing_22321"> <PrivateAction> <TeleportAction> <Position> <WorldPosition x="-8.515600204467773" y="24.81248664855957" z="0.003021850483492017"/> </Position> </TeleportAction> </PrivateAction> </Private> <Private entityRef="pedestrian_w_transform_22322"> <PrivateAction> <TeleportAction> <Position> <WorldPosition x="-45.0340690612793" y="92.00672149658203" z="0.5"/> </Position> </TeleportAction> </PrivateAction> </Private> <Private entityRef="pedestrian_w_transform_22323"> <PrivateAction> <TeleportAction> <Position> <WorldPosition x="-60.516422271728516" y="-81.06587219238281" z="0.5"/> </Position> </TeleportAction> </PrivateAction> </Private> <Private entityRef="pedestrian_close_to_hero_22324"> <PrivateAction> <TeleportAction> <Position> <WorldPosition x="-16.825544357299805" y="-145.5976104736328" z="0.0014286803780123591"/> </Position> </TeleportAction> </PrivateAction> </Private> <Private entityRef="pedestrian_close_to_standing_22325"> <PrivateAction> <TeleportAction> <Position> <WorldPosition x="-15.53736686706543" y="29.395606994628906" z="0.00304973591119051"/> </Position> </TeleportAction> </PrivateAction> </Private> <Private entityRef="pedestrian_w_transform_22327"> <PrivateAction> <TeleportAction> <Position> <WorldPosition x="-93.69062805175781" y="91.358642578125" z="0.5"/> </Position> </TeleportAction> </PrivateAction> </Private> <Private entityRef="pedestrian_w_transform_22328"> <PrivateAction> <TeleportAction> <Position> <WorldPosition x="96.96090698242188" y="8.523127555847168" z="0.5"/> </Position> </TeleportAction> </PrivateAction> </Private> <Private entityRef="pedestrian_w_transform_22330"> <PrivateAction> <TeleportAction> <Position> <WorldPosition x="98.04219818115234" y="-44.07793045043945" z="0.5"/> </Position> </TeleportAction> </PrivateAction> </Private> <Private entityRef="pedestrian_close_to_adversary_22331"> <PrivateAction> <TeleportAction> <Position> <WorldPosition x="4.593201637268066" y="-75.56744384765625" z="0.033739812672138214"/> </Position> </TeleportAction> </PrivateAction> </Private> <Private entityRef="pedestrian_w_transform_22332"> <PrivateAction> <TeleportAction> <Position> <WorldPosition x="29.78693962097168" y="11.006972312927246" z="0.5"/> </Position> </TeleportAction> </PrivateAction> </Private> <Private entityRef="pedestrian_w_transform_22333"> <PrivateAction> <TeleportAction> <Position> <WorldPosition x="-68.6492919921875" y="-2.992363691329956" z="0.5"/> </Position> </TeleportAction> </PrivateAction> </Private> </Actions> </Init> <Story name="MyStory"> <Act name="Behavior"> <ManeuverGroup maximumExecutionCount="1" name="ManeuverSequence"> <Actors selectTriggeringEntities="false"> <EntityRef entityRef="adversary"/> </Actors> <Maneuver name="LaneChangeSimpleManeuver"> <Event name="AdversaryAccelerates" priority="overwrite"> <Action name="AdversaryAccelerates"> <PrivateAction> <LongitudinalAction> <SpeedAction> <SpeedActionDynamics dynamicsShape="step" value="50" dynamicsDimension="distance"/> <SpeedActionTarget> <AbsoluteTargetSpeed value="5.0"/> </SpeedActionTarget> </SpeedAction> </LongitudinalAction> </PrivateAction> </Action> <StartTrigger> <ConditionGroup> <Condition name="StartCondition" delay="0" conditionEdge="rising"> <ByEntityCondition> <TriggeringEntities triggeringEntitiesRule="any"> <EntityRef entityRef="hero"/> </TriggeringEntities> <EntityCondition> <RelativeDistanceCondition entityRef="adversary" relativeDistanceType="cartesianDistance" value="40.0" freespace="false" rule="lessThan"/> </EntityCondition> </ByEntityCondition> </Condition> </ConditionGroup> </StartTrigger> </Event> <Event name="AdversaryChangesLane" priority="overwrite"> <Action name="AdversaryChangesLane"> <PrivateAction> <LateralAction> <LaneChangeAction> <LaneChangeActionDynamics dynamicsShape="linear" value="25" dynamicsDimension="distance"/> <LaneChangeTarget> <RelativeTargetLane entityRef="adversary" value="-1"/> </LaneChangeTarget> </LaneChangeAction> </LateralAction> </PrivateAction> </Action> <StartTrigger> <ConditionGroup> <Condition name="AfterAdversaryAccelerates" delay="0" conditionEdge="rising"> <ByValueCondition> <StoryboardElementStateCondition storyboardElementType="action" storyboardElementRef="AdversaryAccelerates" state="completeState"/> </ByValueCondition> </Condition> </ConditionGroup> </StartTrigger> </Event> </Maneuver> </ManeuverGroup> <StartTrigger> <ConditionGroup> <Condition name="OverallStartCondition" delay="0" conditionEdge="rising"> <ByEntityCondition> <TriggeringEntities triggeringEntitiesRule="any"> <EntityRef entityRef="hero"/> </TriggeringEntities> <EntityCondition> <TraveledDistanceCondition value="1.0"/> </EntityCondition> </ByEntityCondition> </Condition> <Condition name="StartTime" delay="0" conditionEdge="rising"> <ByValueCondition> <SimulationTimeCondition value="0" rule="equalTo"/> </ByValueCondition> </Condition> </ConditionGroup> </StartTrigger> <StopTrigger> <ConditionGroup> <Condition name="EndCondition" delay="0" conditionEdge="rising"> <ByEntityCondition> <TriggeringEntities triggeringEntitiesRule="any"> <EntityRef entityRef="hero"/> </TriggeringEntities> <EntityCondition> <TraveledDistanceCondition value="200.0"/> </EntityCondition> </ByEntityCondition> </Condition> </ConditionGroup> </StopTrigger> </Act> </Story> <StopTrigger> <ConditionGroup> <Condition name="criteria_RunningStopTest" delay="0" conditionEdge="rising"> <ByValueCondition> <ParameterCondition parameterRef="" value="" rule="lessThan"/> </ByValueCondition> </Condition> <Condition name="criteria_RunningRedLightTest" delay="0" conditionEdge="rising"> <ByValueCondition> <ParameterCondition parameterRef="" value="" rule="lessThan"/> </ByValueCondition> </Condition> <Condition name="criteria_WrongLaneTest" delay="0" conditionEdge="rising"> <ByValueCondition> <ParameterCondition parameterRef="" value="" rule="lessThan"/> </ByValueCondition> </Condition> <Condition name="criteria_OnSidewalkTest" delay="0" conditionEdge="rising"> <ByValueCondition> <ParameterCondition parameterRef="" value="" rule="lessThan"/> </ByValueCondition> </Condition> <Condition name="criteria_KeepLaneTest" delay="0" conditionEdge="rising"> <ByValueCondition> <ParameterCondition parameterRef="" value="" rule="lessThan"/> </ByValueCondition> </Condition> <Condition name="criteria_CollisionTest" delay="0" conditionEdge="rising"> <ByValueCondition> <ParameterCondition parameterRef="" value="" rule="lessThan"/> </ByValueCondition> </Condition> <Condition name="criteria_DrivenDistanceTest" delay="0" conditionEdge="rising"> <ByValueCondition> <ParameterCondition parameterRef="distance_success" value="100" rule="lessThan"/> </ByValueCondition> </Condition> </ConditionGroup> </StopTrigger> </Storyboard> </OpenSCENARIO> ```
please add pedestrian close to adversary? ``` <?xml version="1.0" ?> <OpenSCENARIO> <FileHeader revMajor="1" revMinor="0" date="2020-03-24T12:00:00" description="CARLA:LaneChangeSimple" author=""/> <ParameterDeclarations/> <CatalogLocations/> <RoadNetwork> <LogicFile filepath="Town04"/> <SceneGraphFile filepath=""/> </RoadNetwork> <Entities> <ScenarioObject name="hero"> <Vehicle name="vehicle.tesla.model3" vehicleCategory="car"> <ParameterDeclarations/> <Performance maxSpeed="69.444" maxAcceleration="200" maxDeceleration="10.0"/> <BoundingBox> <Center x="1.5" y="0.0" z="0.9"/> <Dimensions width="2.1" length="4.5" height="1.8"/> </BoundingBox> <Axles> <FrontAxle maxSteering="0.5" wheelDiameter="0.6" trackWidth="1.8" positionX="3.1" positionZ="0.3"/> <RearAxle maxSteering="0.0" wheelDiameter="0.6" trackWidth="1.8" positionX="0.0" positionZ="0.3"/> </Axles> <Properties> <Property name="type" value="ego_vehicle"/> </Properties> </Vehicle> </ScenarioObject> <ScenarioObject name="adversary"> <Vehicle name="vehicle.lincoln.mkz_2017" vehicleCategory="car"> <ParameterDeclarations/> <Performance maxSpeed="69.444" maxAcceleration="200" maxDeceleration="10.0"/> <BoundingBox> <Center x="1.5" y="0.0" z="0.9"/> <Dimensions width="2.1" length="4.5" height="1.8"/> </BoundingBox> <Axles> <FrontAxle maxSteering="0.5" wheelDiameter="0.6" trackWidth="1.8" positionX="3.1" positionZ="0.3"/> <RearAxle maxSteering="0.0" wheelDiameter="0.6" trackWidth="1.8" positionX="0.0" positionZ="0.3"/> </Axles> <Properties> <Property name="type" value="simulation"/> </Properties> </Vehicle> </ScenarioObject> <ScenarioObject name="standing"> <Vehicle name="vehicle.volkswagen.t2" vehicleCategory="car"> <ParameterDeclarations/> <Performance maxSpeed="69.444" maxAcceleration="200" maxDeceleration="10.0"/> <BoundingBox> <Center x="1.5" y="0.0" z="0.9"/> <Dimensions width="2.1" length="4.5" height="1.8"/> </BoundingBox> <Axles> <FrontAxle maxSteering="0.5" wheelDiameter="0.6" trackWidth="1.8" positionX="3.1" positionZ="0.3"/> <RearAxle maxSteering="0.0" wheelDiameter="0.6" trackWidth="1.8" positionX="0.0" positionZ="0.3"/> </Axles> <Properties> <Property name="type" value="simulation"/> </Properties> </Vehicle> </ScenarioObject> <ScenarioObject name="pedestrian_close_to_hero_6856"> <Pedestrian model="walker.pedestrian.0001" mass="80" name="walker.pedestrian.0001" pedestrianCategory="pedestrian"> <ParameterDeclarations/> <BoundingBox> <Center x="1.5" y="0.0" z="0.9"/> <Dimensions width="2" length="2" height="2"/> </BoundingBox> <Properties> <Property name="type" value="simulation"/> </Properties> </Pedestrian> </ScenarioObject> <ScenarioObject name="pedestrian_close_to_standing_6857"> <Pedestrian model="walker.pedestrian.0001" mass="80" name="walker.pedestrian.0001" pedestrianCategory="pedestrian"> <ParameterDeclarations/> <BoundingBox> <Center x="1.5" y="0.0" z="0.9"/> <Dimensions width="2" length="2" height="2"/> </BoundingBox> <Properties> <Property name="type" value="simulation"/> </Properties> </Pedestrian> </ScenarioObject> <ScenarioObject name="pedestrian_close_to_hero_6858"> <Pedestrian model="walker.pedestrian.0001" mass="80" name="walker.pedestrian.0001" pedestrianCategory="pedestrian"> <ParameterDeclarations/> <BoundingBox> <Center x="1.5" y="0.0" z="0.9"/> <Dimensions width="2" length="2" height="2"/> </BoundingBox> <Properties> <Property name="type" value="simulation"/> </Properties> </Pedestrian> </ScenarioObject> <ScenarioObject name="pedestrian_close_to_hero_6859"> <Pedestrian model="walker.pedestrian.0001" mass="80" name="walker.pedestrian.0001" pedestrianCategory="pedestrian"> <ParameterDeclarations/> <BoundingBox> <Center x="1.5" y="0.0" z="0.9"/> <Dimensions width="2" length="2" height="2"/> </BoundingBox> <Properties> <Property name="type" value="simulation"/> </Properties> </Pedestrian> </ScenarioObject> <ScenarioObject name="pedestrian_w_transform_6862"> <Pedestrian model="walker.pedestrian.0001" mass="80" name="walker.pedestrian.0001" pedestrianCategory="pedestrian"> <ParameterDeclarations/> <BoundingBox> <Center x="1.5" y="0.0" z="0.9"/> <Dimensions width="2" length="2" height="2"/> </BoundingBox> <Properties> <Property name="type" value="simulation"/> </Properties> </Pedestrian> </ScenarioObject> <ScenarioObject name="pedestrian_w_transform_6863"> <Pedestrian model="walker.pedestrian.0001" mass="80" name="walker.pedestrian.0001" pedestrianCategory="pedestrian"> <ParameterDeclarations/> <BoundingBox> <Center x="1.5" y="0.0" z="0.9"/> <Dimensions width="2" length="2" height="2"/> </BoundingBox> <Properties> <Property name="type" value="simulation"/> </Properties> </Pedestrian> </ScenarioObject> <ScenarioObject name="pedestrian_close_to_hero_6864"> <Pedestrian model="walker.pedestrian.0001" mass="80" name="walker.pedestrian.0001" pedestrianCategory="pedestrian"> <ParameterDeclarations/> <BoundingBox> <Center x="1.5" y="0.0" z="0.9"/> <Dimensions width="2" length="2" height="2"/> </BoundingBox> <Properties> <Property name="type" value="simulation"/> </Properties> </Pedestrian> </ScenarioObject> <ScenarioObject name="pedestrian_close_to_adversary_6865"> <Pedestrian model="walker.pedestrian.0001" mass="80" name="walker.pedestrian.0001" pedestrianCategory="pedestrian"> <ParameterDeclarations/> <BoundingBox> <Center x="1.5" y="0.0" z="0.9"/> <Dimensions width="2" length="2" height="2"/> </BoundingBox> <Properties> <Property name="type" value="simulation"/> </Properties> </Pedestrian> </ScenarioObject> <ScenarioObject name="pedestrian_close_to_adversary_6866"> <Pedestrian model="walker.pedestrian.0001" mass="80" name="walker.pedestrian.0001" pedestrianCategory="pedestrian"> <ParameterDeclarations/> <BoundingBox> <Center x="1.5" y="0.0" z="0.9"/> <Dimensions width="2" length="2" height="2"/> </BoundingBox> <Properties> <Property name="type" value="simulation"/> </Properties> </Pedestrian> </ScenarioObject> <ScenarioObject name="pedestrian_close_to_hero_6867"> <Pedestrian model="walker.pedestrian.0001" mass="80" name="walker.pedestrian.0001" pedestrianCategory="pedestrian"> <ParameterDeclarations/> <BoundingBox> <Center x="1.5" y="0.0" z="0.9"/> <Dimensions width="2" length="2" height="2"/> </BoundingBox> <Properties> <Property name="type" value="simulation"/> </Properties> </Pedestrian> </ScenarioObject> <ScenarioObject name="pedestrian_close_to_hero_6868"> <Pedestrian model="walker.pedestrian.0001" mass="80" name="walker.pedestrian.0001" pedestrianCategory="pedestrian"> <ParameterDeclarations/> <BoundingBox> <Center x="1.5" y="0.0" z="0.9"/> <Dimensions width="2" length="2" height="2"/> </BoundingBox> <Properties> <Property name="type" value="simulation"/> </Properties> </Pedestrian> </ScenarioObject> </Entities> <Storyboard> <Init> <Actions> <GlobalAction> <EnvironmentAction> <Environment name="Environment1"> <TimeOfDay animation="false" dateTime="2019-06-25T12:00:00"/> <Weather cloudState="free"> <Sun intensity="0.85" azimuth="0" elevation="1.31"/> <Fog visualRange="100000.0"/> <Precipitation precipitationType="dry" intensity="0.0"/> </Weather> <RoadCondition frictionScaleFactor="1.0"/> </Environment> </EnvironmentAction> </GlobalAction> <Private entityRef="hero"> <PrivateAction> <TeleportAction> <Position> <WorldPosition x="-9.4" y="-152.8" z="0.5" h="1.57079632679"/> </Position> </TeleportAction> </PrivateAction> <PrivateAction> <ControllerAction> <AssignControllerAction> <Controller name="HeroAgent"> <Properties> <Property name="module" value="external_control"/> </Properties> </Controller> </AssignControllerAction> <OverrideControllerValueAction> <Throttle value="0" active="false"/> <Brake value="0" active="false"/> <Clutch value="0" active="false"/> <ParkingBrake value="0" active="false"/> <SteeringWheel value="0" active="false"/> <Gear number="0" active="false"/> </OverrideControllerValueAction> </ControllerAction> </PrivateAction> </Private> <Private entityRef="adversary"> <PrivateAction> <TeleportAction> <Position> <WorldPosition x="-9.4" y="-71.0" z="0.5" h="1.57079632679"/> </Position> </TeleportAction> </PrivateAction> </Private> <Private entityRef="standing"> <PrivateAction> <TeleportAction> <Position> <WorldPosition x="-8.2" y="29.2" z="0.5" h="1.57079632679"/> </Position> </TeleportAction> </PrivateAction> </Private> <Private entityRef="pedestrian_close_to_hero_6856"> <PrivateAction> <TeleportAction> <Position> <WorldPosition x="-1.641479253768921" y="-148.2288818359375" z="0.0014286803780123591"/> </Position> </TeleportAction> </PrivateAction> </Private> <Private entityRef="pedestrian_close_to_standing_6857"> <PrivateAction> <TeleportAction> <Position> <WorldPosition x="8.715874671936035" y="20.409067153930664" z="0.003058280795812607"/> </Position> </TeleportAction> </PrivateAction> </Private> <Private entityRef="pedestrian_close_to_hero_6858"> <PrivateAction> <TeleportAction> <Position> <WorldPosition x="-3.943227529525757" y="-161.08291625976562" z="0.0014286803780123591"/> </Position> </TeleportAction> </PrivateAction> </Private> <Private entityRef="pedestrian_close_to_hero_6859"> <PrivateAction> <TeleportAction> <Position> <WorldPosition x="-12.610841751098633" y="-147.8064422607422" z="0.0014286803780123591"/> </Position> </TeleportAction> </PrivateAction> </Private> <Private entityRef="pedestrian_w_transform_6862"> <PrivateAction> <TeleportAction> <Position> <WorldPosition x="5.631577014923096" y="26.1667423248291" z="0.5"/> </Position> </TeleportAction> </PrivateAction> </Private> <Private entityRef="pedestrian_w_transform_6863"> <PrivateAction> <TeleportAction> <Position> <WorldPosition x="38.21703338623047" y="61.36579513549805" z="0.5"/> </Position> </TeleportAction> </PrivateAction> </Private> <Private entityRef="pedestrian_close_to_hero_6864"> <PrivateAction> <TeleportAction> <Position> <WorldPosition x="-16.206422805786133" y="-159.44085693359375" z="0.0014286803780123591"/> </Position> </TeleportAction> </PrivateAction> </Private> <Private entityRef="pedestrian_close_to_adversary_6865"> <PrivateAction> <TeleportAction> <Position> <WorldPosition x="-4.972630023956299" y="-62.90225601196289" z="0.03373340517282486"/> </Position> </TeleportAction> </PrivateAction> </Private> <Private entityRef="pedestrian_close_to_adversary_6866"> <PrivateAction> <TeleportAction> <Position> <WorldPosition x="-7.034584999084473" y="-70.320068359375" z="0.03380702808499336"/> </Position> </TeleportAction> </PrivateAction> </Private> <Private entityRef="pedestrian_close_to_hero_6867"> <PrivateAction> <TeleportAction> <Position> <WorldPosition x="-22.192487716674805" y="-147.48870849609375" z="0.0014286803780123591"/> </Position> </TeleportAction> </PrivateAction> </Private> <Private entityRef="pedestrian_close_to_hero_6868"> <PrivateAction> <TeleportAction> <Position> <WorldPosition x="-10.33435344696045" y="-150.74945068359375" z="0.0014286803780123591"/> </Position> </TeleportAction> </PrivateAction> </Private> </Actions> </Init> <Story name="MyStory"> <Act name="Behavior"> <ManeuverGroup maximumExecutionCount="1" name="ManeuverSequence"> <Actors selectTriggeringEntities="false"> <EntityRef entityRef="adversary"/> </Actors> <Maneuver name="LaneChangeSimpleManeuver"> <Event name="AdversaryAccelerates" priority="overwrite"> <Action name="AdversaryAccelerates"> <PrivateAction> <LongitudinalAction> <SpeedAction> <SpeedActionDynamics dynamicsShape="step" value="50" dynamicsDimension="distance"/> <SpeedActionTarget> <AbsoluteTargetSpeed value="5.0"/> </SpeedActionTarget> </SpeedAction> </LongitudinalAction> </PrivateAction> </Action> <StartTrigger> <ConditionGroup> <Condition name="StartCondition" delay="0" conditionEdge="rising"> <ByEntityCondition> <TriggeringEntities triggeringEntitiesRule="any"> <EntityRef entityRef="hero"/> </TriggeringEntities> <EntityCondition> <RelativeDistanceCondition entityRef="adversary" relativeDistanceType="cartesianDistance" value="40.0" freespace="false" rule="lessThan"/> </EntityCondition> </ByEntityCondition> </Condition> </ConditionGroup> </StartTrigger> </Event> <Event name="AdversaryChangesLane" priority="overwrite"> <Action name="AdversaryChangesLane"> <PrivateAction> <LateralAction> <LaneChangeAction> <LaneChangeActionDynamics dynamicsShape="linear" value="25" dynamicsDimension="distance"/> <LaneChangeTarget> <RelativeTargetLane entityRef="adversary" value="-1"/> </LaneChangeTarget> </LaneChangeAction> </LateralAction> </PrivateAction> </Action> <StartTrigger> <ConditionGroup> <Condition name="AfterAdversaryAccelerates" delay="0" conditionEdge="rising"> <ByValueCondition> <StoryboardElementStateCondition storyboardElementType="action" storyboardElementRef="AdversaryAccelerates" state="completeState"/> </ByValueCondition> </Condition> </ConditionGroup> </StartTrigger> </Event> </Maneuver> </ManeuverGroup> <StartTrigger> <ConditionGroup> <Condition name="OverallStartCondition" delay="0" conditionEdge="rising"> <ByEntityCondition> <TriggeringEntities triggeringEntitiesRule="any"> <EntityRef entityRef="hero"/> </TriggeringEntities> <EntityCondition> <TraveledDistanceCondition value="1.0"/> </EntityCondition> </ByEntityCondition> </Condition> <Condition name="StartTime" delay="0" conditionEdge="rising"> <ByValueCondition> <SimulationTimeCondition value="0" rule="equalTo"/> </ByValueCondition> </Condition> </ConditionGroup> </StartTrigger> <StopTrigger> <ConditionGroup> <Condition name="EndCondition" delay="0" conditionEdge="rising"> <ByEntityCondition> <TriggeringEntities triggeringEntitiesRule="any"> <EntityRef entityRef="hero"/> </TriggeringEntities> <EntityCondition> <TraveledDistanceCondition value="200.0"/> </EntityCondition> </ByEntityCondition> </Condition> </ConditionGroup> </StopTrigger> </Act> </Story> <StopTrigger> <ConditionGroup> <Condition name="criteria_RunningStopTest" delay="0" conditionEdge="rising"> <ByValueCondition> <ParameterCondition parameterRef="" value="" rule="lessThan"/> </ByValueCondition> </Condition> <Condition name="criteria_RunningRedLightTest" delay="0" conditionEdge="rising"> <ByValueCondition> <ParameterCondition parameterRef="" value="" rule="lessThan"/> </ByValueCondition> </Condition> <Condition name="criteria_WrongLaneTest" delay="0" conditionEdge="rising"> <ByValueCondition> <ParameterCondition parameterRef="" value="" rule="lessThan"/> </ByValueCondition> </Condition> <Condition name="criteria_OnSidewalkTest" delay="0" conditionEdge="rising"> <ByValueCondition> <ParameterCondition parameterRef="" value="" rule="lessThan"/> </ByValueCondition> </Condition> <Condition name="criteria_KeepLaneTest" delay="0" conditionEdge="rising"> <ByValueCondition> <ParameterCondition parameterRef="" value="" rule="lessThan"/> </ByValueCondition> </Condition> <Condition name="criteria_CollisionTest" delay="0" conditionEdge="rising"> <ByValueCondition> <ParameterCondition parameterRef="" value="" rule="lessThan"/> </ByValueCondition> </Condition> <Condition name="criteria_DrivenDistanceTest" delay="0" conditionEdge="rising"> <ByValueCondition> <ParameterCondition parameterRef="distance_success" value="100" rule="lessThan"/> </ByValueCondition> </Condition> </ConditionGroup> </StopTrigger> </Storyboard> </OpenSCENARIO> ```
Here is the result: ``` <?xml version="1.0" ?> <OpenSCENARIO> <FileHeader revMajor="1" revMinor="0" date="2020-03-24T12:00:00" description="CARLA:LaneChangeSimple" author=""/> <ParameterDeclarations/> <CatalogLocations/> <RoadNetwork> <LogicFile filepath="Town04"/> <SceneGraphFile filepath=""/> </RoadNetwork> <Entities> <ScenarioObject name="hero"> <Vehicle name="vehicle.tesla.model3" vehicleCategory="car"> <ParameterDeclarations/> <Performance maxSpeed="69.444" maxAcceleration="200" maxDeceleration="10.0"/> <BoundingBox> <Center x="1.5" y="0.0" z="0.9"/> <Dimensions width="2.1" length="4.5" height="1.8"/> </BoundingBox> <Axles> <FrontAxle maxSteering="0.5" wheelDiameter="0.6" trackWidth="1.8" positionX="3.1" positionZ="0.3"/> <RearAxle maxSteering="0.0" wheelDiameter="0.6" trackWidth="1.8" positionX="0.0" positionZ="0.3"/> </Axles> <Properties> <Property name="type" value="ego_vehicle"/> </Properties> </Vehicle> </ScenarioObject> <ScenarioObject name="adversary"> <Vehicle name="vehicle.lincoln.mkz_2017" vehicleCategory="car"> <ParameterDeclarations/> <Performance maxSpeed="69.444" maxAcceleration="200" maxDeceleration="10.0"/> <BoundingBox> <Center x="1.5" y="0.0" z="0.9"/> <Dimensions width="2.1" length="4.5" height="1.8"/> </BoundingBox> <Axles> <FrontAxle maxSteering="0.5" wheelDiameter="0.6" trackWidth="1.8" positionX="3.1" positionZ="0.3"/> <RearAxle maxSteering="0.0" wheelDiameter="0.6" trackWidth="1.8" positionX="0.0" positionZ="0.3"/> </Axles> <Properties> <Property name="type" value="simulation"/> </Properties> </Vehicle> </ScenarioObject> <ScenarioObject name="standing"> <Vehicle name="vehicle.volkswagen.t2" vehicleCategory="car"> <ParameterDeclarations/> <Performance maxSpeed="69.444" maxAcceleration="200" maxDeceleration="10.0"/> <BoundingBox> <Center x="1.5" y="0.0" z="0.9"/> <Dimensions width="2.1" length="4.5" height="1.8"/> </BoundingBox> <Axles> <FrontAxle maxSteering="0.5" wheelDiameter="0.6" trackWidth="1.8" positionX="3.1" positionZ="0.3"/> <RearAxle maxSteering="0.0" wheelDiameter="0.6" trackWidth="1.8" positionX="0.0" positionZ="0.3"/> </Axles> <Properties> <Property name="type" value="simulation"/> </Properties> </Vehicle> </ScenarioObject> <ScenarioObject name="pedestrian_close_to_hero_6856"> <Pedestrian model="walker.pedestrian.0001" mass="80" name="walker.pedestrian.0001" pedestrianCategory="pedestrian"> <ParameterDeclarations/> <BoundingBox> <Center x="1.5" y="0.0" z="0.9"/> <Dimensions width="2" length="2" height="2"/> </BoundingBox> <Properties> <Property name="type" value="simulation"/> </Properties> </Pedestrian> </ScenarioObject> <ScenarioObject name="pedestrian_close_to_standing_6857"> <Pedestrian model="walker.pedestrian.0001" mass="80" name="walker.pedestrian.0001" pedestrianCategory="pedestrian"> <ParameterDeclarations/> <BoundingBox> <Center x="1.5" y="0.0" z="0.9"/> <Dimensions width="2" length="2" height="2"/> </BoundingBox> <Properties> <Property name="type" value="simulation"/> </Properties> </Pedestrian> </ScenarioObject> <ScenarioObject name="pedestrian_close_to_hero_6858"> <Pedestrian model="walker.pedestrian.0001" mass="80" name="walker.pedestrian.0001" pedestrianCategory="pedestrian"> <ParameterDeclarations/> <BoundingBox> <Center x="1.5" y="0.0" z="0.9"/> <Dimensions width="2" length="2" height="2"/> </BoundingBox> <Properties> <Property name="type" value="simulation"/> </Properties> </Pedestrian> </ScenarioObject> <ScenarioObject name="pedestrian_close_to_hero_6859"> <Pedestrian model="walker.pedestrian.0001" mass="80" name="walker.pedestrian.0001" pedestrianCategory="pedestrian"> <ParameterDeclarations/> <BoundingBox> <Center x="1.5" y="0.0" z="0.9"/> <Dimensions width="2" length="2" height="2"/> </BoundingBox> <Properties> <Property name="type" value="simulation"/> </Properties> </Pedestrian> </ScenarioObject> <ScenarioObject name="pedestrian_w_transform_6862"> <Pedestrian model="walker.pedestrian.0001" mass="80" name="walker.pedestrian.0001" pedestrianCategory="pedestrian"> <ParameterDeclarations/> <BoundingBox> <Center x="1.5" y="0.0" z="0.9"/> <Dimensions width="2" length="2" height="2"/> </BoundingBox> <Properties> <Property name="type" value="simulation"/> </Properties> </Pedestrian> </ScenarioObject> <ScenarioObject name="pedestrian_w_transform_6863"> <Pedestrian model="walker.pedestrian.0001" mass="80" name="walker.pedestrian.0001" pedestrianCategory="pedestrian"> <ParameterDeclarations/> <BoundingBox> <Center x="1.5" y="0.0" z="0.9"/> <Dimensions width="2" length="2" height="2"/> </BoundingBox> <Properties> <Property name="type" value="simulation"/> </Properties> </Pedestrian> </ScenarioObject> <ScenarioObject name="pedestrian_close_to_hero_6864"> <Pedestrian model="walker.pedestrian.0001" mass="80" name="walker.pedestrian.0001" pedestrianCategory="pedestrian"> <ParameterDeclarations/> <BoundingBox> <Center x="1.5" y="0.0" z="0.9"/> <Dimensions width="2" length="2" height="2"/> </BoundingBox> <Properties> <Property name="type" value="simulation"/> </Properties> </Pedestrian> </ScenarioObject> <ScenarioObject name="pedestrian_close_to_adversary_6865"> <Pedestrian model="walker.pedestrian.0001" mass="80" name="walker.pedestrian.0001" pedestrianCategory="pedestrian"> <ParameterDeclarations/> <BoundingBox> <Center x="1.5" y="0.0" z="0.9"/> <Dimensions width="2" length="2" height="2"/> </BoundingBox> <Properties> <Property name="type" value="simulation"/> </Properties> </Pedestrian> </ScenarioObject> <ScenarioObject name="pedestrian_close_to_adversary_6866"> <Pedestrian model="walker.pedestrian.0001" mass="80" name="walker.pedestrian.0001" pedestrianCategory="pedestrian"> <ParameterDeclarations/> <BoundingBox> <Center x="1.5" y="0.0" z="0.9"/> <Dimensions width="2" length="2" height="2"/> </BoundingBox> <Properties> <Property name="type" value="simulation"/> </Properties> </Pedestrian> </ScenarioObject> <ScenarioObject name="pedestrian_close_to_hero_6867"> <Pedestrian model="walker.pedestrian.0001" mass="80" name="walker.pedestrian.0001" pedestrianCategory="pedestrian"> <ParameterDeclarations/> <BoundingBox> <Center x="1.5" y="0.0" z="0.9"/> <Dimensions width="2" length="2" height="2"/> </BoundingBox> <Properties> <Property name="type" value="simulation"/> </Properties> </Pedestrian> </ScenarioObject> <ScenarioObject name="pedestrian_close_to_hero_6868"> <Pedestrian model="walker.pedestrian.0001" mass="80" name="walker.pedestrian.0001" pedestrianCategory="pedestrian"> <ParameterDeclarations/> <BoundingBox> <Center x="1.5" y="0.0" z="0.9"/> <Dimensions width="2" length="2" height="2"/> </BoundingBox> <Properties> <Property name="type" value="simulation"/> </Properties> </Pedestrian> </ScenarioObject> <ScenarioObject name="pedestrian_close_to_adversary_6869"> <Pedestrian model="walker.pedestrian.0001" mass="80" name="walker.pedestrian.0001" pedestrianCategory="pedestrian"> <ParameterDeclarations/> <BoundingBox> <Center x="1.5" y="0.0" z="0.9"/> <Dimensions width="2" length="2" height="2"/> </BoundingBox> <Properties> <Property name="type" value="simulation"/> </Properties> </Pedestrian> </ScenarioObject> </Entities> <Storyboard> <Init> <Actions> <GlobalAction> <EnvironmentAction> <Environment name="Environment1"> <TimeOfDay animation="false" dateTime="2019-06-25T12:00:00"/> <Weather cloudState="free"> <Sun intensity="0.85" azimuth="0" elevation="1.31"/> <Fog visualRange="100000.0"/> <Precipitation precipitationType="dry" intensity="0.0"/> </Weather> <RoadCondition frictionScaleFactor="1.0"/> </Environment> </EnvironmentAction> </GlobalAction> <Private entityRef="hero"> <PrivateAction> <TeleportAction> <Position> <WorldPosition x="-9.4" y="-152.8" z="0.5" h="1.57079632679"/> </Position> </TeleportAction> </PrivateAction> <PrivateAction> <ControllerAction> <AssignControllerAction> <Controller name="HeroAgent"> <Properties> <Property name="module" value="external_control"/> </Properties> </Controller> </AssignControllerAction> <OverrideControllerValueAction> <Throttle value="0" active="false"/> <Brake value="0" active="false"/> <Clutch value="0" active="false"/> <ParkingBrake value="0" active="false"/> <SteeringWheel value="0" active="false"/> <Gear number="0" active="false"/> </OverrideControllerValueAction> </ControllerAction> </PrivateAction> </Private> <Private entityRef="adversary"> <PrivateAction> <TeleportAction> <Position> <WorldPosition x="-9.4" y="-71.0" z="0.5" h="1.57079632679"/> </Position> </TeleportAction> </PrivateAction> </Private> <Private entityRef="standing"> <PrivateAction> <TeleportAction> <Position> <WorldPosition x="-8.2" y="29.2" z="0.5" h="1.57079632679"/> </Position> </TeleportAction> </PrivateAction> </Private> <Private entityRef="pedestrian_close_to_hero_6856"> <PrivateAction> <TeleportAction> <Position> <WorldPosition x="-1.641479253768921" y="-148.2288818359375" z="0.0014286803780123591"/> </Position> </TeleportAction> </PrivateAction> </Private> <Private entityRef="pedestrian_close_to_standing_6857"> <PrivateAction> <TeleportAction> <Position> <WorldPosition x="8.715874671936035" y="20.409067153930664" z="0.003058280795812607"/> </Position> </TeleportAction> </PrivateAction> </Private> <Private entityRef="pedestrian_close_to_hero_6858"> <PrivateAction> <TeleportAction> <Position> <WorldPosition x="-3.943227529525757" y="-161.08291625976562" z="0.0014286803780123591"/> </Position> </TeleportAction> </PrivateAction> </Private> <Private entityRef="pedestrian_close_to_hero_6859"> <PrivateAction> <TeleportAction> <Position> <WorldPosition x="-12.610841751098633" y="-147.8064422607422" z="0.0014286803780123591"/> </Position> </TeleportAction> </PrivateAction> </Private> <Private entityRef="pedestrian_w_transform_6862"> <PrivateAction> <TeleportAction> <Position> <WorldPosition x="5.631577014923096" y="26.1667423248291" z="0.5"/> </Position> </TeleportAction> </PrivateAction> </Private> <Private entityRef="pedestrian_w_transform_6863"> <PrivateAction> <TeleportAction> <Position> <WorldPosition x="38.21703338623047" y="61.36579513549805" z="0.5"/> </Position> </TeleportAction> </PrivateAction> </Private> <Private entityRef="pedestrian_close_to_hero_6864"> <PrivateAction> <TeleportAction> <Position> <WorldPosition x="-16.206422805786133" y="-159.44085693359375" z="0.0014286803780123591"/> </Position> </TeleportAction> </PrivateAction> </Private> <Private entityRef="pedestrian_close_to_adversary_6865"> <PrivateAction> <TeleportAction> <Position> <WorldPosition x="-4.972630023956299" y="-62.90225601196289" z="0.03373340517282486"/> </Position> </TeleportAction> </PrivateAction> </Private> <Private entityRef="pedestrian_close_to_adversary_6866"> <PrivateAction> <TeleportAction> <Position> <WorldPosition x="-7.034584999084473" y="-70.320068359375" z="0.03380702808499336"/> </Position> </TeleportAction> </PrivateAction> </Private> <Private entityRef="pedestrian_close_to_hero_6867"> <PrivateAction> <TeleportAction> <Position> <WorldPosition x="-22.192487716674805" y="-147.48870849609375" z="0.0014286803780123591"/> </Position> </TeleportAction> </PrivateAction> </Private> <Private entityRef="pedestrian_close_to_hero_6868"> <PrivateAction> <TeleportAction> <Position> <WorldPosition x="-10.33435344696045" y="-150.74945068359375" z="0.0014286803780123591"/> </Position> </TeleportAction> </PrivateAction> </Private> <Private entityRef="pedestrian_close_to_adversary_6869"> <PrivateAction> <TeleportAction> <Position> <WorldPosition x="-13.854368209838867" y="-64.91071319580078" z="0.03380275517702103"/> </Position> </TeleportAction> </PrivateAction> </Private> </Actions> </Init> <Story name="MyStory"> <Act name="Behavior"> <ManeuverGroup maximumExecutionCount="1" name="ManeuverSequence"> <Actors selectTriggeringEntities="false"> <EntityRef entityRef="adversary"/> </Actors> <Maneuver name="LaneChangeSimpleManeuver"> <Event name="AdversaryAccelerates" priority="overwrite"> <Action name="AdversaryAccelerates"> <PrivateAction> <LongitudinalAction> <SpeedAction> <SpeedActionDynamics dynamicsShape="step" value="50" dynamicsDimension="distance"/> <SpeedActionTarget> <AbsoluteTargetSpeed value="5.0"/> </SpeedActionTarget> </SpeedAction> </LongitudinalAction> </PrivateAction> </Action> <StartTrigger> <ConditionGroup> <Condition name="StartCondition" delay="0" conditionEdge="rising"> <ByEntityCondition> <TriggeringEntities triggeringEntitiesRule="any"> <EntityRef entityRef="hero"/> </TriggeringEntities> <EntityCondition> <RelativeDistanceCondition entityRef="adversary" relativeDistanceType="cartesianDistance" value="40.0" freespace="false" rule="lessThan"/> </EntityCondition> </ByEntityCondition> </Condition> </ConditionGroup> </StartTrigger> </Event> <Event name="AdversaryChangesLane" priority="overwrite"> <Action name="AdversaryChangesLane"> <PrivateAction> <LateralAction> <LaneChangeAction> <LaneChangeActionDynamics dynamicsShape="linear" value="25" dynamicsDimension="distance"/> <LaneChangeTarget> <RelativeTargetLane entityRef="adversary" value="-1"/> </LaneChangeTarget> </LaneChangeAction> </LateralAction> </PrivateAction> </Action> <StartTrigger> <ConditionGroup> <Condition name="AfterAdversaryAccelerates" delay="0" conditionEdge="rising"> <ByValueCondition> <StoryboardElementStateCondition storyboardElementType="action" storyboardElementRef="AdversaryAccelerates" state="completeState"/> </ByValueCondition> </Condition> </ConditionGroup> </StartTrigger> </Event> </Maneuver> </ManeuverGroup> <StartTrigger> <ConditionGroup> <Condition name="OverallStartCondition" delay="0" conditionEdge="rising"> <ByEntityCondition> <TriggeringEntities triggeringEntitiesRule="any"> <EntityRef entityRef="hero"/> </TriggeringEntities> <EntityCondition> <TraveledDistanceCondition value="1.0"/> </EntityCondition> </ByEntityCondition> </Condition> <Condition name="StartTime" delay="0" conditionEdge="rising"> <ByValueCondition> <SimulationTimeCondition value="0" rule="equalTo"/> </ByValueCondition> </Condition> </ConditionGroup> </StartTrigger> <StopTrigger> <ConditionGroup> <Condition name="EndCondition" delay="0" conditionEdge="rising"> <ByEntityCondition> <TriggeringEntities triggeringEntitiesRule="any"> <EntityRef entityRef="hero"/> </TriggeringEntities> <EntityCondition> <TraveledDistanceCondition value="200.0"/> </EntityCondition> </ByEntityCondition> </Condition> </ConditionGroup> </StopTrigger> </Act> </Story> <StopTrigger> <ConditionGroup> <Condition name="criteria_RunningStopTest" delay="0" conditionEdge="rising"> <ByValueCondition> <ParameterCondition parameterRef="" value="" rule="lessThan"/> </ByValueCondition> </Condition> <Condition name="criteria_RunningRedLightTest" delay="0" conditionEdge="rising"> <ByValueCondition> <ParameterCondition parameterRef="" value="" rule="lessThan"/> </ByValueCondition> </Condition> <Condition name="criteria_WrongLaneTest" delay="0" conditionEdge="rising"> <ByValueCondition> <ParameterCondition parameterRef="" value="" rule="lessThan"/> </ByValueCondition> </Condition> <Condition name="criteria_OnSidewalkTest" delay="0" conditionEdge="rising"> <ByValueCondition> <ParameterCondition parameterRef="" value="" rule="lessThan"/> </ByValueCondition> </Condition> <Condition name="criteria_KeepLaneTest" delay="0" conditionEdge="rising"> <ByValueCondition> <ParameterCondition parameterRef="" value="" rule="lessThan"/> </ByValueCondition> </Condition> <Condition name="criteria_CollisionTest" delay="0" conditionEdge="rising"> <ByValueCondition> <ParameterCondition parameterRef="" value="" rule="lessThan"/> </ByValueCondition> </Condition> <Condition name="criteria_DrivenDistanceTest" delay="0" conditionEdge="rising"> <ByValueCondition> <ParameterCondition parameterRef="distance_success" value="100" rule="lessThan"/> </ByValueCondition> </Condition> </ConditionGroup> </StopTrigger> </Storyboard> </OpenSCENARIO> ```
would you add pedestrian close to hero? ``` <?xml version="1.0" ?> <OpenSCENARIO> <FileHeader revMajor="1" revMinor="0" date="2020-03-24T12:00:00" description="CARLA:LaneChangeSimple" author=""/> <ParameterDeclarations/> <CatalogLocations/> <RoadNetwork> <LogicFile filepath="Town04"/> <SceneGraphFile filepath=""/> </RoadNetwork> <Entities> <ScenarioObject name="hero"> <Vehicle name="vehicle.tesla.model3" vehicleCategory="car"> <ParameterDeclarations/> <Performance maxSpeed="69.444" maxAcceleration="200" maxDeceleration="10.0"/> <BoundingBox> <Center x="1.5" y="0.0" z="0.9"/> <Dimensions width="2.1" length="4.5" height="1.8"/> </BoundingBox> <Axles> <FrontAxle maxSteering="0.5" wheelDiameter="0.6" trackWidth="1.8" positionX="3.1" positionZ="0.3"/> <RearAxle maxSteering="0.0" wheelDiameter="0.6" trackWidth="1.8" positionX="0.0" positionZ="0.3"/> </Axles> <Properties> <Property name="type" value="ego_vehicle"/> </Properties> </Vehicle> </ScenarioObject> <ScenarioObject name="adversary"> <Vehicle name="vehicle.lincoln.mkz_2017" vehicleCategory="car"> <ParameterDeclarations/> <Performance maxSpeed="69.444" maxAcceleration="200" maxDeceleration="10.0"/> <BoundingBox> <Center x="1.5" y="0.0" z="0.9"/> <Dimensions width="2.1" length="4.5" height="1.8"/> </BoundingBox> <Axles> <FrontAxle maxSteering="0.5" wheelDiameter="0.6" trackWidth="1.8" positionX="3.1" positionZ="0.3"/> <RearAxle maxSteering="0.0" wheelDiameter="0.6" trackWidth="1.8" positionX="0.0" positionZ="0.3"/> </Axles> <Properties> <Property name="type" value="simulation"/> </Properties> </Vehicle> </ScenarioObject> <ScenarioObject name="standing"> <Vehicle name="vehicle.volkswagen.t2" vehicleCategory="car"> <ParameterDeclarations/> <Performance maxSpeed="69.444" maxAcceleration="200" maxDeceleration="10.0"/> <BoundingBox> <Center x="1.5" y="0.0" z="0.9"/> <Dimensions width="2.1" length="4.5" height="1.8"/> </BoundingBox> <Axles> <FrontAxle maxSteering="0.5" wheelDiameter="0.6" trackWidth="1.8" positionX="3.1" positionZ="0.3"/> <RearAxle maxSteering="0.0" wheelDiameter="0.6" trackWidth="1.8" positionX="0.0" positionZ="0.3"/> </Axles> <Properties> <Property name="type" value="simulation"/> </Properties> </Vehicle> </ScenarioObject> <ScenarioObject name="pedestrian_close_to_hero_2187"> <Pedestrian model="walker.pedestrian.0001" mass="80" name="walker.pedestrian.0001" pedestrianCategory="pedestrian"> <ParameterDeclarations/> <BoundingBox> <Center x="1.5" y="0.0" z="0.9"/> <Dimensions width="2" length="2" height="2"/> </BoundingBox> <Properties> <Property name="type" value="simulation"/> </Properties> </Pedestrian> </ScenarioObject> <ScenarioObject name="pedestrian_close_to_standing_2188"> <Pedestrian model="walker.pedestrian.0001" mass="80" name="walker.pedestrian.0001" pedestrianCategory="pedestrian"> <ParameterDeclarations/> <BoundingBox> <Center x="1.5" y="0.0" z="0.9"/> <Dimensions width="2" length="2" height="2"/> </BoundingBox> <Properties> <Property name="type" value="simulation"/> </Properties> </Pedestrian> </ScenarioObject> <ScenarioObject name="pedestrian_w_transform_2189"> <Pedestrian model="walker.pedestrian.0001" mass="80" name="walker.pedestrian.0001" pedestrianCategory="pedestrian"> <ParameterDeclarations/> <BoundingBox> <Center x="1.5" y="0.0" z="0.9"/> <Dimensions width="2" length="2" height="2"/> </BoundingBox> <Properties> <Property name="type" value="simulation"/> </Properties> </Pedestrian> </ScenarioObject> <ScenarioObject name="pedestrian_close_to_standing_2190"> <Pedestrian model="walker.pedestrian.0001" mass="80" name="walker.pedestrian.0001" pedestrianCategory="pedestrian"> <ParameterDeclarations/> <BoundingBox> <Center x="1.5" y="0.0" z="0.9"/> <Dimensions width="2" length="2" height="2"/> </BoundingBox> <Properties> <Property name="type" value="simulation"/> </Properties> </Pedestrian> </ScenarioObject> </Entities> <Storyboard> <Init> <Actions> <GlobalAction> <EnvironmentAction> <Environment name="Environment1"> <TimeOfDay animation="false" dateTime="2019-06-25T12:00:00"/> <Weather cloudState="free"> <Sun intensity="0.85" azimuth="0" elevation="1.31"/> <Fog visualRange="100000.0"/> <Precipitation precipitationType="dry" intensity="0.0"/> </Weather> <RoadCondition frictionScaleFactor="1.0"/> </Environment> </EnvironmentAction> </GlobalAction> <Private entityRef="hero"> <PrivateAction> <TeleportAction> <Position> <WorldPosition x="-9.4" y="-152.8" z="0.5" h="1.57079632679"/> </Position> </TeleportAction> </PrivateAction> <PrivateAction> <ControllerAction> <AssignControllerAction> <Controller name="HeroAgent"> <Properties> <Property name="module" value="external_control"/> </Properties> </Controller> </AssignControllerAction> <OverrideControllerValueAction> <Throttle value="0" active="false"/> <Brake value="0" active="false"/> <Clutch value="0" active="false"/> <ParkingBrake value="0" active="false"/> <SteeringWheel value="0" active="false"/> <Gear number="0" active="false"/> </OverrideControllerValueAction> </ControllerAction> </PrivateAction> </Private> <Private entityRef="adversary"> <PrivateAction> <TeleportAction> <Position> <WorldPosition x="-9.4" y="-71.0" z="0.5" h="1.57079632679"/> </Position> </TeleportAction> </PrivateAction> </Private> <Private entityRef="standing"> <PrivateAction> <TeleportAction> <Position> <WorldPosition x="-8.2" y="29.2" z="0.5" h="1.57079632679"/> </Position> </TeleportAction> </PrivateAction> </Private> <Private entityRef="pedestrian_close_to_hero_2187"> <PrivateAction> <TeleportAction> <Position> <WorldPosition x="-10.726509094238281" y="-146.86160278320312" z="0.0014286803780123591"/> </Position> </TeleportAction> </PrivateAction> </Private> <Private entityRef="pedestrian_close_to_standing_2188"> <PrivateAction> <TeleportAction> <Position> <WorldPosition x="-15.856893539428711" y="38.70355224609375" z="0.003062400734052062"/> </Position> </TeleportAction> </PrivateAction> </Private> <Private entityRef="pedestrian_w_transform_2189"> <PrivateAction> <TeleportAction> <Position> <WorldPosition x="39.58010482788086" y="71.49742126464844" z="0.5"/> </Position> </TeleportAction> </PrivateAction> </Private> <Private entityRef="pedestrian_close_to_standing_2190"> <PrivateAction> <TeleportAction> <Position> <WorldPosition x="-5.220244884490967" y="22.529579162597656" z="0.003081474220380187"/> </Position> </TeleportAction> </PrivateAction> </Private> </Actions> </Init> <Story name="MyStory"> <Act name="Behavior"> <ManeuverGroup maximumExecutionCount="1" name="ManeuverSequence"> <Actors selectTriggeringEntities="false"> <EntityRef entityRef="adversary"/> </Actors> <Maneuver name="LaneChangeSimpleManeuver"> <Event name="AdversaryAccelerates" priority="overwrite"> <Action name="AdversaryAccelerates"> <PrivateAction> <LongitudinalAction> <SpeedAction> <SpeedActionDynamics dynamicsShape="step" value="50" dynamicsDimension="distance"/> <SpeedActionTarget> <AbsoluteTargetSpeed value="5.0"/> </SpeedActionTarget> </SpeedAction> </LongitudinalAction> </PrivateAction> </Action> <StartTrigger> <ConditionGroup> <Condition name="StartCondition" delay="0" conditionEdge="rising"> <ByEntityCondition> <TriggeringEntities triggeringEntitiesRule="any"> <EntityRef entityRef="hero"/> </TriggeringEntities> <EntityCondition> <RelativeDistanceCondition entityRef="adversary" relativeDistanceType="cartesianDistance" value="40.0" freespace="false" rule="lessThan"/> </EntityCondition> </ByEntityCondition> </Condition> </ConditionGroup> </StartTrigger> </Event> <Event name="AdversaryChangesLane" priority="overwrite"> <Action name="AdversaryChangesLane"> <PrivateAction> <LateralAction> <LaneChangeAction> <LaneChangeActionDynamics dynamicsShape="linear" value="25" dynamicsDimension="distance"/> <LaneChangeTarget> <RelativeTargetLane entityRef="adversary" value="-1"/> </LaneChangeTarget> </LaneChangeAction> </LateralAction> </PrivateAction> </Action> <StartTrigger> <ConditionGroup> <Condition name="AfterAdversaryAccelerates" delay="0" conditionEdge="rising"> <ByValueCondition> <StoryboardElementStateCondition storyboardElementType="action" storyboardElementRef="AdversaryAccelerates" state="completeState"/> </ByValueCondition> </Condition> </ConditionGroup> </StartTrigger> </Event> </Maneuver> </ManeuverGroup> <StartTrigger> <ConditionGroup> <Condition name="OverallStartCondition" delay="0" conditionEdge="rising"> <ByEntityCondition> <TriggeringEntities triggeringEntitiesRule="any"> <EntityRef entityRef="hero"/> </TriggeringEntities> <EntityCondition> <TraveledDistanceCondition value="1.0"/> </EntityCondition> </ByEntityCondition> </Condition> <Condition name="StartTime" delay="0" conditionEdge="rising"> <ByValueCondition> <SimulationTimeCondition value="0" rule="equalTo"/> </ByValueCondition> </Condition> </ConditionGroup> </StartTrigger> <StopTrigger> <ConditionGroup> <Condition name="EndCondition" delay="0" conditionEdge="rising"> <ByEntityCondition> <TriggeringEntities triggeringEntitiesRule="any"> <EntityRef entityRef="hero"/> </TriggeringEntities> <EntityCondition> <TraveledDistanceCondition value="200.0"/> </EntityCondition> </ByEntityCondition> </Condition> </ConditionGroup> </StopTrigger> </Act> </Story> <StopTrigger> <ConditionGroup> <Condition name="criteria_RunningStopTest" delay="0" conditionEdge="rising"> <ByValueCondition> <ParameterCondition parameterRef="" value="" rule="lessThan"/> </ByValueCondition> </Condition> <Condition name="criteria_RunningRedLightTest" delay="0" conditionEdge="rising"> <ByValueCondition> <ParameterCondition parameterRef="" value="" rule="lessThan"/> </ByValueCondition> </Condition> <Condition name="criteria_WrongLaneTest" delay="0" conditionEdge="rising"> <ByValueCondition> <ParameterCondition parameterRef="" value="" rule="lessThan"/> </ByValueCondition> </Condition> <Condition name="criteria_OnSidewalkTest" delay="0" conditionEdge="rising"> <ByValueCondition> <ParameterCondition parameterRef="" value="" rule="lessThan"/> </ByValueCondition> </Condition> <Condition name="criteria_KeepLaneTest" delay="0" conditionEdge="rising"> <ByValueCondition> <ParameterCondition parameterRef="" value="" rule="lessThan"/> </ByValueCondition> </Condition> <Condition name="criteria_CollisionTest" delay="0" conditionEdge="rising"> <ByValueCondition> <ParameterCondition parameterRef="" value="" rule="lessThan"/> </ByValueCondition> </Condition> <Condition name="criteria_DrivenDistanceTest" delay="0" conditionEdge="rising"> <ByValueCondition> <ParameterCondition parameterRef="distance_success" value="100" rule="lessThan"/> </ByValueCondition> </Condition> </ConditionGroup> </StopTrigger> </Storyboard> </OpenSCENARIO> ```
Here is the result: ``` <?xml version="1.0" ?> <OpenSCENARIO> <FileHeader revMajor="1" revMinor="0" date="2020-03-24T12:00:00" description="CARLA:LaneChangeSimple" author=""/> <ParameterDeclarations/> <CatalogLocations/> <RoadNetwork> <LogicFile filepath="Town04"/> <SceneGraphFile filepath=""/> </RoadNetwork> <Entities> <ScenarioObject name="hero"> <Vehicle name="vehicle.tesla.model3" vehicleCategory="car"> <ParameterDeclarations/> <Performance maxSpeed="69.444" maxAcceleration="200" maxDeceleration="10.0"/> <BoundingBox> <Center x="1.5" y="0.0" z="0.9"/> <Dimensions width="2.1" length="4.5" height="1.8"/> </BoundingBox> <Axles> <FrontAxle maxSteering="0.5" wheelDiameter="0.6" trackWidth="1.8" positionX="3.1" positionZ="0.3"/> <RearAxle maxSteering="0.0" wheelDiameter="0.6" trackWidth="1.8" positionX="0.0" positionZ="0.3"/> </Axles> <Properties> <Property name="type" value="ego_vehicle"/> </Properties> </Vehicle> </ScenarioObject> <ScenarioObject name="adversary"> <Vehicle name="vehicle.lincoln.mkz_2017" vehicleCategory="car"> <ParameterDeclarations/> <Performance maxSpeed="69.444" maxAcceleration="200" maxDeceleration="10.0"/> <BoundingBox> <Center x="1.5" y="0.0" z="0.9"/> <Dimensions width="2.1" length="4.5" height="1.8"/> </BoundingBox> <Axles> <FrontAxle maxSteering="0.5" wheelDiameter="0.6" trackWidth="1.8" positionX="3.1" positionZ="0.3"/> <RearAxle maxSteering="0.0" wheelDiameter="0.6" trackWidth="1.8" positionX="0.0" positionZ="0.3"/> </Axles> <Properties> <Property name="type" value="simulation"/> </Properties> </Vehicle> </ScenarioObject> <ScenarioObject name="standing"> <Vehicle name="vehicle.volkswagen.t2" vehicleCategory="car"> <ParameterDeclarations/> <Performance maxSpeed="69.444" maxAcceleration="200" maxDeceleration="10.0"/> <BoundingBox> <Center x="1.5" y="0.0" z="0.9"/> <Dimensions width="2.1" length="4.5" height="1.8"/> </BoundingBox> <Axles> <FrontAxle maxSteering="0.5" wheelDiameter="0.6" trackWidth="1.8" positionX="3.1" positionZ="0.3"/> <RearAxle maxSteering="0.0" wheelDiameter="0.6" trackWidth="1.8" positionX="0.0" positionZ="0.3"/> </Axles> <Properties> <Property name="type" value="simulation"/> </Properties> </Vehicle> </ScenarioObject> <ScenarioObject name="pedestrian_close_to_hero_2187"> <Pedestrian model="walker.pedestrian.0001" mass="80" name="walker.pedestrian.0001" pedestrianCategory="pedestrian"> <ParameterDeclarations/> <BoundingBox> <Center x="1.5" y="0.0" z="0.9"/> <Dimensions width="2" length="2" height="2"/> </BoundingBox> <Properties> <Property name="type" value="simulation"/> </Properties> </Pedestrian> </ScenarioObject> <ScenarioObject name="pedestrian_close_to_standing_2188"> <Pedestrian model="walker.pedestrian.0001" mass="80" name="walker.pedestrian.0001" pedestrianCategory="pedestrian"> <ParameterDeclarations/> <BoundingBox> <Center x="1.5" y="0.0" z="0.9"/> <Dimensions width="2" length="2" height="2"/> </BoundingBox> <Properties> <Property name="type" value="simulation"/> </Properties> </Pedestrian> </ScenarioObject> <ScenarioObject name="pedestrian_w_transform_2189"> <Pedestrian model="walker.pedestrian.0001" mass="80" name="walker.pedestrian.0001" pedestrianCategory="pedestrian"> <ParameterDeclarations/> <BoundingBox> <Center x="1.5" y="0.0" z="0.9"/> <Dimensions width="2" length="2" height="2"/> </BoundingBox> <Properties> <Property name="type" value="simulation"/> </Properties> </Pedestrian> </ScenarioObject> <ScenarioObject name="pedestrian_close_to_standing_2190"> <Pedestrian model="walker.pedestrian.0001" mass="80" name="walker.pedestrian.0001" pedestrianCategory="pedestrian"> <ParameterDeclarations/> <BoundingBox> <Center x="1.5" y="0.0" z="0.9"/> <Dimensions width="2" length="2" height="2"/> </BoundingBox> <Properties> <Property name="type" value="simulation"/> </Properties> </Pedestrian> </ScenarioObject> <ScenarioObject name="pedestrian_close_to_hero_2191"> <Pedestrian model="walker.pedestrian.0001" mass="80" name="walker.pedestrian.0001" pedestrianCategory="pedestrian"> <ParameterDeclarations/> <BoundingBox> <Center x="1.5" y="0.0" z="0.9"/> <Dimensions width="2" length="2" height="2"/> </BoundingBox> <Properties> <Property name="type" value="simulation"/> </Properties> </Pedestrian> </ScenarioObject> </Entities> <Storyboard> <Init> <Actions> <GlobalAction> <EnvironmentAction> <Environment name="Environment1"> <TimeOfDay animation="false" dateTime="2019-06-25T12:00:00"/> <Weather cloudState="free"> <Sun intensity="0.85" azimuth="0" elevation="1.31"/> <Fog visualRange="100000.0"/> <Precipitation precipitationType="dry" intensity="0.0"/> </Weather> <RoadCondition frictionScaleFactor="1.0"/> </Environment> </EnvironmentAction> </GlobalAction> <Private entityRef="hero"> <PrivateAction> <TeleportAction> <Position> <WorldPosition x="-9.4" y="-152.8" z="0.5" h="1.57079632679"/> </Position> </TeleportAction> </PrivateAction> <PrivateAction> <ControllerAction> <AssignControllerAction> <Controller name="HeroAgent"> <Properties> <Property name="module" value="external_control"/> </Properties> </Controller> </AssignControllerAction> <OverrideControllerValueAction> <Throttle value="0" active="false"/> <Brake value="0" active="false"/> <Clutch value="0" active="false"/> <ParkingBrake value="0" active="false"/> <SteeringWheel value="0" active="false"/> <Gear number="0" active="false"/> </OverrideControllerValueAction> </ControllerAction> </PrivateAction> </Private> <Private entityRef="adversary"> <PrivateAction> <TeleportAction> <Position> <WorldPosition x="-9.4" y="-71.0" z="0.5" h="1.57079632679"/> </Position> </TeleportAction> </PrivateAction> </Private> <Private entityRef="standing"> <PrivateAction> <TeleportAction> <Position> <WorldPosition x="-8.2" y="29.2" z="0.5" h="1.57079632679"/> </Position> </TeleportAction> </PrivateAction> </Private> <Private entityRef="pedestrian_close_to_hero_2187"> <PrivateAction> <TeleportAction> <Position> <WorldPosition x="-10.726509094238281" y="-146.86160278320312" z="0.0014286803780123591"/> </Position> </TeleportAction> </PrivateAction> </Private> <Private entityRef="pedestrian_close_to_standing_2188"> <PrivateAction> <TeleportAction> <Position> <WorldPosition x="-15.856893539428711" y="38.70355224609375" z="0.003062400734052062"/> </Position> </TeleportAction> </PrivateAction> </Private> <Private entityRef="pedestrian_w_transform_2189"> <PrivateAction> <TeleportAction> <Position> <WorldPosition x="39.58010482788086" y="71.49742126464844" z="0.5"/> </Position> </TeleportAction> </PrivateAction> </Private> <Private entityRef="pedestrian_close_to_standing_2190"> <PrivateAction> <TeleportAction> <Position> <WorldPosition x="-5.220244884490967" y="22.529579162597656" z="0.003081474220380187"/> </Position> </TeleportAction> </PrivateAction> </Private> <Private entityRef="pedestrian_close_to_hero_2191"> <PrivateAction> <TeleportAction> <Position> <WorldPosition x="0.940374493598938" y="-142.4534912109375" z="0.0014286803780123591"/> </Position> </TeleportAction> </PrivateAction> </Private> </Actions> </Init> <Story name="MyStory"> <Act name="Behavior"> <ManeuverGroup maximumExecutionCount="1" name="ManeuverSequence"> <Actors selectTriggeringEntities="false"> <EntityRef entityRef="adversary"/> </Actors> <Maneuver name="LaneChangeSimpleManeuver"> <Event name="AdversaryAccelerates" priority="overwrite"> <Action name="AdversaryAccelerates"> <PrivateAction> <LongitudinalAction> <SpeedAction> <SpeedActionDynamics dynamicsShape="step" value="50" dynamicsDimension="distance"/> <SpeedActionTarget> <AbsoluteTargetSpeed value="5.0"/> </SpeedActionTarget> </SpeedAction> </LongitudinalAction> </PrivateAction> </Action> <StartTrigger> <ConditionGroup> <Condition name="StartCondition" delay="0" conditionEdge="rising"> <ByEntityCondition> <TriggeringEntities triggeringEntitiesRule="any"> <EntityRef entityRef="hero"/> </TriggeringEntities> <EntityCondition> <RelativeDistanceCondition entityRef="adversary" relativeDistanceType="cartesianDistance" value="40.0" freespace="false" rule="lessThan"/> </EntityCondition> </ByEntityCondition> </Condition> </ConditionGroup> </StartTrigger> </Event> <Event name="AdversaryChangesLane" priority="overwrite"> <Action name="AdversaryChangesLane"> <PrivateAction> <LateralAction> <LaneChangeAction> <LaneChangeActionDynamics dynamicsShape="linear" value="25" dynamicsDimension="distance"/> <LaneChangeTarget> <RelativeTargetLane entityRef="adversary" value="-1"/> </LaneChangeTarget> </LaneChangeAction> </LateralAction> </PrivateAction> </Action> <StartTrigger> <ConditionGroup> <Condition name="AfterAdversaryAccelerates" delay="0" conditionEdge="rising"> <ByValueCondition> <StoryboardElementStateCondition storyboardElementType="action" storyboardElementRef="AdversaryAccelerates" state="completeState"/> </ByValueCondition> </Condition> </ConditionGroup> </StartTrigger> </Event> </Maneuver> </ManeuverGroup> <StartTrigger> <ConditionGroup> <Condition name="OverallStartCondition" delay="0" conditionEdge="rising"> <ByEntityCondition> <TriggeringEntities triggeringEntitiesRule="any"> <EntityRef entityRef="hero"/> </TriggeringEntities> <EntityCondition> <TraveledDistanceCondition value="1.0"/> </EntityCondition> </ByEntityCondition> </Condition> <Condition name="StartTime" delay="0" conditionEdge="rising"> <ByValueCondition> <SimulationTimeCondition value="0" rule="equalTo"/> </ByValueCondition> </Condition> </ConditionGroup> </StartTrigger> <StopTrigger> <ConditionGroup> <Condition name="EndCondition" delay="0" conditionEdge="rising"> <ByEntityCondition> <TriggeringEntities triggeringEntitiesRule="any"> <EntityRef entityRef="hero"/> </TriggeringEntities> <EntityCondition> <TraveledDistanceCondition value="200.0"/> </EntityCondition> </ByEntityCondition> </Condition> </ConditionGroup> </StopTrigger> </Act> </Story> <StopTrigger> <ConditionGroup> <Condition name="criteria_RunningStopTest" delay="0" conditionEdge="rising"> <ByValueCondition> <ParameterCondition parameterRef="" value="" rule="lessThan"/> </ByValueCondition> </Condition> <Condition name="criteria_RunningRedLightTest" delay="0" conditionEdge="rising"> <ByValueCondition> <ParameterCondition parameterRef="" value="" rule="lessThan"/> </ByValueCondition> </Condition> <Condition name="criteria_WrongLaneTest" delay="0" conditionEdge="rising"> <ByValueCondition> <ParameterCondition parameterRef="" value="" rule="lessThan"/> </ByValueCondition> </Condition> <Condition name="criteria_OnSidewalkTest" delay="0" conditionEdge="rising"> <ByValueCondition> <ParameterCondition parameterRef="" value="" rule="lessThan"/> </ByValueCondition> </Condition> <Condition name="criteria_KeepLaneTest" delay="0" conditionEdge="rising"> <ByValueCondition> <ParameterCondition parameterRef="" value="" rule="lessThan"/> </ByValueCondition> </Condition> <Condition name="criteria_CollisionTest" delay="0" conditionEdge="rising"> <ByValueCondition> <ParameterCondition parameterRef="" value="" rule="lessThan"/> </ByValueCondition> </Condition> <Condition name="criteria_DrivenDistanceTest" delay="0" conditionEdge="rising"> <ByValueCondition> <ParameterCondition parameterRef="distance_success" value="100" rule="lessThan"/> </ByValueCondition> </Condition> </ConditionGroup> </StopTrigger> </Storyboard> </OpenSCENARIO> ```
i would like to direct you to add pedestrian at location (12.18, 59.54, 0.5)? ``` <?xml version="1.0" ?> <OpenSCENARIO> <FileHeader revMajor="1" revMinor="0" date="2020-03-24T12:00:00" description="CARLA:LaneChangeSimple" author=""/> <ParameterDeclarations/> <CatalogLocations/> <RoadNetwork> <LogicFile filepath="Town04"/> <SceneGraphFile filepath=""/> </RoadNetwork> <Entities> <ScenarioObject name="hero"> <Vehicle name="vehicle.tesla.model3" vehicleCategory="car"> <ParameterDeclarations/> <Performance maxSpeed="69.444" maxAcceleration="200" maxDeceleration="10.0"/> <BoundingBox> <Center x="1.5" y="0.0" z="0.9"/> <Dimensions width="2.1" length="4.5" height="1.8"/> </BoundingBox> <Axles> <FrontAxle maxSteering="0.5" wheelDiameter="0.6" trackWidth="1.8" positionX="3.1" positionZ="0.3"/> <RearAxle maxSteering="0.0" wheelDiameter="0.6" trackWidth="1.8" positionX="0.0" positionZ="0.3"/> </Axles> <Properties> <Property name="type" value="ego_vehicle"/> </Properties> </Vehicle> </ScenarioObject> <ScenarioObject name="adversary"> <Vehicle name="vehicle.lincoln.mkz_2017" vehicleCategory="car"> <ParameterDeclarations/> <Performance maxSpeed="69.444" maxAcceleration="200" maxDeceleration="10.0"/> <BoundingBox> <Center x="1.5" y="0.0" z="0.9"/> <Dimensions width="2.1" length="4.5" height="1.8"/> </BoundingBox> <Axles> <FrontAxle maxSteering="0.5" wheelDiameter="0.6" trackWidth="1.8" positionX="3.1" positionZ="0.3"/> <RearAxle maxSteering="0.0" wheelDiameter="0.6" trackWidth="1.8" positionX="0.0" positionZ="0.3"/> </Axles> <Properties> <Property name="type" value="simulation"/> </Properties> </Vehicle> </ScenarioObject> <ScenarioObject name="standing"> <Vehicle name="vehicle.volkswagen.t2" vehicleCategory="car"> <ParameterDeclarations/> <Performance maxSpeed="69.444" maxAcceleration="200" maxDeceleration="10.0"/> <BoundingBox> <Center x="1.5" y="0.0" z="0.9"/> <Dimensions width="2.1" length="4.5" height="1.8"/> </BoundingBox> <Axles> <FrontAxle maxSteering="0.5" wheelDiameter="0.6" trackWidth="1.8" positionX="3.1" positionZ="0.3"/> <RearAxle maxSteering="0.0" wheelDiameter="0.6" trackWidth="1.8" positionX="0.0" positionZ="0.3"/> </Axles> <Properties> <Property name="type" value="simulation"/> </Properties> </Vehicle> </ScenarioObject> <ScenarioObject name="pedestrian_close_to_standing_7934"> <Pedestrian model="walker.pedestrian.0001" mass="80" name="walker.pedestrian.0001" pedestrianCategory="pedestrian"> <ParameterDeclarations/> <BoundingBox> <Center x="1.5" y="0.0" z="0.9"/> <Dimensions width="2" length="2" height="2"/> </BoundingBox> <Properties> <Property name="type" value="simulation"/> </Properties> </Pedestrian> </ScenarioObject> <ScenarioObject name="pedestrian_w_transform_7935"> <Pedestrian model="walker.pedestrian.0001" mass="80" name="walker.pedestrian.0001" pedestrianCategory="pedestrian"> <ParameterDeclarations/> <BoundingBox> <Center x="1.5" y="0.0" z="0.9"/> <Dimensions width="2" length="2" height="2"/> </BoundingBox> <Properties> <Property name="type" value="simulation"/> </Properties> </Pedestrian> </ScenarioObject> <ScenarioObject name="pedestrian_close_to_standing_7936"> <Pedestrian model="walker.pedestrian.0001" mass="80" name="walker.pedestrian.0001" pedestrianCategory="pedestrian"> <ParameterDeclarations/> <BoundingBox> <Center x="1.5" y="0.0" z="0.9"/> <Dimensions width="2" length="2" height="2"/> </BoundingBox> <Properties> <Property name="type" value="simulation"/> </Properties> </Pedestrian> </ScenarioObject> <ScenarioObject name="pedestrian_close_to_hero_7937"> <Pedestrian model="walker.pedestrian.0001" mass="80" name="walker.pedestrian.0001" pedestrianCategory="pedestrian"> <ParameterDeclarations/> <BoundingBox> <Center x="1.5" y="0.0" z="0.9"/> <Dimensions width="2" length="2" height="2"/> </BoundingBox> <Properties> <Property name="type" value="simulation"/> </Properties> </Pedestrian> </ScenarioObject> <ScenarioObject name="pedestrian_w_transform_7938"> <Pedestrian model="walker.pedestrian.0001" mass="80" name="walker.pedestrian.0001" pedestrianCategory="pedestrian"> <ParameterDeclarations/> <BoundingBox> <Center x="1.5" y="0.0" z="0.9"/> <Dimensions width="2" length="2" height="2"/> </BoundingBox> <Properties> <Property name="type" value="simulation"/> </Properties> </Pedestrian> </ScenarioObject> <ScenarioObject name="pedestrian_w_transform_7939"> <Pedestrian model="walker.pedestrian.0001" mass="80" name="walker.pedestrian.0001" pedestrianCategory="pedestrian"> <ParameterDeclarations/> <BoundingBox> <Center x="1.5" y="0.0" z="0.9"/> <Dimensions width="2" length="2" height="2"/> </BoundingBox> <Properties> <Property name="type" value="simulation"/> </Properties> </Pedestrian> </ScenarioObject> <ScenarioObject name="pedestrian_w_transform_7940"> <Pedestrian model="walker.pedestrian.0001" mass="80" name="walker.pedestrian.0001" pedestrianCategory="pedestrian"> <ParameterDeclarations/> <BoundingBox> <Center x="1.5" y="0.0" z="0.9"/> <Dimensions width="2" length="2" height="2"/> </BoundingBox> <Properties> <Property name="type" value="simulation"/> </Properties> </Pedestrian> </ScenarioObject> <ScenarioObject name="pedestrian_close_to_hero_7941"> <Pedestrian model="walker.pedestrian.0001" mass="80" name="walker.pedestrian.0001" pedestrianCategory="pedestrian"> <ParameterDeclarations/> <BoundingBox> <Center x="1.5" y="0.0" z="0.9"/> <Dimensions width="2" length="2" height="2"/> </BoundingBox> <Properties> <Property name="type" value="simulation"/> </Properties> </Pedestrian> </ScenarioObject> <ScenarioObject name="pedestrian_close_to_hero_7942"> <Pedestrian model="walker.pedestrian.0001" mass="80" name="walker.pedestrian.0001" pedestrianCategory="pedestrian"> <ParameterDeclarations/> <BoundingBox> <Center x="1.5" y="0.0" z="0.9"/> <Dimensions width="2" length="2" height="2"/> </BoundingBox> <Properties> <Property name="type" value="simulation"/> </Properties> </Pedestrian> </ScenarioObject> </Entities> <Storyboard> <Init> <Actions> <GlobalAction> <EnvironmentAction> <Environment name="Environment1"> <TimeOfDay animation="false" dateTime="2019-06-25T12:00:00"/> <Weather cloudState="free"> <Sun intensity="0.85" azimuth="0" elevation="1.31"/> <Fog visualRange="100000.0"/> <Precipitation precipitationType="dry" intensity="0.0"/> </Weather> <RoadCondition frictionScaleFactor="1.0"/> </Environment> </EnvironmentAction> </GlobalAction> <Private entityRef="hero"> <PrivateAction> <TeleportAction> <Position> <WorldPosition x="-9.4" y="-152.8" z="0.5" h="1.57079632679"/> </Position> </TeleportAction> </PrivateAction> <PrivateAction> <ControllerAction> <AssignControllerAction> <Controller name="HeroAgent"> <Properties> <Property name="module" value="external_control"/> </Properties> </Controller> </AssignControllerAction> <OverrideControllerValueAction> <Throttle value="0" active="false"/> <Brake value="0" active="false"/> <Clutch value="0" active="false"/> <ParkingBrake value="0" active="false"/> <SteeringWheel value="0" active="false"/> <Gear number="0" active="false"/> </OverrideControllerValueAction> </ControllerAction> </PrivateAction> </Private> <Private entityRef="adversary"> <PrivateAction> <TeleportAction> <Position> <WorldPosition x="-9.4" y="-71.0" z="0.5" h="1.57079632679"/> </Position> </TeleportAction> </PrivateAction> </Private> <Private entityRef="standing"> <PrivateAction> <TeleportAction> <Position> <WorldPosition x="-8.2" y="29.2" z="0.5" h="1.57079632679"/> </Position> </TeleportAction> </PrivateAction> </Private> <Private entityRef="pedestrian_close_to_standing_7934"> <PrivateAction> <TeleportAction> <Position> <WorldPosition x="-24.42301368713379" y="33.333003997802734" z="0.003027420025318861"/> </Position> </TeleportAction> </PrivateAction> </Private> <Private entityRef="pedestrian_w_transform_7935"> <PrivateAction> <TeleportAction> <Position> <WorldPosition x="32.29779052734375" y="51.55949401855469" z="0.5"/> </Position> </TeleportAction> </PrivateAction> </Private> <Private entityRef="pedestrian_close_to_standing_7936"> <PrivateAction> <TeleportAction> <Position> <WorldPosition x="-16.97378158569336" y="31.991125106811523" z="0.0030507659539580345"/> </Position> </TeleportAction> </PrivateAction> </Private> <Private entityRef="pedestrian_close_to_hero_7937"> <PrivateAction> <TeleportAction> <Position> <WorldPosition x="-12.730548858642578" y="-156.95814514160156" z="0.0014286803780123591"/> </Position> </TeleportAction> </PrivateAction> </Private> <Private entityRef="pedestrian_w_transform_7938"> <PrivateAction> <TeleportAction> <Position> <WorldPosition x="-89.13175964355469" y="61.59669876098633" z="0.5"/> </Position> </TeleportAction> </PrivateAction> </Private> <Private entityRef="pedestrian_w_transform_7939"> <PrivateAction> <TeleportAction> <Position> <WorldPosition x="-32.19202423095703" y="40.75343322753906" z="0.5"/> </Position> </TeleportAction> </PrivateAction> </Private> <Private entityRef="pedestrian_w_transform_7940"> <PrivateAction> <TeleportAction> <Position> <WorldPosition x="-32.06325912475586" y="-87.95255279541016" z="0.5"/> </Position> </TeleportAction> </PrivateAction> </Private> <Private entityRef="pedestrian_close_to_hero_7941"> <PrivateAction> <TeleportAction> <Position> <WorldPosition x="-3.7828333377838135" y="-153.6885986328125" z="0.0014286803780123591"/> </Position> </TeleportAction> </PrivateAction> </Private> <Private entityRef="pedestrian_close_to_hero_7942"> <PrivateAction> <TeleportAction> <Position> <WorldPosition x="-12.084003448486328" y="-149.9693145751953" z="0.0014286803780123591"/> </Position> </TeleportAction> </PrivateAction> </Private> </Actions> </Init> <Story name="MyStory"> <Act name="Behavior"> <ManeuverGroup maximumExecutionCount="1" name="ManeuverSequence"> <Actors selectTriggeringEntities="false"> <EntityRef entityRef="adversary"/> </Actors> <Maneuver name="LaneChangeSimpleManeuver"> <Event name="AdversaryAccelerates" priority="overwrite"> <Action name="AdversaryAccelerates"> <PrivateAction> <LongitudinalAction> <SpeedAction> <SpeedActionDynamics dynamicsShape="step" value="50" dynamicsDimension="distance"/> <SpeedActionTarget> <AbsoluteTargetSpeed value="5.0"/> </SpeedActionTarget> </SpeedAction> </LongitudinalAction> </PrivateAction> </Action> <StartTrigger> <ConditionGroup> <Condition name="StartCondition" delay="0" conditionEdge="rising"> <ByEntityCondition> <TriggeringEntities triggeringEntitiesRule="any"> <EntityRef entityRef="hero"/> </TriggeringEntities> <EntityCondition> <RelativeDistanceCondition entityRef="adversary" relativeDistanceType="cartesianDistance" value="40.0" freespace="false" rule="lessThan"/> </EntityCondition> </ByEntityCondition> </Condition> </ConditionGroup> </StartTrigger> </Event> <Event name="AdversaryChangesLane" priority="overwrite"> <Action name="AdversaryChangesLane"> <PrivateAction> <LateralAction> <LaneChangeAction> <LaneChangeActionDynamics dynamicsShape="linear" value="25" dynamicsDimension="distance"/> <LaneChangeTarget> <RelativeTargetLane entityRef="adversary" value="-1"/> </LaneChangeTarget> </LaneChangeAction> </LateralAction> </PrivateAction> </Action> <StartTrigger> <ConditionGroup> <Condition name="AfterAdversaryAccelerates" delay="0" conditionEdge="rising"> <ByValueCondition> <StoryboardElementStateCondition storyboardElementType="action" storyboardElementRef="AdversaryAccelerates" state="completeState"/> </ByValueCondition> </Condition> </ConditionGroup> </StartTrigger> </Event> </Maneuver> </ManeuverGroup> <StartTrigger> <ConditionGroup> <Condition name="OverallStartCondition" delay="0" conditionEdge="rising"> <ByEntityCondition> <TriggeringEntities triggeringEntitiesRule="any"> <EntityRef entityRef="hero"/> </TriggeringEntities> <EntityCondition> <TraveledDistanceCondition value="1.0"/> </EntityCondition> </ByEntityCondition> </Condition> <Condition name="StartTime" delay="0" conditionEdge="rising"> <ByValueCondition> <SimulationTimeCondition value="0" rule="equalTo"/> </ByValueCondition> </Condition> </ConditionGroup> </StartTrigger> <StopTrigger> <ConditionGroup> <Condition name="EndCondition" delay="0" conditionEdge="rising"> <ByEntityCondition> <TriggeringEntities triggeringEntitiesRule="any"> <EntityRef entityRef="hero"/> </TriggeringEntities> <EntityCondition> <TraveledDistanceCondition value="200.0"/> </EntityCondition> </ByEntityCondition> </Condition> </ConditionGroup> </StopTrigger> </Act> </Story> <StopTrigger> <ConditionGroup> <Condition name="criteria_RunningStopTest" delay="0" conditionEdge="rising"> <ByValueCondition> <ParameterCondition parameterRef="" value="" rule="lessThan"/> </ByValueCondition> </Condition> <Condition name="criteria_RunningRedLightTest" delay="0" conditionEdge="rising"> <ByValueCondition> <ParameterCondition parameterRef="" value="" rule="lessThan"/> </ByValueCondition> </Condition> <Condition name="criteria_WrongLaneTest" delay="0" conditionEdge="rising"> <ByValueCondition> <ParameterCondition parameterRef="" value="" rule="lessThan"/> </ByValueCondition> </Condition> <Condition name="criteria_OnSidewalkTest" delay="0" conditionEdge="rising"> <ByValueCondition> <ParameterCondition parameterRef="" value="" rule="lessThan"/> </ByValueCondition> </Condition> <Condition name="criteria_KeepLaneTest" delay="0" conditionEdge="rising"> <ByValueCondition> <ParameterCondition parameterRef="" value="" rule="lessThan"/> </ByValueCondition> </Condition> <Condition name="criteria_CollisionTest" delay="0" conditionEdge="rising"> <ByValueCondition> <ParameterCondition parameterRef="" value="" rule="lessThan"/> </ByValueCondition> </Condition> <Condition name="criteria_DrivenDistanceTest" delay="0" conditionEdge="rising"> <ByValueCondition> <ParameterCondition parameterRef="distance_success" value="100" rule="lessThan"/> </ByValueCondition> </Condition> </ConditionGroup> </StopTrigger> </Storyboard> </OpenSCENARIO> ```
Here is the result: ``` <?xml version="1.0" ?> <OpenSCENARIO> <FileHeader revMajor="1" revMinor="0" date="2020-03-24T12:00:00" description="CARLA:LaneChangeSimple" author=""/> <ParameterDeclarations/> <CatalogLocations/> <RoadNetwork> <LogicFile filepath="Town04"/> <SceneGraphFile filepath=""/> </RoadNetwork> <Entities> <ScenarioObject name="hero"> <Vehicle name="vehicle.tesla.model3" vehicleCategory="car"> <ParameterDeclarations/> <Performance maxSpeed="69.444" maxAcceleration="200" maxDeceleration="10.0"/> <BoundingBox> <Center x="1.5" y="0.0" z="0.9"/> <Dimensions width="2.1" length="4.5" height="1.8"/> </BoundingBox> <Axles> <FrontAxle maxSteering="0.5" wheelDiameter="0.6" trackWidth="1.8" positionX="3.1" positionZ="0.3"/> <RearAxle maxSteering="0.0" wheelDiameter="0.6" trackWidth="1.8" positionX="0.0" positionZ="0.3"/> </Axles> <Properties> <Property name="type" value="ego_vehicle"/> </Properties> </Vehicle> </ScenarioObject> <ScenarioObject name="adversary"> <Vehicle name="vehicle.lincoln.mkz_2017" vehicleCategory="car"> <ParameterDeclarations/> <Performance maxSpeed="69.444" maxAcceleration="200" maxDeceleration="10.0"/> <BoundingBox> <Center x="1.5" y="0.0" z="0.9"/> <Dimensions width="2.1" length="4.5" height="1.8"/> </BoundingBox> <Axles> <FrontAxle maxSteering="0.5" wheelDiameter="0.6" trackWidth="1.8" positionX="3.1" positionZ="0.3"/> <RearAxle maxSteering="0.0" wheelDiameter="0.6" trackWidth="1.8" positionX="0.0" positionZ="0.3"/> </Axles> <Properties> <Property name="type" value="simulation"/> </Properties> </Vehicle> </ScenarioObject> <ScenarioObject name="standing"> <Vehicle name="vehicle.volkswagen.t2" vehicleCategory="car"> <ParameterDeclarations/> <Performance maxSpeed="69.444" maxAcceleration="200" maxDeceleration="10.0"/> <BoundingBox> <Center x="1.5" y="0.0" z="0.9"/> <Dimensions width="2.1" length="4.5" height="1.8"/> </BoundingBox> <Axles> <FrontAxle maxSteering="0.5" wheelDiameter="0.6" trackWidth="1.8" positionX="3.1" positionZ="0.3"/> <RearAxle maxSteering="0.0" wheelDiameter="0.6" trackWidth="1.8" positionX="0.0" positionZ="0.3"/> </Axles> <Properties> <Property name="type" value="simulation"/> </Properties> </Vehicle> </ScenarioObject> <ScenarioObject name="pedestrian_close_to_standing_7934"> <Pedestrian model="walker.pedestrian.0001" mass="80" name="walker.pedestrian.0001" pedestrianCategory="pedestrian"> <ParameterDeclarations/> <BoundingBox> <Center x="1.5" y="0.0" z="0.9"/> <Dimensions width="2" length="2" height="2"/> </BoundingBox> <Properties> <Property name="type" value="simulation"/> </Properties> </Pedestrian> </ScenarioObject> <ScenarioObject name="pedestrian_w_transform_7935"> <Pedestrian model="walker.pedestrian.0001" mass="80" name="walker.pedestrian.0001" pedestrianCategory="pedestrian"> <ParameterDeclarations/> <BoundingBox> <Center x="1.5" y="0.0" z="0.9"/> <Dimensions width="2" length="2" height="2"/> </BoundingBox> <Properties> <Property name="type" value="simulation"/> </Properties> </Pedestrian> </ScenarioObject> <ScenarioObject name="pedestrian_close_to_standing_7936"> <Pedestrian model="walker.pedestrian.0001" mass="80" name="walker.pedestrian.0001" pedestrianCategory="pedestrian"> <ParameterDeclarations/> <BoundingBox> <Center x="1.5" y="0.0" z="0.9"/> <Dimensions width="2" length="2" height="2"/> </BoundingBox> <Properties> <Property name="type" value="simulation"/> </Properties> </Pedestrian> </ScenarioObject> <ScenarioObject name="pedestrian_close_to_hero_7937"> <Pedestrian model="walker.pedestrian.0001" mass="80" name="walker.pedestrian.0001" pedestrianCategory="pedestrian"> <ParameterDeclarations/> <BoundingBox> <Center x="1.5" y="0.0" z="0.9"/> <Dimensions width="2" length="2" height="2"/> </BoundingBox> <Properties> <Property name="type" value="simulation"/> </Properties> </Pedestrian> </ScenarioObject> <ScenarioObject name="pedestrian_w_transform_7938"> <Pedestrian model="walker.pedestrian.0001" mass="80" name="walker.pedestrian.0001" pedestrianCategory="pedestrian"> <ParameterDeclarations/> <BoundingBox> <Center x="1.5" y="0.0" z="0.9"/> <Dimensions width="2" length="2" height="2"/> </BoundingBox> <Properties> <Property name="type" value="simulation"/> </Properties> </Pedestrian> </ScenarioObject> <ScenarioObject name="pedestrian_w_transform_7939"> <Pedestrian model="walker.pedestrian.0001" mass="80" name="walker.pedestrian.0001" pedestrianCategory="pedestrian"> <ParameterDeclarations/> <BoundingBox> <Center x="1.5" y="0.0" z="0.9"/> <Dimensions width="2" length="2" height="2"/> </BoundingBox> <Properties> <Property name="type" value="simulation"/> </Properties> </Pedestrian> </ScenarioObject> <ScenarioObject name="pedestrian_w_transform_7940"> <Pedestrian model="walker.pedestrian.0001" mass="80" name="walker.pedestrian.0001" pedestrianCategory="pedestrian"> <ParameterDeclarations/> <BoundingBox> <Center x="1.5" y="0.0" z="0.9"/> <Dimensions width="2" length="2" height="2"/> </BoundingBox> <Properties> <Property name="type" value="simulation"/> </Properties> </Pedestrian> </ScenarioObject> <ScenarioObject name="pedestrian_close_to_hero_7941"> <Pedestrian model="walker.pedestrian.0001" mass="80" name="walker.pedestrian.0001" pedestrianCategory="pedestrian"> <ParameterDeclarations/> <BoundingBox> <Center x="1.5" y="0.0" z="0.9"/> <Dimensions width="2" length="2" height="2"/> </BoundingBox> <Properties> <Property name="type" value="simulation"/> </Properties> </Pedestrian> </ScenarioObject> <ScenarioObject name="pedestrian_close_to_hero_7942"> <Pedestrian model="walker.pedestrian.0001" mass="80" name="walker.pedestrian.0001" pedestrianCategory="pedestrian"> <ParameterDeclarations/> <BoundingBox> <Center x="1.5" y="0.0" z="0.9"/> <Dimensions width="2" length="2" height="2"/> </BoundingBox> <Properties> <Property name="type" value="simulation"/> </Properties> </Pedestrian> </ScenarioObject> <ScenarioObject name="pedestrian_w_transform_7943"> <Pedestrian model="walker.pedestrian.0001" mass="80" name="walker.pedestrian.0001" pedestrianCategory="pedestrian"> <ParameterDeclarations/> <BoundingBox> <Center x="1.5" y="0.0" z="0.9"/> <Dimensions width="2" length="2" height="2"/> </BoundingBox> <Properties> <Property name="type" value="simulation"/> </Properties> </Pedestrian> </ScenarioObject> </Entities> <Storyboard> <Init> <Actions> <GlobalAction> <EnvironmentAction> <Environment name="Environment1"> <TimeOfDay animation="false" dateTime="2019-06-25T12:00:00"/> <Weather cloudState="free"> <Sun intensity="0.85" azimuth="0" elevation="1.31"/> <Fog visualRange="100000.0"/> <Precipitation precipitationType="dry" intensity="0.0"/> </Weather> <RoadCondition frictionScaleFactor="1.0"/> </Environment> </EnvironmentAction> </GlobalAction> <Private entityRef="hero"> <PrivateAction> <TeleportAction> <Position> <WorldPosition x="-9.4" y="-152.8" z="0.5" h="1.57079632679"/> </Position> </TeleportAction> </PrivateAction> <PrivateAction> <ControllerAction> <AssignControllerAction> <Controller name="HeroAgent"> <Properties> <Property name="module" value="external_control"/> </Properties> </Controller> </AssignControllerAction> <OverrideControllerValueAction> <Throttle value="0" active="false"/> <Brake value="0" active="false"/> <Clutch value="0" active="false"/> <ParkingBrake value="0" active="false"/> <SteeringWheel value="0" active="false"/> <Gear number="0" active="false"/> </OverrideControllerValueAction> </ControllerAction> </PrivateAction> </Private> <Private entityRef="adversary"> <PrivateAction> <TeleportAction> <Position> <WorldPosition x="-9.4" y="-71.0" z="0.5" h="1.57079632679"/> </Position> </TeleportAction> </PrivateAction> </Private> <Private entityRef="standing"> <PrivateAction> <TeleportAction> <Position> <WorldPosition x="-8.2" y="29.2" z="0.5" h="1.57079632679"/> </Position> </TeleportAction> </PrivateAction> </Private> <Private entityRef="pedestrian_close_to_standing_7934"> <PrivateAction> <TeleportAction> <Position> <WorldPosition x="-24.42301368713379" y="33.333003997802734" z="0.003027420025318861"/> </Position> </TeleportAction> </PrivateAction> </Private> <Private entityRef="pedestrian_w_transform_7935"> <PrivateAction> <TeleportAction> <Position> <WorldPosition x="32.29779052734375" y="51.55949401855469" z="0.5"/> </Position> </TeleportAction> </PrivateAction> </Private> <Private entityRef="pedestrian_close_to_standing_7936"> <PrivateAction> <TeleportAction> <Position> <WorldPosition x="-16.97378158569336" y="31.991125106811523" z="0.0030507659539580345"/> </Position> </TeleportAction> </PrivateAction> </Private> <Private entityRef="pedestrian_close_to_hero_7937"> <PrivateAction> <TeleportAction> <Position> <WorldPosition x="-12.730548858642578" y="-156.95814514160156" z="0.0014286803780123591"/> </Position> </TeleportAction> </PrivateAction> </Private> <Private entityRef="pedestrian_w_transform_7938"> <PrivateAction> <TeleportAction> <Position> <WorldPosition x="-89.13175964355469" y="61.59669876098633" z="0.5"/> </Position> </TeleportAction> </PrivateAction> </Private> <Private entityRef="pedestrian_w_transform_7939"> <PrivateAction> <TeleportAction> <Position> <WorldPosition x="-32.19202423095703" y="40.75343322753906" z="0.5"/> </Position> </TeleportAction> </PrivateAction> </Private> <Private entityRef="pedestrian_w_transform_7940"> <PrivateAction> <TeleportAction> <Position> <WorldPosition x="-32.06325912475586" y="-87.95255279541016" z="0.5"/> </Position> </TeleportAction> </PrivateAction> </Private> <Private entityRef="pedestrian_close_to_hero_7941"> <PrivateAction> <TeleportAction> <Position> <WorldPosition x="-3.7828333377838135" y="-153.6885986328125" z="0.0014286803780123591"/> </Position> </TeleportAction> </PrivateAction> </Private> <Private entityRef="pedestrian_close_to_hero_7942"> <PrivateAction> <TeleportAction> <Position> <WorldPosition x="-12.084003448486328" y="-149.9693145751953" z="0.0014286803780123591"/> </Position> </TeleportAction> </PrivateAction> </Private> <Private entityRef="pedestrian_w_transform_7943"> <PrivateAction> <TeleportAction> <Position> <WorldPosition x="12.177084922790527" y="59.53591537475586" z="0.5"/> </Position> </TeleportAction> </PrivateAction> </Private> </Actions> </Init> <Story name="MyStory"> <Act name="Behavior"> <ManeuverGroup maximumExecutionCount="1" name="ManeuverSequence"> <Actors selectTriggeringEntities="false"> <EntityRef entityRef="adversary"/> </Actors> <Maneuver name="LaneChangeSimpleManeuver"> <Event name="AdversaryAccelerates" priority="overwrite"> <Action name="AdversaryAccelerates"> <PrivateAction> <LongitudinalAction> <SpeedAction> <SpeedActionDynamics dynamicsShape="step" value="50" dynamicsDimension="distance"/> <SpeedActionTarget> <AbsoluteTargetSpeed value="5.0"/> </SpeedActionTarget> </SpeedAction> </LongitudinalAction> </PrivateAction> </Action> <StartTrigger> <ConditionGroup> <Condition name="StartCondition" delay="0" conditionEdge="rising"> <ByEntityCondition> <TriggeringEntities triggeringEntitiesRule="any"> <EntityRef entityRef="hero"/> </TriggeringEntities> <EntityCondition> <RelativeDistanceCondition entityRef="adversary" relativeDistanceType="cartesianDistance" value="40.0" freespace="false" rule="lessThan"/> </EntityCondition> </ByEntityCondition> </Condition> </ConditionGroup> </StartTrigger> </Event> <Event name="AdversaryChangesLane" priority="overwrite"> <Action name="AdversaryChangesLane"> <PrivateAction> <LateralAction> <LaneChangeAction> <LaneChangeActionDynamics dynamicsShape="linear" value="25" dynamicsDimension="distance"/> <LaneChangeTarget> <RelativeTargetLane entityRef="adversary" value="-1"/> </LaneChangeTarget> </LaneChangeAction> </LateralAction> </PrivateAction> </Action> <StartTrigger> <ConditionGroup> <Condition name="AfterAdversaryAccelerates" delay="0" conditionEdge="rising"> <ByValueCondition> <StoryboardElementStateCondition storyboardElementType="action" storyboardElementRef="AdversaryAccelerates" state="completeState"/> </ByValueCondition> </Condition> </ConditionGroup> </StartTrigger> </Event> </Maneuver> </ManeuverGroup> <StartTrigger> <ConditionGroup> <Condition name="OverallStartCondition" delay="0" conditionEdge="rising"> <ByEntityCondition> <TriggeringEntities triggeringEntitiesRule="any"> <EntityRef entityRef="hero"/> </TriggeringEntities> <EntityCondition> <TraveledDistanceCondition value="1.0"/> </EntityCondition> </ByEntityCondition> </Condition> <Condition name="StartTime" delay="0" conditionEdge="rising"> <ByValueCondition> <SimulationTimeCondition value="0" rule="equalTo"/> </ByValueCondition> </Condition> </ConditionGroup> </StartTrigger> <StopTrigger> <ConditionGroup> <Condition name="EndCondition" delay="0" conditionEdge="rising"> <ByEntityCondition> <TriggeringEntities triggeringEntitiesRule="any"> <EntityRef entityRef="hero"/> </TriggeringEntities> <EntityCondition> <TraveledDistanceCondition value="200.0"/> </EntityCondition> </ByEntityCondition> </Condition> </ConditionGroup> </StopTrigger> </Act> </Story> <StopTrigger> <ConditionGroup> <Condition name="criteria_RunningStopTest" delay="0" conditionEdge="rising"> <ByValueCondition> <ParameterCondition parameterRef="" value="" rule="lessThan"/> </ByValueCondition> </Condition> <Condition name="criteria_RunningRedLightTest" delay="0" conditionEdge="rising"> <ByValueCondition> <ParameterCondition parameterRef="" value="" rule="lessThan"/> </ByValueCondition> </Condition> <Condition name="criteria_WrongLaneTest" delay="0" conditionEdge="rising"> <ByValueCondition> <ParameterCondition parameterRef="" value="" rule="lessThan"/> </ByValueCondition> </Condition> <Condition name="criteria_OnSidewalkTest" delay="0" conditionEdge="rising"> <ByValueCondition> <ParameterCondition parameterRef="" value="" rule="lessThan"/> </ByValueCondition> </Condition> <Condition name="criteria_KeepLaneTest" delay="0" conditionEdge="rising"> <ByValueCondition> <ParameterCondition parameterRef="" value="" rule="lessThan"/> </ByValueCondition> </Condition> <Condition name="criteria_CollisionTest" delay="0" conditionEdge="rising"> <ByValueCondition> <ParameterCondition parameterRef="" value="" rule="lessThan"/> </ByValueCondition> </Condition> <Condition name="criteria_DrivenDistanceTest" delay="0" conditionEdge="rising"> <ByValueCondition> <ParameterCondition parameterRef="distance_success" value="100" rule="lessThan"/> </ByValueCondition> </Condition> </ConditionGroup> </StopTrigger> </Storyboard> </OpenSCENARIO> ```
i want you to add pedestrian at location (-10.15, 55.56, 0.5)? ``` <?xml version="1.0" ?> <OpenSCENARIO> <FileHeader revMajor="1" revMinor="0" date="2020-03-24T12:00:00" description="CARLA:LaneChangeSimple" author=""/> <ParameterDeclarations/> <CatalogLocations/> <RoadNetwork> <LogicFile filepath="Town04"/> <SceneGraphFile filepath=""/> </RoadNetwork> <Entities> <ScenarioObject name="hero"> <Vehicle name="vehicle.tesla.model3" vehicleCategory="car"> <ParameterDeclarations/> <Performance maxSpeed="69.444" maxAcceleration="200" maxDeceleration="10.0"/> <BoundingBox> <Center x="1.5" y="0.0" z="0.9"/> <Dimensions width="2.1" length="4.5" height="1.8"/> </BoundingBox> <Axles> <FrontAxle maxSteering="0.5" wheelDiameter="0.6" trackWidth="1.8" positionX="3.1" positionZ="0.3"/> <RearAxle maxSteering="0.0" wheelDiameter="0.6" trackWidth="1.8" positionX="0.0" positionZ="0.3"/> </Axles> <Properties> <Property name="type" value="ego_vehicle"/> </Properties> </Vehicle> </ScenarioObject> <ScenarioObject name="adversary"> <Vehicle name="vehicle.lincoln.mkz_2017" vehicleCategory="car"> <ParameterDeclarations/> <Performance maxSpeed="69.444" maxAcceleration="200" maxDeceleration="10.0"/> <BoundingBox> <Center x="1.5" y="0.0" z="0.9"/> <Dimensions width="2.1" length="4.5" height="1.8"/> </BoundingBox> <Axles> <FrontAxle maxSteering="0.5" wheelDiameter="0.6" trackWidth="1.8" positionX="3.1" positionZ="0.3"/> <RearAxle maxSteering="0.0" wheelDiameter="0.6" trackWidth="1.8" positionX="0.0" positionZ="0.3"/> </Axles> <Properties> <Property name="type" value="simulation"/> </Properties> </Vehicle> </ScenarioObject> <ScenarioObject name="standing"> <Vehicle name="vehicle.volkswagen.t2" vehicleCategory="car"> <ParameterDeclarations/> <Performance maxSpeed="69.444" maxAcceleration="200" maxDeceleration="10.0"/> <BoundingBox> <Center x="1.5" y="0.0" z="0.9"/> <Dimensions width="2.1" length="4.5" height="1.8"/> </BoundingBox> <Axles> <FrontAxle maxSteering="0.5" wheelDiameter="0.6" trackWidth="1.8" positionX="3.1" positionZ="0.3"/> <RearAxle maxSteering="0.0" wheelDiameter="0.6" trackWidth="1.8" positionX="0.0" positionZ="0.3"/> </Axles> <Properties> <Property name="type" value="simulation"/> </Properties> </Vehicle> </ScenarioObject> <ScenarioObject name="pedestrian_close_to_adversary_5269"> <Pedestrian model="walker.pedestrian.0001" mass="80" name="walker.pedestrian.0001" pedestrianCategory="pedestrian"> <ParameterDeclarations/> <BoundingBox> <Center x="1.5" y="0.0" z="0.9"/> <Dimensions width="2" length="2" height="2"/> </BoundingBox> <Properties> <Property name="type" value="simulation"/> </Properties> </Pedestrian> </ScenarioObject> <ScenarioObject name="pedestrian_w_transform_5270"> <Pedestrian model="walker.pedestrian.0001" mass="80" name="walker.pedestrian.0001" pedestrianCategory="pedestrian"> <ParameterDeclarations/> <BoundingBox> <Center x="1.5" y="0.0" z="0.9"/> <Dimensions width="2" length="2" height="2"/> </BoundingBox> <Properties> <Property name="type" value="simulation"/> </Properties> </Pedestrian> </ScenarioObject> <ScenarioObject name="pedestrian_close_to_hero_5271"> <Pedestrian model="walker.pedestrian.0001" mass="80" name="walker.pedestrian.0001" pedestrianCategory="pedestrian"> <ParameterDeclarations/> <BoundingBox> <Center x="1.5" y="0.0" z="0.9"/> <Dimensions width="2" length="2" height="2"/> </BoundingBox> <Properties> <Property name="type" value="simulation"/> </Properties> </Pedestrian> </ScenarioObject> <ScenarioObject name="pedestrian_close_to_standing_5272"> <Pedestrian model="walker.pedestrian.0001" mass="80" name="walker.pedestrian.0001" pedestrianCategory="pedestrian"> <ParameterDeclarations/> <BoundingBox> <Center x="1.5" y="0.0" z="0.9"/> <Dimensions width="2" length="2" height="2"/> </BoundingBox> <Properties> <Property name="type" value="simulation"/> </Properties> </Pedestrian> </ScenarioObject> <ScenarioObject name="pedestrian_w_transform_5273"> <Pedestrian model="walker.pedestrian.0001" mass="80" name="walker.pedestrian.0001" pedestrianCategory="pedestrian"> <ParameterDeclarations/> <BoundingBox> <Center x="1.5" y="0.0" z="0.9"/> <Dimensions width="2" length="2" height="2"/> </BoundingBox> <Properties> <Property name="type" value="simulation"/> </Properties> </Pedestrian> </ScenarioObject> <ScenarioObject name="pedestrian_close_to_hero_5274"> <Pedestrian model="walker.pedestrian.0001" mass="80" name="walker.pedestrian.0001" pedestrianCategory="pedestrian"> <ParameterDeclarations/> <BoundingBox> <Center x="1.5" y="0.0" z="0.9"/> <Dimensions width="2" length="2" height="2"/> </BoundingBox> <Properties> <Property name="type" value="simulation"/> </Properties> </Pedestrian> </ScenarioObject> <ScenarioObject name="pedestrian_w_transform_5275"> <Pedestrian model="walker.pedestrian.0001" mass="80" name="walker.pedestrian.0001" pedestrianCategory="pedestrian"> <ParameterDeclarations/> <BoundingBox> <Center x="1.5" y="0.0" z="0.9"/> <Dimensions width="2" length="2" height="2"/> </BoundingBox> <Properties> <Property name="type" value="simulation"/> </Properties> </Pedestrian> </ScenarioObject> </Entities> <Storyboard> <Init> <Actions> <GlobalAction> <EnvironmentAction> <Environment name="Environment1"> <TimeOfDay animation="false" dateTime="2019-06-25T12:00:00"/> <Weather cloudState="free"> <Sun intensity="0.85" azimuth="0" elevation="1.31"/> <Fog visualRange="100000.0"/> <Precipitation precipitationType="dry" intensity="0.0"/> </Weather> <RoadCondition frictionScaleFactor="1.0"/> </Environment> </EnvironmentAction> </GlobalAction> <Private entityRef="hero"> <PrivateAction> <TeleportAction> <Position> <WorldPosition x="-9.4" y="-152.8" z="0.5" h="1.57079632679"/> </Position> </TeleportAction> </PrivateAction> <PrivateAction> <ControllerAction> <AssignControllerAction> <Controller name="HeroAgent"> <Properties> <Property name="module" value="external_control"/> </Properties> </Controller> </AssignControllerAction> <OverrideControllerValueAction> <Throttle value="0" active="false"/> <Brake value="0" active="false"/> <Clutch value="0" active="false"/> <ParkingBrake value="0" active="false"/> <SteeringWheel value="0" active="false"/> <Gear number="0" active="false"/> </OverrideControllerValueAction> </ControllerAction> </PrivateAction> </Private> <Private entityRef="adversary"> <PrivateAction> <TeleportAction> <Position> <WorldPosition x="-9.4" y="-71.0" z="0.5" h="1.57079632679"/> </Position> </TeleportAction> </PrivateAction> </Private> <Private entityRef="standing"> <PrivateAction> <TeleportAction> <Position> <WorldPosition x="-8.2" y="29.2" z="0.5" h="1.57079632679"/> </Position> </TeleportAction> </PrivateAction> </Private> <Private entityRef="pedestrian_close_to_adversary_5269"> <PrivateAction> <TeleportAction> <Position> <WorldPosition x="-12.248814582824707" y="-76.19327545166016" z="0.03378112614154816"/> </Position> </TeleportAction> </PrivateAction> </Private> <Private entityRef="pedestrian_w_transform_5270"> <PrivateAction> <TeleportAction> <Position> <WorldPosition x="82.07479858398438" y="44.23979568481445" z="0.5"/> </Position> </TeleportAction> </PrivateAction> </Private> <Private entityRef="pedestrian_close_to_hero_5271"> <PrivateAction> <TeleportAction> <Position> <WorldPosition x="-10.319400787353516" y="-147.15811157226562" z="0.0014286803780123591"/> </Position> </TeleportAction> </PrivateAction> </Private> <Private entityRef="pedestrian_close_to_standing_5272"> <PrivateAction> <TeleportAction> <Position> <WorldPosition x="-13.275127410888672" y="25.60024070739746" z="0.003040656913071871"/> </Position> </TeleportAction> </PrivateAction> </Private> <Private entityRef="pedestrian_w_transform_5273"> <PrivateAction> <TeleportAction> <Position> <WorldPosition x="-66.84284973144531" y="46.35194778442383" z="0.5"/> </Position> </TeleportAction> </PrivateAction> </Private> <Private entityRef="pedestrian_close_to_hero_5274"> <PrivateAction> <TeleportAction> <Position> <WorldPosition x="-22.677902221679688" y="-132.71290588378906" z="0.0014286803780123591"/> </Position> </TeleportAction> </PrivateAction> </Private> <Private entityRef="pedestrian_w_transform_5275"> <PrivateAction> <TeleportAction> <Position> <WorldPosition x="-13.215182304382324" y="-47.68832015991211" z="0.5"/> </Position> </TeleportAction> </PrivateAction> </Private> </Actions> </Init> <Story name="MyStory"> <Act name="Behavior"> <ManeuverGroup maximumExecutionCount="1" name="ManeuverSequence"> <Actors selectTriggeringEntities="false"> <EntityRef entityRef="adversary"/> </Actors> <Maneuver name="LaneChangeSimpleManeuver"> <Event name="AdversaryAccelerates" priority="overwrite"> <Action name="AdversaryAccelerates"> <PrivateAction> <LongitudinalAction> <SpeedAction> <SpeedActionDynamics dynamicsShape="step" value="50" dynamicsDimension="distance"/> <SpeedActionTarget> <AbsoluteTargetSpeed value="5.0"/> </SpeedActionTarget> </SpeedAction> </LongitudinalAction> </PrivateAction> </Action> <StartTrigger> <ConditionGroup> <Condition name="StartCondition" delay="0" conditionEdge="rising"> <ByEntityCondition> <TriggeringEntities triggeringEntitiesRule="any"> <EntityRef entityRef="hero"/> </TriggeringEntities> <EntityCondition> <RelativeDistanceCondition entityRef="adversary" relativeDistanceType="cartesianDistance" value="40.0" freespace="false" rule="lessThan"/> </EntityCondition> </ByEntityCondition> </Condition> </ConditionGroup> </StartTrigger> </Event> <Event name="AdversaryChangesLane" priority="overwrite"> <Action name="AdversaryChangesLane"> <PrivateAction> <LateralAction> <LaneChangeAction> <LaneChangeActionDynamics dynamicsShape="linear" value="25" dynamicsDimension="distance"/> <LaneChangeTarget> <RelativeTargetLane entityRef="adversary" value="-1"/> </LaneChangeTarget> </LaneChangeAction> </LateralAction> </PrivateAction> </Action> <StartTrigger> <ConditionGroup> <Condition name="AfterAdversaryAccelerates" delay="0" conditionEdge="rising"> <ByValueCondition> <StoryboardElementStateCondition storyboardElementType="action" storyboardElementRef="AdversaryAccelerates" state="completeState"/> </ByValueCondition> </Condition> </ConditionGroup> </StartTrigger> </Event> </Maneuver> </ManeuverGroup> <StartTrigger> <ConditionGroup> <Condition name="OverallStartCondition" delay="0" conditionEdge="rising"> <ByEntityCondition> <TriggeringEntities triggeringEntitiesRule="any"> <EntityRef entityRef="hero"/> </TriggeringEntities> <EntityCondition> <TraveledDistanceCondition value="1.0"/> </EntityCondition> </ByEntityCondition> </Condition> <Condition name="StartTime" delay="0" conditionEdge="rising"> <ByValueCondition> <SimulationTimeCondition value="0" rule="equalTo"/> </ByValueCondition> </Condition> </ConditionGroup> </StartTrigger> <StopTrigger> <ConditionGroup> <Condition name="EndCondition" delay="0" conditionEdge="rising"> <ByEntityCondition> <TriggeringEntities triggeringEntitiesRule="any"> <EntityRef entityRef="hero"/> </TriggeringEntities> <EntityCondition> <TraveledDistanceCondition value="200.0"/> </EntityCondition> </ByEntityCondition> </Condition> </ConditionGroup> </StopTrigger> </Act> </Story> <StopTrigger> <ConditionGroup> <Condition name="criteria_RunningStopTest" delay="0" conditionEdge="rising"> <ByValueCondition> <ParameterCondition parameterRef="" value="" rule="lessThan"/> </ByValueCondition> </Condition> <Condition name="criteria_RunningRedLightTest" delay="0" conditionEdge="rising"> <ByValueCondition> <ParameterCondition parameterRef="" value="" rule="lessThan"/> </ByValueCondition> </Condition> <Condition name="criteria_WrongLaneTest" delay="0" conditionEdge="rising"> <ByValueCondition> <ParameterCondition parameterRef="" value="" rule="lessThan"/> </ByValueCondition> </Condition> <Condition name="criteria_OnSidewalkTest" delay="0" conditionEdge="rising"> <ByValueCondition> <ParameterCondition parameterRef="" value="" rule="lessThan"/> </ByValueCondition> </Condition> <Condition name="criteria_KeepLaneTest" delay="0" conditionEdge="rising"> <ByValueCondition> <ParameterCondition parameterRef="" value="" rule="lessThan"/> </ByValueCondition> </Condition> <Condition name="criteria_CollisionTest" delay="0" conditionEdge="rising"> <ByValueCondition> <ParameterCondition parameterRef="" value="" rule="lessThan"/> </ByValueCondition> </Condition> <Condition name="criteria_DrivenDistanceTest" delay="0" conditionEdge="rising"> <ByValueCondition> <ParameterCondition parameterRef="distance_success" value="100" rule="lessThan"/> </ByValueCondition> </Condition> </ConditionGroup> </StopTrigger> </Storyboard> </OpenSCENARIO> ```
Here is the result: ``` <?xml version="1.0" ?> <OpenSCENARIO> <FileHeader revMajor="1" revMinor="0" date="2020-03-24T12:00:00" description="CARLA:LaneChangeSimple" author=""/> <ParameterDeclarations/> <CatalogLocations/> <RoadNetwork> <LogicFile filepath="Town04"/> <SceneGraphFile filepath=""/> </RoadNetwork> <Entities> <ScenarioObject name="hero"> <Vehicle name="vehicle.tesla.model3" vehicleCategory="car"> <ParameterDeclarations/> <Performance maxSpeed="69.444" maxAcceleration="200" maxDeceleration="10.0"/> <BoundingBox> <Center x="1.5" y="0.0" z="0.9"/> <Dimensions width="2.1" length="4.5" height="1.8"/> </BoundingBox> <Axles> <FrontAxle maxSteering="0.5" wheelDiameter="0.6" trackWidth="1.8" positionX="3.1" positionZ="0.3"/> <RearAxle maxSteering="0.0" wheelDiameter="0.6" trackWidth="1.8" positionX="0.0" positionZ="0.3"/> </Axles> <Properties> <Property name="type" value="ego_vehicle"/> </Properties> </Vehicle> </ScenarioObject> <ScenarioObject name="adversary"> <Vehicle name="vehicle.lincoln.mkz_2017" vehicleCategory="car"> <ParameterDeclarations/> <Performance maxSpeed="69.444" maxAcceleration="200" maxDeceleration="10.0"/> <BoundingBox> <Center x="1.5" y="0.0" z="0.9"/> <Dimensions width="2.1" length="4.5" height="1.8"/> </BoundingBox> <Axles> <FrontAxle maxSteering="0.5" wheelDiameter="0.6" trackWidth="1.8" positionX="3.1" positionZ="0.3"/> <RearAxle maxSteering="0.0" wheelDiameter="0.6" trackWidth="1.8" positionX="0.0" positionZ="0.3"/> </Axles> <Properties> <Property name="type" value="simulation"/> </Properties> </Vehicle> </ScenarioObject> <ScenarioObject name="standing"> <Vehicle name="vehicle.volkswagen.t2" vehicleCategory="car"> <ParameterDeclarations/> <Performance maxSpeed="69.444" maxAcceleration="200" maxDeceleration="10.0"/> <BoundingBox> <Center x="1.5" y="0.0" z="0.9"/> <Dimensions width="2.1" length="4.5" height="1.8"/> </BoundingBox> <Axles> <FrontAxle maxSteering="0.5" wheelDiameter="0.6" trackWidth="1.8" positionX="3.1" positionZ="0.3"/> <RearAxle maxSteering="0.0" wheelDiameter="0.6" trackWidth="1.8" positionX="0.0" positionZ="0.3"/> </Axles> <Properties> <Property name="type" value="simulation"/> </Properties> </Vehicle> </ScenarioObject> <ScenarioObject name="pedestrian_close_to_adversary_5269"> <Pedestrian model="walker.pedestrian.0001" mass="80" name="walker.pedestrian.0001" pedestrianCategory="pedestrian"> <ParameterDeclarations/> <BoundingBox> <Center x="1.5" y="0.0" z="0.9"/> <Dimensions width="2" length="2" height="2"/> </BoundingBox> <Properties> <Property name="type" value="simulation"/> </Properties> </Pedestrian> </ScenarioObject> <ScenarioObject name="pedestrian_w_transform_5270"> <Pedestrian model="walker.pedestrian.0001" mass="80" name="walker.pedestrian.0001" pedestrianCategory="pedestrian"> <ParameterDeclarations/> <BoundingBox> <Center x="1.5" y="0.0" z="0.9"/> <Dimensions width="2" length="2" height="2"/> </BoundingBox> <Properties> <Property name="type" value="simulation"/> </Properties> </Pedestrian> </ScenarioObject> <ScenarioObject name="pedestrian_close_to_hero_5271"> <Pedestrian model="walker.pedestrian.0001" mass="80" name="walker.pedestrian.0001" pedestrianCategory="pedestrian"> <ParameterDeclarations/> <BoundingBox> <Center x="1.5" y="0.0" z="0.9"/> <Dimensions width="2" length="2" height="2"/> </BoundingBox> <Properties> <Property name="type" value="simulation"/> </Properties> </Pedestrian> </ScenarioObject> <ScenarioObject name="pedestrian_close_to_standing_5272"> <Pedestrian model="walker.pedestrian.0001" mass="80" name="walker.pedestrian.0001" pedestrianCategory="pedestrian"> <ParameterDeclarations/> <BoundingBox> <Center x="1.5" y="0.0" z="0.9"/> <Dimensions width="2" length="2" height="2"/> </BoundingBox> <Properties> <Property name="type" value="simulation"/> </Properties> </Pedestrian> </ScenarioObject> <ScenarioObject name="pedestrian_w_transform_5273"> <Pedestrian model="walker.pedestrian.0001" mass="80" name="walker.pedestrian.0001" pedestrianCategory="pedestrian"> <ParameterDeclarations/> <BoundingBox> <Center x="1.5" y="0.0" z="0.9"/> <Dimensions width="2" length="2" height="2"/> </BoundingBox> <Properties> <Property name="type" value="simulation"/> </Properties> </Pedestrian> </ScenarioObject> <ScenarioObject name="pedestrian_close_to_hero_5274"> <Pedestrian model="walker.pedestrian.0001" mass="80" name="walker.pedestrian.0001" pedestrianCategory="pedestrian"> <ParameterDeclarations/> <BoundingBox> <Center x="1.5" y="0.0" z="0.9"/> <Dimensions width="2" length="2" height="2"/> </BoundingBox> <Properties> <Property name="type" value="simulation"/> </Properties> </Pedestrian> </ScenarioObject> <ScenarioObject name="pedestrian_w_transform_5275"> <Pedestrian model="walker.pedestrian.0001" mass="80" name="walker.pedestrian.0001" pedestrianCategory="pedestrian"> <ParameterDeclarations/> <BoundingBox> <Center x="1.5" y="0.0" z="0.9"/> <Dimensions width="2" length="2" height="2"/> </BoundingBox> <Properties> <Property name="type" value="simulation"/> </Properties> </Pedestrian> </ScenarioObject> <ScenarioObject name="pedestrian_w_transform_5276"> <Pedestrian model="walker.pedestrian.0001" mass="80" name="walker.pedestrian.0001" pedestrianCategory="pedestrian"> <ParameterDeclarations/> <BoundingBox> <Center x="1.5" y="0.0" z="0.9"/> <Dimensions width="2" length="2" height="2"/> </BoundingBox> <Properties> <Property name="type" value="simulation"/> </Properties> </Pedestrian> </ScenarioObject> </Entities> <Storyboard> <Init> <Actions> <GlobalAction> <EnvironmentAction> <Environment name="Environment1"> <TimeOfDay animation="false" dateTime="2019-06-25T12:00:00"/> <Weather cloudState="free"> <Sun intensity="0.85" azimuth="0" elevation="1.31"/> <Fog visualRange="100000.0"/> <Precipitation precipitationType="dry" intensity="0.0"/> </Weather> <RoadCondition frictionScaleFactor="1.0"/> </Environment> </EnvironmentAction> </GlobalAction> <Private entityRef="hero"> <PrivateAction> <TeleportAction> <Position> <WorldPosition x="-9.4" y="-152.8" z="0.5" h="1.57079632679"/> </Position> </TeleportAction> </PrivateAction> <PrivateAction> <ControllerAction> <AssignControllerAction> <Controller name="HeroAgent"> <Properties> <Property name="module" value="external_control"/> </Properties> </Controller> </AssignControllerAction> <OverrideControllerValueAction> <Throttle value="0" active="false"/> <Brake value="0" active="false"/> <Clutch value="0" active="false"/> <ParkingBrake value="0" active="false"/> <SteeringWheel value="0" active="false"/> <Gear number="0" active="false"/> </OverrideControllerValueAction> </ControllerAction> </PrivateAction> </Private> <Private entityRef="adversary"> <PrivateAction> <TeleportAction> <Position> <WorldPosition x="-9.4" y="-71.0" z="0.5" h="1.57079632679"/> </Position> </TeleportAction> </PrivateAction> </Private> <Private entityRef="standing"> <PrivateAction> <TeleportAction> <Position> <WorldPosition x="-8.2" y="29.2" z="0.5" h="1.57079632679"/> </Position> </TeleportAction> </PrivateAction> </Private> <Private entityRef="pedestrian_close_to_adversary_5269"> <PrivateAction> <TeleportAction> <Position> <WorldPosition x="-12.248814582824707" y="-76.19327545166016" z="0.03378112614154816"/> </Position> </TeleportAction> </PrivateAction> </Private> <Private entityRef="pedestrian_w_transform_5270"> <PrivateAction> <TeleportAction> <Position> <WorldPosition x="82.07479858398438" y="44.23979568481445" z="0.5"/> </Position> </TeleportAction> </PrivateAction> </Private> <Private entityRef="pedestrian_close_to_hero_5271"> <PrivateAction> <TeleportAction> <Position> <WorldPosition x="-10.319400787353516" y="-147.15811157226562" z="0.0014286803780123591"/> </Position> </TeleportAction> </PrivateAction> </Private> <Private entityRef="pedestrian_close_to_standing_5272"> <PrivateAction> <TeleportAction> <Position> <WorldPosition x="-13.275127410888672" y="25.60024070739746" z="0.003040656913071871"/> </Position> </TeleportAction> </PrivateAction> </Private> <Private entityRef="pedestrian_w_transform_5273"> <PrivateAction> <TeleportAction> <Position> <WorldPosition x="-66.84284973144531" y="46.35194778442383" z="0.5"/> </Position> </TeleportAction> </PrivateAction> </Private> <Private entityRef="pedestrian_close_to_hero_5274"> <PrivateAction> <TeleportAction> <Position> <WorldPosition x="-22.677902221679688" y="-132.71290588378906" z="0.0014286803780123591"/> </Position> </TeleportAction> </PrivateAction> </Private> <Private entityRef="pedestrian_w_transform_5275"> <PrivateAction> <TeleportAction> <Position> <WorldPosition x="-13.215182304382324" y="-47.68832015991211" z="0.5"/> </Position> </TeleportAction> </PrivateAction> </Private> <Private entityRef="pedestrian_w_transform_5276"> <PrivateAction> <TeleportAction> <Position> <WorldPosition x="-10.152571678161621" y="55.5595817565918" z="0.5"/> </Position> </TeleportAction> </PrivateAction> </Private> </Actions> </Init> <Story name="MyStory"> <Act name="Behavior"> <ManeuverGroup maximumExecutionCount="1" name="ManeuverSequence"> <Actors selectTriggeringEntities="false"> <EntityRef entityRef="adversary"/> </Actors> <Maneuver name="LaneChangeSimpleManeuver"> <Event name="AdversaryAccelerates" priority="overwrite"> <Action name="AdversaryAccelerates"> <PrivateAction> <LongitudinalAction> <SpeedAction> <SpeedActionDynamics dynamicsShape="step" value="50" dynamicsDimension="distance"/> <SpeedActionTarget> <AbsoluteTargetSpeed value="5.0"/> </SpeedActionTarget> </SpeedAction> </LongitudinalAction> </PrivateAction> </Action> <StartTrigger> <ConditionGroup> <Condition name="StartCondition" delay="0" conditionEdge="rising"> <ByEntityCondition> <TriggeringEntities triggeringEntitiesRule="any"> <EntityRef entityRef="hero"/> </TriggeringEntities> <EntityCondition> <RelativeDistanceCondition entityRef="adversary" relativeDistanceType="cartesianDistance" value="40.0" freespace="false" rule="lessThan"/> </EntityCondition> </ByEntityCondition> </Condition> </ConditionGroup> </StartTrigger> </Event> <Event name="AdversaryChangesLane" priority="overwrite"> <Action name="AdversaryChangesLane"> <PrivateAction> <LateralAction> <LaneChangeAction> <LaneChangeActionDynamics dynamicsShape="linear" value="25" dynamicsDimension="distance"/> <LaneChangeTarget> <RelativeTargetLane entityRef="adversary" value="-1"/> </LaneChangeTarget> </LaneChangeAction> </LateralAction> </PrivateAction> </Action> <StartTrigger> <ConditionGroup> <Condition name="AfterAdversaryAccelerates" delay="0" conditionEdge="rising"> <ByValueCondition> <StoryboardElementStateCondition storyboardElementType="action" storyboardElementRef="AdversaryAccelerates" state="completeState"/> </ByValueCondition> </Condition> </ConditionGroup> </StartTrigger> </Event> </Maneuver> </ManeuverGroup> <StartTrigger> <ConditionGroup> <Condition name="OverallStartCondition" delay="0" conditionEdge="rising"> <ByEntityCondition> <TriggeringEntities triggeringEntitiesRule="any"> <EntityRef entityRef="hero"/> </TriggeringEntities> <EntityCondition> <TraveledDistanceCondition value="1.0"/> </EntityCondition> </ByEntityCondition> </Condition> <Condition name="StartTime" delay="0" conditionEdge="rising"> <ByValueCondition> <SimulationTimeCondition value="0" rule="equalTo"/> </ByValueCondition> </Condition> </ConditionGroup> </StartTrigger> <StopTrigger> <ConditionGroup> <Condition name="EndCondition" delay="0" conditionEdge="rising"> <ByEntityCondition> <TriggeringEntities triggeringEntitiesRule="any"> <EntityRef entityRef="hero"/> </TriggeringEntities> <EntityCondition> <TraveledDistanceCondition value="200.0"/> </EntityCondition> </ByEntityCondition> </Condition> </ConditionGroup> </StopTrigger> </Act> </Story> <StopTrigger> <ConditionGroup> <Condition name="criteria_RunningStopTest" delay="0" conditionEdge="rising"> <ByValueCondition> <ParameterCondition parameterRef="" value="" rule="lessThan"/> </ByValueCondition> </Condition> <Condition name="criteria_RunningRedLightTest" delay="0" conditionEdge="rising"> <ByValueCondition> <ParameterCondition parameterRef="" value="" rule="lessThan"/> </ByValueCondition> </Condition> <Condition name="criteria_WrongLaneTest" delay="0" conditionEdge="rising"> <ByValueCondition> <ParameterCondition parameterRef="" value="" rule="lessThan"/> </ByValueCondition> </Condition> <Condition name="criteria_OnSidewalkTest" delay="0" conditionEdge="rising"> <ByValueCondition> <ParameterCondition parameterRef="" value="" rule="lessThan"/> </ByValueCondition> </Condition> <Condition name="criteria_KeepLaneTest" delay="0" conditionEdge="rising"> <ByValueCondition> <ParameterCondition parameterRef="" value="" rule="lessThan"/> </ByValueCondition> </Condition> <Condition name="criteria_CollisionTest" delay="0" conditionEdge="rising"> <ByValueCondition> <ParameterCondition parameterRef="" value="" rule="lessThan"/> </ByValueCondition> </Condition> <Condition name="criteria_DrivenDistanceTest" delay="0" conditionEdge="rising"> <ByValueCondition> <ParameterCondition parameterRef="distance_success" value="100" rule="lessThan"/> </ByValueCondition> </Condition> </ConditionGroup> </StopTrigger> </Storyboard> </OpenSCENARIO> ```
i would like you to demonstrate add pedestrian at location (-53.62, -13.74, 0.5)? ``` <?xml version="1.0" ?> <OpenSCENARIO> <FileHeader revMajor="1" revMinor="0" date="2020-03-24T12:00:00" description="CARLA:LaneChangeSimple" author=""/> <ParameterDeclarations/> <CatalogLocations/> <RoadNetwork> <LogicFile filepath="Town04"/> <SceneGraphFile filepath=""/> </RoadNetwork> <Entities> <ScenarioObject name="hero"> <Vehicle name="vehicle.tesla.model3" vehicleCategory="car"> <ParameterDeclarations/> <Performance maxSpeed="69.444" maxAcceleration="200" maxDeceleration="10.0"/> <BoundingBox> <Center x="1.5" y="0.0" z="0.9"/> <Dimensions width="2.1" length="4.5" height="1.8"/> </BoundingBox> <Axles> <FrontAxle maxSteering="0.5" wheelDiameter="0.6" trackWidth="1.8" positionX="3.1" positionZ="0.3"/> <RearAxle maxSteering="0.0" wheelDiameter="0.6" trackWidth="1.8" positionX="0.0" positionZ="0.3"/> </Axles> <Properties> <Property name="type" value="ego_vehicle"/> </Properties> </Vehicle> </ScenarioObject> <ScenarioObject name="adversary"> <Vehicle name="vehicle.lincoln.mkz_2017" vehicleCategory="car"> <ParameterDeclarations/> <Performance maxSpeed="69.444" maxAcceleration="200" maxDeceleration="10.0"/> <BoundingBox> <Center x="1.5" y="0.0" z="0.9"/> <Dimensions width="2.1" length="4.5" height="1.8"/> </BoundingBox> <Axles> <FrontAxle maxSteering="0.5" wheelDiameter="0.6" trackWidth="1.8" positionX="3.1" positionZ="0.3"/> <RearAxle maxSteering="0.0" wheelDiameter="0.6" trackWidth="1.8" positionX="0.0" positionZ="0.3"/> </Axles> <Properties> <Property name="type" value="simulation"/> </Properties> </Vehicle> </ScenarioObject> <ScenarioObject name="standing"> <Vehicle name="vehicle.volkswagen.t2" vehicleCategory="car"> <ParameterDeclarations/> <Performance maxSpeed="69.444" maxAcceleration="200" maxDeceleration="10.0"/> <BoundingBox> <Center x="1.5" y="0.0" z="0.9"/> <Dimensions width="2.1" length="4.5" height="1.8"/> </BoundingBox> <Axles> <FrontAxle maxSteering="0.5" wheelDiameter="0.6" trackWidth="1.8" positionX="3.1" positionZ="0.3"/> <RearAxle maxSteering="0.0" wheelDiameter="0.6" trackWidth="1.8" positionX="0.0" positionZ="0.3"/> </Axles> <Properties> <Property name="type" value="simulation"/> </Properties> </Vehicle> </ScenarioObject> <ScenarioObject name="pedestrian_close_to_hero_9793"> <Pedestrian model="walker.pedestrian.0001" mass="80" name="walker.pedestrian.0001" pedestrianCategory="pedestrian"> <ParameterDeclarations/> <BoundingBox> <Center x="1.5" y="0.0" z="0.9"/> <Dimensions width="2" length="2" height="2"/> </BoundingBox> <Properties> <Property name="type" value="simulation"/> </Properties> </Pedestrian> </ScenarioObject> <ScenarioObject name="pedestrian_close_to_standing_9794"> <Pedestrian model="walker.pedestrian.0001" mass="80" name="walker.pedestrian.0001" pedestrianCategory="pedestrian"> <ParameterDeclarations/> <BoundingBox> <Center x="1.5" y="0.0" z="0.9"/> <Dimensions width="2" length="2" height="2"/> </BoundingBox> <Properties> <Property name="type" value="simulation"/> </Properties> </Pedestrian> </ScenarioObject> <ScenarioObject name="pedestrian_w_transform_9795"> <Pedestrian model="walker.pedestrian.0001" mass="80" name="walker.pedestrian.0001" pedestrianCategory="pedestrian"> <ParameterDeclarations/> <BoundingBox> <Center x="1.5" y="0.0" z="0.9"/> <Dimensions width="2" length="2" height="2"/> </BoundingBox> <Properties> <Property name="type" value="simulation"/> </Properties> </Pedestrian> </ScenarioObject> <ScenarioObject name="pedestrian_close_to_adversary_9796"> <Pedestrian model="walker.pedestrian.0001" mass="80" name="walker.pedestrian.0001" pedestrianCategory="pedestrian"> <ParameterDeclarations/> <BoundingBox> <Center x="1.5" y="0.0" z="0.9"/> <Dimensions width="2" length="2" height="2"/> </BoundingBox> <Properties> <Property name="type" value="simulation"/> </Properties> </Pedestrian> </ScenarioObject> <ScenarioObject name="pedestrian_close_to_adversary_9797"> <Pedestrian model="walker.pedestrian.0001" mass="80" name="walker.pedestrian.0001" pedestrianCategory="pedestrian"> <ParameterDeclarations/> <BoundingBox> <Center x="1.5" y="0.0" z="0.9"/> <Dimensions width="2" length="2" height="2"/> </BoundingBox> <Properties> <Property name="type" value="simulation"/> </Properties> </Pedestrian> </ScenarioObject> <ScenarioObject name="pedestrian_close_to_hero_9798"> <Pedestrian model="walker.pedestrian.0001" mass="80" name="walker.pedestrian.0001" pedestrianCategory="pedestrian"> <ParameterDeclarations/> <BoundingBox> <Center x="1.5" y="0.0" z="0.9"/> <Dimensions width="2" length="2" height="2"/> </BoundingBox> <Properties> <Property name="type" value="simulation"/> </Properties> </Pedestrian> </ScenarioObject> <ScenarioObject name="pedestrian_close_to_adversary_9799"> <Pedestrian model="walker.pedestrian.0001" mass="80" name="walker.pedestrian.0001" pedestrianCategory="pedestrian"> <ParameterDeclarations/> <BoundingBox> <Center x="1.5" y="0.0" z="0.9"/> <Dimensions width="2" length="2" height="2"/> </BoundingBox> <Properties> <Property name="type" value="simulation"/> </Properties> </Pedestrian> </ScenarioObject> <ScenarioObject name="pedestrian_close_to_standing_9800"> <Pedestrian model="walker.pedestrian.0001" mass="80" name="walker.pedestrian.0001" pedestrianCategory="pedestrian"> <ParameterDeclarations/> <BoundingBox> <Center x="1.5" y="0.0" z="0.9"/> <Dimensions width="2" length="2" height="2"/> </BoundingBox> <Properties> <Property name="type" value="simulation"/> </Properties> </Pedestrian> </ScenarioObject> <ScenarioObject name="pedestrian_close_to_adversary_9801"> <Pedestrian model="walker.pedestrian.0001" mass="80" name="walker.pedestrian.0001" pedestrianCategory="pedestrian"> <ParameterDeclarations/> <BoundingBox> <Center x="1.5" y="0.0" z="0.9"/> <Dimensions width="2" length="2" height="2"/> </BoundingBox> <Properties> <Property name="type" value="simulation"/> </Properties> </Pedestrian> </ScenarioObject> <ScenarioObject name="pedestrian_close_to_standing_9802"> <Pedestrian model="walker.pedestrian.0001" mass="80" name="walker.pedestrian.0001" pedestrianCategory="pedestrian"> <ParameterDeclarations/> <BoundingBox> <Center x="1.5" y="0.0" z="0.9"/> <Dimensions width="2" length="2" height="2"/> </BoundingBox> <Properties> <Property name="type" value="simulation"/> </Properties> </Pedestrian> </ScenarioObject> <ScenarioObject name="pedestrian_w_transform_9803"> <Pedestrian model="walker.pedestrian.0001" mass="80" name="walker.pedestrian.0001" pedestrianCategory="pedestrian"> <ParameterDeclarations/> <BoundingBox> <Center x="1.5" y="0.0" z="0.9"/> <Dimensions width="2" length="2" height="2"/> </BoundingBox> <Properties> <Property name="type" value="simulation"/> </Properties> </Pedestrian> </ScenarioObject> <ScenarioObject name="pedestrian_close_to_hero_9804"> <Pedestrian model="walker.pedestrian.0001" mass="80" name="walker.pedestrian.0001" pedestrianCategory="pedestrian"> <ParameterDeclarations/> <BoundingBox> <Center x="1.5" y="0.0" z="0.9"/> <Dimensions width="2" length="2" height="2"/> </BoundingBox> <Properties> <Property name="type" value="simulation"/> </Properties> </Pedestrian> </ScenarioObject> <ScenarioObject name="pedestrian_close_to_hero_9805"> <Pedestrian model="walker.pedestrian.0001" mass="80" name="walker.pedestrian.0001" pedestrianCategory="pedestrian"> <ParameterDeclarations/> <BoundingBox> <Center x="1.5" y="0.0" z="0.9"/> <Dimensions width="2" length="2" height="2"/> </BoundingBox> <Properties> <Property name="type" value="simulation"/> </Properties> </Pedestrian> </ScenarioObject> <ScenarioObject name="pedestrian_w_transform_9806"> <Pedestrian model="walker.pedestrian.0001" mass="80" name="walker.pedestrian.0001" pedestrianCategory="pedestrian"> <ParameterDeclarations/> <BoundingBox> <Center x="1.5" y="0.0" z="0.9"/> <Dimensions width="2" length="2" height="2"/> </BoundingBox> <Properties> <Property name="type" value="simulation"/> </Properties> </Pedestrian> </ScenarioObject> <ScenarioObject name="pedestrian_close_to_standing_9807"> <Pedestrian model="walker.pedestrian.0001" mass="80" name="walker.pedestrian.0001" pedestrianCategory="pedestrian"> <ParameterDeclarations/> <BoundingBox> <Center x="1.5" y="0.0" z="0.9"/> <Dimensions width="2" length="2" height="2"/> </BoundingBox> <Properties> <Property name="type" value="simulation"/> </Properties> </Pedestrian> </ScenarioObject> </Entities> <Storyboard> <Init> <Actions> <GlobalAction> <EnvironmentAction> <Environment name="Environment1"> <TimeOfDay animation="false" dateTime="2019-06-25T12:00:00"/> <Weather cloudState="free"> <Sun intensity="0.85" azimuth="0" elevation="1.31"/> <Fog visualRange="100000.0"/> <Precipitation precipitationType="dry" intensity="0.0"/> </Weather> <RoadCondition frictionScaleFactor="1.0"/> </Environment> </EnvironmentAction> </GlobalAction> <Private entityRef="hero"> <PrivateAction> <TeleportAction> <Position> <WorldPosition x="-9.4" y="-152.8" z="0.5" h="1.57079632679"/> </Position> </TeleportAction> </PrivateAction> <PrivateAction> <ControllerAction> <AssignControllerAction> <Controller name="HeroAgent"> <Properties> <Property name="module" value="external_control"/> </Properties> </Controller> </AssignControllerAction> <OverrideControllerValueAction> <Throttle value="0" active="false"/> <Brake value="0" active="false"/> <Clutch value="0" active="false"/> <ParkingBrake value="0" active="false"/> <SteeringWheel value="0" active="false"/> <Gear number="0" active="false"/> </OverrideControllerValueAction> </ControllerAction> </PrivateAction> </Private> <Private entityRef="adversary"> <PrivateAction> <TeleportAction> <Position> <WorldPosition x="-9.4" y="-71.0" z="0.5" h="1.57079632679"/> </Position> </TeleportAction> </PrivateAction> </Private> <Private entityRef="standing"> <PrivateAction> <TeleportAction> <Position> <WorldPosition x="-8.2" y="29.2" z="0.5" h="1.57079632679"/> </Position> </TeleportAction> </PrivateAction> </Private> <Private entityRef="pedestrian_close_to_hero_9793"> <PrivateAction> <TeleportAction> <Position> <WorldPosition x="-10.862499237060547" y="-152.4938201904297" z="0.0014286803780123591"/> </Position> </TeleportAction> </PrivateAction> </Private> <Private entityRef="pedestrian_close_to_standing_9794"> <PrivateAction> <TeleportAction> <Position> <WorldPosition x="-6.313275337219238" y="34.19415283203125" z="0.0030730057042092085"/> </Position> </TeleportAction> </PrivateAction> </Private> <Private entityRef="pedestrian_w_transform_9795"> <PrivateAction> <TeleportAction> <Position> <WorldPosition x="73.56092071533203" y="1.3344990015029907" z="0.5"/> </Position> </TeleportAction> </PrivateAction> </Private> <Private entityRef="pedestrian_close_to_adversary_9796"> <PrivateAction> <TeleportAction> <Position> <WorldPosition x="6.072591304779053" y="-53.34321212768555" z="0.033770330250263214"/> </Position> </TeleportAction> </PrivateAction> </Private> <Private entityRef="pedestrian_close_to_adversary_9797"> <PrivateAction> <TeleportAction> <Position> <WorldPosition x="-1.088367223739624" y="-78.6634292602539" z="0.03373454883694649"/> </Position> </TeleportAction> </PrivateAction> </Private> <Private entityRef="pedestrian_close_to_hero_9798"> <PrivateAction> <TeleportAction> <Position> <WorldPosition x="-12.930425643920898" y="-156.986572265625" z="0.0014286803780123591"/> </Position> </TeleportAction> </PrivateAction> </Private> <Private entityRef="pedestrian_close_to_adversary_9799"> <PrivateAction> <TeleportAction> <Position> <WorldPosition x="-13.968403816223145" y="-62.989402770996094" z="0.03377719968557358"/> </Position> </TeleportAction> </PrivateAction> </Private> <Private entityRef="pedestrian_close_to_standing_9800"> <PrivateAction> <TeleportAction> <Position> <WorldPosition x="-12.019783020019531" y="22.276119232177734" z="0.00307712540961802"/> </Position> </TeleportAction> </PrivateAction> </Private> <Private entityRef="pedestrian_close_to_adversary_9801"> <PrivateAction> <TeleportAction> <Position> <WorldPosition x="1.0011212825775146" y="-56.855655670166016" z="0.033802032470703125"/> </Position> </TeleportAction> </PrivateAction> </Private> <Private entityRef="pedestrian_close_to_standing_9802"> <PrivateAction> <TeleportAction> <Position> <WorldPosition x="-9.701982498168945" y="33.307247161865234" z="0.0030812835320830345"/> </Position> </TeleportAction> </PrivateAction> </Private> <Private entityRef="pedestrian_w_transform_9803"> <PrivateAction> <TeleportAction> <Position> <WorldPosition x="-61.694435119628906" y="93.7232894897461" z="0.5"/> </Position> </TeleportAction> </PrivateAction> </Private> <Private entityRef="pedestrian_close_to_hero_9804"> <PrivateAction> <TeleportAction> <Position> <WorldPosition x="-12.693164825439453" y="-155.3232421875" z="0.0014286803780123591"/> </Position> </TeleportAction> </PrivateAction> </Private> <Private entityRef="pedestrian_close_to_hero_9805"> <PrivateAction> <TeleportAction> <Position> <WorldPosition x="-10.257197380065918" y="-159.5845947265625" z="0.0014286803780123591"/> </Position> </TeleportAction> </PrivateAction> </Private> <Private entityRef="pedestrian_w_transform_9806"> <PrivateAction> <TeleportAction> <Position> <WorldPosition x="-86.05245208740234" y="-46.516109466552734" z="0.5"/> </Position> </TeleportAction> </PrivateAction> </Private> <Private entityRef="pedestrian_close_to_standing_9807"> <PrivateAction> <TeleportAction> <Position> <WorldPosition x="-4.763311386108398" y="26.065025329589844" z="0.0030927658081054688"/> </Position> </TeleportAction> </PrivateAction> </Private> </Actions> </Init> <Story name="MyStory"> <Act name="Behavior"> <ManeuverGroup maximumExecutionCount="1" name="ManeuverSequence"> <Actors selectTriggeringEntities="false"> <EntityRef entityRef="adversary"/> </Actors> <Maneuver name="LaneChangeSimpleManeuver"> <Event name="AdversaryAccelerates" priority="overwrite"> <Action name="AdversaryAccelerates"> <PrivateAction> <LongitudinalAction> <SpeedAction> <SpeedActionDynamics dynamicsShape="step" value="50" dynamicsDimension="distance"/> <SpeedActionTarget> <AbsoluteTargetSpeed value="5.0"/> </SpeedActionTarget> </SpeedAction> </LongitudinalAction> </PrivateAction> </Action> <StartTrigger> <ConditionGroup> <Condition name="StartCondition" delay="0" conditionEdge="rising"> <ByEntityCondition> <TriggeringEntities triggeringEntitiesRule="any"> <EntityRef entityRef="hero"/> </TriggeringEntities> <EntityCondition> <RelativeDistanceCondition entityRef="adversary" relativeDistanceType="cartesianDistance" value="40.0" freespace="false" rule="lessThan"/> </EntityCondition> </ByEntityCondition> </Condition> </ConditionGroup> </StartTrigger> </Event> <Event name="AdversaryChangesLane" priority="overwrite"> <Action name="AdversaryChangesLane"> <PrivateAction> <LateralAction> <LaneChangeAction> <LaneChangeActionDynamics dynamicsShape="linear" value="25" dynamicsDimension="distance"/> <LaneChangeTarget> <RelativeTargetLane entityRef="adversary" value="-1"/> </LaneChangeTarget> </LaneChangeAction> </LateralAction> </PrivateAction> </Action> <StartTrigger> <ConditionGroup> <Condition name="AfterAdversaryAccelerates" delay="0" conditionEdge="rising"> <ByValueCondition> <StoryboardElementStateCondition storyboardElementType="action" storyboardElementRef="AdversaryAccelerates" state="completeState"/> </ByValueCondition> </Condition> </ConditionGroup> </StartTrigger> </Event> </Maneuver> </ManeuverGroup> <StartTrigger> <ConditionGroup> <Condition name="OverallStartCondition" delay="0" conditionEdge="rising"> <ByEntityCondition> <TriggeringEntities triggeringEntitiesRule="any"> <EntityRef entityRef="hero"/> </TriggeringEntities> <EntityCondition> <TraveledDistanceCondition value="1.0"/> </EntityCondition> </ByEntityCondition> </Condition> <Condition name="StartTime" delay="0" conditionEdge="rising"> <ByValueCondition> <SimulationTimeCondition value="0" rule="equalTo"/> </ByValueCondition> </Condition> </ConditionGroup> </StartTrigger> <StopTrigger> <ConditionGroup> <Condition name="EndCondition" delay="0" conditionEdge="rising"> <ByEntityCondition> <TriggeringEntities triggeringEntitiesRule="any"> <EntityRef entityRef="hero"/> </TriggeringEntities> <EntityCondition> <TraveledDistanceCondition value="200.0"/> </EntityCondition> </ByEntityCondition> </Condition> </ConditionGroup> </StopTrigger> </Act> </Story> <StopTrigger> <ConditionGroup> <Condition name="criteria_RunningStopTest" delay="0" conditionEdge="rising"> <ByValueCondition> <ParameterCondition parameterRef="" value="" rule="lessThan"/> </ByValueCondition> </Condition> <Condition name="criteria_RunningRedLightTest" delay="0" conditionEdge="rising"> <ByValueCondition> <ParameterCondition parameterRef="" value="" rule="lessThan"/> </ByValueCondition> </Condition> <Condition name="criteria_WrongLaneTest" delay="0" conditionEdge="rising"> <ByValueCondition> <ParameterCondition parameterRef="" value="" rule="lessThan"/> </ByValueCondition> </Condition> <Condition name="criteria_OnSidewalkTest" delay="0" conditionEdge="rising"> <ByValueCondition> <ParameterCondition parameterRef="" value="" rule="lessThan"/> </ByValueCondition> </Condition> <Condition name="criteria_KeepLaneTest" delay="0" conditionEdge="rising"> <ByValueCondition> <ParameterCondition parameterRef="" value="" rule="lessThan"/> </ByValueCondition> </Condition> <Condition name="criteria_CollisionTest" delay="0" conditionEdge="rising"> <ByValueCondition> <ParameterCondition parameterRef="" value="" rule="lessThan"/> </ByValueCondition> </Condition> <Condition name="criteria_DrivenDistanceTest" delay="0" conditionEdge="rising"> <ByValueCondition> <ParameterCondition parameterRef="distance_success" value="100" rule="lessThan"/> </ByValueCondition> </Condition> </ConditionGroup> </StopTrigger> </Storyboard> </OpenSCENARIO> ```
Here is the result: ``` <?xml version="1.0" ?> <OpenSCENARIO> <FileHeader revMajor="1" revMinor="0" date="2020-03-24T12:00:00" description="CARLA:LaneChangeSimple" author=""/> <ParameterDeclarations/> <CatalogLocations/> <RoadNetwork> <LogicFile filepath="Town04"/> <SceneGraphFile filepath=""/> </RoadNetwork> <Entities> <ScenarioObject name="hero"> <Vehicle name="vehicle.tesla.model3" vehicleCategory="car"> <ParameterDeclarations/> <Performance maxSpeed="69.444" maxAcceleration="200" maxDeceleration="10.0"/> <BoundingBox> <Center x="1.5" y="0.0" z="0.9"/> <Dimensions width="2.1" length="4.5" height="1.8"/> </BoundingBox> <Axles> <FrontAxle maxSteering="0.5" wheelDiameter="0.6" trackWidth="1.8" positionX="3.1" positionZ="0.3"/> <RearAxle maxSteering="0.0" wheelDiameter="0.6" trackWidth="1.8" positionX="0.0" positionZ="0.3"/> </Axles> <Properties> <Property name="type" value="ego_vehicle"/> </Properties> </Vehicle> </ScenarioObject> <ScenarioObject name="adversary"> <Vehicle name="vehicle.lincoln.mkz_2017" vehicleCategory="car"> <ParameterDeclarations/> <Performance maxSpeed="69.444" maxAcceleration="200" maxDeceleration="10.0"/> <BoundingBox> <Center x="1.5" y="0.0" z="0.9"/> <Dimensions width="2.1" length="4.5" height="1.8"/> </BoundingBox> <Axles> <FrontAxle maxSteering="0.5" wheelDiameter="0.6" trackWidth="1.8" positionX="3.1" positionZ="0.3"/> <RearAxle maxSteering="0.0" wheelDiameter="0.6" trackWidth="1.8" positionX="0.0" positionZ="0.3"/> </Axles> <Properties> <Property name="type" value="simulation"/> </Properties> </Vehicle> </ScenarioObject> <ScenarioObject name="standing"> <Vehicle name="vehicle.volkswagen.t2" vehicleCategory="car"> <ParameterDeclarations/> <Performance maxSpeed="69.444" maxAcceleration="200" maxDeceleration="10.0"/> <BoundingBox> <Center x="1.5" y="0.0" z="0.9"/> <Dimensions width="2.1" length="4.5" height="1.8"/> </BoundingBox> <Axles> <FrontAxle maxSteering="0.5" wheelDiameter="0.6" trackWidth="1.8" positionX="3.1" positionZ="0.3"/> <RearAxle maxSteering="0.0" wheelDiameter="0.6" trackWidth="1.8" positionX="0.0" positionZ="0.3"/> </Axles> <Properties> <Property name="type" value="simulation"/> </Properties> </Vehicle> </ScenarioObject> <ScenarioObject name="pedestrian_close_to_hero_9793"> <Pedestrian model="walker.pedestrian.0001" mass="80" name="walker.pedestrian.0001" pedestrianCategory="pedestrian"> <ParameterDeclarations/> <BoundingBox> <Center x="1.5" y="0.0" z="0.9"/> <Dimensions width="2" length="2" height="2"/> </BoundingBox> <Properties> <Property name="type" value="simulation"/> </Properties> </Pedestrian> </ScenarioObject> <ScenarioObject name="pedestrian_close_to_standing_9794"> <Pedestrian model="walker.pedestrian.0001" mass="80" name="walker.pedestrian.0001" pedestrianCategory="pedestrian"> <ParameterDeclarations/> <BoundingBox> <Center x="1.5" y="0.0" z="0.9"/> <Dimensions width="2" length="2" height="2"/> </BoundingBox> <Properties> <Property name="type" value="simulation"/> </Properties> </Pedestrian> </ScenarioObject> <ScenarioObject name="pedestrian_w_transform_9795"> <Pedestrian model="walker.pedestrian.0001" mass="80" name="walker.pedestrian.0001" pedestrianCategory="pedestrian"> <ParameterDeclarations/> <BoundingBox> <Center x="1.5" y="0.0" z="0.9"/> <Dimensions width="2" length="2" height="2"/> </BoundingBox> <Properties> <Property name="type" value="simulation"/> </Properties> </Pedestrian> </ScenarioObject> <ScenarioObject name="pedestrian_close_to_adversary_9796"> <Pedestrian model="walker.pedestrian.0001" mass="80" name="walker.pedestrian.0001" pedestrianCategory="pedestrian"> <ParameterDeclarations/> <BoundingBox> <Center x="1.5" y="0.0" z="0.9"/> <Dimensions width="2" length="2" height="2"/> </BoundingBox> <Properties> <Property name="type" value="simulation"/> </Properties> </Pedestrian> </ScenarioObject> <ScenarioObject name="pedestrian_close_to_adversary_9797"> <Pedestrian model="walker.pedestrian.0001" mass="80" name="walker.pedestrian.0001" pedestrianCategory="pedestrian"> <ParameterDeclarations/> <BoundingBox> <Center x="1.5" y="0.0" z="0.9"/> <Dimensions width="2" length="2" height="2"/> </BoundingBox> <Properties> <Property name="type" value="simulation"/> </Properties> </Pedestrian> </ScenarioObject> <ScenarioObject name="pedestrian_close_to_hero_9798"> <Pedestrian model="walker.pedestrian.0001" mass="80" name="walker.pedestrian.0001" pedestrianCategory="pedestrian"> <ParameterDeclarations/> <BoundingBox> <Center x="1.5" y="0.0" z="0.9"/> <Dimensions width="2" length="2" height="2"/> </BoundingBox> <Properties> <Property name="type" value="simulation"/> </Properties> </Pedestrian> </ScenarioObject> <ScenarioObject name="pedestrian_close_to_adversary_9799"> <Pedestrian model="walker.pedestrian.0001" mass="80" name="walker.pedestrian.0001" pedestrianCategory="pedestrian"> <ParameterDeclarations/> <BoundingBox> <Center x="1.5" y="0.0" z="0.9"/> <Dimensions width="2" length="2" height="2"/> </BoundingBox> <Properties> <Property name="type" value="simulation"/> </Properties> </Pedestrian> </ScenarioObject> <ScenarioObject name="pedestrian_close_to_standing_9800"> <Pedestrian model="walker.pedestrian.0001" mass="80" name="walker.pedestrian.0001" pedestrianCategory="pedestrian"> <ParameterDeclarations/> <BoundingBox> <Center x="1.5" y="0.0" z="0.9"/> <Dimensions width="2" length="2" height="2"/> </BoundingBox> <Properties> <Property name="type" value="simulation"/> </Properties> </Pedestrian> </ScenarioObject> <ScenarioObject name="pedestrian_close_to_adversary_9801"> <Pedestrian model="walker.pedestrian.0001" mass="80" name="walker.pedestrian.0001" pedestrianCategory="pedestrian"> <ParameterDeclarations/> <BoundingBox> <Center x="1.5" y="0.0" z="0.9"/> <Dimensions width="2" length="2" height="2"/> </BoundingBox> <Properties> <Property name="type" value="simulation"/> </Properties> </Pedestrian> </ScenarioObject> <ScenarioObject name="pedestrian_close_to_standing_9802"> <Pedestrian model="walker.pedestrian.0001" mass="80" name="walker.pedestrian.0001" pedestrianCategory="pedestrian"> <ParameterDeclarations/> <BoundingBox> <Center x="1.5" y="0.0" z="0.9"/> <Dimensions width="2" length="2" height="2"/> </BoundingBox> <Properties> <Property name="type" value="simulation"/> </Properties> </Pedestrian> </ScenarioObject> <ScenarioObject name="pedestrian_w_transform_9803"> <Pedestrian model="walker.pedestrian.0001" mass="80" name="walker.pedestrian.0001" pedestrianCategory="pedestrian"> <ParameterDeclarations/> <BoundingBox> <Center x="1.5" y="0.0" z="0.9"/> <Dimensions width="2" length="2" height="2"/> </BoundingBox> <Properties> <Property name="type" value="simulation"/> </Properties> </Pedestrian> </ScenarioObject> <ScenarioObject name="pedestrian_close_to_hero_9804"> <Pedestrian model="walker.pedestrian.0001" mass="80" name="walker.pedestrian.0001" pedestrianCategory="pedestrian"> <ParameterDeclarations/> <BoundingBox> <Center x="1.5" y="0.0" z="0.9"/> <Dimensions width="2" length="2" height="2"/> </BoundingBox> <Properties> <Property name="type" value="simulation"/> </Properties> </Pedestrian> </ScenarioObject> <ScenarioObject name="pedestrian_close_to_hero_9805"> <Pedestrian model="walker.pedestrian.0001" mass="80" name="walker.pedestrian.0001" pedestrianCategory="pedestrian"> <ParameterDeclarations/> <BoundingBox> <Center x="1.5" y="0.0" z="0.9"/> <Dimensions width="2" length="2" height="2"/> </BoundingBox> <Properties> <Property name="type" value="simulation"/> </Properties> </Pedestrian> </ScenarioObject> <ScenarioObject name="pedestrian_w_transform_9806"> <Pedestrian model="walker.pedestrian.0001" mass="80" name="walker.pedestrian.0001" pedestrianCategory="pedestrian"> <ParameterDeclarations/> <BoundingBox> <Center x="1.5" y="0.0" z="0.9"/> <Dimensions width="2" length="2" height="2"/> </BoundingBox> <Properties> <Property name="type" value="simulation"/> </Properties> </Pedestrian> </ScenarioObject> <ScenarioObject name="pedestrian_close_to_standing_9807"> <Pedestrian model="walker.pedestrian.0001" mass="80" name="walker.pedestrian.0001" pedestrianCategory="pedestrian"> <ParameterDeclarations/> <BoundingBox> <Center x="1.5" y="0.0" z="0.9"/> <Dimensions width="2" length="2" height="2"/> </BoundingBox> <Properties> <Property name="type" value="simulation"/> </Properties> </Pedestrian> </ScenarioObject> <ScenarioObject name="pedestrian_w_transform_9808"> <Pedestrian model="walker.pedestrian.0001" mass="80" name="walker.pedestrian.0001" pedestrianCategory="pedestrian"> <ParameterDeclarations/> <BoundingBox> <Center x="1.5" y="0.0" z="0.9"/> <Dimensions width="2" length="2" height="2"/> </BoundingBox> <Properties> <Property name="type" value="simulation"/> </Properties> </Pedestrian> </ScenarioObject> </Entities> <Storyboard> <Init> <Actions> <GlobalAction> <EnvironmentAction> <Environment name="Environment1"> <TimeOfDay animation="false" dateTime="2019-06-25T12:00:00"/> <Weather cloudState="free"> <Sun intensity="0.85" azimuth="0" elevation="1.31"/> <Fog visualRange="100000.0"/> <Precipitation precipitationType="dry" intensity="0.0"/> </Weather> <RoadCondition frictionScaleFactor="1.0"/> </Environment> </EnvironmentAction> </GlobalAction> <Private entityRef="hero"> <PrivateAction> <TeleportAction> <Position> <WorldPosition x="-9.4" y="-152.8" z="0.5" h="1.57079632679"/> </Position> </TeleportAction> </PrivateAction> <PrivateAction> <ControllerAction> <AssignControllerAction> <Controller name="HeroAgent"> <Properties> <Property name="module" value="external_control"/> </Properties> </Controller> </AssignControllerAction> <OverrideControllerValueAction> <Throttle value="0" active="false"/> <Brake value="0" active="false"/> <Clutch value="0" active="false"/> <ParkingBrake value="0" active="false"/> <SteeringWheel value="0" active="false"/> <Gear number="0" active="false"/> </OverrideControllerValueAction> </ControllerAction> </PrivateAction> </Private> <Private entityRef="adversary"> <PrivateAction> <TeleportAction> <Position> <WorldPosition x="-9.4" y="-71.0" z="0.5" h="1.57079632679"/> </Position> </TeleportAction> </PrivateAction> </Private> <Private entityRef="standing"> <PrivateAction> <TeleportAction> <Position> <WorldPosition x="-8.2" y="29.2" z="0.5" h="1.57079632679"/> </Position> </TeleportAction> </PrivateAction> </Private> <Private entityRef="pedestrian_close_to_hero_9793"> <PrivateAction> <TeleportAction> <Position> <WorldPosition x="-10.862499237060547" y="-152.4938201904297" z="0.0014286803780123591"/> </Position> </TeleportAction> </PrivateAction> </Private> <Private entityRef="pedestrian_close_to_standing_9794"> <PrivateAction> <TeleportAction> <Position> <WorldPosition x="-6.313275337219238" y="34.19415283203125" z="0.0030730057042092085"/> </Position> </TeleportAction> </PrivateAction> </Private> <Private entityRef="pedestrian_w_transform_9795"> <PrivateAction> <TeleportAction> <Position> <WorldPosition x="73.56092071533203" y="1.3344990015029907" z="0.5"/> </Position> </TeleportAction> </PrivateAction> </Private> <Private entityRef="pedestrian_close_to_adversary_9796"> <PrivateAction> <TeleportAction> <Position> <WorldPosition x="6.072591304779053" y="-53.34321212768555" z="0.033770330250263214"/> </Position> </TeleportAction> </PrivateAction> </Private> <Private entityRef="pedestrian_close_to_adversary_9797"> <PrivateAction> <TeleportAction> <Position> <WorldPosition x="-1.088367223739624" y="-78.6634292602539" z="0.03373454883694649"/> </Position> </TeleportAction> </PrivateAction> </Private> <Private entityRef="pedestrian_close_to_hero_9798"> <PrivateAction> <TeleportAction> <Position> <WorldPosition x="-12.930425643920898" y="-156.986572265625" z="0.0014286803780123591"/> </Position> </TeleportAction> </PrivateAction> </Private> <Private entityRef="pedestrian_close_to_adversary_9799"> <PrivateAction> <TeleportAction> <Position> <WorldPosition x="-13.968403816223145" y="-62.989402770996094" z="0.03377719968557358"/> </Position> </TeleportAction> </PrivateAction> </Private> <Private entityRef="pedestrian_close_to_standing_9800"> <PrivateAction> <TeleportAction> <Position> <WorldPosition x="-12.019783020019531" y="22.276119232177734" z="0.00307712540961802"/> </Position> </TeleportAction> </PrivateAction> </Private> <Private entityRef="pedestrian_close_to_adversary_9801"> <PrivateAction> <TeleportAction> <Position> <WorldPosition x="1.0011212825775146" y="-56.855655670166016" z="0.033802032470703125"/> </Position> </TeleportAction> </PrivateAction> </Private> <Private entityRef="pedestrian_close_to_standing_9802"> <PrivateAction> <TeleportAction> <Position> <WorldPosition x="-9.701982498168945" y="33.307247161865234" z="0.0030812835320830345"/> </Position> </TeleportAction> </PrivateAction> </Private> <Private entityRef="pedestrian_w_transform_9803"> <PrivateAction> <TeleportAction> <Position> <WorldPosition x="-61.694435119628906" y="93.7232894897461" z="0.5"/> </Position> </TeleportAction> </PrivateAction> </Private> <Private entityRef="pedestrian_close_to_hero_9804"> <PrivateAction> <TeleportAction> <Position> <WorldPosition x="-12.693164825439453" y="-155.3232421875" z="0.0014286803780123591"/> </Position> </TeleportAction> </PrivateAction> </Private> <Private entityRef="pedestrian_close_to_hero_9805"> <PrivateAction> <TeleportAction> <Position> <WorldPosition x="-10.257197380065918" y="-159.5845947265625" z="0.0014286803780123591"/> </Position> </TeleportAction> </PrivateAction> </Private> <Private entityRef="pedestrian_w_transform_9806"> <PrivateAction> <TeleportAction> <Position> <WorldPosition x="-86.05245208740234" y="-46.516109466552734" z="0.5"/> </Position> </TeleportAction> </PrivateAction> </Private> <Private entityRef="pedestrian_close_to_standing_9807"> <PrivateAction> <TeleportAction> <Position> <WorldPosition x="-4.763311386108398" y="26.065025329589844" z="0.0030927658081054688"/> </Position> </TeleportAction> </PrivateAction> </Private> <Private entityRef="pedestrian_w_transform_9808"> <PrivateAction> <TeleportAction> <Position> <WorldPosition x="-53.62221145629883" y="-13.737640380859375" z="0.5"/> </Position> </TeleportAction> </PrivateAction> </Private> </Actions> </Init> <Story name="MyStory"> <Act name="Behavior"> <ManeuverGroup maximumExecutionCount="1" name="ManeuverSequence"> <Actors selectTriggeringEntities="false"> <EntityRef entityRef="adversary"/> </Actors> <Maneuver name="LaneChangeSimpleManeuver"> <Event name="AdversaryAccelerates" priority="overwrite"> <Action name="AdversaryAccelerates"> <PrivateAction> <LongitudinalAction> <SpeedAction> <SpeedActionDynamics dynamicsShape="step" value="50" dynamicsDimension="distance"/> <SpeedActionTarget> <AbsoluteTargetSpeed value="5.0"/> </SpeedActionTarget> </SpeedAction> </LongitudinalAction> </PrivateAction> </Action> <StartTrigger> <ConditionGroup> <Condition name="StartCondition" delay="0" conditionEdge="rising"> <ByEntityCondition> <TriggeringEntities triggeringEntitiesRule="any"> <EntityRef entityRef="hero"/> </TriggeringEntities> <EntityCondition> <RelativeDistanceCondition entityRef="adversary" relativeDistanceType="cartesianDistance" value="40.0" freespace="false" rule="lessThan"/> </EntityCondition> </ByEntityCondition> </Condition> </ConditionGroup> </StartTrigger> </Event> <Event name="AdversaryChangesLane" priority="overwrite"> <Action name="AdversaryChangesLane"> <PrivateAction> <LateralAction> <LaneChangeAction> <LaneChangeActionDynamics dynamicsShape="linear" value="25" dynamicsDimension="distance"/> <LaneChangeTarget> <RelativeTargetLane entityRef="adversary" value="-1"/> </LaneChangeTarget> </LaneChangeAction> </LateralAction> </PrivateAction> </Action> <StartTrigger> <ConditionGroup> <Condition name="AfterAdversaryAccelerates" delay="0" conditionEdge="rising"> <ByValueCondition> <StoryboardElementStateCondition storyboardElementType="action" storyboardElementRef="AdversaryAccelerates" state="completeState"/> </ByValueCondition> </Condition> </ConditionGroup> </StartTrigger> </Event> </Maneuver> </ManeuverGroup> <StartTrigger> <ConditionGroup> <Condition name="OverallStartCondition" delay="0" conditionEdge="rising"> <ByEntityCondition> <TriggeringEntities triggeringEntitiesRule="any"> <EntityRef entityRef="hero"/> </TriggeringEntities> <EntityCondition> <TraveledDistanceCondition value="1.0"/> </EntityCondition> </ByEntityCondition> </Condition> <Condition name="StartTime" delay="0" conditionEdge="rising"> <ByValueCondition> <SimulationTimeCondition value="0" rule="equalTo"/> </ByValueCondition> </Condition> </ConditionGroup> </StartTrigger> <StopTrigger> <ConditionGroup> <Condition name="EndCondition" delay="0" conditionEdge="rising"> <ByEntityCondition> <TriggeringEntities triggeringEntitiesRule="any"> <EntityRef entityRef="hero"/> </TriggeringEntities> <EntityCondition> <TraveledDistanceCondition value="200.0"/> </EntityCondition> </ByEntityCondition> </Condition> </ConditionGroup> </StopTrigger> </Act> </Story> <StopTrigger> <ConditionGroup> <Condition name="criteria_RunningStopTest" delay="0" conditionEdge="rising"> <ByValueCondition> <ParameterCondition parameterRef="" value="" rule="lessThan"/> </ByValueCondition> </Condition> <Condition name="criteria_RunningRedLightTest" delay="0" conditionEdge="rising"> <ByValueCondition> <ParameterCondition parameterRef="" value="" rule="lessThan"/> </ByValueCondition> </Condition> <Condition name="criteria_WrongLaneTest" delay="0" conditionEdge="rising"> <ByValueCondition> <ParameterCondition parameterRef="" value="" rule="lessThan"/> </ByValueCondition> </Condition> <Condition name="criteria_OnSidewalkTest" delay="0" conditionEdge="rising"> <ByValueCondition> <ParameterCondition parameterRef="" value="" rule="lessThan"/> </ByValueCondition> </Condition> <Condition name="criteria_KeepLaneTest" delay="0" conditionEdge="rising"> <ByValueCondition> <ParameterCondition parameterRef="" value="" rule="lessThan"/> </ByValueCondition> </Condition> <Condition name="criteria_CollisionTest" delay="0" conditionEdge="rising"> <ByValueCondition> <ParameterCondition parameterRef="" value="" rule="lessThan"/> </ByValueCondition> </Condition> <Condition name="criteria_DrivenDistanceTest" delay="0" conditionEdge="rising"> <ByValueCondition> <ParameterCondition parameterRef="distance_success" value="100" rule="lessThan"/> </ByValueCondition> </Condition> </ConditionGroup> </StopTrigger> </Storyboard> </OpenSCENARIO> ```
i would like to ask you to add pedestrian close to standing? ``` <?xml version="1.0" ?> <OpenSCENARIO> <FileHeader revMajor="1" revMinor="0" date="2020-03-24T12:00:00" description="CARLA:LaneChangeSimple" author=""/> <ParameterDeclarations/> <CatalogLocations/> <RoadNetwork> <LogicFile filepath="Town04"/> <SceneGraphFile filepath=""/> </RoadNetwork> <Entities> <ScenarioObject name="hero"> <Vehicle name="vehicle.tesla.model3" vehicleCategory="car"> <ParameterDeclarations/> <Performance maxSpeed="69.444" maxAcceleration="200" maxDeceleration="10.0"/> <BoundingBox> <Center x="1.5" y="0.0" z="0.9"/> <Dimensions width="2.1" length="4.5" height="1.8"/> </BoundingBox> <Axles> <FrontAxle maxSteering="0.5" wheelDiameter="0.6" trackWidth="1.8" positionX="3.1" positionZ="0.3"/> <RearAxle maxSteering="0.0" wheelDiameter="0.6" trackWidth="1.8" positionX="0.0" positionZ="0.3"/> </Axles> <Properties> <Property name="type" value="ego_vehicle"/> </Properties> </Vehicle> </ScenarioObject> <ScenarioObject name="adversary"> <Vehicle name="vehicle.lincoln.mkz_2017" vehicleCategory="car"> <ParameterDeclarations/> <Performance maxSpeed="69.444" maxAcceleration="200" maxDeceleration="10.0"/> <BoundingBox> <Center x="1.5" y="0.0" z="0.9"/> <Dimensions width="2.1" length="4.5" height="1.8"/> </BoundingBox> <Axles> <FrontAxle maxSteering="0.5" wheelDiameter="0.6" trackWidth="1.8" positionX="3.1" positionZ="0.3"/> <RearAxle maxSteering="0.0" wheelDiameter="0.6" trackWidth="1.8" positionX="0.0" positionZ="0.3"/> </Axles> <Properties> <Property name="type" value="simulation"/> </Properties> </Vehicle> </ScenarioObject> <ScenarioObject name="standing"> <Vehicle name="vehicle.volkswagen.t2" vehicleCategory="car"> <ParameterDeclarations/> <Performance maxSpeed="69.444" maxAcceleration="200" maxDeceleration="10.0"/> <BoundingBox> <Center x="1.5" y="0.0" z="0.9"/> <Dimensions width="2.1" length="4.5" height="1.8"/> </BoundingBox> <Axles> <FrontAxle maxSteering="0.5" wheelDiameter="0.6" trackWidth="1.8" positionX="3.1" positionZ="0.3"/> <RearAxle maxSteering="0.0" wheelDiameter="0.6" trackWidth="1.8" positionX="0.0" positionZ="0.3"/> </Axles> <Properties> <Property name="type" value="simulation"/> </Properties> </Vehicle> </ScenarioObject> <ScenarioObject name="pedestrian_close_to_adversary_6804"> <Pedestrian model="walker.pedestrian.0001" mass="80" name="walker.pedestrian.0001" pedestrianCategory="pedestrian"> <ParameterDeclarations/> <BoundingBox> <Center x="1.5" y="0.0" z="0.9"/> <Dimensions width="2" length="2" height="2"/> </BoundingBox> <Properties> <Property name="type" value="simulation"/> </Properties> </Pedestrian> </ScenarioObject> <ScenarioObject name="pedestrian_w_transform_6805"> <Pedestrian model="walker.pedestrian.0001" mass="80" name="walker.pedestrian.0001" pedestrianCategory="pedestrian"> <ParameterDeclarations/> <BoundingBox> <Center x="1.5" y="0.0" z="0.9"/> <Dimensions width="2" length="2" height="2"/> </BoundingBox> <Properties> <Property name="type" value="simulation"/> </Properties> </Pedestrian> </ScenarioObject> <ScenarioObject name="pedestrian_w_transform_6806"> <Pedestrian model="walker.pedestrian.0001" mass="80" name="walker.pedestrian.0001" pedestrianCategory="pedestrian"> <ParameterDeclarations/> <BoundingBox> <Center x="1.5" y="0.0" z="0.9"/> <Dimensions width="2" length="2" height="2"/> </BoundingBox> <Properties> <Property name="type" value="simulation"/> </Properties> </Pedestrian> </ScenarioObject> <ScenarioObject name="pedestrian_close_to_hero_6807"> <Pedestrian model="walker.pedestrian.0001" mass="80" name="walker.pedestrian.0001" pedestrianCategory="pedestrian"> <ParameterDeclarations/> <BoundingBox> <Center x="1.5" y="0.0" z="0.9"/> <Dimensions width="2" length="2" height="2"/> </BoundingBox> <Properties> <Property name="type" value="simulation"/> </Properties> </Pedestrian> </ScenarioObject> <ScenarioObject name="pedestrian_close_to_standing_6808"> <Pedestrian model="walker.pedestrian.0001" mass="80" name="walker.pedestrian.0001" pedestrianCategory="pedestrian"> <ParameterDeclarations/> <BoundingBox> <Center x="1.5" y="0.0" z="0.9"/> <Dimensions width="2" length="2" height="2"/> </BoundingBox> <Properties> <Property name="type" value="simulation"/> </Properties> </Pedestrian> </ScenarioObject> <ScenarioObject name="pedestrian_close_to_adversary_6809"> <Pedestrian model="walker.pedestrian.0001" mass="80" name="walker.pedestrian.0001" pedestrianCategory="pedestrian"> <ParameterDeclarations/> <BoundingBox> <Center x="1.5" y="0.0" z="0.9"/> <Dimensions width="2" length="2" height="2"/> </BoundingBox> <Properties> <Property name="type" value="simulation"/> </Properties> </Pedestrian> </ScenarioObject> <ScenarioObject name="pedestrian_w_transform_6810"> <Pedestrian model="walker.pedestrian.0001" mass="80" name="walker.pedestrian.0001" pedestrianCategory="pedestrian"> <ParameterDeclarations/> <BoundingBox> <Center x="1.5" y="0.0" z="0.9"/> <Dimensions width="2" length="2" height="2"/> </BoundingBox> <Properties> <Property name="type" value="simulation"/> </Properties> </Pedestrian> </ScenarioObject> <ScenarioObject name="pedestrian_close_to_standing_6811"> <Pedestrian model="walker.pedestrian.0001" mass="80" name="walker.pedestrian.0001" pedestrianCategory="pedestrian"> <ParameterDeclarations/> <BoundingBox> <Center x="1.5" y="0.0" z="0.9"/> <Dimensions width="2" length="2" height="2"/> </BoundingBox> <Properties> <Property name="type" value="simulation"/> </Properties> </Pedestrian> </ScenarioObject> <ScenarioObject name="pedestrian_w_transform_6812"> <Pedestrian model="walker.pedestrian.0001" mass="80" name="walker.pedestrian.0001" pedestrianCategory="pedestrian"> <ParameterDeclarations/> <BoundingBox> <Center x="1.5" y="0.0" z="0.9"/> <Dimensions width="2" length="2" height="2"/> </BoundingBox> <Properties> <Property name="type" value="simulation"/> </Properties> </Pedestrian> </ScenarioObject> <ScenarioObject name="pedestrian_w_transform_6813"> <Pedestrian model="walker.pedestrian.0001" mass="80" name="walker.pedestrian.0001" pedestrianCategory="pedestrian"> <ParameterDeclarations/> <BoundingBox> <Center x="1.5" y="0.0" z="0.9"/> <Dimensions width="2" length="2" height="2"/> </BoundingBox> <Properties> <Property name="type" value="simulation"/> </Properties> </Pedestrian> </ScenarioObject> </Entities> <Storyboard> <Init> <Actions> <GlobalAction> <EnvironmentAction> <Environment name="Environment1"> <TimeOfDay animation="false" dateTime="2019-06-25T12:00:00"/> <Weather cloudState="free"> <Sun intensity="0.85" azimuth="0" elevation="1.31"/> <Fog visualRange="100000.0"/> <Precipitation precipitationType="dry" intensity="0.0"/> </Weather> <RoadCondition frictionScaleFactor="1.0"/> </Environment> </EnvironmentAction> </GlobalAction> <Private entityRef="hero"> <PrivateAction> <TeleportAction> <Position> <WorldPosition x="-9.4" y="-152.8" z="0.5" h="1.57079632679"/> </Position> </TeleportAction> </PrivateAction> <PrivateAction> <ControllerAction> <AssignControllerAction> <Controller name="HeroAgent"> <Properties> <Property name="module" value="external_control"/> </Properties> </Controller> </AssignControllerAction> <OverrideControllerValueAction> <Throttle value="0" active="false"/> <Brake value="0" active="false"/> <Clutch value="0" active="false"/> <ParkingBrake value="0" active="false"/> <SteeringWheel value="0" active="false"/> <Gear number="0" active="false"/> </OverrideControllerValueAction> </ControllerAction> </PrivateAction> </Private> <Private entityRef="adversary"> <PrivateAction> <TeleportAction> <Position> <WorldPosition x="-9.4" y="-71.0" z="0.5" h="1.57079632679"/> </Position> </TeleportAction> </PrivateAction> </Private> <Private entityRef="standing"> <PrivateAction> <TeleportAction> <Position> <WorldPosition x="-8.2" y="29.2" z="0.5" h="1.57079632679"/> </Position> </TeleportAction> </PrivateAction> </Private> <Private entityRef="pedestrian_close_to_adversary_6804"> <PrivateAction> <TeleportAction> <Position> <WorldPosition x="-12.50153923034668" y="-76.0950927734375" z="0.033811453729867935"/> </Position> </TeleportAction> </PrivateAction> </Private> <Private entityRef="pedestrian_w_transform_6805"> <PrivateAction> <TeleportAction> <Position> <WorldPosition x="80.26005554199219" y="-59.672454833984375" z="0.5"/> </Position> </TeleportAction> </PrivateAction> </Private> <Private entityRef="pedestrian_w_transform_6806"> <PrivateAction> <TeleportAction> <Position> <WorldPosition x="-14.386933326721191" y="-11.212529182434082" z="0.5"/> </Position> </TeleportAction> </PrivateAction> </Private> <Private entityRef="pedestrian_close_to_hero_6807"> <PrivateAction> <TeleportAction> <Position> <WorldPosition x="-14.260915756225586" y="-134.25579833984375" z="0.0014286803780123591"/> </Position> </TeleportAction> </PrivateAction> </Private> <Private entityRef="pedestrian_close_to_standing_6808"> <PrivateAction> <TeleportAction> <Position> <WorldPosition x="-15.87164306640625" y="32.09717559814453" z="0.003071479732170701"/> </Position> </TeleportAction> </PrivateAction> </Private> <Private entityRef="pedestrian_close_to_adversary_6809"> <PrivateAction> <TeleportAction> <Position> <WorldPosition x="-16.191221237182617" y="-75.23015594482422" z="0.03382480517029762"/> </Position> </TeleportAction> </PrivateAction> </Private> <Private entityRef="pedestrian_w_transform_6810"> <PrivateAction> <TeleportAction> <Position> <WorldPosition x="-37.620418548583984" y="95.55260467529297" z="0.5"/> </Position> </TeleportAction> </PrivateAction> </Private> <Private entityRef="pedestrian_close_to_standing_6811"> <PrivateAction> <TeleportAction> <Position> <WorldPosition x="-6.996863842010498" y="39.117374420166016" z="0.0031320571433752775"/> </Position> </TeleportAction> </PrivateAction> </Private> <Private entityRef="pedestrian_w_transform_6812"> <PrivateAction> <TeleportAction> <Position> <WorldPosition x="98.83535766601562" y="33.9308967590332" z="0.5"/> </Position> </TeleportAction> </PrivateAction> </Private> <Private entityRef="pedestrian_w_transform_6813"> <PrivateAction> <TeleportAction> <Position> <WorldPosition x="6.079318046569824" y="-17.776325225830078" z="0.5"/> </Position> </TeleportAction> </PrivateAction> </Private> </Actions> </Init> <Story name="MyStory"> <Act name="Behavior"> <ManeuverGroup maximumExecutionCount="1" name="ManeuverSequence"> <Actors selectTriggeringEntities="false"> <EntityRef entityRef="adversary"/> </Actors> <Maneuver name="LaneChangeSimpleManeuver"> <Event name="AdversaryAccelerates" priority="overwrite"> <Action name="AdversaryAccelerates"> <PrivateAction> <LongitudinalAction> <SpeedAction> <SpeedActionDynamics dynamicsShape="step" value="50" dynamicsDimension="distance"/> <SpeedActionTarget> <AbsoluteTargetSpeed value="5.0"/> </SpeedActionTarget> </SpeedAction> </LongitudinalAction> </PrivateAction> </Action> <StartTrigger> <ConditionGroup> <Condition name="StartCondition" delay="0" conditionEdge="rising"> <ByEntityCondition> <TriggeringEntities triggeringEntitiesRule="any"> <EntityRef entityRef="hero"/> </TriggeringEntities> <EntityCondition> <RelativeDistanceCondition entityRef="adversary" relativeDistanceType="cartesianDistance" value="40.0" freespace="false" rule="lessThan"/> </EntityCondition> </ByEntityCondition> </Condition> </ConditionGroup> </StartTrigger> </Event> <Event name="AdversaryChangesLane" priority="overwrite"> <Action name="AdversaryChangesLane"> <PrivateAction> <LateralAction> <LaneChangeAction> <LaneChangeActionDynamics dynamicsShape="linear" value="25" dynamicsDimension="distance"/> <LaneChangeTarget> <RelativeTargetLane entityRef="adversary" value="-1"/> </LaneChangeTarget> </LaneChangeAction> </LateralAction> </PrivateAction> </Action> <StartTrigger> <ConditionGroup> <Condition name="AfterAdversaryAccelerates" delay="0" conditionEdge="rising"> <ByValueCondition> <StoryboardElementStateCondition storyboardElementType="action" storyboardElementRef="AdversaryAccelerates" state="completeState"/> </ByValueCondition> </Condition> </ConditionGroup> </StartTrigger> </Event> </Maneuver> </ManeuverGroup> <StartTrigger> <ConditionGroup> <Condition name="OverallStartCondition" delay="0" conditionEdge="rising"> <ByEntityCondition> <TriggeringEntities triggeringEntitiesRule="any"> <EntityRef entityRef="hero"/> </TriggeringEntities> <EntityCondition> <TraveledDistanceCondition value="1.0"/> </EntityCondition> </ByEntityCondition> </Condition> <Condition name="StartTime" delay="0" conditionEdge="rising"> <ByValueCondition> <SimulationTimeCondition value="0" rule="equalTo"/> </ByValueCondition> </Condition> </ConditionGroup> </StartTrigger> <StopTrigger> <ConditionGroup> <Condition name="EndCondition" delay="0" conditionEdge="rising"> <ByEntityCondition> <TriggeringEntities triggeringEntitiesRule="any"> <EntityRef entityRef="hero"/> </TriggeringEntities> <EntityCondition> <TraveledDistanceCondition value="200.0"/> </EntityCondition> </ByEntityCondition> </Condition> </ConditionGroup> </StopTrigger> </Act> </Story> <StopTrigger> <ConditionGroup> <Condition name="criteria_RunningStopTest" delay="0" conditionEdge="rising"> <ByValueCondition> <ParameterCondition parameterRef="" value="" rule="lessThan"/> </ByValueCondition> </Condition> <Condition name="criteria_RunningRedLightTest" delay="0" conditionEdge="rising"> <ByValueCondition> <ParameterCondition parameterRef="" value="" rule="lessThan"/> </ByValueCondition> </Condition> <Condition name="criteria_WrongLaneTest" delay="0" conditionEdge="rising"> <ByValueCondition> <ParameterCondition parameterRef="" value="" rule="lessThan"/> </ByValueCondition> </Condition> <Condition name="criteria_OnSidewalkTest" delay="0" conditionEdge="rising"> <ByValueCondition> <ParameterCondition parameterRef="" value="" rule="lessThan"/> </ByValueCondition> </Condition> <Condition name="criteria_KeepLaneTest" delay="0" conditionEdge="rising"> <ByValueCondition> <ParameterCondition parameterRef="" value="" rule="lessThan"/> </ByValueCondition> </Condition> <Condition name="criteria_CollisionTest" delay="0" conditionEdge="rising"> <ByValueCondition> <ParameterCondition parameterRef="" value="" rule="lessThan"/> </ByValueCondition> </Condition> <Condition name="criteria_DrivenDistanceTest" delay="0" conditionEdge="rising"> <ByValueCondition> <ParameterCondition parameterRef="distance_success" value="100" rule="lessThan"/> </ByValueCondition> </Condition> </ConditionGroup> </StopTrigger> </Storyboard> </OpenSCENARIO> ```
Here is the result: ``` <?xml version="1.0" ?> <OpenSCENARIO> <FileHeader revMajor="1" revMinor="0" date="2020-03-24T12:00:00" description="CARLA:LaneChangeSimple" author=""/> <ParameterDeclarations/> <CatalogLocations/> <RoadNetwork> <LogicFile filepath="Town04"/> <SceneGraphFile filepath=""/> </RoadNetwork> <Entities> <ScenarioObject name="hero"> <Vehicle name="vehicle.tesla.model3" vehicleCategory="car"> <ParameterDeclarations/> <Performance maxSpeed="69.444" maxAcceleration="200" maxDeceleration="10.0"/> <BoundingBox> <Center x="1.5" y="0.0" z="0.9"/> <Dimensions width="2.1" length="4.5" height="1.8"/> </BoundingBox> <Axles> <FrontAxle maxSteering="0.5" wheelDiameter="0.6" trackWidth="1.8" positionX="3.1" positionZ="0.3"/> <RearAxle maxSteering="0.0" wheelDiameter="0.6" trackWidth="1.8" positionX="0.0" positionZ="0.3"/> </Axles> <Properties> <Property name="type" value="ego_vehicle"/> </Properties> </Vehicle> </ScenarioObject> <ScenarioObject name="adversary"> <Vehicle name="vehicle.lincoln.mkz_2017" vehicleCategory="car"> <ParameterDeclarations/> <Performance maxSpeed="69.444" maxAcceleration="200" maxDeceleration="10.0"/> <BoundingBox> <Center x="1.5" y="0.0" z="0.9"/> <Dimensions width="2.1" length="4.5" height="1.8"/> </BoundingBox> <Axles> <FrontAxle maxSteering="0.5" wheelDiameter="0.6" trackWidth="1.8" positionX="3.1" positionZ="0.3"/> <RearAxle maxSteering="0.0" wheelDiameter="0.6" trackWidth="1.8" positionX="0.0" positionZ="0.3"/> </Axles> <Properties> <Property name="type" value="simulation"/> </Properties> </Vehicle> </ScenarioObject> <ScenarioObject name="standing"> <Vehicle name="vehicle.volkswagen.t2" vehicleCategory="car"> <ParameterDeclarations/> <Performance maxSpeed="69.444" maxAcceleration="200" maxDeceleration="10.0"/> <BoundingBox> <Center x="1.5" y="0.0" z="0.9"/> <Dimensions width="2.1" length="4.5" height="1.8"/> </BoundingBox> <Axles> <FrontAxle maxSteering="0.5" wheelDiameter="0.6" trackWidth="1.8" positionX="3.1" positionZ="0.3"/> <RearAxle maxSteering="0.0" wheelDiameter="0.6" trackWidth="1.8" positionX="0.0" positionZ="0.3"/> </Axles> <Properties> <Property name="type" value="simulation"/> </Properties> </Vehicle> </ScenarioObject> <ScenarioObject name="pedestrian_close_to_adversary_6804"> <Pedestrian model="walker.pedestrian.0001" mass="80" name="walker.pedestrian.0001" pedestrianCategory="pedestrian"> <ParameterDeclarations/> <BoundingBox> <Center x="1.5" y="0.0" z="0.9"/> <Dimensions width="2" length="2" height="2"/> </BoundingBox> <Properties> <Property name="type" value="simulation"/> </Properties> </Pedestrian> </ScenarioObject> <ScenarioObject name="pedestrian_w_transform_6805"> <Pedestrian model="walker.pedestrian.0001" mass="80" name="walker.pedestrian.0001" pedestrianCategory="pedestrian"> <ParameterDeclarations/> <BoundingBox> <Center x="1.5" y="0.0" z="0.9"/> <Dimensions width="2" length="2" height="2"/> </BoundingBox> <Properties> <Property name="type" value="simulation"/> </Properties> </Pedestrian> </ScenarioObject> <ScenarioObject name="pedestrian_w_transform_6806"> <Pedestrian model="walker.pedestrian.0001" mass="80" name="walker.pedestrian.0001" pedestrianCategory="pedestrian"> <ParameterDeclarations/> <BoundingBox> <Center x="1.5" y="0.0" z="0.9"/> <Dimensions width="2" length="2" height="2"/> </BoundingBox> <Properties> <Property name="type" value="simulation"/> </Properties> </Pedestrian> </ScenarioObject> <ScenarioObject name="pedestrian_close_to_hero_6807"> <Pedestrian model="walker.pedestrian.0001" mass="80" name="walker.pedestrian.0001" pedestrianCategory="pedestrian"> <ParameterDeclarations/> <BoundingBox> <Center x="1.5" y="0.0" z="0.9"/> <Dimensions width="2" length="2" height="2"/> </BoundingBox> <Properties> <Property name="type" value="simulation"/> </Properties> </Pedestrian> </ScenarioObject> <ScenarioObject name="pedestrian_close_to_standing_6808"> <Pedestrian model="walker.pedestrian.0001" mass="80" name="walker.pedestrian.0001" pedestrianCategory="pedestrian"> <ParameterDeclarations/> <BoundingBox> <Center x="1.5" y="0.0" z="0.9"/> <Dimensions width="2" length="2" height="2"/> </BoundingBox> <Properties> <Property name="type" value="simulation"/> </Properties> </Pedestrian> </ScenarioObject> <ScenarioObject name="pedestrian_close_to_adversary_6809"> <Pedestrian model="walker.pedestrian.0001" mass="80" name="walker.pedestrian.0001" pedestrianCategory="pedestrian"> <ParameterDeclarations/> <BoundingBox> <Center x="1.5" y="0.0" z="0.9"/> <Dimensions width="2" length="2" height="2"/> </BoundingBox> <Properties> <Property name="type" value="simulation"/> </Properties> </Pedestrian> </ScenarioObject> <ScenarioObject name="pedestrian_w_transform_6810"> <Pedestrian model="walker.pedestrian.0001" mass="80" name="walker.pedestrian.0001" pedestrianCategory="pedestrian"> <ParameterDeclarations/> <BoundingBox> <Center x="1.5" y="0.0" z="0.9"/> <Dimensions width="2" length="2" height="2"/> </BoundingBox> <Properties> <Property name="type" value="simulation"/> </Properties> </Pedestrian> </ScenarioObject> <ScenarioObject name="pedestrian_close_to_standing_6811"> <Pedestrian model="walker.pedestrian.0001" mass="80" name="walker.pedestrian.0001" pedestrianCategory="pedestrian"> <ParameterDeclarations/> <BoundingBox> <Center x="1.5" y="0.0" z="0.9"/> <Dimensions width="2" length="2" height="2"/> </BoundingBox> <Properties> <Property name="type" value="simulation"/> </Properties> </Pedestrian> </ScenarioObject> <ScenarioObject name="pedestrian_w_transform_6812"> <Pedestrian model="walker.pedestrian.0001" mass="80" name="walker.pedestrian.0001" pedestrianCategory="pedestrian"> <ParameterDeclarations/> <BoundingBox> <Center x="1.5" y="0.0" z="0.9"/> <Dimensions width="2" length="2" height="2"/> </BoundingBox> <Properties> <Property name="type" value="simulation"/> </Properties> </Pedestrian> </ScenarioObject> <ScenarioObject name="pedestrian_w_transform_6813"> <Pedestrian model="walker.pedestrian.0001" mass="80" name="walker.pedestrian.0001" pedestrianCategory="pedestrian"> <ParameterDeclarations/> <BoundingBox> <Center x="1.5" y="0.0" z="0.9"/> <Dimensions width="2" length="2" height="2"/> </BoundingBox> <Properties> <Property name="type" value="simulation"/> </Properties> </Pedestrian> </ScenarioObject> <ScenarioObject name="pedestrian_close_to_standing_6814"> <Pedestrian model="walker.pedestrian.0001" mass="80" name="walker.pedestrian.0001" pedestrianCategory="pedestrian"> <ParameterDeclarations/> <BoundingBox> <Center x="1.5" y="0.0" z="0.9"/> <Dimensions width="2" length="2" height="2"/> </BoundingBox> <Properties> <Property name="type" value="simulation"/> </Properties> </Pedestrian> </ScenarioObject> </Entities> <Storyboard> <Init> <Actions> <GlobalAction> <EnvironmentAction> <Environment name="Environment1"> <TimeOfDay animation="false" dateTime="2019-06-25T12:00:00"/> <Weather cloudState="free"> <Sun intensity="0.85" azimuth="0" elevation="1.31"/> <Fog visualRange="100000.0"/> <Precipitation precipitationType="dry" intensity="0.0"/> </Weather> <RoadCondition frictionScaleFactor="1.0"/> </Environment> </EnvironmentAction> </GlobalAction> <Private entityRef="hero"> <PrivateAction> <TeleportAction> <Position> <WorldPosition x="-9.4" y="-152.8" z="0.5" h="1.57079632679"/> </Position> </TeleportAction> </PrivateAction> <PrivateAction> <ControllerAction> <AssignControllerAction> <Controller name="HeroAgent"> <Properties> <Property name="module" value="external_control"/> </Properties> </Controller> </AssignControllerAction> <OverrideControllerValueAction> <Throttle value="0" active="false"/> <Brake value="0" active="false"/> <Clutch value="0" active="false"/> <ParkingBrake value="0" active="false"/> <SteeringWheel value="0" active="false"/> <Gear number="0" active="false"/> </OverrideControllerValueAction> </ControllerAction> </PrivateAction> </Private> <Private entityRef="adversary"> <PrivateAction> <TeleportAction> <Position> <WorldPosition x="-9.4" y="-71.0" z="0.5" h="1.57079632679"/> </Position> </TeleportAction> </PrivateAction> </Private> <Private entityRef="standing"> <PrivateAction> <TeleportAction> <Position> <WorldPosition x="-8.2" y="29.2" z="0.5" h="1.57079632679"/> </Position> </TeleportAction> </PrivateAction> </Private> <Private entityRef="pedestrian_close_to_adversary_6804"> <PrivateAction> <TeleportAction> <Position> <WorldPosition x="-12.50153923034668" y="-76.0950927734375" z="0.033811453729867935"/> </Position> </TeleportAction> </PrivateAction> </Private> <Private entityRef="pedestrian_w_transform_6805"> <PrivateAction> <TeleportAction> <Position> <WorldPosition x="80.26005554199219" y="-59.672454833984375" z="0.5"/> </Position> </TeleportAction> </PrivateAction> </Private> <Private entityRef="pedestrian_w_transform_6806"> <PrivateAction> <TeleportAction> <Position> <WorldPosition x="-14.386933326721191" y="-11.212529182434082" z="0.5"/> </Position> </TeleportAction> </PrivateAction> </Private> <Private entityRef="pedestrian_close_to_hero_6807"> <PrivateAction> <TeleportAction> <Position> <WorldPosition x="-14.260915756225586" y="-134.25579833984375" z="0.0014286803780123591"/> </Position> </TeleportAction> </PrivateAction> </Private> <Private entityRef="pedestrian_close_to_standing_6808"> <PrivateAction> <TeleportAction> <Position> <WorldPosition x="-15.87164306640625" y="32.09717559814453" z="0.003071479732170701"/> </Position> </TeleportAction> </PrivateAction> </Private> <Private entityRef="pedestrian_close_to_adversary_6809"> <PrivateAction> <TeleportAction> <Position> <WorldPosition x="-16.191221237182617" y="-75.23015594482422" z="0.03382480517029762"/> </Position> </TeleportAction> </PrivateAction> </Private> <Private entityRef="pedestrian_w_transform_6810"> <PrivateAction> <TeleportAction> <Position> <WorldPosition x="-37.620418548583984" y="95.55260467529297" z="0.5"/> </Position> </TeleportAction> </PrivateAction> </Private> <Private entityRef="pedestrian_close_to_standing_6811"> <PrivateAction> <TeleportAction> <Position> <WorldPosition x="-6.996863842010498" y="39.117374420166016" z="0.0031320571433752775"/> </Position> </TeleportAction> </PrivateAction> </Private> <Private entityRef="pedestrian_w_transform_6812"> <PrivateAction> <TeleportAction> <Position> <WorldPosition x="98.83535766601562" y="33.9308967590332" z="0.5"/> </Position> </TeleportAction> </PrivateAction> </Private> <Private entityRef="pedestrian_w_transform_6813"> <PrivateAction> <TeleportAction> <Position> <WorldPosition x="6.079318046569824" y="-17.776325225830078" z="0.5"/> </Position> </TeleportAction> </PrivateAction> </Private> <Private entityRef="pedestrian_close_to_standing_6814"> <PrivateAction> <TeleportAction> <Position> <WorldPosition x="-5.744975566864014" y="23.631635665893555" z="0.0030842970591038465"/> </Position> </TeleportAction> </PrivateAction> </Private> </Actions> </Init> <Story name="MyStory"> <Act name="Behavior"> <ManeuverGroup maximumExecutionCount="1" name="ManeuverSequence"> <Actors selectTriggeringEntities="false"> <EntityRef entityRef="adversary"/> </Actors> <Maneuver name="LaneChangeSimpleManeuver"> <Event name="AdversaryAccelerates" priority="overwrite"> <Action name="AdversaryAccelerates"> <PrivateAction> <LongitudinalAction> <SpeedAction> <SpeedActionDynamics dynamicsShape="step" value="50" dynamicsDimension="distance"/> <SpeedActionTarget> <AbsoluteTargetSpeed value="5.0"/> </SpeedActionTarget> </SpeedAction> </LongitudinalAction> </PrivateAction> </Action> <StartTrigger> <ConditionGroup> <Condition name="StartCondition" delay="0" conditionEdge="rising"> <ByEntityCondition> <TriggeringEntities triggeringEntitiesRule="any"> <EntityRef entityRef="hero"/> </TriggeringEntities> <EntityCondition> <RelativeDistanceCondition entityRef="adversary" relativeDistanceType="cartesianDistance" value="40.0" freespace="false" rule="lessThan"/> </EntityCondition> </ByEntityCondition> </Condition> </ConditionGroup> </StartTrigger> </Event> <Event name="AdversaryChangesLane" priority="overwrite"> <Action name="AdversaryChangesLane"> <PrivateAction> <LateralAction> <LaneChangeAction> <LaneChangeActionDynamics dynamicsShape="linear" value="25" dynamicsDimension="distance"/> <LaneChangeTarget> <RelativeTargetLane entityRef="adversary" value="-1"/> </LaneChangeTarget> </LaneChangeAction> </LateralAction> </PrivateAction> </Action> <StartTrigger> <ConditionGroup> <Condition name="AfterAdversaryAccelerates" delay="0" conditionEdge="rising"> <ByValueCondition> <StoryboardElementStateCondition storyboardElementType="action" storyboardElementRef="AdversaryAccelerates" state="completeState"/> </ByValueCondition> </Condition> </ConditionGroup> </StartTrigger> </Event> </Maneuver> </ManeuverGroup> <StartTrigger> <ConditionGroup> <Condition name="OverallStartCondition" delay="0" conditionEdge="rising"> <ByEntityCondition> <TriggeringEntities triggeringEntitiesRule="any"> <EntityRef entityRef="hero"/> </TriggeringEntities> <EntityCondition> <TraveledDistanceCondition value="1.0"/> </EntityCondition> </ByEntityCondition> </Condition> <Condition name="StartTime" delay="0" conditionEdge="rising"> <ByValueCondition> <SimulationTimeCondition value="0" rule="equalTo"/> </ByValueCondition> </Condition> </ConditionGroup> </StartTrigger> <StopTrigger> <ConditionGroup> <Condition name="EndCondition" delay="0" conditionEdge="rising"> <ByEntityCondition> <TriggeringEntities triggeringEntitiesRule="any"> <EntityRef entityRef="hero"/> </TriggeringEntities> <EntityCondition> <TraveledDistanceCondition value="200.0"/> </EntityCondition> </ByEntityCondition> </Condition> </ConditionGroup> </StopTrigger> </Act> </Story> <StopTrigger> <ConditionGroup> <Condition name="criteria_RunningStopTest" delay="0" conditionEdge="rising"> <ByValueCondition> <ParameterCondition parameterRef="" value="" rule="lessThan"/> </ByValueCondition> </Condition> <Condition name="criteria_RunningRedLightTest" delay="0" conditionEdge="rising"> <ByValueCondition> <ParameterCondition parameterRef="" value="" rule="lessThan"/> </ByValueCondition> </Condition> <Condition name="criteria_WrongLaneTest" delay="0" conditionEdge="rising"> <ByValueCondition> <ParameterCondition parameterRef="" value="" rule="lessThan"/> </ByValueCondition> </Condition> <Condition name="criteria_OnSidewalkTest" delay="0" conditionEdge="rising"> <ByValueCondition> <ParameterCondition parameterRef="" value="" rule="lessThan"/> </ByValueCondition> </Condition> <Condition name="criteria_KeepLaneTest" delay="0" conditionEdge="rising"> <ByValueCondition> <ParameterCondition parameterRef="" value="" rule="lessThan"/> </ByValueCondition> </Condition> <Condition name="criteria_CollisionTest" delay="0" conditionEdge="rising"> <ByValueCondition> <ParameterCondition parameterRef="" value="" rule="lessThan"/> </ByValueCondition> </Condition> <Condition name="criteria_DrivenDistanceTest" delay="0" conditionEdge="rising"> <ByValueCondition> <ParameterCondition parameterRef="distance_success" value="100" rule="lessThan"/> </ByValueCondition> </Condition> </ConditionGroup> </StopTrigger> </Storyboard> </OpenSCENARIO> ```
i need you to remove pedestrian close to hero? ``` <?xml version="1.0" ?> <OpenSCENARIO> <FileHeader revMajor="1" revMinor="0" date="2020-03-24T12:00:00" description="CARLA:LaneChangeSimple" author=""/> <ParameterDeclarations/> <CatalogLocations/> <RoadNetwork> <LogicFile filepath="Town04"/> <SceneGraphFile filepath=""/> </RoadNetwork> <Entities> <ScenarioObject name="hero"> <Vehicle name="vehicle.tesla.model3" vehicleCategory="car"> <ParameterDeclarations/> <Performance maxSpeed="69.444" maxAcceleration="200" maxDeceleration="10.0"/> <BoundingBox> <Center x="1.5" y="0.0" z="0.9"/> <Dimensions width="2.1" length="4.5" height="1.8"/> </BoundingBox> <Axles> <FrontAxle maxSteering="0.5" wheelDiameter="0.6" trackWidth="1.8" positionX="3.1" positionZ="0.3"/> <RearAxle maxSteering="0.0" wheelDiameter="0.6" trackWidth="1.8" positionX="0.0" positionZ="0.3"/> </Axles> <Properties> <Property name="type" value="ego_vehicle"/> </Properties> </Vehicle> </ScenarioObject> <ScenarioObject name="adversary"> <Vehicle name="vehicle.lincoln.mkz_2017" vehicleCategory="car"> <ParameterDeclarations/> <Performance maxSpeed="69.444" maxAcceleration="200" maxDeceleration="10.0"/> <BoundingBox> <Center x="1.5" y="0.0" z="0.9"/> <Dimensions width="2.1" length="4.5" height="1.8"/> </BoundingBox> <Axles> <FrontAxle maxSteering="0.5" wheelDiameter="0.6" trackWidth="1.8" positionX="3.1" positionZ="0.3"/> <RearAxle maxSteering="0.0" wheelDiameter="0.6" trackWidth="1.8" positionX="0.0" positionZ="0.3"/> </Axles> <Properties> <Property name="type" value="simulation"/> </Properties> </Vehicle> </ScenarioObject> <ScenarioObject name="standing"> <Vehicle name="vehicle.volkswagen.t2" vehicleCategory="car"> <ParameterDeclarations/> <Performance maxSpeed="69.444" maxAcceleration="200" maxDeceleration="10.0"/> <BoundingBox> <Center x="1.5" y="0.0" z="0.9"/> <Dimensions width="2.1" length="4.5" height="1.8"/> </BoundingBox> <Axles> <FrontAxle maxSteering="0.5" wheelDiameter="0.6" trackWidth="1.8" positionX="3.1" positionZ="0.3"/> <RearAxle maxSteering="0.0" wheelDiameter="0.6" trackWidth="1.8" positionX="0.0" positionZ="0.3"/> </Axles> <Properties> <Property name="type" value="simulation"/> </Properties> </Vehicle> </ScenarioObject> <ScenarioObject name="pedestrian_close_to_standing_14725"> <Pedestrian model="walker.pedestrian.0001" mass="80" name="walker.pedestrian.0001" pedestrianCategory="pedestrian"> <ParameterDeclarations/> <BoundingBox> <Center x="1.5" y="0.0" z="0.9"/> <Dimensions width="2" length="2" height="2"/> </BoundingBox> <Properties> <Property name="type" value="simulation"/> </Properties> </Pedestrian> </ScenarioObject> <ScenarioObject name="pedestrian_w_transform_14726"> <Pedestrian model="walker.pedestrian.0001" mass="80" name="walker.pedestrian.0001" pedestrianCategory="pedestrian"> <ParameterDeclarations/> <BoundingBox> <Center x="1.5" y="0.0" z="0.9"/> <Dimensions width="2" length="2" height="2"/> </BoundingBox> <Properties> <Property name="type" value="simulation"/> </Properties> </Pedestrian> </ScenarioObject> <ScenarioObject name="pedestrian_w_transform_14727"> <Pedestrian model="walker.pedestrian.0001" mass="80" name="walker.pedestrian.0001" pedestrianCategory="pedestrian"> <ParameterDeclarations/> <BoundingBox> <Center x="1.5" y="0.0" z="0.9"/> <Dimensions width="2" length="2" height="2"/> </BoundingBox> <Properties> <Property name="type" value="simulation"/> </Properties> </Pedestrian> </ScenarioObject> <ScenarioObject name="pedestrian_w_transform_14728"> <Pedestrian model="walker.pedestrian.0001" mass="80" name="walker.pedestrian.0001" pedestrianCategory="pedestrian"> <ParameterDeclarations/> <BoundingBox> <Center x="1.5" y="0.0" z="0.9"/> <Dimensions width="2" length="2" height="2"/> </BoundingBox> <Properties> <Property name="type" value="simulation"/> </Properties> </Pedestrian> </ScenarioObject> <ScenarioObject name="pedestrian_w_transform_14729"> <Pedestrian model="walker.pedestrian.0001" mass="80" name="walker.pedestrian.0001" pedestrianCategory="pedestrian"> <ParameterDeclarations/> <BoundingBox> <Center x="1.5" y="0.0" z="0.9"/> <Dimensions width="2" length="2" height="2"/> </BoundingBox> <Properties> <Property name="type" value="simulation"/> </Properties> </Pedestrian> </ScenarioObject> <ScenarioObject name="pedestrian_w_transform_14730"> <Pedestrian model="walker.pedestrian.0001" mass="80" name="walker.pedestrian.0001" pedestrianCategory="pedestrian"> <ParameterDeclarations/> <BoundingBox> <Center x="1.5" y="0.0" z="0.9"/> <Dimensions width="2" length="2" height="2"/> </BoundingBox> <Properties> <Property name="type" value="simulation"/> </Properties> </Pedestrian> </ScenarioObject> <ScenarioObject name="pedestrian_w_transform_14731"> <Pedestrian model="walker.pedestrian.0001" mass="80" name="walker.pedestrian.0001" pedestrianCategory="pedestrian"> <ParameterDeclarations/> <BoundingBox> <Center x="1.5" y="0.0" z="0.9"/> <Dimensions width="2" length="2" height="2"/> </BoundingBox> <Properties> <Property name="type" value="simulation"/> </Properties> </Pedestrian> </ScenarioObject> <ScenarioObject name="pedestrian_w_transform_14732"> <Pedestrian model="walker.pedestrian.0001" mass="80" name="walker.pedestrian.0001" pedestrianCategory="pedestrian"> <ParameterDeclarations/> <BoundingBox> <Center x="1.5" y="0.0" z="0.9"/> <Dimensions width="2" length="2" height="2"/> </BoundingBox> <Properties> <Property name="type" value="simulation"/> </Properties> </Pedestrian> </ScenarioObject> <ScenarioObject name="pedestrian_close_to_hero_14733"> <Pedestrian model="walker.pedestrian.0001" mass="80" name="walker.pedestrian.0001" pedestrianCategory="pedestrian"> <ParameterDeclarations/> <BoundingBox> <Center x="1.5" y="0.0" z="0.9"/> <Dimensions width="2" length="2" height="2"/> </BoundingBox> <Properties> <Property name="type" value="simulation"/> </Properties> </Pedestrian> </ScenarioObject> <ScenarioObject name="pedestrian_w_transform_14734"> <Pedestrian model="walker.pedestrian.0001" mass="80" name="walker.pedestrian.0001" pedestrianCategory="pedestrian"> <ParameterDeclarations/> <BoundingBox> <Center x="1.5" y="0.0" z="0.9"/> <Dimensions width="2" length="2" height="2"/> </BoundingBox> <Properties> <Property name="type" value="simulation"/> </Properties> </Pedestrian> </ScenarioObject> <ScenarioObject name="pedestrian_w_transform_14735"> <Pedestrian model="walker.pedestrian.0001" mass="80" name="walker.pedestrian.0001" pedestrianCategory="pedestrian"> <ParameterDeclarations/> <BoundingBox> <Center x="1.5" y="0.0" z="0.9"/> <Dimensions width="2" length="2" height="2"/> </BoundingBox> <Properties> <Property name="type" value="simulation"/> </Properties> </Pedestrian> </ScenarioObject> <ScenarioObject name="pedestrian_close_to_standing_14737"> <Pedestrian model="walker.pedestrian.0001" mass="80" name="walker.pedestrian.0001" pedestrianCategory="pedestrian"> <ParameterDeclarations/> <BoundingBox> <Center x="1.5" y="0.0" z="0.9"/> <Dimensions width="2" length="2" height="2"/> </BoundingBox> <Properties> <Property name="type" value="simulation"/> </Properties> </Pedestrian> </ScenarioObject> <ScenarioObject name="pedestrian_close_to_standing_14738"> <Pedestrian model="walker.pedestrian.0001" mass="80" name="walker.pedestrian.0001" pedestrianCategory="pedestrian"> <ParameterDeclarations/> <BoundingBox> <Center x="1.5" y="0.0" z="0.9"/> <Dimensions width="2" length="2" height="2"/> </BoundingBox> <Properties> <Property name="type" value="simulation"/> </Properties> </Pedestrian> </ScenarioObject> <ScenarioObject name="pedestrian_w_transform_14739"> <Pedestrian model="walker.pedestrian.0001" mass="80" name="walker.pedestrian.0001" pedestrianCategory="pedestrian"> <ParameterDeclarations/> <BoundingBox> <Center x="1.5" y="0.0" z="0.9"/> <Dimensions width="2" length="2" height="2"/> </BoundingBox> <Properties> <Property name="type" value="simulation"/> </Properties> </Pedestrian> </ScenarioObject> <ScenarioObject name="pedestrian_w_transform_14740"> <Pedestrian model="walker.pedestrian.0001" mass="80" name="walker.pedestrian.0001" pedestrianCategory="pedestrian"> <ParameterDeclarations/> <BoundingBox> <Center x="1.5" y="0.0" z="0.9"/> <Dimensions width="2" length="2" height="2"/> </BoundingBox> <Properties> <Property name="type" value="simulation"/> </Properties> </Pedestrian> </ScenarioObject> <ScenarioObject name="pedestrian_w_transform_14741"> <Pedestrian model="walker.pedestrian.0001" mass="80" name="walker.pedestrian.0001" pedestrianCategory="pedestrian"> <ParameterDeclarations/> <BoundingBox> <Center x="1.5" y="0.0" z="0.9"/> <Dimensions width="2" length="2" height="2"/> </BoundingBox> <Properties> <Property name="type" value="simulation"/> </Properties> </Pedestrian> </ScenarioObject> <ScenarioObject name="pedestrian_w_transform_14742"> <Pedestrian model="walker.pedestrian.0001" mass="80" name="walker.pedestrian.0001" pedestrianCategory="pedestrian"> <ParameterDeclarations/> <BoundingBox> <Center x="1.5" y="0.0" z="0.9"/> <Dimensions width="2" length="2" height="2"/> </BoundingBox> <Properties> <Property name="type" value="simulation"/> </Properties> </Pedestrian> </ScenarioObject> <ScenarioObject name="pedestrian_close_to_adversary_14743"> <Pedestrian model="walker.pedestrian.0001" mass="80" name="walker.pedestrian.0001" pedestrianCategory="pedestrian"> <ParameterDeclarations/> <BoundingBox> <Center x="1.5" y="0.0" z="0.9"/> <Dimensions width="2" length="2" height="2"/> </BoundingBox> <Properties> <Property name="type" value="simulation"/> </Properties> </Pedestrian> </ScenarioObject> <ScenarioObject name="pedestrian_close_to_adversary_14744"> <Pedestrian model="walker.pedestrian.0001" mass="80" name="walker.pedestrian.0001" pedestrianCategory="pedestrian"> <ParameterDeclarations/> <BoundingBox> <Center x="1.5" y="0.0" z="0.9"/> <Dimensions width="2" length="2" height="2"/> </BoundingBox> <Properties> <Property name="type" value="simulation"/> </Properties> </Pedestrian> </ScenarioObject> <ScenarioObject name="pedestrian_w_transform_14745"> <Pedestrian model="walker.pedestrian.0001" mass="80" name="walker.pedestrian.0001" pedestrianCategory="pedestrian"> <ParameterDeclarations/> <BoundingBox> <Center x="1.5" y="0.0" z="0.9"/> <Dimensions width="2" length="2" height="2"/> </BoundingBox> <Properties> <Property name="type" value="simulation"/> </Properties> </Pedestrian> </ScenarioObject> <ScenarioObject name="pedestrian_close_to_adversary_14746"> <Pedestrian model="walker.pedestrian.0001" mass="80" name="walker.pedestrian.0001" pedestrianCategory="pedestrian"> <ParameterDeclarations/> <BoundingBox> <Center x="1.5" y="0.0" z="0.9"/> <Dimensions width="2" length="2" height="2"/> </BoundingBox> <Properties> <Property name="type" value="simulation"/> </Properties> </Pedestrian> </ScenarioObject> <ScenarioObject name="pedestrian_close_to_hero_14747"> <Pedestrian model="walker.pedestrian.0001" mass="80" name="walker.pedestrian.0001" pedestrianCategory="pedestrian"> <ParameterDeclarations/> <BoundingBox> <Center x="1.5" y="0.0" z="0.9"/> <Dimensions width="2" length="2" height="2"/> </BoundingBox> <Properties> <Property name="type" value="simulation"/> </Properties> </Pedestrian> </ScenarioObject> <ScenarioObject name="pedestrian_close_to_adversary_14748"> <Pedestrian model="walker.pedestrian.0001" mass="80" name="walker.pedestrian.0001" pedestrianCategory="pedestrian"> <ParameterDeclarations/> <BoundingBox> <Center x="1.5" y="0.0" z="0.9"/> <Dimensions width="2" length="2" height="2"/> </BoundingBox> <Properties> <Property name="type" value="simulation"/> </Properties> </Pedestrian> </ScenarioObject> </Entities> <Storyboard> <Init> <Actions> <GlobalAction> <EnvironmentAction> <Environment name="Environment1"> <TimeOfDay animation="false" dateTime="2019-06-25T12:00:00"/> <Weather cloudState="free"> <Sun intensity="0.85" azimuth="0" elevation="1.31"/> <Fog visualRange="100000.0"/> <Precipitation precipitationType="dry" intensity="0.0"/> </Weather> <RoadCondition frictionScaleFactor="1.0"/> </Environment> </EnvironmentAction> </GlobalAction> <Private entityRef="hero"> <PrivateAction> <TeleportAction> <Position> <WorldPosition x="-9.4" y="-152.8" z="0.5" h="1.57079632679"/> </Position> </TeleportAction> </PrivateAction> <PrivateAction> <ControllerAction> <AssignControllerAction> <Controller name="HeroAgent"> <Properties> <Property name="module" value="external_control"/> </Properties> </Controller> </AssignControllerAction> <OverrideControllerValueAction> <Throttle value="0" active="false"/> <Brake value="0" active="false"/> <Clutch value="0" active="false"/> <ParkingBrake value="0" active="false"/> <SteeringWheel value="0" active="false"/> <Gear number="0" active="false"/> </OverrideControllerValueAction> </ControllerAction> </PrivateAction> </Private> <Private entityRef="adversary"> <PrivateAction> <TeleportAction> <Position> <WorldPosition x="-9.4" y="-71.0" z="0.5" h="1.57079632679"/> </Position> </TeleportAction> </PrivateAction> </Private> <Private entityRef="standing"> <PrivateAction> <TeleportAction> <Position> <WorldPosition x="-8.2" y="29.2" z="0.5" h="1.57079632679"/> </Position> </TeleportAction> </PrivateAction> </Private> <Private entityRef="pedestrian_close_to_standing_14725"> <PrivateAction> <TeleportAction> <Position> <WorldPosition x="-23.600088119506836" y="17.72222328186035" z="0.0030566405039280653"/> </Position> </TeleportAction> </PrivateAction> </Private> <Private entityRef="pedestrian_w_transform_14726"> <PrivateAction> <TeleportAction> <Position> <WorldPosition x="25.573001861572266" y="27.687406539916992" z="0.5"/> </Position> </TeleportAction> </PrivateAction> </Private> <Private entityRef="pedestrian_w_transform_14727"> <PrivateAction> <TeleportAction> <Position> <WorldPosition x="-40.151241302490234" y="-2.1508288383483887" z="0.5"/> </Position> </TeleportAction> </PrivateAction> </Private> <Private entityRef="pedestrian_w_transform_14728"> <PrivateAction> <TeleportAction> <Position> <WorldPosition x="56.25116729736328" y="62.47519302368164" z="0.5"/> </Position> </TeleportAction> </PrivateAction> </Private> <Private entityRef="pedestrian_w_transform_14729"> <PrivateAction> <TeleportAction> <Position> <WorldPosition x="95.12779235839844" y="68.35057830810547" z="0.5"/> </Position> </TeleportAction> </PrivateAction> </Private> <Private entityRef="pedestrian_w_transform_14730"> <PrivateAction> <TeleportAction> <Position> <WorldPosition x="-96.0648193359375" y="-24.56385612487793" z="0.5"/> </Position> </TeleportAction> </PrivateAction> </Private> <Private entityRef="pedestrian_w_transform_14731"> <PrivateAction> <TeleportAction> <Position> <WorldPosition x="68.87789916992188" y="-78.0719985961914" z="0.5"/> </Position> </TeleportAction> </PrivateAction> </Private> <Private entityRef="pedestrian_w_transform_14732"> <PrivateAction> <TeleportAction> <Position> <WorldPosition x="27.672931671142578" y="5.8553690910339355" z="0.5"/> </Position> </TeleportAction> </PrivateAction> </Private> <Private entityRef="pedestrian_close_to_hero_14733"> <PrivateAction> <TeleportAction> <Position> <WorldPosition x="-9.383277893066406" y="-160.98472595214844" z="0.0014286803780123591"/> </Position> </TeleportAction> </PrivateAction> </Private> <Private entityRef="pedestrian_w_transform_14734"> <PrivateAction> <TeleportAction> <Position> <WorldPosition x="76.30227661132812" y="-8.862027168273926" z="0.5"/> </Position> </TeleportAction> </PrivateAction> </Private> <Private entityRef="pedestrian_w_transform_14735"> <PrivateAction> <TeleportAction> <Position> <WorldPosition x="49.8857307434082" y="-43.319217681884766" z="0.5"/> </Position> </TeleportAction> </PrivateAction> </Private> <Private entityRef="pedestrian_close_to_standing_14737"> <PrivateAction> <TeleportAction> <Position> <WorldPosition x="-15.157890319824219" y="34.22794723510742" z="0.0030517578125"/> </Position> </TeleportAction> </PrivateAction> </Private> <Private entityRef="pedestrian_close_to_standing_14738"> <PrivateAction> <TeleportAction> <Position> <WorldPosition x="-4.060415267944336" y="21.639286041259766" z="0.0030711363069713116"/> </Position> </TeleportAction> </PrivateAction> </Private> <Private entityRef="pedestrian_w_transform_14739"> <PrivateAction> <TeleportAction> <Position> <WorldPosition x="19.140226364135742" y="-25.3370304107666" z="0.5"/> </Position> </TeleportAction> </PrivateAction> </Private> <Private entityRef="pedestrian_w_transform_14740"> <PrivateAction> <TeleportAction> <Position> <WorldPosition x="91.33522033691406" y="38.18553924560547" z="0.5"/> </Position> </TeleportAction> </PrivateAction> </Private> <Private entityRef="pedestrian_w_transform_14741"> <PrivateAction> <TeleportAction> <Position> <WorldPosition x="26.497791290283203" y="-75.04218292236328" z="0.5"/> </Position> </TeleportAction> </PrivateAction> </Private> <Private entityRef="pedestrian_w_transform_14742"> <PrivateAction> <TeleportAction> <Position> <WorldPosition x="-80.35990142822266" y="70.62122344970703" z="0.5"/> </Position> </TeleportAction> </PrivateAction> </Private> <Private entityRef="pedestrian_close_to_adversary_14743"> <PrivateAction> <TeleportAction> <Position> <WorldPosition x="-1.737549066543579" y="-69.28937530517578" z="0.033741530030965805"/> </Position> </TeleportAction> </PrivateAction> </Private> <Private entityRef="pedestrian_close_to_adversary_14744"> <PrivateAction> <TeleportAction> <Position> <WorldPosition x="1.7232683897018433" y="-85.23213958740234" z="0.033811453729867935"/> </Position> </TeleportAction> </PrivateAction> </Private> <Private entityRef="pedestrian_w_transform_14745"> <PrivateAction> <TeleportAction> <Position> <WorldPosition x="84.64263153076172" y="26.59478759765625" z="0.5"/> </Position> </TeleportAction> </PrivateAction> </Private> <Private entityRef="pedestrian_close_to_adversary_14746"> <PrivateAction> <TeleportAction> <Position> <WorldPosition x="-2.220982313156128" y="-66.52655029296875" z="0.03379169479012489"/> </Position> </TeleportAction> </PrivateAction> </Private> <Private entityRef="pedestrian_close_to_hero_14747"> <PrivateAction> <TeleportAction> <Position> <WorldPosition x="-7.5983476638793945" y="-155.78634643554688" z="0.0014286803780123591"/> </Position> </TeleportAction> </PrivateAction> </Private> <Private entityRef="pedestrian_close_to_adversary_14748"> <PrivateAction> <TeleportAction> <Position> <WorldPosition x="-12.434935569763184" y="-73.80506134033203" z="0.03379806503653526"/> </Position> </TeleportAction> </PrivateAction> </Private> </Actions> </Init> <Story name="MyStory"> <Act name="Behavior"> <ManeuverGroup maximumExecutionCount="1" name="ManeuverSequence"> <Actors selectTriggeringEntities="false"> <EntityRef entityRef="adversary"/> </Actors> <Maneuver name="LaneChangeSimpleManeuver"> <Event name="AdversaryAccelerates" priority="overwrite"> <Action name="AdversaryAccelerates"> <PrivateAction> <LongitudinalAction> <SpeedAction> <SpeedActionDynamics dynamicsShape="step" value="50" dynamicsDimension="distance"/> <SpeedActionTarget> <AbsoluteTargetSpeed value="5.0"/> </SpeedActionTarget> </SpeedAction> </LongitudinalAction> </PrivateAction> </Action> <StartTrigger> <ConditionGroup> <Condition name="StartCondition" delay="0" conditionEdge="rising"> <ByEntityCondition> <TriggeringEntities triggeringEntitiesRule="any"> <EntityRef entityRef="hero"/> </TriggeringEntities> <EntityCondition> <RelativeDistanceCondition entityRef="adversary" relativeDistanceType="cartesianDistance" value="40.0" freespace="false" rule="lessThan"/> </EntityCondition> </ByEntityCondition> </Condition> </ConditionGroup> </StartTrigger> </Event> <Event name="AdversaryChangesLane" priority="overwrite"> <Action name="AdversaryChangesLane"> <PrivateAction> <LateralAction> <LaneChangeAction> <LaneChangeActionDynamics dynamicsShape="linear" value="25" dynamicsDimension="distance"/> <LaneChangeTarget> <RelativeTargetLane entityRef="adversary" value="-1"/> </LaneChangeTarget> </LaneChangeAction> </LateralAction> </PrivateAction> </Action> <StartTrigger> <ConditionGroup> <Condition name="AfterAdversaryAccelerates" delay="0" conditionEdge="rising"> <ByValueCondition> <StoryboardElementStateCondition storyboardElementType="action" storyboardElementRef="AdversaryAccelerates" state="completeState"/> </ByValueCondition> </Condition> </ConditionGroup> </StartTrigger> </Event> </Maneuver> </ManeuverGroup> <StartTrigger> <ConditionGroup> <Condition name="OverallStartCondition" delay="0" conditionEdge="rising"> <ByEntityCondition> <TriggeringEntities triggeringEntitiesRule="any"> <EntityRef entityRef="hero"/> </TriggeringEntities> <EntityCondition> <TraveledDistanceCondition value="1.0"/> </EntityCondition> </ByEntityCondition> </Condition> <Condition name="StartTime" delay="0" conditionEdge="rising"> <ByValueCondition> <SimulationTimeCondition value="0" rule="equalTo"/> </ByValueCondition> </Condition> </ConditionGroup> </StartTrigger> <StopTrigger> <ConditionGroup> <Condition name="EndCondition" delay="0" conditionEdge="rising"> <ByEntityCondition> <TriggeringEntities triggeringEntitiesRule="any"> <EntityRef entityRef="hero"/> </TriggeringEntities> <EntityCondition> <TraveledDistanceCondition value="200.0"/> </EntityCondition> </ByEntityCondition> </Condition> </ConditionGroup> </StopTrigger> </Act> </Story> <StopTrigger> <ConditionGroup> <Condition name="criteria_RunningStopTest" delay="0" conditionEdge="rising"> <ByValueCondition> <ParameterCondition parameterRef="" value="" rule="lessThan"/> </ByValueCondition> </Condition> <Condition name="criteria_RunningRedLightTest" delay="0" conditionEdge="rising"> <ByValueCondition> <ParameterCondition parameterRef="" value="" rule="lessThan"/> </ByValueCondition> </Condition> <Condition name="criteria_WrongLaneTest" delay="0" conditionEdge="rising"> <ByValueCondition> <ParameterCondition parameterRef="" value="" rule="lessThan"/> </ByValueCondition> </Condition> <Condition name="criteria_OnSidewalkTest" delay="0" conditionEdge="rising"> <ByValueCondition> <ParameterCondition parameterRef="" value="" rule="lessThan"/> </ByValueCondition> </Condition> <Condition name="criteria_KeepLaneTest" delay="0" conditionEdge="rising"> <ByValueCondition> <ParameterCondition parameterRef="" value="" rule="lessThan"/> </ByValueCondition> </Condition> <Condition name="criteria_CollisionTest" delay="0" conditionEdge="rising"> <ByValueCondition> <ParameterCondition parameterRef="" value="" rule="lessThan"/> </ByValueCondition> </Condition> <Condition name="criteria_DrivenDistanceTest" delay="0" conditionEdge="rising"> <ByValueCondition> <ParameterCondition parameterRef="distance_success" value="100" rule="lessThan"/> </ByValueCondition> </Condition> </ConditionGroup> </StopTrigger> </Storyboard> </OpenSCENARIO> ```
Here is the result: ``` <?xml version="1.0" ?> <OpenSCENARIO> <FileHeader revMajor="1" revMinor="0" date="2020-03-24T12:00:00" description="CARLA:LaneChangeSimple" author=""/> <ParameterDeclarations/> <CatalogLocations/> <RoadNetwork> <LogicFile filepath="Town04"/> <SceneGraphFile filepath=""/> </RoadNetwork> <Entities> <ScenarioObject name="hero"> <Vehicle name="vehicle.tesla.model3" vehicleCategory="car"> <ParameterDeclarations/> <Performance maxSpeed="69.444" maxAcceleration="200" maxDeceleration="10.0"/> <BoundingBox> <Center x="1.5" y="0.0" z="0.9"/> <Dimensions width="2.1" length="4.5" height="1.8"/> </BoundingBox> <Axles> <FrontAxle maxSteering="0.5" wheelDiameter="0.6" trackWidth="1.8" positionX="3.1" positionZ="0.3"/> <RearAxle maxSteering="0.0" wheelDiameter="0.6" trackWidth="1.8" positionX="0.0" positionZ="0.3"/> </Axles> <Properties> <Property name="type" value="ego_vehicle"/> </Properties> </Vehicle> </ScenarioObject> <ScenarioObject name="adversary"> <Vehicle name="vehicle.lincoln.mkz_2017" vehicleCategory="car"> <ParameterDeclarations/> <Performance maxSpeed="69.444" maxAcceleration="200" maxDeceleration="10.0"/> <BoundingBox> <Center x="1.5" y="0.0" z="0.9"/> <Dimensions width="2.1" length="4.5" height="1.8"/> </BoundingBox> <Axles> <FrontAxle maxSteering="0.5" wheelDiameter="0.6" trackWidth="1.8" positionX="3.1" positionZ="0.3"/> <RearAxle maxSteering="0.0" wheelDiameter="0.6" trackWidth="1.8" positionX="0.0" positionZ="0.3"/> </Axles> <Properties> <Property name="type" value="simulation"/> </Properties> </Vehicle> </ScenarioObject> <ScenarioObject name="standing"> <Vehicle name="vehicle.volkswagen.t2" vehicleCategory="car"> <ParameterDeclarations/> <Performance maxSpeed="69.444" maxAcceleration="200" maxDeceleration="10.0"/> <BoundingBox> <Center x="1.5" y="0.0" z="0.9"/> <Dimensions width="2.1" length="4.5" height="1.8"/> </BoundingBox> <Axles> <FrontAxle maxSteering="0.5" wheelDiameter="0.6" trackWidth="1.8" positionX="3.1" positionZ="0.3"/> <RearAxle maxSteering="0.0" wheelDiameter="0.6" trackWidth="1.8" positionX="0.0" positionZ="0.3"/> </Axles> <Properties> <Property name="type" value="simulation"/> </Properties> </Vehicle> </ScenarioObject> <ScenarioObject name="pedestrian_close_to_standing_14725"> <Pedestrian model="walker.pedestrian.0001" mass="80" name="walker.pedestrian.0001" pedestrianCategory="pedestrian"> <ParameterDeclarations/> <BoundingBox> <Center x="1.5" y="0.0" z="0.9"/> <Dimensions width="2" length="2" height="2"/> </BoundingBox> <Properties> <Property name="type" value="simulation"/> </Properties> </Pedestrian> </ScenarioObject> <ScenarioObject name="pedestrian_w_transform_14726"> <Pedestrian model="walker.pedestrian.0001" mass="80" name="walker.pedestrian.0001" pedestrianCategory="pedestrian"> <ParameterDeclarations/> <BoundingBox> <Center x="1.5" y="0.0" z="0.9"/> <Dimensions width="2" length="2" height="2"/> </BoundingBox> <Properties> <Property name="type" value="simulation"/> </Properties> </Pedestrian> </ScenarioObject> <ScenarioObject name="pedestrian_w_transform_14727"> <Pedestrian model="walker.pedestrian.0001" mass="80" name="walker.pedestrian.0001" pedestrianCategory="pedestrian"> <ParameterDeclarations/> <BoundingBox> <Center x="1.5" y="0.0" z="0.9"/> <Dimensions width="2" length="2" height="2"/> </BoundingBox> <Properties> <Property name="type" value="simulation"/> </Properties> </Pedestrian> </ScenarioObject> <ScenarioObject name="pedestrian_w_transform_14728"> <Pedestrian model="walker.pedestrian.0001" mass="80" name="walker.pedestrian.0001" pedestrianCategory="pedestrian"> <ParameterDeclarations/> <BoundingBox> <Center x="1.5" y="0.0" z="0.9"/> <Dimensions width="2" length="2" height="2"/> </BoundingBox> <Properties> <Property name="type" value="simulation"/> </Properties> </Pedestrian> </ScenarioObject> <ScenarioObject name="pedestrian_w_transform_14729"> <Pedestrian model="walker.pedestrian.0001" mass="80" name="walker.pedestrian.0001" pedestrianCategory="pedestrian"> <ParameterDeclarations/> <BoundingBox> <Center x="1.5" y="0.0" z="0.9"/> <Dimensions width="2" length="2" height="2"/> </BoundingBox> <Properties> <Property name="type" value="simulation"/> </Properties> </Pedestrian> </ScenarioObject> <ScenarioObject name="pedestrian_w_transform_14730"> <Pedestrian model="walker.pedestrian.0001" mass="80" name="walker.pedestrian.0001" pedestrianCategory="pedestrian"> <ParameterDeclarations/> <BoundingBox> <Center x="1.5" y="0.0" z="0.9"/> <Dimensions width="2" length="2" height="2"/> </BoundingBox> <Properties> <Property name="type" value="simulation"/> </Properties> </Pedestrian> </ScenarioObject> <ScenarioObject name="pedestrian_w_transform_14731"> <Pedestrian model="walker.pedestrian.0001" mass="80" name="walker.pedestrian.0001" pedestrianCategory="pedestrian"> <ParameterDeclarations/> <BoundingBox> <Center x="1.5" y="0.0" z="0.9"/> <Dimensions width="2" length="2" height="2"/> </BoundingBox> <Properties> <Property name="type" value="simulation"/> </Properties> </Pedestrian> </ScenarioObject> <ScenarioObject name="pedestrian_w_transform_14732"> <Pedestrian model="walker.pedestrian.0001" mass="80" name="walker.pedestrian.0001" pedestrianCategory="pedestrian"> <ParameterDeclarations/> <BoundingBox> <Center x="1.5" y="0.0" z="0.9"/> <Dimensions width="2" length="2" height="2"/> </BoundingBox> <Properties> <Property name="type" value="simulation"/> </Properties> </Pedestrian> </ScenarioObject> <ScenarioObject name="pedestrian_close_to_hero_14733"> <Pedestrian model="walker.pedestrian.0001" mass="80" name="walker.pedestrian.0001" pedestrianCategory="pedestrian"> <ParameterDeclarations/> <BoundingBox> <Center x="1.5" y="0.0" z="0.9"/> <Dimensions width="2" length="2" height="2"/> </BoundingBox> <Properties> <Property name="type" value="simulation"/> </Properties> </Pedestrian> </ScenarioObject> <ScenarioObject name="pedestrian_w_transform_14734"> <Pedestrian model="walker.pedestrian.0001" mass="80" name="walker.pedestrian.0001" pedestrianCategory="pedestrian"> <ParameterDeclarations/> <BoundingBox> <Center x="1.5" y="0.0" z="0.9"/> <Dimensions width="2" length="2" height="2"/> </BoundingBox> <Properties> <Property name="type" value="simulation"/> </Properties> </Pedestrian> </ScenarioObject> <ScenarioObject name="pedestrian_w_transform_14735"> <Pedestrian model="walker.pedestrian.0001" mass="80" name="walker.pedestrian.0001" pedestrianCategory="pedestrian"> <ParameterDeclarations/> <BoundingBox> <Center x="1.5" y="0.0" z="0.9"/> <Dimensions width="2" length="2" height="2"/> </BoundingBox> <Properties> <Property name="type" value="simulation"/> </Properties> </Pedestrian> </ScenarioObject> <ScenarioObject name="pedestrian_close_to_standing_14737"> <Pedestrian model="walker.pedestrian.0001" mass="80" name="walker.pedestrian.0001" pedestrianCategory="pedestrian"> <ParameterDeclarations/> <BoundingBox> <Center x="1.5" y="0.0" z="0.9"/> <Dimensions width="2" length="2" height="2"/> </BoundingBox> <Properties> <Property name="type" value="simulation"/> </Properties> </Pedestrian> </ScenarioObject> <ScenarioObject name="pedestrian_close_to_standing_14738"> <Pedestrian model="walker.pedestrian.0001" mass="80" name="walker.pedestrian.0001" pedestrianCategory="pedestrian"> <ParameterDeclarations/> <BoundingBox> <Center x="1.5" y="0.0" z="0.9"/> <Dimensions width="2" length="2" height="2"/> </BoundingBox> <Properties> <Property name="type" value="simulation"/> </Properties> </Pedestrian> </ScenarioObject> <ScenarioObject name="pedestrian_w_transform_14739"> <Pedestrian model="walker.pedestrian.0001" mass="80" name="walker.pedestrian.0001" pedestrianCategory="pedestrian"> <ParameterDeclarations/> <BoundingBox> <Center x="1.5" y="0.0" z="0.9"/> <Dimensions width="2" length="2" height="2"/> </BoundingBox> <Properties> <Property name="type" value="simulation"/> </Properties> </Pedestrian> </ScenarioObject> <ScenarioObject name="pedestrian_w_transform_14740"> <Pedestrian model="walker.pedestrian.0001" mass="80" name="walker.pedestrian.0001" pedestrianCategory="pedestrian"> <ParameterDeclarations/> <BoundingBox> <Center x="1.5" y="0.0" z="0.9"/> <Dimensions width="2" length="2" height="2"/> </BoundingBox> <Properties> <Property name="type" value="simulation"/> </Properties> </Pedestrian> </ScenarioObject> <ScenarioObject name="pedestrian_w_transform_14741"> <Pedestrian model="walker.pedestrian.0001" mass="80" name="walker.pedestrian.0001" pedestrianCategory="pedestrian"> <ParameterDeclarations/> <BoundingBox> <Center x="1.5" y="0.0" z="0.9"/> <Dimensions width="2" length="2" height="2"/> </BoundingBox> <Properties> <Property name="type" value="simulation"/> </Properties> </Pedestrian> </ScenarioObject> <ScenarioObject name="pedestrian_w_transform_14742"> <Pedestrian model="walker.pedestrian.0001" mass="80" name="walker.pedestrian.0001" pedestrianCategory="pedestrian"> <ParameterDeclarations/> <BoundingBox> <Center x="1.5" y="0.0" z="0.9"/> <Dimensions width="2" length="2" height="2"/> </BoundingBox> <Properties> <Property name="type" value="simulation"/> </Properties> </Pedestrian> </ScenarioObject> <ScenarioObject name="pedestrian_close_to_adversary_14743"> <Pedestrian model="walker.pedestrian.0001" mass="80" name="walker.pedestrian.0001" pedestrianCategory="pedestrian"> <ParameterDeclarations/> <BoundingBox> <Center x="1.5" y="0.0" z="0.9"/> <Dimensions width="2" length="2" height="2"/> </BoundingBox> <Properties> <Property name="type" value="simulation"/> </Properties> </Pedestrian> </ScenarioObject> <ScenarioObject name="pedestrian_close_to_adversary_14744"> <Pedestrian model="walker.pedestrian.0001" mass="80" name="walker.pedestrian.0001" pedestrianCategory="pedestrian"> <ParameterDeclarations/> <BoundingBox> <Center x="1.5" y="0.0" z="0.9"/> <Dimensions width="2" length="2" height="2"/> </BoundingBox> <Properties> <Property name="type" value="simulation"/> </Properties> </Pedestrian> </ScenarioObject> <ScenarioObject name="pedestrian_w_transform_14745"> <Pedestrian model="walker.pedestrian.0001" mass="80" name="walker.pedestrian.0001" pedestrianCategory="pedestrian"> <ParameterDeclarations/> <BoundingBox> <Center x="1.5" y="0.0" z="0.9"/> <Dimensions width="2" length="2" height="2"/> </BoundingBox> <Properties> <Property name="type" value="simulation"/> </Properties> </Pedestrian> </ScenarioObject> <ScenarioObject name="pedestrian_close_to_adversary_14746"> <Pedestrian model="walker.pedestrian.0001" mass="80" name="walker.pedestrian.0001" pedestrianCategory="pedestrian"> <ParameterDeclarations/> <BoundingBox> <Center x="1.5" y="0.0" z="0.9"/> <Dimensions width="2" length="2" height="2"/> </BoundingBox> <Properties> <Property name="type" value="simulation"/> </Properties> </Pedestrian> </ScenarioObject> <ScenarioObject name="pedestrian_close_to_adversary_14748"> <Pedestrian model="walker.pedestrian.0001" mass="80" name="walker.pedestrian.0001" pedestrianCategory="pedestrian"> <ParameterDeclarations/> <BoundingBox> <Center x="1.5" y="0.0" z="0.9"/> <Dimensions width="2" length="2" height="2"/> </BoundingBox> <Properties> <Property name="type" value="simulation"/> </Properties> </Pedestrian> </ScenarioObject> </Entities> <Storyboard> <Init> <Actions> <GlobalAction> <EnvironmentAction> <Environment name="Environment1"> <TimeOfDay animation="false" dateTime="2019-06-25T12:00:00"/> <Weather cloudState="free"> <Sun intensity="0.85" azimuth="0" elevation="1.31"/> <Fog visualRange="100000.0"/> <Precipitation precipitationType="dry" intensity="0.0"/> </Weather> <RoadCondition frictionScaleFactor="1.0"/> </Environment> </EnvironmentAction> </GlobalAction> <Private entityRef="hero"> <PrivateAction> <TeleportAction> <Position> <WorldPosition x="-9.4" y="-152.8" z="0.5" h="1.57079632679"/> </Position> </TeleportAction> </PrivateAction> <PrivateAction> <ControllerAction> <AssignControllerAction> <Controller name="HeroAgent"> <Properties> <Property name="module" value="external_control"/> </Properties> </Controller> </AssignControllerAction> <OverrideControllerValueAction> <Throttle value="0" active="false"/> <Brake value="0" active="false"/> <Clutch value="0" active="false"/> <ParkingBrake value="0" active="false"/> <SteeringWheel value="0" active="false"/> <Gear number="0" active="false"/> </OverrideControllerValueAction> </ControllerAction> </PrivateAction> </Private> <Private entityRef="adversary"> <PrivateAction> <TeleportAction> <Position> <WorldPosition x="-9.4" y="-71.0" z="0.5" h="1.57079632679"/> </Position> </TeleportAction> </PrivateAction> </Private> <Private entityRef="standing"> <PrivateAction> <TeleportAction> <Position> <WorldPosition x="-8.2" y="29.2" z="0.5" h="1.57079632679"/> </Position> </TeleportAction> </PrivateAction> </Private> <Private entityRef="pedestrian_close_to_standing_14725"> <PrivateAction> <TeleportAction> <Position> <WorldPosition x="-23.600088119506836" y="17.72222328186035" z="0.0030566405039280653"/> </Position> </TeleportAction> </PrivateAction> </Private> <Private entityRef="pedestrian_w_transform_14726"> <PrivateAction> <TeleportAction> <Position> <WorldPosition x="25.573001861572266" y="27.687406539916992" z="0.5"/> </Position> </TeleportAction> </PrivateAction> </Private> <Private entityRef="pedestrian_w_transform_14727"> <PrivateAction> <TeleportAction> <Position> <WorldPosition x="-40.151241302490234" y="-2.1508288383483887" z="0.5"/> </Position> </TeleportAction> </PrivateAction> </Private> <Private entityRef="pedestrian_w_transform_14728"> <PrivateAction> <TeleportAction> <Position> <WorldPosition x="56.25116729736328" y="62.47519302368164" z="0.5"/> </Position> </TeleportAction> </PrivateAction> </Private> <Private entityRef="pedestrian_w_transform_14729"> <PrivateAction> <TeleportAction> <Position> <WorldPosition x="95.12779235839844" y="68.35057830810547" z="0.5"/> </Position> </TeleportAction> </PrivateAction> </Private> <Private entityRef="pedestrian_w_transform_14730"> <PrivateAction> <TeleportAction> <Position> <WorldPosition x="-96.0648193359375" y="-24.56385612487793" z="0.5"/> </Position> </TeleportAction> </PrivateAction> </Private> <Private entityRef="pedestrian_w_transform_14731"> <PrivateAction> <TeleportAction> <Position> <WorldPosition x="68.87789916992188" y="-78.0719985961914" z="0.5"/> </Position> </TeleportAction> </PrivateAction> </Private> <Private entityRef="pedestrian_w_transform_14732"> <PrivateAction> <TeleportAction> <Position> <WorldPosition x="27.672931671142578" y="5.8553690910339355" z="0.5"/> </Position> </TeleportAction> </PrivateAction> </Private> <Private entityRef="pedestrian_close_to_hero_14733"> <PrivateAction> <TeleportAction> <Position> <WorldPosition x="-9.383277893066406" y="-160.98472595214844" z="0.0014286803780123591"/> </Position> </TeleportAction> </PrivateAction> </Private> <Private entityRef="pedestrian_w_transform_14734"> <PrivateAction> <TeleportAction> <Position> <WorldPosition x="76.30227661132812" y="-8.862027168273926" z="0.5"/> </Position> </TeleportAction> </PrivateAction> </Private> <Private entityRef="pedestrian_w_transform_14735"> <PrivateAction> <TeleportAction> <Position> <WorldPosition x="49.8857307434082" y="-43.319217681884766" z="0.5"/> </Position> </TeleportAction> </PrivateAction> </Private> <Private entityRef="pedestrian_close_to_standing_14737"> <PrivateAction> <TeleportAction> <Position> <WorldPosition x="-15.157890319824219" y="34.22794723510742" z="0.0030517578125"/> </Position> </TeleportAction> </PrivateAction> </Private> <Private entityRef="pedestrian_close_to_standing_14738"> <PrivateAction> <TeleportAction> <Position> <WorldPosition x="-4.060415267944336" y="21.639286041259766" z="0.0030711363069713116"/> </Position> </TeleportAction> </PrivateAction> </Private> <Private entityRef="pedestrian_w_transform_14739"> <PrivateAction> <TeleportAction> <Position> <WorldPosition x="19.140226364135742" y="-25.3370304107666" z="0.5"/> </Position> </TeleportAction> </PrivateAction> </Private> <Private entityRef="pedestrian_w_transform_14740"> <PrivateAction> <TeleportAction> <Position> <WorldPosition x="91.33522033691406" y="38.18553924560547" z="0.5"/> </Position> </TeleportAction> </PrivateAction> </Private> <Private entityRef="pedestrian_w_transform_14741"> <PrivateAction> <TeleportAction> <Position> <WorldPosition x="26.497791290283203" y="-75.04218292236328" z="0.5"/> </Position> </TeleportAction> </PrivateAction> </Private> <Private entityRef="pedestrian_w_transform_14742"> <PrivateAction> <TeleportAction> <Position> <WorldPosition x="-80.35990142822266" y="70.62122344970703" z="0.5"/> </Position> </TeleportAction> </PrivateAction> </Private> <Private entityRef="pedestrian_close_to_adversary_14743"> <PrivateAction> <TeleportAction> <Position> <WorldPosition x="-1.737549066543579" y="-69.28937530517578" z="0.033741530030965805"/> </Position> </TeleportAction> </PrivateAction> </Private> <Private entityRef="pedestrian_close_to_adversary_14744"> <PrivateAction> <TeleportAction> <Position> <WorldPosition x="1.7232683897018433" y="-85.23213958740234" z="0.033811453729867935"/> </Position> </TeleportAction> </PrivateAction> </Private> <Private entityRef="pedestrian_w_transform_14745"> <PrivateAction> <TeleportAction> <Position> <WorldPosition x="84.64263153076172" y="26.59478759765625" z="0.5"/> </Position> </TeleportAction> </PrivateAction> </Private> <Private entityRef="pedestrian_close_to_adversary_14746"> <PrivateAction> <TeleportAction> <Position> <WorldPosition x="-2.220982313156128" y="-66.52655029296875" z="0.03379169479012489"/> </Position> </TeleportAction> </PrivateAction> </Private> <Private entityRef="pedestrian_close_to_adversary_14748"> <PrivateAction> <TeleportAction> <Position> <WorldPosition x="-12.434935569763184" y="-73.80506134033203" z="0.03379806503653526"/> </Position> </TeleportAction> </PrivateAction> </Private> </Actions> </Init> <Story name="MyStory"> <Act name="Behavior"> <ManeuverGroup maximumExecutionCount="1" name="ManeuverSequence"> <Actors selectTriggeringEntities="false"> <EntityRef entityRef="adversary"/> </Actors> <Maneuver name="LaneChangeSimpleManeuver"> <Event name="AdversaryAccelerates" priority="overwrite"> <Action name="AdversaryAccelerates"> <PrivateAction> <LongitudinalAction> <SpeedAction> <SpeedActionDynamics dynamicsShape="step" value="50" dynamicsDimension="distance"/> <SpeedActionTarget> <AbsoluteTargetSpeed value="5.0"/> </SpeedActionTarget> </SpeedAction> </LongitudinalAction> </PrivateAction> </Action> <StartTrigger> <ConditionGroup> <Condition name="StartCondition" delay="0" conditionEdge="rising"> <ByEntityCondition> <TriggeringEntities triggeringEntitiesRule="any"> <EntityRef entityRef="hero"/> </TriggeringEntities> <EntityCondition> <RelativeDistanceCondition entityRef="adversary" relativeDistanceType="cartesianDistance" value="40.0" freespace="false" rule="lessThan"/> </EntityCondition> </ByEntityCondition> </Condition> </ConditionGroup> </StartTrigger> </Event> <Event name="AdversaryChangesLane" priority="overwrite"> <Action name="AdversaryChangesLane"> <PrivateAction> <LateralAction> <LaneChangeAction> <LaneChangeActionDynamics dynamicsShape="linear" value="25" dynamicsDimension="distance"/> <LaneChangeTarget> <RelativeTargetLane entityRef="adversary" value="-1"/> </LaneChangeTarget> </LaneChangeAction> </LateralAction> </PrivateAction> </Action> <StartTrigger> <ConditionGroup> <Condition name="AfterAdversaryAccelerates" delay="0" conditionEdge="rising"> <ByValueCondition> <StoryboardElementStateCondition storyboardElementType="action" storyboardElementRef="AdversaryAccelerates" state="completeState"/> </ByValueCondition> </Condition> </ConditionGroup> </StartTrigger> </Event> </Maneuver> </ManeuverGroup> <StartTrigger> <ConditionGroup> <Condition name="OverallStartCondition" delay="0" conditionEdge="rising"> <ByEntityCondition> <TriggeringEntities triggeringEntitiesRule="any"> <EntityRef entityRef="hero"/> </TriggeringEntities> <EntityCondition> <TraveledDistanceCondition value="1.0"/> </EntityCondition> </ByEntityCondition> </Condition> <Condition name="StartTime" delay="0" conditionEdge="rising"> <ByValueCondition> <SimulationTimeCondition value="0" rule="equalTo"/> </ByValueCondition> </Condition> </ConditionGroup> </StartTrigger> <StopTrigger> <ConditionGroup> <Condition name="EndCondition" delay="0" conditionEdge="rising"> <ByEntityCondition> <TriggeringEntities triggeringEntitiesRule="any"> <EntityRef entityRef="hero"/> </TriggeringEntities> <EntityCondition> <TraveledDistanceCondition value="200.0"/> </EntityCondition> </ByEntityCondition> </Condition> </ConditionGroup> </StopTrigger> </Act> </Story> <StopTrigger> <ConditionGroup> <Condition name="criteria_RunningStopTest" delay="0" conditionEdge="rising"> <ByValueCondition> <ParameterCondition parameterRef="" value="" rule="lessThan"/> </ByValueCondition> </Condition> <Condition name="criteria_RunningRedLightTest" delay="0" conditionEdge="rising"> <ByValueCondition> <ParameterCondition parameterRef="" value="" rule="lessThan"/> </ByValueCondition> </Condition> <Condition name="criteria_WrongLaneTest" delay="0" conditionEdge="rising"> <ByValueCondition> <ParameterCondition parameterRef="" value="" rule="lessThan"/> </ByValueCondition> </Condition> <Condition name="criteria_OnSidewalkTest" delay="0" conditionEdge="rising"> <ByValueCondition> <ParameterCondition parameterRef="" value="" rule="lessThan"/> </ByValueCondition> </Condition> <Condition name="criteria_KeepLaneTest" delay="0" conditionEdge="rising"> <ByValueCondition> <ParameterCondition parameterRef="" value="" rule="lessThan"/> </ByValueCondition> </Condition> <Condition name="criteria_CollisionTest" delay="0" conditionEdge="rising"> <ByValueCondition> <ParameterCondition parameterRef="" value="" rule="lessThan"/> </ByValueCondition> </Condition> <Condition name="criteria_DrivenDistanceTest" delay="0" conditionEdge="rising"> <ByValueCondition> <ParameterCondition parameterRef="distance_success" value="100" rule="lessThan"/> </ByValueCondition> </Condition> </ConditionGroup> </StopTrigger> </Storyboard> </OpenSCENARIO> ```
i would like to direct you to remove pedestrian actor named pedestrian_close_to_hero_9844? ``` <?xml version="1.0" ?> <OpenSCENARIO> <FileHeader revMajor="1" revMinor="0" date="2020-03-24T12:00:00" description="CARLA:LaneChangeSimple" author=""/> <ParameterDeclarations/> <CatalogLocations/> <RoadNetwork> <LogicFile filepath="Town04"/> <SceneGraphFile filepath=""/> </RoadNetwork> <Entities> <ScenarioObject name="hero"> <Vehicle name="vehicle.tesla.model3" vehicleCategory="car"> <ParameterDeclarations/> <Performance maxSpeed="69.444" maxAcceleration="200" maxDeceleration="10.0"/> <BoundingBox> <Center x="1.5" y="0.0" z="0.9"/> <Dimensions width="2.1" length="4.5" height="1.8"/> </BoundingBox> <Axles> <FrontAxle maxSteering="0.5" wheelDiameter="0.6" trackWidth="1.8" positionX="3.1" positionZ="0.3"/> <RearAxle maxSteering="0.0" wheelDiameter="0.6" trackWidth="1.8" positionX="0.0" positionZ="0.3"/> </Axles> <Properties> <Property name="type" value="ego_vehicle"/> </Properties> </Vehicle> </ScenarioObject> <ScenarioObject name="adversary"> <Vehicle name="vehicle.lincoln.mkz_2017" vehicleCategory="car"> <ParameterDeclarations/> <Performance maxSpeed="69.444" maxAcceleration="200" maxDeceleration="10.0"/> <BoundingBox> <Center x="1.5" y="0.0" z="0.9"/> <Dimensions width="2.1" length="4.5" height="1.8"/> </BoundingBox> <Axles> <FrontAxle maxSteering="0.5" wheelDiameter="0.6" trackWidth="1.8" positionX="3.1" positionZ="0.3"/> <RearAxle maxSteering="0.0" wheelDiameter="0.6" trackWidth="1.8" positionX="0.0" positionZ="0.3"/> </Axles> <Properties> <Property name="type" value="simulation"/> </Properties> </Vehicle> </ScenarioObject> <ScenarioObject name="standing"> <Vehicle name="vehicle.volkswagen.t2" vehicleCategory="car"> <ParameterDeclarations/> <Performance maxSpeed="69.444" maxAcceleration="200" maxDeceleration="10.0"/> <BoundingBox> <Center x="1.5" y="0.0" z="0.9"/> <Dimensions width="2.1" length="4.5" height="1.8"/> </BoundingBox> <Axles> <FrontAxle maxSteering="0.5" wheelDiameter="0.6" trackWidth="1.8" positionX="3.1" positionZ="0.3"/> <RearAxle maxSteering="0.0" wheelDiameter="0.6" trackWidth="1.8" positionX="0.0" positionZ="0.3"/> </Axles> <Properties> <Property name="type" value="simulation"/> </Properties> </Vehicle> </ScenarioObject> <ScenarioObject name="pedestrian_close_to_hero_9831"> <Pedestrian model="walker.pedestrian.0001" mass="80" name="walker.pedestrian.0001" pedestrianCategory="pedestrian"> <ParameterDeclarations/> <BoundingBox> <Center x="1.5" y="0.0" z="0.9"/> <Dimensions width="2" length="2" height="2"/> </BoundingBox> <Properties> <Property name="type" value="simulation"/> </Properties> </Pedestrian> </ScenarioObject> <ScenarioObject name="pedestrian_close_to_standing_9833"> <Pedestrian model="walker.pedestrian.0001" mass="80" name="walker.pedestrian.0001" pedestrianCategory="pedestrian"> <ParameterDeclarations/> <BoundingBox> <Center x="1.5" y="0.0" z="0.9"/> <Dimensions width="2" length="2" height="2"/> </BoundingBox> <Properties> <Property name="type" value="simulation"/> </Properties> </Pedestrian> </ScenarioObject> <ScenarioObject name="pedestrian_w_transform_9834"> <Pedestrian model="walker.pedestrian.0001" mass="80" name="walker.pedestrian.0001" pedestrianCategory="pedestrian"> <ParameterDeclarations/> <BoundingBox> <Center x="1.5" y="0.0" z="0.9"/> <Dimensions width="2" length="2" height="2"/> </BoundingBox> <Properties> <Property name="type" value="simulation"/> </Properties> </Pedestrian> </ScenarioObject> <ScenarioObject name="pedestrian_w_transform_9836"> <Pedestrian model="walker.pedestrian.0001" mass="80" name="walker.pedestrian.0001" pedestrianCategory="pedestrian"> <ParameterDeclarations/> <BoundingBox> <Center x="1.5" y="0.0" z="0.9"/> <Dimensions width="2" length="2" height="2"/> </BoundingBox> <Properties> <Property name="type" value="simulation"/> </Properties> </Pedestrian> </ScenarioObject> <ScenarioObject name="pedestrian_w_transform_9838"> <Pedestrian model="walker.pedestrian.0001" mass="80" name="walker.pedestrian.0001" pedestrianCategory="pedestrian"> <ParameterDeclarations/> <BoundingBox> <Center x="1.5" y="0.0" z="0.9"/> <Dimensions width="2" length="2" height="2"/> </BoundingBox> <Properties> <Property name="type" value="simulation"/> </Properties> </Pedestrian> </ScenarioObject> <ScenarioObject name="pedestrian_w_transform_9839"> <Pedestrian model="walker.pedestrian.0001" mass="80" name="walker.pedestrian.0001" pedestrianCategory="pedestrian"> <ParameterDeclarations/> <BoundingBox> <Center x="1.5" y="0.0" z="0.9"/> <Dimensions width="2" length="2" height="2"/> </BoundingBox> <Properties> <Property name="type" value="simulation"/> </Properties> </Pedestrian> </ScenarioObject> <ScenarioObject name="pedestrian_w_transform_9840"> <Pedestrian model="walker.pedestrian.0001" mass="80" name="walker.pedestrian.0001" pedestrianCategory="pedestrian"> <ParameterDeclarations/> <BoundingBox> <Center x="1.5" y="0.0" z="0.9"/> <Dimensions width="2" length="2" height="2"/> </BoundingBox> <Properties> <Property name="type" value="simulation"/> </Properties> </Pedestrian> </ScenarioObject> <ScenarioObject name="pedestrian_close_to_hero_9841"> <Pedestrian model="walker.pedestrian.0001" mass="80" name="walker.pedestrian.0001" pedestrianCategory="pedestrian"> <ParameterDeclarations/> <BoundingBox> <Center x="1.5" y="0.0" z="0.9"/> <Dimensions width="2" length="2" height="2"/> </BoundingBox> <Properties> <Property name="type" value="simulation"/> </Properties> </Pedestrian> </ScenarioObject> <ScenarioObject name="pedestrian_close_to_hero_9842"> <Pedestrian model="walker.pedestrian.0001" mass="80" name="walker.pedestrian.0001" pedestrianCategory="pedestrian"> <ParameterDeclarations/> <BoundingBox> <Center x="1.5" y="0.0" z="0.9"/> <Dimensions width="2" length="2" height="2"/> </BoundingBox> <Properties> <Property name="type" value="simulation"/> </Properties> </Pedestrian> </ScenarioObject> <ScenarioObject name="pedestrian_w_transform_9843"> <Pedestrian model="walker.pedestrian.0001" mass="80" name="walker.pedestrian.0001" pedestrianCategory="pedestrian"> <ParameterDeclarations/> <BoundingBox> <Center x="1.5" y="0.0" z="0.9"/> <Dimensions width="2" length="2" height="2"/> </BoundingBox> <Properties> <Property name="type" value="simulation"/> </Properties> </Pedestrian> </ScenarioObject> <ScenarioObject name="pedestrian_close_to_hero_9844"> <Pedestrian model="walker.pedestrian.0001" mass="80" name="walker.pedestrian.0001" pedestrianCategory="pedestrian"> <ParameterDeclarations/> <BoundingBox> <Center x="1.5" y="0.0" z="0.9"/> <Dimensions width="2" length="2" height="2"/> </BoundingBox> <Properties> <Property name="type" value="simulation"/> </Properties> </Pedestrian> </ScenarioObject> <ScenarioObject name="pedestrian_w_transform_9845"> <Pedestrian model="walker.pedestrian.0001" mass="80" name="walker.pedestrian.0001" pedestrianCategory="pedestrian"> <ParameterDeclarations/> <BoundingBox> <Center x="1.5" y="0.0" z="0.9"/> <Dimensions width="2" length="2" height="2"/> </BoundingBox> <Properties> <Property name="type" value="simulation"/> </Properties> </Pedestrian> </ScenarioObject> <ScenarioObject name="pedestrian_close_to_hero_9846"> <Pedestrian model="walker.pedestrian.0001" mass="80" name="walker.pedestrian.0001" pedestrianCategory="pedestrian"> <ParameterDeclarations/> <BoundingBox> <Center x="1.5" y="0.0" z="0.9"/> <Dimensions width="2" length="2" height="2"/> </BoundingBox> <Properties> <Property name="type" value="simulation"/> </Properties> </Pedestrian> </ScenarioObject> <ScenarioObject name="pedestrian_close_to_adversary_9848"> <Pedestrian model="walker.pedestrian.0001" mass="80" name="walker.pedestrian.0001" pedestrianCategory="pedestrian"> <ParameterDeclarations/> <BoundingBox> <Center x="1.5" y="0.0" z="0.9"/> <Dimensions width="2" length="2" height="2"/> </BoundingBox> <Properties> <Property name="type" value="simulation"/> </Properties> </Pedestrian> </ScenarioObject> <ScenarioObject name="pedestrian_w_transform_9849"> <Pedestrian model="walker.pedestrian.0001" mass="80" name="walker.pedestrian.0001" pedestrianCategory="pedestrian"> <ParameterDeclarations/> <BoundingBox> <Center x="1.5" y="0.0" z="0.9"/> <Dimensions width="2" length="2" height="2"/> </BoundingBox> <Properties> <Property name="type" value="simulation"/> </Properties> </Pedestrian> </ScenarioObject> <ScenarioObject name="pedestrian_close_to_adversary_9850"> <Pedestrian model="walker.pedestrian.0001" mass="80" name="walker.pedestrian.0001" pedestrianCategory="pedestrian"> <ParameterDeclarations/> <BoundingBox> <Center x="1.5" y="0.0" z="0.9"/> <Dimensions width="2" length="2" height="2"/> </BoundingBox> <Properties> <Property name="type" value="simulation"/> </Properties> </Pedestrian> </ScenarioObject> <ScenarioObject name="pedestrian_w_transform_9851"> <Pedestrian model="walker.pedestrian.0001" mass="80" name="walker.pedestrian.0001" pedestrianCategory="pedestrian"> <ParameterDeclarations/> <BoundingBox> <Center x="1.5" y="0.0" z="0.9"/> <Dimensions width="2" length="2" height="2"/> </BoundingBox> <Properties> <Property name="type" value="simulation"/> </Properties> </Pedestrian> </ScenarioObject> <ScenarioObject name="pedestrian_close_to_adversary_9852"> <Pedestrian model="walker.pedestrian.0001" mass="80" name="walker.pedestrian.0001" pedestrianCategory="pedestrian"> <ParameterDeclarations/> <BoundingBox> <Center x="1.5" y="0.0" z="0.9"/> <Dimensions width="2" length="2" height="2"/> </BoundingBox> <Properties> <Property name="type" value="simulation"/> </Properties> </Pedestrian> </ScenarioObject> <ScenarioObject name="pedestrian_w_transform_9854"> <Pedestrian model="walker.pedestrian.0001" mass="80" name="walker.pedestrian.0001" pedestrianCategory="pedestrian"> <ParameterDeclarations/> <BoundingBox> <Center x="1.5" y="0.0" z="0.9"/> <Dimensions width="2" length="2" height="2"/> </BoundingBox> <Properties> <Property name="type" value="simulation"/> </Properties> </Pedestrian> </ScenarioObject> <ScenarioObject name="pedestrian_w_transform_9855"> <Pedestrian model="walker.pedestrian.0001" mass="80" name="walker.pedestrian.0001" pedestrianCategory="pedestrian"> <ParameterDeclarations/> <BoundingBox> <Center x="1.5" y="0.0" z="0.9"/> <Dimensions width="2" length="2" height="2"/> </BoundingBox> <Properties> <Property name="type" value="simulation"/> </Properties> </Pedestrian> </ScenarioObject> </Entities> <Storyboard> <Init> <Actions> <GlobalAction> <EnvironmentAction> <Environment name="Environment1"> <TimeOfDay animation="false" dateTime="2019-06-25T12:00:00"/> <Weather cloudState="free"> <Sun intensity="0.85" azimuth="0" elevation="1.31"/> <Fog visualRange="100000.0"/> <Precipitation precipitationType="dry" intensity="0.0"/> </Weather> <RoadCondition frictionScaleFactor="1.0"/> </Environment> </EnvironmentAction> </GlobalAction> <Private entityRef="hero"> <PrivateAction> <TeleportAction> <Position> <WorldPosition x="-9.4" y="-152.8" z="0.5" h="1.57079632679"/> </Position> </TeleportAction> </PrivateAction> <PrivateAction> <ControllerAction> <AssignControllerAction> <Controller name="HeroAgent"> <Properties> <Property name="module" value="external_control"/> </Properties> </Controller> </AssignControllerAction> <OverrideControllerValueAction> <Throttle value="0" active="false"/> <Brake value="0" active="false"/> <Clutch value="0" active="false"/> <ParkingBrake value="0" active="false"/> <SteeringWheel value="0" active="false"/> <Gear number="0" active="false"/> </OverrideControllerValueAction> </ControllerAction> </PrivateAction> </Private> <Private entityRef="adversary"> <PrivateAction> <TeleportAction> <Position> <WorldPosition x="-9.4" y="-71.0" z="0.5" h="1.57079632679"/> </Position> </TeleportAction> </PrivateAction> </Private> <Private entityRef="standing"> <PrivateAction> <TeleportAction> <Position> <WorldPosition x="-8.2" y="29.2" z="0.5" h="1.57079632679"/> </Position> </TeleportAction> </PrivateAction> </Private> <Private entityRef="pedestrian_close_to_hero_9831"> <PrivateAction> <TeleportAction> <Position> <WorldPosition x="-3.481048345565796" y="-157.82058715820312" z="0.0014286803780123591"/> </Position> </TeleportAction> </PrivateAction> </Private> <Private entityRef="pedestrian_close_to_standing_9833"> <PrivateAction> <TeleportAction> <Position> <WorldPosition x="-8.46287727355957" y="19.643638610839844" z="0.0030794143676757812"/> </Position> </TeleportAction> </PrivateAction> </Private> <Private entityRef="pedestrian_w_transform_9834"> <PrivateAction> <TeleportAction> <Position> <WorldPosition x="-43.803863525390625" y="51.48550796508789" z="0.5"/> </Position> </TeleportAction> </PrivateAction> </Private> <Private entityRef="pedestrian_w_transform_9836"> <PrivateAction> <TeleportAction> <Position> <WorldPosition x="16.138683319091797" y="88.49229431152344" z="0.5"/> </Position> </TeleportAction> </PrivateAction> </Private> <Private entityRef="pedestrian_w_transform_9838"> <PrivateAction> <TeleportAction> <Position> <WorldPosition x="76.97870635986328" y="99.73529815673828" z="0.5"/> </Position> </TeleportAction> </PrivateAction> </Private> <Private entityRef="pedestrian_w_transform_9839"> <PrivateAction> <TeleportAction> <Position> <WorldPosition x="-9.707803726196289" y="-1.8055996894836426" z="0.5"/> </Position> </TeleportAction> </PrivateAction> </Private> <Private entityRef="pedestrian_w_transform_9840"> <PrivateAction> <TeleportAction> <Position> <WorldPosition x="-96.67813110351562" y="-66.25929260253906" z="0.5"/> </Position> </TeleportAction> </PrivateAction> </Private> <Private entityRef="pedestrian_close_to_hero_9841"> <PrivateAction> <TeleportAction> <Position> <WorldPosition x="-12.308484077453613" y="-143.51718139648438" z="0.0014286803780123591"/> </Position> </TeleportAction> </PrivateAction> </Private> <Private entityRef="pedestrian_close_to_hero_9842"> <PrivateAction> <TeleportAction> <Position> <WorldPosition x="-1.8575444221496582" y="-156.76385498046875" z="0.0014286803780123591"/> </Position> </TeleportAction> </PrivateAction> </Private> <Private entityRef="pedestrian_w_transform_9843"> <PrivateAction> <TeleportAction> <Position> <WorldPosition x="-58.067081451416016" y="-2.7262258529663086" z="0.5"/> </Position> </TeleportAction> </PrivateAction> </Private> <Private entityRef="pedestrian_close_to_hero_9844"> <PrivateAction> <TeleportAction> <Position> <WorldPosition x="8.56615161895752" y="-153.93997192382812" z="0.0014286803780123591"/> </Position> </TeleportAction> </PrivateAction> </Private> <Private entityRef="pedestrian_w_transform_9845"> <PrivateAction> <TeleportAction> <Position> <WorldPosition x="-36.355369567871094" y="-23.005592346191406" z="0.5"/> </Position> </TeleportAction> </PrivateAction> </Private> <Private entityRef="pedestrian_close_to_hero_9846"> <PrivateAction> <TeleportAction> <Position> <WorldPosition x="-12.9847993850708" y="-147.1975860595703" z="0.0014286803780123591"/> </Position> </TeleportAction> </PrivateAction> </Private> <Private entityRef="pedestrian_close_to_adversary_9848"> <PrivateAction> <TeleportAction> <Position> <WorldPosition x="-12.67006778717041" y="-75.16629791259766" z="0.03377487137913704"/> </Position> </TeleportAction> </PrivateAction> </Private> <Private entityRef="pedestrian_w_transform_9849"> <PrivateAction> <TeleportAction> <Position> <WorldPosition x="43.32175064086914" y="87.57152557373047" z="0.5"/> </Position> </TeleportAction> </PrivateAction> </Private> <Private entityRef="pedestrian_close_to_adversary_9850"> <PrivateAction> <TeleportAction> <Position> <WorldPosition x="-12.321367263793945" y="-73.936767578125" z="0.03381458297371864"/> </Position> </TeleportAction> </PrivateAction> </Private> <Private entityRef="pedestrian_w_transform_9851"> <PrivateAction> <TeleportAction> <Position> <WorldPosition x="39.72660827636719" y="95.81686401367188" z="0.5"/> </Position> </TeleportAction> </PrivateAction> </Private> <Private entityRef="pedestrian_close_to_adversary_9852"> <PrivateAction> <TeleportAction> <Position> <WorldPosition x="-6.036314487457275" y="-80.30609893798828" z="0.03383338823914528"/> </Position> </TeleportAction> </PrivateAction> </Private> <Private entityRef="pedestrian_w_transform_9854"> <PrivateAction> <TeleportAction> <Position> <WorldPosition x="9.2271146774292" y="-8.10752010345459" z="0.5"/> </Position> </TeleportAction> </PrivateAction> </Private> <Private entityRef="pedestrian_w_transform_9855"> <PrivateAction> <TeleportAction> <Position> <WorldPosition x="-50.24424743652344" y="71.59291076660156" z="0.5"/> </Position> </TeleportAction> </PrivateAction> </Private> </Actions> </Init> <Story name="MyStory"> <Act name="Behavior"> <ManeuverGroup maximumExecutionCount="1" name="ManeuverSequence"> <Actors selectTriggeringEntities="false"> <EntityRef entityRef="adversary"/> </Actors> <Maneuver name="LaneChangeSimpleManeuver"> <Event name="AdversaryAccelerates" priority="overwrite"> <Action name="AdversaryAccelerates"> <PrivateAction> <LongitudinalAction> <SpeedAction> <SpeedActionDynamics dynamicsShape="step" value="50" dynamicsDimension="distance"/> <SpeedActionTarget> <AbsoluteTargetSpeed value="5.0"/> </SpeedActionTarget> </SpeedAction> </LongitudinalAction> </PrivateAction> </Action> <StartTrigger> <ConditionGroup> <Condition name="StartCondition" delay="0" conditionEdge="rising"> <ByEntityCondition> <TriggeringEntities triggeringEntitiesRule="any"> <EntityRef entityRef="hero"/> </TriggeringEntities> <EntityCondition> <RelativeDistanceCondition entityRef="adversary" relativeDistanceType="cartesianDistance" value="40.0" freespace="false" rule="lessThan"/> </EntityCondition> </ByEntityCondition> </Condition> </ConditionGroup> </StartTrigger> </Event> <Event name="AdversaryChangesLane" priority="overwrite"> <Action name="AdversaryChangesLane"> <PrivateAction> <LateralAction> <LaneChangeAction> <LaneChangeActionDynamics dynamicsShape="linear" value="25" dynamicsDimension="distance"/> <LaneChangeTarget> <RelativeTargetLane entityRef="adversary" value="-1"/> </LaneChangeTarget> </LaneChangeAction> </LateralAction> </PrivateAction> </Action> <StartTrigger> <ConditionGroup> <Condition name="AfterAdversaryAccelerates" delay="0" conditionEdge="rising"> <ByValueCondition> <StoryboardElementStateCondition storyboardElementType="action" storyboardElementRef="AdversaryAccelerates" state="completeState"/> </ByValueCondition> </Condition> </ConditionGroup> </StartTrigger> </Event> </Maneuver> </ManeuverGroup> <StartTrigger> <ConditionGroup> <Condition name="OverallStartCondition" delay="0" conditionEdge="rising"> <ByEntityCondition> <TriggeringEntities triggeringEntitiesRule="any"> <EntityRef entityRef="hero"/> </TriggeringEntities> <EntityCondition> <TraveledDistanceCondition value="1.0"/> </EntityCondition> </ByEntityCondition> </Condition> <Condition name="StartTime" delay="0" conditionEdge="rising"> <ByValueCondition> <SimulationTimeCondition value="0" rule="equalTo"/> </ByValueCondition> </Condition> </ConditionGroup> </StartTrigger> <StopTrigger> <ConditionGroup> <Condition name="EndCondition" delay="0" conditionEdge="rising"> <ByEntityCondition> <TriggeringEntities triggeringEntitiesRule="any"> <EntityRef entityRef="hero"/> </TriggeringEntities> <EntityCondition> <TraveledDistanceCondition value="200.0"/> </EntityCondition> </ByEntityCondition> </Condition> </ConditionGroup> </StopTrigger> </Act> </Story> <StopTrigger> <ConditionGroup> <Condition name="criteria_RunningStopTest" delay="0" conditionEdge="rising"> <ByValueCondition> <ParameterCondition parameterRef="" value="" rule="lessThan"/> </ByValueCondition> </Condition> <Condition name="criteria_RunningRedLightTest" delay="0" conditionEdge="rising"> <ByValueCondition> <ParameterCondition parameterRef="" value="" rule="lessThan"/> </ByValueCondition> </Condition> <Condition name="criteria_WrongLaneTest" delay="0" conditionEdge="rising"> <ByValueCondition> <ParameterCondition parameterRef="" value="" rule="lessThan"/> </ByValueCondition> </Condition> <Condition name="criteria_OnSidewalkTest" delay="0" conditionEdge="rising"> <ByValueCondition> <ParameterCondition parameterRef="" value="" rule="lessThan"/> </ByValueCondition> </Condition> <Condition name="criteria_KeepLaneTest" delay="0" conditionEdge="rising"> <ByValueCondition> <ParameterCondition parameterRef="" value="" rule="lessThan"/> </ByValueCondition> </Condition> <Condition name="criteria_CollisionTest" delay="0" conditionEdge="rising"> <ByValueCondition> <ParameterCondition parameterRef="" value="" rule="lessThan"/> </ByValueCondition> </Condition> <Condition name="criteria_DrivenDistanceTest" delay="0" conditionEdge="rising"> <ByValueCondition> <ParameterCondition parameterRef="distance_success" value="100" rule="lessThan"/> </ByValueCondition> </Condition> </ConditionGroup> </StopTrigger> </Storyboard> </OpenSCENARIO> ```
Here is the result: ``` <?xml version="1.0" ?> <OpenSCENARIO> <FileHeader revMajor="1" revMinor="0" date="2020-03-24T12:00:00" description="CARLA:LaneChangeSimple" author=""/> <ParameterDeclarations/> <CatalogLocations/> <RoadNetwork> <LogicFile filepath="Town04"/> <SceneGraphFile filepath=""/> </RoadNetwork> <Entities> <ScenarioObject name="hero"> <Vehicle name="vehicle.tesla.model3" vehicleCategory="car"> <ParameterDeclarations/> <Performance maxSpeed="69.444" maxAcceleration="200" maxDeceleration="10.0"/> <BoundingBox> <Center x="1.5" y="0.0" z="0.9"/> <Dimensions width="2.1" length="4.5" height="1.8"/> </BoundingBox> <Axles> <FrontAxle maxSteering="0.5" wheelDiameter="0.6" trackWidth="1.8" positionX="3.1" positionZ="0.3"/> <RearAxle maxSteering="0.0" wheelDiameter="0.6" trackWidth="1.8" positionX="0.0" positionZ="0.3"/> </Axles> <Properties> <Property name="type" value="ego_vehicle"/> </Properties> </Vehicle> </ScenarioObject> <ScenarioObject name="adversary"> <Vehicle name="vehicle.lincoln.mkz_2017" vehicleCategory="car"> <ParameterDeclarations/> <Performance maxSpeed="69.444" maxAcceleration="200" maxDeceleration="10.0"/> <BoundingBox> <Center x="1.5" y="0.0" z="0.9"/> <Dimensions width="2.1" length="4.5" height="1.8"/> </BoundingBox> <Axles> <FrontAxle maxSteering="0.5" wheelDiameter="0.6" trackWidth="1.8" positionX="3.1" positionZ="0.3"/> <RearAxle maxSteering="0.0" wheelDiameter="0.6" trackWidth="1.8" positionX="0.0" positionZ="0.3"/> </Axles> <Properties> <Property name="type" value="simulation"/> </Properties> </Vehicle> </ScenarioObject> <ScenarioObject name="standing"> <Vehicle name="vehicle.volkswagen.t2" vehicleCategory="car"> <ParameterDeclarations/> <Performance maxSpeed="69.444" maxAcceleration="200" maxDeceleration="10.0"/> <BoundingBox> <Center x="1.5" y="0.0" z="0.9"/> <Dimensions width="2.1" length="4.5" height="1.8"/> </BoundingBox> <Axles> <FrontAxle maxSteering="0.5" wheelDiameter="0.6" trackWidth="1.8" positionX="3.1" positionZ="0.3"/> <RearAxle maxSteering="0.0" wheelDiameter="0.6" trackWidth="1.8" positionX="0.0" positionZ="0.3"/> </Axles> <Properties> <Property name="type" value="simulation"/> </Properties> </Vehicle> </ScenarioObject> <ScenarioObject name="pedestrian_close_to_hero_9831"> <Pedestrian model="walker.pedestrian.0001" mass="80" name="walker.pedestrian.0001" pedestrianCategory="pedestrian"> <ParameterDeclarations/> <BoundingBox> <Center x="1.5" y="0.0" z="0.9"/> <Dimensions width="2" length="2" height="2"/> </BoundingBox> <Properties> <Property name="type" value="simulation"/> </Properties> </Pedestrian> </ScenarioObject> <ScenarioObject name="pedestrian_close_to_standing_9833"> <Pedestrian model="walker.pedestrian.0001" mass="80" name="walker.pedestrian.0001" pedestrianCategory="pedestrian"> <ParameterDeclarations/> <BoundingBox> <Center x="1.5" y="0.0" z="0.9"/> <Dimensions width="2" length="2" height="2"/> </BoundingBox> <Properties> <Property name="type" value="simulation"/> </Properties> </Pedestrian> </ScenarioObject> <ScenarioObject name="pedestrian_w_transform_9834"> <Pedestrian model="walker.pedestrian.0001" mass="80" name="walker.pedestrian.0001" pedestrianCategory="pedestrian"> <ParameterDeclarations/> <BoundingBox> <Center x="1.5" y="0.0" z="0.9"/> <Dimensions width="2" length="2" height="2"/> </BoundingBox> <Properties> <Property name="type" value="simulation"/> </Properties> </Pedestrian> </ScenarioObject> <ScenarioObject name="pedestrian_w_transform_9836"> <Pedestrian model="walker.pedestrian.0001" mass="80" name="walker.pedestrian.0001" pedestrianCategory="pedestrian"> <ParameterDeclarations/> <BoundingBox> <Center x="1.5" y="0.0" z="0.9"/> <Dimensions width="2" length="2" height="2"/> </BoundingBox> <Properties> <Property name="type" value="simulation"/> </Properties> </Pedestrian> </ScenarioObject> <ScenarioObject name="pedestrian_w_transform_9838"> <Pedestrian model="walker.pedestrian.0001" mass="80" name="walker.pedestrian.0001" pedestrianCategory="pedestrian"> <ParameterDeclarations/> <BoundingBox> <Center x="1.5" y="0.0" z="0.9"/> <Dimensions width="2" length="2" height="2"/> </BoundingBox> <Properties> <Property name="type" value="simulation"/> </Properties> </Pedestrian> </ScenarioObject> <ScenarioObject name="pedestrian_w_transform_9839"> <Pedestrian model="walker.pedestrian.0001" mass="80" name="walker.pedestrian.0001" pedestrianCategory="pedestrian"> <ParameterDeclarations/> <BoundingBox> <Center x="1.5" y="0.0" z="0.9"/> <Dimensions width="2" length="2" height="2"/> </BoundingBox> <Properties> <Property name="type" value="simulation"/> </Properties> </Pedestrian> </ScenarioObject> <ScenarioObject name="pedestrian_w_transform_9840"> <Pedestrian model="walker.pedestrian.0001" mass="80" name="walker.pedestrian.0001" pedestrianCategory="pedestrian"> <ParameterDeclarations/> <BoundingBox> <Center x="1.5" y="0.0" z="0.9"/> <Dimensions width="2" length="2" height="2"/> </BoundingBox> <Properties> <Property name="type" value="simulation"/> </Properties> </Pedestrian> </ScenarioObject> <ScenarioObject name="pedestrian_close_to_hero_9841"> <Pedestrian model="walker.pedestrian.0001" mass="80" name="walker.pedestrian.0001" pedestrianCategory="pedestrian"> <ParameterDeclarations/> <BoundingBox> <Center x="1.5" y="0.0" z="0.9"/> <Dimensions width="2" length="2" height="2"/> </BoundingBox> <Properties> <Property name="type" value="simulation"/> </Properties> </Pedestrian> </ScenarioObject> <ScenarioObject name="pedestrian_close_to_hero_9842"> <Pedestrian model="walker.pedestrian.0001" mass="80" name="walker.pedestrian.0001" pedestrianCategory="pedestrian"> <ParameterDeclarations/> <BoundingBox> <Center x="1.5" y="0.0" z="0.9"/> <Dimensions width="2" length="2" height="2"/> </BoundingBox> <Properties> <Property name="type" value="simulation"/> </Properties> </Pedestrian> </ScenarioObject> <ScenarioObject name="pedestrian_w_transform_9843"> <Pedestrian model="walker.pedestrian.0001" mass="80" name="walker.pedestrian.0001" pedestrianCategory="pedestrian"> <ParameterDeclarations/> <BoundingBox> <Center x="1.5" y="0.0" z="0.9"/> <Dimensions width="2" length="2" height="2"/> </BoundingBox> <Properties> <Property name="type" value="simulation"/> </Properties> </Pedestrian> </ScenarioObject> <ScenarioObject name="pedestrian_w_transform_9845"> <Pedestrian model="walker.pedestrian.0001" mass="80" name="walker.pedestrian.0001" pedestrianCategory="pedestrian"> <ParameterDeclarations/> <BoundingBox> <Center x="1.5" y="0.0" z="0.9"/> <Dimensions width="2" length="2" height="2"/> </BoundingBox> <Properties> <Property name="type" value="simulation"/> </Properties> </Pedestrian> </ScenarioObject> <ScenarioObject name="pedestrian_close_to_hero_9846"> <Pedestrian model="walker.pedestrian.0001" mass="80" name="walker.pedestrian.0001" pedestrianCategory="pedestrian"> <ParameterDeclarations/> <BoundingBox> <Center x="1.5" y="0.0" z="0.9"/> <Dimensions width="2" length="2" height="2"/> </BoundingBox> <Properties> <Property name="type" value="simulation"/> </Properties> </Pedestrian> </ScenarioObject> <ScenarioObject name="pedestrian_close_to_adversary_9848"> <Pedestrian model="walker.pedestrian.0001" mass="80" name="walker.pedestrian.0001" pedestrianCategory="pedestrian"> <ParameterDeclarations/> <BoundingBox> <Center x="1.5" y="0.0" z="0.9"/> <Dimensions width="2" length="2" height="2"/> </BoundingBox> <Properties> <Property name="type" value="simulation"/> </Properties> </Pedestrian> </ScenarioObject> <ScenarioObject name="pedestrian_w_transform_9849"> <Pedestrian model="walker.pedestrian.0001" mass="80" name="walker.pedestrian.0001" pedestrianCategory="pedestrian"> <ParameterDeclarations/> <BoundingBox> <Center x="1.5" y="0.0" z="0.9"/> <Dimensions width="2" length="2" height="2"/> </BoundingBox> <Properties> <Property name="type" value="simulation"/> </Properties> </Pedestrian> </ScenarioObject> <ScenarioObject name="pedestrian_close_to_adversary_9850"> <Pedestrian model="walker.pedestrian.0001" mass="80" name="walker.pedestrian.0001" pedestrianCategory="pedestrian"> <ParameterDeclarations/> <BoundingBox> <Center x="1.5" y="0.0" z="0.9"/> <Dimensions width="2" length="2" height="2"/> </BoundingBox> <Properties> <Property name="type" value="simulation"/> </Properties> </Pedestrian> </ScenarioObject> <ScenarioObject name="pedestrian_w_transform_9851"> <Pedestrian model="walker.pedestrian.0001" mass="80" name="walker.pedestrian.0001" pedestrianCategory="pedestrian"> <ParameterDeclarations/> <BoundingBox> <Center x="1.5" y="0.0" z="0.9"/> <Dimensions width="2" length="2" height="2"/> </BoundingBox> <Properties> <Property name="type" value="simulation"/> </Properties> </Pedestrian> </ScenarioObject> <ScenarioObject name="pedestrian_close_to_adversary_9852"> <Pedestrian model="walker.pedestrian.0001" mass="80" name="walker.pedestrian.0001" pedestrianCategory="pedestrian"> <ParameterDeclarations/> <BoundingBox> <Center x="1.5" y="0.0" z="0.9"/> <Dimensions width="2" length="2" height="2"/> </BoundingBox> <Properties> <Property name="type" value="simulation"/> </Properties> </Pedestrian> </ScenarioObject> <ScenarioObject name="pedestrian_w_transform_9854"> <Pedestrian model="walker.pedestrian.0001" mass="80" name="walker.pedestrian.0001" pedestrianCategory="pedestrian"> <ParameterDeclarations/> <BoundingBox> <Center x="1.5" y="0.0" z="0.9"/> <Dimensions width="2" length="2" height="2"/> </BoundingBox> <Properties> <Property name="type" value="simulation"/> </Properties> </Pedestrian> </ScenarioObject> <ScenarioObject name="pedestrian_w_transform_9855"> <Pedestrian model="walker.pedestrian.0001" mass="80" name="walker.pedestrian.0001" pedestrianCategory="pedestrian"> <ParameterDeclarations/> <BoundingBox> <Center x="1.5" y="0.0" z="0.9"/> <Dimensions width="2" length="2" height="2"/> </BoundingBox> <Properties> <Property name="type" value="simulation"/> </Properties> </Pedestrian> </ScenarioObject> </Entities> <Storyboard> <Init> <Actions> <GlobalAction> <EnvironmentAction> <Environment name="Environment1"> <TimeOfDay animation="false" dateTime="2019-06-25T12:00:00"/> <Weather cloudState="free"> <Sun intensity="0.85" azimuth="0" elevation="1.31"/> <Fog visualRange="100000.0"/> <Precipitation precipitationType="dry" intensity="0.0"/> </Weather> <RoadCondition frictionScaleFactor="1.0"/> </Environment> </EnvironmentAction> </GlobalAction> <Private entityRef="hero"> <PrivateAction> <TeleportAction> <Position> <WorldPosition x="-9.4" y="-152.8" z="0.5" h="1.57079632679"/> </Position> </TeleportAction> </PrivateAction> <PrivateAction> <ControllerAction> <AssignControllerAction> <Controller name="HeroAgent"> <Properties> <Property name="module" value="external_control"/> </Properties> </Controller> </AssignControllerAction> <OverrideControllerValueAction> <Throttle value="0" active="false"/> <Brake value="0" active="false"/> <Clutch value="0" active="false"/> <ParkingBrake value="0" active="false"/> <SteeringWheel value="0" active="false"/> <Gear number="0" active="false"/> </OverrideControllerValueAction> </ControllerAction> </PrivateAction> </Private> <Private entityRef="adversary"> <PrivateAction> <TeleportAction> <Position> <WorldPosition x="-9.4" y="-71.0" z="0.5" h="1.57079632679"/> </Position> </TeleportAction> </PrivateAction> </Private> <Private entityRef="standing"> <PrivateAction> <TeleportAction> <Position> <WorldPosition x="-8.2" y="29.2" z="0.5" h="1.57079632679"/> </Position> </TeleportAction> </PrivateAction> </Private> <Private entityRef="pedestrian_close_to_hero_9831"> <PrivateAction> <TeleportAction> <Position> <WorldPosition x="-3.481048345565796" y="-157.82058715820312" z="0.0014286803780123591"/> </Position> </TeleportAction> </PrivateAction> </Private> <Private entityRef="pedestrian_close_to_standing_9833"> <PrivateAction> <TeleportAction> <Position> <WorldPosition x="-8.46287727355957" y="19.643638610839844" z="0.0030794143676757812"/> </Position> </TeleportAction> </PrivateAction> </Private> <Private entityRef="pedestrian_w_transform_9834"> <PrivateAction> <TeleportAction> <Position> <WorldPosition x="-43.803863525390625" y="51.48550796508789" z="0.5"/> </Position> </TeleportAction> </PrivateAction> </Private> <Private entityRef="pedestrian_w_transform_9836"> <PrivateAction> <TeleportAction> <Position> <WorldPosition x="16.138683319091797" y="88.49229431152344" z="0.5"/> </Position> </TeleportAction> </PrivateAction> </Private> <Private entityRef="pedestrian_w_transform_9838"> <PrivateAction> <TeleportAction> <Position> <WorldPosition x="76.97870635986328" y="99.73529815673828" z="0.5"/> </Position> </TeleportAction> </PrivateAction> </Private> <Private entityRef="pedestrian_w_transform_9839"> <PrivateAction> <TeleportAction> <Position> <WorldPosition x="-9.707803726196289" y="-1.8055996894836426" z="0.5"/> </Position> </TeleportAction> </PrivateAction> </Private> <Private entityRef="pedestrian_w_transform_9840"> <PrivateAction> <TeleportAction> <Position> <WorldPosition x="-96.67813110351562" y="-66.25929260253906" z="0.5"/> </Position> </TeleportAction> </PrivateAction> </Private> <Private entityRef="pedestrian_close_to_hero_9841"> <PrivateAction> <TeleportAction> <Position> <WorldPosition x="-12.308484077453613" y="-143.51718139648438" z="0.0014286803780123591"/> </Position> </TeleportAction> </PrivateAction> </Private> <Private entityRef="pedestrian_close_to_hero_9842"> <PrivateAction> <TeleportAction> <Position> <WorldPosition x="-1.8575444221496582" y="-156.76385498046875" z="0.0014286803780123591"/> </Position> </TeleportAction> </PrivateAction> </Private> <Private entityRef="pedestrian_w_transform_9843"> <PrivateAction> <TeleportAction> <Position> <WorldPosition x="-58.067081451416016" y="-2.7262258529663086" z="0.5"/> </Position> </TeleportAction> </PrivateAction> </Private> <Private entityRef="pedestrian_w_transform_9845"> <PrivateAction> <TeleportAction> <Position> <WorldPosition x="-36.355369567871094" y="-23.005592346191406" z="0.5"/> </Position> </TeleportAction> </PrivateAction> </Private> <Private entityRef="pedestrian_close_to_hero_9846"> <PrivateAction> <TeleportAction> <Position> <WorldPosition x="-12.9847993850708" y="-147.1975860595703" z="0.0014286803780123591"/> </Position> </TeleportAction> </PrivateAction> </Private> <Private entityRef="pedestrian_close_to_adversary_9848"> <PrivateAction> <TeleportAction> <Position> <WorldPosition x="-12.67006778717041" y="-75.16629791259766" z="0.03377487137913704"/> </Position> </TeleportAction> </PrivateAction> </Private> <Private entityRef="pedestrian_w_transform_9849"> <PrivateAction> <TeleportAction> <Position> <WorldPosition x="43.32175064086914" y="87.57152557373047" z="0.5"/> </Position> </TeleportAction> </PrivateAction> </Private> <Private entityRef="pedestrian_close_to_adversary_9850"> <PrivateAction> <TeleportAction> <Position> <WorldPosition x="-12.321367263793945" y="-73.936767578125" z="0.03381458297371864"/> </Position> </TeleportAction> </PrivateAction> </Private> <Private entityRef="pedestrian_w_transform_9851"> <PrivateAction> <TeleportAction> <Position> <WorldPosition x="39.72660827636719" y="95.81686401367188" z="0.5"/> </Position> </TeleportAction> </PrivateAction> </Private> <Private entityRef="pedestrian_close_to_adversary_9852"> <PrivateAction> <TeleportAction> <Position> <WorldPosition x="-6.036314487457275" y="-80.30609893798828" z="0.03383338823914528"/> </Position> </TeleportAction> </PrivateAction> </Private> <Private entityRef="pedestrian_w_transform_9854"> <PrivateAction> <TeleportAction> <Position> <WorldPosition x="9.2271146774292" y="-8.10752010345459" z="0.5"/> </Position> </TeleportAction> </PrivateAction> </Private> <Private entityRef="pedestrian_w_transform_9855"> <PrivateAction> <TeleportAction> <Position> <WorldPosition x="-50.24424743652344" y="71.59291076660156" z="0.5"/> </Position> </TeleportAction> </PrivateAction> </Private> </Actions> </Init> <Story name="MyStory"> <Act name="Behavior"> <ManeuverGroup maximumExecutionCount="1" name="ManeuverSequence"> <Actors selectTriggeringEntities="false"> <EntityRef entityRef="adversary"/> </Actors> <Maneuver name="LaneChangeSimpleManeuver"> <Event name="AdversaryAccelerates" priority="overwrite"> <Action name="AdversaryAccelerates"> <PrivateAction> <LongitudinalAction> <SpeedAction> <SpeedActionDynamics dynamicsShape="step" value="50" dynamicsDimension="distance"/> <SpeedActionTarget> <AbsoluteTargetSpeed value="5.0"/> </SpeedActionTarget> </SpeedAction> </LongitudinalAction> </PrivateAction> </Action> <StartTrigger> <ConditionGroup> <Condition name="StartCondition" delay="0" conditionEdge="rising"> <ByEntityCondition> <TriggeringEntities triggeringEntitiesRule="any"> <EntityRef entityRef="hero"/> </TriggeringEntities> <EntityCondition> <RelativeDistanceCondition entityRef="adversary" relativeDistanceType="cartesianDistance" value="40.0" freespace="false" rule="lessThan"/> </EntityCondition> </ByEntityCondition> </Condition> </ConditionGroup> </StartTrigger> </Event> <Event name="AdversaryChangesLane" priority="overwrite"> <Action name="AdversaryChangesLane"> <PrivateAction> <LateralAction> <LaneChangeAction> <LaneChangeActionDynamics dynamicsShape="linear" value="25" dynamicsDimension="distance"/> <LaneChangeTarget> <RelativeTargetLane entityRef="adversary" value="-1"/> </LaneChangeTarget> </LaneChangeAction> </LateralAction> </PrivateAction> </Action> <StartTrigger> <ConditionGroup> <Condition name="AfterAdversaryAccelerates" delay="0" conditionEdge="rising"> <ByValueCondition> <StoryboardElementStateCondition storyboardElementType="action" storyboardElementRef="AdversaryAccelerates" state="completeState"/> </ByValueCondition> </Condition> </ConditionGroup> </StartTrigger> </Event> </Maneuver> </ManeuverGroup> <StartTrigger> <ConditionGroup> <Condition name="OverallStartCondition" delay="0" conditionEdge="rising"> <ByEntityCondition> <TriggeringEntities triggeringEntitiesRule="any"> <EntityRef entityRef="hero"/> </TriggeringEntities> <EntityCondition> <TraveledDistanceCondition value="1.0"/> </EntityCondition> </ByEntityCondition> </Condition> <Condition name="StartTime" delay="0" conditionEdge="rising"> <ByValueCondition> <SimulationTimeCondition value="0" rule="equalTo"/> </ByValueCondition> </Condition> </ConditionGroup> </StartTrigger> <StopTrigger> <ConditionGroup> <Condition name="EndCondition" delay="0" conditionEdge="rising"> <ByEntityCondition> <TriggeringEntities triggeringEntitiesRule="any"> <EntityRef entityRef="hero"/> </TriggeringEntities> <EntityCondition> <TraveledDistanceCondition value="200.0"/> </EntityCondition> </ByEntityCondition> </Condition> </ConditionGroup> </StopTrigger> </Act> </Story> <StopTrigger> <ConditionGroup> <Condition name="criteria_RunningStopTest" delay="0" conditionEdge="rising"> <ByValueCondition> <ParameterCondition parameterRef="" value="" rule="lessThan"/> </ByValueCondition> </Condition> <Condition name="criteria_RunningRedLightTest" delay="0" conditionEdge="rising"> <ByValueCondition> <ParameterCondition parameterRef="" value="" rule="lessThan"/> </ByValueCondition> </Condition> <Condition name="criteria_WrongLaneTest" delay="0" conditionEdge="rising"> <ByValueCondition> <ParameterCondition parameterRef="" value="" rule="lessThan"/> </ByValueCondition> </Condition> <Condition name="criteria_OnSidewalkTest" delay="0" conditionEdge="rising"> <ByValueCondition> <ParameterCondition parameterRef="" value="" rule="lessThan"/> </ByValueCondition> </Condition> <Condition name="criteria_KeepLaneTest" delay="0" conditionEdge="rising"> <ByValueCondition> <ParameterCondition parameterRef="" value="" rule="lessThan"/> </ByValueCondition> </Condition> <Condition name="criteria_CollisionTest" delay="0" conditionEdge="rising"> <ByValueCondition> <ParameterCondition parameterRef="" value="" rule="lessThan"/> </ByValueCondition> </Condition> <Condition name="criteria_DrivenDistanceTest" delay="0" conditionEdge="rising"> <ByValueCondition> <ParameterCondition parameterRef="distance_success" value="100" rule="lessThan"/> </ByValueCondition> </Condition> </ConditionGroup> </StopTrigger> </Storyboard> </OpenSCENARIO> ```
i would like to ask you to remove pedestrian actor named pedestrian_close_to_hero_18324? ``` <?xml version="1.0" ?> <OpenSCENARIO> <FileHeader revMajor="1" revMinor="0" date="2020-03-24T12:00:00" description="CARLA:LaneChangeSimple" author=""/> <ParameterDeclarations/> <CatalogLocations/> <RoadNetwork> <LogicFile filepath="Town04"/> <SceneGraphFile filepath=""/> </RoadNetwork> <Entities> <ScenarioObject name="hero"> <Vehicle name="vehicle.tesla.model3" vehicleCategory="car"> <ParameterDeclarations/> <Performance maxSpeed="69.444" maxAcceleration="200" maxDeceleration="10.0"/> <BoundingBox> <Center x="1.5" y="0.0" z="0.9"/> <Dimensions width="2.1" length="4.5" height="1.8"/> </BoundingBox> <Axles> <FrontAxle maxSteering="0.5" wheelDiameter="0.6" trackWidth="1.8" positionX="3.1" positionZ="0.3"/> <RearAxle maxSteering="0.0" wheelDiameter="0.6" trackWidth="1.8" positionX="0.0" positionZ="0.3"/> </Axles> <Properties> <Property name="type" value="ego_vehicle"/> </Properties> </Vehicle> </ScenarioObject> <ScenarioObject name="adversary"> <Vehicle name="vehicle.lincoln.mkz_2017" vehicleCategory="car"> <ParameterDeclarations/> <Performance maxSpeed="69.444" maxAcceleration="200" maxDeceleration="10.0"/> <BoundingBox> <Center x="1.5" y="0.0" z="0.9"/> <Dimensions width="2.1" length="4.5" height="1.8"/> </BoundingBox> <Axles> <FrontAxle maxSteering="0.5" wheelDiameter="0.6" trackWidth="1.8" positionX="3.1" positionZ="0.3"/> <RearAxle maxSteering="0.0" wheelDiameter="0.6" trackWidth="1.8" positionX="0.0" positionZ="0.3"/> </Axles> <Properties> <Property name="type" value="simulation"/> </Properties> </Vehicle> </ScenarioObject> <ScenarioObject name="standing"> <Vehicle name="vehicle.volkswagen.t2" vehicleCategory="car"> <ParameterDeclarations/> <Performance maxSpeed="69.444" maxAcceleration="200" maxDeceleration="10.0"/> <BoundingBox> <Center x="1.5" y="0.0" z="0.9"/> <Dimensions width="2.1" length="4.5" height="1.8"/> </BoundingBox> <Axles> <FrontAxle maxSteering="0.5" wheelDiameter="0.6" trackWidth="1.8" positionX="3.1" positionZ="0.3"/> <RearAxle maxSteering="0.0" wheelDiameter="0.6" trackWidth="1.8" positionX="0.0" positionZ="0.3"/> </Axles> <Properties> <Property name="type" value="simulation"/> </Properties> </Vehicle> </ScenarioObject> <ScenarioObject name="pedestrian_close_to_adversary_18306"> <Pedestrian model="walker.pedestrian.0001" mass="80" name="walker.pedestrian.0001" pedestrianCategory="pedestrian"> <ParameterDeclarations/> <BoundingBox> <Center x="1.5" y="0.0" z="0.9"/> <Dimensions width="2" length="2" height="2"/> </BoundingBox> <Properties> <Property name="type" value="simulation"/> </Properties> </Pedestrian> </ScenarioObject> <ScenarioObject name="pedestrian_w_transform_18307"> <Pedestrian model="walker.pedestrian.0001" mass="80" name="walker.pedestrian.0001" pedestrianCategory="pedestrian"> <ParameterDeclarations/> <BoundingBox> <Center x="1.5" y="0.0" z="0.9"/> <Dimensions width="2" length="2" height="2"/> </BoundingBox> <Properties> <Property name="type" value="simulation"/> </Properties> </Pedestrian> </ScenarioObject> <ScenarioObject name="pedestrian_w_transform_18308"> <Pedestrian model="walker.pedestrian.0001" mass="80" name="walker.pedestrian.0001" pedestrianCategory="pedestrian"> <ParameterDeclarations/> <BoundingBox> <Center x="1.5" y="0.0" z="0.9"/> <Dimensions width="2" length="2" height="2"/> </BoundingBox> <Properties> <Property name="type" value="simulation"/> </Properties> </Pedestrian> </ScenarioObject> <ScenarioObject name="pedestrian_close_to_standing_18309"> <Pedestrian model="walker.pedestrian.0001" mass="80" name="walker.pedestrian.0001" pedestrianCategory="pedestrian"> <ParameterDeclarations/> <BoundingBox> <Center x="1.5" y="0.0" z="0.9"/> <Dimensions width="2" length="2" height="2"/> </BoundingBox> <Properties> <Property name="type" value="simulation"/> </Properties> </Pedestrian> </ScenarioObject> <ScenarioObject name="pedestrian_close_to_standing_18310"> <Pedestrian model="walker.pedestrian.0001" mass="80" name="walker.pedestrian.0001" pedestrianCategory="pedestrian"> <ParameterDeclarations/> <BoundingBox> <Center x="1.5" y="0.0" z="0.9"/> <Dimensions width="2" length="2" height="2"/> </BoundingBox> <Properties> <Property name="type" value="simulation"/> </Properties> </Pedestrian> </ScenarioObject> <ScenarioObject name="pedestrian_w_transform_18311"> <Pedestrian model="walker.pedestrian.0001" mass="80" name="walker.pedestrian.0001" pedestrianCategory="pedestrian"> <ParameterDeclarations/> <BoundingBox> <Center x="1.5" y="0.0" z="0.9"/> <Dimensions width="2" length="2" height="2"/> </BoundingBox> <Properties> <Property name="type" value="simulation"/> </Properties> </Pedestrian> </ScenarioObject> <ScenarioObject name="pedestrian_close_to_hero_18313"> <Pedestrian model="walker.pedestrian.0001" mass="80" name="walker.pedestrian.0001" pedestrianCategory="pedestrian"> <ParameterDeclarations/> <BoundingBox> <Center x="1.5" y="0.0" z="0.9"/> <Dimensions width="2" length="2" height="2"/> </BoundingBox> <Properties> <Property name="type" value="simulation"/> </Properties> </Pedestrian> </ScenarioObject> <ScenarioObject name="pedestrian_close_to_hero_18314"> <Pedestrian model="walker.pedestrian.0001" mass="80" name="walker.pedestrian.0001" pedestrianCategory="pedestrian"> <ParameterDeclarations/> <BoundingBox> <Center x="1.5" y="0.0" z="0.9"/> <Dimensions width="2" length="2" height="2"/> </BoundingBox> <Properties> <Property name="type" value="simulation"/> </Properties> </Pedestrian> </ScenarioObject> <ScenarioObject name="pedestrian_close_to_hero_18315"> <Pedestrian model="walker.pedestrian.0001" mass="80" name="walker.pedestrian.0001" pedestrianCategory="pedestrian"> <ParameterDeclarations/> <BoundingBox> <Center x="1.5" y="0.0" z="0.9"/> <Dimensions width="2" length="2" height="2"/> </BoundingBox> <Properties> <Property name="type" value="simulation"/> </Properties> </Pedestrian> </ScenarioObject> <ScenarioObject name="pedestrian_close_to_standing_18316"> <Pedestrian model="walker.pedestrian.0001" mass="80" name="walker.pedestrian.0001" pedestrianCategory="pedestrian"> <ParameterDeclarations/> <BoundingBox> <Center x="1.5" y="0.0" z="0.9"/> <Dimensions width="2" length="2" height="2"/> </BoundingBox> <Properties> <Property name="type" value="simulation"/> </Properties> </Pedestrian> </ScenarioObject> <ScenarioObject name="pedestrian_close_to_standing_18317"> <Pedestrian model="walker.pedestrian.0001" mass="80" name="walker.pedestrian.0001" pedestrianCategory="pedestrian"> <ParameterDeclarations/> <BoundingBox> <Center x="1.5" y="0.0" z="0.9"/> <Dimensions width="2" length="2" height="2"/> </BoundingBox> <Properties> <Property name="type" value="simulation"/> </Properties> </Pedestrian> </ScenarioObject> <ScenarioObject name="pedestrian_w_transform_18318"> <Pedestrian model="walker.pedestrian.0001" mass="80" name="walker.pedestrian.0001" pedestrianCategory="pedestrian"> <ParameterDeclarations/> <BoundingBox> <Center x="1.5" y="0.0" z="0.9"/> <Dimensions width="2" length="2" height="2"/> </BoundingBox> <Properties> <Property name="type" value="simulation"/> </Properties> </Pedestrian> </ScenarioObject> <ScenarioObject name="pedestrian_close_to_adversary_18319"> <Pedestrian model="walker.pedestrian.0001" mass="80" name="walker.pedestrian.0001" pedestrianCategory="pedestrian"> <ParameterDeclarations/> <BoundingBox> <Center x="1.5" y="0.0" z="0.9"/> <Dimensions width="2" length="2" height="2"/> </BoundingBox> <Properties> <Property name="type" value="simulation"/> </Properties> </Pedestrian> </ScenarioObject> <ScenarioObject name="pedestrian_close_to_hero_18320"> <Pedestrian model="walker.pedestrian.0001" mass="80" name="walker.pedestrian.0001" pedestrianCategory="pedestrian"> <ParameterDeclarations/> <BoundingBox> <Center x="1.5" y="0.0" z="0.9"/> <Dimensions width="2" length="2" height="2"/> </BoundingBox> <Properties> <Property name="type" value="simulation"/> </Properties> </Pedestrian> </ScenarioObject> <ScenarioObject name="pedestrian_close_to_adversary_18321"> <Pedestrian model="walker.pedestrian.0001" mass="80" name="walker.pedestrian.0001" pedestrianCategory="pedestrian"> <ParameterDeclarations/> <BoundingBox> <Center x="1.5" y="0.0" z="0.9"/> <Dimensions width="2" length="2" height="2"/> </BoundingBox> <Properties> <Property name="type" value="simulation"/> </Properties> </Pedestrian> </ScenarioObject> <ScenarioObject name="pedestrian_close_to_hero_18322"> <Pedestrian model="walker.pedestrian.0001" mass="80" name="walker.pedestrian.0001" pedestrianCategory="pedestrian"> <ParameterDeclarations/> <BoundingBox> <Center x="1.5" y="0.0" z="0.9"/> <Dimensions width="2" length="2" height="2"/> </BoundingBox> <Properties> <Property name="type" value="simulation"/> </Properties> </Pedestrian> </ScenarioObject> <ScenarioObject name="pedestrian_close_to_hero_18323"> <Pedestrian model="walker.pedestrian.0001" mass="80" name="walker.pedestrian.0001" pedestrianCategory="pedestrian"> <ParameterDeclarations/> <BoundingBox> <Center x="1.5" y="0.0" z="0.9"/> <Dimensions width="2" length="2" height="2"/> </BoundingBox> <Properties> <Property name="type" value="simulation"/> </Properties> </Pedestrian> </ScenarioObject> <ScenarioObject name="pedestrian_close_to_hero_18324"> <Pedestrian model="walker.pedestrian.0001" mass="80" name="walker.pedestrian.0001" pedestrianCategory="pedestrian"> <ParameterDeclarations/> <BoundingBox> <Center x="1.5" y="0.0" z="0.9"/> <Dimensions width="2" length="2" height="2"/> </BoundingBox> <Properties> <Property name="type" value="simulation"/> </Properties> </Pedestrian> </ScenarioObject> <ScenarioObject name="pedestrian_w_transform_18325"> <Pedestrian model="walker.pedestrian.0001" mass="80" name="walker.pedestrian.0001" pedestrianCategory="pedestrian"> <ParameterDeclarations/> <BoundingBox> <Center x="1.5" y="0.0" z="0.9"/> <Dimensions width="2" length="2" height="2"/> </BoundingBox> <Properties> <Property name="type" value="simulation"/> </Properties> </Pedestrian> </ScenarioObject> <ScenarioObject name="pedestrian_close_to_standing_18326"> <Pedestrian model="walker.pedestrian.0001" mass="80" name="walker.pedestrian.0001" pedestrianCategory="pedestrian"> <ParameterDeclarations/> <BoundingBox> <Center x="1.5" y="0.0" z="0.9"/> <Dimensions width="2" length="2" height="2"/> </BoundingBox> <Properties> <Property name="type" value="simulation"/> </Properties> </Pedestrian> </ScenarioObject> </Entities> <Storyboard> <Init> <Actions> <GlobalAction> <EnvironmentAction> <Environment name="Environment1"> <TimeOfDay animation="false" dateTime="2019-06-25T12:00:00"/> <Weather cloudState="free"> <Sun intensity="0.85" azimuth="0" elevation="1.31"/> <Fog visualRange="100000.0"/> <Precipitation precipitationType="dry" intensity="0.0"/> </Weather> <RoadCondition frictionScaleFactor="1.0"/> </Environment> </EnvironmentAction> </GlobalAction> <Private entityRef="hero"> <PrivateAction> <TeleportAction> <Position> <WorldPosition x="-9.4" y="-152.8" z="0.5" h="1.57079632679"/> </Position> </TeleportAction> </PrivateAction> <PrivateAction> <ControllerAction> <AssignControllerAction> <Controller name="HeroAgent"> <Properties> <Property name="module" value="external_control"/> </Properties> </Controller> </AssignControllerAction> <OverrideControllerValueAction> <Throttle value="0" active="false"/> <Brake value="0" active="false"/> <Clutch value="0" active="false"/> <ParkingBrake value="0" active="false"/> <SteeringWheel value="0" active="false"/> <Gear number="0" active="false"/> </OverrideControllerValueAction> </ControllerAction> </PrivateAction> </Private> <Private entityRef="adversary"> <PrivateAction> <TeleportAction> <Position> <WorldPosition x="-9.4" y="-71.0" z="0.5" h="1.57079632679"/> </Position> </TeleportAction> </PrivateAction> </Private> <Private entityRef="standing"> <PrivateAction> <TeleportAction> <Position> <WorldPosition x="-8.2" y="29.2" z="0.5" h="1.57079632679"/> </Position> </TeleportAction> </PrivateAction> </Private> <Private entityRef="pedestrian_close_to_adversary_18306"> <PrivateAction> <TeleportAction> <Position> <WorldPosition x="-18.459327697753906" y="-71.10528564453125" z="0.03379058837890625"/> </Position> </TeleportAction> </PrivateAction> </Private> <Private entityRef="pedestrian_w_transform_18307"> <PrivateAction> <TeleportAction> <Position> <WorldPosition x="22.480178833007812" y="-39.77798080444336" z="0.5"/> </Position> </TeleportAction> </PrivateAction> </Private> <Private entityRef="pedestrian_w_transform_18308"> <PrivateAction> <TeleportAction> <Position> <WorldPosition x="-27.963045120239258" y="20.109466552734375" z="0.5"/> </Position> </TeleportAction> </PrivateAction> </Private> <Private entityRef="pedestrian_close_to_standing_18309"> <PrivateAction> <TeleportAction> <Position> <WorldPosition x="-12.124112129211426" y="24.58140754699707" z="0.003020400879904628"/> </Position> </TeleportAction> </PrivateAction> </Private> <Private entityRef="pedestrian_close_to_standing_18310"> <PrivateAction> <TeleportAction> <Position> <WorldPosition x="-1.6426738500595093" y="30.317827224731445" z="0.0030318067874759436"/> </Position> </TeleportAction> </PrivateAction> </Private> <Private entityRef="pedestrian_w_transform_18311"> <PrivateAction> <TeleportAction> <Position> <WorldPosition x="-35.70688247680664" y="-37.32094955444336" z="0.5"/> </Position> </TeleportAction> </PrivateAction> </Private> <Private entityRef="pedestrian_close_to_hero_18313"> <PrivateAction> <TeleportAction> <Position> <WorldPosition x="-16.622621536254883" y="-160.67877197265625" z="0.0014286803780123591"/> </Position> </TeleportAction> </PrivateAction> </Private> <Private entityRef="pedestrian_close_to_hero_18314"> <PrivateAction> <TeleportAction> <Position> <WorldPosition x="1.6118403673171997" y="-147.00177001953125" z="0.0014286803780123591"/> </Position> </TeleportAction> </PrivateAction> </Private> <Private entityRef="pedestrian_close_to_hero_18315"> <PrivateAction> <TeleportAction> <Position> <WorldPosition x="-3.88220477104187" y="-156.2039794921875" z="0.0014286803780123591"/> </Position> </TeleportAction> </PrivateAction> </Private> <Private entityRef="pedestrian_close_to_standing_18316"> <PrivateAction> <TeleportAction> <Position> <WorldPosition x="-7.067000865936279" y="35.595523834228516" z="0.0031115722376853228"/> </Position> </TeleportAction> </PrivateAction> </Private> <Private entityRef="pedestrian_close_to_standing_18317"> <PrivateAction> <TeleportAction> <Position> <WorldPosition x="-13.540885925292969" y="28.23246192932129" z="0.0030886458698660135"/> </Position> </TeleportAction> </PrivateAction> </Private> <Private entityRef="pedestrian_w_transform_18318"> <PrivateAction> <TeleportAction> <Position> <WorldPosition x="-89.88253784179688" y="-32.21002197265625" z="0.5"/> </Position> </TeleportAction> </PrivateAction> </Private> <Private entityRef="pedestrian_close_to_adversary_18319"> <PrivateAction> <TeleportAction> <Position> <WorldPosition x="-5.429882049560547" y="-64.86023712158203" z="0.03376499190926552"/> </Position> </TeleportAction> </PrivateAction> </Private> <Private entityRef="pedestrian_close_to_hero_18320"> <PrivateAction> <TeleportAction> <Position> <WorldPosition x="-17.142507553100586" y="-156.12277221679688" z="0.0014286803780123591"/> </Position> </TeleportAction> </PrivateAction> </Private> <Private entityRef="pedestrian_close_to_adversary_18321"> <PrivateAction> <TeleportAction> <Position> <WorldPosition x="-1.6051836013793945" y="-68.87400817871094" z="0.03382427245378494"/> </Position> </TeleportAction> </PrivateAction> </Private> <Private entityRef="pedestrian_close_to_hero_18322"> <PrivateAction> <TeleportAction> <Position> <WorldPosition x="-6.106704235076904" y="-159.17701721191406" z="0.0014286803780123591"/> </Position> </TeleportAction> </PrivateAction> </Private> <Private entityRef="pedestrian_close_to_hero_18323"> <PrivateAction> <TeleportAction> <Position> <WorldPosition x="-5.759830951690674" y="-154.22108459472656" z="0.0014286803780123591"/> </Position> </TeleportAction> </PrivateAction> </Private> <Private entityRef="pedestrian_close_to_hero_18324"> <PrivateAction> <TeleportAction> <Position> <WorldPosition x="-13.88823127746582" y="-158.9281463623047" z="0.0014286803780123591"/> </Position> </TeleportAction> </PrivateAction> </Private> <Private entityRef="pedestrian_w_transform_18325"> <PrivateAction> <TeleportAction> <Position> <WorldPosition x="44.18285369873047" y="55.91053771972656" z="0.5"/> </Position> </TeleportAction> </PrivateAction> </Private> <Private entityRef="pedestrian_close_to_standing_18326"> <PrivateAction> <TeleportAction> <Position> <WorldPosition x="8.774388313293457" y="33.93558120727539" z="0.0030337905045598745"/> </Position> </TeleportAction> </PrivateAction> </Private> </Actions> </Init> <Story name="MyStory"> <Act name="Behavior"> <ManeuverGroup maximumExecutionCount="1" name="ManeuverSequence"> <Actors selectTriggeringEntities="false"> <EntityRef entityRef="adversary"/> </Actors> <Maneuver name="LaneChangeSimpleManeuver"> <Event name="AdversaryAccelerates" priority="overwrite"> <Action name="AdversaryAccelerates"> <PrivateAction> <LongitudinalAction> <SpeedAction> <SpeedActionDynamics dynamicsShape="step" value="50" dynamicsDimension="distance"/> <SpeedActionTarget> <AbsoluteTargetSpeed value="5.0"/> </SpeedActionTarget> </SpeedAction> </LongitudinalAction> </PrivateAction> </Action> <StartTrigger> <ConditionGroup> <Condition name="StartCondition" delay="0" conditionEdge="rising"> <ByEntityCondition> <TriggeringEntities triggeringEntitiesRule="any"> <EntityRef entityRef="hero"/> </TriggeringEntities> <EntityCondition> <RelativeDistanceCondition entityRef="adversary" relativeDistanceType="cartesianDistance" value="40.0" freespace="false" rule="lessThan"/> </EntityCondition> </ByEntityCondition> </Condition> </ConditionGroup> </StartTrigger> </Event> <Event name="AdversaryChangesLane" priority="overwrite"> <Action name="AdversaryChangesLane"> <PrivateAction> <LateralAction> <LaneChangeAction> <LaneChangeActionDynamics dynamicsShape="linear" value="25" dynamicsDimension="distance"/> <LaneChangeTarget> <RelativeTargetLane entityRef="adversary" value="-1"/> </LaneChangeTarget> </LaneChangeAction> </LateralAction> </PrivateAction> </Action> <StartTrigger> <ConditionGroup> <Condition name="AfterAdversaryAccelerates" delay="0" conditionEdge="rising"> <ByValueCondition> <StoryboardElementStateCondition storyboardElementType="action" storyboardElementRef="AdversaryAccelerates" state="completeState"/> </ByValueCondition> </Condition> </ConditionGroup> </StartTrigger> </Event> </Maneuver> </ManeuverGroup> <StartTrigger> <ConditionGroup> <Condition name="OverallStartCondition" delay="0" conditionEdge="rising"> <ByEntityCondition> <TriggeringEntities triggeringEntitiesRule="any"> <EntityRef entityRef="hero"/> </TriggeringEntities> <EntityCondition> <TraveledDistanceCondition value="1.0"/> </EntityCondition> </ByEntityCondition> </Condition> <Condition name="StartTime" delay="0" conditionEdge="rising"> <ByValueCondition> <SimulationTimeCondition value="0" rule="equalTo"/> </ByValueCondition> </Condition> </ConditionGroup> </StartTrigger> <StopTrigger> <ConditionGroup> <Condition name="EndCondition" delay="0" conditionEdge="rising"> <ByEntityCondition> <TriggeringEntities triggeringEntitiesRule="any"> <EntityRef entityRef="hero"/> </TriggeringEntities> <EntityCondition> <TraveledDistanceCondition value="200.0"/> </EntityCondition> </ByEntityCondition> </Condition> </ConditionGroup> </StopTrigger> </Act> </Story> <StopTrigger> <ConditionGroup> <Condition name="criteria_RunningStopTest" delay="0" conditionEdge="rising"> <ByValueCondition> <ParameterCondition parameterRef="" value="" rule="lessThan"/> </ByValueCondition> </Condition> <Condition name="criteria_RunningRedLightTest" delay="0" conditionEdge="rising"> <ByValueCondition> <ParameterCondition parameterRef="" value="" rule="lessThan"/> </ByValueCondition> </Condition> <Condition name="criteria_WrongLaneTest" delay="0" conditionEdge="rising"> <ByValueCondition> <ParameterCondition parameterRef="" value="" rule="lessThan"/> </ByValueCondition> </Condition> <Condition name="criteria_OnSidewalkTest" delay="0" conditionEdge="rising"> <ByValueCondition> <ParameterCondition parameterRef="" value="" rule="lessThan"/> </ByValueCondition> </Condition> <Condition name="criteria_KeepLaneTest" delay="0" conditionEdge="rising"> <ByValueCondition> <ParameterCondition parameterRef="" value="" rule="lessThan"/> </ByValueCondition> </Condition> <Condition name="criteria_CollisionTest" delay="0" conditionEdge="rising"> <ByValueCondition> <ParameterCondition parameterRef="" value="" rule="lessThan"/> </ByValueCondition> </Condition> <Condition name="criteria_DrivenDistanceTest" delay="0" conditionEdge="rising"> <ByValueCondition> <ParameterCondition parameterRef="distance_success" value="100" rule="lessThan"/> </ByValueCondition> </Condition> </ConditionGroup> </StopTrigger> </Storyboard> </OpenSCENARIO> ```
Here is the result: ``` <?xml version="1.0" ?> <OpenSCENARIO> <FileHeader revMajor="1" revMinor="0" date="2020-03-24T12:00:00" description="CARLA:LaneChangeSimple" author=""/> <ParameterDeclarations/> <CatalogLocations/> <RoadNetwork> <LogicFile filepath="Town04"/> <SceneGraphFile filepath=""/> </RoadNetwork> <Entities> <ScenarioObject name="hero"> <Vehicle name="vehicle.tesla.model3" vehicleCategory="car"> <ParameterDeclarations/> <Performance maxSpeed="69.444" maxAcceleration="200" maxDeceleration="10.0"/> <BoundingBox> <Center x="1.5" y="0.0" z="0.9"/> <Dimensions width="2.1" length="4.5" height="1.8"/> </BoundingBox> <Axles> <FrontAxle maxSteering="0.5" wheelDiameter="0.6" trackWidth="1.8" positionX="3.1" positionZ="0.3"/> <RearAxle maxSteering="0.0" wheelDiameter="0.6" trackWidth="1.8" positionX="0.0" positionZ="0.3"/> </Axles> <Properties> <Property name="type" value="ego_vehicle"/> </Properties> </Vehicle> </ScenarioObject> <ScenarioObject name="adversary"> <Vehicle name="vehicle.lincoln.mkz_2017" vehicleCategory="car"> <ParameterDeclarations/> <Performance maxSpeed="69.444" maxAcceleration="200" maxDeceleration="10.0"/> <BoundingBox> <Center x="1.5" y="0.0" z="0.9"/> <Dimensions width="2.1" length="4.5" height="1.8"/> </BoundingBox> <Axles> <FrontAxle maxSteering="0.5" wheelDiameter="0.6" trackWidth="1.8" positionX="3.1" positionZ="0.3"/> <RearAxle maxSteering="0.0" wheelDiameter="0.6" trackWidth="1.8" positionX="0.0" positionZ="0.3"/> </Axles> <Properties> <Property name="type" value="simulation"/> </Properties> </Vehicle> </ScenarioObject> <ScenarioObject name="standing"> <Vehicle name="vehicle.volkswagen.t2" vehicleCategory="car"> <ParameterDeclarations/> <Performance maxSpeed="69.444" maxAcceleration="200" maxDeceleration="10.0"/> <BoundingBox> <Center x="1.5" y="0.0" z="0.9"/> <Dimensions width="2.1" length="4.5" height="1.8"/> </BoundingBox> <Axles> <FrontAxle maxSteering="0.5" wheelDiameter="0.6" trackWidth="1.8" positionX="3.1" positionZ="0.3"/> <RearAxle maxSteering="0.0" wheelDiameter="0.6" trackWidth="1.8" positionX="0.0" positionZ="0.3"/> </Axles> <Properties> <Property name="type" value="simulation"/> </Properties> </Vehicle> </ScenarioObject> <ScenarioObject name="pedestrian_close_to_adversary_18306"> <Pedestrian model="walker.pedestrian.0001" mass="80" name="walker.pedestrian.0001" pedestrianCategory="pedestrian"> <ParameterDeclarations/> <BoundingBox> <Center x="1.5" y="0.0" z="0.9"/> <Dimensions width="2" length="2" height="2"/> </BoundingBox> <Properties> <Property name="type" value="simulation"/> </Properties> </Pedestrian> </ScenarioObject> <ScenarioObject name="pedestrian_w_transform_18307"> <Pedestrian model="walker.pedestrian.0001" mass="80" name="walker.pedestrian.0001" pedestrianCategory="pedestrian"> <ParameterDeclarations/> <BoundingBox> <Center x="1.5" y="0.0" z="0.9"/> <Dimensions width="2" length="2" height="2"/> </BoundingBox> <Properties> <Property name="type" value="simulation"/> </Properties> </Pedestrian> </ScenarioObject> <ScenarioObject name="pedestrian_w_transform_18308"> <Pedestrian model="walker.pedestrian.0001" mass="80" name="walker.pedestrian.0001" pedestrianCategory="pedestrian"> <ParameterDeclarations/> <BoundingBox> <Center x="1.5" y="0.0" z="0.9"/> <Dimensions width="2" length="2" height="2"/> </BoundingBox> <Properties> <Property name="type" value="simulation"/> </Properties> </Pedestrian> </ScenarioObject> <ScenarioObject name="pedestrian_close_to_standing_18309"> <Pedestrian model="walker.pedestrian.0001" mass="80" name="walker.pedestrian.0001" pedestrianCategory="pedestrian"> <ParameterDeclarations/> <BoundingBox> <Center x="1.5" y="0.0" z="0.9"/> <Dimensions width="2" length="2" height="2"/> </BoundingBox> <Properties> <Property name="type" value="simulation"/> </Properties> </Pedestrian> </ScenarioObject> <ScenarioObject name="pedestrian_close_to_standing_18310"> <Pedestrian model="walker.pedestrian.0001" mass="80" name="walker.pedestrian.0001" pedestrianCategory="pedestrian"> <ParameterDeclarations/> <BoundingBox> <Center x="1.5" y="0.0" z="0.9"/> <Dimensions width="2" length="2" height="2"/> </BoundingBox> <Properties> <Property name="type" value="simulation"/> </Properties> </Pedestrian> </ScenarioObject> <ScenarioObject name="pedestrian_w_transform_18311"> <Pedestrian model="walker.pedestrian.0001" mass="80" name="walker.pedestrian.0001" pedestrianCategory="pedestrian"> <ParameterDeclarations/> <BoundingBox> <Center x="1.5" y="0.0" z="0.9"/> <Dimensions width="2" length="2" height="2"/> </BoundingBox> <Properties> <Property name="type" value="simulation"/> </Properties> </Pedestrian> </ScenarioObject> <ScenarioObject name="pedestrian_close_to_hero_18313"> <Pedestrian model="walker.pedestrian.0001" mass="80" name="walker.pedestrian.0001" pedestrianCategory="pedestrian"> <ParameterDeclarations/> <BoundingBox> <Center x="1.5" y="0.0" z="0.9"/> <Dimensions width="2" length="2" height="2"/> </BoundingBox> <Properties> <Property name="type" value="simulation"/> </Properties> </Pedestrian> </ScenarioObject> <ScenarioObject name="pedestrian_close_to_hero_18314"> <Pedestrian model="walker.pedestrian.0001" mass="80" name="walker.pedestrian.0001" pedestrianCategory="pedestrian"> <ParameterDeclarations/> <BoundingBox> <Center x="1.5" y="0.0" z="0.9"/> <Dimensions width="2" length="2" height="2"/> </BoundingBox> <Properties> <Property name="type" value="simulation"/> </Properties> </Pedestrian> </ScenarioObject> <ScenarioObject name="pedestrian_close_to_hero_18315"> <Pedestrian model="walker.pedestrian.0001" mass="80" name="walker.pedestrian.0001" pedestrianCategory="pedestrian"> <ParameterDeclarations/> <BoundingBox> <Center x="1.5" y="0.0" z="0.9"/> <Dimensions width="2" length="2" height="2"/> </BoundingBox> <Properties> <Property name="type" value="simulation"/> </Properties> </Pedestrian> </ScenarioObject> <ScenarioObject name="pedestrian_close_to_standing_18316"> <Pedestrian model="walker.pedestrian.0001" mass="80" name="walker.pedestrian.0001" pedestrianCategory="pedestrian"> <ParameterDeclarations/> <BoundingBox> <Center x="1.5" y="0.0" z="0.9"/> <Dimensions width="2" length="2" height="2"/> </BoundingBox> <Properties> <Property name="type" value="simulation"/> </Properties> </Pedestrian> </ScenarioObject> <ScenarioObject name="pedestrian_close_to_standing_18317"> <Pedestrian model="walker.pedestrian.0001" mass="80" name="walker.pedestrian.0001" pedestrianCategory="pedestrian"> <ParameterDeclarations/> <BoundingBox> <Center x="1.5" y="0.0" z="0.9"/> <Dimensions width="2" length="2" height="2"/> </BoundingBox> <Properties> <Property name="type" value="simulation"/> </Properties> </Pedestrian> </ScenarioObject> <ScenarioObject name="pedestrian_w_transform_18318"> <Pedestrian model="walker.pedestrian.0001" mass="80" name="walker.pedestrian.0001" pedestrianCategory="pedestrian"> <ParameterDeclarations/> <BoundingBox> <Center x="1.5" y="0.0" z="0.9"/> <Dimensions width="2" length="2" height="2"/> </BoundingBox> <Properties> <Property name="type" value="simulation"/> </Properties> </Pedestrian> </ScenarioObject> <ScenarioObject name="pedestrian_close_to_adversary_18319"> <Pedestrian model="walker.pedestrian.0001" mass="80" name="walker.pedestrian.0001" pedestrianCategory="pedestrian"> <ParameterDeclarations/> <BoundingBox> <Center x="1.5" y="0.0" z="0.9"/> <Dimensions width="2" length="2" height="2"/> </BoundingBox> <Properties> <Property name="type" value="simulation"/> </Properties> </Pedestrian> </ScenarioObject> <ScenarioObject name="pedestrian_close_to_hero_18320"> <Pedestrian model="walker.pedestrian.0001" mass="80" name="walker.pedestrian.0001" pedestrianCategory="pedestrian"> <ParameterDeclarations/> <BoundingBox> <Center x="1.5" y="0.0" z="0.9"/> <Dimensions width="2" length="2" height="2"/> </BoundingBox> <Properties> <Property name="type" value="simulation"/> </Properties> </Pedestrian> </ScenarioObject> <ScenarioObject name="pedestrian_close_to_adversary_18321"> <Pedestrian model="walker.pedestrian.0001" mass="80" name="walker.pedestrian.0001" pedestrianCategory="pedestrian"> <ParameterDeclarations/> <BoundingBox> <Center x="1.5" y="0.0" z="0.9"/> <Dimensions width="2" length="2" height="2"/> </BoundingBox> <Properties> <Property name="type" value="simulation"/> </Properties> </Pedestrian> </ScenarioObject> <ScenarioObject name="pedestrian_close_to_hero_18322"> <Pedestrian model="walker.pedestrian.0001" mass="80" name="walker.pedestrian.0001" pedestrianCategory="pedestrian"> <ParameterDeclarations/> <BoundingBox> <Center x="1.5" y="0.0" z="0.9"/> <Dimensions width="2" length="2" height="2"/> </BoundingBox> <Properties> <Property name="type" value="simulation"/> </Properties> </Pedestrian> </ScenarioObject> <ScenarioObject name="pedestrian_close_to_hero_18323"> <Pedestrian model="walker.pedestrian.0001" mass="80" name="walker.pedestrian.0001" pedestrianCategory="pedestrian"> <ParameterDeclarations/> <BoundingBox> <Center x="1.5" y="0.0" z="0.9"/> <Dimensions width="2" length="2" height="2"/> </BoundingBox> <Properties> <Property name="type" value="simulation"/> </Properties> </Pedestrian> </ScenarioObject> <ScenarioObject name="pedestrian_w_transform_18325"> <Pedestrian model="walker.pedestrian.0001" mass="80" name="walker.pedestrian.0001" pedestrianCategory="pedestrian"> <ParameterDeclarations/> <BoundingBox> <Center x="1.5" y="0.0" z="0.9"/> <Dimensions width="2" length="2" height="2"/> </BoundingBox> <Properties> <Property name="type" value="simulation"/> </Properties> </Pedestrian> </ScenarioObject> <ScenarioObject name="pedestrian_close_to_standing_18326"> <Pedestrian model="walker.pedestrian.0001" mass="80" name="walker.pedestrian.0001" pedestrianCategory="pedestrian"> <ParameterDeclarations/> <BoundingBox> <Center x="1.5" y="0.0" z="0.9"/> <Dimensions width="2" length="2" height="2"/> </BoundingBox> <Properties> <Property name="type" value="simulation"/> </Properties> </Pedestrian> </ScenarioObject> </Entities> <Storyboard> <Init> <Actions> <GlobalAction> <EnvironmentAction> <Environment name="Environment1"> <TimeOfDay animation="false" dateTime="2019-06-25T12:00:00"/> <Weather cloudState="free"> <Sun intensity="0.85" azimuth="0" elevation="1.31"/> <Fog visualRange="100000.0"/> <Precipitation precipitationType="dry" intensity="0.0"/> </Weather> <RoadCondition frictionScaleFactor="1.0"/> </Environment> </EnvironmentAction> </GlobalAction> <Private entityRef="hero"> <PrivateAction> <TeleportAction> <Position> <WorldPosition x="-9.4" y="-152.8" z="0.5" h="1.57079632679"/> </Position> </TeleportAction> </PrivateAction> <PrivateAction> <ControllerAction> <AssignControllerAction> <Controller name="HeroAgent"> <Properties> <Property name="module" value="external_control"/> </Properties> </Controller> </AssignControllerAction> <OverrideControllerValueAction> <Throttle value="0" active="false"/> <Brake value="0" active="false"/> <Clutch value="0" active="false"/> <ParkingBrake value="0" active="false"/> <SteeringWheel value="0" active="false"/> <Gear number="0" active="false"/> </OverrideControllerValueAction> </ControllerAction> </PrivateAction> </Private> <Private entityRef="adversary"> <PrivateAction> <TeleportAction> <Position> <WorldPosition x="-9.4" y="-71.0" z="0.5" h="1.57079632679"/> </Position> </TeleportAction> </PrivateAction> </Private> <Private entityRef="standing"> <PrivateAction> <TeleportAction> <Position> <WorldPosition x="-8.2" y="29.2" z="0.5" h="1.57079632679"/> </Position> </TeleportAction> </PrivateAction> </Private> <Private entityRef="pedestrian_close_to_adversary_18306"> <PrivateAction> <TeleportAction> <Position> <WorldPosition x="-18.459327697753906" y="-71.10528564453125" z="0.03379058837890625"/> </Position> </TeleportAction> </PrivateAction> </Private> <Private entityRef="pedestrian_w_transform_18307"> <PrivateAction> <TeleportAction> <Position> <WorldPosition x="22.480178833007812" y="-39.77798080444336" z="0.5"/> </Position> </TeleportAction> </PrivateAction> </Private> <Private entityRef="pedestrian_w_transform_18308"> <PrivateAction> <TeleportAction> <Position> <WorldPosition x="-27.963045120239258" y="20.109466552734375" z="0.5"/> </Position> </TeleportAction> </PrivateAction> </Private> <Private entityRef="pedestrian_close_to_standing_18309"> <PrivateAction> <TeleportAction> <Position> <WorldPosition x="-12.124112129211426" y="24.58140754699707" z="0.003020400879904628"/> </Position> </TeleportAction> </PrivateAction> </Private> <Private entityRef="pedestrian_close_to_standing_18310"> <PrivateAction> <TeleportAction> <Position> <WorldPosition x="-1.6426738500595093" y="30.317827224731445" z="0.0030318067874759436"/> </Position> </TeleportAction> </PrivateAction> </Private> <Private entityRef="pedestrian_w_transform_18311"> <PrivateAction> <TeleportAction> <Position> <WorldPosition x="-35.70688247680664" y="-37.32094955444336" z="0.5"/> </Position> </TeleportAction> </PrivateAction> </Private> <Private entityRef="pedestrian_close_to_hero_18313"> <PrivateAction> <TeleportAction> <Position> <WorldPosition x="-16.622621536254883" y="-160.67877197265625" z="0.0014286803780123591"/> </Position> </TeleportAction> </PrivateAction> </Private> <Private entityRef="pedestrian_close_to_hero_18314"> <PrivateAction> <TeleportAction> <Position> <WorldPosition x="1.6118403673171997" y="-147.00177001953125" z="0.0014286803780123591"/> </Position> </TeleportAction> </PrivateAction> </Private> <Private entityRef="pedestrian_close_to_hero_18315"> <PrivateAction> <TeleportAction> <Position> <WorldPosition x="-3.88220477104187" y="-156.2039794921875" z="0.0014286803780123591"/> </Position> </TeleportAction> </PrivateAction> </Private> <Private entityRef="pedestrian_close_to_standing_18316"> <PrivateAction> <TeleportAction> <Position> <WorldPosition x="-7.067000865936279" y="35.595523834228516" z="0.0031115722376853228"/> </Position> </TeleportAction> </PrivateAction> </Private> <Private entityRef="pedestrian_close_to_standing_18317"> <PrivateAction> <TeleportAction> <Position> <WorldPosition x="-13.540885925292969" y="28.23246192932129" z="0.0030886458698660135"/> </Position> </TeleportAction> </PrivateAction> </Private> <Private entityRef="pedestrian_w_transform_18318"> <PrivateAction> <TeleportAction> <Position> <WorldPosition x="-89.88253784179688" y="-32.21002197265625" z="0.5"/> </Position> </TeleportAction> </PrivateAction> </Private> <Private entityRef="pedestrian_close_to_adversary_18319"> <PrivateAction> <TeleportAction> <Position> <WorldPosition x="-5.429882049560547" y="-64.86023712158203" z="0.03376499190926552"/> </Position> </TeleportAction> </PrivateAction> </Private> <Private entityRef="pedestrian_close_to_hero_18320"> <PrivateAction> <TeleportAction> <Position> <WorldPosition x="-17.142507553100586" y="-156.12277221679688" z="0.0014286803780123591"/> </Position> </TeleportAction> </PrivateAction> </Private> <Private entityRef="pedestrian_close_to_adversary_18321"> <PrivateAction> <TeleportAction> <Position> <WorldPosition x="-1.6051836013793945" y="-68.87400817871094" z="0.03382427245378494"/> </Position> </TeleportAction> </PrivateAction> </Private> <Private entityRef="pedestrian_close_to_hero_18322"> <PrivateAction> <TeleportAction> <Position> <WorldPosition x="-6.106704235076904" y="-159.17701721191406" z="0.0014286803780123591"/> </Position> </TeleportAction> </PrivateAction> </Private> <Private entityRef="pedestrian_close_to_hero_18323"> <PrivateAction> <TeleportAction> <Position> <WorldPosition x="-5.759830951690674" y="-154.22108459472656" z="0.0014286803780123591"/> </Position> </TeleportAction> </PrivateAction> </Private> <Private entityRef="pedestrian_w_transform_18325"> <PrivateAction> <TeleportAction> <Position> <WorldPosition x="44.18285369873047" y="55.91053771972656" z="0.5"/> </Position> </TeleportAction> </PrivateAction> </Private> <Private entityRef="pedestrian_close_to_standing_18326"> <PrivateAction> <TeleportAction> <Position> <WorldPosition x="8.774388313293457" y="33.93558120727539" z="0.0030337905045598745"/> </Position> </TeleportAction> </PrivateAction> </Private> </Actions> </Init> <Story name="MyStory"> <Act name="Behavior"> <ManeuverGroup maximumExecutionCount="1" name="ManeuverSequence"> <Actors selectTriggeringEntities="false"> <EntityRef entityRef="adversary"/> </Actors> <Maneuver name="LaneChangeSimpleManeuver"> <Event name="AdversaryAccelerates" priority="overwrite"> <Action name="AdversaryAccelerates"> <PrivateAction> <LongitudinalAction> <SpeedAction> <SpeedActionDynamics dynamicsShape="step" value="50" dynamicsDimension="distance"/> <SpeedActionTarget> <AbsoluteTargetSpeed value="5.0"/> </SpeedActionTarget> </SpeedAction> </LongitudinalAction> </PrivateAction> </Action> <StartTrigger> <ConditionGroup> <Condition name="StartCondition" delay="0" conditionEdge="rising"> <ByEntityCondition> <TriggeringEntities triggeringEntitiesRule="any"> <EntityRef entityRef="hero"/> </TriggeringEntities> <EntityCondition> <RelativeDistanceCondition entityRef="adversary" relativeDistanceType="cartesianDistance" value="40.0" freespace="false" rule="lessThan"/> </EntityCondition> </ByEntityCondition> </Condition> </ConditionGroup> </StartTrigger> </Event> <Event name="AdversaryChangesLane" priority="overwrite"> <Action name="AdversaryChangesLane"> <PrivateAction> <LateralAction> <LaneChangeAction> <LaneChangeActionDynamics dynamicsShape="linear" value="25" dynamicsDimension="distance"/> <LaneChangeTarget> <RelativeTargetLane entityRef="adversary" value="-1"/> </LaneChangeTarget> </LaneChangeAction> </LateralAction> </PrivateAction> </Action> <StartTrigger> <ConditionGroup> <Condition name="AfterAdversaryAccelerates" delay="0" conditionEdge="rising"> <ByValueCondition> <StoryboardElementStateCondition storyboardElementType="action" storyboardElementRef="AdversaryAccelerates" state="completeState"/> </ByValueCondition> </Condition> </ConditionGroup> </StartTrigger> </Event> </Maneuver> </ManeuverGroup> <StartTrigger> <ConditionGroup> <Condition name="OverallStartCondition" delay="0" conditionEdge="rising"> <ByEntityCondition> <TriggeringEntities triggeringEntitiesRule="any"> <EntityRef entityRef="hero"/> </TriggeringEntities> <EntityCondition> <TraveledDistanceCondition value="1.0"/> </EntityCondition> </ByEntityCondition> </Condition> <Condition name="StartTime" delay="0" conditionEdge="rising"> <ByValueCondition> <SimulationTimeCondition value="0" rule="equalTo"/> </ByValueCondition> </Condition> </ConditionGroup> </StartTrigger> <StopTrigger> <ConditionGroup> <Condition name="EndCondition" delay="0" conditionEdge="rising"> <ByEntityCondition> <TriggeringEntities triggeringEntitiesRule="any"> <EntityRef entityRef="hero"/> </TriggeringEntities> <EntityCondition> <TraveledDistanceCondition value="200.0"/> </EntityCondition> </ByEntityCondition> </Condition> </ConditionGroup> </StopTrigger> </Act> </Story> <StopTrigger> <ConditionGroup> <Condition name="criteria_RunningStopTest" delay="0" conditionEdge="rising"> <ByValueCondition> <ParameterCondition parameterRef="" value="" rule="lessThan"/> </ByValueCondition> </Condition> <Condition name="criteria_RunningRedLightTest" delay="0" conditionEdge="rising"> <ByValueCondition> <ParameterCondition parameterRef="" value="" rule="lessThan"/> </ByValueCondition> </Condition> <Condition name="criteria_WrongLaneTest" delay="0" conditionEdge="rising"> <ByValueCondition> <ParameterCondition parameterRef="" value="" rule="lessThan"/> </ByValueCondition> </Condition> <Condition name="criteria_OnSidewalkTest" delay="0" conditionEdge="rising"> <ByValueCondition> <ParameterCondition parameterRef="" value="" rule="lessThan"/> </ByValueCondition> </Condition> <Condition name="criteria_KeepLaneTest" delay="0" conditionEdge="rising"> <ByValueCondition> <ParameterCondition parameterRef="" value="" rule="lessThan"/> </ByValueCondition> </Condition> <Condition name="criteria_CollisionTest" delay="0" conditionEdge="rising"> <ByValueCondition> <ParameterCondition parameterRef="" value="" rule="lessThan"/> </ByValueCondition> </Condition> <Condition name="criteria_DrivenDistanceTest" delay="0" conditionEdge="rising"> <ByValueCondition> <ParameterCondition parameterRef="distance_success" value="100" rule="lessThan"/> </ByValueCondition> </Condition> </ConditionGroup> </StopTrigger> </Storyboard> </OpenSCENARIO> ```
i would like to instruct you to add pedestrian at location (92.73, -46.33, 0.5)? ``` <?xml version="1.0" ?> <OpenSCENARIO> <FileHeader revMajor="1" revMinor="0" date="2020-03-24T12:00:00" description="CARLA:LaneChangeSimple" author=""/> <ParameterDeclarations/> <CatalogLocations/> <RoadNetwork> <LogicFile filepath="Town04"/> <SceneGraphFile filepath=""/> </RoadNetwork> <Entities> <ScenarioObject name="hero"> <Vehicle name="vehicle.tesla.model3" vehicleCategory="car"> <ParameterDeclarations/> <Performance maxSpeed="69.444" maxAcceleration="200" maxDeceleration="10.0"/> <BoundingBox> <Center x="1.5" y="0.0" z="0.9"/> <Dimensions width="2.1" length="4.5" height="1.8"/> </BoundingBox> <Axles> <FrontAxle maxSteering="0.5" wheelDiameter="0.6" trackWidth="1.8" positionX="3.1" positionZ="0.3"/> <RearAxle maxSteering="0.0" wheelDiameter="0.6" trackWidth="1.8" positionX="0.0" positionZ="0.3"/> </Axles> <Properties> <Property name="type" value="ego_vehicle"/> </Properties> </Vehicle> </ScenarioObject> <ScenarioObject name="adversary"> <Vehicle name="vehicle.lincoln.mkz_2017" vehicleCategory="car"> <ParameterDeclarations/> <Performance maxSpeed="69.444" maxAcceleration="200" maxDeceleration="10.0"/> <BoundingBox> <Center x="1.5" y="0.0" z="0.9"/> <Dimensions width="2.1" length="4.5" height="1.8"/> </BoundingBox> <Axles> <FrontAxle maxSteering="0.5" wheelDiameter="0.6" trackWidth="1.8" positionX="3.1" positionZ="0.3"/> <RearAxle maxSteering="0.0" wheelDiameter="0.6" trackWidth="1.8" positionX="0.0" positionZ="0.3"/> </Axles> <Properties> <Property name="type" value="simulation"/> </Properties> </Vehicle> </ScenarioObject> <ScenarioObject name="standing"> <Vehicle name="vehicle.volkswagen.t2" vehicleCategory="car"> <ParameterDeclarations/> <Performance maxSpeed="69.444" maxAcceleration="200" maxDeceleration="10.0"/> <BoundingBox> <Center x="1.5" y="0.0" z="0.9"/> <Dimensions width="2.1" length="4.5" height="1.8"/> </BoundingBox> <Axles> <FrontAxle maxSteering="0.5" wheelDiameter="0.6" trackWidth="1.8" positionX="3.1" positionZ="0.3"/> <RearAxle maxSteering="0.0" wheelDiameter="0.6" trackWidth="1.8" positionX="0.0" positionZ="0.3"/> </Axles> <Properties> <Property name="type" value="simulation"/> </Properties> </Vehicle> </ScenarioObject> <ScenarioObject name="pedestrian_close_to_adversary_12959"> <Pedestrian model="walker.pedestrian.0001" mass="80" name="walker.pedestrian.0001" pedestrianCategory="pedestrian"> <ParameterDeclarations/> <BoundingBox> <Center x="1.5" y="0.0" z="0.9"/> <Dimensions width="2" length="2" height="2"/> </BoundingBox> <Properties> <Property name="type" value="simulation"/> </Properties> </Pedestrian> </ScenarioObject> <ScenarioObject name="pedestrian_w_transform_12961"> <Pedestrian model="walker.pedestrian.0001" mass="80" name="walker.pedestrian.0001" pedestrianCategory="pedestrian"> <ParameterDeclarations/> <BoundingBox> <Center x="1.5" y="0.0" z="0.9"/> <Dimensions width="2" length="2" height="2"/> </BoundingBox> <Properties> <Property name="type" value="simulation"/> </Properties> </Pedestrian> </ScenarioObject> <ScenarioObject name="pedestrian_w_transform_12963"> <Pedestrian model="walker.pedestrian.0001" mass="80" name="walker.pedestrian.0001" pedestrianCategory="pedestrian"> <ParameterDeclarations/> <BoundingBox> <Center x="1.5" y="0.0" z="0.9"/> <Dimensions width="2" length="2" height="2"/> </BoundingBox> <Properties> <Property name="type" value="simulation"/> </Properties> </Pedestrian> </ScenarioObject> <ScenarioObject name="pedestrian_close_to_adversary_12964"> <Pedestrian model="walker.pedestrian.0001" mass="80" name="walker.pedestrian.0001" pedestrianCategory="pedestrian"> <ParameterDeclarations/> <BoundingBox> <Center x="1.5" y="0.0" z="0.9"/> <Dimensions width="2" length="2" height="2"/> </BoundingBox> <Properties> <Property name="type" value="simulation"/> </Properties> </Pedestrian> </ScenarioObject> <ScenarioObject name="pedestrian_close_to_standing_12965"> <Pedestrian model="walker.pedestrian.0001" mass="80" name="walker.pedestrian.0001" pedestrianCategory="pedestrian"> <ParameterDeclarations/> <BoundingBox> <Center x="1.5" y="0.0" z="0.9"/> <Dimensions width="2" length="2" height="2"/> </BoundingBox> <Properties> <Property name="type" value="simulation"/> </Properties> </Pedestrian> </ScenarioObject> <ScenarioObject name="pedestrian_close_to_hero_12967"> <Pedestrian model="walker.pedestrian.0001" mass="80" name="walker.pedestrian.0001" pedestrianCategory="pedestrian"> <ParameterDeclarations/> <BoundingBox> <Center x="1.5" y="0.0" z="0.9"/> <Dimensions width="2" length="2" height="2"/> </BoundingBox> <Properties> <Property name="type" value="simulation"/> </Properties> </Pedestrian> </ScenarioObject> <ScenarioObject name="pedestrian_close_to_hero_12968"> <Pedestrian model="walker.pedestrian.0001" mass="80" name="walker.pedestrian.0001" pedestrianCategory="pedestrian"> <ParameterDeclarations/> <BoundingBox> <Center x="1.5" y="0.0" z="0.9"/> <Dimensions width="2" length="2" height="2"/> </BoundingBox> <Properties> <Property name="type" value="simulation"/> </Properties> </Pedestrian> </ScenarioObject> <ScenarioObject name="pedestrian_w_transform_12969"> <Pedestrian model="walker.pedestrian.0001" mass="80" name="walker.pedestrian.0001" pedestrianCategory="pedestrian"> <ParameterDeclarations/> <BoundingBox> <Center x="1.5" y="0.0" z="0.9"/> <Dimensions width="2" length="2" height="2"/> </BoundingBox> <Properties> <Property name="type" value="simulation"/> </Properties> </Pedestrian> </ScenarioObject> <ScenarioObject name="pedestrian_close_to_adversary_12970"> <Pedestrian model="walker.pedestrian.0001" mass="80" name="walker.pedestrian.0001" pedestrianCategory="pedestrian"> <ParameterDeclarations/> <BoundingBox> <Center x="1.5" y="0.0" z="0.9"/> <Dimensions width="2" length="2" height="2"/> </BoundingBox> <Properties> <Property name="type" value="simulation"/> </Properties> </Pedestrian> </ScenarioObject> <ScenarioObject name="pedestrian_close_to_adversary_12971"> <Pedestrian model="walker.pedestrian.0001" mass="80" name="walker.pedestrian.0001" pedestrianCategory="pedestrian"> <ParameterDeclarations/> <BoundingBox> <Center x="1.5" y="0.0" z="0.9"/> <Dimensions width="2" length="2" height="2"/> </BoundingBox> <Properties> <Property name="type" value="simulation"/> </Properties> </Pedestrian> </ScenarioObject> <ScenarioObject name="pedestrian_close_to_standing_12972"> <Pedestrian model="walker.pedestrian.0001" mass="80" name="walker.pedestrian.0001" pedestrianCategory="pedestrian"> <ParameterDeclarations/> <BoundingBox> <Center x="1.5" y="0.0" z="0.9"/> <Dimensions width="2" length="2" height="2"/> </BoundingBox> <Properties> <Property name="type" value="simulation"/> </Properties> </Pedestrian> </ScenarioObject> <ScenarioObject name="pedestrian_w_transform_12973"> <Pedestrian model="walker.pedestrian.0001" mass="80" name="walker.pedestrian.0001" pedestrianCategory="pedestrian"> <ParameterDeclarations/> <BoundingBox> <Center x="1.5" y="0.0" z="0.9"/> <Dimensions width="2" length="2" height="2"/> </BoundingBox> <Properties> <Property name="type" value="simulation"/> </Properties> </Pedestrian> </ScenarioObject> <ScenarioObject name="pedestrian_w_transform_12974"> <Pedestrian model="walker.pedestrian.0001" mass="80" name="walker.pedestrian.0001" pedestrianCategory="pedestrian"> <ParameterDeclarations/> <BoundingBox> <Center x="1.5" y="0.0" z="0.9"/> <Dimensions width="2" length="2" height="2"/> </BoundingBox> <Properties> <Property name="type" value="simulation"/> </Properties> </Pedestrian> </ScenarioObject> </Entities> <Storyboard> <Init> <Actions> <GlobalAction> <EnvironmentAction> <Environment name="Environment1"> <TimeOfDay animation="false" dateTime="2019-06-25T12:00:00"/> <Weather cloudState="free"> <Sun intensity="0.85" azimuth="0" elevation="1.31"/> <Fog visualRange="100000.0"/> <Precipitation precipitationType="dry" intensity="0.0"/> </Weather> <RoadCondition frictionScaleFactor="1.0"/> </Environment> </EnvironmentAction> </GlobalAction> <Private entityRef="hero"> <PrivateAction> <TeleportAction> <Position> <WorldPosition x="-9.4" y="-152.8" z="0.5" h="1.57079632679"/> </Position> </TeleportAction> </PrivateAction> <PrivateAction> <ControllerAction> <AssignControllerAction> <Controller name="HeroAgent"> <Properties> <Property name="module" value="external_control"/> </Properties> </Controller> </AssignControllerAction> <OverrideControllerValueAction> <Throttle value="0" active="false"/> <Brake value="0" active="false"/> <Clutch value="0" active="false"/> <ParkingBrake value="0" active="false"/> <SteeringWheel value="0" active="false"/> <Gear number="0" active="false"/> </OverrideControllerValueAction> </ControllerAction> </PrivateAction> </Private> <Private entityRef="adversary"> <PrivateAction> <TeleportAction> <Position> <WorldPosition x="-9.4" y="-71.0" z="0.5" h="1.57079632679"/> </Position> </TeleportAction> </PrivateAction> </Private> <Private entityRef="standing"> <PrivateAction> <TeleportAction> <Position> <WorldPosition x="-8.2" y="29.2" z="0.5" h="1.57079632679"/> </Position> </TeleportAction> </PrivateAction> </Private> <Private entityRef="pedestrian_close_to_adversary_12959"> <PrivateAction> <TeleportAction> <Position> <WorldPosition x="-5.924846172332764" y="-61.934814453125" z="0.033835068345069885"/> </Position> </TeleportAction> </PrivateAction> </Private> <Private entityRef="pedestrian_w_transform_12961"> <PrivateAction> <TeleportAction> <Position> <WorldPosition x="-32.66034698486328" y="21.73712921142578" z="0.5"/> </Position> </TeleportAction> </PrivateAction> </Private> <Private entityRef="pedestrian_w_transform_12963"> <PrivateAction> <TeleportAction> <Position> <WorldPosition x="33.71779251098633" y="-8.630088806152344" z="0.5"/> </Position> </TeleportAction> </PrivateAction> </Private> <Private entityRef="pedestrian_close_to_adversary_12964"> <PrivateAction> <TeleportAction> <Position> <WorldPosition x="-9.86190414428711" y="-62.2597770690918" z="0.03373783081769943"/> </Position> </TeleportAction> </PrivateAction> </Private> <Private entityRef="pedestrian_close_to_standing_12965"> <PrivateAction> <TeleportAction> <Position> <WorldPosition x="-12.396687507629395" y="34.91341018676758" z="0.003037414513528347"/> </Position> </TeleportAction> </PrivateAction> </Private> <Private entityRef="pedestrian_close_to_hero_12967"> <PrivateAction> <TeleportAction> <Position> <WorldPosition x="-7.0642900466918945" y="-156.7536163330078" z="0.0014286803780123591"/> </Position> </TeleportAction> </PrivateAction> </Private> <Private entityRef="pedestrian_close_to_hero_12968"> <PrivateAction> <TeleportAction> <Position> <WorldPosition x="-1.8460923433303833" y="-160.06394958496094" z="0.0014286803780123591"/> </Position> </TeleportAction> </PrivateAction> </Private> <Private entityRef="pedestrian_w_transform_12969"> <PrivateAction> <TeleportAction> <Position> <WorldPosition x="48.74761199951172" y="-62.62266159057617" z="0.5"/> </Position> </TeleportAction> </PrivateAction> </Private> <Private entityRef="pedestrian_close_to_adversary_12970"> <PrivateAction> <TeleportAction> <Position> <WorldPosition x="-5.804162502288818" y="-67.57154846191406" z="0.03383747115731239"/> </Position> </TeleportAction> </PrivateAction> </Private> <Private entityRef="pedestrian_close_to_adversary_12971"> <PrivateAction> <TeleportAction> <Position> <WorldPosition x="-15.048640251159668" y="-66.33726501464844" z="0.03384719789028168"/> </Position> </TeleportAction> </PrivateAction> </Private> <Private entityRef="pedestrian_close_to_standing_12972"> <PrivateAction> <TeleportAction> <Position> <WorldPosition x="1.0873785018920898" y="30.629074096679688" z="0.002939414931461215"/> </Position> </TeleportAction> </PrivateAction> </Private> <Private entityRef="pedestrian_w_transform_12973"> <PrivateAction> <TeleportAction> <Position> <WorldPosition x="-10.643603324890137" y="2.7197344303131104" z="0.5"/> </Position> </TeleportAction> </PrivateAction> </Private> <Private entityRef="pedestrian_w_transform_12974"> <PrivateAction> <TeleportAction> <Position> <WorldPosition x="59.284183502197266" y="74.39028930664062" z="0.5"/> </Position> </TeleportAction> </PrivateAction> </Private> </Actions> </Init> <Story name="MyStory"> <Act name="Behavior"> <ManeuverGroup maximumExecutionCount="1" name="ManeuverSequence"> <Actors selectTriggeringEntities="false"> <EntityRef entityRef="adversary"/> </Actors> <Maneuver name="LaneChangeSimpleManeuver"> <Event name="AdversaryAccelerates" priority="overwrite"> <Action name="AdversaryAccelerates"> <PrivateAction> <LongitudinalAction> <SpeedAction> <SpeedActionDynamics dynamicsShape="step" value="50" dynamicsDimension="distance"/> <SpeedActionTarget> <AbsoluteTargetSpeed value="5.0"/> </SpeedActionTarget> </SpeedAction> </LongitudinalAction> </PrivateAction> </Action> <StartTrigger> <ConditionGroup> <Condition name="StartCondition" delay="0" conditionEdge="rising"> <ByEntityCondition> <TriggeringEntities triggeringEntitiesRule="any"> <EntityRef entityRef="hero"/> </TriggeringEntities> <EntityCondition> <RelativeDistanceCondition entityRef="adversary" relativeDistanceType="cartesianDistance" value="40.0" freespace="false" rule="lessThan"/> </EntityCondition> </ByEntityCondition> </Condition> </ConditionGroup> </StartTrigger> </Event> <Event name="AdversaryChangesLane" priority="overwrite"> <Action name="AdversaryChangesLane"> <PrivateAction> <LateralAction> <LaneChangeAction> <LaneChangeActionDynamics dynamicsShape="linear" value="25" dynamicsDimension="distance"/> <LaneChangeTarget> <RelativeTargetLane entityRef="adversary" value="-1"/> </LaneChangeTarget> </LaneChangeAction> </LateralAction> </PrivateAction> </Action> <StartTrigger> <ConditionGroup> <Condition name="AfterAdversaryAccelerates" delay="0" conditionEdge="rising"> <ByValueCondition> <StoryboardElementStateCondition storyboardElementType="action" storyboardElementRef="AdversaryAccelerates" state="completeState"/> </ByValueCondition> </Condition> </ConditionGroup> </StartTrigger> </Event> </Maneuver> </ManeuverGroup> <StartTrigger> <ConditionGroup> <Condition name="OverallStartCondition" delay="0" conditionEdge="rising"> <ByEntityCondition> <TriggeringEntities triggeringEntitiesRule="any"> <EntityRef entityRef="hero"/> </TriggeringEntities> <EntityCondition> <TraveledDistanceCondition value="1.0"/> </EntityCondition> </ByEntityCondition> </Condition> <Condition name="StartTime" delay="0" conditionEdge="rising"> <ByValueCondition> <SimulationTimeCondition value="0" rule="equalTo"/> </ByValueCondition> </Condition> </ConditionGroup> </StartTrigger> <StopTrigger> <ConditionGroup> <Condition name="EndCondition" delay="0" conditionEdge="rising"> <ByEntityCondition> <TriggeringEntities triggeringEntitiesRule="any"> <EntityRef entityRef="hero"/> </TriggeringEntities> <EntityCondition> <TraveledDistanceCondition value="200.0"/> </EntityCondition> </ByEntityCondition> </Condition> </ConditionGroup> </StopTrigger> </Act> </Story> <StopTrigger> <ConditionGroup> <Condition name="criteria_RunningStopTest" delay="0" conditionEdge="rising"> <ByValueCondition> <ParameterCondition parameterRef="" value="" rule="lessThan"/> </ByValueCondition> </Condition> <Condition name="criteria_RunningRedLightTest" delay="0" conditionEdge="rising"> <ByValueCondition> <ParameterCondition parameterRef="" value="" rule="lessThan"/> </ByValueCondition> </Condition> <Condition name="criteria_WrongLaneTest" delay="0" conditionEdge="rising"> <ByValueCondition> <ParameterCondition parameterRef="" value="" rule="lessThan"/> </ByValueCondition> </Condition> <Condition name="criteria_OnSidewalkTest" delay="0" conditionEdge="rising"> <ByValueCondition> <ParameterCondition parameterRef="" value="" rule="lessThan"/> </ByValueCondition> </Condition> <Condition name="criteria_KeepLaneTest" delay="0" conditionEdge="rising"> <ByValueCondition> <ParameterCondition parameterRef="" value="" rule="lessThan"/> </ByValueCondition> </Condition> <Condition name="criteria_CollisionTest" delay="0" conditionEdge="rising"> <ByValueCondition> <ParameterCondition parameterRef="" value="" rule="lessThan"/> </ByValueCondition> </Condition> <Condition name="criteria_DrivenDistanceTest" delay="0" conditionEdge="rising"> <ByValueCondition> <ParameterCondition parameterRef="distance_success" value="100" rule="lessThan"/> </ByValueCondition> </Condition> </ConditionGroup> </StopTrigger> </Storyboard> </OpenSCENARIO> ```
Here is the result: ``` <?xml version="1.0" ?> <OpenSCENARIO> <FileHeader revMajor="1" revMinor="0" date="2020-03-24T12:00:00" description="CARLA:LaneChangeSimple" author=""/> <ParameterDeclarations/> <CatalogLocations/> <RoadNetwork> <LogicFile filepath="Town04"/> <SceneGraphFile filepath=""/> </RoadNetwork> <Entities> <ScenarioObject name="hero"> <Vehicle name="vehicle.tesla.model3" vehicleCategory="car"> <ParameterDeclarations/> <Performance maxSpeed="69.444" maxAcceleration="200" maxDeceleration="10.0"/> <BoundingBox> <Center x="1.5" y="0.0" z="0.9"/> <Dimensions width="2.1" length="4.5" height="1.8"/> </BoundingBox> <Axles> <FrontAxle maxSteering="0.5" wheelDiameter="0.6" trackWidth="1.8" positionX="3.1" positionZ="0.3"/> <RearAxle maxSteering="0.0" wheelDiameter="0.6" trackWidth="1.8" positionX="0.0" positionZ="0.3"/> </Axles> <Properties> <Property name="type" value="ego_vehicle"/> </Properties> </Vehicle> </ScenarioObject> <ScenarioObject name="adversary"> <Vehicle name="vehicle.lincoln.mkz_2017" vehicleCategory="car"> <ParameterDeclarations/> <Performance maxSpeed="69.444" maxAcceleration="200" maxDeceleration="10.0"/> <BoundingBox> <Center x="1.5" y="0.0" z="0.9"/> <Dimensions width="2.1" length="4.5" height="1.8"/> </BoundingBox> <Axles> <FrontAxle maxSteering="0.5" wheelDiameter="0.6" trackWidth="1.8" positionX="3.1" positionZ="0.3"/> <RearAxle maxSteering="0.0" wheelDiameter="0.6" trackWidth="1.8" positionX="0.0" positionZ="0.3"/> </Axles> <Properties> <Property name="type" value="simulation"/> </Properties> </Vehicle> </ScenarioObject> <ScenarioObject name="standing"> <Vehicle name="vehicle.volkswagen.t2" vehicleCategory="car"> <ParameterDeclarations/> <Performance maxSpeed="69.444" maxAcceleration="200" maxDeceleration="10.0"/> <BoundingBox> <Center x="1.5" y="0.0" z="0.9"/> <Dimensions width="2.1" length="4.5" height="1.8"/> </BoundingBox> <Axles> <FrontAxle maxSteering="0.5" wheelDiameter="0.6" trackWidth="1.8" positionX="3.1" positionZ="0.3"/> <RearAxle maxSteering="0.0" wheelDiameter="0.6" trackWidth="1.8" positionX="0.0" positionZ="0.3"/> </Axles> <Properties> <Property name="type" value="simulation"/> </Properties> </Vehicle> </ScenarioObject> <ScenarioObject name="pedestrian_close_to_adversary_12959"> <Pedestrian model="walker.pedestrian.0001" mass="80" name="walker.pedestrian.0001" pedestrianCategory="pedestrian"> <ParameterDeclarations/> <BoundingBox> <Center x="1.5" y="0.0" z="0.9"/> <Dimensions width="2" length="2" height="2"/> </BoundingBox> <Properties> <Property name="type" value="simulation"/> </Properties> </Pedestrian> </ScenarioObject> <ScenarioObject name="pedestrian_w_transform_12961"> <Pedestrian model="walker.pedestrian.0001" mass="80" name="walker.pedestrian.0001" pedestrianCategory="pedestrian"> <ParameterDeclarations/> <BoundingBox> <Center x="1.5" y="0.0" z="0.9"/> <Dimensions width="2" length="2" height="2"/> </BoundingBox> <Properties> <Property name="type" value="simulation"/> </Properties> </Pedestrian> </ScenarioObject> <ScenarioObject name="pedestrian_w_transform_12963"> <Pedestrian model="walker.pedestrian.0001" mass="80" name="walker.pedestrian.0001" pedestrianCategory="pedestrian"> <ParameterDeclarations/> <BoundingBox> <Center x="1.5" y="0.0" z="0.9"/> <Dimensions width="2" length="2" height="2"/> </BoundingBox> <Properties> <Property name="type" value="simulation"/> </Properties> </Pedestrian> </ScenarioObject> <ScenarioObject name="pedestrian_close_to_adversary_12964"> <Pedestrian model="walker.pedestrian.0001" mass="80" name="walker.pedestrian.0001" pedestrianCategory="pedestrian"> <ParameterDeclarations/> <BoundingBox> <Center x="1.5" y="0.0" z="0.9"/> <Dimensions width="2" length="2" height="2"/> </BoundingBox> <Properties> <Property name="type" value="simulation"/> </Properties> </Pedestrian> </ScenarioObject> <ScenarioObject name="pedestrian_close_to_standing_12965"> <Pedestrian model="walker.pedestrian.0001" mass="80" name="walker.pedestrian.0001" pedestrianCategory="pedestrian"> <ParameterDeclarations/> <BoundingBox> <Center x="1.5" y="0.0" z="0.9"/> <Dimensions width="2" length="2" height="2"/> </BoundingBox> <Properties> <Property name="type" value="simulation"/> </Properties> </Pedestrian> </ScenarioObject> <ScenarioObject name="pedestrian_close_to_hero_12967"> <Pedestrian model="walker.pedestrian.0001" mass="80" name="walker.pedestrian.0001" pedestrianCategory="pedestrian"> <ParameterDeclarations/> <BoundingBox> <Center x="1.5" y="0.0" z="0.9"/> <Dimensions width="2" length="2" height="2"/> </BoundingBox> <Properties> <Property name="type" value="simulation"/> </Properties> </Pedestrian> </ScenarioObject> <ScenarioObject name="pedestrian_close_to_hero_12968"> <Pedestrian model="walker.pedestrian.0001" mass="80" name="walker.pedestrian.0001" pedestrianCategory="pedestrian"> <ParameterDeclarations/> <BoundingBox> <Center x="1.5" y="0.0" z="0.9"/> <Dimensions width="2" length="2" height="2"/> </BoundingBox> <Properties> <Property name="type" value="simulation"/> </Properties> </Pedestrian> </ScenarioObject> <ScenarioObject name="pedestrian_w_transform_12969"> <Pedestrian model="walker.pedestrian.0001" mass="80" name="walker.pedestrian.0001" pedestrianCategory="pedestrian"> <ParameterDeclarations/> <BoundingBox> <Center x="1.5" y="0.0" z="0.9"/> <Dimensions width="2" length="2" height="2"/> </BoundingBox> <Properties> <Property name="type" value="simulation"/> </Properties> </Pedestrian> </ScenarioObject> <ScenarioObject name="pedestrian_close_to_adversary_12970"> <Pedestrian model="walker.pedestrian.0001" mass="80" name="walker.pedestrian.0001" pedestrianCategory="pedestrian"> <ParameterDeclarations/> <BoundingBox> <Center x="1.5" y="0.0" z="0.9"/> <Dimensions width="2" length="2" height="2"/> </BoundingBox> <Properties> <Property name="type" value="simulation"/> </Properties> </Pedestrian> </ScenarioObject> <ScenarioObject name="pedestrian_close_to_adversary_12971"> <Pedestrian model="walker.pedestrian.0001" mass="80" name="walker.pedestrian.0001" pedestrianCategory="pedestrian"> <ParameterDeclarations/> <BoundingBox> <Center x="1.5" y="0.0" z="0.9"/> <Dimensions width="2" length="2" height="2"/> </BoundingBox> <Properties> <Property name="type" value="simulation"/> </Properties> </Pedestrian> </ScenarioObject> <ScenarioObject name="pedestrian_close_to_standing_12972"> <Pedestrian model="walker.pedestrian.0001" mass="80" name="walker.pedestrian.0001" pedestrianCategory="pedestrian"> <ParameterDeclarations/> <BoundingBox> <Center x="1.5" y="0.0" z="0.9"/> <Dimensions width="2" length="2" height="2"/> </BoundingBox> <Properties> <Property name="type" value="simulation"/> </Properties> </Pedestrian> </ScenarioObject> <ScenarioObject name="pedestrian_w_transform_12973"> <Pedestrian model="walker.pedestrian.0001" mass="80" name="walker.pedestrian.0001" pedestrianCategory="pedestrian"> <ParameterDeclarations/> <BoundingBox> <Center x="1.5" y="0.0" z="0.9"/> <Dimensions width="2" length="2" height="2"/> </BoundingBox> <Properties> <Property name="type" value="simulation"/> </Properties> </Pedestrian> </ScenarioObject> <ScenarioObject name="pedestrian_w_transform_12974"> <Pedestrian model="walker.pedestrian.0001" mass="80" name="walker.pedestrian.0001" pedestrianCategory="pedestrian"> <ParameterDeclarations/> <BoundingBox> <Center x="1.5" y="0.0" z="0.9"/> <Dimensions width="2" length="2" height="2"/> </BoundingBox> <Properties> <Property name="type" value="simulation"/> </Properties> </Pedestrian> </ScenarioObject> <ScenarioObject name="pedestrian_w_transform_12976"> <Pedestrian model="walker.pedestrian.0001" mass="80" name="walker.pedestrian.0001" pedestrianCategory="pedestrian"> <ParameterDeclarations/> <BoundingBox> <Center x="1.5" y="0.0" z="0.9"/> <Dimensions width="2" length="2" height="2"/> </BoundingBox> <Properties> <Property name="type" value="simulation"/> </Properties> </Pedestrian> </ScenarioObject> </Entities> <Storyboard> <Init> <Actions> <GlobalAction> <EnvironmentAction> <Environment name="Environment1"> <TimeOfDay animation="false" dateTime="2019-06-25T12:00:00"/> <Weather cloudState="free"> <Sun intensity="0.85" azimuth="0" elevation="1.31"/> <Fog visualRange="100000.0"/> <Precipitation precipitationType="dry" intensity="0.0"/> </Weather> <RoadCondition frictionScaleFactor="1.0"/> </Environment> </EnvironmentAction> </GlobalAction> <Private entityRef="hero"> <PrivateAction> <TeleportAction> <Position> <WorldPosition x="-9.4" y="-152.8" z="0.5" h="1.57079632679"/> </Position> </TeleportAction> </PrivateAction> <PrivateAction> <ControllerAction> <AssignControllerAction> <Controller name="HeroAgent"> <Properties> <Property name="module" value="external_control"/> </Properties> </Controller> </AssignControllerAction> <OverrideControllerValueAction> <Throttle value="0" active="false"/> <Brake value="0" active="false"/> <Clutch value="0" active="false"/> <ParkingBrake value="0" active="false"/> <SteeringWheel value="0" active="false"/> <Gear number="0" active="false"/> </OverrideControllerValueAction> </ControllerAction> </PrivateAction> </Private> <Private entityRef="adversary"> <PrivateAction> <TeleportAction> <Position> <WorldPosition x="-9.4" y="-71.0" z="0.5" h="1.57079632679"/> </Position> </TeleportAction> </PrivateAction> </Private> <Private entityRef="standing"> <PrivateAction> <TeleportAction> <Position> <WorldPosition x="-8.2" y="29.2" z="0.5" h="1.57079632679"/> </Position> </TeleportAction> </PrivateAction> </Private> <Private entityRef="pedestrian_close_to_adversary_12959"> <PrivateAction> <TeleportAction> <Position> <WorldPosition x="-5.924846172332764" y="-61.934814453125" z="0.033835068345069885"/> </Position> </TeleportAction> </PrivateAction> </Private> <Private entityRef="pedestrian_w_transform_12961"> <PrivateAction> <TeleportAction> <Position> <WorldPosition x="-32.66034698486328" y="21.73712921142578" z="0.5"/> </Position> </TeleportAction> </PrivateAction> </Private> <Private entityRef="pedestrian_w_transform_12963"> <PrivateAction> <TeleportAction> <Position> <WorldPosition x="33.71779251098633" y="-8.630088806152344" z="0.5"/> </Position> </TeleportAction> </PrivateAction> </Private> <Private entityRef="pedestrian_close_to_adversary_12964"> <PrivateAction> <TeleportAction> <Position> <WorldPosition x="-9.86190414428711" y="-62.2597770690918" z="0.03373783081769943"/> </Position> </TeleportAction> </PrivateAction> </Private> <Private entityRef="pedestrian_close_to_standing_12965"> <PrivateAction> <TeleportAction> <Position> <WorldPosition x="-12.396687507629395" y="34.91341018676758" z="0.003037414513528347"/> </Position> </TeleportAction> </PrivateAction> </Private> <Private entityRef="pedestrian_close_to_hero_12967"> <PrivateAction> <TeleportAction> <Position> <WorldPosition x="-7.0642900466918945" y="-156.7536163330078" z="0.0014286803780123591"/> </Position> </TeleportAction> </PrivateAction> </Private> <Private entityRef="pedestrian_close_to_hero_12968"> <PrivateAction> <TeleportAction> <Position> <WorldPosition x="-1.8460923433303833" y="-160.06394958496094" z="0.0014286803780123591"/> </Position> </TeleportAction> </PrivateAction> </Private> <Private entityRef="pedestrian_w_transform_12969"> <PrivateAction> <TeleportAction> <Position> <WorldPosition x="48.74761199951172" y="-62.62266159057617" z="0.5"/> </Position> </TeleportAction> </PrivateAction> </Private> <Private entityRef="pedestrian_close_to_adversary_12970"> <PrivateAction> <TeleportAction> <Position> <WorldPosition x="-5.804162502288818" y="-67.57154846191406" z="0.03383747115731239"/> </Position> </TeleportAction> </PrivateAction> </Private> <Private entityRef="pedestrian_close_to_adversary_12971"> <PrivateAction> <TeleportAction> <Position> <WorldPosition x="-15.048640251159668" y="-66.33726501464844" z="0.03384719789028168"/> </Position> </TeleportAction> </PrivateAction> </Private> <Private entityRef="pedestrian_close_to_standing_12972"> <PrivateAction> <TeleportAction> <Position> <WorldPosition x="1.0873785018920898" y="30.629074096679688" z="0.002939414931461215"/> </Position> </TeleportAction> </PrivateAction> </Private> <Private entityRef="pedestrian_w_transform_12973"> <PrivateAction> <TeleportAction> <Position> <WorldPosition x="-10.643603324890137" y="2.7197344303131104" z="0.5"/> </Position> </TeleportAction> </PrivateAction> </Private> <Private entityRef="pedestrian_w_transform_12974"> <PrivateAction> <TeleportAction> <Position> <WorldPosition x="59.284183502197266" y="74.39028930664062" z="0.5"/> </Position> </TeleportAction> </PrivateAction> </Private> <Private entityRef="pedestrian_w_transform_12976"> <PrivateAction> <TeleportAction> <Position> <WorldPosition x="92.725341796875" y="-46.33210754394531" z="0.5"/> </Position> </TeleportAction> </PrivateAction> </Private> </Actions> </Init> <Story name="MyStory"> <Act name="Behavior"> <ManeuverGroup maximumExecutionCount="1" name="ManeuverSequence"> <Actors selectTriggeringEntities="false"> <EntityRef entityRef="adversary"/> </Actors> <Maneuver name="LaneChangeSimpleManeuver"> <Event name="AdversaryAccelerates" priority="overwrite"> <Action name="AdversaryAccelerates"> <PrivateAction> <LongitudinalAction> <SpeedAction> <SpeedActionDynamics dynamicsShape="step" value="50" dynamicsDimension="distance"/> <SpeedActionTarget> <AbsoluteTargetSpeed value="5.0"/> </SpeedActionTarget> </SpeedAction> </LongitudinalAction> </PrivateAction> </Action> <StartTrigger> <ConditionGroup> <Condition name="StartCondition" delay="0" conditionEdge="rising"> <ByEntityCondition> <TriggeringEntities triggeringEntitiesRule="any"> <EntityRef entityRef="hero"/> </TriggeringEntities> <EntityCondition> <RelativeDistanceCondition entityRef="adversary" relativeDistanceType="cartesianDistance" value="40.0" freespace="false" rule="lessThan"/> </EntityCondition> </ByEntityCondition> </Condition> </ConditionGroup> </StartTrigger> </Event> <Event name="AdversaryChangesLane" priority="overwrite"> <Action name="AdversaryChangesLane"> <PrivateAction> <LateralAction> <LaneChangeAction> <LaneChangeActionDynamics dynamicsShape="linear" value="25" dynamicsDimension="distance"/> <LaneChangeTarget> <RelativeTargetLane entityRef="adversary" value="-1"/> </LaneChangeTarget> </LaneChangeAction> </LateralAction> </PrivateAction> </Action> <StartTrigger> <ConditionGroup> <Condition name="AfterAdversaryAccelerates" delay="0" conditionEdge="rising"> <ByValueCondition> <StoryboardElementStateCondition storyboardElementType="action" storyboardElementRef="AdversaryAccelerates" state="completeState"/> </ByValueCondition> </Condition> </ConditionGroup> </StartTrigger> </Event> </Maneuver> </ManeuverGroup> <StartTrigger> <ConditionGroup> <Condition name="OverallStartCondition" delay="0" conditionEdge="rising"> <ByEntityCondition> <TriggeringEntities triggeringEntitiesRule="any"> <EntityRef entityRef="hero"/> </TriggeringEntities> <EntityCondition> <TraveledDistanceCondition value="1.0"/> </EntityCondition> </ByEntityCondition> </Condition> <Condition name="StartTime" delay="0" conditionEdge="rising"> <ByValueCondition> <SimulationTimeCondition value="0" rule="equalTo"/> </ByValueCondition> </Condition> </ConditionGroup> </StartTrigger> <StopTrigger> <ConditionGroup> <Condition name="EndCondition" delay="0" conditionEdge="rising"> <ByEntityCondition> <TriggeringEntities triggeringEntitiesRule="any"> <EntityRef entityRef="hero"/> </TriggeringEntities> <EntityCondition> <TraveledDistanceCondition value="200.0"/> </EntityCondition> </ByEntityCondition> </Condition> </ConditionGroup> </StopTrigger> </Act> </Story> <StopTrigger> <ConditionGroup> <Condition name="criteria_RunningStopTest" delay="0" conditionEdge="rising"> <ByValueCondition> <ParameterCondition parameterRef="" value="" rule="lessThan"/> </ByValueCondition> </Condition> <Condition name="criteria_RunningRedLightTest" delay="0" conditionEdge="rising"> <ByValueCondition> <ParameterCondition parameterRef="" value="" rule="lessThan"/> </ByValueCondition> </Condition> <Condition name="criteria_WrongLaneTest" delay="0" conditionEdge="rising"> <ByValueCondition> <ParameterCondition parameterRef="" value="" rule="lessThan"/> </ByValueCondition> </Condition> <Condition name="criteria_OnSidewalkTest" delay="0" conditionEdge="rising"> <ByValueCondition> <ParameterCondition parameterRef="" value="" rule="lessThan"/> </ByValueCondition> </Condition> <Condition name="criteria_KeepLaneTest" delay="0" conditionEdge="rising"> <ByValueCondition> <ParameterCondition parameterRef="" value="" rule="lessThan"/> </ByValueCondition> </Condition> <Condition name="criteria_CollisionTest" delay="0" conditionEdge="rising"> <ByValueCondition> <ParameterCondition parameterRef="" value="" rule="lessThan"/> </ByValueCondition> </Condition> <Condition name="criteria_DrivenDistanceTest" delay="0" conditionEdge="rising"> <ByValueCondition> <ParameterCondition parameterRef="distance_success" value="100" rule="lessThan"/> </ByValueCondition> </Condition> </ConditionGroup> </StopTrigger> </Storyboard> </OpenSCENARIO> ```
add pedestrian at location (26.72, 53.87, 0.5)? ``` <?xml version="1.0" ?> <OpenSCENARIO> <FileHeader revMajor="1" revMinor="0" date="2020-03-24T12:00:00" description="CARLA:LaneChangeSimple" author=""/> <ParameterDeclarations/> <CatalogLocations/> <RoadNetwork> <LogicFile filepath="Town04"/> <SceneGraphFile filepath=""/> </RoadNetwork> <Entities> <ScenarioObject name="hero"> <Vehicle name="vehicle.tesla.model3" vehicleCategory="car"> <ParameterDeclarations/> <Performance maxSpeed="69.444" maxAcceleration="200" maxDeceleration="10.0"/> <BoundingBox> <Center x="1.5" y="0.0" z="0.9"/> <Dimensions width="2.1" length="4.5" height="1.8"/> </BoundingBox> <Axles> <FrontAxle maxSteering="0.5" wheelDiameter="0.6" trackWidth="1.8" positionX="3.1" positionZ="0.3"/> <RearAxle maxSteering="0.0" wheelDiameter="0.6" trackWidth="1.8" positionX="0.0" positionZ="0.3"/> </Axles> <Properties> <Property name="type" value="ego_vehicle"/> </Properties> </Vehicle> </ScenarioObject> <ScenarioObject name="adversary"> <Vehicle name="vehicle.lincoln.mkz_2017" vehicleCategory="car"> <ParameterDeclarations/> <Performance maxSpeed="69.444" maxAcceleration="200" maxDeceleration="10.0"/> <BoundingBox> <Center x="1.5" y="0.0" z="0.9"/> <Dimensions width="2.1" length="4.5" height="1.8"/> </BoundingBox> <Axles> <FrontAxle maxSteering="0.5" wheelDiameter="0.6" trackWidth="1.8" positionX="3.1" positionZ="0.3"/> <RearAxle maxSteering="0.0" wheelDiameter="0.6" trackWidth="1.8" positionX="0.0" positionZ="0.3"/> </Axles> <Properties> <Property name="type" value="simulation"/> </Properties> </Vehicle> </ScenarioObject> <ScenarioObject name="standing"> <Vehicle name="vehicle.volkswagen.t2" vehicleCategory="car"> <ParameterDeclarations/> <Performance maxSpeed="69.444" maxAcceleration="200" maxDeceleration="10.0"/> <BoundingBox> <Center x="1.5" y="0.0" z="0.9"/> <Dimensions width="2.1" length="4.5" height="1.8"/> </BoundingBox> <Axles> <FrontAxle maxSteering="0.5" wheelDiameter="0.6" trackWidth="1.8" positionX="3.1" positionZ="0.3"/> <RearAxle maxSteering="0.0" wheelDiameter="0.6" trackWidth="1.8" positionX="0.0" positionZ="0.3"/> </Axles> <Properties> <Property name="type" value="simulation"/> </Properties> </Vehicle> </ScenarioObject> <ScenarioObject name="pedestrian_close_to_adversary_22929"> <Pedestrian model="walker.pedestrian.0001" mass="80" name="walker.pedestrian.0001" pedestrianCategory="pedestrian"> <ParameterDeclarations/> <BoundingBox> <Center x="1.5" y="0.0" z="0.9"/> <Dimensions width="2" length="2" height="2"/> </BoundingBox> <Properties> <Property name="type" value="simulation"/> </Properties> </Pedestrian> </ScenarioObject> <ScenarioObject name="pedestrian_w_transform_22930"> <Pedestrian model="walker.pedestrian.0001" mass="80" name="walker.pedestrian.0001" pedestrianCategory="pedestrian"> <ParameterDeclarations/> <BoundingBox> <Center x="1.5" y="0.0" z="0.9"/> <Dimensions width="2" length="2" height="2"/> </BoundingBox> <Properties> <Property name="type" value="simulation"/> </Properties> </Pedestrian> </ScenarioObject> <ScenarioObject name="pedestrian_w_transform_22931"> <Pedestrian model="walker.pedestrian.0001" mass="80" name="walker.pedestrian.0001" pedestrianCategory="pedestrian"> <ParameterDeclarations/> <BoundingBox> <Center x="1.5" y="0.0" z="0.9"/> <Dimensions width="2" length="2" height="2"/> </BoundingBox> <Properties> <Property name="type" value="simulation"/> </Properties> </Pedestrian> </ScenarioObject> <ScenarioObject name="pedestrian_close_to_hero_22932"> <Pedestrian model="walker.pedestrian.0001" mass="80" name="walker.pedestrian.0001" pedestrianCategory="pedestrian"> <ParameterDeclarations/> <BoundingBox> <Center x="1.5" y="0.0" z="0.9"/> <Dimensions width="2" length="2" height="2"/> </BoundingBox> <Properties> <Property name="type" value="simulation"/> </Properties> </Pedestrian> </ScenarioObject> <ScenarioObject name="pedestrian_close_to_hero_22933"> <Pedestrian model="walker.pedestrian.0001" mass="80" name="walker.pedestrian.0001" pedestrianCategory="pedestrian"> <ParameterDeclarations/> <BoundingBox> <Center x="1.5" y="0.0" z="0.9"/> <Dimensions width="2" length="2" height="2"/> </BoundingBox> <Properties> <Property name="type" value="simulation"/> </Properties> </Pedestrian> </ScenarioObject> <ScenarioObject name="pedestrian_w_transform_22934"> <Pedestrian model="walker.pedestrian.0001" mass="80" name="walker.pedestrian.0001" pedestrianCategory="pedestrian"> <ParameterDeclarations/> <BoundingBox> <Center x="1.5" y="0.0" z="0.9"/> <Dimensions width="2" length="2" height="2"/> </BoundingBox> <Properties> <Property name="type" value="simulation"/> </Properties> </Pedestrian> </ScenarioObject> <ScenarioObject name="pedestrian_w_transform_22935"> <Pedestrian model="walker.pedestrian.0001" mass="80" name="walker.pedestrian.0001" pedestrianCategory="pedestrian"> <ParameterDeclarations/> <BoundingBox> <Center x="1.5" y="0.0" z="0.9"/> <Dimensions width="2" length="2" height="2"/> </BoundingBox> <Properties> <Property name="type" value="simulation"/> </Properties> </Pedestrian> </ScenarioObject> <ScenarioObject name="pedestrian_w_transform_22936"> <Pedestrian model="walker.pedestrian.0001" mass="80" name="walker.pedestrian.0001" pedestrianCategory="pedestrian"> <ParameterDeclarations/> <BoundingBox> <Center x="1.5" y="0.0" z="0.9"/> <Dimensions width="2" length="2" height="2"/> </BoundingBox> <Properties> <Property name="type" value="simulation"/> </Properties> </Pedestrian> </ScenarioObject> <ScenarioObject name="pedestrian_close_to_adversary_22937"> <Pedestrian model="walker.pedestrian.0001" mass="80" name="walker.pedestrian.0001" pedestrianCategory="pedestrian"> <ParameterDeclarations/> <BoundingBox> <Center x="1.5" y="0.0" z="0.9"/> <Dimensions width="2" length="2" height="2"/> </BoundingBox> <Properties> <Property name="type" value="simulation"/> </Properties> </Pedestrian> </ScenarioObject> <ScenarioObject name="pedestrian_close_to_adversary_22938"> <Pedestrian model="walker.pedestrian.0001" mass="80" name="walker.pedestrian.0001" pedestrianCategory="pedestrian"> <ParameterDeclarations/> <BoundingBox> <Center x="1.5" y="0.0" z="0.9"/> <Dimensions width="2" length="2" height="2"/> </BoundingBox> <Properties> <Property name="type" value="simulation"/> </Properties> </Pedestrian> </ScenarioObject> <ScenarioObject name="pedestrian_w_transform_22939"> <Pedestrian model="walker.pedestrian.0001" mass="80" name="walker.pedestrian.0001" pedestrianCategory="pedestrian"> <ParameterDeclarations/> <BoundingBox> <Center x="1.5" y="0.0" z="0.9"/> <Dimensions width="2" length="2" height="2"/> </BoundingBox> <Properties> <Property name="type" value="simulation"/> </Properties> </Pedestrian> </ScenarioObject> <ScenarioObject name="pedestrian_w_transform_22940"> <Pedestrian model="walker.pedestrian.0001" mass="80" name="walker.pedestrian.0001" pedestrianCategory="pedestrian"> <ParameterDeclarations/> <BoundingBox> <Center x="1.5" y="0.0" z="0.9"/> <Dimensions width="2" length="2" height="2"/> </BoundingBox> <Properties> <Property name="type" value="simulation"/> </Properties> </Pedestrian> </ScenarioObject> <ScenarioObject name="pedestrian_close_to_adversary_22941"> <Pedestrian model="walker.pedestrian.0001" mass="80" name="walker.pedestrian.0001" pedestrianCategory="pedestrian"> <ParameterDeclarations/> <BoundingBox> <Center x="1.5" y="0.0" z="0.9"/> <Dimensions width="2" length="2" height="2"/> </BoundingBox> <Properties> <Property name="type" value="simulation"/> </Properties> </Pedestrian> </ScenarioObject> <ScenarioObject name="pedestrian_w_transform_22942"> <Pedestrian model="walker.pedestrian.0001" mass="80" name="walker.pedestrian.0001" pedestrianCategory="pedestrian"> <ParameterDeclarations/> <BoundingBox> <Center x="1.5" y="0.0" z="0.9"/> <Dimensions width="2" length="2" height="2"/> </BoundingBox> <Properties> <Property name="type" value="simulation"/> </Properties> </Pedestrian> </ScenarioObject> <ScenarioObject name="pedestrian_close_to_hero_22943"> <Pedestrian model="walker.pedestrian.0001" mass="80" name="walker.pedestrian.0001" pedestrianCategory="pedestrian"> <ParameterDeclarations/> <BoundingBox> <Center x="1.5" y="0.0" z="0.9"/> <Dimensions width="2" length="2" height="2"/> </BoundingBox> <Properties> <Property name="type" value="simulation"/> </Properties> </Pedestrian> </ScenarioObject> <ScenarioObject name="pedestrian_w_transform_22944"> <Pedestrian model="walker.pedestrian.0001" mass="80" name="walker.pedestrian.0001" pedestrianCategory="pedestrian"> <ParameterDeclarations/> <BoundingBox> <Center x="1.5" y="0.0" z="0.9"/> <Dimensions width="2" length="2" height="2"/> </BoundingBox> <Properties> <Property name="type" value="simulation"/> </Properties> </Pedestrian> </ScenarioObject> <ScenarioObject name="pedestrian_close_to_standing_22945"> <Pedestrian model="walker.pedestrian.0001" mass="80" name="walker.pedestrian.0001" pedestrianCategory="pedestrian"> <ParameterDeclarations/> <BoundingBox> <Center x="1.5" y="0.0" z="0.9"/> <Dimensions width="2" length="2" height="2"/> </BoundingBox> <Properties> <Property name="type" value="simulation"/> </Properties> </Pedestrian> </ScenarioObject> <ScenarioObject name="pedestrian_w_transform_22946"> <Pedestrian model="walker.pedestrian.0001" mass="80" name="walker.pedestrian.0001" pedestrianCategory="pedestrian"> <ParameterDeclarations/> <BoundingBox> <Center x="1.5" y="0.0" z="0.9"/> <Dimensions width="2" length="2" height="2"/> </BoundingBox> <Properties> <Property name="type" value="simulation"/> </Properties> </Pedestrian> </ScenarioObject> <ScenarioObject name="pedestrian_w_transform_22947"> <Pedestrian model="walker.pedestrian.0001" mass="80" name="walker.pedestrian.0001" pedestrianCategory="pedestrian"> <ParameterDeclarations/> <BoundingBox> <Center x="1.5" y="0.0" z="0.9"/> <Dimensions width="2" length="2" height="2"/> </BoundingBox> <Properties> <Property name="type" value="simulation"/> </Properties> </Pedestrian> </ScenarioObject> <ScenarioObject name="pedestrian_close_to_hero_22948"> <Pedestrian model="walker.pedestrian.0001" mass="80" name="walker.pedestrian.0001" pedestrianCategory="pedestrian"> <ParameterDeclarations/> <BoundingBox> <Center x="1.5" y="0.0" z="0.9"/> <Dimensions width="2" length="2" height="2"/> </BoundingBox> <Properties> <Property name="type" value="simulation"/> </Properties> </Pedestrian> </ScenarioObject> <ScenarioObject name="pedestrian_w_transform_22949"> <Pedestrian model="walker.pedestrian.0001" mass="80" name="walker.pedestrian.0001" pedestrianCategory="pedestrian"> <ParameterDeclarations/> <BoundingBox> <Center x="1.5" y="0.0" z="0.9"/> <Dimensions width="2" length="2" height="2"/> </BoundingBox> <Properties> <Property name="type" value="simulation"/> </Properties> </Pedestrian> </ScenarioObject> <ScenarioObject name="pedestrian_close_to_standing_22950"> <Pedestrian model="walker.pedestrian.0001" mass="80" name="walker.pedestrian.0001" pedestrianCategory="pedestrian"> <ParameterDeclarations/> <BoundingBox> <Center x="1.5" y="0.0" z="0.9"/> <Dimensions width="2" length="2" height="2"/> </BoundingBox> <Properties> <Property name="type" value="simulation"/> </Properties> </Pedestrian> </ScenarioObject> <ScenarioObject name="pedestrian_w_transform_22951"> <Pedestrian model="walker.pedestrian.0001" mass="80" name="walker.pedestrian.0001" pedestrianCategory="pedestrian"> <ParameterDeclarations/> <BoundingBox> <Center x="1.5" y="0.0" z="0.9"/> <Dimensions width="2" length="2" height="2"/> </BoundingBox> <Properties> <Property name="type" value="simulation"/> </Properties> </Pedestrian> </ScenarioObject> <ScenarioObject name="pedestrian_w_transform_22952"> <Pedestrian model="walker.pedestrian.0001" mass="80" name="walker.pedestrian.0001" pedestrianCategory="pedestrian"> <ParameterDeclarations/> <BoundingBox> <Center x="1.5" y="0.0" z="0.9"/> <Dimensions width="2" length="2" height="2"/> </BoundingBox> <Properties> <Property name="type" value="simulation"/> </Properties> </Pedestrian> </ScenarioObject> <ScenarioObject name="pedestrian_w_transform_22953"> <Pedestrian model="walker.pedestrian.0001" mass="80" name="walker.pedestrian.0001" pedestrianCategory="pedestrian"> <ParameterDeclarations/> <BoundingBox> <Center x="1.5" y="0.0" z="0.9"/> <Dimensions width="2" length="2" height="2"/> </BoundingBox> <Properties> <Property name="type" value="simulation"/> </Properties> </Pedestrian> </ScenarioObject> </Entities> <Storyboard> <Init> <Actions> <GlobalAction> <EnvironmentAction> <Environment name="Environment1"> <TimeOfDay animation="false" dateTime="2019-06-25T12:00:00"/> <Weather cloudState="free"> <Sun intensity="0.85" azimuth="0" elevation="1.31"/> <Fog visualRange="100000.0"/> <Precipitation precipitationType="dry" intensity="0.0"/> </Weather> <RoadCondition frictionScaleFactor="1.0"/> </Environment> </EnvironmentAction> </GlobalAction> <Private entityRef="hero"> <PrivateAction> <TeleportAction> <Position> <WorldPosition x="-9.4" y="-152.8" z="0.5" h="1.57079632679"/> </Position> </TeleportAction> </PrivateAction> <PrivateAction> <ControllerAction> <AssignControllerAction> <Controller name="HeroAgent"> <Properties> <Property name="module" value="external_control"/> </Properties> </Controller> </AssignControllerAction> <OverrideControllerValueAction> <Throttle value="0" active="false"/> <Brake value="0" active="false"/> <Clutch value="0" active="false"/> <ParkingBrake value="0" active="false"/> <SteeringWheel value="0" active="false"/> <Gear number="0" active="false"/> </OverrideControllerValueAction> </ControllerAction> </PrivateAction> </Private> <Private entityRef="adversary"> <PrivateAction> <TeleportAction> <Position> <WorldPosition x="-9.4" y="-71.0" z="0.5" h="1.57079632679"/> </Position> </TeleportAction> </PrivateAction> </Private> <Private entityRef="standing"> <PrivateAction> <TeleportAction> <Position> <WorldPosition x="-8.2" y="29.2" z="0.5" h="1.57079632679"/> </Position> </TeleportAction> </PrivateAction> </Private> <Private entityRef="pedestrian_close_to_adversary_22929"> <PrivateAction> <TeleportAction> <Position> <WorldPosition x="-6.465113639831543" y="-76.8405532836914" z="0.03379138931632042"/> </Position> </TeleportAction> </PrivateAction> </Private> <Private entityRef="pedestrian_w_transform_22930"> <PrivateAction> <TeleportAction> <Position> <WorldPosition x="-95.8268051147461" y="69.2245864868164" z="0.5"/> </Position> </TeleportAction> </PrivateAction> </Private> <Private entityRef="pedestrian_w_transform_22931"> <PrivateAction> <TeleportAction> <Position> <WorldPosition x="57.70975112915039" y="68.31246185302734" z="0.5"/> </Position> </TeleportAction> </PrivateAction> </Private> <Private entityRef="pedestrian_close_to_hero_22932"> <PrivateAction> <TeleportAction> <Position> <WorldPosition x="-8.715401649475098" y="-149.96295166015625" z="0.0014286803780123591"/> </Position> </TeleportAction> </PrivateAction> </Private> <Private entityRef="pedestrian_close_to_hero_22933"> <PrivateAction> <TeleportAction> <Position> <WorldPosition x="-7.946451663970947" y="-151.87539672851562" z="0.0014286803780123591"/> </Position> </TeleportAction> </PrivateAction> </Private> <Private entityRef="pedestrian_w_transform_22934"> <PrivateAction> <TeleportAction> <Position> <WorldPosition x="56.3000602722168" y="52.85707092285156" z="0.5"/> </Position> </TeleportAction> </PrivateAction> </Private> <Private entityRef="pedestrian_w_transform_22935"> <PrivateAction> <TeleportAction> <Position> <WorldPosition x="62.25475311279297" y="-9.567890167236328" z="0.5"/> </Position> </TeleportAction> </PrivateAction> </Private> <Private entityRef="pedestrian_w_transform_22936"> <PrivateAction> <TeleportAction> <Position> <WorldPosition x="-51.65397262573242" y="-73.78736877441406" z="0.5"/> </Position> </TeleportAction> </PrivateAction> </Private> <Private entityRef="pedestrian_close_to_adversary_22937"> <PrivateAction> <TeleportAction> <Position> <WorldPosition x="-15.090243339538574" y="-69.69548797607422" z="0.03377918154001236"/> </Position> </TeleportAction> </PrivateAction> </Private> <Private entityRef="pedestrian_close_to_adversary_22938"> <PrivateAction> <TeleportAction> <Position> <WorldPosition x="-13.711724281311035" y="-53.14019012451172" z="0.03377658873796463"/> </Position> </TeleportAction> </PrivateAction> </Private> <Private entityRef="pedestrian_w_transform_22939"> <PrivateAction> <TeleportAction> <Position> <WorldPosition x="-87.27088928222656" y="93.5731430053711" z="0.5"/> </Position> </TeleportAction> </PrivateAction> </Private> <Private entityRef="pedestrian_w_transform_22940"> <PrivateAction> <TeleportAction> <Position> <WorldPosition x="-6.672540187835693" y="-97.68238067626953" z="0.5"/> </Position> </TeleportAction> </PrivateAction> </Private> <Private entityRef="pedestrian_close_to_adversary_22941"> <PrivateAction> <TeleportAction> <Position> <WorldPosition x="-18.749927520751953" y="-77.85547637939453" z="0.03379051014780998"/> </Position> </TeleportAction> </PrivateAction> </Private> <Private entityRef="pedestrian_w_transform_22942"> <PrivateAction> <TeleportAction> <Position> <WorldPosition x="-59.57603454589844" y="-39.443111419677734" z="0.5"/> </Position> </TeleportAction> </PrivateAction> </Private> <Private entityRef="pedestrian_close_to_hero_22943"> <PrivateAction> <TeleportAction> <Position> <WorldPosition x="-13.116644859313965" y="-158.74166870117188" z="0.0014286803780123591"/> </Position> </TeleportAction> </PrivateAction> </Private> <Private entityRef="pedestrian_w_transform_22944"> <PrivateAction> <TeleportAction> <Position> <WorldPosition x="61.902244567871094" y="96.53852081298828" z="0.5"/> </Position> </TeleportAction> </PrivateAction> </Private> <Private entityRef="pedestrian_close_to_standing_22945"> <PrivateAction> <TeleportAction> <Position> <WorldPosition x="-11.753388404846191" y="23.04759979248047" z="0.0030636214651167393"/> </Position> </TeleportAction> </PrivateAction> </Private> <Private entityRef="pedestrian_w_transform_22946"> <PrivateAction> <TeleportAction> <Position> <WorldPosition x="-37.555885314941406" y="-16.710412979125977" z="0.5"/> </Position> </TeleportAction> </PrivateAction> </Private> <Private entityRef="pedestrian_w_transform_22947"> <PrivateAction> <TeleportAction> <Position> <WorldPosition x="28.152042388916016" y="-10.175725936889648" z="0.5"/> </Position> </TeleportAction> </PrivateAction> </Private> <Private entityRef="pedestrian_close_to_hero_22948"> <PrivateAction> <TeleportAction> <Position> <WorldPosition x="-8.089253425598145" y="-153.7766876220703" z="0.0014286803780123591"/> </Position> </TeleportAction> </PrivateAction> </Private> <Private entityRef="pedestrian_w_transform_22949"> <PrivateAction> <TeleportAction> <Position> <WorldPosition x="47.859230041503906" y="-48.31636047363281" z="0.5"/> </Position> </TeleportAction> </PrivateAction> </Private> <Private entityRef="pedestrian_close_to_standing_22950"> <PrivateAction> <TeleportAction> <Position> <WorldPosition x="-12.050370216369629" y="22.461515426635742" z="0.003073539584875107"/> </Position> </TeleportAction> </PrivateAction> </Private> <Private entityRef="pedestrian_w_transform_22951"> <PrivateAction> <TeleportAction> <Position> <WorldPosition x="63.68661880493164" y="-22.388004302978516" z="0.5"/> </Position> </TeleportAction> </PrivateAction> </Private> <Private entityRef="pedestrian_w_transform_22952"> <PrivateAction> <TeleportAction> <Position> <WorldPosition x="83.08901977539062" y="13.314367294311523" z="0.5"/> </Position> </TeleportAction> </PrivateAction> </Private> <Private entityRef="pedestrian_w_transform_22953"> <PrivateAction> <TeleportAction> <Position> <WorldPosition x="-73.75270080566406" y="-72.03060913085938" z="0.5"/> </Position> </TeleportAction> </PrivateAction> </Private> </Actions> </Init> <Story name="MyStory"> <Act name="Behavior"> <ManeuverGroup maximumExecutionCount="1" name="ManeuverSequence"> <Actors selectTriggeringEntities="false"> <EntityRef entityRef="adversary"/> </Actors> <Maneuver name="LaneChangeSimpleManeuver"> <Event name="AdversaryAccelerates" priority="overwrite"> <Action name="AdversaryAccelerates"> <PrivateAction> <LongitudinalAction> <SpeedAction> <SpeedActionDynamics dynamicsShape="step" value="50" dynamicsDimension="distance"/> <SpeedActionTarget> <AbsoluteTargetSpeed value="5.0"/> </SpeedActionTarget> </SpeedAction> </LongitudinalAction> </PrivateAction> </Action> <StartTrigger> <ConditionGroup> <Condition name="StartCondition" delay="0" conditionEdge="rising"> <ByEntityCondition> <TriggeringEntities triggeringEntitiesRule="any"> <EntityRef entityRef="hero"/> </TriggeringEntities> <EntityCondition> <RelativeDistanceCondition entityRef="adversary" relativeDistanceType="cartesianDistance" value="40.0" freespace="false" rule="lessThan"/> </EntityCondition> </ByEntityCondition> </Condition> </ConditionGroup> </StartTrigger> </Event> <Event name="AdversaryChangesLane" priority="overwrite"> <Action name="AdversaryChangesLane"> <PrivateAction> <LateralAction> <LaneChangeAction> <LaneChangeActionDynamics dynamicsShape="linear" value="25" dynamicsDimension="distance"/> <LaneChangeTarget> <RelativeTargetLane entityRef="adversary" value="-1"/> </LaneChangeTarget> </LaneChangeAction> </LateralAction> </PrivateAction> </Action> <StartTrigger> <ConditionGroup> <Condition name="AfterAdversaryAccelerates" delay="0" conditionEdge="rising"> <ByValueCondition> <StoryboardElementStateCondition storyboardElementType="action" storyboardElementRef="AdversaryAccelerates" state="completeState"/> </ByValueCondition> </Condition> </ConditionGroup> </StartTrigger> </Event> </Maneuver> </ManeuverGroup> <StartTrigger> <ConditionGroup> <Condition name="OverallStartCondition" delay="0" conditionEdge="rising"> <ByEntityCondition> <TriggeringEntities triggeringEntitiesRule="any"> <EntityRef entityRef="hero"/> </TriggeringEntities> <EntityCondition> <TraveledDistanceCondition value="1.0"/> </EntityCondition> </ByEntityCondition> </Condition> <Condition name="StartTime" delay="0" conditionEdge="rising"> <ByValueCondition> <SimulationTimeCondition value="0" rule="equalTo"/> </ByValueCondition> </Condition> </ConditionGroup> </StartTrigger> <StopTrigger> <ConditionGroup> <Condition name="EndCondition" delay="0" conditionEdge="rising"> <ByEntityCondition> <TriggeringEntities triggeringEntitiesRule="any"> <EntityRef entityRef="hero"/> </TriggeringEntities> <EntityCondition> <TraveledDistanceCondition value="200.0"/> </EntityCondition> </ByEntityCondition> </Condition> </ConditionGroup> </StopTrigger> </Act> </Story> <StopTrigger> <ConditionGroup> <Condition name="criteria_RunningStopTest" delay="0" conditionEdge="rising"> <ByValueCondition> <ParameterCondition parameterRef="" value="" rule="lessThan"/> </ByValueCondition> </Condition> <Condition name="criteria_RunningRedLightTest" delay="0" conditionEdge="rising"> <ByValueCondition> <ParameterCondition parameterRef="" value="" rule="lessThan"/> </ByValueCondition> </Condition> <Condition name="criteria_WrongLaneTest" delay="0" conditionEdge="rising"> <ByValueCondition> <ParameterCondition parameterRef="" value="" rule="lessThan"/> </ByValueCondition> </Condition> <Condition name="criteria_OnSidewalkTest" delay="0" conditionEdge="rising"> <ByValueCondition> <ParameterCondition parameterRef="" value="" rule="lessThan"/> </ByValueCondition> </Condition> <Condition name="criteria_KeepLaneTest" delay="0" conditionEdge="rising"> <ByValueCondition> <ParameterCondition parameterRef="" value="" rule="lessThan"/> </ByValueCondition> </Condition> <Condition name="criteria_CollisionTest" delay="0" conditionEdge="rising"> <ByValueCondition> <ParameterCondition parameterRef="" value="" rule="lessThan"/> </ByValueCondition> </Condition> <Condition name="criteria_DrivenDistanceTest" delay="0" conditionEdge="rising"> <ByValueCondition> <ParameterCondition parameterRef="distance_success" value="100" rule="lessThan"/> </ByValueCondition> </Condition> </ConditionGroup> </StopTrigger> </Storyboard> </OpenSCENARIO> ```
Here is the result: ``` <?xml version="1.0" ?> <OpenSCENARIO> <FileHeader revMajor="1" revMinor="0" date="2020-03-24T12:00:00" description="CARLA:LaneChangeSimple" author=""/> <ParameterDeclarations/> <CatalogLocations/> <RoadNetwork> <LogicFile filepath="Town04"/> <SceneGraphFile filepath=""/> </RoadNetwork> <Entities> <ScenarioObject name="hero"> <Vehicle name="vehicle.tesla.model3" vehicleCategory="car"> <ParameterDeclarations/> <Performance maxSpeed="69.444" maxAcceleration="200" maxDeceleration="10.0"/> <BoundingBox> <Center x="1.5" y="0.0" z="0.9"/> <Dimensions width="2.1" length="4.5" height="1.8"/> </BoundingBox> <Axles> <FrontAxle maxSteering="0.5" wheelDiameter="0.6" trackWidth="1.8" positionX="3.1" positionZ="0.3"/> <RearAxle maxSteering="0.0" wheelDiameter="0.6" trackWidth="1.8" positionX="0.0" positionZ="0.3"/> </Axles> <Properties> <Property name="type" value="ego_vehicle"/> </Properties> </Vehicle> </ScenarioObject> <ScenarioObject name="adversary"> <Vehicle name="vehicle.lincoln.mkz_2017" vehicleCategory="car"> <ParameterDeclarations/> <Performance maxSpeed="69.444" maxAcceleration="200" maxDeceleration="10.0"/> <BoundingBox> <Center x="1.5" y="0.0" z="0.9"/> <Dimensions width="2.1" length="4.5" height="1.8"/> </BoundingBox> <Axles> <FrontAxle maxSteering="0.5" wheelDiameter="0.6" trackWidth="1.8" positionX="3.1" positionZ="0.3"/> <RearAxle maxSteering="0.0" wheelDiameter="0.6" trackWidth="1.8" positionX="0.0" positionZ="0.3"/> </Axles> <Properties> <Property name="type" value="simulation"/> </Properties> </Vehicle> </ScenarioObject> <ScenarioObject name="standing"> <Vehicle name="vehicle.volkswagen.t2" vehicleCategory="car"> <ParameterDeclarations/> <Performance maxSpeed="69.444" maxAcceleration="200" maxDeceleration="10.0"/> <BoundingBox> <Center x="1.5" y="0.0" z="0.9"/> <Dimensions width="2.1" length="4.5" height="1.8"/> </BoundingBox> <Axles> <FrontAxle maxSteering="0.5" wheelDiameter="0.6" trackWidth="1.8" positionX="3.1" positionZ="0.3"/> <RearAxle maxSteering="0.0" wheelDiameter="0.6" trackWidth="1.8" positionX="0.0" positionZ="0.3"/> </Axles> <Properties> <Property name="type" value="simulation"/> </Properties> </Vehicle> </ScenarioObject> <ScenarioObject name="pedestrian_close_to_adversary_22929"> <Pedestrian model="walker.pedestrian.0001" mass="80" name="walker.pedestrian.0001" pedestrianCategory="pedestrian"> <ParameterDeclarations/> <BoundingBox> <Center x="1.5" y="0.0" z="0.9"/> <Dimensions width="2" length="2" height="2"/> </BoundingBox> <Properties> <Property name="type" value="simulation"/> </Properties> </Pedestrian> </ScenarioObject> <ScenarioObject name="pedestrian_w_transform_22930"> <Pedestrian model="walker.pedestrian.0001" mass="80" name="walker.pedestrian.0001" pedestrianCategory="pedestrian"> <ParameterDeclarations/> <BoundingBox> <Center x="1.5" y="0.0" z="0.9"/> <Dimensions width="2" length="2" height="2"/> </BoundingBox> <Properties> <Property name="type" value="simulation"/> </Properties> </Pedestrian> </ScenarioObject> <ScenarioObject name="pedestrian_w_transform_22931"> <Pedestrian model="walker.pedestrian.0001" mass="80" name="walker.pedestrian.0001" pedestrianCategory="pedestrian"> <ParameterDeclarations/> <BoundingBox> <Center x="1.5" y="0.0" z="0.9"/> <Dimensions width="2" length="2" height="2"/> </BoundingBox> <Properties> <Property name="type" value="simulation"/> </Properties> </Pedestrian> </ScenarioObject> <ScenarioObject name="pedestrian_close_to_hero_22932"> <Pedestrian model="walker.pedestrian.0001" mass="80" name="walker.pedestrian.0001" pedestrianCategory="pedestrian"> <ParameterDeclarations/> <BoundingBox> <Center x="1.5" y="0.0" z="0.9"/> <Dimensions width="2" length="2" height="2"/> </BoundingBox> <Properties> <Property name="type" value="simulation"/> </Properties> </Pedestrian> </ScenarioObject> <ScenarioObject name="pedestrian_close_to_hero_22933"> <Pedestrian model="walker.pedestrian.0001" mass="80" name="walker.pedestrian.0001" pedestrianCategory="pedestrian"> <ParameterDeclarations/> <BoundingBox> <Center x="1.5" y="0.0" z="0.9"/> <Dimensions width="2" length="2" height="2"/> </BoundingBox> <Properties> <Property name="type" value="simulation"/> </Properties> </Pedestrian> </ScenarioObject> <ScenarioObject name="pedestrian_w_transform_22934"> <Pedestrian model="walker.pedestrian.0001" mass="80" name="walker.pedestrian.0001" pedestrianCategory="pedestrian"> <ParameterDeclarations/> <BoundingBox> <Center x="1.5" y="0.0" z="0.9"/> <Dimensions width="2" length="2" height="2"/> </BoundingBox> <Properties> <Property name="type" value="simulation"/> </Properties> </Pedestrian> </ScenarioObject> <ScenarioObject name="pedestrian_w_transform_22935"> <Pedestrian model="walker.pedestrian.0001" mass="80" name="walker.pedestrian.0001" pedestrianCategory="pedestrian"> <ParameterDeclarations/> <BoundingBox> <Center x="1.5" y="0.0" z="0.9"/> <Dimensions width="2" length="2" height="2"/> </BoundingBox> <Properties> <Property name="type" value="simulation"/> </Properties> </Pedestrian> </ScenarioObject> <ScenarioObject name="pedestrian_w_transform_22936"> <Pedestrian model="walker.pedestrian.0001" mass="80" name="walker.pedestrian.0001" pedestrianCategory="pedestrian"> <ParameterDeclarations/> <BoundingBox> <Center x="1.5" y="0.0" z="0.9"/> <Dimensions width="2" length="2" height="2"/> </BoundingBox> <Properties> <Property name="type" value="simulation"/> </Properties> </Pedestrian> </ScenarioObject> <ScenarioObject name="pedestrian_close_to_adversary_22937"> <Pedestrian model="walker.pedestrian.0001" mass="80" name="walker.pedestrian.0001" pedestrianCategory="pedestrian"> <ParameterDeclarations/> <BoundingBox> <Center x="1.5" y="0.0" z="0.9"/> <Dimensions width="2" length="2" height="2"/> </BoundingBox> <Properties> <Property name="type" value="simulation"/> </Properties> </Pedestrian> </ScenarioObject> <ScenarioObject name="pedestrian_close_to_adversary_22938"> <Pedestrian model="walker.pedestrian.0001" mass="80" name="walker.pedestrian.0001" pedestrianCategory="pedestrian"> <ParameterDeclarations/> <BoundingBox> <Center x="1.5" y="0.0" z="0.9"/> <Dimensions width="2" length="2" height="2"/> </BoundingBox> <Properties> <Property name="type" value="simulation"/> </Properties> </Pedestrian> </ScenarioObject> <ScenarioObject name="pedestrian_w_transform_22939"> <Pedestrian model="walker.pedestrian.0001" mass="80" name="walker.pedestrian.0001" pedestrianCategory="pedestrian"> <ParameterDeclarations/> <BoundingBox> <Center x="1.5" y="0.0" z="0.9"/> <Dimensions width="2" length="2" height="2"/> </BoundingBox> <Properties> <Property name="type" value="simulation"/> </Properties> </Pedestrian> </ScenarioObject> <ScenarioObject name="pedestrian_w_transform_22940"> <Pedestrian model="walker.pedestrian.0001" mass="80" name="walker.pedestrian.0001" pedestrianCategory="pedestrian"> <ParameterDeclarations/> <BoundingBox> <Center x="1.5" y="0.0" z="0.9"/> <Dimensions width="2" length="2" height="2"/> </BoundingBox> <Properties> <Property name="type" value="simulation"/> </Properties> </Pedestrian> </ScenarioObject> <ScenarioObject name="pedestrian_close_to_adversary_22941"> <Pedestrian model="walker.pedestrian.0001" mass="80" name="walker.pedestrian.0001" pedestrianCategory="pedestrian"> <ParameterDeclarations/> <BoundingBox> <Center x="1.5" y="0.0" z="0.9"/> <Dimensions width="2" length="2" height="2"/> </BoundingBox> <Properties> <Property name="type" value="simulation"/> </Properties> </Pedestrian> </ScenarioObject> <ScenarioObject name="pedestrian_w_transform_22942"> <Pedestrian model="walker.pedestrian.0001" mass="80" name="walker.pedestrian.0001" pedestrianCategory="pedestrian"> <ParameterDeclarations/> <BoundingBox> <Center x="1.5" y="0.0" z="0.9"/> <Dimensions width="2" length="2" height="2"/> </BoundingBox> <Properties> <Property name="type" value="simulation"/> </Properties> </Pedestrian> </ScenarioObject> <ScenarioObject name="pedestrian_close_to_hero_22943"> <Pedestrian model="walker.pedestrian.0001" mass="80" name="walker.pedestrian.0001" pedestrianCategory="pedestrian"> <ParameterDeclarations/> <BoundingBox> <Center x="1.5" y="0.0" z="0.9"/> <Dimensions width="2" length="2" height="2"/> </BoundingBox> <Properties> <Property name="type" value="simulation"/> </Properties> </Pedestrian> </ScenarioObject> <ScenarioObject name="pedestrian_w_transform_22944"> <Pedestrian model="walker.pedestrian.0001" mass="80" name="walker.pedestrian.0001" pedestrianCategory="pedestrian"> <ParameterDeclarations/> <BoundingBox> <Center x="1.5" y="0.0" z="0.9"/> <Dimensions width="2" length="2" height="2"/> </BoundingBox> <Properties> <Property name="type" value="simulation"/> </Properties> </Pedestrian> </ScenarioObject> <ScenarioObject name="pedestrian_close_to_standing_22945"> <Pedestrian model="walker.pedestrian.0001" mass="80" name="walker.pedestrian.0001" pedestrianCategory="pedestrian"> <ParameterDeclarations/> <BoundingBox> <Center x="1.5" y="0.0" z="0.9"/> <Dimensions width="2" length="2" height="2"/> </BoundingBox> <Properties> <Property name="type" value="simulation"/> </Properties> </Pedestrian> </ScenarioObject> <ScenarioObject name="pedestrian_w_transform_22946"> <Pedestrian model="walker.pedestrian.0001" mass="80" name="walker.pedestrian.0001" pedestrianCategory="pedestrian"> <ParameterDeclarations/> <BoundingBox> <Center x="1.5" y="0.0" z="0.9"/> <Dimensions width="2" length="2" height="2"/> </BoundingBox> <Properties> <Property name="type" value="simulation"/> </Properties> </Pedestrian> </ScenarioObject> <ScenarioObject name="pedestrian_w_transform_22947"> <Pedestrian model="walker.pedestrian.0001" mass="80" name="walker.pedestrian.0001" pedestrianCategory="pedestrian"> <ParameterDeclarations/> <BoundingBox> <Center x="1.5" y="0.0" z="0.9"/> <Dimensions width="2" length="2" height="2"/> </BoundingBox> <Properties> <Property name="type" value="simulation"/> </Properties> </Pedestrian> </ScenarioObject> <ScenarioObject name="pedestrian_close_to_hero_22948"> <Pedestrian model="walker.pedestrian.0001" mass="80" name="walker.pedestrian.0001" pedestrianCategory="pedestrian"> <ParameterDeclarations/> <BoundingBox> <Center x="1.5" y="0.0" z="0.9"/> <Dimensions width="2" length="2" height="2"/> </BoundingBox> <Properties> <Property name="type" value="simulation"/> </Properties> </Pedestrian> </ScenarioObject> <ScenarioObject name="pedestrian_w_transform_22949"> <Pedestrian model="walker.pedestrian.0001" mass="80" name="walker.pedestrian.0001" pedestrianCategory="pedestrian"> <ParameterDeclarations/> <BoundingBox> <Center x="1.5" y="0.0" z="0.9"/> <Dimensions width="2" length="2" height="2"/> </BoundingBox> <Properties> <Property name="type" value="simulation"/> </Properties> </Pedestrian> </ScenarioObject> <ScenarioObject name="pedestrian_close_to_standing_22950"> <Pedestrian model="walker.pedestrian.0001" mass="80" name="walker.pedestrian.0001" pedestrianCategory="pedestrian"> <ParameterDeclarations/> <BoundingBox> <Center x="1.5" y="0.0" z="0.9"/> <Dimensions width="2" length="2" height="2"/> </BoundingBox> <Properties> <Property name="type" value="simulation"/> </Properties> </Pedestrian> </ScenarioObject> <ScenarioObject name="pedestrian_w_transform_22951"> <Pedestrian model="walker.pedestrian.0001" mass="80" name="walker.pedestrian.0001" pedestrianCategory="pedestrian"> <ParameterDeclarations/> <BoundingBox> <Center x="1.5" y="0.0" z="0.9"/> <Dimensions width="2" length="2" height="2"/> </BoundingBox> <Properties> <Property name="type" value="simulation"/> </Properties> </Pedestrian> </ScenarioObject> <ScenarioObject name="pedestrian_w_transform_22952"> <Pedestrian model="walker.pedestrian.0001" mass="80" name="walker.pedestrian.0001" pedestrianCategory="pedestrian"> <ParameterDeclarations/> <BoundingBox> <Center x="1.5" y="0.0" z="0.9"/> <Dimensions width="2" length="2" height="2"/> </BoundingBox> <Properties> <Property name="type" value="simulation"/> </Properties> </Pedestrian> </ScenarioObject> <ScenarioObject name="pedestrian_w_transform_22953"> <Pedestrian model="walker.pedestrian.0001" mass="80" name="walker.pedestrian.0001" pedestrianCategory="pedestrian"> <ParameterDeclarations/> <BoundingBox> <Center x="1.5" y="0.0" z="0.9"/> <Dimensions width="2" length="2" height="2"/> </BoundingBox> <Properties> <Property name="type" value="simulation"/> </Properties> </Pedestrian> </ScenarioObject> <ScenarioObject name="pedestrian_w_transform_22954"> <Pedestrian model="walker.pedestrian.0001" mass="80" name="walker.pedestrian.0001" pedestrianCategory="pedestrian"> <ParameterDeclarations/> <BoundingBox> <Center x="1.5" y="0.0" z="0.9"/> <Dimensions width="2" length="2" height="2"/> </BoundingBox> <Properties> <Property name="type" value="simulation"/> </Properties> </Pedestrian> </ScenarioObject> </Entities> <Storyboard> <Init> <Actions> <GlobalAction> <EnvironmentAction> <Environment name="Environment1"> <TimeOfDay animation="false" dateTime="2019-06-25T12:00:00"/> <Weather cloudState="free"> <Sun intensity="0.85" azimuth="0" elevation="1.31"/> <Fog visualRange="100000.0"/> <Precipitation precipitationType="dry" intensity="0.0"/> </Weather> <RoadCondition frictionScaleFactor="1.0"/> </Environment> </EnvironmentAction> </GlobalAction> <Private entityRef="hero"> <PrivateAction> <TeleportAction> <Position> <WorldPosition x="-9.4" y="-152.8" z="0.5" h="1.57079632679"/> </Position> </TeleportAction> </PrivateAction> <PrivateAction> <ControllerAction> <AssignControllerAction> <Controller name="HeroAgent"> <Properties> <Property name="module" value="external_control"/> </Properties> </Controller> </AssignControllerAction> <OverrideControllerValueAction> <Throttle value="0" active="false"/> <Brake value="0" active="false"/> <Clutch value="0" active="false"/> <ParkingBrake value="0" active="false"/> <SteeringWheel value="0" active="false"/> <Gear number="0" active="false"/> </OverrideControllerValueAction> </ControllerAction> </PrivateAction> </Private> <Private entityRef="adversary"> <PrivateAction> <TeleportAction> <Position> <WorldPosition x="-9.4" y="-71.0" z="0.5" h="1.57079632679"/> </Position> </TeleportAction> </PrivateAction> </Private> <Private entityRef="standing"> <PrivateAction> <TeleportAction> <Position> <WorldPosition x="-8.2" y="29.2" z="0.5" h="1.57079632679"/> </Position> </TeleportAction> </PrivateAction> </Private> <Private entityRef="pedestrian_close_to_adversary_22929"> <PrivateAction> <TeleportAction> <Position> <WorldPosition x="-6.465113639831543" y="-76.8405532836914" z="0.03379138931632042"/> </Position> </TeleportAction> </PrivateAction> </Private> <Private entityRef="pedestrian_w_transform_22930"> <PrivateAction> <TeleportAction> <Position> <WorldPosition x="-95.8268051147461" y="69.2245864868164" z="0.5"/> </Position> </TeleportAction> </PrivateAction> </Private> <Private entityRef="pedestrian_w_transform_22931"> <PrivateAction> <TeleportAction> <Position> <WorldPosition x="57.70975112915039" y="68.31246185302734" z="0.5"/> </Position> </TeleportAction> </PrivateAction> </Private> <Private entityRef="pedestrian_close_to_hero_22932"> <PrivateAction> <TeleportAction> <Position> <WorldPosition x="-8.715401649475098" y="-149.96295166015625" z="0.0014286803780123591"/> </Position> </TeleportAction> </PrivateAction> </Private> <Private entityRef="pedestrian_close_to_hero_22933"> <PrivateAction> <TeleportAction> <Position> <WorldPosition x="-7.946451663970947" y="-151.87539672851562" z="0.0014286803780123591"/> </Position> </TeleportAction> </PrivateAction> </Private> <Private entityRef="pedestrian_w_transform_22934"> <PrivateAction> <TeleportAction> <Position> <WorldPosition x="56.3000602722168" y="52.85707092285156" z="0.5"/> </Position> </TeleportAction> </PrivateAction> </Private> <Private entityRef="pedestrian_w_transform_22935"> <PrivateAction> <TeleportAction> <Position> <WorldPosition x="62.25475311279297" y="-9.567890167236328" z="0.5"/> </Position> </TeleportAction> </PrivateAction> </Private> <Private entityRef="pedestrian_w_transform_22936"> <PrivateAction> <TeleportAction> <Position> <WorldPosition x="-51.65397262573242" y="-73.78736877441406" z="0.5"/> </Position> </TeleportAction> </PrivateAction> </Private> <Private entityRef="pedestrian_close_to_adversary_22937"> <PrivateAction> <TeleportAction> <Position> <WorldPosition x="-15.090243339538574" y="-69.69548797607422" z="0.03377918154001236"/> </Position> </TeleportAction> </PrivateAction> </Private> <Private entityRef="pedestrian_close_to_adversary_22938"> <PrivateAction> <TeleportAction> <Position> <WorldPosition x="-13.711724281311035" y="-53.14019012451172" z="0.03377658873796463"/> </Position> </TeleportAction> </PrivateAction> </Private> <Private entityRef="pedestrian_w_transform_22939"> <PrivateAction> <TeleportAction> <Position> <WorldPosition x="-87.27088928222656" y="93.5731430053711" z="0.5"/> </Position> </TeleportAction> </PrivateAction> </Private> <Private entityRef="pedestrian_w_transform_22940"> <PrivateAction> <TeleportAction> <Position> <WorldPosition x="-6.672540187835693" y="-97.68238067626953" z="0.5"/> </Position> </TeleportAction> </PrivateAction> </Private> <Private entityRef="pedestrian_close_to_adversary_22941"> <PrivateAction> <TeleportAction> <Position> <WorldPosition x="-18.749927520751953" y="-77.85547637939453" z="0.03379051014780998"/> </Position> </TeleportAction> </PrivateAction> </Private> <Private entityRef="pedestrian_w_transform_22942"> <PrivateAction> <TeleportAction> <Position> <WorldPosition x="-59.57603454589844" y="-39.443111419677734" z="0.5"/> </Position> </TeleportAction> </PrivateAction> </Private> <Private entityRef="pedestrian_close_to_hero_22943"> <PrivateAction> <TeleportAction> <Position> <WorldPosition x="-13.116644859313965" y="-158.74166870117188" z="0.0014286803780123591"/> </Position> </TeleportAction> </PrivateAction> </Private> <Private entityRef="pedestrian_w_transform_22944"> <PrivateAction> <TeleportAction> <Position> <WorldPosition x="61.902244567871094" y="96.53852081298828" z="0.5"/> </Position> </TeleportAction> </PrivateAction> </Private> <Private entityRef="pedestrian_close_to_standing_22945"> <PrivateAction> <TeleportAction> <Position> <WorldPosition x="-11.753388404846191" y="23.04759979248047" z="0.0030636214651167393"/> </Position> </TeleportAction> </PrivateAction> </Private> <Private entityRef="pedestrian_w_transform_22946"> <PrivateAction> <TeleportAction> <Position> <WorldPosition x="-37.555885314941406" y="-16.710412979125977" z="0.5"/> </Position> </TeleportAction> </PrivateAction> </Private> <Private entityRef="pedestrian_w_transform_22947"> <PrivateAction> <TeleportAction> <Position> <WorldPosition x="28.152042388916016" y="-10.175725936889648" z="0.5"/> </Position> </TeleportAction> </PrivateAction> </Private> <Private entityRef="pedestrian_close_to_hero_22948"> <PrivateAction> <TeleportAction> <Position> <WorldPosition x="-8.089253425598145" y="-153.7766876220703" z="0.0014286803780123591"/> </Position> </TeleportAction> </PrivateAction> </Private> <Private entityRef="pedestrian_w_transform_22949"> <PrivateAction> <TeleportAction> <Position> <WorldPosition x="47.859230041503906" y="-48.31636047363281" z="0.5"/> </Position> </TeleportAction> </PrivateAction> </Private> <Private entityRef="pedestrian_close_to_standing_22950"> <PrivateAction> <TeleportAction> <Position> <WorldPosition x="-12.050370216369629" y="22.461515426635742" z="0.003073539584875107"/> </Position> </TeleportAction> </PrivateAction> </Private> <Private entityRef="pedestrian_w_transform_22951"> <PrivateAction> <TeleportAction> <Position> <WorldPosition x="63.68661880493164" y="-22.388004302978516" z="0.5"/> </Position> </TeleportAction> </PrivateAction> </Private> <Private entityRef="pedestrian_w_transform_22952"> <PrivateAction> <TeleportAction> <Position> <WorldPosition x="83.08901977539062" y="13.314367294311523" z="0.5"/> </Position> </TeleportAction> </PrivateAction> </Private> <Private entityRef="pedestrian_w_transform_22953"> <PrivateAction> <TeleportAction> <Position> <WorldPosition x="-73.75270080566406" y="-72.03060913085938" z="0.5"/> </Position> </TeleportAction> </PrivateAction> </Private> <Private entityRef="pedestrian_w_transform_22954"> <PrivateAction> <TeleportAction> <Position> <WorldPosition x="26.717891693115234" y="53.866722106933594" z="0.5"/> </Position> </TeleportAction> </PrivateAction> </Private> </Actions> </Init> <Story name="MyStory"> <Act name="Behavior"> <ManeuverGroup maximumExecutionCount="1" name="ManeuverSequence"> <Actors selectTriggeringEntities="false"> <EntityRef entityRef="adversary"/> </Actors> <Maneuver name="LaneChangeSimpleManeuver"> <Event name="AdversaryAccelerates" priority="overwrite"> <Action name="AdversaryAccelerates"> <PrivateAction> <LongitudinalAction> <SpeedAction> <SpeedActionDynamics dynamicsShape="step" value="50" dynamicsDimension="distance"/> <SpeedActionTarget> <AbsoluteTargetSpeed value="5.0"/> </SpeedActionTarget> </SpeedAction> </LongitudinalAction> </PrivateAction> </Action> <StartTrigger> <ConditionGroup> <Condition name="StartCondition" delay="0" conditionEdge="rising"> <ByEntityCondition> <TriggeringEntities triggeringEntitiesRule="any"> <EntityRef entityRef="hero"/> </TriggeringEntities> <EntityCondition> <RelativeDistanceCondition entityRef="adversary" relativeDistanceType="cartesianDistance" value="40.0" freespace="false" rule="lessThan"/> </EntityCondition> </ByEntityCondition> </Condition> </ConditionGroup> </StartTrigger> </Event> <Event name="AdversaryChangesLane" priority="overwrite"> <Action name="AdversaryChangesLane"> <PrivateAction> <LateralAction> <LaneChangeAction> <LaneChangeActionDynamics dynamicsShape="linear" value="25" dynamicsDimension="distance"/> <LaneChangeTarget> <RelativeTargetLane entityRef="adversary" value="-1"/> </LaneChangeTarget> </LaneChangeAction> </LateralAction> </PrivateAction> </Action> <StartTrigger> <ConditionGroup> <Condition name="AfterAdversaryAccelerates" delay="0" conditionEdge="rising"> <ByValueCondition> <StoryboardElementStateCondition storyboardElementType="action" storyboardElementRef="AdversaryAccelerates" state="completeState"/> </ByValueCondition> </Condition> </ConditionGroup> </StartTrigger> </Event> </Maneuver> </ManeuverGroup> <StartTrigger> <ConditionGroup> <Condition name="OverallStartCondition" delay="0" conditionEdge="rising"> <ByEntityCondition> <TriggeringEntities triggeringEntitiesRule="any"> <EntityRef entityRef="hero"/> </TriggeringEntities> <EntityCondition> <TraveledDistanceCondition value="1.0"/> </EntityCondition> </ByEntityCondition> </Condition> <Condition name="StartTime" delay="0" conditionEdge="rising"> <ByValueCondition> <SimulationTimeCondition value="0" rule="equalTo"/> </ByValueCondition> </Condition> </ConditionGroup> </StartTrigger> <StopTrigger> <ConditionGroup> <Condition name="EndCondition" delay="0" conditionEdge="rising"> <ByEntityCondition> <TriggeringEntities triggeringEntitiesRule="any"> <EntityRef entityRef="hero"/> </TriggeringEntities> <EntityCondition> <TraveledDistanceCondition value="200.0"/> </EntityCondition> </ByEntityCondition> </Condition> </ConditionGroup> </StopTrigger> </Act> </Story> <StopTrigger> <ConditionGroup> <Condition name="criteria_RunningStopTest" delay="0" conditionEdge="rising"> <ByValueCondition> <ParameterCondition parameterRef="" value="" rule="lessThan"/> </ByValueCondition> </Condition> <Condition name="criteria_RunningRedLightTest" delay="0" conditionEdge="rising"> <ByValueCondition> <ParameterCondition parameterRef="" value="" rule="lessThan"/> </ByValueCondition> </Condition> <Condition name="criteria_WrongLaneTest" delay="0" conditionEdge="rising"> <ByValueCondition> <ParameterCondition parameterRef="" value="" rule="lessThan"/> </ByValueCondition> </Condition> <Condition name="criteria_OnSidewalkTest" delay="0" conditionEdge="rising"> <ByValueCondition> <ParameterCondition parameterRef="" value="" rule="lessThan"/> </ByValueCondition> </Condition> <Condition name="criteria_KeepLaneTest" delay="0" conditionEdge="rising"> <ByValueCondition> <ParameterCondition parameterRef="" value="" rule="lessThan"/> </ByValueCondition> </Condition> <Condition name="criteria_CollisionTest" delay="0" conditionEdge="rising"> <ByValueCondition> <ParameterCondition parameterRef="" value="" rule="lessThan"/> </ByValueCondition> </Condition> <Condition name="criteria_DrivenDistanceTest" delay="0" conditionEdge="rising"> <ByValueCondition> <ParameterCondition parameterRef="distance_success" value="100" rule="lessThan"/> </ByValueCondition> </Condition> </ConditionGroup> </StopTrigger> </Storyboard> </OpenSCENARIO> ```
i would like to instruct you to add pedestrian at location (-60.83, -47.66, 0.5)? ``` <?xml version="1.0" ?> <OpenSCENARIO> <FileHeader revMajor="1" revMinor="0" date="2020-03-24T12:00:00" description="CARLA:LaneChangeSimple" author=""/> <ParameterDeclarations/> <CatalogLocations/> <RoadNetwork> <LogicFile filepath="Town04"/> <SceneGraphFile filepath=""/> </RoadNetwork> <Entities> <ScenarioObject name="hero"> <Vehicle name="vehicle.tesla.model3" vehicleCategory="car"> <ParameterDeclarations/> <Performance maxSpeed="69.444" maxAcceleration="200" maxDeceleration="10.0"/> <BoundingBox> <Center x="1.5" y="0.0" z="0.9"/> <Dimensions width="2.1" length="4.5" height="1.8"/> </BoundingBox> <Axles> <FrontAxle maxSteering="0.5" wheelDiameter="0.6" trackWidth="1.8" positionX="3.1" positionZ="0.3"/> <RearAxle maxSteering="0.0" wheelDiameter="0.6" trackWidth="1.8" positionX="0.0" positionZ="0.3"/> </Axles> <Properties> <Property name="type" value="ego_vehicle"/> </Properties> </Vehicle> </ScenarioObject> <ScenarioObject name="adversary"> <Vehicle name="vehicle.lincoln.mkz_2017" vehicleCategory="car"> <ParameterDeclarations/> <Performance maxSpeed="69.444" maxAcceleration="200" maxDeceleration="10.0"/> <BoundingBox> <Center x="1.5" y="0.0" z="0.9"/> <Dimensions width="2.1" length="4.5" height="1.8"/> </BoundingBox> <Axles> <FrontAxle maxSteering="0.5" wheelDiameter="0.6" trackWidth="1.8" positionX="3.1" positionZ="0.3"/> <RearAxle maxSteering="0.0" wheelDiameter="0.6" trackWidth="1.8" positionX="0.0" positionZ="0.3"/> </Axles> <Properties> <Property name="type" value="simulation"/> </Properties> </Vehicle> </ScenarioObject> <ScenarioObject name="standing"> <Vehicle name="vehicle.volkswagen.t2" vehicleCategory="car"> <ParameterDeclarations/> <Performance maxSpeed="69.444" maxAcceleration="200" maxDeceleration="10.0"/> <BoundingBox> <Center x="1.5" y="0.0" z="0.9"/> <Dimensions width="2.1" length="4.5" height="1.8"/> </BoundingBox> <Axles> <FrontAxle maxSteering="0.5" wheelDiameter="0.6" trackWidth="1.8" positionX="3.1" positionZ="0.3"/> <RearAxle maxSteering="0.0" wheelDiameter="0.6" trackWidth="1.8" positionX="0.0" positionZ="0.3"/> </Axles> <Properties> <Property name="type" value="simulation"/> </Properties> </Vehicle> </ScenarioObject> <ScenarioObject name="pedestrian_close_to_adversary_7444"> <Pedestrian model="walker.pedestrian.0001" mass="80" name="walker.pedestrian.0001" pedestrianCategory="pedestrian"> <ParameterDeclarations/> <BoundingBox> <Center x="1.5" y="0.0" z="0.9"/> <Dimensions width="2" length="2" height="2"/> </BoundingBox> <Properties> <Property name="type" value="simulation"/> </Properties> </Pedestrian> </ScenarioObject> <ScenarioObject name="pedestrian_close_to_standing_7445"> <Pedestrian model="walker.pedestrian.0001" mass="80" name="walker.pedestrian.0001" pedestrianCategory="pedestrian"> <ParameterDeclarations/> <BoundingBox> <Center x="1.5" y="0.0" z="0.9"/> <Dimensions width="2" length="2" height="2"/> </BoundingBox> <Properties> <Property name="type" value="simulation"/> </Properties> </Pedestrian> </ScenarioObject> <ScenarioObject name="pedestrian_w_transform_7446"> <Pedestrian model="walker.pedestrian.0001" mass="80" name="walker.pedestrian.0001" pedestrianCategory="pedestrian"> <ParameterDeclarations/> <BoundingBox> <Center x="1.5" y="0.0" z="0.9"/> <Dimensions width="2" length="2" height="2"/> </BoundingBox> <Properties> <Property name="type" value="simulation"/> </Properties> </Pedestrian> </ScenarioObject> <ScenarioObject name="pedestrian_close_to_adversary_7447"> <Pedestrian model="walker.pedestrian.0001" mass="80" name="walker.pedestrian.0001" pedestrianCategory="pedestrian"> <ParameterDeclarations/> <BoundingBox> <Center x="1.5" y="0.0" z="0.9"/> <Dimensions width="2" length="2" height="2"/> </BoundingBox> <Properties> <Property name="type" value="simulation"/> </Properties> </Pedestrian> </ScenarioObject> <ScenarioObject name="pedestrian_close_to_hero_7448"> <Pedestrian model="walker.pedestrian.0001" mass="80" name="walker.pedestrian.0001" pedestrianCategory="pedestrian"> <ParameterDeclarations/> <BoundingBox> <Center x="1.5" y="0.0" z="0.9"/> <Dimensions width="2" length="2" height="2"/> </BoundingBox> <Properties> <Property name="type" value="simulation"/> </Properties> </Pedestrian> </ScenarioObject> <ScenarioObject name="pedestrian_close_to_standing_7449"> <Pedestrian model="walker.pedestrian.0001" mass="80" name="walker.pedestrian.0001" pedestrianCategory="pedestrian"> <ParameterDeclarations/> <BoundingBox> <Center x="1.5" y="0.0" z="0.9"/> <Dimensions width="2" length="2" height="2"/> </BoundingBox> <Properties> <Property name="type" value="simulation"/> </Properties> </Pedestrian> </ScenarioObject> <ScenarioObject name="pedestrian_close_to_hero_7450"> <Pedestrian model="walker.pedestrian.0001" mass="80" name="walker.pedestrian.0001" pedestrianCategory="pedestrian"> <ParameterDeclarations/> <BoundingBox> <Center x="1.5" y="0.0" z="0.9"/> <Dimensions width="2" length="2" height="2"/> </BoundingBox> <Properties> <Property name="type" value="simulation"/> </Properties> </Pedestrian> </ScenarioObject> <ScenarioObject name="pedestrian_close_to_hero_7452"> <Pedestrian model="walker.pedestrian.0001" mass="80" name="walker.pedestrian.0001" pedestrianCategory="pedestrian"> <ParameterDeclarations/> <BoundingBox> <Center x="1.5" y="0.0" z="0.9"/> <Dimensions width="2" length="2" height="2"/> </BoundingBox> <Properties> <Property name="type" value="simulation"/> </Properties> </Pedestrian> </ScenarioObject> <ScenarioObject name="pedestrian_close_to_hero_7453"> <Pedestrian model="walker.pedestrian.0001" mass="80" name="walker.pedestrian.0001" pedestrianCategory="pedestrian"> <ParameterDeclarations/> <BoundingBox> <Center x="1.5" y="0.0" z="0.9"/> <Dimensions width="2" length="2" height="2"/> </BoundingBox> <Properties> <Property name="type" value="simulation"/> </Properties> </Pedestrian> </ScenarioObject> <ScenarioObject name="pedestrian_w_transform_7454"> <Pedestrian model="walker.pedestrian.0001" mass="80" name="walker.pedestrian.0001" pedestrianCategory="pedestrian"> <ParameterDeclarations/> <BoundingBox> <Center x="1.5" y="0.0" z="0.9"/> <Dimensions width="2" length="2" height="2"/> </BoundingBox> <Properties> <Property name="type" value="simulation"/> </Properties> </Pedestrian> </ScenarioObject> <ScenarioObject name="pedestrian_close_to_standing_7455"> <Pedestrian model="walker.pedestrian.0001" mass="80" name="walker.pedestrian.0001" pedestrianCategory="pedestrian"> <ParameterDeclarations/> <BoundingBox> <Center x="1.5" y="0.0" z="0.9"/> <Dimensions width="2" length="2" height="2"/> </BoundingBox> <Properties> <Property name="type" value="simulation"/> </Properties> </Pedestrian> </ScenarioObject> <ScenarioObject name="pedestrian_close_to_hero_7456"> <Pedestrian model="walker.pedestrian.0001" mass="80" name="walker.pedestrian.0001" pedestrianCategory="pedestrian"> <ParameterDeclarations/> <BoundingBox> <Center x="1.5" y="0.0" z="0.9"/> <Dimensions width="2" length="2" height="2"/> </BoundingBox> <Properties> <Property name="type" value="simulation"/> </Properties> </Pedestrian> </ScenarioObject> <ScenarioObject name="pedestrian_w_transform_7457"> <Pedestrian model="walker.pedestrian.0001" mass="80" name="walker.pedestrian.0001" pedestrianCategory="pedestrian"> <ParameterDeclarations/> <BoundingBox> <Center x="1.5" y="0.0" z="0.9"/> <Dimensions width="2" length="2" height="2"/> </BoundingBox> <Properties> <Property name="type" value="simulation"/> </Properties> </Pedestrian> </ScenarioObject> </Entities> <Storyboard> <Init> <Actions> <GlobalAction> <EnvironmentAction> <Environment name="Environment1"> <TimeOfDay animation="false" dateTime="2019-06-25T12:00:00"/> <Weather cloudState="free"> <Sun intensity="0.85" azimuth="0" elevation="1.31"/> <Fog visualRange="100000.0"/> <Precipitation precipitationType="dry" intensity="0.0"/> </Weather> <RoadCondition frictionScaleFactor="1.0"/> </Environment> </EnvironmentAction> </GlobalAction> <Private entityRef="hero"> <PrivateAction> <TeleportAction> <Position> <WorldPosition x="-9.4" y="-152.8" z="0.5" h="1.57079632679"/> </Position> </TeleportAction> </PrivateAction> <PrivateAction> <ControllerAction> <AssignControllerAction> <Controller name="HeroAgent"> <Properties> <Property name="module" value="external_control"/> </Properties> </Controller> </AssignControllerAction> <OverrideControllerValueAction> <Throttle value="0" active="false"/> <Brake value="0" active="false"/> <Clutch value="0" active="false"/> <ParkingBrake value="0" active="false"/> <SteeringWheel value="0" active="false"/> <Gear number="0" active="false"/> </OverrideControllerValueAction> </ControllerAction> </PrivateAction> </Private> <Private entityRef="adversary"> <PrivateAction> <TeleportAction> <Position> <WorldPosition x="-9.4" y="-71.0" z="0.5" h="1.57079632679"/> </Position> </TeleportAction> </PrivateAction> </Private> <Private entityRef="standing"> <PrivateAction> <TeleportAction> <Position> <WorldPosition x="-8.2" y="29.2" z="0.5" h="1.57079632679"/> </Position> </TeleportAction> </PrivateAction> </Private> <Private entityRef="pedestrian_close_to_adversary_7444"> <PrivateAction> <TeleportAction> <Position> <WorldPosition x="-1.2880769968032837" y="-71.38923645019531" z="0.03381553664803505"/> </Position> </TeleportAction> </PrivateAction> </Private> <Private entityRef="pedestrian_close_to_standing_7445"> <PrivateAction> <TeleportAction> <Position> <WorldPosition x="-14.970252990722656" y="18.498502731323242" z="0.0030781554523855448"/> </Position> </TeleportAction> </PrivateAction> </Private> <Private entityRef="pedestrian_w_transform_7446"> <PrivateAction> <TeleportAction> <Position> <WorldPosition x="-41.20998001098633" y="57.28900146484375" z="0.5"/> </Position> </TeleportAction> </PrivateAction> </Private> <Private entityRef="pedestrian_close_to_adversary_7447"> <PrivateAction> <TeleportAction> <Position> <WorldPosition x="0.537863552570343" y="-78.82817840576172" z="0.03381591662764549"/> </Position> </TeleportAction> </PrivateAction> </Private> <Private entityRef="pedestrian_close_to_hero_7448"> <PrivateAction> <TeleportAction> <Position> <WorldPosition x="-7.629848480224609" y="-161.5950164794922" z="0.0014286803780123591"/> </Position> </TeleportAction> </PrivateAction> </Private> <Private entityRef="pedestrian_close_to_standing_7449"> <PrivateAction> <TeleportAction> <Position> <WorldPosition x="-15.967853546142578" y="25.737075805664062" z="0.0030792998149991035"/> </Position> </TeleportAction> </PrivateAction> </Private> <Private entityRef="pedestrian_close_to_hero_7450"> <PrivateAction> <TeleportAction> <Position> <WorldPosition x="-16.466402053833008" y="-147.07334899902344" z="0.0014286803780123591"/> </Position> </TeleportAction> </PrivateAction> </Private> <Private entityRef="pedestrian_close_to_hero_7452"> <PrivateAction> <TeleportAction> <Position> <WorldPosition x="-7.58785343170166" y="-143.6688995361328" z="0.0014286803780123591"/> </Position> </TeleportAction> </PrivateAction> </Private> <Private entityRef="pedestrian_close_to_hero_7453"> <PrivateAction> <TeleportAction> <Position> <WorldPosition x="-6.468804836273193" y="-156.60617065429688" z="0.0014286803780123591"/> </Position> </TeleportAction> </PrivateAction> </Private> <Private entityRef="pedestrian_w_transform_7454"> <PrivateAction> <TeleportAction> <Position> <WorldPosition x="77.950439453125" y="87.86011505126953" z="0.5"/> </Position> </TeleportAction> </PrivateAction> </Private> <Private entityRef="pedestrian_close_to_standing_7455"> <PrivateAction> <TeleportAction> <Position> <WorldPosition x="-9.659266471862793" y="38.41596221923828" z="0.0030619811732321978"/> </Position> </TeleportAction> </PrivateAction> </Private> <Private entityRef="pedestrian_close_to_hero_7456"> <PrivateAction> <TeleportAction> <Position> <WorldPosition x="-11.882148742675781" y="-147.03648376464844" z="0.0014286803780123591"/> </Position> </TeleportAction> </PrivateAction> </Private> <Private entityRef="pedestrian_w_transform_7457"> <PrivateAction> <TeleportAction> <Position> <WorldPosition x="-35.765892028808594" y="74.58718872070312" z="0.5"/> </Position> </TeleportAction> </PrivateAction> </Private> </Actions> </Init> <Story name="MyStory"> <Act name="Behavior"> <ManeuverGroup maximumExecutionCount="1" name="ManeuverSequence"> <Actors selectTriggeringEntities="false"> <EntityRef entityRef="adversary"/> </Actors> <Maneuver name="LaneChangeSimpleManeuver"> <Event name="AdversaryAccelerates" priority="overwrite"> <Action name="AdversaryAccelerates"> <PrivateAction> <LongitudinalAction> <SpeedAction> <SpeedActionDynamics dynamicsShape="step" value="50" dynamicsDimension="distance"/> <SpeedActionTarget> <AbsoluteTargetSpeed value="5.0"/> </SpeedActionTarget> </SpeedAction> </LongitudinalAction> </PrivateAction> </Action> <StartTrigger> <ConditionGroup> <Condition name="StartCondition" delay="0" conditionEdge="rising"> <ByEntityCondition> <TriggeringEntities triggeringEntitiesRule="any"> <EntityRef entityRef="hero"/> </TriggeringEntities> <EntityCondition> <RelativeDistanceCondition entityRef="adversary" relativeDistanceType="cartesianDistance" value="40.0" freespace="false" rule="lessThan"/> </EntityCondition> </ByEntityCondition> </Condition> </ConditionGroup> </StartTrigger> </Event> <Event name="AdversaryChangesLane" priority="overwrite"> <Action name="AdversaryChangesLane"> <PrivateAction> <LateralAction> <LaneChangeAction> <LaneChangeActionDynamics dynamicsShape="linear" value="25" dynamicsDimension="distance"/> <LaneChangeTarget> <RelativeTargetLane entityRef="adversary" value="-1"/> </LaneChangeTarget> </LaneChangeAction> </LateralAction> </PrivateAction> </Action> <StartTrigger> <ConditionGroup> <Condition name="AfterAdversaryAccelerates" delay="0" conditionEdge="rising"> <ByValueCondition> <StoryboardElementStateCondition storyboardElementType="action" storyboardElementRef="AdversaryAccelerates" state="completeState"/> </ByValueCondition> </Condition> </ConditionGroup> </StartTrigger> </Event> </Maneuver> </ManeuverGroup> <StartTrigger> <ConditionGroup> <Condition name="OverallStartCondition" delay="0" conditionEdge="rising"> <ByEntityCondition> <TriggeringEntities triggeringEntitiesRule="any"> <EntityRef entityRef="hero"/> </TriggeringEntities> <EntityCondition> <TraveledDistanceCondition value="1.0"/> </EntityCondition> </ByEntityCondition> </Condition> <Condition name="StartTime" delay="0" conditionEdge="rising"> <ByValueCondition> <SimulationTimeCondition value="0" rule="equalTo"/> </ByValueCondition> </Condition> </ConditionGroup> </StartTrigger> <StopTrigger> <ConditionGroup> <Condition name="EndCondition" delay="0" conditionEdge="rising"> <ByEntityCondition> <TriggeringEntities triggeringEntitiesRule="any"> <EntityRef entityRef="hero"/> </TriggeringEntities> <EntityCondition> <TraveledDistanceCondition value="200.0"/> </EntityCondition> </ByEntityCondition> </Condition> </ConditionGroup> </StopTrigger> </Act> </Story> <StopTrigger> <ConditionGroup> <Condition name="criteria_RunningStopTest" delay="0" conditionEdge="rising"> <ByValueCondition> <ParameterCondition parameterRef="" value="" rule="lessThan"/> </ByValueCondition> </Condition> <Condition name="criteria_RunningRedLightTest" delay="0" conditionEdge="rising"> <ByValueCondition> <ParameterCondition parameterRef="" value="" rule="lessThan"/> </ByValueCondition> </Condition> <Condition name="criteria_WrongLaneTest" delay="0" conditionEdge="rising"> <ByValueCondition> <ParameterCondition parameterRef="" value="" rule="lessThan"/> </ByValueCondition> </Condition> <Condition name="criteria_OnSidewalkTest" delay="0" conditionEdge="rising"> <ByValueCondition> <ParameterCondition parameterRef="" value="" rule="lessThan"/> </ByValueCondition> </Condition> <Condition name="criteria_KeepLaneTest" delay="0" conditionEdge="rising"> <ByValueCondition> <ParameterCondition parameterRef="" value="" rule="lessThan"/> </ByValueCondition> </Condition> <Condition name="criteria_CollisionTest" delay="0" conditionEdge="rising"> <ByValueCondition> <ParameterCondition parameterRef="" value="" rule="lessThan"/> </ByValueCondition> </Condition> <Condition name="criteria_DrivenDistanceTest" delay="0" conditionEdge="rising"> <ByValueCondition> <ParameterCondition parameterRef="distance_success" value="100" rule="lessThan"/> </ByValueCondition> </Condition> </ConditionGroup> </StopTrigger> </Storyboard> </OpenSCENARIO> ```
Here is the result: ``` <?xml version="1.0" ?> <OpenSCENARIO> <FileHeader revMajor="1" revMinor="0" date="2020-03-24T12:00:00" description="CARLA:LaneChangeSimple" author=""/> <ParameterDeclarations/> <CatalogLocations/> <RoadNetwork> <LogicFile filepath="Town04"/> <SceneGraphFile filepath=""/> </RoadNetwork> <Entities> <ScenarioObject name="hero"> <Vehicle name="vehicle.tesla.model3" vehicleCategory="car"> <ParameterDeclarations/> <Performance maxSpeed="69.444" maxAcceleration="200" maxDeceleration="10.0"/> <BoundingBox> <Center x="1.5" y="0.0" z="0.9"/> <Dimensions width="2.1" length="4.5" height="1.8"/> </BoundingBox> <Axles> <FrontAxle maxSteering="0.5" wheelDiameter="0.6" trackWidth="1.8" positionX="3.1" positionZ="0.3"/> <RearAxle maxSteering="0.0" wheelDiameter="0.6" trackWidth="1.8" positionX="0.0" positionZ="0.3"/> </Axles> <Properties> <Property name="type" value="ego_vehicle"/> </Properties> </Vehicle> </ScenarioObject> <ScenarioObject name="adversary"> <Vehicle name="vehicle.lincoln.mkz_2017" vehicleCategory="car"> <ParameterDeclarations/> <Performance maxSpeed="69.444" maxAcceleration="200" maxDeceleration="10.0"/> <BoundingBox> <Center x="1.5" y="0.0" z="0.9"/> <Dimensions width="2.1" length="4.5" height="1.8"/> </BoundingBox> <Axles> <FrontAxle maxSteering="0.5" wheelDiameter="0.6" trackWidth="1.8" positionX="3.1" positionZ="0.3"/> <RearAxle maxSteering="0.0" wheelDiameter="0.6" trackWidth="1.8" positionX="0.0" positionZ="0.3"/> </Axles> <Properties> <Property name="type" value="simulation"/> </Properties> </Vehicle> </ScenarioObject> <ScenarioObject name="standing"> <Vehicle name="vehicle.volkswagen.t2" vehicleCategory="car"> <ParameterDeclarations/> <Performance maxSpeed="69.444" maxAcceleration="200" maxDeceleration="10.0"/> <BoundingBox> <Center x="1.5" y="0.0" z="0.9"/> <Dimensions width="2.1" length="4.5" height="1.8"/> </BoundingBox> <Axles> <FrontAxle maxSteering="0.5" wheelDiameter="0.6" trackWidth="1.8" positionX="3.1" positionZ="0.3"/> <RearAxle maxSteering="0.0" wheelDiameter="0.6" trackWidth="1.8" positionX="0.0" positionZ="0.3"/> </Axles> <Properties> <Property name="type" value="simulation"/> </Properties> </Vehicle> </ScenarioObject> <ScenarioObject name="pedestrian_close_to_adversary_7444"> <Pedestrian model="walker.pedestrian.0001" mass="80" name="walker.pedestrian.0001" pedestrianCategory="pedestrian"> <ParameterDeclarations/> <BoundingBox> <Center x="1.5" y="0.0" z="0.9"/> <Dimensions width="2" length="2" height="2"/> </BoundingBox> <Properties> <Property name="type" value="simulation"/> </Properties> </Pedestrian> </ScenarioObject> <ScenarioObject name="pedestrian_close_to_standing_7445"> <Pedestrian model="walker.pedestrian.0001" mass="80" name="walker.pedestrian.0001" pedestrianCategory="pedestrian"> <ParameterDeclarations/> <BoundingBox> <Center x="1.5" y="0.0" z="0.9"/> <Dimensions width="2" length="2" height="2"/> </BoundingBox> <Properties> <Property name="type" value="simulation"/> </Properties> </Pedestrian> </ScenarioObject> <ScenarioObject name="pedestrian_w_transform_7446"> <Pedestrian model="walker.pedestrian.0001" mass="80" name="walker.pedestrian.0001" pedestrianCategory="pedestrian"> <ParameterDeclarations/> <BoundingBox> <Center x="1.5" y="0.0" z="0.9"/> <Dimensions width="2" length="2" height="2"/> </BoundingBox> <Properties> <Property name="type" value="simulation"/> </Properties> </Pedestrian> </ScenarioObject> <ScenarioObject name="pedestrian_close_to_adversary_7447"> <Pedestrian model="walker.pedestrian.0001" mass="80" name="walker.pedestrian.0001" pedestrianCategory="pedestrian"> <ParameterDeclarations/> <BoundingBox> <Center x="1.5" y="0.0" z="0.9"/> <Dimensions width="2" length="2" height="2"/> </BoundingBox> <Properties> <Property name="type" value="simulation"/> </Properties> </Pedestrian> </ScenarioObject> <ScenarioObject name="pedestrian_close_to_hero_7448"> <Pedestrian model="walker.pedestrian.0001" mass="80" name="walker.pedestrian.0001" pedestrianCategory="pedestrian"> <ParameterDeclarations/> <BoundingBox> <Center x="1.5" y="0.0" z="0.9"/> <Dimensions width="2" length="2" height="2"/> </BoundingBox> <Properties> <Property name="type" value="simulation"/> </Properties> </Pedestrian> </ScenarioObject> <ScenarioObject name="pedestrian_close_to_standing_7449"> <Pedestrian model="walker.pedestrian.0001" mass="80" name="walker.pedestrian.0001" pedestrianCategory="pedestrian"> <ParameterDeclarations/> <BoundingBox> <Center x="1.5" y="0.0" z="0.9"/> <Dimensions width="2" length="2" height="2"/> </BoundingBox> <Properties> <Property name="type" value="simulation"/> </Properties> </Pedestrian> </ScenarioObject> <ScenarioObject name="pedestrian_close_to_hero_7450"> <Pedestrian model="walker.pedestrian.0001" mass="80" name="walker.pedestrian.0001" pedestrianCategory="pedestrian"> <ParameterDeclarations/> <BoundingBox> <Center x="1.5" y="0.0" z="0.9"/> <Dimensions width="2" length="2" height="2"/> </BoundingBox> <Properties> <Property name="type" value="simulation"/> </Properties> </Pedestrian> </ScenarioObject> <ScenarioObject name="pedestrian_close_to_hero_7452"> <Pedestrian model="walker.pedestrian.0001" mass="80" name="walker.pedestrian.0001" pedestrianCategory="pedestrian"> <ParameterDeclarations/> <BoundingBox> <Center x="1.5" y="0.0" z="0.9"/> <Dimensions width="2" length="2" height="2"/> </BoundingBox> <Properties> <Property name="type" value="simulation"/> </Properties> </Pedestrian> </ScenarioObject> <ScenarioObject name="pedestrian_close_to_hero_7453"> <Pedestrian model="walker.pedestrian.0001" mass="80" name="walker.pedestrian.0001" pedestrianCategory="pedestrian"> <ParameterDeclarations/> <BoundingBox> <Center x="1.5" y="0.0" z="0.9"/> <Dimensions width="2" length="2" height="2"/> </BoundingBox> <Properties> <Property name="type" value="simulation"/> </Properties> </Pedestrian> </ScenarioObject> <ScenarioObject name="pedestrian_w_transform_7454"> <Pedestrian model="walker.pedestrian.0001" mass="80" name="walker.pedestrian.0001" pedestrianCategory="pedestrian"> <ParameterDeclarations/> <BoundingBox> <Center x="1.5" y="0.0" z="0.9"/> <Dimensions width="2" length="2" height="2"/> </BoundingBox> <Properties> <Property name="type" value="simulation"/> </Properties> </Pedestrian> </ScenarioObject> <ScenarioObject name="pedestrian_close_to_standing_7455"> <Pedestrian model="walker.pedestrian.0001" mass="80" name="walker.pedestrian.0001" pedestrianCategory="pedestrian"> <ParameterDeclarations/> <BoundingBox> <Center x="1.5" y="0.0" z="0.9"/> <Dimensions width="2" length="2" height="2"/> </BoundingBox> <Properties> <Property name="type" value="simulation"/> </Properties> </Pedestrian> </ScenarioObject> <ScenarioObject name="pedestrian_close_to_hero_7456"> <Pedestrian model="walker.pedestrian.0001" mass="80" name="walker.pedestrian.0001" pedestrianCategory="pedestrian"> <ParameterDeclarations/> <BoundingBox> <Center x="1.5" y="0.0" z="0.9"/> <Dimensions width="2" length="2" height="2"/> </BoundingBox> <Properties> <Property name="type" value="simulation"/> </Properties> </Pedestrian> </ScenarioObject> <ScenarioObject name="pedestrian_w_transform_7457"> <Pedestrian model="walker.pedestrian.0001" mass="80" name="walker.pedestrian.0001" pedestrianCategory="pedestrian"> <ParameterDeclarations/> <BoundingBox> <Center x="1.5" y="0.0" z="0.9"/> <Dimensions width="2" length="2" height="2"/> </BoundingBox> <Properties> <Property name="type" value="simulation"/> </Properties> </Pedestrian> </ScenarioObject> <ScenarioObject name="pedestrian_w_transform_7458"> <Pedestrian model="walker.pedestrian.0001" mass="80" name="walker.pedestrian.0001" pedestrianCategory="pedestrian"> <ParameterDeclarations/> <BoundingBox> <Center x="1.5" y="0.0" z="0.9"/> <Dimensions width="2" length="2" height="2"/> </BoundingBox> <Properties> <Property name="type" value="simulation"/> </Properties> </Pedestrian> </ScenarioObject> </Entities> <Storyboard> <Init> <Actions> <GlobalAction> <EnvironmentAction> <Environment name="Environment1"> <TimeOfDay animation="false" dateTime="2019-06-25T12:00:00"/> <Weather cloudState="free"> <Sun intensity="0.85" azimuth="0" elevation="1.31"/> <Fog visualRange="100000.0"/> <Precipitation precipitationType="dry" intensity="0.0"/> </Weather> <RoadCondition frictionScaleFactor="1.0"/> </Environment> </EnvironmentAction> </GlobalAction> <Private entityRef="hero"> <PrivateAction> <TeleportAction> <Position> <WorldPosition x="-9.4" y="-152.8" z="0.5" h="1.57079632679"/> </Position> </TeleportAction> </PrivateAction> <PrivateAction> <ControllerAction> <AssignControllerAction> <Controller name="HeroAgent"> <Properties> <Property name="module" value="external_control"/> </Properties> </Controller> </AssignControllerAction> <OverrideControllerValueAction> <Throttle value="0" active="false"/> <Brake value="0" active="false"/> <Clutch value="0" active="false"/> <ParkingBrake value="0" active="false"/> <SteeringWheel value="0" active="false"/> <Gear number="0" active="false"/> </OverrideControllerValueAction> </ControllerAction> </PrivateAction> </Private> <Private entityRef="adversary"> <PrivateAction> <TeleportAction> <Position> <WorldPosition x="-9.4" y="-71.0" z="0.5" h="1.57079632679"/> </Position> </TeleportAction> </PrivateAction> </Private> <Private entityRef="standing"> <PrivateAction> <TeleportAction> <Position> <WorldPosition x="-8.2" y="29.2" z="0.5" h="1.57079632679"/> </Position> </TeleportAction> </PrivateAction> </Private> <Private entityRef="pedestrian_close_to_adversary_7444"> <PrivateAction> <TeleportAction> <Position> <WorldPosition x="-1.2880769968032837" y="-71.38923645019531" z="0.03381553664803505"/> </Position> </TeleportAction> </PrivateAction> </Private> <Private entityRef="pedestrian_close_to_standing_7445"> <PrivateAction> <TeleportAction> <Position> <WorldPosition x="-14.970252990722656" y="18.498502731323242" z="0.0030781554523855448"/> </Position> </TeleportAction> </PrivateAction> </Private> <Private entityRef="pedestrian_w_transform_7446"> <PrivateAction> <TeleportAction> <Position> <WorldPosition x="-41.20998001098633" y="57.28900146484375" z="0.5"/> </Position> </TeleportAction> </PrivateAction> </Private> <Private entityRef="pedestrian_close_to_adversary_7447"> <PrivateAction> <TeleportAction> <Position> <WorldPosition x="0.537863552570343" y="-78.82817840576172" z="0.03381591662764549"/> </Position> </TeleportAction> </PrivateAction> </Private> <Private entityRef="pedestrian_close_to_hero_7448"> <PrivateAction> <TeleportAction> <Position> <WorldPosition x="-7.629848480224609" y="-161.5950164794922" z="0.0014286803780123591"/> </Position> </TeleportAction> </PrivateAction> </Private> <Private entityRef="pedestrian_close_to_standing_7449"> <PrivateAction> <TeleportAction> <Position> <WorldPosition x="-15.967853546142578" y="25.737075805664062" z="0.0030792998149991035"/> </Position> </TeleportAction> </PrivateAction> </Private> <Private entityRef="pedestrian_close_to_hero_7450"> <PrivateAction> <TeleportAction> <Position> <WorldPosition x="-16.466402053833008" y="-147.07334899902344" z="0.0014286803780123591"/> </Position> </TeleportAction> </PrivateAction> </Private> <Private entityRef="pedestrian_close_to_hero_7452"> <PrivateAction> <TeleportAction> <Position> <WorldPosition x="-7.58785343170166" y="-143.6688995361328" z="0.0014286803780123591"/> </Position> </TeleportAction> </PrivateAction> </Private> <Private entityRef="pedestrian_close_to_hero_7453"> <PrivateAction> <TeleportAction> <Position> <WorldPosition x="-6.468804836273193" y="-156.60617065429688" z="0.0014286803780123591"/> </Position> </TeleportAction> </PrivateAction> </Private> <Private entityRef="pedestrian_w_transform_7454"> <PrivateAction> <TeleportAction> <Position> <WorldPosition x="77.950439453125" y="87.86011505126953" z="0.5"/> </Position> </TeleportAction> </PrivateAction> </Private> <Private entityRef="pedestrian_close_to_standing_7455"> <PrivateAction> <TeleportAction> <Position> <WorldPosition x="-9.659266471862793" y="38.41596221923828" z="0.0030619811732321978"/> </Position> </TeleportAction> </PrivateAction> </Private> <Private entityRef="pedestrian_close_to_hero_7456"> <PrivateAction> <TeleportAction> <Position> <WorldPosition x="-11.882148742675781" y="-147.03648376464844" z="0.0014286803780123591"/> </Position> </TeleportAction> </PrivateAction> </Private> <Private entityRef="pedestrian_w_transform_7457"> <PrivateAction> <TeleportAction> <Position> <WorldPosition x="-35.765892028808594" y="74.58718872070312" z="0.5"/> </Position> </TeleportAction> </PrivateAction> </Private> <Private entityRef="pedestrian_w_transform_7458"> <PrivateAction> <TeleportAction> <Position> <WorldPosition x="-60.827754974365234" y="-47.65556716918945" z="0.5"/> </Position> </TeleportAction> </PrivateAction> </Private> </Actions> </Init> <Story name="MyStory"> <Act name="Behavior"> <ManeuverGroup maximumExecutionCount="1" name="ManeuverSequence"> <Actors selectTriggeringEntities="false"> <EntityRef entityRef="adversary"/> </Actors> <Maneuver name="LaneChangeSimpleManeuver"> <Event name="AdversaryAccelerates" priority="overwrite"> <Action name="AdversaryAccelerates"> <PrivateAction> <LongitudinalAction> <SpeedAction> <SpeedActionDynamics dynamicsShape="step" value="50" dynamicsDimension="distance"/> <SpeedActionTarget> <AbsoluteTargetSpeed value="5.0"/> </SpeedActionTarget> </SpeedAction> </LongitudinalAction> </PrivateAction> </Action> <StartTrigger> <ConditionGroup> <Condition name="StartCondition" delay="0" conditionEdge="rising"> <ByEntityCondition> <TriggeringEntities triggeringEntitiesRule="any"> <EntityRef entityRef="hero"/> </TriggeringEntities> <EntityCondition> <RelativeDistanceCondition entityRef="adversary" relativeDistanceType="cartesianDistance" value="40.0" freespace="false" rule="lessThan"/> </EntityCondition> </ByEntityCondition> </Condition> </ConditionGroup> </StartTrigger> </Event> <Event name="AdversaryChangesLane" priority="overwrite"> <Action name="AdversaryChangesLane"> <PrivateAction> <LateralAction> <LaneChangeAction> <LaneChangeActionDynamics dynamicsShape="linear" value="25" dynamicsDimension="distance"/> <LaneChangeTarget> <RelativeTargetLane entityRef="adversary" value="-1"/> </LaneChangeTarget> </LaneChangeAction> </LateralAction> </PrivateAction> </Action> <StartTrigger> <ConditionGroup> <Condition name="AfterAdversaryAccelerates" delay="0" conditionEdge="rising"> <ByValueCondition> <StoryboardElementStateCondition storyboardElementType="action" storyboardElementRef="AdversaryAccelerates" state="completeState"/> </ByValueCondition> </Condition> </ConditionGroup> </StartTrigger> </Event> </Maneuver> </ManeuverGroup> <StartTrigger> <ConditionGroup> <Condition name="OverallStartCondition" delay="0" conditionEdge="rising"> <ByEntityCondition> <TriggeringEntities triggeringEntitiesRule="any"> <EntityRef entityRef="hero"/> </TriggeringEntities> <EntityCondition> <TraveledDistanceCondition value="1.0"/> </EntityCondition> </ByEntityCondition> </Condition> <Condition name="StartTime" delay="0" conditionEdge="rising"> <ByValueCondition> <SimulationTimeCondition value="0" rule="equalTo"/> </ByValueCondition> </Condition> </ConditionGroup> </StartTrigger> <StopTrigger> <ConditionGroup> <Condition name="EndCondition" delay="0" conditionEdge="rising"> <ByEntityCondition> <TriggeringEntities triggeringEntitiesRule="any"> <EntityRef entityRef="hero"/> </TriggeringEntities> <EntityCondition> <TraveledDistanceCondition value="200.0"/> </EntityCondition> </ByEntityCondition> </Condition> </ConditionGroup> </StopTrigger> </Act> </Story> <StopTrigger> <ConditionGroup> <Condition name="criteria_RunningStopTest" delay="0" conditionEdge="rising"> <ByValueCondition> <ParameterCondition parameterRef="" value="" rule="lessThan"/> </ByValueCondition> </Condition> <Condition name="criteria_RunningRedLightTest" delay="0" conditionEdge="rising"> <ByValueCondition> <ParameterCondition parameterRef="" value="" rule="lessThan"/> </ByValueCondition> </Condition> <Condition name="criteria_WrongLaneTest" delay="0" conditionEdge="rising"> <ByValueCondition> <ParameterCondition parameterRef="" value="" rule="lessThan"/> </ByValueCondition> </Condition> <Condition name="criteria_OnSidewalkTest" delay="0" conditionEdge="rising"> <ByValueCondition> <ParameterCondition parameterRef="" value="" rule="lessThan"/> </ByValueCondition> </Condition> <Condition name="criteria_KeepLaneTest" delay="0" conditionEdge="rising"> <ByValueCondition> <ParameterCondition parameterRef="" value="" rule="lessThan"/> </ByValueCondition> </Condition> <Condition name="criteria_CollisionTest" delay="0" conditionEdge="rising"> <ByValueCondition> <ParameterCondition parameterRef="" value="" rule="lessThan"/> </ByValueCondition> </Condition> <Condition name="criteria_DrivenDistanceTest" delay="0" conditionEdge="rising"> <ByValueCondition> <ParameterCondition parameterRef="distance_success" value="100" rule="lessThan"/> </ByValueCondition> </Condition> </ConditionGroup> </StopTrigger> </Storyboard> </OpenSCENARIO> ```
i would like to tell you to add pedestrian close to adversary? ``` <?xml version="1.0" ?> <OpenSCENARIO> <FileHeader revMajor="1" revMinor="0" date="2020-03-24T12:00:00" description="CARLA:LaneChangeSimple" author=""/> <ParameterDeclarations/> <CatalogLocations/> <RoadNetwork> <LogicFile filepath="Town04"/> <SceneGraphFile filepath=""/> </RoadNetwork> <Entities> <ScenarioObject name="hero"> <Vehicle name="vehicle.tesla.model3" vehicleCategory="car"> <ParameterDeclarations/> <Performance maxSpeed="69.444" maxAcceleration="200" maxDeceleration="10.0"/> <BoundingBox> <Center x="1.5" y="0.0" z="0.9"/> <Dimensions width="2.1" length="4.5" height="1.8"/> </BoundingBox> <Axles> <FrontAxle maxSteering="0.5" wheelDiameter="0.6" trackWidth="1.8" positionX="3.1" positionZ="0.3"/> <RearAxle maxSteering="0.0" wheelDiameter="0.6" trackWidth="1.8" positionX="0.0" positionZ="0.3"/> </Axles> <Properties> <Property name="type" value="ego_vehicle"/> </Properties> </Vehicle> </ScenarioObject> <ScenarioObject name="adversary"> <Vehicle name="vehicle.lincoln.mkz_2017" vehicleCategory="car"> <ParameterDeclarations/> <Performance maxSpeed="69.444" maxAcceleration="200" maxDeceleration="10.0"/> <BoundingBox> <Center x="1.5" y="0.0" z="0.9"/> <Dimensions width="2.1" length="4.5" height="1.8"/> </BoundingBox> <Axles> <FrontAxle maxSteering="0.5" wheelDiameter="0.6" trackWidth="1.8" positionX="3.1" positionZ="0.3"/> <RearAxle maxSteering="0.0" wheelDiameter="0.6" trackWidth="1.8" positionX="0.0" positionZ="0.3"/> </Axles> <Properties> <Property name="type" value="simulation"/> </Properties> </Vehicle> </ScenarioObject> <ScenarioObject name="standing"> <Vehicle name="vehicle.volkswagen.t2" vehicleCategory="car"> <ParameterDeclarations/> <Performance maxSpeed="69.444" maxAcceleration="200" maxDeceleration="10.0"/> <BoundingBox> <Center x="1.5" y="0.0" z="0.9"/> <Dimensions width="2.1" length="4.5" height="1.8"/> </BoundingBox> <Axles> <FrontAxle maxSteering="0.5" wheelDiameter="0.6" trackWidth="1.8" positionX="3.1" positionZ="0.3"/> <RearAxle maxSteering="0.0" wheelDiameter="0.6" trackWidth="1.8" positionX="0.0" positionZ="0.3"/> </Axles> <Properties> <Property name="type" value="simulation"/> </Properties> </Vehicle> </ScenarioObject> <ScenarioObject name="pedestrian_close_to_standing_5611"> <Pedestrian model="walker.pedestrian.0001" mass="80" name="walker.pedestrian.0001" pedestrianCategory="pedestrian"> <ParameterDeclarations/> <BoundingBox> <Center x="1.5" y="0.0" z="0.9"/> <Dimensions width="2" length="2" height="2"/> </BoundingBox> <Properties> <Property name="type" value="simulation"/> </Properties> </Pedestrian> </ScenarioObject> </Entities> <Storyboard> <Init> <Actions> <GlobalAction> <EnvironmentAction> <Environment name="Environment1"> <TimeOfDay animation="false" dateTime="2019-06-25T12:00:00"/> <Weather cloudState="free"> <Sun intensity="0.85" azimuth="0" elevation="1.31"/> <Fog visualRange="100000.0"/> <Precipitation precipitationType="dry" intensity="0.0"/> </Weather> <RoadCondition frictionScaleFactor="1.0"/> </Environment> </EnvironmentAction> </GlobalAction> <Private entityRef="hero"> <PrivateAction> <TeleportAction> <Position> <WorldPosition x="-9.4" y="-152.8" z="0.5" h="1.57079632679"/> </Position> </TeleportAction> </PrivateAction> <PrivateAction> <ControllerAction> <AssignControllerAction> <Controller name="HeroAgent"> <Properties> <Property name="module" value="external_control"/> </Properties> </Controller> </AssignControllerAction> <OverrideControllerValueAction> <Throttle value="0" active="false"/> <Brake value="0" active="false"/> <Clutch value="0" active="false"/> <ParkingBrake value="0" active="false"/> <SteeringWheel value="0" active="false"/> <Gear number="0" active="false"/> </OverrideControllerValueAction> </ControllerAction> </PrivateAction> </Private> <Private entityRef="adversary"> <PrivateAction> <TeleportAction> <Position> <WorldPosition x="-9.4" y="-71.0" z="0.5" h="1.57079632679"/> </Position> </TeleportAction> </PrivateAction> </Private> <Private entityRef="standing"> <PrivateAction> <TeleportAction> <Position> <WorldPosition x="-8.2" y="29.2" z="0.5" h="1.57079632679"/> </Position> </TeleportAction> </PrivateAction> </Private> <Private entityRef="pedestrian_close_to_standing_5611"> <PrivateAction> <TeleportAction> <Position> <WorldPosition x="-16.75170135498047" y="33.45148468017578" z="0.0030302810482680798"/> </Position> </TeleportAction> </PrivateAction> </Private> </Actions> </Init> <Story name="MyStory"> <Act name="Behavior"> <ManeuverGroup maximumExecutionCount="1" name="ManeuverSequence"> <Actors selectTriggeringEntities="false"> <EntityRef entityRef="adversary"/> </Actors> <Maneuver name="LaneChangeSimpleManeuver"> <Event name="AdversaryAccelerates" priority="overwrite"> <Action name="AdversaryAccelerates"> <PrivateAction> <LongitudinalAction> <SpeedAction> <SpeedActionDynamics dynamicsShape="step" value="50" dynamicsDimension="distance"/> <SpeedActionTarget> <AbsoluteTargetSpeed value="5.0"/> </SpeedActionTarget> </SpeedAction> </LongitudinalAction> </PrivateAction> </Action> <StartTrigger> <ConditionGroup> <Condition name="StartCondition" delay="0" conditionEdge="rising"> <ByEntityCondition> <TriggeringEntities triggeringEntitiesRule="any"> <EntityRef entityRef="hero"/> </TriggeringEntities> <EntityCondition> <RelativeDistanceCondition entityRef="adversary" relativeDistanceType="cartesianDistance" value="40.0" freespace="false" rule="lessThan"/> </EntityCondition> </ByEntityCondition> </Condition> </ConditionGroup> </StartTrigger> </Event> <Event name="AdversaryChangesLane" priority="overwrite"> <Action name="AdversaryChangesLane"> <PrivateAction> <LateralAction> <LaneChangeAction> <LaneChangeActionDynamics dynamicsShape="linear" value="25" dynamicsDimension="distance"/> <LaneChangeTarget> <RelativeTargetLane entityRef="adversary" value="-1"/> </LaneChangeTarget> </LaneChangeAction> </LateralAction> </PrivateAction> </Action> <StartTrigger> <ConditionGroup> <Condition name="AfterAdversaryAccelerates" delay="0" conditionEdge="rising"> <ByValueCondition> <StoryboardElementStateCondition storyboardElementType="action" storyboardElementRef="AdversaryAccelerates" state="completeState"/> </ByValueCondition> </Condition> </ConditionGroup> </StartTrigger> </Event> </Maneuver> </ManeuverGroup> <StartTrigger> <ConditionGroup> <Condition name="OverallStartCondition" delay="0" conditionEdge="rising"> <ByEntityCondition> <TriggeringEntities triggeringEntitiesRule="any"> <EntityRef entityRef="hero"/> </TriggeringEntities> <EntityCondition> <TraveledDistanceCondition value="1.0"/> </EntityCondition> </ByEntityCondition> </Condition> <Condition name="StartTime" delay="0" conditionEdge="rising"> <ByValueCondition> <SimulationTimeCondition value="0" rule="equalTo"/> </ByValueCondition> </Condition> </ConditionGroup> </StartTrigger> <StopTrigger> <ConditionGroup> <Condition name="EndCondition" delay="0" conditionEdge="rising"> <ByEntityCondition> <TriggeringEntities triggeringEntitiesRule="any"> <EntityRef entityRef="hero"/> </TriggeringEntities> <EntityCondition> <TraveledDistanceCondition value="200.0"/> </EntityCondition> </ByEntityCondition> </Condition> </ConditionGroup> </StopTrigger> </Act> </Story> <StopTrigger> <ConditionGroup> <Condition name="criteria_RunningStopTest" delay="0" conditionEdge="rising"> <ByValueCondition> <ParameterCondition parameterRef="" value="" rule="lessThan"/> </ByValueCondition> </Condition> <Condition name="criteria_RunningRedLightTest" delay="0" conditionEdge="rising"> <ByValueCondition> <ParameterCondition parameterRef="" value="" rule="lessThan"/> </ByValueCondition> </Condition> <Condition name="criteria_WrongLaneTest" delay="0" conditionEdge="rising"> <ByValueCondition> <ParameterCondition parameterRef="" value="" rule="lessThan"/> </ByValueCondition> </Condition> <Condition name="criteria_OnSidewalkTest" delay="0" conditionEdge="rising"> <ByValueCondition> <ParameterCondition parameterRef="" value="" rule="lessThan"/> </ByValueCondition> </Condition> <Condition name="criteria_KeepLaneTest" delay="0" conditionEdge="rising"> <ByValueCondition> <ParameterCondition parameterRef="" value="" rule="lessThan"/> </ByValueCondition> </Condition> <Condition name="criteria_CollisionTest" delay="0" conditionEdge="rising"> <ByValueCondition> <ParameterCondition parameterRef="" value="" rule="lessThan"/> </ByValueCondition> </Condition> <Condition name="criteria_DrivenDistanceTest" delay="0" conditionEdge="rising"> <ByValueCondition> <ParameterCondition parameterRef="distance_success" value="100" rule="lessThan"/> </ByValueCondition> </Condition> </ConditionGroup> </StopTrigger> </Storyboard> </OpenSCENARIO> ```
Here is the result: ``` <?xml version="1.0" ?> <OpenSCENARIO> <FileHeader revMajor="1" revMinor="0" date="2020-03-24T12:00:00" description="CARLA:LaneChangeSimple" author=""/> <ParameterDeclarations/> <CatalogLocations/> <RoadNetwork> <LogicFile filepath="Town04"/> <SceneGraphFile filepath=""/> </RoadNetwork> <Entities> <ScenarioObject name="hero"> <Vehicle name="vehicle.tesla.model3" vehicleCategory="car"> <ParameterDeclarations/> <Performance maxSpeed="69.444" maxAcceleration="200" maxDeceleration="10.0"/> <BoundingBox> <Center x="1.5" y="0.0" z="0.9"/> <Dimensions width="2.1" length="4.5" height="1.8"/> </BoundingBox> <Axles> <FrontAxle maxSteering="0.5" wheelDiameter="0.6" trackWidth="1.8" positionX="3.1" positionZ="0.3"/> <RearAxle maxSteering="0.0" wheelDiameter="0.6" trackWidth="1.8" positionX="0.0" positionZ="0.3"/> </Axles> <Properties> <Property name="type" value="ego_vehicle"/> </Properties> </Vehicle> </ScenarioObject> <ScenarioObject name="adversary"> <Vehicle name="vehicle.lincoln.mkz_2017" vehicleCategory="car"> <ParameterDeclarations/> <Performance maxSpeed="69.444" maxAcceleration="200" maxDeceleration="10.0"/> <BoundingBox> <Center x="1.5" y="0.0" z="0.9"/> <Dimensions width="2.1" length="4.5" height="1.8"/> </BoundingBox> <Axles> <FrontAxle maxSteering="0.5" wheelDiameter="0.6" trackWidth="1.8" positionX="3.1" positionZ="0.3"/> <RearAxle maxSteering="0.0" wheelDiameter="0.6" trackWidth="1.8" positionX="0.0" positionZ="0.3"/> </Axles> <Properties> <Property name="type" value="simulation"/> </Properties> </Vehicle> </ScenarioObject> <ScenarioObject name="standing"> <Vehicle name="vehicle.volkswagen.t2" vehicleCategory="car"> <ParameterDeclarations/> <Performance maxSpeed="69.444" maxAcceleration="200" maxDeceleration="10.0"/> <BoundingBox> <Center x="1.5" y="0.0" z="0.9"/> <Dimensions width="2.1" length="4.5" height="1.8"/> </BoundingBox> <Axles> <FrontAxle maxSteering="0.5" wheelDiameter="0.6" trackWidth="1.8" positionX="3.1" positionZ="0.3"/> <RearAxle maxSteering="0.0" wheelDiameter="0.6" trackWidth="1.8" positionX="0.0" positionZ="0.3"/> </Axles> <Properties> <Property name="type" value="simulation"/> </Properties> </Vehicle> </ScenarioObject> <ScenarioObject name="pedestrian_close_to_standing_5611"> <Pedestrian model="walker.pedestrian.0001" mass="80" name="walker.pedestrian.0001" pedestrianCategory="pedestrian"> <ParameterDeclarations/> <BoundingBox> <Center x="1.5" y="0.0" z="0.9"/> <Dimensions width="2" length="2" height="2"/> </BoundingBox> <Properties> <Property name="type" value="simulation"/> </Properties> </Pedestrian> </ScenarioObject> <ScenarioObject name="pedestrian_close_to_adversary_5612"> <Pedestrian model="walker.pedestrian.0001" mass="80" name="walker.pedestrian.0001" pedestrianCategory="pedestrian"> <ParameterDeclarations/> <BoundingBox> <Center x="1.5" y="0.0" z="0.9"/> <Dimensions width="2" length="2" height="2"/> </BoundingBox> <Properties> <Property name="type" value="simulation"/> </Properties> </Pedestrian> </ScenarioObject> </Entities> <Storyboard> <Init> <Actions> <GlobalAction> <EnvironmentAction> <Environment name="Environment1"> <TimeOfDay animation="false" dateTime="2019-06-25T12:00:00"/> <Weather cloudState="free"> <Sun intensity="0.85" azimuth="0" elevation="1.31"/> <Fog visualRange="100000.0"/> <Precipitation precipitationType="dry" intensity="0.0"/> </Weather> <RoadCondition frictionScaleFactor="1.0"/> </Environment> </EnvironmentAction> </GlobalAction> <Private entityRef="hero"> <PrivateAction> <TeleportAction> <Position> <WorldPosition x="-9.4" y="-152.8" z="0.5" h="1.57079632679"/> </Position> </TeleportAction> </PrivateAction> <PrivateAction> <ControllerAction> <AssignControllerAction> <Controller name="HeroAgent"> <Properties> <Property name="module" value="external_control"/> </Properties> </Controller> </AssignControllerAction> <OverrideControllerValueAction> <Throttle value="0" active="false"/> <Brake value="0" active="false"/> <Clutch value="0" active="false"/> <ParkingBrake value="0" active="false"/> <SteeringWheel value="0" active="false"/> <Gear number="0" active="false"/> </OverrideControllerValueAction> </ControllerAction> </PrivateAction> </Private> <Private entityRef="adversary"> <PrivateAction> <TeleportAction> <Position> <WorldPosition x="-9.4" y="-71.0" z="0.5" h="1.57079632679"/> </Position> </TeleportAction> </PrivateAction> </Private> <Private entityRef="standing"> <PrivateAction> <TeleportAction> <Position> <WorldPosition x="-8.2" y="29.2" z="0.5" h="1.57079632679"/> </Position> </TeleportAction> </PrivateAction> </Private> <Private entityRef="pedestrian_close_to_standing_5611"> <PrivateAction> <TeleportAction> <Position> <WorldPosition x="-16.75170135498047" y="33.45148468017578" z="0.0030302810482680798"/> </Position> </TeleportAction> </PrivateAction> </Private> <Private entityRef="pedestrian_close_to_adversary_5612"> <PrivateAction> <TeleportAction> <Position> <WorldPosition x="-12.317008972167969" y="-78.24867248535156" z="0.03377776965498924"/> </Position> </TeleportAction> </PrivateAction> </Private> </Actions> </Init> <Story name="MyStory"> <Act name="Behavior"> <ManeuverGroup maximumExecutionCount="1" name="ManeuverSequence"> <Actors selectTriggeringEntities="false"> <EntityRef entityRef="adversary"/> </Actors> <Maneuver name="LaneChangeSimpleManeuver"> <Event name="AdversaryAccelerates" priority="overwrite"> <Action name="AdversaryAccelerates"> <PrivateAction> <LongitudinalAction> <SpeedAction> <SpeedActionDynamics dynamicsShape="step" value="50" dynamicsDimension="distance"/> <SpeedActionTarget> <AbsoluteTargetSpeed value="5.0"/> </SpeedActionTarget> </SpeedAction> </LongitudinalAction> </PrivateAction> </Action> <StartTrigger> <ConditionGroup> <Condition name="StartCondition" delay="0" conditionEdge="rising"> <ByEntityCondition> <TriggeringEntities triggeringEntitiesRule="any"> <EntityRef entityRef="hero"/> </TriggeringEntities> <EntityCondition> <RelativeDistanceCondition entityRef="adversary" relativeDistanceType="cartesianDistance" value="40.0" freespace="false" rule="lessThan"/> </EntityCondition> </ByEntityCondition> </Condition> </ConditionGroup> </StartTrigger> </Event> <Event name="AdversaryChangesLane" priority="overwrite"> <Action name="AdversaryChangesLane"> <PrivateAction> <LateralAction> <LaneChangeAction> <LaneChangeActionDynamics dynamicsShape="linear" value="25" dynamicsDimension="distance"/> <LaneChangeTarget> <RelativeTargetLane entityRef="adversary" value="-1"/> </LaneChangeTarget> </LaneChangeAction> </LateralAction> </PrivateAction> </Action> <StartTrigger> <ConditionGroup> <Condition name="AfterAdversaryAccelerates" delay="0" conditionEdge="rising"> <ByValueCondition> <StoryboardElementStateCondition storyboardElementType="action" storyboardElementRef="AdversaryAccelerates" state="completeState"/> </ByValueCondition> </Condition> </ConditionGroup> </StartTrigger> </Event> </Maneuver> </ManeuverGroup> <StartTrigger> <ConditionGroup> <Condition name="OverallStartCondition" delay="0" conditionEdge="rising"> <ByEntityCondition> <TriggeringEntities triggeringEntitiesRule="any"> <EntityRef entityRef="hero"/> </TriggeringEntities> <EntityCondition> <TraveledDistanceCondition value="1.0"/> </EntityCondition> </ByEntityCondition> </Condition> <Condition name="StartTime" delay="0" conditionEdge="rising"> <ByValueCondition> <SimulationTimeCondition value="0" rule="equalTo"/> </ByValueCondition> </Condition> </ConditionGroup> </StartTrigger> <StopTrigger> <ConditionGroup> <Condition name="EndCondition" delay="0" conditionEdge="rising"> <ByEntityCondition> <TriggeringEntities triggeringEntitiesRule="any"> <EntityRef entityRef="hero"/> </TriggeringEntities> <EntityCondition> <TraveledDistanceCondition value="200.0"/> </EntityCondition> </ByEntityCondition> </Condition> </ConditionGroup> </StopTrigger> </Act> </Story> <StopTrigger> <ConditionGroup> <Condition name="criteria_RunningStopTest" delay="0" conditionEdge="rising"> <ByValueCondition> <ParameterCondition parameterRef="" value="" rule="lessThan"/> </ByValueCondition> </Condition> <Condition name="criteria_RunningRedLightTest" delay="0" conditionEdge="rising"> <ByValueCondition> <ParameterCondition parameterRef="" value="" rule="lessThan"/> </ByValueCondition> </Condition> <Condition name="criteria_WrongLaneTest" delay="0" conditionEdge="rising"> <ByValueCondition> <ParameterCondition parameterRef="" value="" rule="lessThan"/> </ByValueCondition> </Condition> <Condition name="criteria_OnSidewalkTest" delay="0" conditionEdge="rising"> <ByValueCondition> <ParameterCondition parameterRef="" value="" rule="lessThan"/> </ByValueCondition> </Condition> <Condition name="criteria_KeepLaneTest" delay="0" conditionEdge="rising"> <ByValueCondition> <ParameterCondition parameterRef="" value="" rule="lessThan"/> </ByValueCondition> </Condition> <Condition name="criteria_CollisionTest" delay="0" conditionEdge="rising"> <ByValueCondition> <ParameterCondition parameterRef="" value="" rule="lessThan"/> </ByValueCondition> </Condition> <Condition name="criteria_DrivenDistanceTest" delay="0" conditionEdge="rising"> <ByValueCondition> <ParameterCondition parameterRef="distance_success" value="100" rule="lessThan"/> </ByValueCondition> </Condition> </ConditionGroup> </StopTrigger> </Storyboard> </OpenSCENARIO> ```
i would like you to add pedestrian at location (-2.89, 90.02, 0.5)? ``` <?xml version="1.0" ?> <OpenSCENARIO> <FileHeader revMajor="1" revMinor="0" date="2020-03-24T12:00:00" description="CARLA:LaneChangeSimple" author=""/> <ParameterDeclarations/> <CatalogLocations/> <RoadNetwork> <LogicFile filepath="Town04"/> <SceneGraphFile filepath=""/> </RoadNetwork> <Entities> <ScenarioObject name="hero"> <Vehicle name="vehicle.tesla.model3" vehicleCategory="car"> <ParameterDeclarations/> <Performance maxSpeed="69.444" maxAcceleration="200" maxDeceleration="10.0"/> <BoundingBox> <Center x="1.5" y="0.0" z="0.9"/> <Dimensions width="2.1" length="4.5" height="1.8"/> </BoundingBox> <Axles> <FrontAxle maxSteering="0.5" wheelDiameter="0.6" trackWidth="1.8" positionX="3.1" positionZ="0.3"/> <RearAxle maxSteering="0.0" wheelDiameter="0.6" trackWidth="1.8" positionX="0.0" positionZ="0.3"/> </Axles> <Properties> <Property name="type" value="ego_vehicle"/> </Properties> </Vehicle> </ScenarioObject> <ScenarioObject name="adversary"> <Vehicle name="vehicle.lincoln.mkz_2017" vehicleCategory="car"> <ParameterDeclarations/> <Performance maxSpeed="69.444" maxAcceleration="200" maxDeceleration="10.0"/> <BoundingBox> <Center x="1.5" y="0.0" z="0.9"/> <Dimensions width="2.1" length="4.5" height="1.8"/> </BoundingBox> <Axles> <FrontAxle maxSteering="0.5" wheelDiameter="0.6" trackWidth="1.8" positionX="3.1" positionZ="0.3"/> <RearAxle maxSteering="0.0" wheelDiameter="0.6" trackWidth="1.8" positionX="0.0" positionZ="0.3"/> </Axles> <Properties> <Property name="type" value="simulation"/> </Properties> </Vehicle> </ScenarioObject> <ScenarioObject name="standing"> <Vehicle name="vehicle.volkswagen.t2" vehicleCategory="car"> <ParameterDeclarations/> <Performance maxSpeed="69.444" maxAcceleration="200" maxDeceleration="10.0"/> <BoundingBox> <Center x="1.5" y="0.0" z="0.9"/> <Dimensions width="2.1" length="4.5" height="1.8"/> </BoundingBox> <Axles> <FrontAxle maxSteering="0.5" wheelDiameter="0.6" trackWidth="1.8" positionX="3.1" positionZ="0.3"/> <RearAxle maxSteering="0.0" wheelDiameter="0.6" trackWidth="1.8" positionX="0.0" positionZ="0.3"/> </Axles> <Properties> <Property name="type" value="simulation"/> </Properties> </Vehicle> </ScenarioObject> <ScenarioObject name="pedestrian_close_to_hero_2156"> <Pedestrian model="walker.pedestrian.0001" mass="80" name="walker.pedestrian.0001" pedestrianCategory="pedestrian"> <ParameterDeclarations/> <BoundingBox> <Center x="1.5" y="0.0" z="0.9"/> <Dimensions width="2" length="2" height="2"/> </BoundingBox> <Properties> <Property name="type" value="simulation"/> </Properties> </Pedestrian> </ScenarioObject> <ScenarioObject name="pedestrian_w_transform_2157"> <Pedestrian model="walker.pedestrian.0001" mass="80" name="walker.pedestrian.0001" pedestrianCategory="pedestrian"> <ParameterDeclarations/> <BoundingBox> <Center x="1.5" y="0.0" z="0.9"/> <Dimensions width="2" length="2" height="2"/> </BoundingBox> <Properties> <Property name="type" value="simulation"/> </Properties> </Pedestrian> </ScenarioObject> <ScenarioObject name="pedestrian_w_transform_2158"> <Pedestrian model="walker.pedestrian.0001" mass="80" name="walker.pedestrian.0001" pedestrianCategory="pedestrian"> <ParameterDeclarations/> <BoundingBox> <Center x="1.5" y="0.0" z="0.9"/> <Dimensions width="2" length="2" height="2"/> </BoundingBox> <Properties> <Property name="type" value="simulation"/> </Properties> </Pedestrian> </ScenarioObject> <ScenarioObject name="pedestrian_w_transform_2159"> <Pedestrian model="walker.pedestrian.0001" mass="80" name="walker.pedestrian.0001" pedestrianCategory="pedestrian"> <ParameterDeclarations/> <BoundingBox> <Center x="1.5" y="0.0" z="0.9"/> <Dimensions width="2" length="2" height="2"/> </BoundingBox> <Properties> <Property name="type" value="simulation"/> </Properties> </Pedestrian> </ScenarioObject> <ScenarioObject name="pedestrian_close_to_standing_2160"> <Pedestrian model="walker.pedestrian.0001" mass="80" name="walker.pedestrian.0001" pedestrianCategory="pedestrian"> <ParameterDeclarations/> <BoundingBox> <Center x="1.5" y="0.0" z="0.9"/> <Dimensions width="2" length="2" height="2"/> </BoundingBox> <Properties> <Property name="type" value="simulation"/> </Properties> </Pedestrian> </ScenarioObject> <ScenarioObject name="pedestrian_w_transform_2161"> <Pedestrian model="walker.pedestrian.0001" mass="80" name="walker.pedestrian.0001" pedestrianCategory="pedestrian"> <ParameterDeclarations/> <BoundingBox> <Center x="1.5" y="0.0" z="0.9"/> <Dimensions width="2" length="2" height="2"/> </BoundingBox> <Properties> <Property name="type" value="simulation"/> </Properties> </Pedestrian> </ScenarioObject> </Entities> <Storyboard> <Init> <Actions> <GlobalAction> <EnvironmentAction> <Environment name="Environment1"> <TimeOfDay animation="false" dateTime="2019-06-25T12:00:00"/> <Weather cloudState="free"> <Sun intensity="0.85" azimuth="0" elevation="1.31"/> <Fog visualRange="100000.0"/> <Precipitation precipitationType="dry" intensity="0.0"/> </Weather> <RoadCondition frictionScaleFactor="1.0"/> </Environment> </EnvironmentAction> </GlobalAction> <Private entityRef="hero"> <PrivateAction> <TeleportAction> <Position> <WorldPosition x="-9.4" y="-152.8" z="0.5" h="1.57079632679"/> </Position> </TeleportAction> </PrivateAction> <PrivateAction> <ControllerAction> <AssignControllerAction> <Controller name="HeroAgent"> <Properties> <Property name="module" value="external_control"/> </Properties> </Controller> </AssignControllerAction> <OverrideControllerValueAction> <Throttle value="0" active="false"/> <Brake value="0" active="false"/> <Clutch value="0" active="false"/> <ParkingBrake value="0" active="false"/> <SteeringWheel value="0" active="false"/> <Gear number="0" active="false"/> </OverrideControllerValueAction> </ControllerAction> </PrivateAction> </Private> <Private entityRef="adversary"> <PrivateAction> <TeleportAction> <Position> <WorldPosition x="-9.4" y="-71.0" z="0.5" h="1.57079632679"/> </Position> </TeleportAction> </PrivateAction> </Private> <Private entityRef="standing"> <PrivateAction> <TeleportAction> <Position> <WorldPosition x="-8.2" y="29.2" z="0.5" h="1.57079632679"/> </Position> </TeleportAction> </PrivateAction> </Private> <Private entityRef="pedestrian_close_to_hero_2156"> <PrivateAction> <TeleportAction> <Position> <WorldPosition x="3.792800188064575" y="-147.44180297851562" z="0.0014286803780123591"/> </Position> </TeleportAction> </PrivateAction> </Private> <Private entityRef="pedestrian_w_transform_2157"> <PrivateAction> <TeleportAction> <Position> <WorldPosition x="74.97978210449219" y="42.052825927734375" z="0.5"/> </Position> </TeleportAction> </PrivateAction> </Private> <Private entityRef="pedestrian_w_transform_2158"> <PrivateAction> <TeleportAction> <Position> <WorldPosition x="-36.80466079711914" y="69.0248031616211" z="0.5"/> </Position> </TeleportAction> </PrivateAction> </Private> <Private entityRef="pedestrian_w_transform_2159"> <PrivateAction> <TeleportAction> <Position> <WorldPosition x="74.88525390625" y="10.16285228729248" z="0.5"/> </Position> </TeleportAction> </PrivateAction> </Private> <Private entityRef="pedestrian_close_to_standing_2160"> <PrivateAction> <TeleportAction> <Position> <WorldPosition x="-6.151708602905273" y="33.514915466308594" z="0.003042030381038785"/> </Position> </TeleportAction> </PrivateAction> </Private> <Private entityRef="pedestrian_w_transform_2161"> <PrivateAction> <TeleportAction> <Position> <WorldPosition x="-48.39098358154297" y="52.39015197753906" z="0.5"/> </Position> </TeleportAction> </PrivateAction> </Private> </Actions> </Init> <Story name="MyStory"> <Act name="Behavior"> <ManeuverGroup maximumExecutionCount="1" name="ManeuverSequence"> <Actors selectTriggeringEntities="false"> <EntityRef entityRef="adversary"/> </Actors> <Maneuver name="LaneChangeSimpleManeuver"> <Event name="AdversaryAccelerates" priority="overwrite"> <Action name="AdversaryAccelerates"> <PrivateAction> <LongitudinalAction> <SpeedAction> <SpeedActionDynamics dynamicsShape="step" value="50" dynamicsDimension="distance"/> <SpeedActionTarget> <AbsoluteTargetSpeed value="5.0"/> </SpeedActionTarget> </SpeedAction> </LongitudinalAction> </PrivateAction> </Action> <StartTrigger> <ConditionGroup> <Condition name="StartCondition" delay="0" conditionEdge="rising"> <ByEntityCondition> <TriggeringEntities triggeringEntitiesRule="any"> <EntityRef entityRef="hero"/> </TriggeringEntities> <EntityCondition> <RelativeDistanceCondition entityRef="adversary" relativeDistanceType="cartesianDistance" value="40.0" freespace="false" rule="lessThan"/> </EntityCondition> </ByEntityCondition> </Condition> </ConditionGroup> </StartTrigger> </Event> <Event name="AdversaryChangesLane" priority="overwrite"> <Action name="AdversaryChangesLane"> <PrivateAction> <LateralAction> <LaneChangeAction> <LaneChangeActionDynamics dynamicsShape="linear" value="25" dynamicsDimension="distance"/> <LaneChangeTarget> <RelativeTargetLane entityRef="adversary" value="-1"/> </LaneChangeTarget> </LaneChangeAction> </LateralAction> </PrivateAction> </Action> <StartTrigger> <ConditionGroup> <Condition name="AfterAdversaryAccelerates" delay="0" conditionEdge="rising"> <ByValueCondition> <StoryboardElementStateCondition storyboardElementType="action" storyboardElementRef="AdversaryAccelerates" state="completeState"/> </ByValueCondition> </Condition> </ConditionGroup> </StartTrigger> </Event> </Maneuver> </ManeuverGroup> <StartTrigger> <ConditionGroup> <Condition name="OverallStartCondition" delay="0" conditionEdge="rising"> <ByEntityCondition> <TriggeringEntities triggeringEntitiesRule="any"> <EntityRef entityRef="hero"/> </TriggeringEntities> <EntityCondition> <TraveledDistanceCondition value="1.0"/> </EntityCondition> </ByEntityCondition> </Condition> <Condition name="StartTime" delay="0" conditionEdge="rising"> <ByValueCondition> <SimulationTimeCondition value="0" rule="equalTo"/> </ByValueCondition> </Condition> </ConditionGroup> </StartTrigger> <StopTrigger> <ConditionGroup> <Condition name="EndCondition" delay="0" conditionEdge="rising"> <ByEntityCondition> <TriggeringEntities triggeringEntitiesRule="any"> <EntityRef entityRef="hero"/> </TriggeringEntities> <EntityCondition> <TraveledDistanceCondition value="200.0"/> </EntityCondition> </ByEntityCondition> </Condition> </ConditionGroup> </StopTrigger> </Act> </Story> <StopTrigger> <ConditionGroup> <Condition name="criteria_RunningStopTest" delay="0" conditionEdge="rising"> <ByValueCondition> <ParameterCondition parameterRef="" value="" rule="lessThan"/> </ByValueCondition> </Condition> <Condition name="criteria_RunningRedLightTest" delay="0" conditionEdge="rising"> <ByValueCondition> <ParameterCondition parameterRef="" value="" rule="lessThan"/> </ByValueCondition> </Condition> <Condition name="criteria_WrongLaneTest" delay="0" conditionEdge="rising"> <ByValueCondition> <ParameterCondition parameterRef="" value="" rule="lessThan"/> </ByValueCondition> </Condition> <Condition name="criteria_OnSidewalkTest" delay="0" conditionEdge="rising"> <ByValueCondition> <ParameterCondition parameterRef="" value="" rule="lessThan"/> </ByValueCondition> </Condition> <Condition name="criteria_KeepLaneTest" delay="0" conditionEdge="rising"> <ByValueCondition> <ParameterCondition parameterRef="" value="" rule="lessThan"/> </ByValueCondition> </Condition> <Condition name="criteria_CollisionTest" delay="0" conditionEdge="rising"> <ByValueCondition> <ParameterCondition parameterRef="" value="" rule="lessThan"/> </ByValueCondition> </Condition> <Condition name="criteria_DrivenDistanceTest" delay="0" conditionEdge="rising"> <ByValueCondition> <ParameterCondition parameterRef="distance_success" value="100" rule="lessThan"/> </ByValueCondition> </Condition> </ConditionGroup> </StopTrigger> </Storyboard> </OpenSCENARIO> ```
Here is the result: ``` <?xml version="1.0" ?> <OpenSCENARIO> <FileHeader revMajor="1" revMinor="0" date="2020-03-24T12:00:00" description="CARLA:LaneChangeSimple" author=""/> <ParameterDeclarations/> <CatalogLocations/> <RoadNetwork> <LogicFile filepath="Town04"/> <SceneGraphFile filepath=""/> </RoadNetwork> <Entities> <ScenarioObject name="hero"> <Vehicle name="vehicle.tesla.model3" vehicleCategory="car"> <ParameterDeclarations/> <Performance maxSpeed="69.444" maxAcceleration="200" maxDeceleration="10.0"/> <BoundingBox> <Center x="1.5" y="0.0" z="0.9"/> <Dimensions width="2.1" length="4.5" height="1.8"/> </BoundingBox> <Axles> <FrontAxle maxSteering="0.5" wheelDiameter="0.6" trackWidth="1.8" positionX="3.1" positionZ="0.3"/> <RearAxle maxSteering="0.0" wheelDiameter="0.6" trackWidth="1.8" positionX="0.0" positionZ="0.3"/> </Axles> <Properties> <Property name="type" value="ego_vehicle"/> </Properties> </Vehicle> </ScenarioObject> <ScenarioObject name="adversary"> <Vehicle name="vehicle.lincoln.mkz_2017" vehicleCategory="car"> <ParameterDeclarations/> <Performance maxSpeed="69.444" maxAcceleration="200" maxDeceleration="10.0"/> <BoundingBox> <Center x="1.5" y="0.0" z="0.9"/> <Dimensions width="2.1" length="4.5" height="1.8"/> </BoundingBox> <Axles> <FrontAxle maxSteering="0.5" wheelDiameter="0.6" trackWidth="1.8" positionX="3.1" positionZ="0.3"/> <RearAxle maxSteering="0.0" wheelDiameter="0.6" trackWidth="1.8" positionX="0.0" positionZ="0.3"/> </Axles> <Properties> <Property name="type" value="simulation"/> </Properties> </Vehicle> </ScenarioObject> <ScenarioObject name="standing"> <Vehicle name="vehicle.volkswagen.t2" vehicleCategory="car"> <ParameterDeclarations/> <Performance maxSpeed="69.444" maxAcceleration="200" maxDeceleration="10.0"/> <BoundingBox> <Center x="1.5" y="0.0" z="0.9"/> <Dimensions width="2.1" length="4.5" height="1.8"/> </BoundingBox> <Axles> <FrontAxle maxSteering="0.5" wheelDiameter="0.6" trackWidth="1.8" positionX="3.1" positionZ="0.3"/> <RearAxle maxSteering="0.0" wheelDiameter="0.6" trackWidth="1.8" positionX="0.0" positionZ="0.3"/> </Axles> <Properties> <Property name="type" value="simulation"/> </Properties> </Vehicle> </ScenarioObject> <ScenarioObject name="pedestrian_close_to_hero_2156"> <Pedestrian model="walker.pedestrian.0001" mass="80" name="walker.pedestrian.0001" pedestrianCategory="pedestrian"> <ParameterDeclarations/> <BoundingBox> <Center x="1.5" y="0.0" z="0.9"/> <Dimensions width="2" length="2" height="2"/> </BoundingBox> <Properties> <Property name="type" value="simulation"/> </Properties> </Pedestrian> </ScenarioObject> <ScenarioObject name="pedestrian_w_transform_2157"> <Pedestrian model="walker.pedestrian.0001" mass="80" name="walker.pedestrian.0001" pedestrianCategory="pedestrian"> <ParameterDeclarations/> <BoundingBox> <Center x="1.5" y="0.0" z="0.9"/> <Dimensions width="2" length="2" height="2"/> </BoundingBox> <Properties> <Property name="type" value="simulation"/> </Properties> </Pedestrian> </ScenarioObject> <ScenarioObject name="pedestrian_w_transform_2158"> <Pedestrian model="walker.pedestrian.0001" mass="80" name="walker.pedestrian.0001" pedestrianCategory="pedestrian"> <ParameterDeclarations/> <BoundingBox> <Center x="1.5" y="0.0" z="0.9"/> <Dimensions width="2" length="2" height="2"/> </BoundingBox> <Properties> <Property name="type" value="simulation"/> </Properties> </Pedestrian> </ScenarioObject> <ScenarioObject name="pedestrian_w_transform_2159"> <Pedestrian model="walker.pedestrian.0001" mass="80" name="walker.pedestrian.0001" pedestrianCategory="pedestrian"> <ParameterDeclarations/> <BoundingBox> <Center x="1.5" y="0.0" z="0.9"/> <Dimensions width="2" length="2" height="2"/> </BoundingBox> <Properties> <Property name="type" value="simulation"/> </Properties> </Pedestrian> </ScenarioObject> <ScenarioObject name="pedestrian_close_to_standing_2160"> <Pedestrian model="walker.pedestrian.0001" mass="80" name="walker.pedestrian.0001" pedestrianCategory="pedestrian"> <ParameterDeclarations/> <BoundingBox> <Center x="1.5" y="0.0" z="0.9"/> <Dimensions width="2" length="2" height="2"/> </BoundingBox> <Properties> <Property name="type" value="simulation"/> </Properties> </Pedestrian> </ScenarioObject> <ScenarioObject name="pedestrian_w_transform_2161"> <Pedestrian model="walker.pedestrian.0001" mass="80" name="walker.pedestrian.0001" pedestrianCategory="pedestrian"> <ParameterDeclarations/> <BoundingBox> <Center x="1.5" y="0.0" z="0.9"/> <Dimensions width="2" length="2" height="2"/> </BoundingBox> <Properties> <Property name="type" value="simulation"/> </Properties> </Pedestrian> </ScenarioObject> <ScenarioObject name="pedestrian_w_transform_2162"> <Pedestrian model="walker.pedestrian.0001" mass="80" name="walker.pedestrian.0001" pedestrianCategory="pedestrian"> <ParameterDeclarations/> <BoundingBox> <Center x="1.5" y="0.0" z="0.9"/> <Dimensions width="2" length="2" height="2"/> </BoundingBox> <Properties> <Property name="type" value="simulation"/> </Properties> </Pedestrian> </ScenarioObject> </Entities> <Storyboard> <Init> <Actions> <GlobalAction> <EnvironmentAction> <Environment name="Environment1"> <TimeOfDay animation="false" dateTime="2019-06-25T12:00:00"/> <Weather cloudState="free"> <Sun intensity="0.85" azimuth="0" elevation="1.31"/> <Fog visualRange="100000.0"/> <Precipitation precipitationType="dry" intensity="0.0"/> </Weather> <RoadCondition frictionScaleFactor="1.0"/> </Environment> </EnvironmentAction> </GlobalAction> <Private entityRef="hero"> <PrivateAction> <TeleportAction> <Position> <WorldPosition x="-9.4" y="-152.8" z="0.5" h="1.57079632679"/> </Position> </TeleportAction> </PrivateAction> <PrivateAction> <ControllerAction> <AssignControllerAction> <Controller name="HeroAgent"> <Properties> <Property name="module" value="external_control"/> </Properties> </Controller> </AssignControllerAction> <OverrideControllerValueAction> <Throttle value="0" active="false"/> <Brake value="0" active="false"/> <Clutch value="0" active="false"/> <ParkingBrake value="0" active="false"/> <SteeringWheel value="0" active="false"/> <Gear number="0" active="false"/> </OverrideControllerValueAction> </ControllerAction> </PrivateAction> </Private> <Private entityRef="adversary"> <PrivateAction> <TeleportAction> <Position> <WorldPosition x="-9.4" y="-71.0" z="0.5" h="1.57079632679"/> </Position> </TeleportAction> </PrivateAction> </Private> <Private entityRef="standing"> <PrivateAction> <TeleportAction> <Position> <WorldPosition x="-8.2" y="29.2" z="0.5" h="1.57079632679"/> </Position> </TeleportAction> </PrivateAction> </Private> <Private entityRef="pedestrian_close_to_hero_2156"> <PrivateAction> <TeleportAction> <Position> <WorldPosition x="3.792800188064575" y="-147.44180297851562" z="0.0014286803780123591"/> </Position> </TeleportAction> </PrivateAction> </Private> <Private entityRef="pedestrian_w_transform_2157"> <PrivateAction> <TeleportAction> <Position> <WorldPosition x="74.97978210449219" y="42.052825927734375" z="0.5"/> </Position> </TeleportAction> </PrivateAction> </Private> <Private entityRef="pedestrian_w_transform_2158"> <PrivateAction> <TeleportAction> <Position> <WorldPosition x="-36.80466079711914" y="69.0248031616211" z="0.5"/> </Position> </TeleportAction> </PrivateAction> </Private> <Private entityRef="pedestrian_w_transform_2159"> <PrivateAction> <TeleportAction> <Position> <WorldPosition x="74.88525390625" y="10.16285228729248" z="0.5"/> </Position> </TeleportAction> </PrivateAction> </Private> <Private entityRef="pedestrian_close_to_standing_2160"> <PrivateAction> <TeleportAction> <Position> <WorldPosition x="-6.151708602905273" y="33.514915466308594" z="0.003042030381038785"/> </Position> </TeleportAction> </PrivateAction> </Private> <Private entityRef="pedestrian_w_transform_2161"> <PrivateAction> <TeleportAction> <Position> <WorldPosition x="-48.39098358154297" y="52.39015197753906" z="0.5"/> </Position> </TeleportAction> </PrivateAction> </Private> <Private entityRef="pedestrian_w_transform_2162"> <PrivateAction> <TeleportAction> <Position> <WorldPosition x="-2.8913371562957764" y="90.02494812011719" z="0.5"/> </Position> </TeleportAction> </PrivateAction> </Private> </Actions> </Init> <Story name="MyStory"> <Act name="Behavior"> <ManeuverGroup maximumExecutionCount="1" name="ManeuverSequence"> <Actors selectTriggeringEntities="false"> <EntityRef entityRef="adversary"/> </Actors> <Maneuver name="LaneChangeSimpleManeuver"> <Event name="AdversaryAccelerates" priority="overwrite"> <Action name="AdversaryAccelerates"> <PrivateAction> <LongitudinalAction> <SpeedAction> <SpeedActionDynamics dynamicsShape="step" value="50" dynamicsDimension="distance"/> <SpeedActionTarget> <AbsoluteTargetSpeed value="5.0"/> </SpeedActionTarget> </SpeedAction> </LongitudinalAction> </PrivateAction> </Action> <StartTrigger> <ConditionGroup> <Condition name="StartCondition" delay="0" conditionEdge="rising"> <ByEntityCondition> <TriggeringEntities triggeringEntitiesRule="any"> <EntityRef entityRef="hero"/> </TriggeringEntities> <EntityCondition> <RelativeDistanceCondition entityRef="adversary" relativeDistanceType="cartesianDistance" value="40.0" freespace="false" rule="lessThan"/> </EntityCondition> </ByEntityCondition> </Condition> </ConditionGroup> </StartTrigger> </Event> <Event name="AdversaryChangesLane" priority="overwrite"> <Action name="AdversaryChangesLane"> <PrivateAction> <LateralAction> <LaneChangeAction> <LaneChangeActionDynamics dynamicsShape="linear" value="25" dynamicsDimension="distance"/> <LaneChangeTarget> <RelativeTargetLane entityRef="adversary" value="-1"/> </LaneChangeTarget> </LaneChangeAction> </LateralAction> </PrivateAction> </Action> <StartTrigger> <ConditionGroup> <Condition name="AfterAdversaryAccelerates" delay="0" conditionEdge="rising"> <ByValueCondition> <StoryboardElementStateCondition storyboardElementType="action" storyboardElementRef="AdversaryAccelerates" state="completeState"/> </ByValueCondition> </Condition> </ConditionGroup> </StartTrigger> </Event> </Maneuver> </ManeuverGroup> <StartTrigger> <ConditionGroup> <Condition name="OverallStartCondition" delay="0" conditionEdge="rising"> <ByEntityCondition> <TriggeringEntities triggeringEntitiesRule="any"> <EntityRef entityRef="hero"/> </TriggeringEntities> <EntityCondition> <TraveledDistanceCondition value="1.0"/> </EntityCondition> </ByEntityCondition> </Condition> <Condition name="StartTime" delay="0" conditionEdge="rising"> <ByValueCondition> <SimulationTimeCondition value="0" rule="equalTo"/> </ByValueCondition> </Condition> </ConditionGroup> </StartTrigger> <StopTrigger> <ConditionGroup> <Condition name="EndCondition" delay="0" conditionEdge="rising"> <ByEntityCondition> <TriggeringEntities triggeringEntitiesRule="any"> <EntityRef entityRef="hero"/> </TriggeringEntities> <EntityCondition> <TraveledDistanceCondition value="200.0"/> </EntityCondition> </ByEntityCondition> </Condition> </ConditionGroup> </StopTrigger> </Act> </Story> <StopTrigger> <ConditionGroup> <Condition name="criteria_RunningStopTest" delay="0" conditionEdge="rising"> <ByValueCondition> <ParameterCondition parameterRef="" value="" rule="lessThan"/> </ByValueCondition> </Condition> <Condition name="criteria_RunningRedLightTest" delay="0" conditionEdge="rising"> <ByValueCondition> <ParameterCondition parameterRef="" value="" rule="lessThan"/> </ByValueCondition> </Condition> <Condition name="criteria_WrongLaneTest" delay="0" conditionEdge="rising"> <ByValueCondition> <ParameterCondition parameterRef="" value="" rule="lessThan"/> </ByValueCondition> </Condition> <Condition name="criteria_OnSidewalkTest" delay="0" conditionEdge="rising"> <ByValueCondition> <ParameterCondition parameterRef="" value="" rule="lessThan"/> </ByValueCondition> </Condition> <Condition name="criteria_KeepLaneTest" delay="0" conditionEdge="rising"> <ByValueCondition> <ParameterCondition parameterRef="" value="" rule="lessThan"/> </ByValueCondition> </Condition> <Condition name="criteria_CollisionTest" delay="0" conditionEdge="rising"> <ByValueCondition> <ParameterCondition parameterRef="" value="" rule="lessThan"/> </ByValueCondition> </Condition> <Condition name="criteria_DrivenDistanceTest" delay="0" conditionEdge="rising"> <ByValueCondition> <ParameterCondition parameterRef="distance_success" value="100" rule="lessThan"/> </ByValueCondition> </Condition> </ConditionGroup> </StopTrigger> </Storyboard> </OpenSCENARIO> ```
i would like to lead you to add pedestrian close to adversary? ``` <?xml version="1.0" ?> <OpenSCENARIO> <FileHeader revMajor="1" revMinor="0" date="2020-03-24T12:00:00" description="CARLA:LaneChangeSimple" author=""/> <ParameterDeclarations/> <CatalogLocations/> <RoadNetwork> <LogicFile filepath="Town04"/> <SceneGraphFile filepath=""/> </RoadNetwork> <Entities> <ScenarioObject name="hero"> <Vehicle name="vehicle.tesla.model3" vehicleCategory="car"> <ParameterDeclarations/> <Performance maxSpeed="69.444" maxAcceleration="200" maxDeceleration="10.0"/> <BoundingBox> <Center x="1.5" y="0.0" z="0.9"/> <Dimensions width="2.1" length="4.5" height="1.8"/> </BoundingBox> <Axles> <FrontAxle maxSteering="0.5" wheelDiameter="0.6" trackWidth="1.8" positionX="3.1" positionZ="0.3"/> <RearAxle maxSteering="0.0" wheelDiameter="0.6" trackWidth="1.8" positionX="0.0" positionZ="0.3"/> </Axles> <Properties> <Property name="type" value="ego_vehicle"/> </Properties> </Vehicle> </ScenarioObject> <ScenarioObject name="adversary"> <Vehicle name="vehicle.lincoln.mkz_2017" vehicleCategory="car"> <ParameterDeclarations/> <Performance maxSpeed="69.444" maxAcceleration="200" maxDeceleration="10.0"/> <BoundingBox> <Center x="1.5" y="0.0" z="0.9"/> <Dimensions width="2.1" length="4.5" height="1.8"/> </BoundingBox> <Axles> <FrontAxle maxSteering="0.5" wheelDiameter="0.6" trackWidth="1.8" positionX="3.1" positionZ="0.3"/> <RearAxle maxSteering="0.0" wheelDiameter="0.6" trackWidth="1.8" positionX="0.0" positionZ="0.3"/> </Axles> <Properties> <Property name="type" value="simulation"/> </Properties> </Vehicle> </ScenarioObject> <ScenarioObject name="standing"> <Vehicle name="vehicle.volkswagen.t2" vehicleCategory="car"> <ParameterDeclarations/> <Performance maxSpeed="69.444" maxAcceleration="200" maxDeceleration="10.0"/> <BoundingBox> <Center x="1.5" y="0.0" z="0.9"/> <Dimensions width="2.1" length="4.5" height="1.8"/> </BoundingBox> <Axles> <FrontAxle maxSteering="0.5" wheelDiameter="0.6" trackWidth="1.8" positionX="3.1" positionZ="0.3"/> <RearAxle maxSteering="0.0" wheelDiameter="0.6" trackWidth="1.8" positionX="0.0" positionZ="0.3"/> </Axles> <Properties> <Property name="type" value="simulation"/> </Properties> </Vehicle> </ScenarioObject> <ScenarioObject name="pedestrian_close_to_standing_559"> <Pedestrian model="walker.pedestrian.0001" mass="80" name="walker.pedestrian.0001" pedestrianCategory="pedestrian"> <ParameterDeclarations/> <BoundingBox> <Center x="1.5" y="0.0" z="0.9"/> <Dimensions width="2" length="2" height="2"/> </BoundingBox> <Properties> <Property name="type" value="simulation"/> </Properties> </Pedestrian> </ScenarioObject> <ScenarioObject name="pedestrian_close_to_hero_560"> <Pedestrian model="walker.pedestrian.0001" mass="80" name="walker.pedestrian.0001" pedestrianCategory="pedestrian"> <ParameterDeclarations/> <BoundingBox> <Center x="1.5" y="0.0" z="0.9"/> <Dimensions width="2" length="2" height="2"/> </BoundingBox> <Properties> <Property name="type" value="simulation"/> </Properties> </Pedestrian> </ScenarioObject> <ScenarioObject name="pedestrian_w_transform_561"> <Pedestrian model="walker.pedestrian.0001" mass="80" name="walker.pedestrian.0001" pedestrianCategory="pedestrian"> <ParameterDeclarations/> <BoundingBox> <Center x="1.5" y="0.0" z="0.9"/> <Dimensions width="2" length="2" height="2"/> </BoundingBox> <Properties> <Property name="type" value="simulation"/> </Properties> </Pedestrian> </ScenarioObject> <ScenarioObject name="pedestrian_w_transform_562"> <Pedestrian model="walker.pedestrian.0001" mass="80" name="walker.pedestrian.0001" pedestrianCategory="pedestrian"> <ParameterDeclarations/> <BoundingBox> <Center x="1.5" y="0.0" z="0.9"/> <Dimensions width="2" length="2" height="2"/> </BoundingBox> <Properties> <Property name="type" value="simulation"/> </Properties> </Pedestrian> </ScenarioObject> <ScenarioObject name="pedestrian_close_to_standing_563"> <Pedestrian model="walker.pedestrian.0001" mass="80" name="walker.pedestrian.0001" pedestrianCategory="pedestrian"> <ParameterDeclarations/> <BoundingBox> <Center x="1.5" y="0.0" z="0.9"/> <Dimensions width="2" length="2" height="2"/> </BoundingBox> <Properties> <Property name="type" value="simulation"/> </Properties> </Pedestrian> </ScenarioObject> <ScenarioObject name="pedestrian_w_transform_564"> <Pedestrian model="walker.pedestrian.0001" mass="80" name="walker.pedestrian.0001" pedestrianCategory="pedestrian"> <ParameterDeclarations/> <BoundingBox> <Center x="1.5" y="0.0" z="0.9"/> <Dimensions width="2" length="2" height="2"/> </BoundingBox> <Properties> <Property name="type" value="simulation"/> </Properties> </Pedestrian> </ScenarioObject> <ScenarioObject name="pedestrian_w_transform_565"> <Pedestrian model="walker.pedestrian.0001" mass="80" name="walker.pedestrian.0001" pedestrianCategory="pedestrian"> <ParameterDeclarations/> <BoundingBox> <Center x="1.5" y="0.0" z="0.9"/> <Dimensions width="2" length="2" height="2"/> </BoundingBox> <Properties> <Property name="type" value="simulation"/> </Properties> </Pedestrian> </ScenarioObject> <ScenarioObject name="pedestrian_close_to_standing_566"> <Pedestrian model="walker.pedestrian.0001" mass="80" name="walker.pedestrian.0001" pedestrianCategory="pedestrian"> <ParameterDeclarations/> <BoundingBox> <Center x="1.5" y="0.0" z="0.9"/> <Dimensions width="2" length="2" height="2"/> </BoundingBox> <Properties> <Property name="type" value="simulation"/> </Properties> </Pedestrian> </ScenarioObject> <ScenarioObject name="pedestrian_w_transform_567"> <Pedestrian model="walker.pedestrian.0001" mass="80" name="walker.pedestrian.0001" pedestrianCategory="pedestrian"> <ParameterDeclarations/> <BoundingBox> <Center x="1.5" y="0.0" z="0.9"/> <Dimensions width="2" length="2" height="2"/> </BoundingBox> <Properties> <Property name="type" value="simulation"/> </Properties> </Pedestrian> </ScenarioObject> <ScenarioObject name="pedestrian_w_transform_568"> <Pedestrian model="walker.pedestrian.0001" mass="80" name="walker.pedestrian.0001" pedestrianCategory="pedestrian"> <ParameterDeclarations/> <BoundingBox> <Center x="1.5" y="0.0" z="0.9"/> <Dimensions width="2" length="2" height="2"/> </BoundingBox> <Properties> <Property name="type" value="simulation"/> </Properties> </Pedestrian> </ScenarioObject> <ScenarioObject name="pedestrian_close_to_standing_569"> <Pedestrian model="walker.pedestrian.0001" mass="80" name="walker.pedestrian.0001" pedestrianCategory="pedestrian"> <ParameterDeclarations/> <BoundingBox> <Center x="1.5" y="0.0" z="0.9"/> <Dimensions width="2" length="2" height="2"/> </BoundingBox> <Properties> <Property name="type" value="simulation"/> </Properties> </Pedestrian> </ScenarioObject> <ScenarioObject name="pedestrian_close_to_standing_570"> <Pedestrian model="walker.pedestrian.0001" mass="80" name="walker.pedestrian.0001" pedestrianCategory="pedestrian"> <ParameterDeclarations/> <BoundingBox> <Center x="1.5" y="0.0" z="0.9"/> <Dimensions width="2" length="2" height="2"/> </BoundingBox> <Properties> <Property name="type" value="simulation"/> </Properties> </Pedestrian> </ScenarioObject> <ScenarioObject name="pedestrian_close_to_standing_571"> <Pedestrian model="walker.pedestrian.0001" mass="80" name="walker.pedestrian.0001" pedestrianCategory="pedestrian"> <ParameterDeclarations/> <BoundingBox> <Center x="1.5" y="0.0" z="0.9"/> <Dimensions width="2" length="2" height="2"/> </BoundingBox> <Properties> <Property name="type" value="simulation"/> </Properties> </Pedestrian> </ScenarioObject> <ScenarioObject name="pedestrian_close_to_adversary_572"> <Pedestrian model="walker.pedestrian.0001" mass="80" name="walker.pedestrian.0001" pedestrianCategory="pedestrian"> <ParameterDeclarations/> <BoundingBox> <Center x="1.5" y="0.0" z="0.9"/> <Dimensions width="2" length="2" height="2"/> </BoundingBox> <Properties> <Property name="type" value="simulation"/> </Properties> </Pedestrian> </ScenarioObject> <ScenarioObject name="pedestrian_close_to_standing_573"> <Pedestrian model="walker.pedestrian.0001" mass="80" name="walker.pedestrian.0001" pedestrianCategory="pedestrian"> <ParameterDeclarations/> <BoundingBox> <Center x="1.5" y="0.0" z="0.9"/> <Dimensions width="2" length="2" height="2"/> </BoundingBox> <Properties> <Property name="type" value="simulation"/> </Properties> </Pedestrian> </ScenarioObject> <ScenarioObject name="pedestrian_close_to_adversary_574"> <Pedestrian model="walker.pedestrian.0001" mass="80" name="walker.pedestrian.0001" pedestrianCategory="pedestrian"> <ParameterDeclarations/> <BoundingBox> <Center x="1.5" y="0.0" z="0.9"/> <Dimensions width="2" length="2" height="2"/> </BoundingBox> <Properties> <Property name="type" value="simulation"/> </Properties> </Pedestrian> </ScenarioObject> <ScenarioObject name="pedestrian_w_transform_576"> <Pedestrian model="walker.pedestrian.0001" mass="80" name="walker.pedestrian.0001" pedestrianCategory="pedestrian"> <ParameterDeclarations/> <BoundingBox> <Center x="1.5" y="0.0" z="0.9"/> <Dimensions width="2" length="2" height="2"/> </BoundingBox> <Properties> <Property name="type" value="simulation"/> </Properties> </Pedestrian> </ScenarioObject> <ScenarioObject name="pedestrian_close_to_standing_577"> <Pedestrian model="walker.pedestrian.0001" mass="80" name="walker.pedestrian.0001" pedestrianCategory="pedestrian"> <ParameterDeclarations/> <BoundingBox> <Center x="1.5" y="0.0" z="0.9"/> <Dimensions width="2" length="2" height="2"/> </BoundingBox> <Properties> <Property name="type" value="simulation"/> </Properties> </Pedestrian> </ScenarioObject> </Entities> <Storyboard> <Init> <Actions> <GlobalAction> <EnvironmentAction> <Environment name="Environment1"> <TimeOfDay animation="false" dateTime="2019-06-25T12:00:00"/> <Weather cloudState="free"> <Sun intensity="0.85" azimuth="0" elevation="1.31"/> <Fog visualRange="100000.0"/> <Precipitation precipitationType="dry" intensity="0.0"/> </Weather> <RoadCondition frictionScaleFactor="1.0"/> </Environment> </EnvironmentAction> </GlobalAction> <Private entityRef="hero"> <PrivateAction> <TeleportAction> <Position> <WorldPosition x="-9.4" y="-152.8" z="0.5" h="1.57079632679"/> </Position> </TeleportAction> </PrivateAction> <PrivateAction> <ControllerAction> <AssignControllerAction> <Controller name="HeroAgent"> <Properties> <Property name="module" value="external_control"/> </Properties> </Controller> </AssignControllerAction> <OverrideControllerValueAction> <Throttle value="0" active="false"/> <Brake value="0" active="false"/> <Clutch value="0" active="false"/> <ParkingBrake value="0" active="false"/> <SteeringWheel value="0" active="false"/> <Gear number="0" active="false"/> </OverrideControllerValueAction> </ControllerAction> </PrivateAction> </Private> <Private entityRef="adversary"> <PrivateAction> <TeleportAction> <Position> <WorldPosition x="-9.4" y="-71.0" z="0.5" h="1.57079632679"/> </Position> </TeleportAction> </PrivateAction> </Private> <Private entityRef="standing"> <PrivateAction> <TeleportAction> <Position> <WorldPosition x="-8.2" y="29.2" z="0.5" h="1.57079632679"/> </Position> </TeleportAction> </PrivateAction> </Private> <Private entityRef="pedestrian_close_to_standing_559"> <PrivateAction> <TeleportAction> <Position> <WorldPosition x="-9.536955833435059" y="47.126556396484375" z="0.00307884206995368"/> </Position> </TeleportAction> </PrivateAction> </Private> <Private entityRef="pedestrian_close_to_hero_560"> <PrivateAction> <TeleportAction> <Position> <WorldPosition x="-14.028002738952637" y="-148.33392333984375" z="0.0014286803780123591"/> </Position> </TeleportAction> </PrivateAction> </Private> <Private entityRef="pedestrian_w_transform_561"> <PrivateAction> <TeleportAction> <Position> <WorldPosition x="41.66231155395508" y="-13.317110061645508" z="0.5"/> </Position> </TeleportAction> </PrivateAction> </Private> <Private entityRef="pedestrian_w_transform_562"> <PrivateAction> <TeleportAction> <Position> <WorldPosition x="-5.149931907653809" y="-50.89024353027344" z="0.5"/> </Position> </TeleportAction> </PrivateAction> </Private> <Private entityRef="pedestrian_close_to_standing_563"> <PrivateAction> <TeleportAction> <Position> <WorldPosition x="-3.937126874923706" y="19.32227897644043" z="0.0030942154116928577"/> </Position> </TeleportAction> </PrivateAction> </Private> <Private entityRef="pedestrian_w_transform_564"> <PrivateAction> <TeleportAction> <Position> <WorldPosition x="-57.62015151977539" y="38.44088363647461" z="0.5"/> </Position> </TeleportAction> </PrivateAction> </Private> <Private entityRef="pedestrian_w_transform_565"> <PrivateAction> <TeleportAction> <Position> <WorldPosition x="95.15489959716797" y="38.55360412597656" z="0.5"/> </Position> </TeleportAction> </PrivateAction> </Private> <Private entityRef="pedestrian_close_to_standing_566"> <PrivateAction> <TeleportAction> <Position> <WorldPosition x="0.7218384146690369" y="22.778898239135742" z="0.0030768965370953083"/> </Position> </TeleportAction> </PrivateAction> </Private> <Private entityRef="pedestrian_w_transform_567"> <PrivateAction> <TeleportAction> <Position> <WorldPosition x="99.4874496459961" y="-63.90755844116211" z="0.5"/> </Position> </TeleportAction> </PrivateAction> </Private> <Private entityRef="pedestrian_w_transform_568"> <PrivateAction> <TeleportAction> <Position> <WorldPosition x="38.28993606567383" y="-9.830204963684082" z="0.5"/> </Position> </TeleportAction> </PrivateAction> </Private> <Private entityRef="pedestrian_close_to_standing_569"> <PrivateAction> <TeleportAction> <Position> <WorldPosition x="1.1774576902389526" y="20.05030059814453" z="0.0030640410259366035"/> </Position> </TeleportAction> </PrivateAction> </Private> <Private entityRef="pedestrian_close_to_standing_570"> <PrivateAction> <TeleportAction> <Position> <WorldPosition x="-12.196562767028809" y="27.969131469726562" z="0.0030801009852439165"/> </Position> </TeleportAction> </PrivateAction> </Private> <Private entityRef="pedestrian_close_to_standing_571"> <PrivateAction> <TeleportAction> <Position> <WorldPosition x="0.714749276638031" y="35.0132942199707" z="0.003078193636611104"/> </Position> </TeleportAction> </PrivateAction> </Private> <Private entityRef="pedestrian_close_to_adversary_572"> <PrivateAction> <TeleportAction> <Position> <WorldPosition x="-5.909614086151123" y="-65.61824798583984" z="0.03381389379501343"/> </Position> </TeleportAction> </PrivateAction> </Private> <Private entityRef="pedestrian_close_to_standing_573"> <PrivateAction> <TeleportAction> <Position> <WorldPosition x="-2.2574985027313232" y="27.37887191772461" z="0.003079757560044527"/> </Position> </TeleportAction> </PrivateAction> </Private> <Private entityRef="pedestrian_close_to_adversary_574"> <PrivateAction> <TeleportAction> <Position> <WorldPosition x="-10.714239120483398" y="-63.209144592285156" z="0.033794134855270386"/> </Position> </TeleportAction> </PrivateAction> </Private> <Private entityRef="pedestrian_w_transform_576"> <PrivateAction> <TeleportAction> <Position> <WorldPosition x="65.9101791381836" y="48.40122604370117" z="0.5"/> </Position> </TeleportAction> </PrivateAction> </Private> <Private entityRef="pedestrian_close_to_standing_577"> <PrivateAction> <TeleportAction> <Position> <WorldPosition x="-14.985991477966309" y="33.73177719116211" z="0.0030637739691883326"/> </Position> </TeleportAction> </PrivateAction> </Private> </Actions> </Init> <Story name="MyStory"> <Act name="Behavior"> <ManeuverGroup maximumExecutionCount="1" name="ManeuverSequence"> <Actors selectTriggeringEntities="false"> <EntityRef entityRef="adversary"/> </Actors> <Maneuver name="LaneChangeSimpleManeuver"> <Event name="AdversaryAccelerates" priority="overwrite"> <Action name="AdversaryAccelerates"> <PrivateAction> <LongitudinalAction> <SpeedAction> <SpeedActionDynamics dynamicsShape="step" value="50" dynamicsDimension="distance"/> <SpeedActionTarget> <AbsoluteTargetSpeed value="5.0"/> </SpeedActionTarget> </SpeedAction> </LongitudinalAction> </PrivateAction> </Action> <StartTrigger> <ConditionGroup> <Condition name="StartCondition" delay="0" conditionEdge="rising"> <ByEntityCondition> <TriggeringEntities triggeringEntitiesRule="any"> <EntityRef entityRef="hero"/> </TriggeringEntities> <EntityCondition> <RelativeDistanceCondition entityRef="adversary" relativeDistanceType="cartesianDistance" value="40.0" freespace="false" rule="lessThan"/> </EntityCondition> </ByEntityCondition> </Condition> </ConditionGroup> </StartTrigger> </Event> <Event name="AdversaryChangesLane" priority="overwrite"> <Action name="AdversaryChangesLane"> <PrivateAction> <LateralAction> <LaneChangeAction> <LaneChangeActionDynamics dynamicsShape="linear" value="25" dynamicsDimension="distance"/> <LaneChangeTarget> <RelativeTargetLane entityRef="adversary" value="-1"/> </LaneChangeTarget> </LaneChangeAction> </LateralAction> </PrivateAction> </Action> <StartTrigger> <ConditionGroup> <Condition name="AfterAdversaryAccelerates" delay="0" conditionEdge="rising"> <ByValueCondition> <StoryboardElementStateCondition storyboardElementType="action" storyboardElementRef="AdversaryAccelerates" state="completeState"/> </ByValueCondition> </Condition> </ConditionGroup> </StartTrigger> </Event> </Maneuver> </ManeuverGroup> <StartTrigger> <ConditionGroup> <Condition name="OverallStartCondition" delay="0" conditionEdge="rising"> <ByEntityCondition> <TriggeringEntities triggeringEntitiesRule="any"> <EntityRef entityRef="hero"/> </TriggeringEntities> <EntityCondition> <TraveledDistanceCondition value="1.0"/> </EntityCondition> </ByEntityCondition> </Condition> <Condition name="StartTime" delay="0" conditionEdge="rising"> <ByValueCondition> <SimulationTimeCondition value="0" rule="equalTo"/> </ByValueCondition> </Condition> </ConditionGroup> </StartTrigger> <StopTrigger> <ConditionGroup> <Condition name="EndCondition" delay="0" conditionEdge="rising"> <ByEntityCondition> <TriggeringEntities triggeringEntitiesRule="any"> <EntityRef entityRef="hero"/> </TriggeringEntities> <EntityCondition> <TraveledDistanceCondition value="200.0"/> </EntityCondition> </ByEntityCondition> </Condition> </ConditionGroup> </StopTrigger> </Act> </Story> <StopTrigger> <ConditionGroup> <Condition name="criteria_RunningStopTest" delay="0" conditionEdge="rising"> <ByValueCondition> <ParameterCondition parameterRef="" value="" rule="lessThan"/> </ByValueCondition> </Condition> <Condition name="criteria_RunningRedLightTest" delay="0" conditionEdge="rising"> <ByValueCondition> <ParameterCondition parameterRef="" value="" rule="lessThan"/> </ByValueCondition> </Condition> <Condition name="criteria_WrongLaneTest" delay="0" conditionEdge="rising"> <ByValueCondition> <ParameterCondition parameterRef="" value="" rule="lessThan"/> </ByValueCondition> </Condition> <Condition name="criteria_OnSidewalkTest" delay="0" conditionEdge="rising"> <ByValueCondition> <ParameterCondition parameterRef="" value="" rule="lessThan"/> </ByValueCondition> </Condition> <Condition name="criteria_KeepLaneTest" delay="0" conditionEdge="rising"> <ByValueCondition> <ParameterCondition parameterRef="" value="" rule="lessThan"/> </ByValueCondition> </Condition> <Condition name="criteria_CollisionTest" delay="0" conditionEdge="rising"> <ByValueCondition> <ParameterCondition parameterRef="" value="" rule="lessThan"/> </ByValueCondition> </Condition> <Condition name="criteria_DrivenDistanceTest" delay="0" conditionEdge="rising"> <ByValueCondition> <ParameterCondition parameterRef="distance_success" value="100" rule="lessThan"/> </ByValueCondition> </Condition> </ConditionGroup> </StopTrigger> </Storyboard> </OpenSCENARIO> ```
Here is the result: ``` <?xml version="1.0" ?> <OpenSCENARIO> <FileHeader revMajor="1" revMinor="0" date="2020-03-24T12:00:00" description="CARLA:LaneChangeSimple" author=""/> <ParameterDeclarations/> <CatalogLocations/> <RoadNetwork> <LogicFile filepath="Town04"/> <SceneGraphFile filepath=""/> </RoadNetwork> <Entities> <ScenarioObject name="hero"> <Vehicle name="vehicle.tesla.model3" vehicleCategory="car"> <ParameterDeclarations/> <Performance maxSpeed="69.444" maxAcceleration="200" maxDeceleration="10.0"/> <BoundingBox> <Center x="1.5" y="0.0" z="0.9"/> <Dimensions width="2.1" length="4.5" height="1.8"/> </BoundingBox> <Axles> <FrontAxle maxSteering="0.5" wheelDiameter="0.6" trackWidth="1.8" positionX="3.1" positionZ="0.3"/> <RearAxle maxSteering="0.0" wheelDiameter="0.6" trackWidth="1.8" positionX="0.0" positionZ="0.3"/> </Axles> <Properties> <Property name="type" value="ego_vehicle"/> </Properties> </Vehicle> </ScenarioObject> <ScenarioObject name="adversary"> <Vehicle name="vehicle.lincoln.mkz_2017" vehicleCategory="car"> <ParameterDeclarations/> <Performance maxSpeed="69.444" maxAcceleration="200" maxDeceleration="10.0"/> <BoundingBox> <Center x="1.5" y="0.0" z="0.9"/> <Dimensions width="2.1" length="4.5" height="1.8"/> </BoundingBox> <Axles> <FrontAxle maxSteering="0.5" wheelDiameter="0.6" trackWidth="1.8" positionX="3.1" positionZ="0.3"/> <RearAxle maxSteering="0.0" wheelDiameter="0.6" trackWidth="1.8" positionX="0.0" positionZ="0.3"/> </Axles> <Properties> <Property name="type" value="simulation"/> </Properties> </Vehicle> </ScenarioObject> <ScenarioObject name="standing"> <Vehicle name="vehicle.volkswagen.t2" vehicleCategory="car"> <ParameterDeclarations/> <Performance maxSpeed="69.444" maxAcceleration="200" maxDeceleration="10.0"/> <BoundingBox> <Center x="1.5" y="0.0" z="0.9"/> <Dimensions width="2.1" length="4.5" height="1.8"/> </BoundingBox> <Axles> <FrontAxle maxSteering="0.5" wheelDiameter="0.6" trackWidth="1.8" positionX="3.1" positionZ="0.3"/> <RearAxle maxSteering="0.0" wheelDiameter="0.6" trackWidth="1.8" positionX="0.0" positionZ="0.3"/> </Axles> <Properties> <Property name="type" value="simulation"/> </Properties> </Vehicle> </ScenarioObject> <ScenarioObject name="pedestrian_close_to_standing_559"> <Pedestrian model="walker.pedestrian.0001" mass="80" name="walker.pedestrian.0001" pedestrianCategory="pedestrian"> <ParameterDeclarations/> <BoundingBox> <Center x="1.5" y="0.0" z="0.9"/> <Dimensions width="2" length="2" height="2"/> </BoundingBox> <Properties> <Property name="type" value="simulation"/> </Properties> </Pedestrian> </ScenarioObject> <ScenarioObject name="pedestrian_close_to_hero_560"> <Pedestrian model="walker.pedestrian.0001" mass="80" name="walker.pedestrian.0001" pedestrianCategory="pedestrian"> <ParameterDeclarations/> <BoundingBox> <Center x="1.5" y="0.0" z="0.9"/> <Dimensions width="2" length="2" height="2"/> </BoundingBox> <Properties> <Property name="type" value="simulation"/> </Properties> </Pedestrian> </ScenarioObject> <ScenarioObject name="pedestrian_w_transform_561"> <Pedestrian model="walker.pedestrian.0001" mass="80" name="walker.pedestrian.0001" pedestrianCategory="pedestrian"> <ParameterDeclarations/> <BoundingBox> <Center x="1.5" y="0.0" z="0.9"/> <Dimensions width="2" length="2" height="2"/> </BoundingBox> <Properties> <Property name="type" value="simulation"/> </Properties> </Pedestrian> </ScenarioObject> <ScenarioObject name="pedestrian_w_transform_562"> <Pedestrian model="walker.pedestrian.0001" mass="80" name="walker.pedestrian.0001" pedestrianCategory="pedestrian"> <ParameterDeclarations/> <BoundingBox> <Center x="1.5" y="0.0" z="0.9"/> <Dimensions width="2" length="2" height="2"/> </BoundingBox> <Properties> <Property name="type" value="simulation"/> </Properties> </Pedestrian> </ScenarioObject> <ScenarioObject name="pedestrian_close_to_standing_563"> <Pedestrian model="walker.pedestrian.0001" mass="80" name="walker.pedestrian.0001" pedestrianCategory="pedestrian"> <ParameterDeclarations/> <BoundingBox> <Center x="1.5" y="0.0" z="0.9"/> <Dimensions width="2" length="2" height="2"/> </BoundingBox> <Properties> <Property name="type" value="simulation"/> </Properties> </Pedestrian> </ScenarioObject> <ScenarioObject name="pedestrian_w_transform_564"> <Pedestrian model="walker.pedestrian.0001" mass="80" name="walker.pedestrian.0001" pedestrianCategory="pedestrian"> <ParameterDeclarations/> <BoundingBox> <Center x="1.5" y="0.0" z="0.9"/> <Dimensions width="2" length="2" height="2"/> </BoundingBox> <Properties> <Property name="type" value="simulation"/> </Properties> </Pedestrian> </ScenarioObject> <ScenarioObject name="pedestrian_w_transform_565"> <Pedestrian model="walker.pedestrian.0001" mass="80" name="walker.pedestrian.0001" pedestrianCategory="pedestrian"> <ParameterDeclarations/> <BoundingBox> <Center x="1.5" y="0.0" z="0.9"/> <Dimensions width="2" length="2" height="2"/> </BoundingBox> <Properties> <Property name="type" value="simulation"/> </Properties> </Pedestrian> </ScenarioObject> <ScenarioObject name="pedestrian_close_to_standing_566"> <Pedestrian model="walker.pedestrian.0001" mass="80" name="walker.pedestrian.0001" pedestrianCategory="pedestrian"> <ParameterDeclarations/> <BoundingBox> <Center x="1.5" y="0.0" z="0.9"/> <Dimensions width="2" length="2" height="2"/> </BoundingBox> <Properties> <Property name="type" value="simulation"/> </Properties> </Pedestrian> </ScenarioObject> <ScenarioObject name="pedestrian_w_transform_567"> <Pedestrian model="walker.pedestrian.0001" mass="80" name="walker.pedestrian.0001" pedestrianCategory="pedestrian"> <ParameterDeclarations/> <BoundingBox> <Center x="1.5" y="0.0" z="0.9"/> <Dimensions width="2" length="2" height="2"/> </BoundingBox> <Properties> <Property name="type" value="simulation"/> </Properties> </Pedestrian> </ScenarioObject> <ScenarioObject name="pedestrian_w_transform_568"> <Pedestrian model="walker.pedestrian.0001" mass="80" name="walker.pedestrian.0001" pedestrianCategory="pedestrian"> <ParameterDeclarations/> <BoundingBox> <Center x="1.5" y="0.0" z="0.9"/> <Dimensions width="2" length="2" height="2"/> </BoundingBox> <Properties> <Property name="type" value="simulation"/> </Properties> </Pedestrian> </ScenarioObject> <ScenarioObject name="pedestrian_close_to_standing_569"> <Pedestrian model="walker.pedestrian.0001" mass="80" name="walker.pedestrian.0001" pedestrianCategory="pedestrian"> <ParameterDeclarations/> <BoundingBox> <Center x="1.5" y="0.0" z="0.9"/> <Dimensions width="2" length="2" height="2"/> </BoundingBox> <Properties> <Property name="type" value="simulation"/> </Properties> </Pedestrian> </ScenarioObject> <ScenarioObject name="pedestrian_close_to_standing_570"> <Pedestrian model="walker.pedestrian.0001" mass="80" name="walker.pedestrian.0001" pedestrianCategory="pedestrian"> <ParameterDeclarations/> <BoundingBox> <Center x="1.5" y="0.0" z="0.9"/> <Dimensions width="2" length="2" height="2"/> </BoundingBox> <Properties> <Property name="type" value="simulation"/> </Properties> </Pedestrian> </ScenarioObject> <ScenarioObject name="pedestrian_close_to_standing_571"> <Pedestrian model="walker.pedestrian.0001" mass="80" name="walker.pedestrian.0001" pedestrianCategory="pedestrian"> <ParameterDeclarations/> <BoundingBox> <Center x="1.5" y="0.0" z="0.9"/> <Dimensions width="2" length="2" height="2"/> </BoundingBox> <Properties> <Property name="type" value="simulation"/> </Properties> </Pedestrian> </ScenarioObject> <ScenarioObject name="pedestrian_close_to_adversary_572"> <Pedestrian model="walker.pedestrian.0001" mass="80" name="walker.pedestrian.0001" pedestrianCategory="pedestrian"> <ParameterDeclarations/> <BoundingBox> <Center x="1.5" y="0.0" z="0.9"/> <Dimensions width="2" length="2" height="2"/> </BoundingBox> <Properties> <Property name="type" value="simulation"/> </Properties> </Pedestrian> </ScenarioObject> <ScenarioObject name="pedestrian_close_to_standing_573"> <Pedestrian model="walker.pedestrian.0001" mass="80" name="walker.pedestrian.0001" pedestrianCategory="pedestrian"> <ParameterDeclarations/> <BoundingBox> <Center x="1.5" y="0.0" z="0.9"/> <Dimensions width="2" length="2" height="2"/> </BoundingBox> <Properties> <Property name="type" value="simulation"/> </Properties> </Pedestrian> </ScenarioObject> <ScenarioObject name="pedestrian_close_to_adversary_574"> <Pedestrian model="walker.pedestrian.0001" mass="80" name="walker.pedestrian.0001" pedestrianCategory="pedestrian"> <ParameterDeclarations/> <BoundingBox> <Center x="1.5" y="0.0" z="0.9"/> <Dimensions width="2" length="2" height="2"/> </BoundingBox> <Properties> <Property name="type" value="simulation"/> </Properties> </Pedestrian> </ScenarioObject> <ScenarioObject name="pedestrian_w_transform_576"> <Pedestrian model="walker.pedestrian.0001" mass="80" name="walker.pedestrian.0001" pedestrianCategory="pedestrian"> <ParameterDeclarations/> <BoundingBox> <Center x="1.5" y="0.0" z="0.9"/> <Dimensions width="2" length="2" height="2"/> </BoundingBox> <Properties> <Property name="type" value="simulation"/> </Properties> </Pedestrian> </ScenarioObject> <ScenarioObject name="pedestrian_close_to_standing_577"> <Pedestrian model="walker.pedestrian.0001" mass="80" name="walker.pedestrian.0001" pedestrianCategory="pedestrian"> <ParameterDeclarations/> <BoundingBox> <Center x="1.5" y="0.0" z="0.9"/> <Dimensions width="2" length="2" height="2"/> </BoundingBox> <Properties> <Property name="type" value="simulation"/> </Properties> </Pedestrian> </ScenarioObject> <ScenarioObject name="pedestrian_close_to_adversary_578"> <Pedestrian model="walker.pedestrian.0001" mass="80" name="walker.pedestrian.0001" pedestrianCategory="pedestrian"> <ParameterDeclarations/> <BoundingBox> <Center x="1.5" y="0.0" z="0.9"/> <Dimensions width="2" length="2" height="2"/> </BoundingBox> <Properties> <Property name="type" value="simulation"/> </Properties> </Pedestrian> </ScenarioObject> </Entities> <Storyboard> <Init> <Actions> <GlobalAction> <EnvironmentAction> <Environment name="Environment1"> <TimeOfDay animation="false" dateTime="2019-06-25T12:00:00"/> <Weather cloudState="free"> <Sun intensity="0.85" azimuth="0" elevation="1.31"/> <Fog visualRange="100000.0"/> <Precipitation precipitationType="dry" intensity="0.0"/> </Weather> <RoadCondition frictionScaleFactor="1.0"/> </Environment> </EnvironmentAction> </GlobalAction> <Private entityRef="hero"> <PrivateAction> <TeleportAction> <Position> <WorldPosition x="-9.4" y="-152.8" z="0.5" h="1.57079632679"/> </Position> </TeleportAction> </PrivateAction> <PrivateAction> <ControllerAction> <AssignControllerAction> <Controller name="HeroAgent"> <Properties> <Property name="module" value="external_control"/> </Properties> </Controller> </AssignControllerAction> <OverrideControllerValueAction> <Throttle value="0" active="false"/> <Brake value="0" active="false"/> <Clutch value="0" active="false"/> <ParkingBrake value="0" active="false"/> <SteeringWheel value="0" active="false"/> <Gear number="0" active="false"/> </OverrideControllerValueAction> </ControllerAction> </PrivateAction> </Private> <Private entityRef="adversary"> <PrivateAction> <TeleportAction> <Position> <WorldPosition x="-9.4" y="-71.0" z="0.5" h="1.57079632679"/> </Position> </TeleportAction> </PrivateAction> </Private> <Private entityRef="standing"> <PrivateAction> <TeleportAction> <Position> <WorldPosition x="-8.2" y="29.2" z="0.5" h="1.57079632679"/> </Position> </TeleportAction> </PrivateAction> </Private> <Private entityRef="pedestrian_close_to_standing_559"> <PrivateAction> <TeleportAction> <Position> <WorldPosition x="-9.536955833435059" y="47.126556396484375" z="0.00307884206995368"/> </Position> </TeleportAction> </PrivateAction> </Private> <Private entityRef="pedestrian_close_to_hero_560"> <PrivateAction> <TeleportAction> <Position> <WorldPosition x="-14.028002738952637" y="-148.33392333984375" z="0.0014286803780123591"/> </Position> </TeleportAction> </PrivateAction> </Private> <Private entityRef="pedestrian_w_transform_561"> <PrivateAction> <TeleportAction> <Position> <WorldPosition x="41.66231155395508" y="-13.317110061645508" z="0.5"/> </Position> </TeleportAction> </PrivateAction> </Private> <Private entityRef="pedestrian_w_transform_562"> <PrivateAction> <TeleportAction> <Position> <WorldPosition x="-5.149931907653809" y="-50.89024353027344" z="0.5"/> </Position> </TeleportAction> </PrivateAction> </Private> <Private entityRef="pedestrian_close_to_standing_563"> <PrivateAction> <TeleportAction> <Position> <WorldPosition x="-3.937126874923706" y="19.32227897644043" z="0.0030942154116928577"/> </Position> </TeleportAction> </PrivateAction> </Private> <Private entityRef="pedestrian_w_transform_564"> <PrivateAction> <TeleportAction> <Position> <WorldPosition x="-57.62015151977539" y="38.44088363647461" z="0.5"/> </Position> </TeleportAction> </PrivateAction> </Private> <Private entityRef="pedestrian_w_transform_565"> <PrivateAction> <TeleportAction> <Position> <WorldPosition x="95.15489959716797" y="38.55360412597656" z="0.5"/> </Position> </TeleportAction> </PrivateAction> </Private> <Private entityRef="pedestrian_close_to_standing_566"> <PrivateAction> <TeleportAction> <Position> <WorldPosition x="0.7218384146690369" y="22.778898239135742" z="0.0030768965370953083"/> </Position> </TeleportAction> </PrivateAction> </Private> <Private entityRef="pedestrian_w_transform_567"> <PrivateAction> <TeleportAction> <Position> <WorldPosition x="99.4874496459961" y="-63.90755844116211" z="0.5"/> </Position> </TeleportAction> </PrivateAction> </Private> <Private entityRef="pedestrian_w_transform_568"> <PrivateAction> <TeleportAction> <Position> <WorldPosition x="38.28993606567383" y="-9.830204963684082" z="0.5"/> </Position> </TeleportAction> </PrivateAction> </Private> <Private entityRef="pedestrian_close_to_standing_569"> <PrivateAction> <TeleportAction> <Position> <WorldPosition x="1.1774576902389526" y="20.05030059814453" z="0.0030640410259366035"/> </Position> </TeleportAction> </PrivateAction> </Private> <Private entityRef="pedestrian_close_to_standing_570"> <PrivateAction> <TeleportAction> <Position> <WorldPosition x="-12.196562767028809" y="27.969131469726562" z="0.0030801009852439165"/> </Position> </TeleportAction> </PrivateAction> </Private> <Private entityRef="pedestrian_close_to_standing_571"> <PrivateAction> <TeleportAction> <Position> <WorldPosition x="0.714749276638031" y="35.0132942199707" z="0.003078193636611104"/> </Position> </TeleportAction> </PrivateAction> </Private> <Private entityRef="pedestrian_close_to_adversary_572"> <PrivateAction> <TeleportAction> <Position> <WorldPosition x="-5.909614086151123" y="-65.61824798583984" z="0.03381389379501343"/> </Position> </TeleportAction> </PrivateAction> </Private> <Private entityRef="pedestrian_close_to_standing_573"> <PrivateAction> <TeleportAction> <Position> <WorldPosition x="-2.2574985027313232" y="27.37887191772461" z="0.003079757560044527"/> </Position> </TeleportAction> </PrivateAction> </Private> <Private entityRef="pedestrian_close_to_adversary_574"> <PrivateAction> <TeleportAction> <Position> <WorldPosition x="-10.714239120483398" y="-63.209144592285156" z="0.033794134855270386"/> </Position> </TeleportAction> </PrivateAction> </Private> <Private entityRef="pedestrian_w_transform_576"> <PrivateAction> <TeleportAction> <Position> <WorldPosition x="65.9101791381836" y="48.40122604370117" z="0.5"/> </Position> </TeleportAction> </PrivateAction> </Private> <Private entityRef="pedestrian_close_to_standing_577"> <PrivateAction> <TeleportAction> <Position> <WorldPosition x="-14.985991477966309" y="33.73177719116211" z="0.0030637739691883326"/> </Position> </TeleportAction> </PrivateAction> </Private> <Private entityRef="pedestrian_close_to_adversary_578"> <PrivateAction> <TeleportAction> <Position> <WorldPosition x="-3.008845806121826" y="-79.02252197265625" z="0.03377056121826172"/> </Position> </TeleportAction> </PrivateAction> </Private> </Actions> </Init> <Story name="MyStory"> <Act name="Behavior"> <ManeuverGroup maximumExecutionCount="1" name="ManeuverSequence"> <Actors selectTriggeringEntities="false"> <EntityRef entityRef="adversary"/> </Actors> <Maneuver name="LaneChangeSimpleManeuver"> <Event name="AdversaryAccelerates" priority="overwrite"> <Action name="AdversaryAccelerates"> <PrivateAction> <LongitudinalAction> <SpeedAction> <SpeedActionDynamics dynamicsShape="step" value="50" dynamicsDimension="distance"/> <SpeedActionTarget> <AbsoluteTargetSpeed value="5.0"/> </SpeedActionTarget> </SpeedAction> </LongitudinalAction> </PrivateAction> </Action> <StartTrigger> <ConditionGroup> <Condition name="StartCondition" delay="0" conditionEdge="rising"> <ByEntityCondition> <TriggeringEntities triggeringEntitiesRule="any"> <EntityRef entityRef="hero"/> </TriggeringEntities> <EntityCondition> <RelativeDistanceCondition entityRef="adversary" relativeDistanceType="cartesianDistance" value="40.0" freespace="false" rule="lessThan"/> </EntityCondition> </ByEntityCondition> </Condition> </ConditionGroup> </StartTrigger> </Event> <Event name="AdversaryChangesLane" priority="overwrite"> <Action name="AdversaryChangesLane"> <PrivateAction> <LateralAction> <LaneChangeAction> <LaneChangeActionDynamics dynamicsShape="linear" value="25" dynamicsDimension="distance"/> <LaneChangeTarget> <RelativeTargetLane entityRef="adversary" value="-1"/> </LaneChangeTarget> </LaneChangeAction> </LateralAction> </PrivateAction> </Action> <StartTrigger> <ConditionGroup> <Condition name="AfterAdversaryAccelerates" delay="0" conditionEdge="rising"> <ByValueCondition> <StoryboardElementStateCondition storyboardElementType="action" storyboardElementRef="AdversaryAccelerates" state="completeState"/> </ByValueCondition> </Condition> </ConditionGroup> </StartTrigger> </Event> </Maneuver> </ManeuverGroup> <StartTrigger> <ConditionGroup> <Condition name="OverallStartCondition" delay="0" conditionEdge="rising"> <ByEntityCondition> <TriggeringEntities triggeringEntitiesRule="any"> <EntityRef entityRef="hero"/> </TriggeringEntities> <EntityCondition> <TraveledDistanceCondition value="1.0"/> </EntityCondition> </ByEntityCondition> </Condition> <Condition name="StartTime" delay="0" conditionEdge="rising"> <ByValueCondition> <SimulationTimeCondition value="0" rule="equalTo"/> </ByValueCondition> </Condition> </ConditionGroup> </StartTrigger> <StopTrigger> <ConditionGroup> <Condition name="EndCondition" delay="0" conditionEdge="rising"> <ByEntityCondition> <TriggeringEntities triggeringEntitiesRule="any"> <EntityRef entityRef="hero"/> </TriggeringEntities> <EntityCondition> <TraveledDistanceCondition value="200.0"/> </EntityCondition> </ByEntityCondition> </Condition> </ConditionGroup> </StopTrigger> </Act> </Story> <StopTrigger> <ConditionGroup> <Condition name="criteria_RunningStopTest" delay="0" conditionEdge="rising"> <ByValueCondition> <ParameterCondition parameterRef="" value="" rule="lessThan"/> </ByValueCondition> </Condition> <Condition name="criteria_RunningRedLightTest" delay="0" conditionEdge="rising"> <ByValueCondition> <ParameterCondition parameterRef="" value="" rule="lessThan"/> </ByValueCondition> </Condition> <Condition name="criteria_WrongLaneTest" delay="0" conditionEdge="rising"> <ByValueCondition> <ParameterCondition parameterRef="" value="" rule="lessThan"/> </ByValueCondition> </Condition> <Condition name="criteria_OnSidewalkTest" delay="0" conditionEdge="rising"> <ByValueCondition> <ParameterCondition parameterRef="" value="" rule="lessThan"/> </ByValueCondition> </Condition> <Condition name="criteria_KeepLaneTest" delay="0" conditionEdge="rising"> <ByValueCondition> <ParameterCondition parameterRef="" value="" rule="lessThan"/> </ByValueCondition> </Condition> <Condition name="criteria_CollisionTest" delay="0" conditionEdge="rising"> <ByValueCondition> <ParameterCondition parameterRef="" value="" rule="lessThan"/> </ByValueCondition> </Condition> <Condition name="criteria_DrivenDistanceTest" delay="0" conditionEdge="rising"> <ByValueCondition> <ParameterCondition parameterRef="distance_success" value="100" rule="lessThan"/> </ByValueCondition> </Condition> </ConditionGroup> </StopTrigger> </Storyboard> </OpenSCENARIO> ```
i would like to direct you to add pedestrian close to standing? ``` <?xml version="1.0" ?> <OpenSCENARIO> <FileHeader revMajor="1" revMinor="0" date="2020-03-24T12:00:00" description="CARLA:LaneChangeSimple" author=""/> <ParameterDeclarations/> <CatalogLocations/> <RoadNetwork> <LogicFile filepath="Town04"/> <SceneGraphFile filepath=""/> </RoadNetwork> <Entities> <ScenarioObject name="hero"> <Vehicle name="vehicle.tesla.model3" vehicleCategory="car"> <ParameterDeclarations/> <Performance maxSpeed="69.444" maxAcceleration="200" maxDeceleration="10.0"/> <BoundingBox> <Center x="1.5" y="0.0" z="0.9"/> <Dimensions width="2.1" length="4.5" height="1.8"/> </BoundingBox> <Axles> <FrontAxle maxSteering="0.5" wheelDiameter="0.6" trackWidth="1.8" positionX="3.1" positionZ="0.3"/> <RearAxle maxSteering="0.0" wheelDiameter="0.6" trackWidth="1.8" positionX="0.0" positionZ="0.3"/> </Axles> <Properties> <Property name="type" value="ego_vehicle"/> </Properties> </Vehicle> </ScenarioObject> <ScenarioObject name="adversary"> <Vehicle name="vehicle.lincoln.mkz_2017" vehicleCategory="car"> <ParameterDeclarations/> <Performance maxSpeed="69.444" maxAcceleration="200" maxDeceleration="10.0"/> <BoundingBox> <Center x="1.5" y="0.0" z="0.9"/> <Dimensions width="2.1" length="4.5" height="1.8"/> </BoundingBox> <Axles> <FrontAxle maxSteering="0.5" wheelDiameter="0.6" trackWidth="1.8" positionX="3.1" positionZ="0.3"/> <RearAxle maxSteering="0.0" wheelDiameter="0.6" trackWidth="1.8" positionX="0.0" positionZ="0.3"/> </Axles> <Properties> <Property name="type" value="simulation"/> </Properties> </Vehicle> </ScenarioObject> <ScenarioObject name="standing"> <Vehicle name="vehicle.volkswagen.t2" vehicleCategory="car"> <ParameterDeclarations/> <Performance maxSpeed="69.444" maxAcceleration="200" maxDeceleration="10.0"/> <BoundingBox> <Center x="1.5" y="0.0" z="0.9"/> <Dimensions width="2.1" length="4.5" height="1.8"/> </BoundingBox> <Axles> <FrontAxle maxSteering="0.5" wheelDiameter="0.6" trackWidth="1.8" positionX="3.1" positionZ="0.3"/> <RearAxle maxSteering="0.0" wheelDiameter="0.6" trackWidth="1.8" positionX="0.0" positionZ="0.3"/> </Axles> <Properties> <Property name="type" value="simulation"/> </Properties> </Vehicle> </ScenarioObject> <ScenarioObject name="pedestrian_close_to_standing_3340"> <Pedestrian model="walker.pedestrian.0001" mass="80" name="walker.pedestrian.0001" pedestrianCategory="pedestrian"> <ParameterDeclarations/> <BoundingBox> <Center x="1.5" y="0.0" z="0.9"/> <Dimensions width="2" length="2" height="2"/> </BoundingBox> <Properties> <Property name="type" value="simulation"/> </Properties> </Pedestrian> </ScenarioObject> </Entities> <Storyboard> <Init> <Actions> <GlobalAction> <EnvironmentAction> <Environment name="Environment1"> <TimeOfDay animation="false" dateTime="2019-06-25T12:00:00"/> <Weather cloudState="free"> <Sun intensity="0.85" azimuth="0" elevation="1.31"/> <Fog visualRange="100000.0"/> <Precipitation precipitationType="dry" intensity="0.0"/> </Weather> <RoadCondition frictionScaleFactor="1.0"/> </Environment> </EnvironmentAction> </GlobalAction> <Private entityRef="hero"> <PrivateAction> <TeleportAction> <Position> <WorldPosition x="-9.4" y="-152.8" z="0.5" h="1.57079632679"/> </Position> </TeleportAction> </PrivateAction> <PrivateAction> <ControllerAction> <AssignControllerAction> <Controller name="HeroAgent"> <Properties> <Property name="module" value="external_control"/> </Properties> </Controller> </AssignControllerAction> <OverrideControllerValueAction> <Throttle value="0" active="false"/> <Brake value="0" active="false"/> <Clutch value="0" active="false"/> <ParkingBrake value="0" active="false"/> <SteeringWheel value="0" active="false"/> <Gear number="0" active="false"/> </OverrideControllerValueAction> </ControllerAction> </PrivateAction> </Private> <Private entityRef="adversary"> <PrivateAction> <TeleportAction> <Position> <WorldPosition x="-9.4" y="-71.0" z="0.5" h="1.57079632679"/> </Position> </TeleportAction> </PrivateAction> </Private> <Private entityRef="standing"> <PrivateAction> <TeleportAction> <Position> <WorldPosition x="-8.2" y="29.2" z="0.5" h="1.57079632679"/> </Position> </TeleportAction> </PrivateAction> </Private> <Private entityRef="pedestrian_close_to_standing_3340"> <PrivateAction> <TeleportAction> <Position> <WorldPosition x="-15.027070045471191" y="19.700786590576172" z="0.0030935287941247225"/> </Position> </TeleportAction> </PrivateAction> </Private> </Actions> </Init> <Story name="MyStory"> <Act name="Behavior"> <ManeuverGroup maximumExecutionCount="1" name="ManeuverSequence"> <Actors selectTriggeringEntities="false"> <EntityRef entityRef="adversary"/> </Actors> <Maneuver name="LaneChangeSimpleManeuver"> <Event name="AdversaryAccelerates" priority="overwrite"> <Action name="AdversaryAccelerates"> <PrivateAction> <LongitudinalAction> <SpeedAction> <SpeedActionDynamics dynamicsShape="step" value="50" dynamicsDimension="distance"/> <SpeedActionTarget> <AbsoluteTargetSpeed value="5.0"/> </SpeedActionTarget> </SpeedAction> </LongitudinalAction> </PrivateAction> </Action> <StartTrigger> <ConditionGroup> <Condition name="StartCondition" delay="0" conditionEdge="rising"> <ByEntityCondition> <TriggeringEntities triggeringEntitiesRule="any"> <EntityRef entityRef="hero"/> </TriggeringEntities> <EntityCondition> <RelativeDistanceCondition entityRef="adversary" relativeDistanceType="cartesianDistance" value="40.0" freespace="false" rule="lessThan"/> </EntityCondition> </ByEntityCondition> </Condition> </ConditionGroup> </StartTrigger> </Event> <Event name="AdversaryChangesLane" priority="overwrite"> <Action name="AdversaryChangesLane"> <PrivateAction> <LateralAction> <LaneChangeAction> <LaneChangeActionDynamics dynamicsShape="linear" value="25" dynamicsDimension="distance"/> <LaneChangeTarget> <RelativeTargetLane entityRef="adversary" value="-1"/> </LaneChangeTarget> </LaneChangeAction> </LateralAction> </PrivateAction> </Action> <StartTrigger> <ConditionGroup> <Condition name="AfterAdversaryAccelerates" delay="0" conditionEdge="rising"> <ByValueCondition> <StoryboardElementStateCondition storyboardElementType="action" storyboardElementRef="AdversaryAccelerates" state="completeState"/> </ByValueCondition> </Condition> </ConditionGroup> </StartTrigger> </Event> </Maneuver> </ManeuverGroup> <StartTrigger> <ConditionGroup> <Condition name="OverallStartCondition" delay="0" conditionEdge="rising"> <ByEntityCondition> <TriggeringEntities triggeringEntitiesRule="any"> <EntityRef entityRef="hero"/> </TriggeringEntities> <EntityCondition> <TraveledDistanceCondition value="1.0"/> </EntityCondition> </ByEntityCondition> </Condition> <Condition name="StartTime" delay="0" conditionEdge="rising"> <ByValueCondition> <SimulationTimeCondition value="0" rule="equalTo"/> </ByValueCondition> </Condition> </ConditionGroup> </StartTrigger> <StopTrigger> <ConditionGroup> <Condition name="EndCondition" delay="0" conditionEdge="rising"> <ByEntityCondition> <TriggeringEntities triggeringEntitiesRule="any"> <EntityRef entityRef="hero"/> </TriggeringEntities> <EntityCondition> <TraveledDistanceCondition value="200.0"/> </EntityCondition> </ByEntityCondition> </Condition> </ConditionGroup> </StopTrigger> </Act> </Story> <StopTrigger> <ConditionGroup> <Condition name="criteria_RunningStopTest" delay="0" conditionEdge="rising"> <ByValueCondition> <ParameterCondition parameterRef="" value="" rule="lessThan"/> </ByValueCondition> </Condition> <Condition name="criteria_RunningRedLightTest" delay="0" conditionEdge="rising"> <ByValueCondition> <ParameterCondition parameterRef="" value="" rule="lessThan"/> </ByValueCondition> </Condition> <Condition name="criteria_WrongLaneTest" delay="0" conditionEdge="rising"> <ByValueCondition> <ParameterCondition parameterRef="" value="" rule="lessThan"/> </ByValueCondition> </Condition> <Condition name="criteria_OnSidewalkTest" delay="0" conditionEdge="rising"> <ByValueCondition> <ParameterCondition parameterRef="" value="" rule="lessThan"/> </ByValueCondition> </Condition> <Condition name="criteria_KeepLaneTest" delay="0" conditionEdge="rising"> <ByValueCondition> <ParameterCondition parameterRef="" value="" rule="lessThan"/> </ByValueCondition> </Condition> <Condition name="criteria_CollisionTest" delay="0" conditionEdge="rising"> <ByValueCondition> <ParameterCondition parameterRef="" value="" rule="lessThan"/> </ByValueCondition> </Condition> <Condition name="criteria_DrivenDistanceTest" delay="0" conditionEdge="rising"> <ByValueCondition> <ParameterCondition parameterRef="distance_success" value="100" rule="lessThan"/> </ByValueCondition> </Condition> </ConditionGroup> </StopTrigger> </Storyboard> </OpenSCENARIO> ```
Here is the result: ``` <?xml version="1.0" ?> <OpenSCENARIO> <FileHeader revMajor="1" revMinor="0" date="2020-03-24T12:00:00" description="CARLA:LaneChangeSimple" author=""/> <ParameterDeclarations/> <CatalogLocations/> <RoadNetwork> <LogicFile filepath="Town04"/> <SceneGraphFile filepath=""/> </RoadNetwork> <Entities> <ScenarioObject name="hero"> <Vehicle name="vehicle.tesla.model3" vehicleCategory="car"> <ParameterDeclarations/> <Performance maxSpeed="69.444" maxAcceleration="200" maxDeceleration="10.0"/> <BoundingBox> <Center x="1.5" y="0.0" z="0.9"/> <Dimensions width="2.1" length="4.5" height="1.8"/> </BoundingBox> <Axles> <FrontAxle maxSteering="0.5" wheelDiameter="0.6" trackWidth="1.8" positionX="3.1" positionZ="0.3"/> <RearAxle maxSteering="0.0" wheelDiameter="0.6" trackWidth="1.8" positionX="0.0" positionZ="0.3"/> </Axles> <Properties> <Property name="type" value="ego_vehicle"/> </Properties> </Vehicle> </ScenarioObject> <ScenarioObject name="adversary"> <Vehicle name="vehicle.lincoln.mkz_2017" vehicleCategory="car"> <ParameterDeclarations/> <Performance maxSpeed="69.444" maxAcceleration="200" maxDeceleration="10.0"/> <BoundingBox> <Center x="1.5" y="0.0" z="0.9"/> <Dimensions width="2.1" length="4.5" height="1.8"/> </BoundingBox> <Axles> <FrontAxle maxSteering="0.5" wheelDiameter="0.6" trackWidth="1.8" positionX="3.1" positionZ="0.3"/> <RearAxle maxSteering="0.0" wheelDiameter="0.6" trackWidth="1.8" positionX="0.0" positionZ="0.3"/> </Axles> <Properties> <Property name="type" value="simulation"/> </Properties> </Vehicle> </ScenarioObject> <ScenarioObject name="standing"> <Vehicle name="vehicle.volkswagen.t2" vehicleCategory="car"> <ParameterDeclarations/> <Performance maxSpeed="69.444" maxAcceleration="200" maxDeceleration="10.0"/> <BoundingBox> <Center x="1.5" y="0.0" z="0.9"/> <Dimensions width="2.1" length="4.5" height="1.8"/> </BoundingBox> <Axles> <FrontAxle maxSteering="0.5" wheelDiameter="0.6" trackWidth="1.8" positionX="3.1" positionZ="0.3"/> <RearAxle maxSteering="0.0" wheelDiameter="0.6" trackWidth="1.8" positionX="0.0" positionZ="0.3"/> </Axles> <Properties> <Property name="type" value="simulation"/> </Properties> </Vehicle> </ScenarioObject> <ScenarioObject name="pedestrian_close_to_standing_3340"> <Pedestrian model="walker.pedestrian.0001" mass="80" name="walker.pedestrian.0001" pedestrianCategory="pedestrian"> <ParameterDeclarations/> <BoundingBox> <Center x="1.5" y="0.0" z="0.9"/> <Dimensions width="2" length="2" height="2"/> </BoundingBox> <Properties> <Property name="type" value="simulation"/> </Properties> </Pedestrian> </ScenarioObject> <ScenarioObject name="pedestrian_close_to_standing_3341"> <Pedestrian model="walker.pedestrian.0001" mass="80" name="walker.pedestrian.0001" pedestrianCategory="pedestrian"> <ParameterDeclarations/> <BoundingBox> <Center x="1.5" y="0.0" z="0.9"/> <Dimensions width="2" length="2" height="2"/> </BoundingBox> <Properties> <Property name="type" value="simulation"/> </Properties> </Pedestrian> </ScenarioObject> </Entities> <Storyboard> <Init> <Actions> <GlobalAction> <EnvironmentAction> <Environment name="Environment1"> <TimeOfDay animation="false" dateTime="2019-06-25T12:00:00"/> <Weather cloudState="free"> <Sun intensity="0.85" azimuth="0" elevation="1.31"/> <Fog visualRange="100000.0"/> <Precipitation precipitationType="dry" intensity="0.0"/> </Weather> <RoadCondition frictionScaleFactor="1.0"/> </Environment> </EnvironmentAction> </GlobalAction> <Private entityRef="hero"> <PrivateAction> <TeleportAction> <Position> <WorldPosition x="-9.4" y="-152.8" z="0.5" h="1.57079632679"/> </Position> </TeleportAction> </PrivateAction> <PrivateAction> <ControllerAction> <AssignControllerAction> <Controller name="HeroAgent"> <Properties> <Property name="module" value="external_control"/> </Properties> </Controller> </AssignControllerAction> <OverrideControllerValueAction> <Throttle value="0" active="false"/> <Brake value="0" active="false"/> <Clutch value="0" active="false"/> <ParkingBrake value="0" active="false"/> <SteeringWheel value="0" active="false"/> <Gear number="0" active="false"/> </OverrideControllerValueAction> </ControllerAction> </PrivateAction> </Private> <Private entityRef="adversary"> <PrivateAction> <TeleportAction> <Position> <WorldPosition x="-9.4" y="-71.0" z="0.5" h="1.57079632679"/> </Position> </TeleportAction> </PrivateAction> </Private> <Private entityRef="standing"> <PrivateAction> <TeleportAction> <Position> <WorldPosition x="-8.2" y="29.2" z="0.5" h="1.57079632679"/> </Position> </TeleportAction> </PrivateAction> </Private> <Private entityRef="pedestrian_close_to_standing_3340"> <PrivateAction> <TeleportAction> <Position> <WorldPosition x="-15.027070045471191" y="19.700786590576172" z="0.0030935287941247225"/> </Position> </TeleportAction> </PrivateAction> </Private> <Private entityRef="pedestrian_close_to_standing_3341"> <PrivateAction> <TeleportAction> <Position> <WorldPosition x="-5.2236199378967285" y="38.23312759399414" z="0.00308399205096066"/> </Position> </TeleportAction> </PrivateAction> </Private> </Actions> </Init> <Story name="MyStory"> <Act name="Behavior"> <ManeuverGroup maximumExecutionCount="1" name="ManeuverSequence"> <Actors selectTriggeringEntities="false"> <EntityRef entityRef="adversary"/> </Actors> <Maneuver name="LaneChangeSimpleManeuver"> <Event name="AdversaryAccelerates" priority="overwrite"> <Action name="AdversaryAccelerates"> <PrivateAction> <LongitudinalAction> <SpeedAction> <SpeedActionDynamics dynamicsShape="step" value="50" dynamicsDimension="distance"/> <SpeedActionTarget> <AbsoluteTargetSpeed value="5.0"/> </SpeedActionTarget> </SpeedAction> </LongitudinalAction> </PrivateAction> </Action> <StartTrigger> <ConditionGroup> <Condition name="StartCondition" delay="0" conditionEdge="rising"> <ByEntityCondition> <TriggeringEntities triggeringEntitiesRule="any"> <EntityRef entityRef="hero"/> </TriggeringEntities> <EntityCondition> <RelativeDistanceCondition entityRef="adversary" relativeDistanceType="cartesianDistance" value="40.0" freespace="false" rule="lessThan"/> </EntityCondition> </ByEntityCondition> </Condition> </ConditionGroup> </StartTrigger> </Event> <Event name="AdversaryChangesLane" priority="overwrite"> <Action name="AdversaryChangesLane"> <PrivateAction> <LateralAction> <LaneChangeAction> <LaneChangeActionDynamics dynamicsShape="linear" value="25" dynamicsDimension="distance"/> <LaneChangeTarget> <RelativeTargetLane entityRef="adversary" value="-1"/> </LaneChangeTarget> </LaneChangeAction> </LateralAction> </PrivateAction> </Action> <StartTrigger> <ConditionGroup> <Condition name="AfterAdversaryAccelerates" delay="0" conditionEdge="rising"> <ByValueCondition> <StoryboardElementStateCondition storyboardElementType="action" storyboardElementRef="AdversaryAccelerates" state="completeState"/> </ByValueCondition> </Condition> </ConditionGroup> </StartTrigger> </Event> </Maneuver> </ManeuverGroup> <StartTrigger> <ConditionGroup> <Condition name="OverallStartCondition" delay="0" conditionEdge="rising"> <ByEntityCondition> <TriggeringEntities triggeringEntitiesRule="any"> <EntityRef entityRef="hero"/> </TriggeringEntities> <EntityCondition> <TraveledDistanceCondition value="1.0"/> </EntityCondition> </ByEntityCondition> </Condition> <Condition name="StartTime" delay="0" conditionEdge="rising"> <ByValueCondition> <SimulationTimeCondition value="0" rule="equalTo"/> </ByValueCondition> </Condition> </ConditionGroup> </StartTrigger> <StopTrigger> <ConditionGroup> <Condition name="EndCondition" delay="0" conditionEdge="rising"> <ByEntityCondition> <TriggeringEntities triggeringEntitiesRule="any"> <EntityRef entityRef="hero"/> </TriggeringEntities> <EntityCondition> <TraveledDistanceCondition value="200.0"/> </EntityCondition> </ByEntityCondition> </Condition> </ConditionGroup> </StopTrigger> </Act> </Story> <StopTrigger> <ConditionGroup> <Condition name="criteria_RunningStopTest" delay="0" conditionEdge="rising"> <ByValueCondition> <ParameterCondition parameterRef="" value="" rule="lessThan"/> </ByValueCondition> </Condition> <Condition name="criteria_RunningRedLightTest" delay="0" conditionEdge="rising"> <ByValueCondition> <ParameterCondition parameterRef="" value="" rule="lessThan"/> </ByValueCondition> </Condition> <Condition name="criteria_WrongLaneTest" delay="0" conditionEdge="rising"> <ByValueCondition> <ParameterCondition parameterRef="" value="" rule="lessThan"/> </ByValueCondition> </Condition> <Condition name="criteria_OnSidewalkTest" delay="0" conditionEdge="rising"> <ByValueCondition> <ParameterCondition parameterRef="" value="" rule="lessThan"/> </ByValueCondition> </Condition> <Condition name="criteria_KeepLaneTest" delay="0" conditionEdge="rising"> <ByValueCondition> <ParameterCondition parameterRef="" value="" rule="lessThan"/> </ByValueCondition> </Condition> <Condition name="criteria_CollisionTest" delay="0" conditionEdge="rising"> <ByValueCondition> <ParameterCondition parameterRef="" value="" rule="lessThan"/> </ByValueCondition> </Condition> <Condition name="criteria_DrivenDistanceTest" delay="0" conditionEdge="rising"> <ByValueCondition> <ParameterCondition parameterRef="distance_success" value="100" rule="lessThan"/> </ByValueCondition> </Condition> </ConditionGroup> </StopTrigger> </Storyboard> </OpenSCENARIO> ```
please add pedestrian close to standing? ``` <?xml version="1.0" ?> <OpenSCENARIO> <FileHeader revMajor="1" revMinor="0" date="2020-03-24T12:00:00" description="CARLA:LaneChangeSimple" author=""/> <ParameterDeclarations/> <CatalogLocations/> <RoadNetwork> <LogicFile filepath="Town04"/> <SceneGraphFile filepath=""/> </RoadNetwork> <Entities> <ScenarioObject name="hero"> <Vehicle name="vehicle.tesla.model3" vehicleCategory="car"> <ParameterDeclarations/> <Performance maxSpeed="69.444" maxAcceleration="200" maxDeceleration="10.0"/> <BoundingBox> <Center x="1.5" y="0.0" z="0.9"/> <Dimensions width="2.1" length="4.5" height="1.8"/> </BoundingBox> <Axles> <FrontAxle maxSteering="0.5" wheelDiameter="0.6" trackWidth="1.8" positionX="3.1" positionZ="0.3"/> <RearAxle maxSteering="0.0" wheelDiameter="0.6" trackWidth="1.8" positionX="0.0" positionZ="0.3"/> </Axles> <Properties> <Property name="type" value="ego_vehicle"/> </Properties> </Vehicle> </ScenarioObject> <ScenarioObject name="adversary"> <Vehicle name="vehicle.lincoln.mkz_2017" vehicleCategory="car"> <ParameterDeclarations/> <Performance maxSpeed="69.444" maxAcceleration="200" maxDeceleration="10.0"/> <BoundingBox> <Center x="1.5" y="0.0" z="0.9"/> <Dimensions width="2.1" length="4.5" height="1.8"/> </BoundingBox> <Axles> <FrontAxle maxSteering="0.5" wheelDiameter="0.6" trackWidth="1.8" positionX="3.1" positionZ="0.3"/> <RearAxle maxSteering="0.0" wheelDiameter="0.6" trackWidth="1.8" positionX="0.0" positionZ="0.3"/> </Axles> <Properties> <Property name="type" value="simulation"/> </Properties> </Vehicle> </ScenarioObject> <ScenarioObject name="standing"> <Vehicle name="vehicle.volkswagen.t2" vehicleCategory="car"> <ParameterDeclarations/> <Performance maxSpeed="69.444" maxAcceleration="200" maxDeceleration="10.0"/> <BoundingBox> <Center x="1.5" y="0.0" z="0.9"/> <Dimensions width="2.1" length="4.5" height="1.8"/> </BoundingBox> <Axles> <FrontAxle maxSteering="0.5" wheelDiameter="0.6" trackWidth="1.8" positionX="3.1" positionZ="0.3"/> <RearAxle maxSteering="0.0" wheelDiameter="0.6" trackWidth="1.8" positionX="0.0" positionZ="0.3"/> </Axles> <Properties> <Property name="type" value="simulation"/> </Properties> </Vehicle> </ScenarioObject> <ScenarioObject name="pedestrian_close_to_standing_9456"> <Pedestrian model="walker.pedestrian.0001" mass="80" name="walker.pedestrian.0001" pedestrianCategory="pedestrian"> <ParameterDeclarations/> <BoundingBox> <Center x="1.5" y="0.0" z="0.9"/> <Dimensions width="2" length="2" height="2"/> </BoundingBox> <Properties> <Property name="type" value="simulation"/> </Properties> </Pedestrian> </ScenarioObject> <ScenarioObject name="pedestrian_w_transform_9457"> <Pedestrian model="walker.pedestrian.0001" mass="80" name="walker.pedestrian.0001" pedestrianCategory="pedestrian"> <ParameterDeclarations/> <BoundingBox> <Center x="1.5" y="0.0" z="0.9"/> <Dimensions width="2" length="2" height="2"/> </BoundingBox> <Properties> <Property name="type" value="simulation"/> </Properties> </Pedestrian> </ScenarioObject> <ScenarioObject name="pedestrian_close_to_standing_9458"> <Pedestrian model="walker.pedestrian.0001" mass="80" name="walker.pedestrian.0001" pedestrianCategory="pedestrian"> <ParameterDeclarations/> <BoundingBox> <Center x="1.5" y="0.0" z="0.9"/> <Dimensions width="2" length="2" height="2"/> </BoundingBox> <Properties> <Property name="type" value="simulation"/> </Properties> </Pedestrian> </ScenarioObject> </Entities> <Storyboard> <Init> <Actions> <GlobalAction> <EnvironmentAction> <Environment name="Environment1"> <TimeOfDay animation="false" dateTime="2019-06-25T12:00:00"/> <Weather cloudState="free"> <Sun intensity="0.85" azimuth="0" elevation="1.31"/> <Fog visualRange="100000.0"/> <Precipitation precipitationType="dry" intensity="0.0"/> </Weather> <RoadCondition frictionScaleFactor="1.0"/> </Environment> </EnvironmentAction> </GlobalAction> <Private entityRef="hero"> <PrivateAction> <TeleportAction> <Position> <WorldPosition x="-9.4" y="-152.8" z="0.5" h="1.57079632679"/> </Position> </TeleportAction> </PrivateAction> <PrivateAction> <ControllerAction> <AssignControllerAction> <Controller name="HeroAgent"> <Properties> <Property name="module" value="external_control"/> </Properties> </Controller> </AssignControllerAction> <OverrideControllerValueAction> <Throttle value="0" active="false"/> <Brake value="0" active="false"/> <Clutch value="0" active="false"/> <ParkingBrake value="0" active="false"/> <SteeringWheel value="0" active="false"/> <Gear number="0" active="false"/> </OverrideControllerValueAction> </ControllerAction> </PrivateAction> </Private> <Private entityRef="adversary"> <PrivateAction> <TeleportAction> <Position> <WorldPosition x="-9.4" y="-71.0" z="0.5" h="1.57079632679"/> </Position> </TeleportAction> </PrivateAction> </Private> <Private entityRef="standing"> <PrivateAction> <TeleportAction> <Position> <WorldPosition x="-8.2" y="29.2" z="0.5" h="1.57079632679"/> </Position> </TeleportAction> </PrivateAction> </Private> <Private entityRef="pedestrian_close_to_standing_9456"> <PrivateAction> <TeleportAction> <Position> <WorldPosition x="-9.972634315490723" y="38.8546257019043" z="0.0030633925925940275"/> </Position> </TeleportAction> </PrivateAction> </Private> <Private entityRef="pedestrian_w_transform_9457"> <PrivateAction> <TeleportAction> <Position> <WorldPosition x="31.434415817260742" y="44.12890625" z="0.5"/> </Position> </TeleportAction> </PrivateAction> </Private> <Private entityRef="pedestrian_close_to_standing_9458"> <PrivateAction> <TeleportAction> <Position> <WorldPosition x="-12.736588478088379" y="35.734134674072266" z="0.0030781172681599855"/> </Position> </TeleportAction> </PrivateAction> </Private> </Actions> </Init> <Story name="MyStory"> <Act name="Behavior"> <ManeuverGroup maximumExecutionCount="1" name="ManeuverSequence"> <Actors selectTriggeringEntities="false"> <EntityRef entityRef="adversary"/> </Actors> <Maneuver name="LaneChangeSimpleManeuver"> <Event name="AdversaryAccelerates" priority="overwrite"> <Action name="AdversaryAccelerates"> <PrivateAction> <LongitudinalAction> <SpeedAction> <SpeedActionDynamics dynamicsShape="step" value="50" dynamicsDimension="distance"/> <SpeedActionTarget> <AbsoluteTargetSpeed value="5.0"/> </SpeedActionTarget> </SpeedAction> </LongitudinalAction> </PrivateAction> </Action> <StartTrigger> <ConditionGroup> <Condition name="StartCondition" delay="0" conditionEdge="rising"> <ByEntityCondition> <TriggeringEntities triggeringEntitiesRule="any"> <EntityRef entityRef="hero"/> </TriggeringEntities> <EntityCondition> <RelativeDistanceCondition entityRef="adversary" relativeDistanceType="cartesianDistance" value="40.0" freespace="false" rule="lessThan"/> </EntityCondition> </ByEntityCondition> </Condition> </ConditionGroup> </StartTrigger> </Event> <Event name="AdversaryChangesLane" priority="overwrite"> <Action name="AdversaryChangesLane"> <PrivateAction> <LateralAction> <LaneChangeAction> <LaneChangeActionDynamics dynamicsShape="linear" value="25" dynamicsDimension="distance"/> <LaneChangeTarget> <RelativeTargetLane entityRef="adversary" value="-1"/> </LaneChangeTarget> </LaneChangeAction> </LateralAction> </PrivateAction> </Action> <StartTrigger> <ConditionGroup> <Condition name="AfterAdversaryAccelerates" delay="0" conditionEdge="rising"> <ByValueCondition> <StoryboardElementStateCondition storyboardElementType="action" storyboardElementRef="AdversaryAccelerates" state="completeState"/> </ByValueCondition> </Condition> </ConditionGroup> </StartTrigger> </Event> </Maneuver> </ManeuverGroup> <StartTrigger> <ConditionGroup> <Condition name="OverallStartCondition" delay="0" conditionEdge="rising"> <ByEntityCondition> <TriggeringEntities triggeringEntitiesRule="any"> <EntityRef entityRef="hero"/> </TriggeringEntities> <EntityCondition> <TraveledDistanceCondition value="1.0"/> </EntityCondition> </ByEntityCondition> </Condition> <Condition name="StartTime" delay="0" conditionEdge="rising"> <ByValueCondition> <SimulationTimeCondition value="0" rule="equalTo"/> </ByValueCondition> </Condition> </ConditionGroup> </StartTrigger> <StopTrigger> <ConditionGroup> <Condition name="EndCondition" delay="0" conditionEdge="rising"> <ByEntityCondition> <TriggeringEntities triggeringEntitiesRule="any"> <EntityRef entityRef="hero"/> </TriggeringEntities> <EntityCondition> <TraveledDistanceCondition value="200.0"/> </EntityCondition> </ByEntityCondition> </Condition> </ConditionGroup> </StopTrigger> </Act> </Story> <StopTrigger> <ConditionGroup> <Condition name="criteria_RunningStopTest" delay="0" conditionEdge="rising"> <ByValueCondition> <ParameterCondition parameterRef="" value="" rule="lessThan"/> </ByValueCondition> </Condition> <Condition name="criteria_RunningRedLightTest" delay="0" conditionEdge="rising"> <ByValueCondition> <ParameterCondition parameterRef="" value="" rule="lessThan"/> </ByValueCondition> </Condition> <Condition name="criteria_WrongLaneTest" delay="0" conditionEdge="rising"> <ByValueCondition> <ParameterCondition parameterRef="" value="" rule="lessThan"/> </ByValueCondition> </Condition> <Condition name="criteria_OnSidewalkTest" delay="0" conditionEdge="rising"> <ByValueCondition> <ParameterCondition parameterRef="" value="" rule="lessThan"/> </ByValueCondition> </Condition> <Condition name="criteria_KeepLaneTest" delay="0" conditionEdge="rising"> <ByValueCondition> <ParameterCondition parameterRef="" value="" rule="lessThan"/> </ByValueCondition> </Condition> <Condition name="criteria_CollisionTest" delay="0" conditionEdge="rising"> <ByValueCondition> <ParameterCondition parameterRef="" value="" rule="lessThan"/> </ByValueCondition> </Condition> <Condition name="criteria_DrivenDistanceTest" delay="0" conditionEdge="rising"> <ByValueCondition> <ParameterCondition parameterRef="distance_success" value="100" rule="lessThan"/> </ByValueCondition> </Condition> </ConditionGroup> </StopTrigger> </Storyboard> </OpenSCENARIO> ```
Here is the result: ``` <?xml version="1.0" ?> <OpenSCENARIO> <FileHeader revMajor="1" revMinor="0" date="2020-03-24T12:00:00" description="CARLA:LaneChangeSimple" author=""/> <ParameterDeclarations/> <CatalogLocations/> <RoadNetwork> <LogicFile filepath="Town04"/> <SceneGraphFile filepath=""/> </RoadNetwork> <Entities> <ScenarioObject name="hero"> <Vehicle name="vehicle.tesla.model3" vehicleCategory="car"> <ParameterDeclarations/> <Performance maxSpeed="69.444" maxAcceleration="200" maxDeceleration="10.0"/> <BoundingBox> <Center x="1.5" y="0.0" z="0.9"/> <Dimensions width="2.1" length="4.5" height="1.8"/> </BoundingBox> <Axles> <FrontAxle maxSteering="0.5" wheelDiameter="0.6" trackWidth="1.8" positionX="3.1" positionZ="0.3"/> <RearAxle maxSteering="0.0" wheelDiameter="0.6" trackWidth="1.8" positionX="0.0" positionZ="0.3"/> </Axles> <Properties> <Property name="type" value="ego_vehicle"/> </Properties> </Vehicle> </ScenarioObject> <ScenarioObject name="adversary"> <Vehicle name="vehicle.lincoln.mkz_2017" vehicleCategory="car"> <ParameterDeclarations/> <Performance maxSpeed="69.444" maxAcceleration="200" maxDeceleration="10.0"/> <BoundingBox> <Center x="1.5" y="0.0" z="0.9"/> <Dimensions width="2.1" length="4.5" height="1.8"/> </BoundingBox> <Axles> <FrontAxle maxSteering="0.5" wheelDiameter="0.6" trackWidth="1.8" positionX="3.1" positionZ="0.3"/> <RearAxle maxSteering="0.0" wheelDiameter="0.6" trackWidth="1.8" positionX="0.0" positionZ="0.3"/> </Axles> <Properties> <Property name="type" value="simulation"/> </Properties> </Vehicle> </ScenarioObject> <ScenarioObject name="standing"> <Vehicle name="vehicle.volkswagen.t2" vehicleCategory="car"> <ParameterDeclarations/> <Performance maxSpeed="69.444" maxAcceleration="200" maxDeceleration="10.0"/> <BoundingBox> <Center x="1.5" y="0.0" z="0.9"/> <Dimensions width="2.1" length="4.5" height="1.8"/> </BoundingBox> <Axles> <FrontAxle maxSteering="0.5" wheelDiameter="0.6" trackWidth="1.8" positionX="3.1" positionZ="0.3"/> <RearAxle maxSteering="0.0" wheelDiameter="0.6" trackWidth="1.8" positionX="0.0" positionZ="0.3"/> </Axles> <Properties> <Property name="type" value="simulation"/> </Properties> </Vehicle> </ScenarioObject> <ScenarioObject name="pedestrian_close_to_standing_9456"> <Pedestrian model="walker.pedestrian.0001" mass="80" name="walker.pedestrian.0001" pedestrianCategory="pedestrian"> <ParameterDeclarations/> <BoundingBox> <Center x="1.5" y="0.0" z="0.9"/> <Dimensions width="2" length="2" height="2"/> </BoundingBox> <Properties> <Property name="type" value="simulation"/> </Properties> </Pedestrian> </ScenarioObject> <ScenarioObject name="pedestrian_w_transform_9457"> <Pedestrian model="walker.pedestrian.0001" mass="80" name="walker.pedestrian.0001" pedestrianCategory="pedestrian"> <ParameterDeclarations/> <BoundingBox> <Center x="1.5" y="0.0" z="0.9"/> <Dimensions width="2" length="2" height="2"/> </BoundingBox> <Properties> <Property name="type" value="simulation"/> </Properties> </Pedestrian> </ScenarioObject> <ScenarioObject name="pedestrian_close_to_standing_9458"> <Pedestrian model="walker.pedestrian.0001" mass="80" name="walker.pedestrian.0001" pedestrianCategory="pedestrian"> <ParameterDeclarations/> <BoundingBox> <Center x="1.5" y="0.0" z="0.9"/> <Dimensions width="2" length="2" height="2"/> </BoundingBox> <Properties> <Property name="type" value="simulation"/> </Properties> </Pedestrian> </ScenarioObject> <ScenarioObject name="pedestrian_close_to_standing_9459"> <Pedestrian model="walker.pedestrian.0001" mass="80" name="walker.pedestrian.0001" pedestrianCategory="pedestrian"> <ParameterDeclarations/> <BoundingBox> <Center x="1.5" y="0.0" z="0.9"/> <Dimensions width="2" length="2" height="2"/> </BoundingBox> <Properties> <Property name="type" value="simulation"/> </Properties> </Pedestrian> </ScenarioObject> </Entities> <Storyboard> <Init> <Actions> <GlobalAction> <EnvironmentAction> <Environment name="Environment1"> <TimeOfDay animation="false" dateTime="2019-06-25T12:00:00"/> <Weather cloudState="free"> <Sun intensity="0.85" azimuth="0" elevation="1.31"/> <Fog visualRange="100000.0"/> <Precipitation precipitationType="dry" intensity="0.0"/> </Weather> <RoadCondition frictionScaleFactor="1.0"/> </Environment> </EnvironmentAction> </GlobalAction> <Private entityRef="hero"> <PrivateAction> <TeleportAction> <Position> <WorldPosition x="-9.4" y="-152.8" z="0.5" h="1.57079632679"/> </Position> </TeleportAction> </PrivateAction> <PrivateAction> <ControllerAction> <AssignControllerAction> <Controller name="HeroAgent"> <Properties> <Property name="module" value="external_control"/> </Properties> </Controller> </AssignControllerAction> <OverrideControllerValueAction> <Throttle value="0" active="false"/> <Brake value="0" active="false"/> <Clutch value="0" active="false"/> <ParkingBrake value="0" active="false"/> <SteeringWheel value="0" active="false"/> <Gear number="0" active="false"/> </OverrideControllerValueAction> </ControllerAction> </PrivateAction> </Private> <Private entityRef="adversary"> <PrivateAction> <TeleportAction> <Position> <WorldPosition x="-9.4" y="-71.0" z="0.5" h="1.57079632679"/> </Position> </TeleportAction> </PrivateAction> </Private> <Private entityRef="standing"> <PrivateAction> <TeleportAction> <Position> <WorldPosition x="-8.2" y="29.2" z="0.5" h="1.57079632679"/> </Position> </TeleportAction> </PrivateAction> </Private> <Private entityRef="pedestrian_close_to_standing_9456"> <PrivateAction> <TeleportAction> <Position> <WorldPosition x="-9.972634315490723" y="38.8546257019043" z="0.0030633925925940275"/> </Position> </TeleportAction> </PrivateAction> </Private> <Private entityRef="pedestrian_w_transform_9457"> <PrivateAction> <TeleportAction> <Position> <WorldPosition x="31.434415817260742" y="44.12890625" z="0.5"/> </Position> </TeleportAction> </PrivateAction> </Private> <Private entityRef="pedestrian_close_to_standing_9458"> <PrivateAction> <TeleportAction> <Position> <WorldPosition x="-12.736588478088379" y="35.734134674072266" z="0.0030781172681599855"/> </Position> </TeleportAction> </PrivateAction> </Private> <Private entityRef="pedestrian_close_to_standing_9459"> <PrivateAction> <TeleportAction> <Position> <WorldPosition x="-11.27003288269043" y="36.79655456542969" z="0.003042678814381361"/> </Position> </TeleportAction> </PrivateAction> </Private> </Actions> </Init> <Story name="MyStory"> <Act name="Behavior"> <ManeuverGroup maximumExecutionCount="1" name="ManeuverSequence"> <Actors selectTriggeringEntities="false"> <EntityRef entityRef="adversary"/> </Actors> <Maneuver name="LaneChangeSimpleManeuver"> <Event name="AdversaryAccelerates" priority="overwrite"> <Action name="AdversaryAccelerates"> <PrivateAction> <LongitudinalAction> <SpeedAction> <SpeedActionDynamics dynamicsShape="step" value="50" dynamicsDimension="distance"/> <SpeedActionTarget> <AbsoluteTargetSpeed value="5.0"/> </SpeedActionTarget> </SpeedAction> </LongitudinalAction> </PrivateAction> </Action> <StartTrigger> <ConditionGroup> <Condition name="StartCondition" delay="0" conditionEdge="rising"> <ByEntityCondition> <TriggeringEntities triggeringEntitiesRule="any"> <EntityRef entityRef="hero"/> </TriggeringEntities> <EntityCondition> <RelativeDistanceCondition entityRef="adversary" relativeDistanceType="cartesianDistance" value="40.0" freespace="false" rule="lessThan"/> </EntityCondition> </ByEntityCondition> </Condition> </ConditionGroup> </StartTrigger> </Event> <Event name="AdversaryChangesLane" priority="overwrite"> <Action name="AdversaryChangesLane"> <PrivateAction> <LateralAction> <LaneChangeAction> <LaneChangeActionDynamics dynamicsShape="linear" value="25" dynamicsDimension="distance"/> <LaneChangeTarget> <RelativeTargetLane entityRef="adversary" value="-1"/> </LaneChangeTarget> </LaneChangeAction> </LateralAction> </PrivateAction> </Action> <StartTrigger> <ConditionGroup> <Condition name="AfterAdversaryAccelerates" delay="0" conditionEdge="rising"> <ByValueCondition> <StoryboardElementStateCondition storyboardElementType="action" storyboardElementRef="AdversaryAccelerates" state="completeState"/> </ByValueCondition> </Condition> </ConditionGroup> </StartTrigger> </Event> </Maneuver> </ManeuverGroup> <StartTrigger> <ConditionGroup> <Condition name="OverallStartCondition" delay="0" conditionEdge="rising"> <ByEntityCondition> <TriggeringEntities triggeringEntitiesRule="any"> <EntityRef entityRef="hero"/> </TriggeringEntities> <EntityCondition> <TraveledDistanceCondition value="1.0"/> </EntityCondition> </ByEntityCondition> </Condition> <Condition name="StartTime" delay="0" conditionEdge="rising"> <ByValueCondition> <SimulationTimeCondition value="0" rule="equalTo"/> </ByValueCondition> </Condition> </ConditionGroup> </StartTrigger> <StopTrigger> <ConditionGroup> <Condition name="EndCondition" delay="0" conditionEdge="rising"> <ByEntityCondition> <TriggeringEntities triggeringEntitiesRule="any"> <EntityRef entityRef="hero"/> </TriggeringEntities> <EntityCondition> <TraveledDistanceCondition value="200.0"/> </EntityCondition> </ByEntityCondition> </Condition> </ConditionGroup> </StopTrigger> </Act> </Story> <StopTrigger> <ConditionGroup> <Condition name="criteria_RunningStopTest" delay="0" conditionEdge="rising"> <ByValueCondition> <ParameterCondition parameterRef="" value="" rule="lessThan"/> </ByValueCondition> </Condition> <Condition name="criteria_RunningRedLightTest" delay="0" conditionEdge="rising"> <ByValueCondition> <ParameterCondition parameterRef="" value="" rule="lessThan"/> </ByValueCondition> </Condition> <Condition name="criteria_WrongLaneTest" delay="0" conditionEdge="rising"> <ByValueCondition> <ParameterCondition parameterRef="" value="" rule="lessThan"/> </ByValueCondition> </Condition> <Condition name="criteria_OnSidewalkTest" delay="0" conditionEdge="rising"> <ByValueCondition> <ParameterCondition parameterRef="" value="" rule="lessThan"/> </ByValueCondition> </Condition> <Condition name="criteria_KeepLaneTest" delay="0" conditionEdge="rising"> <ByValueCondition> <ParameterCondition parameterRef="" value="" rule="lessThan"/> </ByValueCondition> </Condition> <Condition name="criteria_CollisionTest" delay="0" conditionEdge="rising"> <ByValueCondition> <ParameterCondition parameterRef="" value="" rule="lessThan"/> </ByValueCondition> </Condition> <Condition name="criteria_DrivenDistanceTest" delay="0" conditionEdge="rising"> <ByValueCondition> <ParameterCondition parameterRef="distance_success" value="100" rule="lessThan"/> </ByValueCondition> </Condition> </ConditionGroup> </StopTrigger> </Storyboard> </OpenSCENARIO> ```
would you remove pedestrian close to adversary? ``` <?xml version="1.0" ?> <OpenSCENARIO> <FileHeader revMajor="1" revMinor="0" date="2020-03-24T12:00:00" description="CARLA:LaneChangeSimple" author=""/> <ParameterDeclarations/> <CatalogLocations/> <RoadNetwork> <LogicFile filepath="Town04"/> <SceneGraphFile filepath=""/> </RoadNetwork> <Entities> <ScenarioObject name="hero"> <Vehicle name="vehicle.tesla.model3" vehicleCategory="car"> <ParameterDeclarations/> <Performance maxSpeed="69.444" maxAcceleration="200" maxDeceleration="10.0"/> <BoundingBox> <Center x="1.5" y="0.0" z="0.9"/> <Dimensions width="2.1" length="4.5" height="1.8"/> </BoundingBox> <Axles> <FrontAxle maxSteering="0.5" wheelDiameter="0.6" trackWidth="1.8" positionX="3.1" positionZ="0.3"/> <RearAxle maxSteering="0.0" wheelDiameter="0.6" trackWidth="1.8" positionX="0.0" positionZ="0.3"/> </Axles> <Properties> <Property name="type" value="ego_vehicle"/> </Properties> </Vehicle> </ScenarioObject> <ScenarioObject name="adversary"> <Vehicle name="vehicle.lincoln.mkz_2017" vehicleCategory="car"> <ParameterDeclarations/> <Performance maxSpeed="69.444" maxAcceleration="200" maxDeceleration="10.0"/> <BoundingBox> <Center x="1.5" y="0.0" z="0.9"/> <Dimensions width="2.1" length="4.5" height="1.8"/> </BoundingBox> <Axles> <FrontAxle maxSteering="0.5" wheelDiameter="0.6" trackWidth="1.8" positionX="3.1" positionZ="0.3"/> <RearAxle maxSteering="0.0" wheelDiameter="0.6" trackWidth="1.8" positionX="0.0" positionZ="0.3"/> </Axles> <Properties> <Property name="type" value="simulation"/> </Properties> </Vehicle> </ScenarioObject> <ScenarioObject name="standing"> <Vehicle name="vehicle.volkswagen.t2" vehicleCategory="car"> <ParameterDeclarations/> <Performance maxSpeed="69.444" maxAcceleration="200" maxDeceleration="10.0"/> <BoundingBox> <Center x="1.5" y="0.0" z="0.9"/> <Dimensions width="2.1" length="4.5" height="1.8"/> </BoundingBox> <Axles> <FrontAxle maxSteering="0.5" wheelDiameter="0.6" trackWidth="1.8" positionX="3.1" positionZ="0.3"/> <RearAxle maxSteering="0.0" wheelDiameter="0.6" trackWidth="1.8" positionX="0.0" positionZ="0.3"/> </Axles> <Properties> <Property name="type" value="simulation"/> </Properties> </Vehicle> </ScenarioObject> <ScenarioObject name="pedestrian_close_to_hero_9643"> <Pedestrian model="walker.pedestrian.0001" mass="80" name="walker.pedestrian.0001" pedestrianCategory="pedestrian"> <ParameterDeclarations/> <BoundingBox> <Center x="1.5" y="0.0" z="0.9"/> <Dimensions width="2" length="2" height="2"/> </BoundingBox> <Properties> <Property name="type" value="simulation"/> </Properties> </Pedestrian> </ScenarioObject> <ScenarioObject name="pedestrian_close_to_hero_9644"> <Pedestrian model="walker.pedestrian.0001" mass="80" name="walker.pedestrian.0001" pedestrianCategory="pedestrian"> <ParameterDeclarations/> <BoundingBox> <Center x="1.5" y="0.0" z="0.9"/> <Dimensions width="2" length="2" height="2"/> </BoundingBox> <Properties> <Property name="type" value="simulation"/> </Properties> </Pedestrian> </ScenarioObject> <ScenarioObject name="pedestrian_close_to_hero_9645"> <Pedestrian model="walker.pedestrian.0001" mass="80" name="walker.pedestrian.0001" pedestrianCategory="pedestrian"> <ParameterDeclarations/> <BoundingBox> <Center x="1.5" y="0.0" z="0.9"/> <Dimensions width="2" length="2" height="2"/> </BoundingBox> <Properties> <Property name="type" value="simulation"/> </Properties> </Pedestrian> </ScenarioObject> <ScenarioObject name="pedestrian_close_to_adversary_9646"> <Pedestrian model="walker.pedestrian.0001" mass="80" name="walker.pedestrian.0001" pedestrianCategory="pedestrian"> <ParameterDeclarations/> <BoundingBox> <Center x="1.5" y="0.0" z="0.9"/> <Dimensions width="2" length="2" height="2"/> </BoundingBox> <Properties> <Property name="type" value="simulation"/> </Properties> </Pedestrian> </ScenarioObject> <ScenarioObject name="pedestrian_w_transform_9647"> <Pedestrian model="walker.pedestrian.0001" mass="80" name="walker.pedestrian.0001" pedestrianCategory="pedestrian"> <ParameterDeclarations/> <BoundingBox> <Center x="1.5" y="0.0" z="0.9"/> <Dimensions width="2" length="2" height="2"/> </BoundingBox> <Properties> <Property name="type" value="simulation"/> </Properties> </Pedestrian> </ScenarioObject> <ScenarioObject name="pedestrian_close_to_standing_9648"> <Pedestrian model="walker.pedestrian.0001" mass="80" name="walker.pedestrian.0001" pedestrianCategory="pedestrian"> <ParameterDeclarations/> <BoundingBox> <Center x="1.5" y="0.0" z="0.9"/> <Dimensions width="2" length="2" height="2"/> </BoundingBox> <Properties> <Property name="type" value="simulation"/> </Properties> </Pedestrian> </ScenarioObject> <ScenarioObject name="pedestrian_w_transform_9650"> <Pedestrian model="walker.pedestrian.0001" mass="80" name="walker.pedestrian.0001" pedestrianCategory="pedestrian"> <ParameterDeclarations/> <BoundingBox> <Center x="1.5" y="0.0" z="0.9"/> <Dimensions width="2" length="2" height="2"/> </BoundingBox> <Properties> <Property name="type" value="simulation"/> </Properties> </Pedestrian> </ScenarioObject> <ScenarioObject name="pedestrian_close_to_hero_9651"> <Pedestrian model="walker.pedestrian.0001" mass="80" name="walker.pedestrian.0001" pedestrianCategory="pedestrian"> <ParameterDeclarations/> <BoundingBox> <Center x="1.5" y="0.0" z="0.9"/> <Dimensions width="2" length="2" height="2"/> </BoundingBox> <Properties> <Property name="type" value="simulation"/> </Properties> </Pedestrian> </ScenarioObject> <ScenarioObject name="pedestrian_close_to_standing_9652"> <Pedestrian model="walker.pedestrian.0001" mass="80" name="walker.pedestrian.0001" pedestrianCategory="pedestrian"> <ParameterDeclarations/> <BoundingBox> <Center x="1.5" y="0.0" z="0.9"/> <Dimensions width="2" length="2" height="2"/> </BoundingBox> <Properties> <Property name="type" value="simulation"/> </Properties> </Pedestrian> </ScenarioObject> <ScenarioObject name="pedestrian_w_transform_9653"> <Pedestrian model="walker.pedestrian.0001" mass="80" name="walker.pedestrian.0001" pedestrianCategory="pedestrian"> <ParameterDeclarations/> <BoundingBox> <Center x="1.5" y="0.0" z="0.9"/> <Dimensions width="2" length="2" height="2"/> </BoundingBox> <Properties> <Property name="type" value="simulation"/> </Properties> </Pedestrian> </ScenarioObject> <ScenarioObject name="pedestrian_w_transform_9654"> <Pedestrian model="walker.pedestrian.0001" mass="80" name="walker.pedestrian.0001" pedestrianCategory="pedestrian"> <ParameterDeclarations/> <BoundingBox> <Center x="1.5" y="0.0" z="0.9"/> <Dimensions width="2" length="2" height="2"/> </BoundingBox> <Properties> <Property name="type" value="simulation"/> </Properties> </Pedestrian> </ScenarioObject> <ScenarioObject name="pedestrian_w_transform_9655"> <Pedestrian model="walker.pedestrian.0001" mass="80" name="walker.pedestrian.0001" pedestrianCategory="pedestrian"> <ParameterDeclarations/> <BoundingBox> <Center x="1.5" y="0.0" z="0.9"/> <Dimensions width="2" length="2" height="2"/> </BoundingBox> <Properties> <Property name="type" value="simulation"/> </Properties> </Pedestrian> </ScenarioObject> <ScenarioObject name="pedestrian_close_to_adversary_9656"> <Pedestrian model="walker.pedestrian.0001" mass="80" name="walker.pedestrian.0001" pedestrianCategory="pedestrian"> <ParameterDeclarations/> <BoundingBox> <Center x="1.5" y="0.0" z="0.9"/> <Dimensions width="2" length="2" height="2"/> </BoundingBox> <Properties> <Property name="type" value="simulation"/> </Properties> </Pedestrian> </ScenarioObject> <ScenarioObject name="pedestrian_close_to_hero_9657"> <Pedestrian model="walker.pedestrian.0001" mass="80" name="walker.pedestrian.0001" pedestrianCategory="pedestrian"> <ParameterDeclarations/> <BoundingBox> <Center x="1.5" y="0.0" z="0.9"/> <Dimensions width="2" length="2" height="2"/> </BoundingBox> <Properties> <Property name="type" value="simulation"/> </Properties> </Pedestrian> </ScenarioObject> <ScenarioObject name="pedestrian_close_to_adversary_9659"> <Pedestrian model="walker.pedestrian.0001" mass="80" name="walker.pedestrian.0001" pedestrianCategory="pedestrian"> <ParameterDeclarations/> <BoundingBox> <Center x="1.5" y="0.0" z="0.9"/> <Dimensions width="2" length="2" height="2"/> </BoundingBox> <Properties> <Property name="type" value="simulation"/> </Properties> </Pedestrian> </ScenarioObject> <ScenarioObject name="pedestrian_w_transform_9663"> <Pedestrian model="walker.pedestrian.0001" mass="80" name="walker.pedestrian.0001" pedestrianCategory="pedestrian"> <ParameterDeclarations/> <BoundingBox> <Center x="1.5" y="0.0" z="0.9"/> <Dimensions width="2" length="2" height="2"/> </BoundingBox> <Properties> <Property name="type" value="simulation"/> </Properties> </Pedestrian> </ScenarioObject> <ScenarioObject name="pedestrian_w_transform_9664"> <Pedestrian model="walker.pedestrian.0001" mass="80" name="walker.pedestrian.0001" pedestrianCategory="pedestrian"> <ParameterDeclarations/> <BoundingBox> <Center x="1.5" y="0.0" z="0.9"/> <Dimensions width="2" length="2" height="2"/> </BoundingBox> <Properties> <Property name="type" value="simulation"/> </Properties> </Pedestrian> </ScenarioObject> <ScenarioObject name="pedestrian_close_to_hero_9665"> <Pedestrian model="walker.pedestrian.0001" mass="80" name="walker.pedestrian.0001" pedestrianCategory="pedestrian"> <ParameterDeclarations/> <BoundingBox> <Center x="1.5" y="0.0" z="0.9"/> <Dimensions width="2" length="2" height="2"/> </BoundingBox> <Properties> <Property name="type" value="simulation"/> </Properties> </Pedestrian> </ScenarioObject> </Entities> <Storyboard> <Init> <Actions> <GlobalAction> <EnvironmentAction> <Environment name="Environment1"> <TimeOfDay animation="false" dateTime="2019-06-25T12:00:00"/> <Weather cloudState="free"> <Sun intensity="0.85" azimuth="0" elevation="1.31"/> <Fog visualRange="100000.0"/> <Precipitation precipitationType="dry" intensity="0.0"/> </Weather> <RoadCondition frictionScaleFactor="1.0"/> </Environment> </EnvironmentAction> </GlobalAction> <Private entityRef="hero"> <PrivateAction> <TeleportAction> <Position> <WorldPosition x="-9.4" y="-152.8" z="0.5" h="1.57079632679"/> </Position> </TeleportAction> </PrivateAction> <PrivateAction> <ControllerAction> <AssignControllerAction> <Controller name="HeroAgent"> <Properties> <Property name="module" value="external_control"/> </Properties> </Controller> </AssignControllerAction> <OverrideControllerValueAction> <Throttle value="0" active="false"/> <Brake value="0" active="false"/> <Clutch value="0" active="false"/> <ParkingBrake value="0" active="false"/> <SteeringWheel value="0" active="false"/> <Gear number="0" active="false"/> </OverrideControllerValueAction> </ControllerAction> </PrivateAction> </Private> <Private entityRef="adversary"> <PrivateAction> <TeleportAction> <Position> <WorldPosition x="-9.4" y="-71.0" z="0.5" h="1.57079632679"/> </Position> </TeleportAction> </PrivateAction> </Private> <Private entityRef="standing"> <PrivateAction> <TeleportAction> <Position> <WorldPosition x="-8.2" y="29.2" z="0.5" h="1.57079632679"/> </Position> </TeleportAction> </PrivateAction> </Private> <Private entityRef="pedestrian_close_to_hero_9643"> <PrivateAction> <TeleportAction> <Position> <WorldPosition x="-10.207279205322266" y="-161.3930206298828" z="0.0014286803780123591"/> </Position> </TeleportAction> </PrivateAction> </Private> <Private entityRef="pedestrian_close_to_hero_9644"> <PrivateAction> <TeleportAction> <Position> <WorldPosition x="-3.8232293128967285" y="-151.01727294921875" z="0.0014286803780123591"/> </Position> </TeleportAction> </PrivateAction> </Private> <Private entityRef="pedestrian_close_to_hero_9645"> <PrivateAction> <TeleportAction> <Position> <WorldPosition x="-2.558900833129883" y="-151.1981658935547" z="0.0014286803780123591"/> </Position> </TeleportAction> </PrivateAction> </Private> <Private entityRef="pedestrian_close_to_adversary_9646"> <PrivateAction> <TeleportAction> <Position> <WorldPosition x="-13.7330961227417" y="-64.89192962646484" z="0.03379669040441513"/> </Position> </TeleportAction> </PrivateAction> </Private> <Private entityRef="pedestrian_w_transform_9647"> <PrivateAction> <TeleportAction> <Position> <WorldPosition x="95.79920196533203" y="80.04885864257812" z="0.5"/> </Position> </TeleportAction> </PrivateAction> </Private> <Private entityRef="pedestrian_close_to_standing_9648"> <PrivateAction> <TeleportAction> <Position> <WorldPosition x="-9.355746269226074" y="21.732126235961914" z="0.0030569075606763363"/> </Position> </TeleportAction> </PrivateAction> </Private> <Private entityRef="pedestrian_w_transform_9650"> <PrivateAction> <TeleportAction> <Position> <WorldPosition x="-4.257977485656738" y="26.08160400390625" z="0.5"/> </Position> </TeleportAction> </PrivateAction> </Private> <Private entityRef="pedestrian_close_to_hero_9651"> <PrivateAction> <TeleportAction> <Position> <WorldPosition x="-7.354298114776611" y="-144.32073974609375" z="0.0014286803780123591"/> </Position> </TeleportAction> </PrivateAction> </Private> <Private entityRef="pedestrian_close_to_standing_9652"> <PrivateAction> <TeleportAction> <Position> <WorldPosition x="-8.344078063964844" y="37.288639068603516" z="0.0030462646391242743"/> </Position> </TeleportAction> </PrivateAction> </Private> <Private entityRef="pedestrian_w_transform_9653"> <PrivateAction> <TeleportAction> <Position> <WorldPosition x="-9.346031188964844" y="26.295080184936523" z="0.5"/> </Position> </TeleportAction> </PrivateAction> </Private> <Private entityRef="pedestrian_w_transform_9654"> <PrivateAction> <TeleportAction> <Position> <WorldPosition x="1.88448166847229" y="-41.354488372802734" z="0.5"/> </Position> </TeleportAction> </PrivateAction> </Private> <Private entityRef="pedestrian_w_transform_9655"> <PrivateAction> <TeleportAction> <Position> <WorldPosition x="-25.22757339477539" y="-59.04629898071289" z="0.5"/> </Position> </TeleportAction> </PrivateAction> </Private> <Private entityRef="pedestrian_close_to_adversary_9656"> <PrivateAction> <TeleportAction> <Position> <WorldPosition x="-19.173120498657227" y="-62.09103012084961" z="0.03379253298044205"/> </Position> </TeleportAction> </PrivateAction> </Private> <Private entityRef="pedestrian_close_to_hero_9657"> <PrivateAction> <TeleportAction> <Position> <WorldPosition x="-5.9408440589904785" y="-141.52923583984375" z="0.0014286803780123591"/> </Position> </TeleportAction> </PrivateAction> </Private> <Private entityRef="pedestrian_close_to_adversary_9659"> <PrivateAction> <TeleportAction> <Position> <WorldPosition x="-16.503087997436523" y="-63.054046630859375" z="0.03377342224121094"/> </Position> </TeleportAction> </PrivateAction> </Private> <Private entityRef="pedestrian_w_transform_9663"> <PrivateAction> <TeleportAction> <Position> <WorldPosition x="-70.58092498779297" y="55.70368576049805" z="0.5"/> </Position> </TeleportAction> </PrivateAction> </Private> <Private entityRef="pedestrian_w_transform_9664"> <PrivateAction> <TeleportAction> <Position> <WorldPosition x="-15.613680839538574" y="-89.73089599609375" z="0.5"/> </Position> </TeleportAction> </PrivateAction> </Private> <Private entityRef="pedestrian_close_to_hero_9665"> <PrivateAction> <TeleportAction> <Position> <WorldPosition x="-13.412678718566895" y="-152.60107421875" z="0.0014286803780123591"/> </Position> </TeleportAction> </PrivateAction> </Private> </Actions> </Init> <Story name="MyStory"> <Act name="Behavior"> <ManeuverGroup maximumExecutionCount="1" name="ManeuverSequence"> <Actors selectTriggeringEntities="false"> <EntityRef entityRef="adversary"/> </Actors> <Maneuver name="LaneChangeSimpleManeuver"> <Event name="AdversaryAccelerates" priority="overwrite"> <Action name="AdversaryAccelerates"> <PrivateAction> <LongitudinalAction> <SpeedAction> <SpeedActionDynamics dynamicsShape="step" value="50" dynamicsDimension="distance"/> <SpeedActionTarget> <AbsoluteTargetSpeed value="5.0"/> </SpeedActionTarget> </SpeedAction> </LongitudinalAction> </PrivateAction> </Action> <StartTrigger> <ConditionGroup> <Condition name="StartCondition" delay="0" conditionEdge="rising"> <ByEntityCondition> <TriggeringEntities triggeringEntitiesRule="any"> <EntityRef entityRef="hero"/> </TriggeringEntities> <EntityCondition> <RelativeDistanceCondition entityRef="adversary" relativeDistanceType="cartesianDistance" value="40.0" freespace="false" rule="lessThan"/> </EntityCondition> </ByEntityCondition> </Condition> </ConditionGroup> </StartTrigger> </Event> <Event name="AdversaryChangesLane" priority="overwrite"> <Action name="AdversaryChangesLane"> <PrivateAction> <LateralAction> <LaneChangeAction> <LaneChangeActionDynamics dynamicsShape="linear" value="25" dynamicsDimension="distance"/> <LaneChangeTarget> <RelativeTargetLane entityRef="adversary" value="-1"/> </LaneChangeTarget> </LaneChangeAction> </LateralAction> </PrivateAction> </Action> <StartTrigger> <ConditionGroup> <Condition name="AfterAdversaryAccelerates" delay="0" conditionEdge="rising"> <ByValueCondition> <StoryboardElementStateCondition storyboardElementType="action" storyboardElementRef="AdversaryAccelerates" state="completeState"/> </ByValueCondition> </Condition> </ConditionGroup> </StartTrigger> </Event> </Maneuver> </ManeuverGroup> <StartTrigger> <ConditionGroup> <Condition name="OverallStartCondition" delay="0" conditionEdge="rising"> <ByEntityCondition> <TriggeringEntities triggeringEntitiesRule="any"> <EntityRef entityRef="hero"/> </TriggeringEntities> <EntityCondition> <TraveledDistanceCondition value="1.0"/> </EntityCondition> </ByEntityCondition> </Condition> <Condition name="StartTime" delay="0" conditionEdge="rising"> <ByValueCondition> <SimulationTimeCondition value="0" rule="equalTo"/> </ByValueCondition> </Condition> </ConditionGroup> </StartTrigger> <StopTrigger> <ConditionGroup> <Condition name="EndCondition" delay="0" conditionEdge="rising"> <ByEntityCondition> <TriggeringEntities triggeringEntitiesRule="any"> <EntityRef entityRef="hero"/> </TriggeringEntities> <EntityCondition> <TraveledDistanceCondition value="200.0"/> </EntityCondition> </ByEntityCondition> </Condition> </ConditionGroup> </StopTrigger> </Act> </Story> <StopTrigger> <ConditionGroup> <Condition name="criteria_RunningStopTest" delay="0" conditionEdge="rising"> <ByValueCondition> <ParameterCondition parameterRef="" value="" rule="lessThan"/> </ByValueCondition> </Condition> <Condition name="criteria_RunningRedLightTest" delay="0" conditionEdge="rising"> <ByValueCondition> <ParameterCondition parameterRef="" value="" rule="lessThan"/> </ByValueCondition> </Condition> <Condition name="criteria_WrongLaneTest" delay="0" conditionEdge="rising"> <ByValueCondition> <ParameterCondition parameterRef="" value="" rule="lessThan"/> </ByValueCondition> </Condition> <Condition name="criteria_OnSidewalkTest" delay="0" conditionEdge="rising"> <ByValueCondition> <ParameterCondition parameterRef="" value="" rule="lessThan"/> </ByValueCondition> </Condition> <Condition name="criteria_KeepLaneTest" delay="0" conditionEdge="rising"> <ByValueCondition> <ParameterCondition parameterRef="" value="" rule="lessThan"/> </ByValueCondition> </Condition> <Condition name="criteria_CollisionTest" delay="0" conditionEdge="rising"> <ByValueCondition> <ParameterCondition parameterRef="" value="" rule="lessThan"/> </ByValueCondition> </Condition> <Condition name="criteria_DrivenDistanceTest" delay="0" conditionEdge="rising"> <ByValueCondition> <ParameterCondition parameterRef="distance_success" value="100" rule="lessThan"/> </ByValueCondition> </Condition> </ConditionGroup> </StopTrigger> </Storyboard> </OpenSCENARIO> ```
Here is the result: ``` <?xml version="1.0" ?> <OpenSCENARIO> <FileHeader revMajor="1" revMinor="0" date="2020-03-24T12:00:00" description="CARLA:LaneChangeSimple" author=""/> <ParameterDeclarations/> <CatalogLocations/> <RoadNetwork> <LogicFile filepath="Town04"/> <SceneGraphFile filepath=""/> </RoadNetwork> <Entities> <ScenarioObject name="hero"> <Vehicle name="vehicle.tesla.model3" vehicleCategory="car"> <ParameterDeclarations/> <Performance maxSpeed="69.444" maxAcceleration="200" maxDeceleration="10.0"/> <BoundingBox> <Center x="1.5" y="0.0" z="0.9"/> <Dimensions width="2.1" length="4.5" height="1.8"/> </BoundingBox> <Axles> <FrontAxle maxSteering="0.5" wheelDiameter="0.6" trackWidth="1.8" positionX="3.1" positionZ="0.3"/> <RearAxle maxSteering="0.0" wheelDiameter="0.6" trackWidth="1.8" positionX="0.0" positionZ="0.3"/> </Axles> <Properties> <Property name="type" value="ego_vehicle"/> </Properties> </Vehicle> </ScenarioObject> <ScenarioObject name="adversary"> <Vehicle name="vehicle.lincoln.mkz_2017" vehicleCategory="car"> <ParameterDeclarations/> <Performance maxSpeed="69.444" maxAcceleration="200" maxDeceleration="10.0"/> <BoundingBox> <Center x="1.5" y="0.0" z="0.9"/> <Dimensions width="2.1" length="4.5" height="1.8"/> </BoundingBox> <Axles> <FrontAxle maxSteering="0.5" wheelDiameter="0.6" trackWidth="1.8" positionX="3.1" positionZ="0.3"/> <RearAxle maxSteering="0.0" wheelDiameter="0.6" trackWidth="1.8" positionX="0.0" positionZ="0.3"/> </Axles> <Properties> <Property name="type" value="simulation"/> </Properties> </Vehicle> </ScenarioObject> <ScenarioObject name="standing"> <Vehicle name="vehicle.volkswagen.t2" vehicleCategory="car"> <ParameterDeclarations/> <Performance maxSpeed="69.444" maxAcceleration="200" maxDeceleration="10.0"/> <BoundingBox> <Center x="1.5" y="0.0" z="0.9"/> <Dimensions width="2.1" length="4.5" height="1.8"/> </BoundingBox> <Axles> <FrontAxle maxSteering="0.5" wheelDiameter="0.6" trackWidth="1.8" positionX="3.1" positionZ="0.3"/> <RearAxle maxSteering="0.0" wheelDiameter="0.6" trackWidth="1.8" positionX="0.0" positionZ="0.3"/> </Axles> <Properties> <Property name="type" value="simulation"/> </Properties> </Vehicle> </ScenarioObject> <ScenarioObject name="pedestrian_close_to_hero_9643"> <Pedestrian model="walker.pedestrian.0001" mass="80" name="walker.pedestrian.0001" pedestrianCategory="pedestrian"> <ParameterDeclarations/> <BoundingBox> <Center x="1.5" y="0.0" z="0.9"/> <Dimensions width="2" length="2" height="2"/> </BoundingBox> <Properties> <Property name="type" value="simulation"/> </Properties> </Pedestrian> </ScenarioObject> <ScenarioObject name="pedestrian_close_to_hero_9644"> <Pedestrian model="walker.pedestrian.0001" mass="80" name="walker.pedestrian.0001" pedestrianCategory="pedestrian"> <ParameterDeclarations/> <BoundingBox> <Center x="1.5" y="0.0" z="0.9"/> <Dimensions width="2" length="2" height="2"/> </BoundingBox> <Properties> <Property name="type" value="simulation"/> </Properties> </Pedestrian> </ScenarioObject> <ScenarioObject name="pedestrian_close_to_hero_9645"> <Pedestrian model="walker.pedestrian.0001" mass="80" name="walker.pedestrian.0001" pedestrianCategory="pedestrian"> <ParameterDeclarations/> <BoundingBox> <Center x="1.5" y="0.0" z="0.9"/> <Dimensions width="2" length="2" height="2"/> </BoundingBox> <Properties> <Property name="type" value="simulation"/> </Properties> </Pedestrian> </ScenarioObject> <ScenarioObject name="pedestrian_w_transform_9647"> <Pedestrian model="walker.pedestrian.0001" mass="80" name="walker.pedestrian.0001" pedestrianCategory="pedestrian"> <ParameterDeclarations/> <BoundingBox> <Center x="1.5" y="0.0" z="0.9"/> <Dimensions width="2" length="2" height="2"/> </BoundingBox> <Properties> <Property name="type" value="simulation"/> </Properties> </Pedestrian> </ScenarioObject> <ScenarioObject name="pedestrian_close_to_standing_9648"> <Pedestrian model="walker.pedestrian.0001" mass="80" name="walker.pedestrian.0001" pedestrianCategory="pedestrian"> <ParameterDeclarations/> <BoundingBox> <Center x="1.5" y="0.0" z="0.9"/> <Dimensions width="2" length="2" height="2"/> </BoundingBox> <Properties> <Property name="type" value="simulation"/> </Properties> </Pedestrian> </ScenarioObject> <ScenarioObject name="pedestrian_w_transform_9650"> <Pedestrian model="walker.pedestrian.0001" mass="80" name="walker.pedestrian.0001" pedestrianCategory="pedestrian"> <ParameterDeclarations/> <BoundingBox> <Center x="1.5" y="0.0" z="0.9"/> <Dimensions width="2" length="2" height="2"/> </BoundingBox> <Properties> <Property name="type" value="simulation"/> </Properties> </Pedestrian> </ScenarioObject> <ScenarioObject name="pedestrian_close_to_hero_9651"> <Pedestrian model="walker.pedestrian.0001" mass="80" name="walker.pedestrian.0001" pedestrianCategory="pedestrian"> <ParameterDeclarations/> <BoundingBox> <Center x="1.5" y="0.0" z="0.9"/> <Dimensions width="2" length="2" height="2"/> </BoundingBox> <Properties> <Property name="type" value="simulation"/> </Properties> </Pedestrian> </ScenarioObject> <ScenarioObject name="pedestrian_close_to_standing_9652"> <Pedestrian model="walker.pedestrian.0001" mass="80" name="walker.pedestrian.0001" pedestrianCategory="pedestrian"> <ParameterDeclarations/> <BoundingBox> <Center x="1.5" y="0.0" z="0.9"/> <Dimensions width="2" length="2" height="2"/> </BoundingBox> <Properties> <Property name="type" value="simulation"/> </Properties> </Pedestrian> </ScenarioObject> <ScenarioObject name="pedestrian_w_transform_9653"> <Pedestrian model="walker.pedestrian.0001" mass="80" name="walker.pedestrian.0001" pedestrianCategory="pedestrian"> <ParameterDeclarations/> <BoundingBox> <Center x="1.5" y="0.0" z="0.9"/> <Dimensions width="2" length="2" height="2"/> </BoundingBox> <Properties> <Property name="type" value="simulation"/> </Properties> </Pedestrian> </ScenarioObject> <ScenarioObject name="pedestrian_w_transform_9654"> <Pedestrian model="walker.pedestrian.0001" mass="80" name="walker.pedestrian.0001" pedestrianCategory="pedestrian"> <ParameterDeclarations/> <BoundingBox> <Center x="1.5" y="0.0" z="0.9"/> <Dimensions width="2" length="2" height="2"/> </BoundingBox> <Properties> <Property name="type" value="simulation"/> </Properties> </Pedestrian> </ScenarioObject> <ScenarioObject name="pedestrian_w_transform_9655"> <Pedestrian model="walker.pedestrian.0001" mass="80" name="walker.pedestrian.0001" pedestrianCategory="pedestrian"> <ParameterDeclarations/> <BoundingBox> <Center x="1.5" y="0.0" z="0.9"/> <Dimensions width="2" length="2" height="2"/> </BoundingBox> <Properties> <Property name="type" value="simulation"/> </Properties> </Pedestrian> </ScenarioObject> <ScenarioObject name="pedestrian_close_to_adversary_9656"> <Pedestrian model="walker.pedestrian.0001" mass="80" name="walker.pedestrian.0001" pedestrianCategory="pedestrian"> <ParameterDeclarations/> <BoundingBox> <Center x="1.5" y="0.0" z="0.9"/> <Dimensions width="2" length="2" height="2"/> </BoundingBox> <Properties> <Property name="type" value="simulation"/> </Properties> </Pedestrian> </ScenarioObject> <ScenarioObject name="pedestrian_close_to_hero_9657"> <Pedestrian model="walker.pedestrian.0001" mass="80" name="walker.pedestrian.0001" pedestrianCategory="pedestrian"> <ParameterDeclarations/> <BoundingBox> <Center x="1.5" y="0.0" z="0.9"/> <Dimensions width="2" length="2" height="2"/> </BoundingBox> <Properties> <Property name="type" value="simulation"/> </Properties> </Pedestrian> </ScenarioObject> <ScenarioObject name="pedestrian_close_to_adversary_9659"> <Pedestrian model="walker.pedestrian.0001" mass="80" name="walker.pedestrian.0001" pedestrianCategory="pedestrian"> <ParameterDeclarations/> <BoundingBox> <Center x="1.5" y="0.0" z="0.9"/> <Dimensions width="2" length="2" height="2"/> </BoundingBox> <Properties> <Property name="type" value="simulation"/> </Properties> </Pedestrian> </ScenarioObject> <ScenarioObject name="pedestrian_w_transform_9663"> <Pedestrian model="walker.pedestrian.0001" mass="80" name="walker.pedestrian.0001" pedestrianCategory="pedestrian"> <ParameterDeclarations/> <BoundingBox> <Center x="1.5" y="0.0" z="0.9"/> <Dimensions width="2" length="2" height="2"/> </BoundingBox> <Properties> <Property name="type" value="simulation"/> </Properties> </Pedestrian> </ScenarioObject> <ScenarioObject name="pedestrian_w_transform_9664"> <Pedestrian model="walker.pedestrian.0001" mass="80" name="walker.pedestrian.0001" pedestrianCategory="pedestrian"> <ParameterDeclarations/> <BoundingBox> <Center x="1.5" y="0.0" z="0.9"/> <Dimensions width="2" length="2" height="2"/> </BoundingBox> <Properties> <Property name="type" value="simulation"/> </Properties> </Pedestrian> </ScenarioObject> <ScenarioObject name="pedestrian_close_to_hero_9665"> <Pedestrian model="walker.pedestrian.0001" mass="80" name="walker.pedestrian.0001" pedestrianCategory="pedestrian"> <ParameterDeclarations/> <BoundingBox> <Center x="1.5" y="0.0" z="0.9"/> <Dimensions width="2" length="2" height="2"/> </BoundingBox> <Properties> <Property name="type" value="simulation"/> </Properties> </Pedestrian> </ScenarioObject> </Entities> <Storyboard> <Init> <Actions> <GlobalAction> <EnvironmentAction> <Environment name="Environment1"> <TimeOfDay animation="false" dateTime="2019-06-25T12:00:00"/> <Weather cloudState="free"> <Sun intensity="0.85" azimuth="0" elevation="1.31"/> <Fog visualRange="100000.0"/> <Precipitation precipitationType="dry" intensity="0.0"/> </Weather> <RoadCondition frictionScaleFactor="1.0"/> </Environment> </EnvironmentAction> </GlobalAction> <Private entityRef="hero"> <PrivateAction> <TeleportAction> <Position> <WorldPosition x="-9.4" y="-152.8" z="0.5" h="1.57079632679"/> </Position> </TeleportAction> </PrivateAction> <PrivateAction> <ControllerAction> <AssignControllerAction> <Controller name="HeroAgent"> <Properties> <Property name="module" value="external_control"/> </Properties> </Controller> </AssignControllerAction> <OverrideControllerValueAction> <Throttle value="0" active="false"/> <Brake value="0" active="false"/> <Clutch value="0" active="false"/> <ParkingBrake value="0" active="false"/> <SteeringWheel value="0" active="false"/> <Gear number="0" active="false"/> </OverrideControllerValueAction> </ControllerAction> </PrivateAction> </Private> <Private entityRef="adversary"> <PrivateAction> <TeleportAction> <Position> <WorldPosition x="-9.4" y="-71.0" z="0.5" h="1.57079632679"/> </Position> </TeleportAction> </PrivateAction> </Private> <Private entityRef="standing"> <PrivateAction> <TeleportAction> <Position> <WorldPosition x="-8.2" y="29.2" z="0.5" h="1.57079632679"/> </Position> </TeleportAction> </PrivateAction> </Private> <Private entityRef="pedestrian_close_to_hero_9643"> <PrivateAction> <TeleportAction> <Position> <WorldPosition x="-10.207279205322266" y="-161.3930206298828" z="0.0014286803780123591"/> </Position> </TeleportAction> </PrivateAction> </Private> <Private entityRef="pedestrian_close_to_hero_9644"> <PrivateAction> <TeleportAction> <Position> <WorldPosition x="-3.8232293128967285" y="-151.01727294921875" z="0.0014286803780123591"/> </Position> </TeleportAction> </PrivateAction> </Private> <Private entityRef="pedestrian_close_to_hero_9645"> <PrivateAction> <TeleportAction> <Position> <WorldPosition x="-2.558900833129883" y="-151.1981658935547" z="0.0014286803780123591"/> </Position> </TeleportAction> </PrivateAction> </Private> <Private entityRef="pedestrian_w_transform_9647"> <PrivateAction> <TeleportAction> <Position> <WorldPosition x="95.79920196533203" y="80.04885864257812" z="0.5"/> </Position> </TeleportAction> </PrivateAction> </Private> <Private entityRef="pedestrian_close_to_standing_9648"> <PrivateAction> <TeleportAction> <Position> <WorldPosition x="-9.355746269226074" y="21.732126235961914" z="0.0030569075606763363"/> </Position> </TeleportAction> </PrivateAction> </Private> <Private entityRef="pedestrian_w_transform_9650"> <PrivateAction> <TeleportAction> <Position> <WorldPosition x="-4.257977485656738" y="26.08160400390625" z="0.5"/> </Position> </TeleportAction> </PrivateAction> </Private> <Private entityRef="pedestrian_close_to_hero_9651"> <PrivateAction> <TeleportAction> <Position> <WorldPosition x="-7.354298114776611" y="-144.32073974609375" z="0.0014286803780123591"/> </Position> </TeleportAction> </PrivateAction> </Private> <Private entityRef="pedestrian_close_to_standing_9652"> <PrivateAction> <TeleportAction> <Position> <WorldPosition x="-8.344078063964844" y="37.288639068603516" z="0.0030462646391242743"/> </Position> </TeleportAction> </PrivateAction> </Private> <Private entityRef="pedestrian_w_transform_9653"> <PrivateAction> <TeleportAction> <Position> <WorldPosition x="-9.346031188964844" y="26.295080184936523" z="0.5"/> </Position> </TeleportAction> </PrivateAction> </Private> <Private entityRef="pedestrian_w_transform_9654"> <PrivateAction> <TeleportAction> <Position> <WorldPosition x="1.88448166847229" y="-41.354488372802734" z="0.5"/> </Position> </TeleportAction> </PrivateAction> </Private> <Private entityRef="pedestrian_w_transform_9655"> <PrivateAction> <TeleportAction> <Position> <WorldPosition x="-25.22757339477539" y="-59.04629898071289" z="0.5"/> </Position> </TeleportAction> </PrivateAction> </Private> <Private entityRef="pedestrian_close_to_adversary_9656"> <PrivateAction> <TeleportAction> <Position> <WorldPosition x="-19.173120498657227" y="-62.09103012084961" z="0.03379253298044205"/> </Position> </TeleportAction> </PrivateAction> </Private> <Private entityRef="pedestrian_close_to_hero_9657"> <PrivateAction> <TeleportAction> <Position> <WorldPosition x="-5.9408440589904785" y="-141.52923583984375" z="0.0014286803780123591"/> </Position> </TeleportAction> </PrivateAction> </Private> <Private entityRef="pedestrian_close_to_adversary_9659"> <PrivateAction> <TeleportAction> <Position> <WorldPosition x="-16.503087997436523" y="-63.054046630859375" z="0.03377342224121094"/> </Position> </TeleportAction> </PrivateAction> </Private> <Private entityRef="pedestrian_w_transform_9663"> <PrivateAction> <TeleportAction> <Position> <WorldPosition x="-70.58092498779297" y="55.70368576049805" z="0.5"/> </Position> </TeleportAction> </PrivateAction> </Private> <Private entityRef="pedestrian_w_transform_9664"> <PrivateAction> <TeleportAction> <Position> <WorldPosition x="-15.613680839538574" y="-89.73089599609375" z="0.5"/> </Position> </TeleportAction> </PrivateAction> </Private> <Private entityRef="pedestrian_close_to_hero_9665"> <PrivateAction> <TeleportAction> <Position> <WorldPosition x="-13.412678718566895" y="-152.60107421875" z="0.0014286803780123591"/> </Position> </TeleportAction> </PrivateAction> </Private> </Actions> </Init> <Story name="MyStory"> <Act name="Behavior"> <ManeuverGroup maximumExecutionCount="1" name="ManeuverSequence"> <Actors selectTriggeringEntities="false"> <EntityRef entityRef="adversary"/> </Actors> <Maneuver name="LaneChangeSimpleManeuver"> <Event name="AdversaryAccelerates" priority="overwrite"> <Action name="AdversaryAccelerates"> <PrivateAction> <LongitudinalAction> <SpeedAction> <SpeedActionDynamics dynamicsShape="step" value="50" dynamicsDimension="distance"/> <SpeedActionTarget> <AbsoluteTargetSpeed value="5.0"/> </SpeedActionTarget> </SpeedAction> </LongitudinalAction> </PrivateAction> </Action> <StartTrigger> <ConditionGroup> <Condition name="StartCondition" delay="0" conditionEdge="rising"> <ByEntityCondition> <TriggeringEntities triggeringEntitiesRule="any"> <EntityRef entityRef="hero"/> </TriggeringEntities> <EntityCondition> <RelativeDistanceCondition entityRef="adversary" relativeDistanceType="cartesianDistance" value="40.0" freespace="false" rule="lessThan"/> </EntityCondition> </ByEntityCondition> </Condition> </ConditionGroup> </StartTrigger> </Event> <Event name="AdversaryChangesLane" priority="overwrite"> <Action name="AdversaryChangesLane"> <PrivateAction> <LateralAction> <LaneChangeAction> <LaneChangeActionDynamics dynamicsShape="linear" value="25" dynamicsDimension="distance"/> <LaneChangeTarget> <RelativeTargetLane entityRef="adversary" value="-1"/> </LaneChangeTarget> </LaneChangeAction> </LateralAction> </PrivateAction> </Action> <StartTrigger> <ConditionGroup> <Condition name="AfterAdversaryAccelerates" delay="0" conditionEdge="rising"> <ByValueCondition> <StoryboardElementStateCondition storyboardElementType="action" storyboardElementRef="AdversaryAccelerates" state="completeState"/> </ByValueCondition> </Condition> </ConditionGroup> </StartTrigger> </Event> </Maneuver> </ManeuverGroup> <StartTrigger> <ConditionGroup> <Condition name="OverallStartCondition" delay="0" conditionEdge="rising"> <ByEntityCondition> <TriggeringEntities triggeringEntitiesRule="any"> <EntityRef entityRef="hero"/> </TriggeringEntities> <EntityCondition> <TraveledDistanceCondition value="1.0"/> </EntityCondition> </ByEntityCondition> </Condition> <Condition name="StartTime" delay="0" conditionEdge="rising"> <ByValueCondition> <SimulationTimeCondition value="0" rule="equalTo"/> </ByValueCondition> </Condition> </ConditionGroup> </StartTrigger> <StopTrigger> <ConditionGroup> <Condition name="EndCondition" delay="0" conditionEdge="rising"> <ByEntityCondition> <TriggeringEntities triggeringEntitiesRule="any"> <EntityRef entityRef="hero"/> </TriggeringEntities> <EntityCondition> <TraveledDistanceCondition value="200.0"/> </EntityCondition> </ByEntityCondition> </Condition> </ConditionGroup> </StopTrigger> </Act> </Story> <StopTrigger> <ConditionGroup> <Condition name="criteria_RunningStopTest" delay="0" conditionEdge="rising"> <ByValueCondition> <ParameterCondition parameterRef="" value="" rule="lessThan"/> </ByValueCondition> </Condition> <Condition name="criteria_RunningRedLightTest" delay="0" conditionEdge="rising"> <ByValueCondition> <ParameterCondition parameterRef="" value="" rule="lessThan"/> </ByValueCondition> </Condition> <Condition name="criteria_WrongLaneTest" delay="0" conditionEdge="rising"> <ByValueCondition> <ParameterCondition parameterRef="" value="" rule="lessThan"/> </ByValueCondition> </Condition> <Condition name="criteria_OnSidewalkTest" delay="0" conditionEdge="rising"> <ByValueCondition> <ParameterCondition parameterRef="" value="" rule="lessThan"/> </ByValueCondition> </Condition> <Condition name="criteria_KeepLaneTest" delay="0" conditionEdge="rising"> <ByValueCondition> <ParameterCondition parameterRef="" value="" rule="lessThan"/> </ByValueCondition> </Condition> <Condition name="criteria_CollisionTest" delay="0" conditionEdge="rising"> <ByValueCondition> <ParameterCondition parameterRef="" value="" rule="lessThan"/> </ByValueCondition> </Condition> <Condition name="criteria_DrivenDistanceTest" delay="0" conditionEdge="rising"> <ByValueCondition> <ParameterCondition parameterRef="distance_success" value="100" rule="lessThan"/> </ByValueCondition> </Condition> </ConditionGroup> </StopTrigger> </Storyboard> </OpenSCENARIO> ```
i would like to instruct you to add pedestrian at location (-55.31, -1.42, 0.5)? ``` <?xml version="1.0" ?> <OpenSCENARIO> <FileHeader revMajor="1" revMinor="0" date="2020-03-24T12:00:00" description="CARLA:LaneChangeSimple" author=""/> <ParameterDeclarations/> <CatalogLocations/> <RoadNetwork> <LogicFile filepath="Town04"/> <SceneGraphFile filepath=""/> </RoadNetwork> <Entities> <ScenarioObject name="hero"> <Vehicle name="vehicle.tesla.model3" vehicleCategory="car"> <ParameterDeclarations/> <Performance maxSpeed="69.444" maxAcceleration="200" maxDeceleration="10.0"/> <BoundingBox> <Center x="1.5" y="0.0" z="0.9"/> <Dimensions width="2.1" length="4.5" height="1.8"/> </BoundingBox> <Axles> <FrontAxle maxSteering="0.5" wheelDiameter="0.6" trackWidth="1.8" positionX="3.1" positionZ="0.3"/> <RearAxle maxSteering="0.0" wheelDiameter="0.6" trackWidth="1.8" positionX="0.0" positionZ="0.3"/> </Axles> <Properties> <Property name="type" value="ego_vehicle"/> </Properties> </Vehicle> </ScenarioObject> <ScenarioObject name="adversary"> <Vehicle name="vehicle.lincoln.mkz_2017" vehicleCategory="car"> <ParameterDeclarations/> <Performance maxSpeed="69.444" maxAcceleration="200" maxDeceleration="10.0"/> <BoundingBox> <Center x="1.5" y="0.0" z="0.9"/> <Dimensions width="2.1" length="4.5" height="1.8"/> </BoundingBox> <Axles> <FrontAxle maxSteering="0.5" wheelDiameter="0.6" trackWidth="1.8" positionX="3.1" positionZ="0.3"/> <RearAxle maxSteering="0.0" wheelDiameter="0.6" trackWidth="1.8" positionX="0.0" positionZ="0.3"/> </Axles> <Properties> <Property name="type" value="simulation"/> </Properties> </Vehicle> </ScenarioObject> <ScenarioObject name="standing"> <Vehicle name="vehicle.volkswagen.t2" vehicleCategory="car"> <ParameterDeclarations/> <Performance maxSpeed="69.444" maxAcceleration="200" maxDeceleration="10.0"/> <BoundingBox> <Center x="1.5" y="0.0" z="0.9"/> <Dimensions width="2.1" length="4.5" height="1.8"/> </BoundingBox> <Axles> <FrontAxle maxSteering="0.5" wheelDiameter="0.6" trackWidth="1.8" positionX="3.1" positionZ="0.3"/> <RearAxle maxSteering="0.0" wheelDiameter="0.6" trackWidth="1.8" positionX="0.0" positionZ="0.3"/> </Axles> <Properties> <Property name="type" value="simulation"/> </Properties> </Vehicle> </ScenarioObject> <ScenarioObject name="pedestrian_close_to_adversary_9189"> <Pedestrian model="walker.pedestrian.0001" mass="80" name="walker.pedestrian.0001" pedestrianCategory="pedestrian"> <ParameterDeclarations/> <BoundingBox> <Center x="1.5" y="0.0" z="0.9"/> <Dimensions width="2" length="2" height="2"/> </BoundingBox> <Properties> <Property name="type" value="simulation"/> </Properties> </Pedestrian> </ScenarioObject> <ScenarioObject name="pedestrian_close_to_adversary_9190"> <Pedestrian model="walker.pedestrian.0001" mass="80" name="walker.pedestrian.0001" pedestrianCategory="pedestrian"> <ParameterDeclarations/> <BoundingBox> <Center x="1.5" y="0.0" z="0.9"/> <Dimensions width="2" length="2" height="2"/> </BoundingBox> <Properties> <Property name="type" value="simulation"/> </Properties> </Pedestrian> </ScenarioObject> <ScenarioObject name="pedestrian_w_transform_9191"> <Pedestrian model="walker.pedestrian.0001" mass="80" name="walker.pedestrian.0001" pedestrianCategory="pedestrian"> <ParameterDeclarations/> <BoundingBox> <Center x="1.5" y="0.0" z="0.9"/> <Dimensions width="2" length="2" height="2"/> </BoundingBox> <Properties> <Property name="type" value="simulation"/> </Properties> </Pedestrian> </ScenarioObject> <ScenarioObject name="pedestrian_w_transform_9192"> <Pedestrian model="walker.pedestrian.0001" mass="80" name="walker.pedestrian.0001" pedestrianCategory="pedestrian"> <ParameterDeclarations/> <BoundingBox> <Center x="1.5" y="0.0" z="0.9"/> <Dimensions width="2" length="2" height="2"/> </BoundingBox> <Properties> <Property name="type" value="simulation"/> </Properties> </Pedestrian> </ScenarioObject> <ScenarioObject name="pedestrian_close_to_hero_9193"> <Pedestrian model="walker.pedestrian.0001" mass="80" name="walker.pedestrian.0001" pedestrianCategory="pedestrian"> <ParameterDeclarations/> <BoundingBox> <Center x="1.5" y="0.0" z="0.9"/> <Dimensions width="2" length="2" height="2"/> </BoundingBox> <Properties> <Property name="type" value="simulation"/> </Properties> </Pedestrian> </ScenarioObject> <ScenarioObject name="pedestrian_close_to_adversary_9194"> <Pedestrian model="walker.pedestrian.0001" mass="80" name="walker.pedestrian.0001" pedestrianCategory="pedestrian"> <ParameterDeclarations/> <BoundingBox> <Center x="1.5" y="0.0" z="0.9"/> <Dimensions width="2" length="2" height="2"/> </BoundingBox> <Properties> <Property name="type" value="simulation"/> </Properties> </Pedestrian> </ScenarioObject> <ScenarioObject name="pedestrian_w_transform_9195"> <Pedestrian model="walker.pedestrian.0001" mass="80" name="walker.pedestrian.0001" pedestrianCategory="pedestrian"> <ParameterDeclarations/> <BoundingBox> <Center x="1.5" y="0.0" z="0.9"/> <Dimensions width="2" length="2" height="2"/> </BoundingBox> <Properties> <Property name="type" value="simulation"/> </Properties> </Pedestrian> </ScenarioObject> <ScenarioObject name="pedestrian_close_to_adversary_9196"> <Pedestrian model="walker.pedestrian.0001" mass="80" name="walker.pedestrian.0001" pedestrianCategory="pedestrian"> <ParameterDeclarations/> <BoundingBox> <Center x="1.5" y="0.0" z="0.9"/> <Dimensions width="2" length="2" height="2"/> </BoundingBox> <Properties> <Property name="type" value="simulation"/> </Properties> </Pedestrian> </ScenarioObject> <ScenarioObject name="pedestrian_close_to_adversary_9197"> <Pedestrian model="walker.pedestrian.0001" mass="80" name="walker.pedestrian.0001" pedestrianCategory="pedestrian"> <ParameterDeclarations/> <BoundingBox> <Center x="1.5" y="0.0" z="0.9"/> <Dimensions width="2" length="2" height="2"/> </BoundingBox> <Properties> <Property name="type" value="simulation"/> </Properties> </Pedestrian> </ScenarioObject> <ScenarioObject name="pedestrian_w_transform_9198"> <Pedestrian model="walker.pedestrian.0001" mass="80" name="walker.pedestrian.0001" pedestrianCategory="pedestrian"> <ParameterDeclarations/> <BoundingBox> <Center x="1.5" y="0.0" z="0.9"/> <Dimensions width="2" length="2" height="2"/> </BoundingBox> <Properties> <Property name="type" value="simulation"/> </Properties> </Pedestrian> </ScenarioObject> <ScenarioObject name="pedestrian_w_transform_9199"> <Pedestrian model="walker.pedestrian.0001" mass="80" name="walker.pedestrian.0001" pedestrianCategory="pedestrian"> <ParameterDeclarations/> <BoundingBox> <Center x="1.5" y="0.0" z="0.9"/> <Dimensions width="2" length="2" height="2"/> </BoundingBox> <Properties> <Property name="type" value="simulation"/> </Properties> </Pedestrian> </ScenarioObject> <ScenarioObject name="pedestrian_close_to_hero_9200"> <Pedestrian model="walker.pedestrian.0001" mass="80" name="walker.pedestrian.0001" pedestrianCategory="pedestrian"> <ParameterDeclarations/> <BoundingBox> <Center x="1.5" y="0.0" z="0.9"/> <Dimensions width="2" length="2" height="2"/> </BoundingBox> <Properties> <Property name="type" value="simulation"/> </Properties> </Pedestrian> </ScenarioObject> <ScenarioObject name="pedestrian_close_to_standing_9202"> <Pedestrian model="walker.pedestrian.0001" mass="80" name="walker.pedestrian.0001" pedestrianCategory="pedestrian"> <ParameterDeclarations/> <BoundingBox> <Center x="1.5" y="0.0" z="0.9"/> <Dimensions width="2" length="2" height="2"/> </BoundingBox> <Properties> <Property name="type" value="simulation"/> </Properties> </Pedestrian> </ScenarioObject> <ScenarioObject name="pedestrian_w_transform_9203"> <Pedestrian model="walker.pedestrian.0001" mass="80" name="walker.pedestrian.0001" pedestrianCategory="pedestrian"> <ParameterDeclarations/> <BoundingBox> <Center x="1.5" y="0.0" z="0.9"/> <Dimensions width="2" length="2" height="2"/> </BoundingBox> <Properties> <Property name="type" value="simulation"/> </Properties> </Pedestrian> </ScenarioObject> <ScenarioObject name="pedestrian_w_transform_9204"> <Pedestrian model="walker.pedestrian.0001" mass="80" name="walker.pedestrian.0001" pedestrianCategory="pedestrian"> <ParameterDeclarations/> <BoundingBox> <Center x="1.5" y="0.0" z="0.9"/> <Dimensions width="2" length="2" height="2"/> </BoundingBox> <Properties> <Property name="type" value="simulation"/> </Properties> </Pedestrian> </ScenarioObject> </Entities> <Storyboard> <Init> <Actions> <GlobalAction> <EnvironmentAction> <Environment name="Environment1"> <TimeOfDay animation="false" dateTime="2019-06-25T12:00:00"/> <Weather cloudState="free"> <Sun intensity="0.85" azimuth="0" elevation="1.31"/> <Fog visualRange="100000.0"/> <Precipitation precipitationType="dry" intensity="0.0"/> </Weather> <RoadCondition frictionScaleFactor="1.0"/> </Environment> </EnvironmentAction> </GlobalAction> <Private entityRef="hero"> <PrivateAction> <TeleportAction> <Position> <WorldPosition x="-9.4" y="-152.8" z="0.5" h="1.57079632679"/> </Position> </TeleportAction> </PrivateAction> <PrivateAction> <ControllerAction> <AssignControllerAction> <Controller name="HeroAgent"> <Properties> <Property name="module" value="external_control"/> </Properties> </Controller> </AssignControllerAction> <OverrideControllerValueAction> <Throttle value="0" active="false"/> <Brake value="0" active="false"/> <Clutch value="0" active="false"/> <ParkingBrake value="0" active="false"/> <SteeringWheel value="0" active="false"/> <Gear number="0" active="false"/> </OverrideControllerValueAction> </ControllerAction> </PrivateAction> </Private> <Private entityRef="adversary"> <PrivateAction> <TeleportAction> <Position> <WorldPosition x="-9.4" y="-71.0" z="0.5" h="1.57079632679"/> </Position> </TeleportAction> </PrivateAction> </Private> <Private entityRef="standing"> <PrivateAction> <TeleportAction> <Position> <WorldPosition x="-8.2" y="29.2" z="0.5" h="1.57079632679"/> </Position> </TeleportAction> </PrivateAction> </Private> <Private entityRef="pedestrian_close_to_adversary_9189"> <PrivateAction> <TeleportAction> <Position> <WorldPosition x="-6.718584060668945" y="-69.25194549560547" z="0.03377345949411392"/> </Position> </TeleportAction> </PrivateAction> </Private> <Private entityRef="pedestrian_close_to_adversary_9190"> <PrivateAction> <TeleportAction> <Position> <WorldPosition x="-1.5021635293960571" y="-80.7026138305664" z="0.033778075128793716"/> </Position> </TeleportAction> </PrivateAction> </Private> <Private entityRef="pedestrian_w_transform_9191"> <PrivateAction> <TeleportAction> <Position> <WorldPosition x="-92.44071197509766" y="15.608918190002441" z="0.5"/> </Position> </TeleportAction> </PrivateAction> </Private> <Private entityRef="pedestrian_w_transform_9192"> <PrivateAction> <TeleportAction> <Position> <WorldPosition x="-73.19866180419922" y="-48.944496154785156" z="0.5"/> </Position> </TeleportAction> </PrivateAction> </Private> <Private entityRef="pedestrian_close_to_hero_9193"> <PrivateAction> <TeleportAction> <Position> <WorldPosition x="-1.3883285522460938" y="-162.0922393798828" z="0.0014286803780123591"/> </Position> </TeleportAction> </PrivateAction> </Private> <Private entityRef="pedestrian_close_to_adversary_9194"> <PrivateAction> <TeleportAction> <Position> <WorldPosition x="-11.053642272949219" y="-70.06544494628906" z="0.03379272297024727"/> </Position> </TeleportAction> </PrivateAction> </Private> <Private entityRef="pedestrian_w_transform_9195"> <PrivateAction> <TeleportAction> <Position> <WorldPosition x="-71.6274642944336" y="-40.58586883544922" z="0.5"/> </Position> </TeleportAction> </PrivateAction> </Private> <Private entityRef="pedestrian_close_to_adversary_9196"> <PrivateAction> <TeleportAction> <Position> <WorldPosition x="-13.739851951599121" y="-62.53721237182617" z="0.03377719968557358"/> </Position> </TeleportAction> </PrivateAction> </Private> <Private entityRef="pedestrian_close_to_adversary_9197"> <PrivateAction> <TeleportAction> <Position> <WorldPosition x="-11.018288612365723" y="-70.9784927368164" z="0.03380546346306801"/> </Position> </TeleportAction> </PrivateAction> </Private> <Private entityRef="pedestrian_w_transform_9198"> <PrivateAction> <TeleportAction> <Position> <WorldPosition x="-23.617921829223633" y="50.081016540527344" z="0.5"/> </Position> </TeleportAction> </PrivateAction> </Private> <Private entityRef="pedestrian_w_transform_9199"> <PrivateAction> <TeleportAction> <Position> <WorldPosition x="-51.743560791015625" y="59.75094985961914" z="0.5"/> </Position> </TeleportAction> </PrivateAction> </Private> <Private entityRef="pedestrian_close_to_hero_9200"> <PrivateAction> <TeleportAction> <Position> <WorldPosition x="-9.941165924072266" y="-157.0139923095703" z="0.0014286803780123591"/> </Position> </TeleportAction> </PrivateAction> </Private> <Private entityRef="pedestrian_close_to_standing_9202"> <PrivateAction> <TeleportAction> <Position> <WorldPosition x="-13.00393009185791" y="34.831966400146484" z="0.0030070494394749403"/> </Position> </TeleportAction> </PrivateAction> </Private> <Private entityRef="pedestrian_w_transform_9203"> <PrivateAction> <TeleportAction> <Position> <WorldPosition x="-51.1339225769043" y="14.04588794708252" z="0.5"/> </Position> </TeleportAction> </PrivateAction> </Private> <Private entityRef="pedestrian_w_transform_9204"> <PrivateAction> <TeleportAction> <Position> <WorldPosition x="-76.74376678466797" y="97.7170639038086" z="0.5"/> </Position> </TeleportAction> </PrivateAction> </Private> </Actions> </Init> <Story name="MyStory"> <Act name="Behavior"> <ManeuverGroup maximumExecutionCount="1" name="ManeuverSequence"> <Actors selectTriggeringEntities="false"> <EntityRef entityRef="adversary"/> </Actors> <Maneuver name="LaneChangeSimpleManeuver"> <Event name="AdversaryAccelerates" priority="overwrite"> <Action name="AdversaryAccelerates"> <PrivateAction> <LongitudinalAction> <SpeedAction> <SpeedActionDynamics dynamicsShape="step" value="50" dynamicsDimension="distance"/> <SpeedActionTarget> <AbsoluteTargetSpeed value="5.0"/> </SpeedActionTarget> </SpeedAction> </LongitudinalAction> </PrivateAction> </Action> <StartTrigger> <ConditionGroup> <Condition name="StartCondition" delay="0" conditionEdge="rising"> <ByEntityCondition> <TriggeringEntities triggeringEntitiesRule="any"> <EntityRef entityRef="hero"/> </TriggeringEntities> <EntityCondition> <RelativeDistanceCondition entityRef="adversary" relativeDistanceType="cartesianDistance" value="40.0" freespace="false" rule="lessThan"/> </EntityCondition> </ByEntityCondition> </Condition> </ConditionGroup> </StartTrigger> </Event> <Event name="AdversaryChangesLane" priority="overwrite"> <Action name="AdversaryChangesLane"> <PrivateAction> <LateralAction> <LaneChangeAction> <LaneChangeActionDynamics dynamicsShape="linear" value="25" dynamicsDimension="distance"/> <LaneChangeTarget> <RelativeTargetLane entityRef="adversary" value="-1"/> </LaneChangeTarget> </LaneChangeAction> </LateralAction> </PrivateAction> </Action> <StartTrigger> <ConditionGroup> <Condition name="AfterAdversaryAccelerates" delay="0" conditionEdge="rising"> <ByValueCondition> <StoryboardElementStateCondition storyboardElementType="action" storyboardElementRef="AdversaryAccelerates" state="completeState"/> </ByValueCondition> </Condition> </ConditionGroup> </StartTrigger> </Event> </Maneuver> </ManeuverGroup> <StartTrigger> <ConditionGroup> <Condition name="OverallStartCondition" delay="0" conditionEdge="rising"> <ByEntityCondition> <TriggeringEntities triggeringEntitiesRule="any"> <EntityRef entityRef="hero"/> </TriggeringEntities> <EntityCondition> <TraveledDistanceCondition value="1.0"/> </EntityCondition> </ByEntityCondition> </Condition> <Condition name="StartTime" delay="0" conditionEdge="rising"> <ByValueCondition> <SimulationTimeCondition value="0" rule="equalTo"/> </ByValueCondition> </Condition> </ConditionGroup> </StartTrigger> <StopTrigger> <ConditionGroup> <Condition name="EndCondition" delay="0" conditionEdge="rising"> <ByEntityCondition> <TriggeringEntities triggeringEntitiesRule="any"> <EntityRef entityRef="hero"/> </TriggeringEntities> <EntityCondition> <TraveledDistanceCondition value="200.0"/> </EntityCondition> </ByEntityCondition> </Condition> </ConditionGroup> </StopTrigger> </Act> </Story> <StopTrigger> <ConditionGroup> <Condition name="criteria_RunningStopTest" delay="0" conditionEdge="rising"> <ByValueCondition> <ParameterCondition parameterRef="" value="" rule="lessThan"/> </ByValueCondition> </Condition> <Condition name="criteria_RunningRedLightTest" delay="0" conditionEdge="rising"> <ByValueCondition> <ParameterCondition parameterRef="" value="" rule="lessThan"/> </ByValueCondition> </Condition> <Condition name="criteria_WrongLaneTest" delay="0" conditionEdge="rising"> <ByValueCondition> <ParameterCondition parameterRef="" value="" rule="lessThan"/> </ByValueCondition> </Condition> <Condition name="criteria_OnSidewalkTest" delay="0" conditionEdge="rising"> <ByValueCondition> <ParameterCondition parameterRef="" value="" rule="lessThan"/> </ByValueCondition> </Condition> <Condition name="criteria_KeepLaneTest" delay="0" conditionEdge="rising"> <ByValueCondition> <ParameterCondition parameterRef="" value="" rule="lessThan"/> </ByValueCondition> </Condition> <Condition name="criteria_CollisionTest" delay="0" conditionEdge="rising"> <ByValueCondition> <ParameterCondition parameterRef="" value="" rule="lessThan"/> </ByValueCondition> </Condition> <Condition name="criteria_DrivenDistanceTest" delay="0" conditionEdge="rising"> <ByValueCondition> <ParameterCondition parameterRef="distance_success" value="100" rule="lessThan"/> </ByValueCondition> </Condition> </ConditionGroup> </StopTrigger> </Storyboard> </OpenSCENARIO> ```
Here is the result: ``` <?xml version="1.0" ?> <OpenSCENARIO> <FileHeader revMajor="1" revMinor="0" date="2020-03-24T12:00:00" description="CARLA:LaneChangeSimple" author=""/> <ParameterDeclarations/> <CatalogLocations/> <RoadNetwork> <LogicFile filepath="Town04"/> <SceneGraphFile filepath=""/> </RoadNetwork> <Entities> <ScenarioObject name="hero"> <Vehicle name="vehicle.tesla.model3" vehicleCategory="car"> <ParameterDeclarations/> <Performance maxSpeed="69.444" maxAcceleration="200" maxDeceleration="10.0"/> <BoundingBox> <Center x="1.5" y="0.0" z="0.9"/> <Dimensions width="2.1" length="4.5" height="1.8"/> </BoundingBox> <Axles> <FrontAxle maxSteering="0.5" wheelDiameter="0.6" trackWidth="1.8" positionX="3.1" positionZ="0.3"/> <RearAxle maxSteering="0.0" wheelDiameter="0.6" trackWidth="1.8" positionX="0.0" positionZ="0.3"/> </Axles> <Properties> <Property name="type" value="ego_vehicle"/> </Properties> </Vehicle> </ScenarioObject> <ScenarioObject name="adversary"> <Vehicle name="vehicle.lincoln.mkz_2017" vehicleCategory="car"> <ParameterDeclarations/> <Performance maxSpeed="69.444" maxAcceleration="200" maxDeceleration="10.0"/> <BoundingBox> <Center x="1.5" y="0.0" z="0.9"/> <Dimensions width="2.1" length="4.5" height="1.8"/> </BoundingBox> <Axles> <FrontAxle maxSteering="0.5" wheelDiameter="0.6" trackWidth="1.8" positionX="3.1" positionZ="0.3"/> <RearAxle maxSteering="0.0" wheelDiameter="0.6" trackWidth="1.8" positionX="0.0" positionZ="0.3"/> </Axles> <Properties> <Property name="type" value="simulation"/> </Properties> </Vehicle> </ScenarioObject> <ScenarioObject name="standing"> <Vehicle name="vehicle.volkswagen.t2" vehicleCategory="car"> <ParameterDeclarations/> <Performance maxSpeed="69.444" maxAcceleration="200" maxDeceleration="10.0"/> <BoundingBox> <Center x="1.5" y="0.0" z="0.9"/> <Dimensions width="2.1" length="4.5" height="1.8"/> </BoundingBox> <Axles> <FrontAxle maxSteering="0.5" wheelDiameter="0.6" trackWidth="1.8" positionX="3.1" positionZ="0.3"/> <RearAxle maxSteering="0.0" wheelDiameter="0.6" trackWidth="1.8" positionX="0.0" positionZ="0.3"/> </Axles> <Properties> <Property name="type" value="simulation"/> </Properties> </Vehicle> </ScenarioObject> <ScenarioObject name="pedestrian_close_to_adversary_9189"> <Pedestrian model="walker.pedestrian.0001" mass="80" name="walker.pedestrian.0001" pedestrianCategory="pedestrian"> <ParameterDeclarations/> <BoundingBox> <Center x="1.5" y="0.0" z="0.9"/> <Dimensions width="2" length="2" height="2"/> </BoundingBox> <Properties> <Property name="type" value="simulation"/> </Properties> </Pedestrian> </ScenarioObject> <ScenarioObject name="pedestrian_close_to_adversary_9190"> <Pedestrian model="walker.pedestrian.0001" mass="80" name="walker.pedestrian.0001" pedestrianCategory="pedestrian"> <ParameterDeclarations/> <BoundingBox> <Center x="1.5" y="0.0" z="0.9"/> <Dimensions width="2" length="2" height="2"/> </BoundingBox> <Properties> <Property name="type" value="simulation"/> </Properties> </Pedestrian> </ScenarioObject> <ScenarioObject name="pedestrian_w_transform_9191"> <Pedestrian model="walker.pedestrian.0001" mass="80" name="walker.pedestrian.0001" pedestrianCategory="pedestrian"> <ParameterDeclarations/> <BoundingBox> <Center x="1.5" y="0.0" z="0.9"/> <Dimensions width="2" length="2" height="2"/> </BoundingBox> <Properties> <Property name="type" value="simulation"/> </Properties> </Pedestrian> </ScenarioObject> <ScenarioObject name="pedestrian_w_transform_9192"> <Pedestrian model="walker.pedestrian.0001" mass="80" name="walker.pedestrian.0001" pedestrianCategory="pedestrian"> <ParameterDeclarations/> <BoundingBox> <Center x="1.5" y="0.0" z="0.9"/> <Dimensions width="2" length="2" height="2"/> </BoundingBox> <Properties> <Property name="type" value="simulation"/> </Properties> </Pedestrian> </ScenarioObject> <ScenarioObject name="pedestrian_close_to_hero_9193"> <Pedestrian model="walker.pedestrian.0001" mass="80" name="walker.pedestrian.0001" pedestrianCategory="pedestrian"> <ParameterDeclarations/> <BoundingBox> <Center x="1.5" y="0.0" z="0.9"/> <Dimensions width="2" length="2" height="2"/> </BoundingBox> <Properties> <Property name="type" value="simulation"/> </Properties> </Pedestrian> </ScenarioObject> <ScenarioObject name="pedestrian_close_to_adversary_9194"> <Pedestrian model="walker.pedestrian.0001" mass="80" name="walker.pedestrian.0001" pedestrianCategory="pedestrian"> <ParameterDeclarations/> <BoundingBox> <Center x="1.5" y="0.0" z="0.9"/> <Dimensions width="2" length="2" height="2"/> </BoundingBox> <Properties> <Property name="type" value="simulation"/> </Properties> </Pedestrian> </ScenarioObject> <ScenarioObject name="pedestrian_w_transform_9195"> <Pedestrian model="walker.pedestrian.0001" mass="80" name="walker.pedestrian.0001" pedestrianCategory="pedestrian"> <ParameterDeclarations/> <BoundingBox> <Center x="1.5" y="0.0" z="0.9"/> <Dimensions width="2" length="2" height="2"/> </BoundingBox> <Properties> <Property name="type" value="simulation"/> </Properties> </Pedestrian> </ScenarioObject> <ScenarioObject name="pedestrian_close_to_adversary_9196"> <Pedestrian model="walker.pedestrian.0001" mass="80" name="walker.pedestrian.0001" pedestrianCategory="pedestrian"> <ParameterDeclarations/> <BoundingBox> <Center x="1.5" y="0.0" z="0.9"/> <Dimensions width="2" length="2" height="2"/> </BoundingBox> <Properties> <Property name="type" value="simulation"/> </Properties> </Pedestrian> </ScenarioObject> <ScenarioObject name="pedestrian_close_to_adversary_9197"> <Pedestrian model="walker.pedestrian.0001" mass="80" name="walker.pedestrian.0001" pedestrianCategory="pedestrian"> <ParameterDeclarations/> <BoundingBox> <Center x="1.5" y="0.0" z="0.9"/> <Dimensions width="2" length="2" height="2"/> </BoundingBox> <Properties> <Property name="type" value="simulation"/> </Properties> </Pedestrian> </ScenarioObject> <ScenarioObject name="pedestrian_w_transform_9198"> <Pedestrian model="walker.pedestrian.0001" mass="80" name="walker.pedestrian.0001" pedestrianCategory="pedestrian"> <ParameterDeclarations/> <BoundingBox> <Center x="1.5" y="0.0" z="0.9"/> <Dimensions width="2" length="2" height="2"/> </BoundingBox> <Properties> <Property name="type" value="simulation"/> </Properties> </Pedestrian> </ScenarioObject> <ScenarioObject name="pedestrian_w_transform_9199"> <Pedestrian model="walker.pedestrian.0001" mass="80" name="walker.pedestrian.0001" pedestrianCategory="pedestrian"> <ParameterDeclarations/> <BoundingBox> <Center x="1.5" y="0.0" z="0.9"/> <Dimensions width="2" length="2" height="2"/> </BoundingBox> <Properties> <Property name="type" value="simulation"/> </Properties> </Pedestrian> </ScenarioObject> <ScenarioObject name="pedestrian_close_to_hero_9200"> <Pedestrian model="walker.pedestrian.0001" mass="80" name="walker.pedestrian.0001" pedestrianCategory="pedestrian"> <ParameterDeclarations/> <BoundingBox> <Center x="1.5" y="0.0" z="0.9"/> <Dimensions width="2" length="2" height="2"/> </BoundingBox> <Properties> <Property name="type" value="simulation"/> </Properties> </Pedestrian> </ScenarioObject> <ScenarioObject name="pedestrian_close_to_standing_9202"> <Pedestrian model="walker.pedestrian.0001" mass="80" name="walker.pedestrian.0001" pedestrianCategory="pedestrian"> <ParameterDeclarations/> <BoundingBox> <Center x="1.5" y="0.0" z="0.9"/> <Dimensions width="2" length="2" height="2"/> </BoundingBox> <Properties> <Property name="type" value="simulation"/> </Properties> </Pedestrian> </ScenarioObject> <ScenarioObject name="pedestrian_w_transform_9203"> <Pedestrian model="walker.pedestrian.0001" mass="80" name="walker.pedestrian.0001" pedestrianCategory="pedestrian"> <ParameterDeclarations/> <BoundingBox> <Center x="1.5" y="0.0" z="0.9"/> <Dimensions width="2" length="2" height="2"/> </BoundingBox> <Properties> <Property name="type" value="simulation"/> </Properties> </Pedestrian> </ScenarioObject> <ScenarioObject name="pedestrian_w_transform_9204"> <Pedestrian model="walker.pedestrian.0001" mass="80" name="walker.pedestrian.0001" pedestrianCategory="pedestrian"> <ParameterDeclarations/> <BoundingBox> <Center x="1.5" y="0.0" z="0.9"/> <Dimensions width="2" length="2" height="2"/> </BoundingBox> <Properties> <Property name="type" value="simulation"/> </Properties> </Pedestrian> </ScenarioObject> <ScenarioObject name="pedestrian_w_transform_9205"> <Pedestrian model="walker.pedestrian.0001" mass="80" name="walker.pedestrian.0001" pedestrianCategory="pedestrian"> <ParameterDeclarations/> <BoundingBox> <Center x="1.5" y="0.0" z="0.9"/> <Dimensions width="2" length="2" height="2"/> </BoundingBox> <Properties> <Property name="type" value="simulation"/> </Properties> </Pedestrian> </ScenarioObject> </Entities> <Storyboard> <Init> <Actions> <GlobalAction> <EnvironmentAction> <Environment name="Environment1"> <TimeOfDay animation="false" dateTime="2019-06-25T12:00:00"/> <Weather cloudState="free"> <Sun intensity="0.85" azimuth="0" elevation="1.31"/> <Fog visualRange="100000.0"/> <Precipitation precipitationType="dry" intensity="0.0"/> </Weather> <RoadCondition frictionScaleFactor="1.0"/> </Environment> </EnvironmentAction> </GlobalAction> <Private entityRef="hero"> <PrivateAction> <TeleportAction> <Position> <WorldPosition x="-9.4" y="-152.8" z="0.5" h="1.57079632679"/> </Position> </TeleportAction> </PrivateAction> <PrivateAction> <ControllerAction> <AssignControllerAction> <Controller name="HeroAgent"> <Properties> <Property name="module" value="external_control"/> </Properties> </Controller> </AssignControllerAction> <OverrideControllerValueAction> <Throttle value="0" active="false"/> <Brake value="0" active="false"/> <Clutch value="0" active="false"/> <ParkingBrake value="0" active="false"/> <SteeringWheel value="0" active="false"/> <Gear number="0" active="false"/> </OverrideControllerValueAction> </ControllerAction> </PrivateAction> </Private> <Private entityRef="adversary"> <PrivateAction> <TeleportAction> <Position> <WorldPosition x="-9.4" y="-71.0" z="0.5" h="1.57079632679"/> </Position> </TeleportAction> </PrivateAction> </Private> <Private entityRef="standing"> <PrivateAction> <TeleportAction> <Position> <WorldPosition x="-8.2" y="29.2" z="0.5" h="1.57079632679"/> </Position> </TeleportAction> </PrivateAction> </Private> <Private entityRef="pedestrian_close_to_adversary_9189"> <PrivateAction> <TeleportAction> <Position> <WorldPosition x="-6.718584060668945" y="-69.25194549560547" z="0.03377345949411392"/> </Position> </TeleportAction> </PrivateAction> </Private> <Private entityRef="pedestrian_close_to_adversary_9190"> <PrivateAction> <TeleportAction> <Position> <WorldPosition x="-1.5021635293960571" y="-80.7026138305664" z="0.033778075128793716"/> </Position> </TeleportAction> </PrivateAction> </Private> <Private entityRef="pedestrian_w_transform_9191"> <PrivateAction> <TeleportAction> <Position> <WorldPosition x="-92.44071197509766" y="15.608918190002441" z="0.5"/> </Position> </TeleportAction> </PrivateAction> </Private> <Private entityRef="pedestrian_w_transform_9192"> <PrivateAction> <TeleportAction> <Position> <WorldPosition x="-73.19866180419922" y="-48.944496154785156" z="0.5"/> </Position> </TeleportAction> </PrivateAction> </Private> <Private entityRef="pedestrian_close_to_hero_9193"> <PrivateAction> <TeleportAction> <Position> <WorldPosition x="-1.3883285522460938" y="-162.0922393798828" z="0.0014286803780123591"/> </Position> </TeleportAction> </PrivateAction> </Private> <Private entityRef="pedestrian_close_to_adversary_9194"> <PrivateAction> <TeleportAction> <Position> <WorldPosition x="-11.053642272949219" y="-70.06544494628906" z="0.03379272297024727"/> </Position> </TeleportAction> </PrivateAction> </Private> <Private entityRef="pedestrian_w_transform_9195"> <PrivateAction> <TeleportAction> <Position> <WorldPosition x="-71.6274642944336" y="-40.58586883544922" z="0.5"/> </Position> </TeleportAction> </PrivateAction> </Private> <Private entityRef="pedestrian_close_to_adversary_9196"> <PrivateAction> <TeleportAction> <Position> <WorldPosition x="-13.739851951599121" y="-62.53721237182617" z="0.03377719968557358"/> </Position> </TeleportAction> </PrivateAction> </Private> <Private entityRef="pedestrian_close_to_adversary_9197"> <PrivateAction> <TeleportAction> <Position> <WorldPosition x="-11.018288612365723" y="-70.9784927368164" z="0.03380546346306801"/> </Position> </TeleportAction> </PrivateAction> </Private> <Private entityRef="pedestrian_w_transform_9198"> <PrivateAction> <TeleportAction> <Position> <WorldPosition x="-23.617921829223633" y="50.081016540527344" z="0.5"/> </Position> </TeleportAction> </PrivateAction> </Private> <Private entityRef="pedestrian_w_transform_9199"> <PrivateAction> <TeleportAction> <Position> <WorldPosition x="-51.743560791015625" y="59.75094985961914" z="0.5"/> </Position> </TeleportAction> </PrivateAction> </Private> <Private entityRef="pedestrian_close_to_hero_9200"> <PrivateAction> <TeleportAction> <Position> <WorldPosition x="-9.941165924072266" y="-157.0139923095703" z="0.0014286803780123591"/> </Position> </TeleportAction> </PrivateAction> </Private> <Private entityRef="pedestrian_close_to_standing_9202"> <PrivateAction> <TeleportAction> <Position> <WorldPosition x="-13.00393009185791" y="34.831966400146484" z="0.0030070494394749403"/> </Position> </TeleportAction> </PrivateAction> </Private> <Private entityRef="pedestrian_w_transform_9203"> <PrivateAction> <TeleportAction> <Position> <WorldPosition x="-51.1339225769043" y="14.04588794708252" z="0.5"/> </Position> </TeleportAction> </PrivateAction> </Private> <Private entityRef="pedestrian_w_transform_9204"> <PrivateAction> <TeleportAction> <Position> <WorldPosition x="-76.74376678466797" y="97.7170639038086" z="0.5"/> </Position> </TeleportAction> </PrivateAction> </Private> <Private entityRef="pedestrian_w_transform_9205"> <PrivateAction> <TeleportAction> <Position> <WorldPosition x="-55.30628204345703" y="-1.4247676134109497" z="0.5"/> </Position> </TeleportAction> </PrivateAction> </Private> </Actions> </Init> <Story name="MyStory"> <Act name="Behavior"> <ManeuverGroup maximumExecutionCount="1" name="ManeuverSequence"> <Actors selectTriggeringEntities="false"> <EntityRef entityRef="adversary"/> </Actors> <Maneuver name="LaneChangeSimpleManeuver"> <Event name="AdversaryAccelerates" priority="overwrite"> <Action name="AdversaryAccelerates"> <PrivateAction> <LongitudinalAction> <SpeedAction> <SpeedActionDynamics dynamicsShape="step" value="50" dynamicsDimension="distance"/> <SpeedActionTarget> <AbsoluteTargetSpeed value="5.0"/> </SpeedActionTarget> </SpeedAction> </LongitudinalAction> </PrivateAction> </Action> <StartTrigger> <ConditionGroup> <Condition name="StartCondition" delay="0" conditionEdge="rising"> <ByEntityCondition> <TriggeringEntities triggeringEntitiesRule="any"> <EntityRef entityRef="hero"/> </TriggeringEntities> <EntityCondition> <RelativeDistanceCondition entityRef="adversary" relativeDistanceType="cartesianDistance" value="40.0" freespace="false" rule="lessThan"/> </EntityCondition> </ByEntityCondition> </Condition> </ConditionGroup> </StartTrigger> </Event> <Event name="AdversaryChangesLane" priority="overwrite"> <Action name="AdversaryChangesLane"> <PrivateAction> <LateralAction> <LaneChangeAction> <LaneChangeActionDynamics dynamicsShape="linear" value="25" dynamicsDimension="distance"/> <LaneChangeTarget> <RelativeTargetLane entityRef="adversary" value="-1"/> </LaneChangeTarget> </LaneChangeAction> </LateralAction> </PrivateAction> </Action> <StartTrigger> <ConditionGroup> <Condition name="AfterAdversaryAccelerates" delay="0" conditionEdge="rising"> <ByValueCondition> <StoryboardElementStateCondition storyboardElementType="action" storyboardElementRef="AdversaryAccelerates" state="completeState"/> </ByValueCondition> </Condition> </ConditionGroup> </StartTrigger> </Event> </Maneuver> </ManeuverGroup> <StartTrigger> <ConditionGroup> <Condition name="OverallStartCondition" delay="0" conditionEdge="rising"> <ByEntityCondition> <TriggeringEntities triggeringEntitiesRule="any"> <EntityRef entityRef="hero"/> </TriggeringEntities> <EntityCondition> <TraveledDistanceCondition value="1.0"/> </EntityCondition> </ByEntityCondition> </Condition> <Condition name="StartTime" delay="0" conditionEdge="rising"> <ByValueCondition> <SimulationTimeCondition value="0" rule="equalTo"/> </ByValueCondition> </Condition> </ConditionGroup> </StartTrigger> <StopTrigger> <ConditionGroup> <Condition name="EndCondition" delay="0" conditionEdge="rising"> <ByEntityCondition> <TriggeringEntities triggeringEntitiesRule="any"> <EntityRef entityRef="hero"/> </TriggeringEntities> <EntityCondition> <TraveledDistanceCondition value="200.0"/> </EntityCondition> </ByEntityCondition> </Condition> </ConditionGroup> </StopTrigger> </Act> </Story> <StopTrigger> <ConditionGroup> <Condition name="criteria_RunningStopTest" delay="0" conditionEdge="rising"> <ByValueCondition> <ParameterCondition parameterRef="" value="" rule="lessThan"/> </ByValueCondition> </Condition> <Condition name="criteria_RunningRedLightTest" delay="0" conditionEdge="rising"> <ByValueCondition> <ParameterCondition parameterRef="" value="" rule="lessThan"/> </ByValueCondition> </Condition> <Condition name="criteria_WrongLaneTest" delay="0" conditionEdge="rising"> <ByValueCondition> <ParameterCondition parameterRef="" value="" rule="lessThan"/> </ByValueCondition> </Condition> <Condition name="criteria_OnSidewalkTest" delay="0" conditionEdge="rising"> <ByValueCondition> <ParameterCondition parameterRef="" value="" rule="lessThan"/> </ByValueCondition> </Condition> <Condition name="criteria_KeepLaneTest" delay="0" conditionEdge="rising"> <ByValueCondition> <ParameterCondition parameterRef="" value="" rule="lessThan"/> </ByValueCondition> </Condition> <Condition name="criteria_CollisionTest" delay="0" conditionEdge="rising"> <ByValueCondition> <ParameterCondition parameterRef="" value="" rule="lessThan"/> </ByValueCondition> </Condition> <Condition name="criteria_DrivenDistanceTest" delay="0" conditionEdge="rising"> <ByValueCondition> <ParameterCondition parameterRef="distance_success" value="100" rule="lessThan"/> </ByValueCondition> </Condition> </ConditionGroup> </StopTrigger> </Storyboard> </OpenSCENARIO> ```
i would like to guide you to add pedestrian at location (-26.15, 23.02, 0.5)? ``` <?xml version="1.0" ?> <OpenSCENARIO> <FileHeader revMajor="1" revMinor="0" date="2020-03-24T12:00:00" description="CARLA:LaneChangeSimple" author=""/> <ParameterDeclarations/> <CatalogLocations/> <RoadNetwork> <LogicFile filepath="Town04"/> <SceneGraphFile filepath=""/> </RoadNetwork> <Entities> <ScenarioObject name="hero"> <Vehicle name="vehicle.tesla.model3" vehicleCategory="car"> <ParameterDeclarations/> <Performance maxSpeed="69.444" maxAcceleration="200" maxDeceleration="10.0"/> <BoundingBox> <Center x="1.5" y="0.0" z="0.9"/> <Dimensions width="2.1" length="4.5" height="1.8"/> </BoundingBox> <Axles> <FrontAxle maxSteering="0.5" wheelDiameter="0.6" trackWidth="1.8" positionX="3.1" positionZ="0.3"/> <RearAxle maxSteering="0.0" wheelDiameter="0.6" trackWidth="1.8" positionX="0.0" positionZ="0.3"/> </Axles> <Properties> <Property name="type" value="ego_vehicle"/> </Properties> </Vehicle> </ScenarioObject> <ScenarioObject name="adversary"> <Vehicle name="vehicle.lincoln.mkz_2017" vehicleCategory="car"> <ParameterDeclarations/> <Performance maxSpeed="69.444" maxAcceleration="200" maxDeceleration="10.0"/> <BoundingBox> <Center x="1.5" y="0.0" z="0.9"/> <Dimensions width="2.1" length="4.5" height="1.8"/> </BoundingBox> <Axles> <FrontAxle maxSteering="0.5" wheelDiameter="0.6" trackWidth="1.8" positionX="3.1" positionZ="0.3"/> <RearAxle maxSteering="0.0" wheelDiameter="0.6" trackWidth="1.8" positionX="0.0" positionZ="0.3"/> </Axles> <Properties> <Property name="type" value="simulation"/> </Properties> </Vehicle> </ScenarioObject> <ScenarioObject name="standing"> <Vehicle name="vehicle.volkswagen.t2" vehicleCategory="car"> <ParameterDeclarations/> <Performance maxSpeed="69.444" maxAcceleration="200" maxDeceleration="10.0"/> <BoundingBox> <Center x="1.5" y="0.0" z="0.9"/> <Dimensions width="2.1" length="4.5" height="1.8"/> </BoundingBox> <Axles> <FrontAxle maxSteering="0.5" wheelDiameter="0.6" trackWidth="1.8" positionX="3.1" positionZ="0.3"/> <RearAxle maxSteering="0.0" wheelDiameter="0.6" trackWidth="1.8" positionX="0.0" positionZ="0.3"/> </Axles> <Properties> <Property name="type" value="simulation"/> </Properties> </Vehicle> </ScenarioObject> <ScenarioObject name="pedestrian_close_to_standing_6929"> <Pedestrian model="walker.pedestrian.0001" mass="80" name="walker.pedestrian.0001" pedestrianCategory="pedestrian"> <ParameterDeclarations/> <BoundingBox> <Center x="1.5" y="0.0" z="0.9"/> <Dimensions width="2" length="2" height="2"/> </BoundingBox> <Properties> <Property name="type" value="simulation"/> </Properties> </Pedestrian> </ScenarioObject> <ScenarioObject name="pedestrian_w_transform_6930"> <Pedestrian model="walker.pedestrian.0001" mass="80" name="walker.pedestrian.0001" pedestrianCategory="pedestrian"> <ParameterDeclarations/> <BoundingBox> <Center x="1.5" y="0.0" z="0.9"/> <Dimensions width="2" length="2" height="2"/> </BoundingBox> <Properties> <Property name="type" value="simulation"/> </Properties> </Pedestrian> </ScenarioObject> <ScenarioObject name="pedestrian_close_to_hero_6931"> <Pedestrian model="walker.pedestrian.0001" mass="80" name="walker.pedestrian.0001" pedestrianCategory="pedestrian"> <ParameterDeclarations/> <BoundingBox> <Center x="1.5" y="0.0" z="0.9"/> <Dimensions width="2" length="2" height="2"/> </BoundingBox> <Properties> <Property name="type" value="simulation"/> </Properties> </Pedestrian> </ScenarioObject> <ScenarioObject name="pedestrian_close_to_adversary_6932"> <Pedestrian model="walker.pedestrian.0001" mass="80" name="walker.pedestrian.0001" pedestrianCategory="pedestrian"> <ParameterDeclarations/> <BoundingBox> <Center x="1.5" y="0.0" z="0.9"/> <Dimensions width="2" length="2" height="2"/> </BoundingBox> <Properties> <Property name="type" value="simulation"/> </Properties> </Pedestrian> </ScenarioObject> <ScenarioObject name="pedestrian_close_to_hero_6933"> <Pedestrian model="walker.pedestrian.0001" mass="80" name="walker.pedestrian.0001" pedestrianCategory="pedestrian"> <ParameterDeclarations/> <BoundingBox> <Center x="1.5" y="0.0" z="0.9"/> <Dimensions width="2" length="2" height="2"/> </BoundingBox> <Properties> <Property name="type" value="simulation"/> </Properties> </Pedestrian> </ScenarioObject> <ScenarioObject name="pedestrian_close_to_adversary_6934"> <Pedestrian model="walker.pedestrian.0001" mass="80" name="walker.pedestrian.0001" pedestrianCategory="pedestrian"> <ParameterDeclarations/> <BoundingBox> <Center x="1.5" y="0.0" z="0.9"/> <Dimensions width="2" length="2" height="2"/> </BoundingBox> <Properties> <Property name="type" value="simulation"/> </Properties> </Pedestrian> </ScenarioObject> <ScenarioObject name="pedestrian_close_to_adversary_6935"> <Pedestrian model="walker.pedestrian.0001" mass="80" name="walker.pedestrian.0001" pedestrianCategory="pedestrian"> <ParameterDeclarations/> <BoundingBox> <Center x="1.5" y="0.0" z="0.9"/> <Dimensions width="2" length="2" height="2"/> </BoundingBox> <Properties> <Property name="type" value="simulation"/> </Properties> </Pedestrian> </ScenarioObject> <ScenarioObject name="pedestrian_close_to_hero_6936"> <Pedestrian model="walker.pedestrian.0001" mass="80" name="walker.pedestrian.0001" pedestrianCategory="pedestrian"> <ParameterDeclarations/> <BoundingBox> <Center x="1.5" y="0.0" z="0.9"/> <Dimensions width="2" length="2" height="2"/> </BoundingBox> <Properties> <Property name="type" value="simulation"/> </Properties> </Pedestrian> </ScenarioObject> </Entities> <Storyboard> <Init> <Actions> <GlobalAction> <EnvironmentAction> <Environment name="Environment1"> <TimeOfDay animation="false" dateTime="2019-06-25T12:00:00"/> <Weather cloudState="free"> <Sun intensity="0.85" azimuth="0" elevation="1.31"/> <Fog visualRange="100000.0"/> <Precipitation precipitationType="dry" intensity="0.0"/> </Weather> <RoadCondition frictionScaleFactor="1.0"/> </Environment> </EnvironmentAction> </GlobalAction> <Private entityRef="hero"> <PrivateAction> <TeleportAction> <Position> <WorldPosition x="-9.4" y="-152.8" z="0.5" h="1.57079632679"/> </Position> </TeleportAction> </PrivateAction> <PrivateAction> <ControllerAction> <AssignControllerAction> <Controller name="HeroAgent"> <Properties> <Property name="module" value="external_control"/> </Properties> </Controller> </AssignControllerAction> <OverrideControllerValueAction> <Throttle value="0" active="false"/> <Brake value="0" active="false"/> <Clutch value="0" active="false"/> <ParkingBrake value="0" active="false"/> <SteeringWheel value="0" active="false"/> <Gear number="0" active="false"/> </OverrideControllerValueAction> </ControllerAction> </PrivateAction> </Private> <Private entityRef="adversary"> <PrivateAction> <TeleportAction> <Position> <WorldPosition x="-9.4" y="-71.0" z="0.5" h="1.57079632679"/> </Position> </TeleportAction> </PrivateAction> </Private> <Private entityRef="standing"> <PrivateAction> <TeleportAction> <Position> <WorldPosition x="-8.2" y="29.2" z="0.5" h="1.57079632679"/> </Position> </TeleportAction> </PrivateAction> </Private> <Private entityRef="pedestrian_close_to_standing_6929"> <PrivateAction> <TeleportAction> <Position> <WorldPosition x="-15.661563873291016" y="19.471067428588867" z="0.003058051923289895"/> </Position> </TeleportAction> </PrivateAction> </Private> <Private entityRef="pedestrian_w_transform_6930"> <PrivateAction> <TeleportAction> <Position> <WorldPosition x="-12.394400596618652" y="83.44904327392578" z="0.5"/> </Position> </TeleportAction> </PrivateAction> </Private> <Private entityRef="pedestrian_close_to_hero_6931"> <PrivateAction> <TeleportAction> <Position> <WorldPosition x="-10.077016830444336" y="-149.19630432128906" z="0.0014286803780123591"/> </Position> </TeleportAction> </PrivateAction> </Private> <Private entityRef="pedestrian_close_to_adversary_6932"> <PrivateAction> <TeleportAction> <Position> <WorldPosition x="0.29978039860725403" y="-80.57141876220703" z="0.03377857059240341"/> </Position> </TeleportAction> </PrivateAction> </Private> <Private entityRef="pedestrian_close_to_hero_6933"> <PrivateAction> <TeleportAction> <Position> <WorldPosition x="-19.314292907714844" y="-147.2891387939453" z="0.0014286803780123591"/> </Position> </TeleportAction> </PrivateAction> </Private> <Private entityRef="pedestrian_close_to_adversary_6934"> <PrivateAction> <TeleportAction> <Position> <WorldPosition x="-18.487987518310547" y="-78.79096984863281" z="0.03377654775977135"/> </Position> </TeleportAction> </PrivateAction> </Private> <Private entityRef="pedestrian_close_to_adversary_6935"> <PrivateAction> <TeleportAction> <Position> <WorldPosition x="-11.477646827697754" y="-76.08194732666016" z="0.03371791914105415"/> </Position> </TeleportAction> </PrivateAction> </Private> <Private entityRef="pedestrian_close_to_hero_6936"> <PrivateAction> <TeleportAction> <Position> <WorldPosition x="-6.571002960205078" y="-150.57826232910156" z="0.0014286803780123591"/> </Position> </TeleportAction> </PrivateAction> </Private> </Actions> </Init> <Story name="MyStory"> <Act name="Behavior"> <ManeuverGroup maximumExecutionCount="1" name="ManeuverSequence"> <Actors selectTriggeringEntities="false"> <EntityRef entityRef="adversary"/> </Actors> <Maneuver name="LaneChangeSimpleManeuver"> <Event name="AdversaryAccelerates" priority="overwrite"> <Action name="AdversaryAccelerates"> <PrivateAction> <LongitudinalAction> <SpeedAction> <SpeedActionDynamics dynamicsShape="step" value="50" dynamicsDimension="distance"/> <SpeedActionTarget> <AbsoluteTargetSpeed value="5.0"/> </SpeedActionTarget> </SpeedAction> </LongitudinalAction> </PrivateAction> </Action> <StartTrigger> <ConditionGroup> <Condition name="StartCondition" delay="0" conditionEdge="rising"> <ByEntityCondition> <TriggeringEntities triggeringEntitiesRule="any"> <EntityRef entityRef="hero"/> </TriggeringEntities> <EntityCondition> <RelativeDistanceCondition entityRef="adversary" relativeDistanceType="cartesianDistance" value="40.0" freespace="false" rule="lessThan"/> </EntityCondition> </ByEntityCondition> </Condition> </ConditionGroup> </StartTrigger> </Event> <Event name="AdversaryChangesLane" priority="overwrite"> <Action name="AdversaryChangesLane"> <PrivateAction> <LateralAction> <LaneChangeAction> <LaneChangeActionDynamics dynamicsShape="linear" value="25" dynamicsDimension="distance"/> <LaneChangeTarget> <RelativeTargetLane entityRef="adversary" value="-1"/> </LaneChangeTarget> </LaneChangeAction> </LateralAction> </PrivateAction> </Action> <StartTrigger> <ConditionGroup> <Condition name="AfterAdversaryAccelerates" delay="0" conditionEdge="rising"> <ByValueCondition> <StoryboardElementStateCondition storyboardElementType="action" storyboardElementRef="AdversaryAccelerates" state="completeState"/> </ByValueCondition> </Condition> </ConditionGroup> </StartTrigger> </Event> </Maneuver> </ManeuverGroup> <StartTrigger> <ConditionGroup> <Condition name="OverallStartCondition" delay="0" conditionEdge="rising"> <ByEntityCondition> <TriggeringEntities triggeringEntitiesRule="any"> <EntityRef entityRef="hero"/> </TriggeringEntities> <EntityCondition> <TraveledDistanceCondition value="1.0"/> </EntityCondition> </ByEntityCondition> </Condition> <Condition name="StartTime" delay="0" conditionEdge="rising"> <ByValueCondition> <SimulationTimeCondition value="0" rule="equalTo"/> </ByValueCondition> </Condition> </ConditionGroup> </StartTrigger> <StopTrigger> <ConditionGroup> <Condition name="EndCondition" delay="0" conditionEdge="rising"> <ByEntityCondition> <TriggeringEntities triggeringEntitiesRule="any"> <EntityRef entityRef="hero"/> </TriggeringEntities> <EntityCondition> <TraveledDistanceCondition value="200.0"/> </EntityCondition> </ByEntityCondition> </Condition> </ConditionGroup> </StopTrigger> </Act> </Story> <StopTrigger> <ConditionGroup> <Condition name="criteria_RunningStopTest" delay="0" conditionEdge="rising"> <ByValueCondition> <ParameterCondition parameterRef="" value="" rule="lessThan"/> </ByValueCondition> </Condition> <Condition name="criteria_RunningRedLightTest" delay="0" conditionEdge="rising"> <ByValueCondition> <ParameterCondition parameterRef="" value="" rule="lessThan"/> </ByValueCondition> </Condition> <Condition name="criteria_WrongLaneTest" delay="0" conditionEdge="rising"> <ByValueCondition> <ParameterCondition parameterRef="" value="" rule="lessThan"/> </ByValueCondition> </Condition> <Condition name="criteria_OnSidewalkTest" delay="0" conditionEdge="rising"> <ByValueCondition> <ParameterCondition parameterRef="" value="" rule="lessThan"/> </ByValueCondition> </Condition> <Condition name="criteria_KeepLaneTest" delay="0" conditionEdge="rising"> <ByValueCondition> <ParameterCondition parameterRef="" value="" rule="lessThan"/> </ByValueCondition> </Condition> <Condition name="criteria_CollisionTest" delay="0" conditionEdge="rising"> <ByValueCondition> <ParameterCondition parameterRef="" value="" rule="lessThan"/> </ByValueCondition> </Condition> <Condition name="criteria_DrivenDistanceTest" delay="0" conditionEdge="rising"> <ByValueCondition> <ParameterCondition parameterRef="distance_success" value="100" rule="lessThan"/> </ByValueCondition> </Condition> </ConditionGroup> </StopTrigger> </Storyboard> </OpenSCENARIO> ```
Here is the result: ``` <?xml version="1.0" ?> <OpenSCENARIO> <FileHeader revMajor="1" revMinor="0" date="2020-03-24T12:00:00" description="CARLA:LaneChangeSimple" author=""/> <ParameterDeclarations/> <CatalogLocations/> <RoadNetwork> <LogicFile filepath="Town04"/> <SceneGraphFile filepath=""/> </RoadNetwork> <Entities> <ScenarioObject name="hero"> <Vehicle name="vehicle.tesla.model3" vehicleCategory="car"> <ParameterDeclarations/> <Performance maxSpeed="69.444" maxAcceleration="200" maxDeceleration="10.0"/> <BoundingBox> <Center x="1.5" y="0.0" z="0.9"/> <Dimensions width="2.1" length="4.5" height="1.8"/> </BoundingBox> <Axles> <FrontAxle maxSteering="0.5" wheelDiameter="0.6" trackWidth="1.8" positionX="3.1" positionZ="0.3"/> <RearAxle maxSteering="0.0" wheelDiameter="0.6" trackWidth="1.8" positionX="0.0" positionZ="0.3"/> </Axles> <Properties> <Property name="type" value="ego_vehicle"/> </Properties> </Vehicle> </ScenarioObject> <ScenarioObject name="adversary"> <Vehicle name="vehicle.lincoln.mkz_2017" vehicleCategory="car"> <ParameterDeclarations/> <Performance maxSpeed="69.444" maxAcceleration="200" maxDeceleration="10.0"/> <BoundingBox> <Center x="1.5" y="0.0" z="0.9"/> <Dimensions width="2.1" length="4.5" height="1.8"/> </BoundingBox> <Axles> <FrontAxle maxSteering="0.5" wheelDiameter="0.6" trackWidth="1.8" positionX="3.1" positionZ="0.3"/> <RearAxle maxSteering="0.0" wheelDiameter="0.6" trackWidth="1.8" positionX="0.0" positionZ="0.3"/> </Axles> <Properties> <Property name="type" value="simulation"/> </Properties> </Vehicle> </ScenarioObject> <ScenarioObject name="standing"> <Vehicle name="vehicle.volkswagen.t2" vehicleCategory="car"> <ParameterDeclarations/> <Performance maxSpeed="69.444" maxAcceleration="200" maxDeceleration="10.0"/> <BoundingBox> <Center x="1.5" y="0.0" z="0.9"/> <Dimensions width="2.1" length="4.5" height="1.8"/> </BoundingBox> <Axles> <FrontAxle maxSteering="0.5" wheelDiameter="0.6" trackWidth="1.8" positionX="3.1" positionZ="0.3"/> <RearAxle maxSteering="0.0" wheelDiameter="0.6" trackWidth="1.8" positionX="0.0" positionZ="0.3"/> </Axles> <Properties> <Property name="type" value="simulation"/> </Properties> </Vehicle> </ScenarioObject> <ScenarioObject name="pedestrian_close_to_standing_6929"> <Pedestrian model="walker.pedestrian.0001" mass="80" name="walker.pedestrian.0001" pedestrianCategory="pedestrian"> <ParameterDeclarations/> <BoundingBox> <Center x="1.5" y="0.0" z="0.9"/> <Dimensions width="2" length="2" height="2"/> </BoundingBox> <Properties> <Property name="type" value="simulation"/> </Properties> </Pedestrian> </ScenarioObject> <ScenarioObject name="pedestrian_w_transform_6930"> <Pedestrian model="walker.pedestrian.0001" mass="80" name="walker.pedestrian.0001" pedestrianCategory="pedestrian"> <ParameterDeclarations/> <BoundingBox> <Center x="1.5" y="0.0" z="0.9"/> <Dimensions width="2" length="2" height="2"/> </BoundingBox> <Properties> <Property name="type" value="simulation"/> </Properties> </Pedestrian> </ScenarioObject> <ScenarioObject name="pedestrian_close_to_hero_6931"> <Pedestrian model="walker.pedestrian.0001" mass="80" name="walker.pedestrian.0001" pedestrianCategory="pedestrian"> <ParameterDeclarations/> <BoundingBox> <Center x="1.5" y="0.0" z="0.9"/> <Dimensions width="2" length="2" height="2"/> </BoundingBox> <Properties> <Property name="type" value="simulation"/> </Properties> </Pedestrian> </ScenarioObject> <ScenarioObject name="pedestrian_close_to_adversary_6932"> <Pedestrian model="walker.pedestrian.0001" mass="80" name="walker.pedestrian.0001" pedestrianCategory="pedestrian"> <ParameterDeclarations/> <BoundingBox> <Center x="1.5" y="0.0" z="0.9"/> <Dimensions width="2" length="2" height="2"/> </BoundingBox> <Properties> <Property name="type" value="simulation"/> </Properties> </Pedestrian> </ScenarioObject> <ScenarioObject name="pedestrian_close_to_hero_6933"> <Pedestrian model="walker.pedestrian.0001" mass="80" name="walker.pedestrian.0001" pedestrianCategory="pedestrian"> <ParameterDeclarations/> <BoundingBox> <Center x="1.5" y="0.0" z="0.9"/> <Dimensions width="2" length="2" height="2"/> </BoundingBox> <Properties> <Property name="type" value="simulation"/> </Properties> </Pedestrian> </ScenarioObject> <ScenarioObject name="pedestrian_close_to_adversary_6934"> <Pedestrian model="walker.pedestrian.0001" mass="80" name="walker.pedestrian.0001" pedestrianCategory="pedestrian"> <ParameterDeclarations/> <BoundingBox> <Center x="1.5" y="0.0" z="0.9"/> <Dimensions width="2" length="2" height="2"/> </BoundingBox> <Properties> <Property name="type" value="simulation"/> </Properties> </Pedestrian> </ScenarioObject> <ScenarioObject name="pedestrian_close_to_adversary_6935"> <Pedestrian model="walker.pedestrian.0001" mass="80" name="walker.pedestrian.0001" pedestrianCategory="pedestrian"> <ParameterDeclarations/> <BoundingBox> <Center x="1.5" y="0.0" z="0.9"/> <Dimensions width="2" length="2" height="2"/> </BoundingBox> <Properties> <Property name="type" value="simulation"/> </Properties> </Pedestrian> </ScenarioObject> <ScenarioObject name="pedestrian_close_to_hero_6936"> <Pedestrian model="walker.pedestrian.0001" mass="80" name="walker.pedestrian.0001" pedestrianCategory="pedestrian"> <ParameterDeclarations/> <BoundingBox> <Center x="1.5" y="0.0" z="0.9"/> <Dimensions width="2" length="2" height="2"/> </BoundingBox> <Properties> <Property name="type" value="simulation"/> </Properties> </Pedestrian> </ScenarioObject> <ScenarioObject name="pedestrian_w_transform_6937"> <Pedestrian model="walker.pedestrian.0001" mass="80" name="walker.pedestrian.0001" pedestrianCategory="pedestrian"> <ParameterDeclarations/> <BoundingBox> <Center x="1.5" y="0.0" z="0.9"/> <Dimensions width="2" length="2" height="2"/> </BoundingBox> <Properties> <Property name="type" value="simulation"/> </Properties> </Pedestrian> </ScenarioObject> </Entities> <Storyboard> <Init> <Actions> <GlobalAction> <EnvironmentAction> <Environment name="Environment1"> <TimeOfDay animation="false" dateTime="2019-06-25T12:00:00"/> <Weather cloudState="free"> <Sun intensity="0.85" azimuth="0" elevation="1.31"/> <Fog visualRange="100000.0"/> <Precipitation precipitationType="dry" intensity="0.0"/> </Weather> <RoadCondition frictionScaleFactor="1.0"/> </Environment> </EnvironmentAction> </GlobalAction> <Private entityRef="hero"> <PrivateAction> <TeleportAction> <Position> <WorldPosition x="-9.4" y="-152.8" z="0.5" h="1.57079632679"/> </Position> </TeleportAction> </PrivateAction> <PrivateAction> <ControllerAction> <AssignControllerAction> <Controller name="HeroAgent"> <Properties> <Property name="module" value="external_control"/> </Properties> </Controller> </AssignControllerAction> <OverrideControllerValueAction> <Throttle value="0" active="false"/> <Brake value="0" active="false"/> <Clutch value="0" active="false"/> <ParkingBrake value="0" active="false"/> <SteeringWheel value="0" active="false"/> <Gear number="0" active="false"/> </OverrideControllerValueAction> </ControllerAction> </PrivateAction> </Private> <Private entityRef="adversary"> <PrivateAction> <TeleportAction> <Position> <WorldPosition x="-9.4" y="-71.0" z="0.5" h="1.57079632679"/> </Position> </TeleportAction> </PrivateAction> </Private> <Private entityRef="standing"> <PrivateAction> <TeleportAction> <Position> <WorldPosition x="-8.2" y="29.2" z="0.5" h="1.57079632679"/> </Position> </TeleportAction> </PrivateAction> </Private> <Private entityRef="pedestrian_close_to_standing_6929"> <PrivateAction> <TeleportAction> <Position> <WorldPosition x="-15.661563873291016" y="19.471067428588867" z="0.003058051923289895"/> </Position> </TeleportAction> </PrivateAction> </Private> <Private entityRef="pedestrian_w_transform_6930"> <PrivateAction> <TeleportAction> <Position> <WorldPosition x="-12.394400596618652" y="83.44904327392578" z="0.5"/> </Position> </TeleportAction> </PrivateAction> </Private> <Private entityRef="pedestrian_close_to_hero_6931"> <PrivateAction> <TeleportAction> <Position> <WorldPosition x="-10.077016830444336" y="-149.19630432128906" z="0.0014286803780123591"/> </Position> </TeleportAction> </PrivateAction> </Private> <Private entityRef="pedestrian_close_to_adversary_6932"> <PrivateAction> <TeleportAction> <Position> <WorldPosition x="0.29978039860725403" y="-80.57141876220703" z="0.03377857059240341"/> </Position> </TeleportAction> </PrivateAction> </Private> <Private entityRef="pedestrian_close_to_hero_6933"> <PrivateAction> <TeleportAction> <Position> <WorldPosition x="-19.314292907714844" y="-147.2891387939453" z="0.0014286803780123591"/> </Position> </TeleportAction> </PrivateAction> </Private> <Private entityRef="pedestrian_close_to_adversary_6934"> <PrivateAction> <TeleportAction> <Position> <WorldPosition x="-18.487987518310547" y="-78.79096984863281" z="0.03377654775977135"/> </Position> </TeleportAction> </PrivateAction> </Private> <Private entityRef="pedestrian_close_to_adversary_6935"> <PrivateAction> <TeleportAction> <Position> <WorldPosition x="-11.477646827697754" y="-76.08194732666016" z="0.03371791914105415"/> </Position> </TeleportAction> </PrivateAction> </Private> <Private entityRef="pedestrian_close_to_hero_6936"> <PrivateAction> <TeleportAction> <Position> <WorldPosition x="-6.571002960205078" y="-150.57826232910156" z="0.0014286803780123591"/> </Position> </TeleportAction> </PrivateAction> </Private> <Private entityRef="pedestrian_w_transform_6937"> <PrivateAction> <TeleportAction> <Position> <WorldPosition x="-26.15178680419922" y="23.019317626953125" z="0.5"/> </Position> </TeleportAction> </PrivateAction> </Private> </Actions> </Init> <Story name="MyStory"> <Act name="Behavior"> <ManeuverGroup maximumExecutionCount="1" name="ManeuverSequence"> <Actors selectTriggeringEntities="false"> <EntityRef entityRef="adversary"/> </Actors> <Maneuver name="LaneChangeSimpleManeuver"> <Event name="AdversaryAccelerates" priority="overwrite"> <Action name="AdversaryAccelerates"> <PrivateAction> <LongitudinalAction> <SpeedAction> <SpeedActionDynamics dynamicsShape="step" value="50" dynamicsDimension="distance"/> <SpeedActionTarget> <AbsoluteTargetSpeed value="5.0"/> </SpeedActionTarget> </SpeedAction> </LongitudinalAction> </PrivateAction> </Action> <StartTrigger> <ConditionGroup> <Condition name="StartCondition" delay="0" conditionEdge="rising"> <ByEntityCondition> <TriggeringEntities triggeringEntitiesRule="any"> <EntityRef entityRef="hero"/> </TriggeringEntities> <EntityCondition> <RelativeDistanceCondition entityRef="adversary" relativeDistanceType="cartesianDistance" value="40.0" freespace="false" rule="lessThan"/> </EntityCondition> </ByEntityCondition> </Condition> </ConditionGroup> </StartTrigger> </Event> <Event name="AdversaryChangesLane" priority="overwrite"> <Action name="AdversaryChangesLane"> <PrivateAction> <LateralAction> <LaneChangeAction> <LaneChangeActionDynamics dynamicsShape="linear" value="25" dynamicsDimension="distance"/> <LaneChangeTarget> <RelativeTargetLane entityRef="adversary" value="-1"/> </LaneChangeTarget> </LaneChangeAction> </LateralAction> </PrivateAction> </Action> <StartTrigger> <ConditionGroup> <Condition name="AfterAdversaryAccelerates" delay="0" conditionEdge="rising"> <ByValueCondition> <StoryboardElementStateCondition storyboardElementType="action" storyboardElementRef="AdversaryAccelerates" state="completeState"/> </ByValueCondition> </Condition> </ConditionGroup> </StartTrigger> </Event> </Maneuver> </ManeuverGroup> <StartTrigger> <ConditionGroup> <Condition name="OverallStartCondition" delay="0" conditionEdge="rising"> <ByEntityCondition> <TriggeringEntities triggeringEntitiesRule="any"> <EntityRef entityRef="hero"/> </TriggeringEntities> <EntityCondition> <TraveledDistanceCondition value="1.0"/> </EntityCondition> </ByEntityCondition> </Condition> <Condition name="StartTime" delay="0" conditionEdge="rising"> <ByValueCondition> <SimulationTimeCondition value="0" rule="equalTo"/> </ByValueCondition> </Condition> </ConditionGroup> </StartTrigger> <StopTrigger> <ConditionGroup> <Condition name="EndCondition" delay="0" conditionEdge="rising"> <ByEntityCondition> <TriggeringEntities triggeringEntitiesRule="any"> <EntityRef entityRef="hero"/> </TriggeringEntities> <EntityCondition> <TraveledDistanceCondition value="200.0"/> </EntityCondition> </ByEntityCondition> </Condition> </ConditionGroup> </StopTrigger> </Act> </Story> <StopTrigger> <ConditionGroup> <Condition name="criteria_RunningStopTest" delay="0" conditionEdge="rising"> <ByValueCondition> <ParameterCondition parameterRef="" value="" rule="lessThan"/> </ByValueCondition> </Condition> <Condition name="criteria_RunningRedLightTest" delay="0" conditionEdge="rising"> <ByValueCondition> <ParameterCondition parameterRef="" value="" rule="lessThan"/> </ByValueCondition> </Condition> <Condition name="criteria_WrongLaneTest" delay="0" conditionEdge="rising"> <ByValueCondition> <ParameterCondition parameterRef="" value="" rule="lessThan"/> </ByValueCondition> </Condition> <Condition name="criteria_OnSidewalkTest" delay="0" conditionEdge="rising"> <ByValueCondition> <ParameterCondition parameterRef="" value="" rule="lessThan"/> </ByValueCondition> </Condition> <Condition name="criteria_KeepLaneTest" delay="0" conditionEdge="rising"> <ByValueCondition> <ParameterCondition parameterRef="" value="" rule="lessThan"/> </ByValueCondition> </Condition> <Condition name="criteria_CollisionTest" delay="0" conditionEdge="rising"> <ByValueCondition> <ParameterCondition parameterRef="" value="" rule="lessThan"/> </ByValueCondition> </Condition> <Condition name="criteria_DrivenDistanceTest" delay="0" conditionEdge="rising"> <ByValueCondition> <ParameterCondition parameterRef="distance_success" value="100" rule="lessThan"/> </ByValueCondition> </Condition> </ConditionGroup> </StopTrigger> </Storyboard> </OpenSCENARIO> ```
i would like to guide you to remove pedestrian actor named pedestrian_w_transform_24187? ``` <?xml version="1.0" ?> <OpenSCENARIO> <FileHeader revMajor="1" revMinor="0" date="2020-03-24T12:00:00" description="CARLA:LaneChangeSimple" author=""/> <ParameterDeclarations/> <CatalogLocations/> <RoadNetwork> <LogicFile filepath="Town04"/> <SceneGraphFile filepath=""/> </RoadNetwork> <Entities> <ScenarioObject name="hero"> <Vehicle name="vehicle.tesla.model3" vehicleCategory="car"> <ParameterDeclarations/> <Performance maxSpeed="69.444" maxAcceleration="200" maxDeceleration="10.0"/> <BoundingBox> <Center x="1.5" y="0.0" z="0.9"/> <Dimensions width="2.1" length="4.5" height="1.8"/> </BoundingBox> <Axles> <FrontAxle maxSteering="0.5" wheelDiameter="0.6" trackWidth="1.8" positionX="3.1" positionZ="0.3"/> <RearAxle maxSteering="0.0" wheelDiameter="0.6" trackWidth="1.8" positionX="0.0" positionZ="0.3"/> </Axles> <Properties> <Property name="type" value="ego_vehicle"/> </Properties> </Vehicle> </ScenarioObject> <ScenarioObject name="adversary"> <Vehicle name="vehicle.lincoln.mkz_2017" vehicleCategory="car"> <ParameterDeclarations/> <Performance maxSpeed="69.444" maxAcceleration="200" maxDeceleration="10.0"/> <BoundingBox> <Center x="1.5" y="0.0" z="0.9"/> <Dimensions width="2.1" length="4.5" height="1.8"/> </BoundingBox> <Axles> <FrontAxle maxSteering="0.5" wheelDiameter="0.6" trackWidth="1.8" positionX="3.1" positionZ="0.3"/> <RearAxle maxSteering="0.0" wheelDiameter="0.6" trackWidth="1.8" positionX="0.0" positionZ="0.3"/> </Axles> <Properties> <Property name="type" value="simulation"/> </Properties> </Vehicle> </ScenarioObject> <ScenarioObject name="standing"> <Vehicle name="vehicle.volkswagen.t2" vehicleCategory="car"> <ParameterDeclarations/> <Performance maxSpeed="69.444" maxAcceleration="200" maxDeceleration="10.0"/> <BoundingBox> <Center x="1.5" y="0.0" z="0.9"/> <Dimensions width="2.1" length="4.5" height="1.8"/> </BoundingBox> <Axles> <FrontAxle maxSteering="0.5" wheelDiameter="0.6" trackWidth="1.8" positionX="3.1" positionZ="0.3"/> <RearAxle maxSteering="0.0" wheelDiameter="0.6" trackWidth="1.8" positionX="0.0" positionZ="0.3"/> </Axles> <Properties> <Property name="type" value="simulation"/> </Properties> </Vehicle> </ScenarioObject> <ScenarioObject name="pedestrian_close_to_adversary_24185"> <Pedestrian model="walker.pedestrian.0001" mass="80" name="walker.pedestrian.0001" pedestrianCategory="pedestrian"> <ParameterDeclarations/> <BoundingBox> <Center x="1.5" y="0.0" z="0.9"/> <Dimensions width="2" length="2" height="2"/> </BoundingBox> <Properties> <Property name="type" value="simulation"/> </Properties> </Pedestrian> </ScenarioObject> <ScenarioObject name="pedestrian_close_to_hero_24186"> <Pedestrian model="walker.pedestrian.0001" mass="80" name="walker.pedestrian.0001" pedestrianCategory="pedestrian"> <ParameterDeclarations/> <BoundingBox> <Center x="1.5" y="0.0" z="0.9"/> <Dimensions width="2" length="2" height="2"/> </BoundingBox> <Properties> <Property name="type" value="simulation"/> </Properties> </Pedestrian> </ScenarioObject> <ScenarioObject name="pedestrian_w_transform_24187"> <Pedestrian model="walker.pedestrian.0001" mass="80" name="walker.pedestrian.0001" pedestrianCategory="pedestrian"> <ParameterDeclarations/> <BoundingBox> <Center x="1.5" y="0.0" z="0.9"/> <Dimensions width="2" length="2" height="2"/> </BoundingBox> <Properties> <Property name="type" value="simulation"/> </Properties> </Pedestrian> </ScenarioObject> <ScenarioObject name="pedestrian_close_to_adversary_24188"> <Pedestrian model="walker.pedestrian.0001" mass="80" name="walker.pedestrian.0001" pedestrianCategory="pedestrian"> <ParameterDeclarations/> <BoundingBox> <Center x="1.5" y="0.0" z="0.9"/> <Dimensions width="2" length="2" height="2"/> </BoundingBox> <Properties> <Property name="type" value="simulation"/> </Properties> </Pedestrian> </ScenarioObject> <ScenarioObject name="pedestrian_w_transform_24189"> <Pedestrian model="walker.pedestrian.0001" mass="80" name="walker.pedestrian.0001" pedestrianCategory="pedestrian"> <ParameterDeclarations/> <BoundingBox> <Center x="1.5" y="0.0" z="0.9"/> <Dimensions width="2" length="2" height="2"/> </BoundingBox> <Properties> <Property name="type" value="simulation"/> </Properties> </Pedestrian> </ScenarioObject> <ScenarioObject name="pedestrian_close_to_standing_24190"> <Pedestrian model="walker.pedestrian.0001" mass="80" name="walker.pedestrian.0001" pedestrianCategory="pedestrian"> <ParameterDeclarations/> <BoundingBox> <Center x="1.5" y="0.0" z="0.9"/> <Dimensions width="2" length="2" height="2"/> </BoundingBox> <Properties> <Property name="type" value="simulation"/> </Properties> </Pedestrian> </ScenarioObject> <ScenarioObject name="pedestrian_w_transform_24191"> <Pedestrian model="walker.pedestrian.0001" mass="80" name="walker.pedestrian.0001" pedestrianCategory="pedestrian"> <ParameterDeclarations/> <BoundingBox> <Center x="1.5" y="0.0" z="0.9"/> <Dimensions width="2" length="2" height="2"/> </BoundingBox> <Properties> <Property name="type" value="simulation"/> </Properties> </Pedestrian> </ScenarioObject> <ScenarioObject name="pedestrian_close_to_adversary_24192"> <Pedestrian model="walker.pedestrian.0001" mass="80" name="walker.pedestrian.0001" pedestrianCategory="pedestrian"> <ParameterDeclarations/> <BoundingBox> <Center x="1.5" y="0.0" z="0.9"/> <Dimensions width="2" length="2" height="2"/> </BoundingBox> <Properties> <Property name="type" value="simulation"/> </Properties> </Pedestrian> </ScenarioObject> <ScenarioObject name="pedestrian_close_to_standing_24193"> <Pedestrian model="walker.pedestrian.0001" mass="80" name="walker.pedestrian.0001" pedestrianCategory="pedestrian"> <ParameterDeclarations/> <BoundingBox> <Center x="1.5" y="0.0" z="0.9"/> <Dimensions width="2" length="2" height="2"/> </BoundingBox> <Properties> <Property name="type" value="simulation"/> </Properties> </Pedestrian> </ScenarioObject> <ScenarioObject name="pedestrian_close_to_standing_24194"> <Pedestrian model="walker.pedestrian.0001" mass="80" name="walker.pedestrian.0001" pedestrianCategory="pedestrian"> <ParameterDeclarations/> <BoundingBox> <Center x="1.5" y="0.0" z="0.9"/> <Dimensions width="2" length="2" height="2"/> </BoundingBox> <Properties> <Property name="type" value="simulation"/> </Properties> </Pedestrian> </ScenarioObject> <ScenarioObject name="pedestrian_close_to_standing_24196"> <Pedestrian model="walker.pedestrian.0001" mass="80" name="walker.pedestrian.0001" pedestrianCategory="pedestrian"> <ParameterDeclarations/> <BoundingBox> <Center x="1.5" y="0.0" z="0.9"/> <Dimensions width="2" length="2" height="2"/> </BoundingBox> <Properties> <Property name="type" value="simulation"/> </Properties> </Pedestrian> </ScenarioObject> <ScenarioObject name="pedestrian_close_to_hero_24197"> <Pedestrian model="walker.pedestrian.0001" mass="80" name="walker.pedestrian.0001" pedestrianCategory="pedestrian"> <ParameterDeclarations/> <BoundingBox> <Center x="1.5" y="0.0" z="0.9"/> <Dimensions width="2" length="2" height="2"/> </BoundingBox> <Properties> <Property name="type" value="simulation"/> </Properties> </Pedestrian> </ScenarioObject> <ScenarioObject name="pedestrian_w_transform_24199"> <Pedestrian model="walker.pedestrian.0001" mass="80" name="walker.pedestrian.0001" pedestrianCategory="pedestrian"> <ParameterDeclarations/> <BoundingBox> <Center x="1.5" y="0.0" z="0.9"/> <Dimensions width="2" length="2" height="2"/> </BoundingBox> <Properties> <Property name="type" value="simulation"/> </Properties> </Pedestrian> </ScenarioObject> <ScenarioObject name="pedestrian_w_transform_24200"> <Pedestrian model="walker.pedestrian.0001" mass="80" name="walker.pedestrian.0001" pedestrianCategory="pedestrian"> <ParameterDeclarations/> <BoundingBox> <Center x="1.5" y="0.0" z="0.9"/> <Dimensions width="2" length="2" height="2"/> </BoundingBox> <Properties> <Property name="type" value="simulation"/> </Properties> </Pedestrian> </ScenarioObject> <ScenarioObject name="pedestrian_close_to_standing_24201"> <Pedestrian model="walker.pedestrian.0001" mass="80" name="walker.pedestrian.0001" pedestrianCategory="pedestrian"> <ParameterDeclarations/> <BoundingBox> <Center x="1.5" y="0.0" z="0.9"/> <Dimensions width="2" length="2" height="2"/> </BoundingBox> <Properties> <Property name="type" value="simulation"/> </Properties> </Pedestrian> </ScenarioObject> <ScenarioObject name="pedestrian_close_to_adversary_24209"> <Pedestrian model="walker.pedestrian.0001" mass="80" name="walker.pedestrian.0001" pedestrianCategory="pedestrian"> <ParameterDeclarations/> <BoundingBox> <Center x="1.5" y="0.0" z="0.9"/> <Dimensions width="2" length="2" height="2"/> </BoundingBox> <Properties> <Property name="type" value="simulation"/> </Properties> </Pedestrian> </ScenarioObject> <ScenarioObject name="pedestrian_w_transform_24210"> <Pedestrian model="walker.pedestrian.0001" mass="80" name="walker.pedestrian.0001" pedestrianCategory="pedestrian"> <ParameterDeclarations/> <BoundingBox> <Center x="1.5" y="0.0" z="0.9"/> <Dimensions width="2" length="2" height="2"/> </BoundingBox> <Properties> <Property name="type" value="simulation"/> </Properties> </Pedestrian> </ScenarioObject> <ScenarioObject name="pedestrian_close_to_standing_24212"> <Pedestrian model="walker.pedestrian.0001" mass="80" name="walker.pedestrian.0001" pedestrianCategory="pedestrian"> <ParameterDeclarations/> <BoundingBox> <Center x="1.5" y="0.0" z="0.9"/> <Dimensions width="2" length="2" height="2"/> </BoundingBox> <Properties> <Property name="type" value="simulation"/> </Properties> </Pedestrian> </ScenarioObject> </Entities> <Storyboard> <Init> <Actions> <GlobalAction> <EnvironmentAction> <Environment name="Environment1"> <TimeOfDay animation="false" dateTime="2019-06-25T12:00:00"/> <Weather cloudState="free"> <Sun intensity="0.85" azimuth="0" elevation="1.31"/> <Fog visualRange="100000.0"/> <Precipitation precipitationType="dry" intensity="0.0"/> </Weather> <RoadCondition frictionScaleFactor="1.0"/> </Environment> </EnvironmentAction> </GlobalAction> <Private entityRef="hero"> <PrivateAction> <TeleportAction> <Position> <WorldPosition x="-9.4" y="-152.8" z="0.5" h="1.57079632679"/> </Position> </TeleportAction> </PrivateAction> <PrivateAction> <ControllerAction> <AssignControllerAction> <Controller name="HeroAgent"> <Properties> <Property name="module" value="external_control"/> </Properties> </Controller> </AssignControllerAction> <OverrideControllerValueAction> <Throttle value="0" active="false"/> <Brake value="0" active="false"/> <Clutch value="0" active="false"/> <ParkingBrake value="0" active="false"/> <SteeringWheel value="0" active="false"/> <Gear number="0" active="false"/> </OverrideControllerValueAction> </ControllerAction> </PrivateAction> </Private> <Private entityRef="adversary"> <PrivateAction> <TeleportAction> <Position> <WorldPosition x="-9.4" y="-71.0" z="0.5" h="1.57079632679"/> </Position> </TeleportAction> </PrivateAction> </Private> <Private entityRef="standing"> <PrivateAction> <TeleportAction> <Position> <WorldPosition x="-8.2" y="29.2" z="0.5" h="1.57079632679"/> </Position> </TeleportAction> </PrivateAction> </Private> <Private entityRef="pedestrian_close_to_adversary_24185"> <PrivateAction> <TeleportAction> <Position> <WorldPosition x="-10.560993194580078" y="-62.728179931640625" z="0.033781927078962326"/> </Position> </TeleportAction> </PrivateAction> </Private> <Private entityRef="pedestrian_close_to_hero_24186"> <PrivateAction> <TeleportAction> <Position> <WorldPosition x="-11.610087394714355" y="-146.36790466308594" z="0.0014286803780123591"/> </Position> </TeleportAction> </PrivateAction> </Private> <Private entityRef="pedestrian_w_transform_24187"> <PrivateAction> <TeleportAction> <Position> <WorldPosition x="76.05564880371094" y="-44.12095642089844" z="0.5"/> </Position> </TeleportAction> </PrivateAction> </Private> <Private entityRef="pedestrian_close_to_adversary_24188"> <PrivateAction> <TeleportAction> <Position> <WorldPosition x="-14.85006332397461" y="-67.88158416748047" z="0.033806074410676956"/> </Position> </TeleportAction> </PrivateAction> </Private> <Private entityRef="pedestrian_w_transform_24189"> <PrivateAction> <TeleportAction> <Position> <WorldPosition x="-50.790958404541016" y="84.00233459472656" z="0.5"/> </Position> </TeleportAction> </PrivateAction> </Private> <Private entityRef="pedestrian_close_to_standing_24190"> <PrivateAction> <TeleportAction> <Position> <WorldPosition x="-1.4662566184997559" y="27.782398223876953" z="0.0030994415283203125"/> </Position> </TeleportAction> </PrivateAction> </Private> <Private entityRef="pedestrian_w_transform_24191"> <PrivateAction> <TeleportAction> <Position> <WorldPosition x="-47.031280517578125" y="9.922812461853027" z="0.5"/> </Position> </TeleportAction> </PrivateAction> </Private> <Private entityRef="pedestrian_close_to_adversary_24192"> <PrivateAction> <TeleportAction> <Position> <WorldPosition x="-3.0834364891052246" y="-67.65869140625" z="0.033884428441524506"/> </Position> </TeleportAction> </PrivateAction> </Private> <Private entityRef="pedestrian_close_to_standing_24193"> <PrivateAction> <TeleportAction> <Position> <WorldPosition x="-4.877396583557129" y="24.38824462890625" z="0.00314128864556551"/> </Position> </TeleportAction> </PrivateAction> </Private> <Private entityRef="pedestrian_close_to_standing_24194"> <PrivateAction> <TeleportAction> <Position> <WorldPosition x="-9.709589958190918" y="21.6795654296875" z="0.003075675806030631"/> </Position> </TeleportAction> </PrivateAction> </Private> <Private entityRef="pedestrian_close_to_standing_24196"> <PrivateAction> <TeleportAction> <Position> <WorldPosition x="8.941744804382324" y="28.498353958129883" z="0.0030638885218650103"/> </Position> </TeleportAction> </PrivateAction> </Private> <Private entityRef="pedestrian_close_to_hero_24197"> <PrivateAction> <TeleportAction> <Position> <WorldPosition x="-13.710565567016602" y="-153.67230224609375" z="0.0014286803780123591"/> </Position> </TeleportAction> </PrivateAction> </Private> <Private entityRef="pedestrian_w_transform_24199"> <PrivateAction> <TeleportAction> <Position> <WorldPosition x="-49.23777389526367" y="44.15409851074219" z="0.5"/> </Position> </TeleportAction> </PrivateAction> </Private> <Private entityRef="pedestrian_w_transform_24200"> <PrivateAction> <TeleportAction> <Position> <WorldPosition x="-72.4874038696289" y="89.18682098388672" z="0.5"/> </Position> </TeleportAction> </PrivateAction> </Private> <Private entityRef="pedestrian_close_to_standing_24201"> <PrivateAction> <TeleportAction> <Position> <WorldPosition x="-17.75783348083496" y="31.340126037597656" z="0.0030369567684829235"/> </Position> </TeleportAction> </PrivateAction> </Private> <Private entityRef="pedestrian_close_to_adversary_24209"> <PrivateAction> <TeleportAction> <Position> <WorldPosition x="-2.923027992248535" y="-80.6715316772461" z="0.033749695867300034"/> </Position> </TeleportAction> </PrivateAction> </Private> <Private entityRef="pedestrian_w_transform_24210"> <PrivateAction> <TeleportAction> <Position> <WorldPosition x="37.23927688598633" y="-4.15893030166626" z="0.5"/> </Position> </TeleportAction> </PrivateAction> </Private> <Private entityRef="pedestrian_close_to_standing_24212"> <PrivateAction> <TeleportAction> <Position> <WorldPosition x="-16.17414093017578" y="35.70747375488281" z="0.003058051923289895"/> </Position> </TeleportAction> </PrivateAction> </Private> </Actions> </Init> <Story name="MyStory"> <Act name="Behavior"> <ManeuverGroup maximumExecutionCount="1" name="ManeuverSequence"> <Actors selectTriggeringEntities="false"> <EntityRef entityRef="adversary"/> </Actors> <Maneuver name="LaneChangeSimpleManeuver"> <Event name="AdversaryAccelerates" priority="overwrite"> <Action name="AdversaryAccelerates"> <PrivateAction> <LongitudinalAction> <SpeedAction> <SpeedActionDynamics dynamicsShape="step" value="50" dynamicsDimension="distance"/> <SpeedActionTarget> <AbsoluteTargetSpeed value="5.0"/> </SpeedActionTarget> </SpeedAction> </LongitudinalAction> </PrivateAction> </Action> <StartTrigger> <ConditionGroup> <Condition name="StartCondition" delay="0" conditionEdge="rising"> <ByEntityCondition> <TriggeringEntities triggeringEntitiesRule="any"> <EntityRef entityRef="hero"/> </TriggeringEntities> <EntityCondition> <RelativeDistanceCondition entityRef="adversary" relativeDistanceType="cartesianDistance" value="40.0" freespace="false" rule="lessThan"/> </EntityCondition> </ByEntityCondition> </Condition> </ConditionGroup> </StartTrigger> </Event> <Event name="AdversaryChangesLane" priority="overwrite"> <Action name="AdversaryChangesLane"> <PrivateAction> <LateralAction> <LaneChangeAction> <LaneChangeActionDynamics dynamicsShape="linear" value="25" dynamicsDimension="distance"/> <LaneChangeTarget> <RelativeTargetLane entityRef="adversary" value="-1"/> </LaneChangeTarget> </LaneChangeAction> </LateralAction> </PrivateAction> </Action> <StartTrigger> <ConditionGroup> <Condition name="AfterAdversaryAccelerates" delay="0" conditionEdge="rising"> <ByValueCondition> <StoryboardElementStateCondition storyboardElementType="action" storyboardElementRef="AdversaryAccelerates" state="completeState"/> </ByValueCondition> </Condition> </ConditionGroup> </StartTrigger> </Event> </Maneuver> </ManeuverGroup> <StartTrigger> <ConditionGroup> <Condition name="OverallStartCondition" delay="0" conditionEdge="rising"> <ByEntityCondition> <TriggeringEntities triggeringEntitiesRule="any"> <EntityRef entityRef="hero"/> </TriggeringEntities> <EntityCondition> <TraveledDistanceCondition value="1.0"/> </EntityCondition> </ByEntityCondition> </Condition> <Condition name="StartTime" delay="0" conditionEdge="rising"> <ByValueCondition> <SimulationTimeCondition value="0" rule="equalTo"/> </ByValueCondition> </Condition> </ConditionGroup> </StartTrigger> <StopTrigger> <ConditionGroup> <Condition name="EndCondition" delay="0" conditionEdge="rising"> <ByEntityCondition> <TriggeringEntities triggeringEntitiesRule="any"> <EntityRef entityRef="hero"/> </TriggeringEntities> <EntityCondition> <TraveledDistanceCondition value="200.0"/> </EntityCondition> </ByEntityCondition> </Condition> </ConditionGroup> </StopTrigger> </Act> </Story> <StopTrigger> <ConditionGroup> <Condition name="criteria_RunningStopTest" delay="0" conditionEdge="rising"> <ByValueCondition> <ParameterCondition parameterRef="" value="" rule="lessThan"/> </ByValueCondition> </Condition> <Condition name="criteria_RunningRedLightTest" delay="0" conditionEdge="rising"> <ByValueCondition> <ParameterCondition parameterRef="" value="" rule="lessThan"/> </ByValueCondition> </Condition> <Condition name="criteria_WrongLaneTest" delay="0" conditionEdge="rising"> <ByValueCondition> <ParameterCondition parameterRef="" value="" rule="lessThan"/> </ByValueCondition> </Condition> <Condition name="criteria_OnSidewalkTest" delay="0" conditionEdge="rising"> <ByValueCondition> <ParameterCondition parameterRef="" value="" rule="lessThan"/> </ByValueCondition> </Condition> <Condition name="criteria_KeepLaneTest" delay="0" conditionEdge="rising"> <ByValueCondition> <ParameterCondition parameterRef="" value="" rule="lessThan"/> </ByValueCondition> </Condition> <Condition name="criteria_CollisionTest" delay="0" conditionEdge="rising"> <ByValueCondition> <ParameterCondition parameterRef="" value="" rule="lessThan"/> </ByValueCondition> </Condition> <Condition name="criteria_DrivenDistanceTest" delay="0" conditionEdge="rising"> <ByValueCondition> <ParameterCondition parameterRef="distance_success" value="100" rule="lessThan"/> </ByValueCondition> </Condition> </ConditionGroup> </StopTrigger> </Storyboard> </OpenSCENARIO> ```
Here is the result: ``` <?xml version="1.0" ?> <OpenSCENARIO> <FileHeader revMajor="1" revMinor="0" date="2020-03-24T12:00:00" description="CARLA:LaneChangeSimple" author=""/> <ParameterDeclarations/> <CatalogLocations/> <RoadNetwork> <LogicFile filepath="Town04"/> <SceneGraphFile filepath=""/> </RoadNetwork> <Entities> <ScenarioObject name="hero"> <Vehicle name="vehicle.tesla.model3" vehicleCategory="car"> <ParameterDeclarations/> <Performance maxSpeed="69.444" maxAcceleration="200" maxDeceleration="10.0"/> <BoundingBox> <Center x="1.5" y="0.0" z="0.9"/> <Dimensions width="2.1" length="4.5" height="1.8"/> </BoundingBox> <Axles> <FrontAxle maxSteering="0.5" wheelDiameter="0.6" trackWidth="1.8" positionX="3.1" positionZ="0.3"/> <RearAxle maxSteering="0.0" wheelDiameter="0.6" trackWidth="1.8" positionX="0.0" positionZ="0.3"/> </Axles> <Properties> <Property name="type" value="ego_vehicle"/> </Properties> </Vehicle> </ScenarioObject> <ScenarioObject name="adversary"> <Vehicle name="vehicle.lincoln.mkz_2017" vehicleCategory="car"> <ParameterDeclarations/> <Performance maxSpeed="69.444" maxAcceleration="200" maxDeceleration="10.0"/> <BoundingBox> <Center x="1.5" y="0.0" z="0.9"/> <Dimensions width="2.1" length="4.5" height="1.8"/> </BoundingBox> <Axles> <FrontAxle maxSteering="0.5" wheelDiameter="0.6" trackWidth="1.8" positionX="3.1" positionZ="0.3"/> <RearAxle maxSteering="0.0" wheelDiameter="0.6" trackWidth="1.8" positionX="0.0" positionZ="0.3"/> </Axles> <Properties> <Property name="type" value="simulation"/> </Properties> </Vehicle> </ScenarioObject> <ScenarioObject name="standing"> <Vehicle name="vehicle.volkswagen.t2" vehicleCategory="car"> <ParameterDeclarations/> <Performance maxSpeed="69.444" maxAcceleration="200" maxDeceleration="10.0"/> <BoundingBox> <Center x="1.5" y="0.0" z="0.9"/> <Dimensions width="2.1" length="4.5" height="1.8"/> </BoundingBox> <Axles> <FrontAxle maxSteering="0.5" wheelDiameter="0.6" trackWidth="1.8" positionX="3.1" positionZ="0.3"/> <RearAxle maxSteering="0.0" wheelDiameter="0.6" trackWidth="1.8" positionX="0.0" positionZ="0.3"/> </Axles> <Properties> <Property name="type" value="simulation"/> </Properties> </Vehicle> </ScenarioObject> <ScenarioObject name="pedestrian_close_to_adversary_24185"> <Pedestrian model="walker.pedestrian.0001" mass="80" name="walker.pedestrian.0001" pedestrianCategory="pedestrian"> <ParameterDeclarations/> <BoundingBox> <Center x="1.5" y="0.0" z="0.9"/> <Dimensions width="2" length="2" height="2"/> </BoundingBox> <Properties> <Property name="type" value="simulation"/> </Properties> </Pedestrian> </ScenarioObject> <ScenarioObject name="pedestrian_close_to_hero_24186"> <Pedestrian model="walker.pedestrian.0001" mass="80" name="walker.pedestrian.0001" pedestrianCategory="pedestrian"> <ParameterDeclarations/> <BoundingBox> <Center x="1.5" y="0.0" z="0.9"/> <Dimensions width="2" length="2" height="2"/> </BoundingBox> <Properties> <Property name="type" value="simulation"/> </Properties> </Pedestrian> </ScenarioObject> <ScenarioObject name="pedestrian_close_to_adversary_24188"> <Pedestrian model="walker.pedestrian.0001" mass="80" name="walker.pedestrian.0001" pedestrianCategory="pedestrian"> <ParameterDeclarations/> <BoundingBox> <Center x="1.5" y="0.0" z="0.9"/> <Dimensions width="2" length="2" height="2"/> </BoundingBox> <Properties> <Property name="type" value="simulation"/> </Properties> </Pedestrian> </ScenarioObject> <ScenarioObject name="pedestrian_w_transform_24189"> <Pedestrian model="walker.pedestrian.0001" mass="80" name="walker.pedestrian.0001" pedestrianCategory="pedestrian"> <ParameterDeclarations/> <BoundingBox> <Center x="1.5" y="0.0" z="0.9"/> <Dimensions width="2" length="2" height="2"/> </BoundingBox> <Properties> <Property name="type" value="simulation"/> </Properties> </Pedestrian> </ScenarioObject> <ScenarioObject name="pedestrian_close_to_standing_24190"> <Pedestrian model="walker.pedestrian.0001" mass="80" name="walker.pedestrian.0001" pedestrianCategory="pedestrian"> <ParameterDeclarations/> <BoundingBox> <Center x="1.5" y="0.0" z="0.9"/> <Dimensions width="2" length="2" height="2"/> </BoundingBox> <Properties> <Property name="type" value="simulation"/> </Properties> </Pedestrian> </ScenarioObject> <ScenarioObject name="pedestrian_w_transform_24191"> <Pedestrian model="walker.pedestrian.0001" mass="80" name="walker.pedestrian.0001" pedestrianCategory="pedestrian"> <ParameterDeclarations/> <BoundingBox> <Center x="1.5" y="0.0" z="0.9"/> <Dimensions width="2" length="2" height="2"/> </BoundingBox> <Properties> <Property name="type" value="simulation"/> </Properties> </Pedestrian> </ScenarioObject> <ScenarioObject name="pedestrian_close_to_adversary_24192"> <Pedestrian model="walker.pedestrian.0001" mass="80" name="walker.pedestrian.0001" pedestrianCategory="pedestrian"> <ParameterDeclarations/> <BoundingBox> <Center x="1.5" y="0.0" z="0.9"/> <Dimensions width="2" length="2" height="2"/> </BoundingBox> <Properties> <Property name="type" value="simulation"/> </Properties> </Pedestrian> </ScenarioObject> <ScenarioObject name="pedestrian_close_to_standing_24193"> <Pedestrian model="walker.pedestrian.0001" mass="80" name="walker.pedestrian.0001" pedestrianCategory="pedestrian"> <ParameterDeclarations/> <BoundingBox> <Center x="1.5" y="0.0" z="0.9"/> <Dimensions width="2" length="2" height="2"/> </BoundingBox> <Properties> <Property name="type" value="simulation"/> </Properties> </Pedestrian> </ScenarioObject> <ScenarioObject name="pedestrian_close_to_standing_24194"> <Pedestrian model="walker.pedestrian.0001" mass="80" name="walker.pedestrian.0001" pedestrianCategory="pedestrian"> <ParameterDeclarations/> <BoundingBox> <Center x="1.5" y="0.0" z="0.9"/> <Dimensions width="2" length="2" height="2"/> </BoundingBox> <Properties> <Property name="type" value="simulation"/> </Properties> </Pedestrian> </ScenarioObject> <ScenarioObject name="pedestrian_close_to_standing_24196"> <Pedestrian model="walker.pedestrian.0001" mass="80" name="walker.pedestrian.0001" pedestrianCategory="pedestrian"> <ParameterDeclarations/> <BoundingBox> <Center x="1.5" y="0.0" z="0.9"/> <Dimensions width="2" length="2" height="2"/> </BoundingBox> <Properties> <Property name="type" value="simulation"/> </Properties> </Pedestrian> </ScenarioObject> <ScenarioObject name="pedestrian_close_to_hero_24197"> <Pedestrian model="walker.pedestrian.0001" mass="80" name="walker.pedestrian.0001" pedestrianCategory="pedestrian"> <ParameterDeclarations/> <BoundingBox> <Center x="1.5" y="0.0" z="0.9"/> <Dimensions width="2" length="2" height="2"/> </BoundingBox> <Properties> <Property name="type" value="simulation"/> </Properties> </Pedestrian> </ScenarioObject> <ScenarioObject name="pedestrian_w_transform_24199"> <Pedestrian model="walker.pedestrian.0001" mass="80" name="walker.pedestrian.0001" pedestrianCategory="pedestrian"> <ParameterDeclarations/> <BoundingBox> <Center x="1.5" y="0.0" z="0.9"/> <Dimensions width="2" length="2" height="2"/> </BoundingBox> <Properties> <Property name="type" value="simulation"/> </Properties> </Pedestrian> </ScenarioObject> <ScenarioObject name="pedestrian_w_transform_24200"> <Pedestrian model="walker.pedestrian.0001" mass="80" name="walker.pedestrian.0001" pedestrianCategory="pedestrian"> <ParameterDeclarations/> <BoundingBox> <Center x="1.5" y="0.0" z="0.9"/> <Dimensions width="2" length="2" height="2"/> </BoundingBox> <Properties> <Property name="type" value="simulation"/> </Properties> </Pedestrian> </ScenarioObject> <ScenarioObject name="pedestrian_close_to_standing_24201"> <Pedestrian model="walker.pedestrian.0001" mass="80" name="walker.pedestrian.0001" pedestrianCategory="pedestrian"> <ParameterDeclarations/> <BoundingBox> <Center x="1.5" y="0.0" z="0.9"/> <Dimensions width="2" length="2" height="2"/> </BoundingBox> <Properties> <Property name="type" value="simulation"/> </Properties> </Pedestrian> </ScenarioObject> <ScenarioObject name="pedestrian_close_to_adversary_24209"> <Pedestrian model="walker.pedestrian.0001" mass="80" name="walker.pedestrian.0001" pedestrianCategory="pedestrian"> <ParameterDeclarations/> <BoundingBox> <Center x="1.5" y="0.0" z="0.9"/> <Dimensions width="2" length="2" height="2"/> </BoundingBox> <Properties> <Property name="type" value="simulation"/> </Properties> </Pedestrian> </ScenarioObject> <ScenarioObject name="pedestrian_w_transform_24210"> <Pedestrian model="walker.pedestrian.0001" mass="80" name="walker.pedestrian.0001" pedestrianCategory="pedestrian"> <ParameterDeclarations/> <BoundingBox> <Center x="1.5" y="0.0" z="0.9"/> <Dimensions width="2" length="2" height="2"/> </BoundingBox> <Properties> <Property name="type" value="simulation"/> </Properties> </Pedestrian> </ScenarioObject> <ScenarioObject name="pedestrian_close_to_standing_24212"> <Pedestrian model="walker.pedestrian.0001" mass="80" name="walker.pedestrian.0001" pedestrianCategory="pedestrian"> <ParameterDeclarations/> <BoundingBox> <Center x="1.5" y="0.0" z="0.9"/> <Dimensions width="2" length="2" height="2"/> </BoundingBox> <Properties> <Property name="type" value="simulation"/> </Properties> </Pedestrian> </ScenarioObject> </Entities> <Storyboard> <Init> <Actions> <GlobalAction> <EnvironmentAction> <Environment name="Environment1"> <TimeOfDay animation="false" dateTime="2019-06-25T12:00:00"/> <Weather cloudState="free"> <Sun intensity="0.85" azimuth="0" elevation="1.31"/> <Fog visualRange="100000.0"/> <Precipitation precipitationType="dry" intensity="0.0"/> </Weather> <RoadCondition frictionScaleFactor="1.0"/> </Environment> </EnvironmentAction> </GlobalAction> <Private entityRef="hero"> <PrivateAction> <TeleportAction> <Position> <WorldPosition x="-9.4" y="-152.8" z="0.5" h="1.57079632679"/> </Position> </TeleportAction> </PrivateAction> <PrivateAction> <ControllerAction> <AssignControllerAction> <Controller name="HeroAgent"> <Properties> <Property name="module" value="external_control"/> </Properties> </Controller> </AssignControllerAction> <OverrideControllerValueAction> <Throttle value="0" active="false"/> <Brake value="0" active="false"/> <Clutch value="0" active="false"/> <ParkingBrake value="0" active="false"/> <SteeringWheel value="0" active="false"/> <Gear number="0" active="false"/> </OverrideControllerValueAction> </ControllerAction> </PrivateAction> </Private> <Private entityRef="adversary"> <PrivateAction> <TeleportAction> <Position> <WorldPosition x="-9.4" y="-71.0" z="0.5" h="1.57079632679"/> </Position> </TeleportAction> </PrivateAction> </Private> <Private entityRef="standing"> <PrivateAction> <TeleportAction> <Position> <WorldPosition x="-8.2" y="29.2" z="0.5" h="1.57079632679"/> </Position> </TeleportAction> </PrivateAction> </Private> <Private entityRef="pedestrian_close_to_adversary_24185"> <PrivateAction> <TeleportAction> <Position> <WorldPosition x="-10.560993194580078" y="-62.728179931640625" z="0.033781927078962326"/> </Position> </TeleportAction> </PrivateAction> </Private> <Private entityRef="pedestrian_close_to_hero_24186"> <PrivateAction> <TeleportAction> <Position> <WorldPosition x="-11.610087394714355" y="-146.36790466308594" z="0.0014286803780123591"/> </Position> </TeleportAction> </PrivateAction> </Private> <Private entityRef="pedestrian_close_to_adversary_24188"> <PrivateAction> <TeleportAction> <Position> <WorldPosition x="-14.85006332397461" y="-67.88158416748047" z="0.033806074410676956"/> </Position> </TeleportAction> </PrivateAction> </Private> <Private entityRef="pedestrian_w_transform_24189"> <PrivateAction> <TeleportAction> <Position> <WorldPosition x="-50.790958404541016" y="84.00233459472656" z="0.5"/> </Position> </TeleportAction> </PrivateAction> </Private> <Private entityRef="pedestrian_close_to_standing_24190"> <PrivateAction> <TeleportAction> <Position> <WorldPosition x="-1.4662566184997559" y="27.782398223876953" z="0.0030994415283203125"/> </Position> </TeleportAction> </PrivateAction> </Private> <Private entityRef="pedestrian_w_transform_24191"> <PrivateAction> <TeleportAction> <Position> <WorldPosition x="-47.031280517578125" y="9.922812461853027" z="0.5"/> </Position> </TeleportAction> </PrivateAction> </Private> <Private entityRef="pedestrian_close_to_adversary_24192"> <PrivateAction> <TeleportAction> <Position> <WorldPosition x="-3.0834364891052246" y="-67.65869140625" z="0.033884428441524506"/> </Position> </TeleportAction> </PrivateAction> </Private> <Private entityRef="pedestrian_close_to_standing_24193"> <PrivateAction> <TeleportAction> <Position> <WorldPosition x="-4.877396583557129" y="24.38824462890625" z="0.00314128864556551"/> </Position> </TeleportAction> </PrivateAction> </Private> <Private entityRef="pedestrian_close_to_standing_24194"> <PrivateAction> <TeleportAction> <Position> <WorldPosition x="-9.709589958190918" y="21.6795654296875" z="0.003075675806030631"/> </Position> </TeleportAction> </PrivateAction> </Private> <Private entityRef="pedestrian_close_to_standing_24196"> <PrivateAction> <TeleportAction> <Position> <WorldPosition x="8.941744804382324" y="28.498353958129883" z="0.0030638885218650103"/> </Position> </TeleportAction> </PrivateAction> </Private> <Private entityRef="pedestrian_close_to_hero_24197"> <PrivateAction> <TeleportAction> <Position> <WorldPosition x="-13.710565567016602" y="-153.67230224609375" z="0.0014286803780123591"/> </Position> </TeleportAction> </PrivateAction> </Private> <Private entityRef="pedestrian_w_transform_24199"> <PrivateAction> <TeleportAction> <Position> <WorldPosition x="-49.23777389526367" y="44.15409851074219" z="0.5"/> </Position> </TeleportAction> </PrivateAction> </Private> <Private entityRef="pedestrian_w_transform_24200"> <PrivateAction> <TeleportAction> <Position> <WorldPosition x="-72.4874038696289" y="89.18682098388672" z="0.5"/> </Position> </TeleportAction> </PrivateAction> </Private> <Private entityRef="pedestrian_close_to_standing_24201"> <PrivateAction> <TeleportAction> <Position> <WorldPosition x="-17.75783348083496" y="31.340126037597656" z="0.0030369567684829235"/> </Position> </TeleportAction> </PrivateAction> </Private> <Private entityRef="pedestrian_close_to_adversary_24209"> <PrivateAction> <TeleportAction> <Position> <WorldPosition x="-2.923027992248535" y="-80.6715316772461" z="0.033749695867300034"/> </Position> </TeleportAction> </PrivateAction> </Private> <Private entityRef="pedestrian_w_transform_24210"> <PrivateAction> <TeleportAction> <Position> <WorldPosition x="37.23927688598633" y="-4.15893030166626" z="0.5"/> </Position> </TeleportAction> </PrivateAction> </Private> <Private entityRef="pedestrian_close_to_standing_24212"> <PrivateAction> <TeleportAction> <Position> <WorldPosition x="-16.17414093017578" y="35.70747375488281" z="0.003058051923289895"/> </Position> </TeleportAction> </PrivateAction> </Private> </Actions> </Init> <Story name="MyStory"> <Act name="Behavior"> <ManeuverGroup maximumExecutionCount="1" name="ManeuverSequence"> <Actors selectTriggeringEntities="false"> <EntityRef entityRef="adversary"/> </Actors> <Maneuver name="LaneChangeSimpleManeuver"> <Event name="AdversaryAccelerates" priority="overwrite"> <Action name="AdversaryAccelerates"> <PrivateAction> <LongitudinalAction> <SpeedAction> <SpeedActionDynamics dynamicsShape="step" value="50" dynamicsDimension="distance"/> <SpeedActionTarget> <AbsoluteTargetSpeed value="5.0"/> </SpeedActionTarget> </SpeedAction> </LongitudinalAction> </PrivateAction> </Action> <StartTrigger> <ConditionGroup> <Condition name="StartCondition" delay="0" conditionEdge="rising"> <ByEntityCondition> <TriggeringEntities triggeringEntitiesRule="any"> <EntityRef entityRef="hero"/> </TriggeringEntities> <EntityCondition> <RelativeDistanceCondition entityRef="adversary" relativeDistanceType="cartesianDistance" value="40.0" freespace="false" rule="lessThan"/> </EntityCondition> </ByEntityCondition> </Condition> </ConditionGroup> </StartTrigger> </Event> <Event name="AdversaryChangesLane" priority="overwrite"> <Action name="AdversaryChangesLane"> <PrivateAction> <LateralAction> <LaneChangeAction> <LaneChangeActionDynamics dynamicsShape="linear" value="25" dynamicsDimension="distance"/> <LaneChangeTarget> <RelativeTargetLane entityRef="adversary" value="-1"/> </LaneChangeTarget> </LaneChangeAction> </LateralAction> </PrivateAction> </Action> <StartTrigger> <ConditionGroup> <Condition name="AfterAdversaryAccelerates" delay="0" conditionEdge="rising"> <ByValueCondition> <StoryboardElementStateCondition storyboardElementType="action" storyboardElementRef="AdversaryAccelerates" state="completeState"/> </ByValueCondition> </Condition> </ConditionGroup> </StartTrigger> </Event> </Maneuver> </ManeuverGroup> <StartTrigger> <ConditionGroup> <Condition name="OverallStartCondition" delay="0" conditionEdge="rising"> <ByEntityCondition> <TriggeringEntities triggeringEntitiesRule="any"> <EntityRef entityRef="hero"/> </TriggeringEntities> <EntityCondition> <TraveledDistanceCondition value="1.0"/> </EntityCondition> </ByEntityCondition> </Condition> <Condition name="StartTime" delay="0" conditionEdge="rising"> <ByValueCondition> <SimulationTimeCondition value="0" rule="equalTo"/> </ByValueCondition> </Condition> </ConditionGroup> </StartTrigger> <StopTrigger> <ConditionGroup> <Condition name="EndCondition" delay="0" conditionEdge="rising"> <ByEntityCondition> <TriggeringEntities triggeringEntitiesRule="any"> <EntityRef entityRef="hero"/> </TriggeringEntities> <EntityCondition> <TraveledDistanceCondition value="200.0"/> </EntityCondition> </ByEntityCondition> </Condition> </ConditionGroup> </StopTrigger> </Act> </Story> <StopTrigger> <ConditionGroup> <Condition name="criteria_RunningStopTest" delay="0" conditionEdge="rising"> <ByValueCondition> <ParameterCondition parameterRef="" value="" rule="lessThan"/> </ByValueCondition> </Condition> <Condition name="criteria_RunningRedLightTest" delay="0" conditionEdge="rising"> <ByValueCondition> <ParameterCondition parameterRef="" value="" rule="lessThan"/> </ByValueCondition> </Condition> <Condition name="criteria_WrongLaneTest" delay="0" conditionEdge="rising"> <ByValueCondition> <ParameterCondition parameterRef="" value="" rule="lessThan"/> </ByValueCondition> </Condition> <Condition name="criteria_OnSidewalkTest" delay="0" conditionEdge="rising"> <ByValueCondition> <ParameterCondition parameterRef="" value="" rule="lessThan"/> </ByValueCondition> </Condition> <Condition name="criteria_KeepLaneTest" delay="0" conditionEdge="rising"> <ByValueCondition> <ParameterCondition parameterRef="" value="" rule="lessThan"/> </ByValueCondition> </Condition> <Condition name="criteria_CollisionTest" delay="0" conditionEdge="rising"> <ByValueCondition> <ParameterCondition parameterRef="" value="" rule="lessThan"/> </ByValueCondition> </Condition> <Condition name="criteria_DrivenDistanceTest" delay="0" conditionEdge="rising"> <ByValueCondition> <ParameterCondition parameterRef="distance_success" value="100" rule="lessThan"/> </ByValueCondition> </Condition> </ConditionGroup> </StopTrigger> </Storyboard> </OpenSCENARIO> ```
i would like you to remove pedestrian actor named pedestrian_w_transform_5090? ``` <?xml version="1.0" ?> <OpenSCENARIO> <FileHeader revMajor="1" revMinor="0" date="2020-03-24T12:00:00" description="CARLA:LaneChangeSimple" author=""/> <ParameterDeclarations/> <CatalogLocations/> <RoadNetwork> <LogicFile filepath="Town04"/> <SceneGraphFile filepath=""/> </RoadNetwork> <Entities> <ScenarioObject name="hero"> <Vehicle name="vehicle.tesla.model3" vehicleCategory="car"> <ParameterDeclarations/> <Performance maxSpeed="69.444" maxAcceleration="200" maxDeceleration="10.0"/> <BoundingBox> <Center x="1.5" y="0.0" z="0.9"/> <Dimensions width="2.1" length="4.5" height="1.8"/> </BoundingBox> <Axles> <FrontAxle maxSteering="0.5" wheelDiameter="0.6" trackWidth="1.8" positionX="3.1" positionZ="0.3"/> <RearAxle maxSteering="0.0" wheelDiameter="0.6" trackWidth="1.8" positionX="0.0" positionZ="0.3"/> </Axles> <Properties> <Property name="type" value="ego_vehicle"/> </Properties> </Vehicle> </ScenarioObject> <ScenarioObject name="adversary"> <Vehicle name="vehicle.lincoln.mkz_2017" vehicleCategory="car"> <ParameterDeclarations/> <Performance maxSpeed="69.444" maxAcceleration="200" maxDeceleration="10.0"/> <BoundingBox> <Center x="1.5" y="0.0" z="0.9"/> <Dimensions width="2.1" length="4.5" height="1.8"/> </BoundingBox> <Axles> <FrontAxle maxSteering="0.5" wheelDiameter="0.6" trackWidth="1.8" positionX="3.1" positionZ="0.3"/> <RearAxle maxSteering="0.0" wheelDiameter="0.6" trackWidth="1.8" positionX="0.0" positionZ="0.3"/> </Axles> <Properties> <Property name="type" value="simulation"/> </Properties> </Vehicle> </ScenarioObject> <ScenarioObject name="standing"> <Vehicle name="vehicle.volkswagen.t2" vehicleCategory="car"> <ParameterDeclarations/> <Performance maxSpeed="69.444" maxAcceleration="200" maxDeceleration="10.0"/> <BoundingBox> <Center x="1.5" y="0.0" z="0.9"/> <Dimensions width="2.1" length="4.5" height="1.8"/> </BoundingBox> <Axles> <FrontAxle maxSteering="0.5" wheelDiameter="0.6" trackWidth="1.8" positionX="3.1" positionZ="0.3"/> <RearAxle maxSteering="0.0" wheelDiameter="0.6" trackWidth="1.8" positionX="0.0" positionZ="0.3"/> </Axles> <Properties> <Property name="type" value="simulation"/> </Properties> </Vehicle> </ScenarioObject> <ScenarioObject name="pedestrian_close_to_adversary_5086"> <Pedestrian model="walker.pedestrian.0001" mass="80" name="walker.pedestrian.0001" pedestrianCategory="pedestrian"> <ParameterDeclarations/> <BoundingBox> <Center x="1.5" y="0.0" z="0.9"/> <Dimensions width="2" length="2" height="2"/> </BoundingBox> <Properties> <Property name="type" value="simulation"/> </Properties> </Pedestrian> </ScenarioObject> <ScenarioObject name="pedestrian_w_transform_5087"> <Pedestrian model="walker.pedestrian.0001" mass="80" name="walker.pedestrian.0001" pedestrianCategory="pedestrian"> <ParameterDeclarations/> <BoundingBox> <Center x="1.5" y="0.0" z="0.9"/> <Dimensions width="2" length="2" height="2"/> </BoundingBox> <Properties> <Property name="type" value="simulation"/> </Properties> </Pedestrian> </ScenarioObject> <ScenarioObject name="pedestrian_close_to_adversary_5089"> <Pedestrian model="walker.pedestrian.0001" mass="80" name="walker.pedestrian.0001" pedestrianCategory="pedestrian"> <ParameterDeclarations/> <BoundingBox> <Center x="1.5" y="0.0" z="0.9"/> <Dimensions width="2" length="2" height="2"/> </BoundingBox> <Properties> <Property name="type" value="simulation"/> </Properties> </Pedestrian> </ScenarioObject> <ScenarioObject name="pedestrian_w_transform_5090"> <Pedestrian model="walker.pedestrian.0001" mass="80" name="walker.pedestrian.0001" pedestrianCategory="pedestrian"> <ParameterDeclarations/> <BoundingBox> <Center x="1.5" y="0.0" z="0.9"/> <Dimensions width="2" length="2" height="2"/> </BoundingBox> <Properties> <Property name="type" value="simulation"/> </Properties> </Pedestrian> </ScenarioObject> <ScenarioObject name="pedestrian_close_to_hero_5091"> <Pedestrian model="walker.pedestrian.0001" mass="80" name="walker.pedestrian.0001" pedestrianCategory="pedestrian"> <ParameterDeclarations/> <BoundingBox> <Center x="1.5" y="0.0" z="0.9"/> <Dimensions width="2" length="2" height="2"/> </BoundingBox> <Properties> <Property name="type" value="simulation"/> </Properties> </Pedestrian> </ScenarioObject> <ScenarioObject name="pedestrian_close_to_hero_5092"> <Pedestrian model="walker.pedestrian.0001" mass="80" name="walker.pedestrian.0001" pedestrianCategory="pedestrian"> <ParameterDeclarations/> <BoundingBox> <Center x="1.5" y="0.0" z="0.9"/> <Dimensions width="2" length="2" height="2"/> </BoundingBox> <Properties> <Property name="type" value="simulation"/> </Properties> </Pedestrian> </ScenarioObject> <ScenarioObject name="pedestrian_close_to_standing_5093"> <Pedestrian model="walker.pedestrian.0001" mass="80" name="walker.pedestrian.0001" pedestrianCategory="pedestrian"> <ParameterDeclarations/> <BoundingBox> <Center x="1.5" y="0.0" z="0.9"/> <Dimensions width="2" length="2" height="2"/> </BoundingBox> <Properties> <Property name="type" value="simulation"/> </Properties> </Pedestrian> </ScenarioObject> <ScenarioObject name="pedestrian_close_to_adversary_5094"> <Pedestrian model="walker.pedestrian.0001" mass="80" name="walker.pedestrian.0001" pedestrianCategory="pedestrian"> <ParameterDeclarations/> <BoundingBox> <Center x="1.5" y="0.0" z="0.9"/> <Dimensions width="2" length="2" height="2"/> </BoundingBox> <Properties> <Property name="type" value="simulation"/> </Properties> </Pedestrian> </ScenarioObject> <ScenarioObject name="pedestrian_close_to_adversary_5095"> <Pedestrian model="walker.pedestrian.0001" mass="80" name="walker.pedestrian.0001" pedestrianCategory="pedestrian"> <ParameterDeclarations/> <BoundingBox> <Center x="1.5" y="0.0" z="0.9"/> <Dimensions width="2" length="2" height="2"/> </BoundingBox> <Properties> <Property name="type" value="simulation"/> </Properties> </Pedestrian> </ScenarioObject> <ScenarioObject name="pedestrian_w_transform_5103"> <Pedestrian model="walker.pedestrian.0001" mass="80" name="walker.pedestrian.0001" pedestrianCategory="pedestrian"> <ParameterDeclarations/> <BoundingBox> <Center x="1.5" y="0.0" z="0.9"/> <Dimensions width="2" length="2" height="2"/> </BoundingBox> <Properties> <Property name="type" value="simulation"/> </Properties> </Pedestrian> </ScenarioObject> <ScenarioObject name="pedestrian_w_transform_5105"> <Pedestrian model="walker.pedestrian.0001" mass="80" name="walker.pedestrian.0001" pedestrianCategory="pedestrian"> <ParameterDeclarations/> <BoundingBox> <Center x="1.5" y="0.0" z="0.9"/> <Dimensions width="2" length="2" height="2"/> </BoundingBox> <Properties> <Property name="type" value="simulation"/> </Properties> </Pedestrian> </ScenarioObject> <ScenarioObject name="pedestrian_close_to_adversary_5106"> <Pedestrian model="walker.pedestrian.0001" mass="80" name="walker.pedestrian.0001" pedestrianCategory="pedestrian"> <ParameterDeclarations/> <BoundingBox> <Center x="1.5" y="0.0" z="0.9"/> <Dimensions width="2" length="2" height="2"/> </BoundingBox> <Properties> <Property name="type" value="simulation"/> </Properties> </Pedestrian> </ScenarioObject> <ScenarioObject name="pedestrian_close_to_adversary_5107"> <Pedestrian model="walker.pedestrian.0001" mass="80" name="walker.pedestrian.0001" pedestrianCategory="pedestrian"> <ParameterDeclarations/> <BoundingBox> <Center x="1.5" y="0.0" z="0.9"/> <Dimensions width="2" length="2" height="2"/> </BoundingBox> <Properties> <Property name="type" value="simulation"/> </Properties> </Pedestrian> </ScenarioObject> <ScenarioObject name="pedestrian_w_transform_5108"> <Pedestrian model="walker.pedestrian.0001" mass="80" name="walker.pedestrian.0001" pedestrianCategory="pedestrian"> <ParameterDeclarations/> <BoundingBox> <Center x="1.5" y="0.0" z="0.9"/> <Dimensions width="2" length="2" height="2"/> </BoundingBox> <Properties> <Property name="type" value="simulation"/> </Properties> </Pedestrian> </ScenarioObject> <ScenarioObject name="pedestrian_close_to_adversary_5109"> <Pedestrian model="walker.pedestrian.0001" mass="80" name="walker.pedestrian.0001" pedestrianCategory="pedestrian"> <ParameterDeclarations/> <BoundingBox> <Center x="1.5" y="0.0" z="0.9"/> <Dimensions width="2" length="2" height="2"/> </BoundingBox> <Properties> <Property name="type" value="simulation"/> </Properties> </Pedestrian> </ScenarioObject> <ScenarioObject name="pedestrian_w_transform_5110"> <Pedestrian model="walker.pedestrian.0001" mass="80" name="walker.pedestrian.0001" pedestrianCategory="pedestrian"> <ParameterDeclarations/> <BoundingBox> <Center x="1.5" y="0.0" z="0.9"/> <Dimensions width="2" length="2" height="2"/> </BoundingBox> <Properties> <Property name="type" value="simulation"/> </Properties> </Pedestrian> </ScenarioObject> </Entities> <Storyboard> <Init> <Actions> <GlobalAction> <EnvironmentAction> <Environment name="Environment1"> <TimeOfDay animation="false" dateTime="2019-06-25T12:00:00"/> <Weather cloudState="free"> <Sun intensity="0.85" azimuth="0" elevation="1.31"/> <Fog visualRange="100000.0"/> <Precipitation precipitationType="dry" intensity="0.0"/> </Weather> <RoadCondition frictionScaleFactor="1.0"/> </Environment> </EnvironmentAction> </GlobalAction> <Private entityRef="hero"> <PrivateAction> <TeleportAction> <Position> <WorldPosition x="-9.4" y="-152.8" z="0.5" h="1.57079632679"/> </Position> </TeleportAction> </PrivateAction> <PrivateAction> <ControllerAction> <AssignControllerAction> <Controller name="HeroAgent"> <Properties> <Property name="module" value="external_control"/> </Properties> </Controller> </AssignControllerAction> <OverrideControllerValueAction> <Throttle value="0" active="false"/> <Brake value="0" active="false"/> <Clutch value="0" active="false"/> <ParkingBrake value="0" active="false"/> <SteeringWheel value="0" active="false"/> <Gear number="0" active="false"/> </OverrideControllerValueAction> </ControllerAction> </PrivateAction> </Private> <Private entityRef="adversary"> <PrivateAction> <TeleportAction> <Position> <WorldPosition x="-9.4" y="-71.0" z="0.5" h="1.57079632679"/> </Position> </TeleportAction> </PrivateAction> </Private> <Private entityRef="standing"> <PrivateAction> <TeleportAction> <Position> <WorldPosition x="-8.2" y="29.2" z="0.5" h="1.57079632679"/> </Position> </TeleportAction> </PrivateAction> </Private> <Private entityRef="pedestrian_close_to_adversary_5086"> <PrivateAction> <TeleportAction> <Position> <WorldPosition x="-5.3147292137146" y="-67.62519836425781" z="0.03384551778435707"/> </Position> </TeleportAction> </PrivateAction> </Private> <Private entityRef="pedestrian_w_transform_5087"> <PrivateAction> <TeleportAction> <Position> <WorldPosition x="-36.9229850769043" y="-35.85542678833008" z="0.5"/> </Position> </TeleportAction> </PrivateAction> </Private> <Private entityRef="pedestrian_close_to_adversary_5089"> <PrivateAction> <TeleportAction> <Position> <WorldPosition x="-17.821996688842773" y="-74.48516845703125" z="0.033828314393758774"/> </Position> </TeleportAction> </PrivateAction> </Private> <Private entityRef="pedestrian_w_transform_5090"> <PrivateAction> <TeleportAction> <Position> <WorldPosition x="73.5237808227539" y="93.22708129882812" z="0.5"/> </Position> </TeleportAction> </PrivateAction> </Private> <Private entityRef="pedestrian_close_to_hero_5091"> <PrivateAction> <TeleportAction> <Position> <WorldPosition x="-7.714563369750977" y="-141.3428497314453" z="0.0014286803780123591"/> </Position> </TeleportAction> </PrivateAction> </Private> <Private entityRef="pedestrian_close_to_hero_5092"> <PrivateAction> <TeleportAction> <Position> <WorldPosition x="-17.385032653808594" y="-146.9799346923828" z="0.0014286803780123591"/> </Position> </TeleportAction> </PrivateAction> </Private> <Private entityRef="pedestrian_close_to_standing_5093"> <PrivateAction> <TeleportAction> <Position> <WorldPosition x="-1.9524524211883545" y="38.44633483886719" z="0.003041839459910989"/> </Position> </TeleportAction> </PrivateAction> </Private> <Private entityRef="pedestrian_close_to_adversary_5094"> <PrivateAction> <TeleportAction> <Position> <WorldPosition x="-7.69589376449585" y="-75.11529541015625" z="0.03379096835851669"/> </Position> </TeleportAction> </PrivateAction> </Private> <Private entityRef="pedestrian_close_to_adversary_5095"> <PrivateAction> <TeleportAction> <Position> <WorldPosition x="-2.6918232440948486" y="-61.60104751586914" z="0.033791158348321915"/> </Position> </TeleportAction> </PrivateAction> </Private> <Private entityRef="pedestrian_w_transform_5103"> <PrivateAction> <TeleportAction> <Position> <WorldPosition x="-80.20048522949219" y="3.2041399478912354" z="0.5"/> </Position> </TeleportAction> </PrivateAction> </Private> <Private entityRef="pedestrian_w_transform_5105"> <PrivateAction> <TeleportAction> <Position> <WorldPosition x="74.42374420166016" y="-34.252384185791016" z="0.5"/> </Position> </TeleportAction> </PrivateAction> </Private> <Private entityRef="pedestrian_close_to_adversary_5106"> <PrivateAction> <TeleportAction> <Position> <WorldPosition x="-5.597466468811035" y="-62.59888458251953" z="0.03382473066449165"/> </Position> </TeleportAction> </PrivateAction> </Private> <Private entityRef="pedestrian_close_to_adversary_5107"> <PrivateAction> <TeleportAction> <Position> <WorldPosition x="-7.7608866691589355" y="-77.76605224609375" z="0.03380699083209038"/> </Position> </TeleportAction> </PrivateAction> </Private> <Private entityRef="pedestrian_w_transform_5108"> <PrivateAction> <TeleportAction> <Position> <WorldPosition x="87.89532470703125" y="4.239058017730713" z="0.5"/> </Position> </TeleportAction> </PrivateAction> </Private> <Private entityRef="pedestrian_close_to_adversary_5109"> <PrivateAction> <TeleportAction> <Position> <WorldPosition x="-13.565789222717285" y="-70.12448120117188" z="0.03383449465036392"/> </Position> </TeleportAction> </PrivateAction> </Private> <Private entityRef="pedestrian_w_transform_5110"> <PrivateAction> <TeleportAction> <Position> <WorldPosition x="-70.6624526977539" y="-73.39494323730469" z="0.5"/> </Position> </TeleportAction> </PrivateAction> </Private> </Actions> </Init> <Story name="MyStory"> <Act name="Behavior"> <ManeuverGroup maximumExecutionCount="1" name="ManeuverSequence"> <Actors selectTriggeringEntities="false"> <EntityRef entityRef="adversary"/> </Actors> <Maneuver name="LaneChangeSimpleManeuver"> <Event name="AdversaryAccelerates" priority="overwrite"> <Action name="AdversaryAccelerates"> <PrivateAction> <LongitudinalAction> <SpeedAction> <SpeedActionDynamics dynamicsShape="step" value="50" dynamicsDimension="distance"/> <SpeedActionTarget> <AbsoluteTargetSpeed value="5.0"/> </SpeedActionTarget> </SpeedAction> </LongitudinalAction> </PrivateAction> </Action> <StartTrigger> <ConditionGroup> <Condition name="StartCondition" delay="0" conditionEdge="rising"> <ByEntityCondition> <TriggeringEntities triggeringEntitiesRule="any"> <EntityRef entityRef="hero"/> </TriggeringEntities> <EntityCondition> <RelativeDistanceCondition entityRef="adversary" relativeDistanceType="cartesianDistance" value="40.0" freespace="false" rule="lessThan"/> </EntityCondition> </ByEntityCondition> </Condition> </ConditionGroup> </StartTrigger> </Event> <Event name="AdversaryChangesLane" priority="overwrite"> <Action name="AdversaryChangesLane"> <PrivateAction> <LateralAction> <LaneChangeAction> <LaneChangeActionDynamics dynamicsShape="linear" value="25" dynamicsDimension="distance"/> <LaneChangeTarget> <RelativeTargetLane entityRef="adversary" value="-1"/> </LaneChangeTarget> </LaneChangeAction> </LateralAction> </PrivateAction> </Action> <StartTrigger> <ConditionGroup> <Condition name="AfterAdversaryAccelerates" delay="0" conditionEdge="rising"> <ByValueCondition> <StoryboardElementStateCondition storyboardElementType="action" storyboardElementRef="AdversaryAccelerates" state="completeState"/> </ByValueCondition> </Condition> </ConditionGroup> </StartTrigger> </Event> </Maneuver> </ManeuverGroup> <StartTrigger> <ConditionGroup> <Condition name="OverallStartCondition" delay="0" conditionEdge="rising"> <ByEntityCondition> <TriggeringEntities triggeringEntitiesRule="any"> <EntityRef entityRef="hero"/> </TriggeringEntities> <EntityCondition> <TraveledDistanceCondition value="1.0"/> </EntityCondition> </ByEntityCondition> </Condition> <Condition name="StartTime" delay="0" conditionEdge="rising"> <ByValueCondition> <SimulationTimeCondition value="0" rule="equalTo"/> </ByValueCondition> </Condition> </ConditionGroup> </StartTrigger> <StopTrigger> <ConditionGroup> <Condition name="EndCondition" delay="0" conditionEdge="rising"> <ByEntityCondition> <TriggeringEntities triggeringEntitiesRule="any"> <EntityRef entityRef="hero"/> </TriggeringEntities> <EntityCondition> <TraveledDistanceCondition value="200.0"/> </EntityCondition> </ByEntityCondition> </Condition> </ConditionGroup> </StopTrigger> </Act> </Story> <StopTrigger> <ConditionGroup> <Condition name="criteria_RunningStopTest" delay="0" conditionEdge="rising"> <ByValueCondition> <ParameterCondition parameterRef="" value="" rule="lessThan"/> </ByValueCondition> </Condition> <Condition name="criteria_RunningRedLightTest" delay="0" conditionEdge="rising"> <ByValueCondition> <ParameterCondition parameterRef="" value="" rule="lessThan"/> </ByValueCondition> </Condition> <Condition name="criteria_WrongLaneTest" delay="0" conditionEdge="rising"> <ByValueCondition> <ParameterCondition parameterRef="" value="" rule="lessThan"/> </ByValueCondition> </Condition> <Condition name="criteria_OnSidewalkTest" delay="0" conditionEdge="rising"> <ByValueCondition> <ParameterCondition parameterRef="" value="" rule="lessThan"/> </ByValueCondition> </Condition> <Condition name="criteria_KeepLaneTest" delay="0" conditionEdge="rising"> <ByValueCondition> <ParameterCondition parameterRef="" value="" rule="lessThan"/> </ByValueCondition> </Condition> <Condition name="criteria_CollisionTest" delay="0" conditionEdge="rising"> <ByValueCondition> <ParameterCondition parameterRef="" value="" rule="lessThan"/> </ByValueCondition> </Condition> <Condition name="criteria_DrivenDistanceTest" delay="0" conditionEdge="rising"> <ByValueCondition> <ParameterCondition parameterRef="distance_success" value="100" rule="lessThan"/> </ByValueCondition> </Condition> </ConditionGroup> </StopTrigger> </Storyboard> </OpenSCENARIO> ```
Here is the result: ``` <?xml version="1.0" ?> <OpenSCENARIO> <FileHeader revMajor="1" revMinor="0" date="2020-03-24T12:00:00" description="CARLA:LaneChangeSimple" author=""/> <ParameterDeclarations/> <CatalogLocations/> <RoadNetwork> <LogicFile filepath="Town04"/> <SceneGraphFile filepath=""/> </RoadNetwork> <Entities> <ScenarioObject name="hero"> <Vehicle name="vehicle.tesla.model3" vehicleCategory="car"> <ParameterDeclarations/> <Performance maxSpeed="69.444" maxAcceleration="200" maxDeceleration="10.0"/> <BoundingBox> <Center x="1.5" y="0.0" z="0.9"/> <Dimensions width="2.1" length="4.5" height="1.8"/> </BoundingBox> <Axles> <FrontAxle maxSteering="0.5" wheelDiameter="0.6" trackWidth="1.8" positionX="3.1" positionZ="0.3"/> <RearAxle maxSteering="0.0" wheelDiameter="0.6" trackWidth="1.8" positionX="0.0" positionZ="0.3"/> </Axles> <Properties> <Property name="type" value="ego_vehicle"/> </Properties> </Vehicle> </ScenarioObject> <ScenarioObject name="adversary"> <Vehicle name="vehicle.lincoln.mkz_2017" vehicleCategory="car"> <ParameterDeclarations/> <Performance maxSpeed="69.444" maxAcceleration="200" maxDeceleration="10.0"/> <BoundingBox> <Center x="1.5" y="0.0" z="0.9"/> <Dimensions width="2.1" length="4.5" height="1.8"/> </BoundingBox> <Axles> <FrontAxle maxSteering="0.5" wheelDiameter="0.6" trackWidth="1.8" positionX="3.1" positionZ="0.3"/> <RearAxle maxSteering="0.0" wheelDiameter="0.6" trackWidth="1.8" positionX="0.0" positionZ="0.3"/> </Axles> <Properties> <Property name="type" value="simulation"/> </Properties> </Vehicle> </ScenarioObject> <ScenarioObject name="standing"> <Vehicle name="vehicle.volkswagen.t2" vehicleCategory="car"> <ParameterDeclarations/> <Performance maxSpeed="69.444" maxAcceleration="200" maxDeceleration="10.0"/> <BoundingBox> <Center x="1.5" y="0.0" z="0.9"/> <Dimensions width="2.1" length="4.5" height="1.8"/> </BoundingBox> <Axles> <FrontAxle maxSteering="0.5" wheelDiameter="0.6" trackWidth="1.8" positionX="3.1" positionZ="0.3"/> <RearAxle maxSteering="0.0" wheelDiameter="0.6" trackWidth="1.8" positionX="0.0" positionZ="0.3"/> </Axles> <Properties> <Property name="type" value="simulation"/> </Properties> </Vehicle> </ScenarioObject> <ScenarioObject name="pedestrian_close_to_adversary_5086"> <Pedestrian model="walker.pedestrian.0001" mass="80" name="walker.pedestrian.0001" pedestrianCategory="pedestrian"> <ParameterDeclarations/> <BoundingBox> <Center x="1.5" y="0.0" z="0.9"/> <Dimensions width="2" length="2" height="2"/> </BoundingBox> <Properties> <Property name="type" value="simulation"/> </Properties> </Pedestrian> </ScenarioObject> <ScenarioObject name="pedestrian_w_transform_5087"> <Pedestrian model="walker.pedestrian.0001" mass="80" name="walker.pedestrian.0001" pedestrianCategory="pedestrian"> <ParameterDeclarations/> <BoundingBox> <Center x="1.5" y="0.0" z="0.9"/> <Dimensions width="2" length="2" height="2"/> </BoundingBox> <Properties> <Property name="type" value="simulation"/> </Properties> </Pedestrian> </ScenarioObject> <ScenarioObject name="pedestrian_close_to_adversary_5089"> <Pedestrian model="walker.pedestrian.0001" mass="80" name="walker.pedestrian.0001" pedestrianCategory="pedestrian"> <ParameterDeclarations/> <BoundingBox> <Center x="1.5" y="0.0" z="0.9"/> <Dimensions width="2" length="2" height="2"/> </BoundingBox> <Properties> <Property name="type" value="simulation"/> </Properties> </Pedestrian> </ScenarioObject> <ScenarioObject name="pedestrian_close_to_hero_5091"> <Pedestrian model="walker.pedestrian.0001" mass="80" name="walker.pedestrian.0001" pedestrianCategory="pedestrian"> <ParameterDeclarations/> <BoundingBox> <Center x="1.5" y="0.0" z="0.9"/> <Dimensions width="2" length="2" height="2"/> </BoundingBox> <Properties> <Property name="type" value="simulation"/> </Properties> </Pedestrian> </ScenarioObject> <ScenarioObject name="pedestrian_close_to_hero_5092"> <Pedestrian model="walker.pedestrian.0001" mass="80" name="walker.pedestrian.0001" pedestrianCategory="pedestrian"> <ParameterDeclarations/> <BoundingBox> <Center x="1.5" y="0.0" z="0.9"/> <Dimensions width="2" length="2" height="2"/> </BoundingBox> <Properties> <Property name="type" value="simulation"/> </Properties> </Pedestrian> </ScenarioObject> <ScenarioObject name="pedestrian_close_to_standing_5093"> <Pedestrian model="walker.pedestrian.0001" mass="80" name="walker.pedestrian.0001" pedestrianCategory="pedestrian"> <ParameterDeclarations/> <BoundingBox> <Center x="1.5" y="0.0" z="0.9"/> <Dimensions width="2" length="2" height="2"/> </BoundingBox> <Properties> <Property name="type" value="simulation"/> </Properties> </Pedestrian> </ScenarioObject> <ScenarioObject name="pedestrian_close_to_adversary_5094"> <Pedestrian model="walker.pedestrian.0001" mass="80" name="walker.pedestrian.0001" pedestrianCategory="pedestrian"> <ParameterDeclarations/> <BoundingBox> <Center x="1.5" y="0.0" z="0.9"/> <Dimensions width="2" length="2" height="2"/> </BoundingBox> <Properties> <Property name="type" value="simulation"/> </Properties> </Pedestrian> </ScenarioObject> <ScenarioObject name="pedestrian_close_to_adversary_5095"> <Pedestrian model="walker.pedestrian.0001" mass="80" name="walker.pedestrian.0001" pedestrianCategory="pedestrian"> <ParameterDeclarations/> <BoundingBox> <Center x="1.5" y="0.0" z="0.9"/> <Dimensions width="2" length="2" height="2"/> </BoundingBox> <Properties> <Property name="type" value="simulation"/> </Properties> </Pedestrian> </ScenarioObject> <ScenarioObject name="pedestrian_w_transform_5103"> <Pedestrian model="walker.pedestrian.0001" mass="80" name="walker.pedestrian.0001" pedestrianCategory="pedestrian"> <ParameterDeclarations/> <BoundingBox> <Center x="1.5" y="0.0" z="0.9"/> <Dimensions width="2" length="2" height="2"/> </BoundingBox> <Properties> <Property name="type" value="simulation"/> </Properties> </Pedestrian> </ScenarioObject> <ScenarioObject name="pedestrian_w_transform_5105"> <Pedestrian model="walker.pedestrian.0001" mass="80" name="walker.pedestrian.0001" pedestrianCategory="pedestrian"> <ParameterDeclarations/> <BoundingBox> <Center x="1.5" y="0.0" z="0.9"/> <Dimensions width="2" length="2" height="2"/> </BoundingBox> <Properties> <Property name="type" value="simulation"/> </Properties> </Pedestrian> </ScenarioObject> <ScenarioObject name="pedestrian_close_to_adversary_5106"> <Pedestrian model="walker.pedestrian.0001" mass="80" name="walker.pedestrian.0001" pedestrianCategory="pedestrian"> <ParameterDeclarations/> <BoundingBox> <Center x="1.5" y="0.0" z="0.9"/> <Dimensions width="2" length="2" height="2"/> </BoundingBox> <Properties> <Property name="type" value="simulation"/> </Properties> </Pedestrian> </ScenarioObject> <ScenarioObject name="pedestrian_close_to_adversary_5107"> <Pedestrian model="walker.pedestrian.0001" mass="80" name="walker.pedestrian.0001" pedestrianCategory="pedestrian"> <ParameterDeclarations/> <BoundingBox> <Center x="1.5" y="0.0" z="0.9"/> <Dimensions width="2" length="2" height="2"/> </BoundingBox> <Properties> <Property name="type" value="simulation"/> </Properties> </Pedestrian> </ScenarioObject> <ScenarioObject name="pedestrian_w_transform_5108"> <Pedestrian model="walker.pedestrian.0001" mass="80" name="walker.pedestrian.0001" pedestrianCategory="pedestrian"> <ParameterDeclarations/> <BoundingBox> <Center x="1.5" y="0.0" z="0.9"/> <Dimensions width="2" length="2" height="2"/> </BoundingBox> <Properties> <Property name="type" value="simulation"/> </Properties> </Pedestrian> </ScenarioObject> <ScenarioObject name="pedestrian_close_to_adversary_5109"> <Pedestrian model="walker.pedestrian.0001" mass="80" name="walker.pedestrian.0001" pedestrianCategory="pedestrian"> <ParameterDeclarations/> <BoundingBox> <Center x="1.5" y="0.0" z="0.9"/> <Dimensions width="2" length="2" height="2"/> </BoundingBox> <Properties> <Property name="type" value="simulation"/> </Properties> </Pedestrian> </ScenarioObject> <ScenarioObject name="pedestrian_w_transform_5110"> <Pedestrian model="walker.pedestrian.0001" mass="80" name="walker.pedestrian.0001" pedestrianCategory="pedestrian"> <ParameterDeclarations/> <BoundingBox> <Center x="1.5" y="0.0" z="0.9"/> <Dimensions width="2" length="2" height="2"/> </BoundingBox> <Properties> <Property name="type" value="simulation"/> </Properties> </Pedestrian> </ScenarioObject> </Entities> <Storyboard> <Init> <Actions> <GlobalAction> <EnvironmentAction> <Environment name="Environment1"> <TimeOfDay animation="false" dateTime="2019-06-25T12:00:00"/> <Weather cloudState="free"> <Sun intensity="0.85" azimuth="0" elevation="1.31"/> <Fog visualRange="100000.0"/> <Precipitation precipitationType="dry" intensity="0.0"/> </Weather> <RoadCondition frictionScaleFactor="1.0"/> </Environment> </EnvironmentAction> </GlobalAction> <Private entityRef="hero"> <PrivateAction> <TeleportAction> <Position> <WorldPosition x="-9.4" y="-152.8" z="0.5" h="1.57079632679"/> </Position> </TeleportAction> </PrivateAction> <PrivateAction> <ControllerAction> <AssignControllerAction> <Controller name="HeroAgent"> <Properties> <Property name="module" value="external_control"/> </Properties> </Controller> </AssignControllerAction> <OverrideControllerValueAction> <Throttle value="0" active="false"/> <Brake value="0" active="false"/> <Clutch value="0" active="false"/> <ParkingBrake value="0" active="false"/> <SteeringWheel value="0" active="false"/> <Gear number="0" active="false"/> </OverrideControllerValueAction> </ControllerAction> </PrivateAction> </Private> <Private entityRef="adversary"> <PrivateAction> <TeleportAction> <Position> <WorldPosition x="-9.4" y="-71.0" z="0.5" h="1.57079632679"/> </Position> </TeleportAction> </PrivateAction> </Private> <Private entityRef="standing"> <PrivateAction> <TeleportAction> <Position> <WorldPosition x="-8.2" y="29.2" z="0.5" h="1.57079632679"/> </Position> </TeleportAction> </PrivateAction> </Private> <Private entityRef="pedestrian_close_to_adversary_5086"> <PrivateAction> <TeleportAction> <Position> <WorldPosition x="-5.3147292137146" y="-67.62519836425781" z="0.03384551778435707"/> </Position> </TeleportAction> </PrivateAction> </Private> <Private entityRef="pedestrian_w_transform_5087"> <PrivateAction> <TeleportAction> <Position> <WorldPosition x="-36.9229850769043" y="-35.85542678833008" z="0.5"/> </Position> </TeleportAction> </PrivateAction> </Private> <Private entityRef="pedestrian_close_to_adversary_5089"> <PrivateAction> <TeleportAction> <Position> <WorldPosition x="-17.821996688842773" y="-74.48516845703125" z="0.033828314393758774"/> </Position> </TeleportAction> </PrivateAction> </Private> <Private entityRef="pedestrian_close_to_hero_5091"> <PrivateAction> <TeleportAction> <Position> <WorldPosition x="-7.714563369750977" y="-141.3428497314453" z="0.0014286803780123591"/> </Position> </TeleportAction> </PrivateAction> </Private> <Private entityRef="pedestrian_close_to_hero_5092"> <PrivateAction> <TeleportAction> <Position> <WorldPosition x="-17.385032653808594" y="-146.9799346923828" z="0.0014286803780123591"/> </Position> </TeleportAction> </PrivateAction> </Private> <Private entityRef="pedestrian_close_to_standing_5093"> <PrivateAction> <TeleportAction> <Position> <WorldPosition x="-1.9524524211883545" y="38.44633483886719" z="0.003041839459910989"/> </Position> </TeleportAction> </PrivateAction> </Private> <Private entityRef="pedestrian_close_to_adversary_5094"> <PrivateAction> <TeleportAction> <Position> <WorldPosition x="-7.69589376449585" y="-75.11529541015625" z="0.03379096835851669"/> </Position> </TeleportAction> </PrivateAction> </Private> <Private entityRef="pedestrian_close_to_adversary_5095"> <PrivateAction> <TeleportAction> <Position> <WorldPosition x="-2.6918232440948486" y="-61.60104751586914" z="0.033791158348321915"/> </Position> </TeleportAction> </PrivateAction> </Private> <Private entityRef="pedestrian_w_transform_5103"> <PrivateAction> <TeleportAction> <Position> <WorldPosition x="-80.20048522949219" y="3.2041399478912354" z="0.5"/> </Position> </TeleportAction> </PrivateAction> </Private> <Private entityRef="pedestrian_w_transform_5105"> <PrivateAction> <TeleportAction> <Position> <WorldPosition x="74.42374420166016" y="-34.252384185791016" z="0.5"/> </Position> </TeleportAction> </PrivateAction> </Private> <Private entityRef="pedestrian_close_to_adversary_5106"> <PrivateAction> <TeleportAction> <Position> <WorldPosition x="-5.597466468811035" y="-62.59888458251953" z="0.03382473066449165"/> </Position> </TeleportAction> </PrivateAction> </Private> <Private entityRef="pedestrian_close_to_adversary_5107"> <PrivateAction> <TeleportAction> <Position> <WorldPosition x="-7.7608866691589355" y="-77.76605224609375" z="0.03380699083209038"/> </Position> </TeleportAction> </PrivateAction> </Private> <Private entityRef="pedestrian_w_transform_5108"> <PrivateAction> <TeleportAction> <Position> <WorldPosition x="87.89532470703125" y="4.239058017730713" z="0.5"/> </Position> </TeleportAction> </PrivateAction> </Private> <Private entityRef="pedestrian_close_to_adversary_5109"> <PrivateAction> <TeleportAction> <Position> <WorldPosition x="-13.565789222717285" y="-70.12448120117188" z="0.03383449465036392"/> </Position> </TeleportAction> </PrivateAction> </Private> <Private entityRef="pedestrian_w_transform_5110"> <PrivateAction> <TeleportAction> <Position> <WorldPosition x="-70.6624526977539" y="-73.39494323730469" z="0.5"/> </Position> </TeleportAction> </PrivateAction> </Private> </Actions> </Init> <Story name="MyStory"> <Act name="Behavior"> <ManeuverGroup maximumExecutionCount="1" name="ManeuverSequence"> <Actors selectTriggeringEntities="false"> <EntityRef entityRef="adversary"/> </Actors> <Maneuver name="LaneChangeSimpleManeuver"> <Event name="AdversaryAccelerates" priority="overwrite"> <Action name="AdversaryAccelerates"> <PrivateAction> <LongitudinalAction> <SpeedAction> <SpeedActionDynamics dynamicsShape="step" value="50" dynamicsDimension="distance"/> <SpeedActionTarget> <AbsoluteTargetSpeed value="5.0"/> </SpeedActionTarget> </SpeedAction> </LongitudinalAction> </PrivateAction> </Action> <StartTrigger> <ConditionGroup> <Condition name="StartCondition" delay="0" conditionEdge="rising"> <ByEntityCondition> <TriggeringEntities triggeringEntitiesRule="any"> <EntityRef entityRef="hero"/> </TriggeringEntities> <EntityCondition> <RelativeDistanceCondition entityRef="adversary" relativeDistanceType="cartesianDistance" value="40.0" freespace="false" rule="lessThan"/> </EntityCondition> </ByEntityCondition> </Condition> </ConditionGroup> </StartTrigger> </Event> <Event name="AdversaryChangesLane" priority="overwrite"> <Action name="AdversaryChangesLane"> <PrivateAction> <LateralAction> <LaneChangeAction> <LaneChangeActionDynamics dynamicsShape="linear" value="25" dynamicsDimension="distance"/> <LaneChangeTarget> <RelativeTargetLane entityRef="adversary" value="-1"/> </LaneChangeTarget> </LaneChangeAction> </LateralAction> </PrivateAction> </Action> <StartTrigger> <ConditionGroup> <Condition name="AfterAdversaryAccelerates" delay="0" conditionEdge="rising"> <ByValueCondition> <StoryboardElementStateCondition storyboardElementType="action" storyboardElementRef="AdversaryAccelerates" state="completeState"/> </ByValueCondition> </Condition> </ConditionGroup> </StartTrigger> </Event> </Maneuver> </ManeuverGroup> <StartTrigger> <ConditionGroup> <Condition name="OverallStartCondition" delay="0" conditionEdge="rising"> <ByEntityCondition> <TriggeringEntities triggeringEntitiesRule="any"> <EntityRef entityRef="hero"/> </TriggeringEntities> <EntityCondition> <TraveledDistanceCondition value="1.0"/> </EntityCondition> </ByEntityCondition> </Condition> <Condition name="StartTime" delay="0" conditionEdge="rising"> <ByValueCondition> <SimulationTimeCondition value="0" rule="equalTo"/> </ByValueCondition> </Condition> </ConditionGroup> </StartTrigger> <StopTrigger> <ConditionGroup> <Condition name="EndCondition" delay="0" conditionEdge="rising"> <ByEntityCondition> <TriggeringEntities triggeringEntitiesRule="any"> <EntityRef entityRef="hero"/> </TriggeringEntities> <EntityCondition> <TraveledDistanceCondition value="200.0"/> </EntityCondition> </ByEntityCondition> </Condition> </ConditionGroup> </StopTrigger> </Act> </Story> <StopTrigger> <ConditionGroup> <Condition name="criteria_RunningStopTest" delay="0" conditionEdge="rising"> <ByValueCondition> <ParameterCondition parameterRef="" value="" rule="lessThan"/> </ByValueCondition> </Condition> <Condition name="criteria_RunningRedLightTest" delay="0" conditionEdge="rising"> <ByValueCondition> <ParameterCondition parameterRef="" value="" rule="lessThan"/> </ByValueCondition> </Condition> <Condition name="criteria_WrongLaneTest" delay="0" conditionEdge="rising"> <ByValueCondition> <ParameterCondition parameterRef="" value="" rule="lessThan"/> </ByValueCondition> </Condition> <Condition name="criteria_OnSidewalkTest" delay="0" conditionEdge="rising"> <ByValueCondition> <ParameterCondition parameterRef="" value="" rule="lessThan"/> </ByValueCondition> </Condition> <Condition name="criteria_KeepLaneTest" delay="0" conditionEdge="rising"> <ByValueCondition> <ParameterCondition parameterRef="" value="" rule="lessThan"/> </ByValueCondition> </Condition> <Condition name="criteria_CollisionTest" delay="0" conditionEdge="rising"> <ByValueCondition> <ParameterCondition parameterRef="" value="" rule="lessThan"/> </ByValueCondition> </Condition> <Condition name="criteria_DrivenDistanceTest" delay="0" conditionEdge="rising"> <ByValueCondition> <ParameterCondition parameterRef="distance_success" value="100" rule="lessThan"/> </ByValueCondition> </Condition> </ConditionGroup> </StopTrigger> </Storyboard> </OpenSCENARIO> ```
i would like to tell you to add pedestrian close to adversary? ``` <?xml version="1.0" ?> <OpenSCENARIO> <FileHeader revMajor="1" revMinor="0" date="2020-03-24T12:00:00" description="CARLA:LaneChangeSimple" author=""/> <ParameterDeclarations/> <CatalogLocations/> <RoadNetwork> <LogicFile filepath="Town04"/> <SceneGraphFile filepath=""/> </RoadNetwork> <Entities> <ScenarioObject name="hero"> <Vehicle name="vehicle.tesla.model3" vehicleCategory="car"> <ParameterDeclarations/> <Performance maxSpeed="69.444" maxAcceleration="200" maxDeceleration="10.0"/> <BoundingBox> <Center x="1.5" y="0.0" z="0.9"/> <Dimensions width="2.1" length="4.5" height="1.8"/> </BoundingBox> <Axles> <FrontAxle maxSteering="0.5" wheelDiameter="0.6" trackWidth="1.8" positionX="3.1" positionZ="0.3"/> <RearAxle maxSteering="0.0" wheelDiameter="0.6" trackWidth="1.8" positionX="0.0" positionZ="0.3"/> </Axles> <Properties> <Property name="type" value="ego_vehicle"/> </Properties> </Vehicle> </ScenarioObject> <ScenarioObject name="adversary"> <Vehicle name="vehicle.lincoln.mkz_2017" vehicleCategory="car"> <ParameterDeclarations/> <Performance maxSpeed="69.444" maxAcceleration="200" maxDeceleration="10.0"/> <BoundingBox> <Center x="1.5" y="0.0" z="0.9"/> <Dimensions width="2.1" length="4.5" height="1.8"/> </BoundingBox> <Axles> <FrontAxle maxSteering="0.5" wheelDiameter="0.6" trackWidth="1.8" positionX="3.1" positionZ="0.3"/> <RearAxle maxSteering="0.0" wheelDiameter="0.6" trackWidth="1.8" positionX="0.0" positionZ="0.3"/> </Axles> <Properties> <Property name="type" value="simulation"/> </Properties> </Vehicle> </ScenarioObject> <ScenarioObject name="standing"> <Vehicle name="vehicle.volkswagen.t2" vehicleCategory="car"> <ParameterDeclarations/> <Performance maxSpeed="69.444" maxAcceleration="200" maxDeceleration="10.0"/> <BoundingBox> <Center x="1.5" y="0.0" z="0.9"/> <Dimensions width="2.1" length="4.5" height="1.8"/> </BoundingBox> <Axles> <FrontAxle maxSteering="0.5" wheelDiameter="0.6" trackWidth="1.8" positionX="3.1" positionZ="0.3"/> <RearAxle maxSteering="0.0" wheelDiameter="0.6" trackWidth="1.8" positionX="0.0" positionZ="0.3"/> </Axles> <Properties> <Property name="type" value="simulation"/> </Properties> </Vehicle> </ScenarioObject> <ScenarioObject name="pedestrian_close_to_hero_17355"> <Pedestrian model="walker.pedestrian.0001" mass="80" name="walker.pedestrian.0001" pedestrianCategory="pedestrian"> <ParameterDeclarations/> <BoundingBox> <Center x="1.5" y="0.0" z="0.9"/> <Dimensions width="2" length="2" height="2"/> </BoundingBox> <Properties> <Property name="type" value="simulation"/> </Properties> </Pedestrian> </ScenarioObject> <ScenarioObject name="pedestrian_close_to_standing_17356"> <Pedestrian model="walker.pedestrian.0001" mass="80" name="walker.pedestrian.0001" pedestrianCategory="pedestrian"> <ParameterDeclarations/> <BoundingBox> <Center x="1.5" y="0.0" z="0.9"/> <Dimensions width="2" length="2" height="2"/> </BoundingBox> <Properties> <Property name="type" value="simulation"/> </Properties> </Pedestrian> </ScenarioObject> <ScenarioObject name="pedestrian_w_transform_17357"> <Pedestrian model="walker.pedestrian.0001" mass="80" name="walker.pedestrian.0001" pedestrianCategory="pedestrian"> <ParameterDeclarations/> <BoundingBox> <Center x="1.5" y="0.0" z="0.9"/> <Dimensions width="2" length="2" height="2"/> </BoundingBox> <Properties> <Property name="type" value="simulation"/> </Properties> </Pedestrian> </ScenarioObject> <ScenarioObject name="pedestrian_w_transform_17358"> <Pedestrian model="walker.pedestrian.0001" mass="80" name="walker.pedestrian.0001" pedestrianCategory="pedestrian"> <ParameterDeclarations/> <BoundingBox> <Center x="1.5" y="0.0" z="0.9"/> <Dimensions width="2" length="2" height="2"/> </BoundingBox> <Properties> <Property name="type" value="simulation"/> </Properties> </Pedestrian> </ScenarioObject> <ScenarioObject name="pedestrian_w_transform_17359"> <Pedestrian model="walker.pedestrian.0001" mass="80" name="walker.pedestrian.0001" pedestrianCategory="pedestrian"> <ParameterDeclarations/> <BoundingBox> <Center x="1.5" y="0.0" z="0.9"/> <Dimensions width="2" length="2" height="2"/> </BoundingBox> <Properties> <Property name="type" value="simulation"/> </Properties> </Pedestrian> </ScenarioObject> <ScenarioObject name="pedestrian_close_to_standing_17360"> <Pedestrian model="walker.pedestrian.0001" mass="80" name="walker.pedestrian.0001" pedestrianCategory="pedestrian"> <ParameterDeclarations/> <BoundingBox> <Center x="1.5" y="0.0" z="0.9"/> <Dimensions width="2" length="2" height="2"/> </BoundingBox> <Properties> <Property name="type" value="simulation"/> </Properties> </Pedestrian> </ScenarioObject> <ScenarioObject name="pedestrian_close_to_standing_17361"> <Pedestrian model="walker.pedestrian.0001" mass="80" name="walker.pedestrian.0001" pedestrianCategory="pedestrian"> <ParameterDeclarations/> <BoundingBox> <Center x="1.5" y="0.0" z="0.9"/> <Dimensions width="2" length="2" height="2"/> </BoundingBox> <Properties> <Property name="type" value="simulation"/> </Properties> </Pedestrian> </ScenarioObject> <ScenarioObject name="pedestrian_w_transform_17362"> <Pedestrian model="walker.pedestrian.0001" mass="80" name="walker.pedestrian.0001" pedestrianCategory="pedestrian"> <ParameterDeclarations/> <BoundingBox> <Center x="1.5" y="0.0" z="0.9"/> <Dimensions width="2" length="2" height="2"/> </BoundingBox> <Properties> <Property name="type" value="simulation"/> </Properties> </Pedestrian> </ScenarioObject> <ScenarioObject name="pedestrian_close_to_hero_17363"> <Pedestrian model="walker.pedestrian.0001" mass="80" name="walker.pedestrian.0001" pedestrianCategory="pedestrian"> <ParameterDeclarations/> <BoundingBox> <Center x="1.5" y="0.0" z="0.9"/> <Dimensions width="2" length="2" height="2"/> </BoundingBox> <Properties> <Property name="type" value="simulation"/> </Properties> </Pedestrian> </ScenarioObject> <ScenarioObject name="pedestrian_close_to_adversary_17364"> <Pedestrian model="walker.pedestrian.0001" mass="80" name="walker.pedestrian.0001" pedestrianCategory="pedestrian"> <ParameterDeclarations/> <BoundingBox> <Center x="1.5" y="0.0" z="0.9"/> <Dimensions width="2" length="2" height="2"/> </BoundingBox> <Properties> <Property name="type" value="simulation"/> </Properties> </Pedestrian> </ScenarioObject> <ScenarioObject name="pedestrian_w_transform_17365"> <Pedestrian model="walker.pedestrian.0001" mass="80" name="walker.pedestrian.0001" pedestrianCategory="pedestrian"> <ParameterDeclarations/> <BoundingBox> <Center x="1.5" y="0.0" z="0.9"/> <Dimensions width="2" length="2" height="2"/> </BoundingBox> <Properties> <Property name="type" value="simulation"/> </Properties> </Pedestrian> </ScenarioObject> </Entities> <Storyboard> <Init> <Actions> <GlobalAction> <EnvironmentAction> <Environment name="Environment1"> <TimeOfDay animation="false" dateTime="2019-06-25T12:00:00"/> <Weather cloudState="free"> <Sun intensity="0.85" azimuth="0" elevation="1.31"/> <Fog visualRange="100000.0"/> <Precipitation precipitationType="dry" intensity="0.0"/> </Weather> <RoadCondition frictionScaleFactor="1.0"/> </Environment> </EnvironmentAction> </GlobalAction> <Private entityRef="hero"> <PrivateAction> <TeleportAction> <Position> <WorldPosition x="-9.4" y="-152.8" z="0.5" h="1.57079632679"/> </Position> </TeleportAction> </PrivateAction> <PrivateAction> <ControllerAction> <AssignControllerAction> <Controller name="HeroAgent"> <Properties> <Property name="module" value="external_control"/> </Properties> </Controller> </AssignControllerAction> <OverrideControllerValueAction> <Throttle value="0" active="false"/> <Brake value="0" active="false"/> <Clutch value="0" active="false"/> <ParkingBrake value="0" active="false"/> <SteeringWheel value="0" active="false"/> <Gear number="0" active="false"/> </OverrideControllerValueAction> </ControllerAction> </PrivateAction> </Private> <Private entityRef="adversary"> <PrivateAction> <TeleportAction> <Position> <WorldPosition x="-9.4" y="-71.0" z="0.5" h="1.57079632679"/> </Position> </TeleportAction> </PrivateAction> </Private> <Private entityRef="standing"> <PrivateAction> <TeleportAction> <Position> <WorldPosition x="-8.2" y="29.2" z="0.5" h="1.57079632679"/> </Position> </TeleportAction> </PrivateAction> </Private> <Private entityRef="pedestrian_close_to_hero_17355"> <PrivateAction> <TeleportAction> <Position> <WorldPosition x="-17.779903411865234" y="-161.78855895996094" z="0.0014286803780123591"/> </Position> </TeleportAction> </PrivateAction> </Private> <Private entityRef="pedestrian_close_to_standing_17356"> <PrivateAction> <TeleportAction> <Position> <WorldPosition x="-16.857852935791016" y="31.478464126586914" z="0.0030574798583984375"/> </Position> </TeleportAction> </PrivateAction> </Private> <Private entityRef="pedestrian_w_transform_17357"> <PrivateAction> <TeleportAction> <Position> <WorldPosition x="-97.77778625488281" y="-53.4239501953125" z="0.5"/> </Position> </TeleportAction> </PrivateAction> </Private> <Private entityRef="pedestrian_w_transform_17358"> <PrivateAction> <TeleportAction> <Position> <WorldPosition x="-7.857059955596924" y="70.82406616210938" z="0.5"/> </Position> </TeleportAction> </PrivateAction> </Private> <Private entityRef="pedestrian_w_transform_17359"> <PrivateAction> <TeleportAction> <Position> <WorldPosition x="5.922111511230469" y="15.240533828735352" z="0.5"/> </Position> </TeleportAction> </PrivateAction> </Private> <Private entityRef="pedestrian_close_to_standing_17360"> <PrivateAction> <TeleportAction> <Position> <WorldPosition x="-18.170551300048828" y="31.53914451599121" z="0.0030489349737763405"/> </Position> </TeleportAction> </PrivateAction> </Private> <Private entityRef="pedestrian_close_to_standing_17361"> <PrivateAction> <TeleportAction> <Position> <WorldPosition x="-3.234463930130005" y="30.683513641357422" z="0.003050918458029628"/> </Position> </TeleportAction> </PrivateAction> </Private> <Private entityRef="pedestrian_w_transform_17362"> <PrivateAction> <TeleportAction> <Position> <WorldPosition x="-81.27474212646484" y="87.18180847167969" z="0.5"/> </Position> </TeleportAction> </PrivateAction> </Private> <Private entityRef="pedestrian_close_to_hero_17363"> <PrivateAction> <TeleportAction> <Position> <WorldPosition x="-16.55389404296875" y="-156.3742218017578" z="0.0014286803780123591"/> </Position> </TeleportAction> </PrivateAction> </Private> <Private entityRef="pedestrian_close_to_adversary_17364"> <PrivateAction> <TeleportAction> <Position> <WorldPosition x="0.1209418997168541" y="-78.4145736694336" z="0.03378215804696083"/> </Position> </TeleportAction> </PrivateAction> </Private> <Private entityRef="pedestrian_w_transform_17365"> <PrivateAction> <TeleportAction> <Position> <WorldPosition x="-82.7668685913086" y="-46.308433532714844" z="0.5"/> </Position> </TeleportAction> </PrivateAction> </Private> </Actions> </Init> <Story name="MyStory"> <Act name="Behavior"> <ManeuverGroup maximumExecutionCount="1" name="ManeuverSequence"> <Actors selectTriggeringEntities="false"> <EntityRef entityRef="adversary"/> </Actors> <Maneuver name="LaneChangeSimpleManeuver"> <Event name="AdversaryAccelerates" priority="overwrite"> <Action name="AdversaryAccelerates"> <PrivateAction> <LongitudinalAction> <SpeedAction> <SpeedActionDynamics dynamicsShape="step" value="50" dynamicsDimension="distance"/> <SpeedActionTarget> <AbsoluteTargetSpeed value="5.0"/> </SpeedActionTarget> </SpeedAction> </LongitudinalAction> </PrivateAction> </Action> <StartTrigger> <ConditionGroup> <Condition name="StartCondition" delay="0" conditionEdge="rising"> <ByEntityCondition> <TriggeringEntities triggeringEntitiesRule="any"> <EntityRef entityRef="hero"/> </TriggeringEntities> <EntityCondition> <RelativeDistanceCondition entityRef="adversary" relativeDistanceType="cartesianDistance" value="40.0" freespace="false" rule="lessThan"/> </EntityCondition> </ByEntityCondition> </Condition> </ConditionGroup> </StartTrigger> </Event> <Event name="AdversaryChangesLane" priority="overwrite"> <Action name="AdversaryChangesLane"> <PrivateAction> <LateralAction> <LaneChangeAction> <LaneChangeActionDynamics dynamicsShape="linear" value="25" dynamicsDimension="distance"/> <LaneChangeTarget> <RelativeTargetLane entityRef="adversary" value="-1"/> </LaneChangeTarget> </LaneChangeAction> </LateralAction> </PrivateAction> </Action> <StartTrigger> <ConditionGroup> <Condition name="AfterAdversaryAccelerates" delay="0" conditionEdge="rising"> <ByValueCondition> <StoryboardElementStateCondition storyboardElementType="action" storyboardElementRef="AdversaryAccelerates" state="completeState"/> </ByValueCondition> </Condition> </ConditionGroup> </StartTrigger> </Event> </Maneuver> </ManeuverGroup> <StartTrigger> <ConditionGroup> <Condition name="OverallStartCondition" delay="0" conditionEdge="rising"> <ByEntityCondition> <TriggeringEntities triggeringEntitiesRule="any"> <EntityRef entityRef="hero"/> </TriggeringEntities> <EntityCondition> <TraveledDistanceCondition value="1.0"/> </EntityCondition> </ByEntityCondition> </Condition> <Condition name="StartTime" delay="0" conditionEdge="rising"> <ByValueCondition> <SimulationTimeCondition value="0" rule="equalTo"/> </ByValueCondition> </Condition> </ConditionGroup> </StartTrigger> <StopTrigger> <ConditionGroup> <Condition name="EndCondition" delay="0" conditionEdge="rising"> <ByEntityCondition> <TriggeringEntities triggeringEntitiesRule="any"> <EntityRef entityRef="hero"/> </TriggeringEntities> <EntityCondition> <TraveledDistanceCondition value="200.0"/> </EntityCondition> </ByEntityCondition> </Condition> </ConditionGroup> </StopTrigger> </Act> </Story> <StopTrigger> <ConditionGroup> <Condition name="criteria_RunningStopTest" delay="0" conditionEdge="rising"> <ByValueCondition> <ParameterCondition parameterRef="" value="" rule="lessThan"/> </ByValueCondition> </Condition> <Condition name="criteria_RunningRedLightTest" delay="0" conditionEdge="rising"> <ByValueCondition> <ParameterCondition parameterRef="" value="" rule="lessThan"/> </ByValueCondition> </Condition> <Condition name="criteria_WrongLaneTest" delay="0" conditionEdge="rising"> <ByValueCondition> <ParameterCondition parameterRef="" value="" rule="lessThan"/> </ByValueCondition> </Condition> <Condition name="criteria_OnSidewalkTest" delay="0" conditionEdge="rising"> <ByValueCondition> <ParameterCondition parameterRef="" value="" rule="lessThan"/> </ByValueCondition> </Condition> <Condition name="criteria_KeepLaneTest" delay="0" conditionEdge="rising"> <ByValueCondition> <ParameterCondition parameterRef="" value="" rule="lessThan"/> </ByValueCondition> </Condition> <Condition name="criteria_CollisionTest" delay="0" conditionEdge="rising"> <ByValueCondition> <ParameterCondition parameterRef="" value="" rule="lessThan"/> </ByValueCondition> </Condition> <Condition name="criteria_DrivenDistanceTest" delay="0" conditionEdge="rising"> <ByValueCondition> <ParameterCondition parameterRef="distance_success" value="100" rule="lessThan"/> </ByValueCondition> </Condition> </ConditionGroup> </StopTrigger> </Storyboard> </OpenSCENARIO> ```
Here is the result: ``` <?xml version="1.0" ?> <OpenSCENARIO> <FileHeader revMajor="1" revMinor="0" date="2020-03-24T12:00:00" description="CARLA:LaneChangeSimple" author=""/> <ParameterDeclarations/> <CatalogLocations/> <RoadNetwork> <LogicFile filepath="Town04"/> <SceneGraphFile filepath=""/> </RoadNetwork> <Entities> <ScenarioObject name="hero"> <Vehicle name="vehicle.tesla.model3" vehicleCategory="car"> <ParameterDeclarations/> <Performance maxSpeed="69.444" maxAcceleration="200" maxDeceleration="10.0"/> <BoundingBox> <Center x="1.5" y="0.0" z="0.9"/> <Dimensions width="2.1" length="4.5" height="1.8"/> </BoundingBox> <Axles> <FrontAxle maxSteering="0.5" wheelDiameter="0.6" trackWidth="1.8" positionX="3.1" positionZ="0.3"/> <RearAxle maxSteering="0.0" wheelDiameter="0.6" trackWidth="1.8" positionX="0.0" positionZ="0.3"/> </Axles> <Properties> <Property name="type" value="ego_vehicle"/> </Properties> </Vehicle> </ScenarioObject> <ScenarioObject name="adversary"> <Vehicle name="vehicle.lincoln.mkz_2017" vehicleCategory="car"> <ParameterDeclarations/> <Performance maxSpeed="69.444" maxAcceleration="200" maxDeceleration="10.0"/> <BoundingBox> <Center x="1.5" y="0.0" z="0.9"/> <Dimensions width="2.1" length="4.5" height="1.8"/> </BoundingBox> <Axles> <FrontAxle maxSteering="0.5" wheelDiameter="0.6" trackWidth="1.8" positionX="3.1" positionZ="0.3"/> <RearAxle maxSteering="0.0" wheelDiameter="0.6" trackWidth="1.8" positionX="0.0" positionZ="0.3"/> </Axles> <Properties> <Property name="type" value="simulation"/> </Properties> </Vehicle> </ScenarioObject> <ScenarioObject name="standing"> <Vehicle name="vehicle.volkswagen.t2" vehicleCategory="car"> <ParameterDeclarations/> <Performance maxSpeed="69.444" maxAcceleration="200" maxDeceleration="10.0"/> <BoundingBox> <Center x="1.5" y="0.0" z="0.9"/> <Dimensions width="2.1" length="4.5" height="1.8"/> </BoundingBox> <Axles> <FrontAxle maxSteering="0.5" wheelDiameter="0.6" trackWidth="1.8" positionX="3.1" positionZ="0.3"/> <RearAxle maxSteering="0.0" wheelDiameter="0.6" trackWidth="1.8" positionX="0.0" positionZ="0.3"/> </Axles> <Properties> <Property name="type" value="simulation"/> </Properties> </Vehicle> </ScenarioObject> <ScenarioObject name="pedestrian_close_to_hero_17355"> <Pedestrian model="walker.pedestrian.0001" mass="80" name="walker.pedestrian.0001" pedestrianCategory="pedestrian"> <ParameterDeclarations/> <BoundingBox> <Center x="1.5" y="0.0" z="0.9"/> <Dimensions width="2" length="2" height="2"/> </BoundingBox> <Properties> <Property name="type" value="simulation"/> </Properties> </Pedestrian> </ScenarioObject> <ScenarioObject name="pedestrian_close_to_standing_17356"> <Pedestrian model="walker.pedestrian.0001" mass="80" name="walker.pedestrian.0001" pedestrianCategory="pedestrian"> <ParameterDeclarations/> <BoundingBox> <Center x="1.5" y="0.0" z="0.9"/> <Dimensions width="2" length="2" height="2"/> </BoundingBox> <Properties> <Property name="type" value="simulation"/> </Properties> </Pedestrian> </ScenarioObject> <ScenarioObject name="pedestrian_w_transform_17357"> <Pedestrian model="walker.pedestrian.0001" mass="80" name="walker.pedestrian.0001" pedestrianCategory="pedestrian"> <ParameterDeclarations/> <BoundingBox> <Center x="1.5" y="0.0" z="0.9"/> <Dimensions width="2" length="2" height="2"/> </BoundingBox> <Properties> <Property name="type" value="simulation"/> </Properties> </Pedestrian> </ScenarioObject> <ScenarioObject name="pedestrian_w_transform_17358"> <Pedestrian model="walker.pedestrian.0001" mass="80" name="walker.pedestrian.0001" pedestrianCategory="pedestrian"> <ParameterDeclarations/> <BoundingBox> <Center x="1.5" y="0.0" z="0.9"/> <Dimensions width="2" length="2" height="2"/> </BoundingBox> <Properties> <Property name="type" value="simulation"/> </Properties> </Pedestrian> </ScenarioObject> <ScenarioObject name="pedestrian_w_transform_17359"> <Pedestrian model="walker.pedestrian.0001" mass="80" name="walker.pedestrian.0001" pedestrianCategory="pedestrian"> <ParameterDeclarations/> <BoundingBox> <Center x="1.5" y="0.0" z="0.9"/> <Dimensions width="2" length="2" height="2"/> </BoundingBox> <Properties> <Property name="type" value="simulation"/> </Properties> </Pedestrian> </ScenarioObject> <ScenarioObject name="pedestrian_close_to_standing_17360"> <Pedestrian model="walker.pedestrian.0001" mass="80" name="walker.pedestrian.0001" pedestrianCategory="pedestrian"> <ParameterDeclarations/> <BoundingBox> <Center x="1.5" y="0.0" z="0.9"/> <Dimensions width="2" length="2" height="2"/> </BoundingBox> <Properties> <Property name="type" value="simulation"/> </Properties> </Pedestrian> </ScenarioObject> <ScenarioObject name="pedestrian_close_to_standing_17361"> <Pedestrian model="walker.pedestrian.0001" mass="80" name="walker.pedestrian.0001" pedestrianCategory="pedestrian"> <ParameterDeclarations/> <BoundingBox> <Center x="1.5" y="0.0" z="0.9"/> <Dimensions width="2" length="2" height="2"/> </BoundingBox> <Properties> <Property name="type" value="simulation"/> </Properties> </Pedestrian> </ScenarioObject> <ScenarioObject name="pedestrian_w_transform_17362"> <Pedestrian model="walker.pedestrian.0001" mass="80" name="walker.pedestrian.0001" pedestrianCategory="pedestrian"> <ParameterDeclarations/> <BoundingBox> <Center x="1.5" y="0.0" z="0.9"/> <Dimensions width="2" length="2" height="2"/> </BoundingBox> <Properties> <Property name="type" value="simulation"/> </Properties> </Pedestrian> </ScenarioObject> <ScenarioObject name="pedestrian_close_to_hero_17363"> <Pedestrian model="walker.pedestrian.0001" mass="80" name="walker.pedestrian.0001" pedestrianCategory="pedestrian"> <ParameterDeclarations/> <BoundingBox> <Center x="1.5" y="0.0" z="0.9"/> <Dimensions width="2" length="2" height="2"/> </BoundingBox> <Properties> <Property name="type" value="simulation"/> </Properties> </Pedestrian> </ScenarioObject> <ScenarioObject name="pedestrian_close_to_adversary_17364"> <Pedestrian model="walker.pedestrian.0001" mass="80" name="walker.pedestrian.0001" pedestrianCategory="pedestrian"> <ParameterDeclarations/> <BoundingBox> <Center x="1.5" y="0.0" z="0.9"/> <Dimensions width="2" length="2" height="2"/> </BoundingBox> <Properties> <Property name="type" value="simulation"/> </Properties> </Pedestrian> </ScenarioObject> <ScenarioObject name="pedestrian_w_transform_17365"> <Pedestrian model="walker.pedestrian.0001" mass="80" name="walker.pedestrian.0001" pedestrianCategory="pedestrian"> <ParameterDeclarations/> <BoundingBox> <Center x="1.5" y="0.0" z="0.9"/> <Dimensions width="2" length="2" height="2"/> </BoundingBox> <Properties> <Property name="type" value="simulation"/> </Properties> </Pedestrian> </ScenarioObject> <ScenarioObject name="pedestrian_close_to_adversary_17366"> <Pedestrian model="walker.pedestrian.0001" mass="80" name="walker.pedestrian.0001" pedestrianCategory="pedestrian"> <ParameterDeclarations/> <BoundingBox> <Center x="1.5" y="0.0" z="0.9"/> <Dimensions width="2" length="2" height="2"/> </BoundingBox> <Properties> <Property name="type" value="simulation"/> </Properties> </Pedestrian> </ScenarioObject> </Entities> <Storyboard> <Init> <Actions> <GlobalAction> <EnvironmentAction> <Environment name="Environment1"> <TimeOfDay animation="false" dateTime="2019-06-25T12:00:00"/> <Weather cloudState="free"> <Sun intensity="0.85" azimuth="0" elevation="1.31"/> <Fog visualRange="100000.0"/> <Precipitation precipitationType="dry" intensity="0.0"/> </Weather> <RoadCondition frictionScaleFactor="1.0"/> </Environment> </EnvironmentAction> </GlobalAction> <Private entityRef="hero"> <PrivateAction> <TeleportAction> <Position> <WorldPosition x="-9.4" y="-152.8" z="0.5" h="1.57079632679"/> </Position> </TeleportAction> </PrivateAction> <PrivateAction> <ControllerAction> <AssignControllerAction> <Controller name="HeroAgent"> <Properties> <Property name="module" value="external_control"/> </Properties> </Controller> </AssignControllerAction> <OverrideControllerValueAction> <Throttle value="0" active="false"/> <Brake value="0" active="false"/> <Clutch value="0" active="false"/> <ParkingBrake value="0" active="false"/> <SteeringWheel value="0" active="false"/> <Gear number="0" active="false"/> </OverrideControllerValueAction> </ControllerAction> </PrivateAction> </Private> <Private entityRef="adversary"> <PrivateAction> <TeleportAction> <Position> <WorldPosition x="-9.4" y="-71.0" z="0.5" h="1.57079632679"/> </Position> </TeleportAction> </PrivateAction> </Private> <Private entityRef="standing"> <PrivateAction> <TeleportAction> <Position> <WorldPosition x="-8.2" y="29.2" z="0.5" h="1.57079632679"/> </Position> </TeleportAction> </PrivateAction> </Private> <Private entityRef="pedestrian_close_to_hero_17355"> <PrivateAction> <TeleportAction> <Position> <WorldPosition x="-17.779903411865234" y="-161.78855895996094" z="0.0014286803780123591"/> </Position> </TeleportAction> </PrivateAction> </Private> <Private entityRef="pedestrian_close_to_standing_17356"> <PrivateAction> <TeleportAction> <Position> <WorldPosition x="-16.857852935791016" y="31.478464126586914" z="0.0030574798583984375"/> </Position> </TeleportAction> </PrivateAction> </Private> <Private entityRef="pedestrian_w_transform_17357"> <PrivateAction> <TeleportAction> <Position> <WorldPosition x="-97.77778625488281" y="-53.4239501953125" z="0.5"/> </Position> </TeleportAction> </PrivateAction> </Private> <Private entityRef="pedestrian_w_transform_17358"> <PrivateAction> <TeleportAction> <Position> <WorldPosition x="-7.857059955596924" y="70.82406616210938" z="0.5"/> </Position> </TeleportAction> </PrivateAction> </Private> <Private entityRef="pedestrian_w_transform_17359"> <PrivateAction> <TeleportAction> <Position> <WorldPosition x="5.922111511230469" y="15.240533828735352" z="0.5"/> </Position> </TeleportAction> </PrivateAction> </Private> <Private entityRef="pedestrian_close_to_standing_17360"> <PrivateAction> <TeleportAction> <Position> <WorldPosition x="-18.170551300048828" y="31.53914451599121" z="0.0030489349737763405"/> </Position> </TeleportAction> </PrivateAction> </Private> <Private entityRef="pedestrian_close_to_standing_17361"> <PrivateAction> <TeleportAction> <Position> <WorldPosition x="-3.234463930130005" y="30.683513641357422" z="0.003050918458029628"/> </Position> </TeleportAction> </PrivateAction> </Private> <Private entityRef="pedestrian_w_transform_17362"> <PrivateAction> <TeleportAction> <Position> <WorldPosition x="-81.27474212646484" y="87.18180847167969" z="0.5"/> </Position> </TeleportAction> </PrivateAction> </Private> <Private entityRef="pedestrian_close_to_hero_17363"> <PrivateAction> <TeleportAction> <Position> <WorldPosition x="-16.55389404296875" y="-156.3742218017578" z="0.0014286803780123591"/> </Position> </TeleportAction> </PrivateAction> </Private> <Private entityRef="pedestrian_close_to_adversary_17364"> <PrivateAction> <TeleportAction> <Position> <WorldPosition x="0.1209418997168541" y="-78.4145736694336" z="0.03378215804696083"/> </Position> </TeleportAction> </PrivateAction> </Private> <Private entityRef="pedestrian_w_transform_17365"> <PrivateAction> <TeleportAction> <Position> <WorldPosition x="-82.7668685913086" y="-46.308433532714844" z="0.5"/> </Position> </TeleportAction> </PrivateAction> </Private> <Private entityRef="pedestrian_close_to_adversary_17366"> <PrivateAction> <TeleportAction> <Position> <WorldPosition x="-16.997522354125977" y="-77.8279037475586" z="0.033794403076171875"/> </Position> </TeleportAction> </PrivateAction> </Private> </Actions> </Init> <Story name="MyStory"> <Act name="Behavior"> <ManeuverGroup maximumExecutionCount="1" name="ManeuverSequence"> <Actors selectTriggeringEntities="false"> <EntityRef entityRef="adversary"/> </Actors> <Maneuver name="LaneChangeSimpleManeuver"> <Event name="AdversaryAccelerates" priority="overwrite"> <Action name="AdversaryAccelerates"> <PrivateAction> <LongitudinalAction> <SpeedAction> <SpeedActionDynamics dynamicsShape="step" value="50" dynamicsDimension="distance"/> <SpeedActionTarget> <AbsoluteTargetSpeed value="5.0"/> </SpeedActionTarget> </SpeedAction> </LongitudinalAction> </PrivateAction> </Action> <StartTrigger> <ConditionGroup> <Condition name="StartCondition" delay="0" conditionEdge="rising"> <ByEntityCondition> <TriggeringEntities triggeringEntitiesRule="any"> <EntityRef entityRef="hero"/> </TriggeringEntities> <EntityCondition> <RelativeDistanceCondition entityRef="adversary" relativeDistanceType="cartesianDistance" value="40.0" freespace="false" rule="lessThan"/> </EntityCondition> </ByEntityCondition> </Condition> </ConditionGroup> </StartTrigger> </Event> <Event name="AdversaryChangesLane" priority="overwrite"> <Action name="AdversaryChangesLane"> <PrivateAction> <LateralAction> <LaneChangeAction> <LaneChangeActionDynamics dynamicsShape="linear" value="25" dynamicsDimension="distance"/> <LaneChangeTarget> <RelativeTargetLane entityRef="adversary" value="-1"/> </LaneChangeTarget> </LaneChangeAction> </LateralAction> </PrivateAction> </Action> <StartTrigger> <ConditionGroup> <Condition name="AfterAdversaryAccelerates" delay="0" conditionEdge="rising"> <ByValueCondition> <StoryboardElementStateCondition storyboardElementType="action" storyboardElementRef="AdversaryAccelerates" state="completeState"/> </ByValueCondition> </Condition> </ConditionGroup> </StartTrigger> </Event> </Maneuver> </ManeuverGroup> <StartTrigger> <ConditionGroup> <Condition name="OverallStartCondition" delay="0" conditionEdge="rising"> <ByEntityCondition> <TriggeringEntities triggeringEntitiesRule="any"> <EntityRef entityRef="hero"/> </TriggeringEntities> <EntityCondition> <TraveledDistanceCondition value="1.0"/> </EntityCondition> </ByEntityCondition> </Condition> <Condition name="StartTime" delay="0" conditionEdge="rising"> <ByValueCondition> <SimulationTimeCondition value="0" rule="equalTo"/> </ByValueCondition> </Condition> </ConditionGroup> </StartTrigger> <StopTrigger> <ConditionGroup> <Condition name="EndCondition" delay="0" conditionEdge="rising"> <ByEntityCondition> <TriggeringEntities triggeringEntitiesRule="any"> <EntityRef entityRef="hero"/> </TriggeringEntities> <EntityCondition> <TraveledDistanceCondition value="200.0"/> </EntityCondition> </ByEntityCondition> </Condition> </ConditionGroup> </StopTrigger> </Act> </Story> <StopTrigger> <ConditionGroup> <Condition name="criteria_RunningStopTest" delay="0" conditionEdge="rising"> <ByValueCondition> <ParameterCondition parameterRef="" value="" rule="lessThan"/> </ByValueCondition> </Condition> <Condition name="criteria_RunningRedLightTest" delay="0" conditionEdge="rising"> <ByValueCondition> <ParameterCondition parameterRef="" value="" rule="lessThan"/> </ByValueCondition> </Condition> <Condition name="criteria_WrongLaneTest" delay="0" conditionEdge="rising"> <ByValueCondition> <ParameterCondition parameterRef="" value="" rule="lessThan"/> </ByValueCondition> </Condition> <Condition name="criteria_OnSidewalkTest" delay="0" conditionEdge="rising"> <ByValueCondition> <ParameterCondition parameterRef="" value="" rule="lessThan"/> </ByValueCondition> </Condition> <Condition name="criteria_KeepLaneTest" delay="0" conditionEdge="rising"> <ByValueCondition> <ParameterCondition parameterRef="" value="" rule="lessThan"/> </ByValueCondition> </Condition> <Condition name="criteria_CollisionTest" delay="0" conditionEdge="rising"> <ByValueCondition> <ParameterCondition parameterRef="" value="" rule="lessThan"/> </ByValueCondition> </Condition> <Condition name="criteria_DrivenDistanceTest" delay="0" conditionEdge="rising"> <ByValueCondition> <ParameterCondition parameterRef="distance_success" value="100" rule="lessThan"/> </ByValueCondition> </Condition> </ConditionGroup> </StopTrigger> </Storyboard> </OpenSCENARIO> ```
i would like to command you to add pedestrian at location (30.83, 27.79, 0.5)? ``` <?xml version="1.0" ?> <OpenSCENARIO> <FileHeader revMajor="1" revMinor="0" date="2020-03-24T12:00:00" description="CARLA:LaneChangeSimple" author=""/> <ParameterDeclarations/> <CatalogLocations/> <RoadNetwork> <LogicFile filepath="Town04"/> <SceneGraphFile filepath=""/> </RoadNetwork> <Entities> <ScenarioObject name="hero"> <Vehicle name="vehicle.tesla.model3" vehicleCategory="car"> <ParameterDeclarations/> <Performance maxSpeed="69.444" maxAcceleration="200" maxDeceleration="10.0"/> <BoundingBox> <Center x="1.5" y="0.0" z="0.9"/> <Dimensions width="2.1" length="4.5" height="1.8"/> </BoundingBox> <Axles> <FrontAxle maxSteering="0.5" wheelDiameter="0.6" trackWidth="1.8" positionX="3.1" positionZ="0.3"/> <RearAxle maxSteering="0.0" wheelDiameter="0.6" trackWidth="1.8" positionX="0.0" positionZ="0.3"/> </Axles> <Properties> <Property name="type" value="ego_vehicle"/> </Properties> </Vehicle> </ScenarioObject> <ScenarioObject name="adversary"> <Vehicle name="vehicle.lincoln.mkz_2017" vehicleCategory="car"> <ParameterDeclarations/> <Performance maxSpeed="69.444" maxAcceleration="200" maxDeceleration="10.0"/> <BoundingBox> <Center x="1.5" y="0.0" z="0.9"/> <Dimensions width="2.1" length="4.5" height="1.8"/> </BoundingBox> <Axles> <FrontAxle maxSteering="0.5" wheelDiameter="0.6" trackWidth="1.8" positionX="3.1" positionZ="0.3"/> <RearAxle maxSteering="0.0" wheelDiameter="0.6" trackWidth="1.8" positionX="0.0" positionZ="0.3"/> </Axles> <Properties> <Property name="type" value="simulation"/> </Properties> </Vehicle> </ScenarioObject> <ScenarioObject name="standing"> <Vehicle name="vehicle.volkswagen.t2" vehicleCategory="car"> <ParameterDeclarations/> <Performance maxSpeed="69.444" maxAcceleration="200" maxDeceleration="10.0"/> <BoundingBox> <Center x="1.5" y="0.0" z="0.9"/> <Dimensions width="2.1" length="4.5" height="1.8"/> </BoundingBox> <Axles> <FrontAxle maxSteering="0.5" wheelDiameter="0.6" trackWidth="1.8" positionX="3.1" positionZ="0.3"/> <RearAxle maxSteering="0.0" wheelDiameter="0.6" trackWidth="1.8" positionX="0.0" positionZ="0.3"/> </Axles> <Properties> <Property name="type" value="simulation"/> </Properties> </Vehicle> </ScenarioObject> <ScenarioObject name="pedestrian_close_to_hero_10239"> <Pedestrian model="walker.pedestrian.0001" mass="80" name="walker.pedestrian.0001" pedestrianCategory="pedestrian"> <ParameterDeclarations/> <BoundingBox> <Center x="1.5" y="0.0" z="0.9"/> <Dimensions width="2" length="2" height="2"/> </BoundingBox> <Properties> <Property name="type" value="simulation"/> </Properties> </Pedestrian> </ScenarioObject> <ScenarioObject name="pedestrian_close_to_standing_10240"> <Pedestrian model="walker.pedestrian.0001" mass="80" name="walker.pedestrian.0001" pedestrianCategory="pedestrian"> <ParameterDeclarations/> <BoundingBox> <Center x="1.5" y="0.0" z="0.9"/> <Dimensions width="2" length="2" height="2"/> </BoundingBox> <Properties> <Property name="type" value="simulation"/> </Properties> </Pedestrian> </ScenarioObject> <ScenarioObject name="pedestrian_close_to_adversary_10241"> <Pedestrian model="walker.pedestrian.0001" mass="80" name="walker.pedestrian.0001" pedestrianCategory="pedestrian"> <ParameterDeclarations/> <BoundingBox> <Center x="1.5" y="0.0" z="0.9"/> <Dimensions width="2" length="2" height="2"/> </BoundingBox> <Properties> <Property name="type" value="simulation"/> </Properties> </Pedestrian> </ScenarioObject> <ScenarioObject name="pedestrian_close_to_standing_10243"> <Pedestrian model="walker.pedestrian.0001" mass="80" name="walker.pedestrian.0001" pedestrianCategory="pedestrian"> <ParameterDeclarations/> <BoundingBox> <Center x="1.5" y="0.0" z="0.9"/> <Dimensions width="2" length="2" height="2"/> </BoundingBox> <Properties> <Property name="type" value="simulation"/> </Properties> </Pedestrian> </ScenarioObject> </Entities> <Storyboard> <Init> <Actions> <GlobalAction> <EnvironmentAction> <Environment name="Environment1"> <TimeOfDay animation="false" dateTime="2019-06-25T12:00:00"/> <Weather cloudState="free"> <Sun intensity="0.85" azimuth="0" elevation="1.31"/> <Fog visualRange="100000.0"/> <Precipitation precipitationType="dry" intensity="0.0"/> </Weather> <RoadCondition frictionScaleFactor="1.0"/> </Environment> </EnvironmentAction> </GlobalAction> <Private entityRef="hero"> <PrivateAction> <TeleportAction> <Position> <WorldPosition x="-9.4" y="-152.8" z="0.5" h="1.57079632679"/> </Position> </TeleportAction> </PrivateAction> <PrivateAction> <ControllerAction> <AssignControllerAction> <Controller name="HeroAgent"> <Properties> <Property name="module" value="external_control"/> </Properties> </Controller> </AssignControllerAction> <OverrideControllerValueAction> <Throttle value="0" active="false"/> <Brake value="0" active="false"/> <Clutch value="0" active="false"/> <ParkingBrake value="0" active="false"/> <SteeringWheel value="0" active="false"/> <Gear number="0" active="false"/> </OverrideControllerValueAction> </ControllerAction> </PrivateAction> </Private> <Private entityRef="adversary"> <PrivateAction> <TeleportAction> <Position> <WorldPosition x="-9.4" y="-71.0" z="0.5" h="1.57079632679"/> </Position> </TeleportAction> </PrivateAction> </Private> <Private entityRef="standing"> <PrivateAction> <TeleportAction> <Position> <WorldPosition x="-8.2" y="29.2" z="0.5" h="1.57079632679"/> </Position> </TeleportAction> </PrivateAction> </Private> <Private entityRef="pedestrian_close_to_hero_10239"> <PrivateAction> <TeleportAction> <Position> <WorldPosition x="-17.349199295043945" y="-151.82058715820312" z="0.0014286803780123591"/> </Position> </TeleportAction> </PrivateAction> </Private> <Private entityRef="pedestrian_close_to_standing_10240"> <PrivateAction> <TeleportAction> <Position> <WorldPosition x="-9.378698348999023" y="25.943504333496094" z="0.0030613706912845373"/> </Position> </TeleportAction> </PrivateAction> </Private> <Private entityRef="pedestrian_close_to_adversary_10241"> <PrivateAction> <TeleportAction> <Position> <WorldPosition x="-7.510117053985596" y="-76.75927734375" z="0.033807218074798584"/> </Position> </TeleportAction> </PrivateAction> </Private> <Private entityRef="pedestrian_close_to_standing_10243"> <PrivateAction> <TeleportAction> <Position> <WorldPosition x="-12.493127822875977" y="31.78866195678711" z="0.0030450820922851562"/> </Position> </TeleportAction> </PrivateAction> </Private> </Actions> </Init> <Story name="MyStory"> <Act name="Behavior"> <ManeuverGroup maximumExecutionCount="1" name="ManeuverSequence"> <Actors selectTriggeringEntities="false"> <EntityRef entityRef="adversary"/> </Actors> <Maneuver name="LaneChangeSimpleManeuver"> <Event name="AdversaryAccelerates" priority="overwrite"> <Action name="AdversaryAccelerates"> <PrivateAction> <LongitudinalAction> <SpeedAction> <SpeedActionDynamics dynamicsShape="step" value="50" dynamicsDimension="distance"/> <SpeedActionTarget> <AbsoluteTargetSpeed value="5.0"/> </SpeedActionTarget> </SpeedAction> </LongitudinalAction> </PrivateAction> </Action> <StartTrigger> <ConditionGroup> <Condition name="StartCondition" delay="0" conditionEdge="rising"> <ByEntityCondition> <TriggeringEntities triggeringEntitiesRule="any"> <EntityRef entityRef="hero"/> </TriggeringEntities> <EntityCondition> <RelativeDistanceCondition entityRef="adversary" relativeDistanceType="cartesianDistance" value="40.0" freespace="false" rule="lessThan"/> </EntityCondition> </ByEntityCondition> </Condition> </ConditionGroup> </StartTrigger> </Event> <Event name="AdversaryChangesLane" priority="overwrite"> <Action name="AdversaryChangesLane"> <PrivateAction> <LateralAction> <LaneChangeAction> <LaneChangeActionDynamics dynamicsShape="linear" value="25" dynamicsDimension="distance"/> <LaneChangeTarget> <RelativeTargetLane entityRef="adversary" value="-1"/> </LaneChangeTarget> </LaneChangeAction> </LateralAction> </PrivateAction> </Action> <StartTrigger> <ConditionGroup> <Condition name="AfterAdversaryAccelerates" delay="0" conditionEdge="rising"> <ByValueCondition> <StoryboardElementStateCondition storyboardElementType="action" storyboardElementRef="AdversaryAccelerates" state="completeState"/> </ByValueCondition> </Condition> </ConditionGroup> </StartTrigger> </Event> </Maneuver> </ManeuverGroup> <StartTrigger> <ConditionGroup> <Condition name="OverallStartCondition" delay="0" conditionEdge="rising"> <ByEntityCondition> <TriggeringEntities triggeringEntitiesRule="any"> <EntityRef entityRef="hero"/> </TriggeringEntities> <EntityCondition> <TraveledDistanceCondition value="1.0"/> </EntityCondition> </ByEntityCondition> </Condition> <Condition name="StartTime" delay="0" conditionEdge="rising"> <ByValueCondition> <SimulationTimeCondition value="0" rule="equalTo"/> </ByValueCondition> </Condition> </ConditionGroup> </StartTrigger> <StopTrigger> <ConditionGroup> <Condition name="EndCondition" delay="0" conditionEdge="rising"> <ByEntityCondition> <TriggeringEntities triggeringEntitiesRule="any"> <EntityRef entityRef="hero"/> </TriggeringEntities> <EntityCondition> <TraveledDistanceCondition value="200.0"/> </EntityCondition> </ByEntityCondition> </Condition> </ConditionGroup> </StopTrigger> </Act> </Story> <StopTrigger> <ConditionGroup> <Condition name="criteria_RunningStopTest" delay="0" conditionEdge="rising"> <ByValueCondition> <ParameterCondition parameterRef="" value="" rule="lessThan"/> </ByValueCondition> </Condition> <Condition name="criteria_RunningRedLightTest" delay="0" conditionEdge="rising"> <ByValueCondition> <ParameterCondition parameterRef="" value="" rule="lessThan"/> </ByValueCondition> </Condition> <Condition name="criteria_WrongLaneTest" delay="0" conditionEdge="rising"> <ByValueCondition> <ParameterCondition parameterRef="" value="" rule="lessThan"/> </ByValueCondition> </Condition> <Condition name="criteria_OnSidewalkTest" delay="0" conditionEdge="rising"> <ByValueCondition> <ParameterCondition parameterRef="" value="" rule="lessThan"/> </ByValueCondition> </Condition> <Condition name="criteria_KeepLaneTest" delay="0" conditionEdge="rising"> <ByValueCondition> <ParameterCondition parameterRef="" value="" rule="lessThan"/> </ByValueCondition> </Condition> <Condition name="criteria_CollisionTest" delay="0" conditionEdge="rising"> <ByValueCondition> <ParameterCondition parameterRef="" value="" rule="lessThan"/> </ByValueCondition> </Condition> <Condition name="criteria_DrivenDistanceTest" delay="0" conditionEdge="rising"> <ByValueCondition> <ParameterCondition parameterRef="distance_success" value="100" rule="lessThan"/> </ByValueCondition> </Condition> </ConditionGroup> </StopTrigger> </Storyboard> </OpenSCENARIO> ```
Here is the result: ``` <?xml version="1.0" ?> <OpenSCENARIO> <FileHeader revMajor="1" revMinor="0" date="2020-03-24T12:00:00" description="CARLA:LaneChangeSimple" author=""/> <ParameterDeclarations/> <CatalogLocations/> <RoadNetwork> <LogicFile filepath="Town04"/> <SceneGraphFile filepath=""/> </RoadNetwork> <Entities> <ScenarioObject name="hero"> <Vehicle name="vehicle.tesla.model3" vehicleCategory="car"> <ParameterDeclarations/> <Performance maxSpeed="69.444" maxAcceleration="200" maxDeceleration="10.0"/> <BoundingBox> <Center x="1.5" y="0.0" z="0.9"/> <Dimensions width="2.1" length="4.5" height="1.8"/> </BoundingBox> <Axles> <FrontAxle maxSteering="0.5" wheelDiameter="0.6" trackWidth="1.8" positionX="3.1" positionZ="0.3"/> <RearAxle maxSteering="0.0" wheelDiameter="0.6" trackWidth="1.8" positionX="0.0" positionZ="0.3"/> </Axles> <Properties> <Property name="type" value="ego_vehicle"/> </Properties> </Vehicle> </ScenarioObject> <ScenarioObject name="adversary"> <Vehicle name="vehicle.lincoln.mkz_2017" vehicleCategory="car"> <ParameterDeclarations/> <Performance maxSpeed="69.444" maxAcceleration="200" maxDeceleration="10.0"/> <BoundingBox> <Center x="1.5" y="0.0" z="0.9"/> <Dimensions width="2.1" length="4.5" height="1.8"/> </BoundingBox> <Axles> <FrontAxle maxSteering="0.5" wheelDiameter="0.6" trackWidth="1.8" positionX="3.1" positionZ="0.3"/> <RearAxle maxSteering="0.0" wheelDiameter="0.6" trackWidth="1.8" positionX="0.0" positionZ="0.3"/> </Axles> <Properties> <Property name="type" value="simulation"/> </Properties> </Vehicle> </ScenarioObject> <ScenarioObject name="standing"> <Vehicle name="vehicle.volkswagen.t2" vehicleCategory="car"> <ParameterDeclarations/> <Performance maxSpeed="69.444" maxAcceleration="200" maxDeceleration="10.0"/> <BoundingBox> <Center x="1.5" y="0.0" z="0.9"/> <Dimensions width="2.1" length="4.5" height="1.8"/> </BoundingBox> <Axles> <FrontAxle maxSteering="0.5" wheelDiameter="0.6" trackWidth="1.8" positionX="3.1" positionZ="0.3"/> <RearAxle maxSteering="0.0" wheelDiameter="0.6" trackWidth="1.8" positionX="0.0" positionZ="0.3"/> </Axles> <Properties> <Property name="type" value="simulation"/> </Properties> </Vehicle> </ScenarioObject> <ScenarioObject name="pedestrian_close_to_hero_10239"> <Pedestrian model="walker.pedestrian.0001" mass="80" name="walker.pedestrian.0001" pedestrianCategory="pedestrian"> <ParameterDeclarations/> <BoundingBox> <Center x="1.5" y="0.0" z="0.9"/> <Dimensions width="2" length="2" height="2"/> </BoundingBox> <Properties> <Property name="type" value="simulation"/> </Properties> </Pedestrian> </ScenarioObject> <ScenarioObject name="pedestrian_close_to_standing_10240"> <Pedestrian model="walker.pedestrian.0001" mass="80" name="walker.pedestrian.0001" pedestrianCategory="pedestrian"> <ParameterDeclarations/> <BoundingBox> <Center x="1.5" y="0.0" z="0.9"/> <Dimensions width="2" length="2" height="2"/> </BoundingBox> <Properties> <Property name="type" value="simulation"/> </Properties> </Pedestrian> </ScenarioObject> <ScenarioObject name="pedestrian_close_to_adversary_10241"> <Pedestrian model="walker.pedestrian.0001" mass="80" name="walker.pedestrian.0001" pedestrianCategory="pedestrian"> <ParameterDeclarations/> <BoundingBox> <Center x="1.5" y="0.0" z="0.9"/> <Dimensions width="2" length="2" height="2"/> </BoundingBox> <Properties> <Property name="type" value="simulation"/> </Properties> </Pedestrian> </ScenarioObject> <ScenarioObject name="pedestrian_close_to_standing_10243"> <Pedestrian model="walker.pedestrian.0001" mass="80" name="walker.pedestrian.0001" pedestrianCategory="pedestrian"> <ParameterDeclarations/> <BoundingBox> <Center x="1.5" y="0.0" z="0.9"/> <Dimensions width="2" length="2" height="2"/> </BoundingBox> <Properties> <Property name="type" value="simulation"/> </Properties> </Pedestrian> </ScenarioObject> <ScenarioObject name="pedestrian_w_transform_10244"> <Pedestrian model="walker.pedestrian.0001" mass="80" name="walker.pedestrian.0001" pedestrianCategory="pedestrian"> <ParameterDeclarations/> <BoundingBox> <Center x="1.5" y="0.0" z="0.9"/> <Dimensions width="2" length="2" height="2"/> </BoundingBox> <Properties> <Property name="type" value="simulation"/> </Properties> </Pedestrian> </ScenarioObject> </Entities> <Storyboard> <Init> <Actions> <GlobalAction> <EnvironmentAction> <Environment name="Environment1"> <TimeOfDay animation="false" dateTime="2019-06-25T12:00:00"/> <Weather cloudState="free"> <Sun intensity="0.85" azimuth="0" elevation="1.31"/> <Fog visualRange="100000.0"/> <Precipitation precipitationType="dry" intensity="0.0"/> </Weather> <RoadCondition frictionScaleFactor="1.0"/> </Environment> </EnvironmentAction> </GlobalAction> <Private entityRef="hero"> <PrivateAction> <TeleportAction> <Position> <WorldPosition x="-9.4" y="-152.8" z="0.5" h="1.57079632679"/> </Position> </TeleportAction> </PrivateAction> <PrivateAction> <ControllerAction> <AssignControllerAction> <Controller name="HeroAgent"> <Properties> <Property name="module" value="external_control"/> </Properties> </Controller> </AssignControllerAction> <OverrideControllerValueAction> <Throttle value="0" active="false"/> <Brake value="0" active="false"/> <Clutch value="0" active="false"/> <ParkingBrake value="0" active="false"/> <SteeringWheel value="0" active="false"/> <Gear number="0" active="false"/> </OverrideControllerValueAction> </ControllerAction> </PrivateAction> </Private> <Private entityRef="adversary"> <PrivateAction> <TeleportAction> <Position> <WorldPosition x="-9.4" y="-71.0" z="0.5" h="1.57079632679"/> </Position> </TeleportAction> </PrivateAction> </Private> <Private entityRef="standing"> <PrivateAction> <TeleportAction> <Position> <WorldPosition x="-8.2" y="29.2" z="0.5" h="1.57079632679"/> </Position> </TeleportAction> </PrivateAction> </Private> <Private entityRef="pedestrian_close_to_hero_10239"> <PrivateAction> <TeleportAction> <Position> <WorldPosition x="-17.349199295043945" y="-151.82058715820312" z="0.0014286803780123591"/> </Position> </TeleportAction> </PrivateAction> </Private> <Private entityRef="pedestrian_close_to_standing_10240"> <PrivateAction> <TeleportAction> <Position> <WorldPosition x="-9.378698348999023" y="25.943504333496094" z="0.0030613706912845373"/> </Position> </TeleportAction> </PrivateAction> </Private> <Private entityRef="pedestrian_close_to_adversary_10241"> <PrivateAction> <TeleportAction> <Position> <WorldPosition x="-7.510117053985596" y="-76.75927734375" z="0.033807218074798584"/> </Position> </TeleportAction> </PrivateAction> </Private> <Private entityRef="pedestrian_close_to_standing_10243"> <PrivateAction> <TeleportAction> <Position> <WorldPosition x="-12.493127822875977" y="31.78866195678711" z="0.0030450820922851562"/> </Position> </TeleportAction> </PrivateAction> </Private> <Private entityRef="pedestrian_w_transform_10244"> <PrivateAction> <TeleportAction> <Position> <WorldPosition x="30.834413528442383" y="27.786739349365234" z="0.5"/> </Position> </TeleportAction> </PrivateAction> </Private> </Actions> </Init> <Story name="MyStory"> <Act name="Behavior"> <ManeuverGroup maximumExecutionCount="1" name="ManeuverSequence"> <Actors selectTriggeringEntities="false"> <EntityRef entityRef="adversary"/> </Actors> <Maneuver name="LaneChangeSimpleManeuver"> <Event name="AdversaryAccelerates" priority="overwrite"> <Action name="AdversaryAccelerates"> <PrivateAction> <LongitudinalAction> <SpeedAction> <SpeedActionDynamics dynamicsShape="step" value="50" dynamicsDimension="distance"/> <SpeedActionTarget> <AbsoluteTargetSpeed value="5.0"/> </SpeedActionTarget> </SpeedAction> </LongitudinalAction> </PrivateAction> </Action> <StartTrigger> <ConditionGroup> <Condition name="StartCondition" delay="0" conditionEdge="rising"> <ByEntityCondition> <TriggeringEntities triggeringEntitiesRule="any"> <EntityRef entityRef="hero"/> </TriggeringEntities> <EntityCondition> <RelativeDistanceCondition entityRef="adversary" relativeDistanceType="cartesianDistance" value="40.0" freespace="false" rule="lessThan"/> </EntityCondition> </ByEntityCondition> </Condition> </ConditionGroup> </StartTrigger> </Event> <Event name="AdversaryChangesLane" priority="overwrite"> <Action name="AdversaryChangesLane"> <PrivateAction> <LateralAction> <LaneChangeAction> <LaneChangeActionDynamics dynamicsShape="linear" value="25" dynamicsDimension="distance"/> <LaneChangeTarget> <RelativeTargetLane entityRef="adversary" value="-1"/> </LaneChangeTarget> </LaneChangeAction> </LateralAction> </PrivateAction> </Action> <StartTrigger> <ConditionGroup> <Condition name="AfterAdversaryAccelerates" delay="0" conditionEdge="rising"> <ByValueCondition> <StoryboardElementStateCondition storyboardElementType="action" storyboardElementRef="AdversaryAccelerates" state="completeState"/> </ByValueCondition> </Condition> </ConditionGroup> </StartTrigger> </Event> </Maneuver> </ManeuverGroup> <StartTrigger> <ConditionGroup> <Condition name="OverallStartCondition" delay="0" conditionEdge="rising"> <ByEntityCondition> <TriggeringEntities triggeringEntitiesRule="any"> <EntityRef entityRef="hero"/> </TriggeringEntities> <EntityCondition> <TraveledDistanceCondition value="1.0"/> </EntityCondition> </ByEntityCondition> </Condition> <Condition name="StartTime" delay="0" conditionEdge="rising"> <ByValueCondition> <SimulationTimeCondition value="0" rule="equalTo"/> </ByValueCondition> </Condition> </ConditionGroup> </StartTrigger> <StopTrigger> <ConditionGroup> <Condition name="EndCondition" delay="0" conditionEdge="rising"> <ByEntityCondition> <TriggeringEntities triggeringEntitiesRule="any"> <EntityRef entityRef="hero"/> </TriggeringEntities> <EntityCondition> <TraveledDistanceCondition value="200.0"/> </EntityCondition> </ByEntityCondition> </Condition> </ConditionGroup> </StopTrigger> </Act> </Story> <StopTrigger> <ConditionGroup> <Condition name="criteria_RunningStopTest" delay="0" conditionEdge="rising"> <ByValueCondition> <ParameterCondition parameterRef="" value="" rule="lessThan"/> </ByValueCondition> </Condition> <Condition name="criteria_RunningRedLightTest" delay="0" conditionEdge="rising"> <ByValueCondition> <ParameterCondition parameterRef="" value="" rule="lessThan"/> </ByValueCondition> </Condition> <Condition name="criteria_WrongLaneTest" delay="0" conditionEdge="rising"> <ByValueCondition> <ParameterCondition parameterRef="" value="" rule="lessThan"/> </ByValueCondition> </Condition> <Condition name="criteria_OnSidewalkTest" delay="0" conditionEdge="rising"> <ByValueCondition> <ParameterCondition parameterRef="" value="" rule="lessThan"/> </ByValueCondition> </Condition> <Condition name="criteria_KeepLaneTest" delay="0" conditionEdge="rising"> <ByValueCondition> <ParameterCondition parameterRef="" value="" rule="lessThan"/> </ByValueCondition> </Condition> <Condition name="criteria_CollisionTest" delay="0" conditionEdge="rising"> <ByValueCondition> <ParameterCondition parameterRef="" value="" rule="lessThan"/> </ByValueCondition> </Condition> <Condition name="criteria_DrivenDistanceTest" delay="0" conditionEdge="rising"> <ByValueCondition> <ParameterCondition parameterRef="distance_success" value="100" rule="lessThan"/> </ByValueCondition> </Condition> </ConditionGroup> </StopTrigger> </Storyboard> </OpenSCENARIO> ```
i would like to direct you to add pedestrian close to standing? ``` <?xml version="1.0" ?> <OpenSCENARIO> <FileHeader revMajor="1" revMinor="0" date="2020-03-24T12:00:00" description="CARLA:LaneChangeSimple" author=""/> <ParameterDeclarations/> <CatalogLocations/> <RoadNetwork> <LogicFile filepath="Town04"/> <SceneGraphFile filepath=""/> </RoadNetwork> <Entities> <ScenarioObject name="hero"> <Vehicle name="vehicle.tesla.model3" vehicleCategory="car"> <ParameterDeclarations/> <Performance maxSpeed="69.444" maxAcceleration="200" maxDeceleration="10.0"/> <BoundingBox> <Center x="1.5" y="0.0" z="0.9"/> <Dimensions width="2.1" length="4.5" height="1.8"/> </BoundingBox> <Axles> <FrontAxle maxSteering="0.5" wheelDiameter="0.6" trackWidth="1.8" positionX="3.1" positionZ="0.3"/> <RearAxle maxSteering="0.0" wheelDiameter="0.6" trackWidth="1.8" positionX="0.0" positionZ="0.3"/> </Axles> <Properties> <Property name="type" value="ego_vehicle"/> </Properties> </Vehicle> </ScenarioObject> <ScenarioObject name="adversary"> <Vehicle name="vehicle.lincoln.mkz_2017" vehicleCategory="car"> <ParameterDeclarations/> <Performance maxSpeed="69.444" maxAcceleration="200" maxDeceleration="10.0"/> <BoundingBox> <Center x="1.5" y="0.0" z="0.9"/> <Dimensions width="2.1" length="4.5" height="1.8"/> </BoundingBox> <Axles> <FrontAxle maxSteering="0.5" wheelDiameter="0.6" trackWidth="1.8" positionX="3.1" positionZ="0.3"/> <RearAxle maxSteering="0.0" wheelDiameter="0.6" trackWidth="1.8" positionX="0.0" positionZ="0.3"/> </Axles> <Properties> <Property name="type" value="simulation"/> </Properties> </Vehicle> </ScenarioObject> <ScenarioObject name="standing"> <Vehicle name="vehicle.volkswagen.t2" vehicleCategory="car"> <ParameterDeclarations/> <Performance maxSpeed="69.444" maxAcceleration="200" maxDeceleration="10.0"/> <BoundingBox> <Center x="1.5" y="0.0" z="0.9"/> <Dimensions width="2.1" length="4.5" height="1.8"/> </BoundingBox> <Axles> <FrontAxle maxSteering="0.5" wheelDiameter="0.6" trackWidth="1.8" positionX="3.1" positionZ="0.3"/> <RearAxle maxSteering="0.0" wheelDiameter="0.6" trackWidth="1.8" positionX="0.0" positionZ="0.3"/> </Axles> <Properties> <Property name="type" value="simulation"/> </Properties> </Vehicle> </ScenarioObject> <ScenarioObject name="pedestrian_close_to_standing_8398"> <Pedestrian model="walker.pedestrian.0001" mass="80" name="walker.pedestrian.0001" pedestrianCategory="pedestrian"> <ParameterDeclarations/> <BoundingBox> <Center x="1.5" y="0.0" z="0.9"/> <Dimensions width="2" length="2" height="2"/> </BoundingBox> <Properties> <Property name="type" value="simulation"/> </Properties> </Pedestrian> </ScenarioObject> <ScenarioObject name="pedestrian_close_to_adversary_8399"> <Pedestrian model="walker.pedestrian.0001" mass="80" name="walker.pedestrian.0001" pedestrianCategory="pedestrian"> <ParameterDeclarations/> <BoundingBox> <Center x="1.5" y="0.0" z="0.9"/> <Dimensions width="2" length="2" height="2"/> </BoundingBox> <Properties> <Property name="type" value="simulation"/> </Properties> </Pedestrian> </ScenarioObject> <ScenarioObject name="pedestrian_close_to_hero_8400"> <Pedestrian model="walker.pedestrian.0001" mass="80" name="walker.pedestrian.0001" pedestrianCategory="pedestrian"> <ParameterDeclarations/> <BoundingBox> <Center x="1.5" y="0.0" z="0.9"/> <Dimensions width="2" length="2" height="2"/> </BoundingBox> <Properties> <Property name="type" value="simulation"/> </Properties> </Pedestrian> </ScenarioObject> <ScenarioObject name="pedestrian_close_to_standing_8401"> <Pedestrian model="walker.pedestrian.0001" mass="80" name="walker.pedestrian.0001" pedestrianCategory="pedestrian"> <ParameterDeclarations/> <BoundingBox> <Center x="1.5" y="0.0" z="0.9"/> <Dimensions width="2" length="2" height="2"/> </BoundingBox> <Properties> <Property name="type" value="simulation"/> </Properties> </Pedestrian> </ScenarioObject> <ScenarioObject name="pedestrian_close_to_standing_8402"> <Pedestrian model="walker.pedestrian.0001" mass="80" name="walker.pedestrian.0001" pedestrianCategory="pedestrian"> <ParameterDeclarations/> <BoundingBox> <Center x="1.5" y="0.0" z="0.9"/> <Dimensions width="2" length="2" height="2"/> </BoundingBox> <Properties> <Property name="type" value="simulation"/> </Properties> </Pedestrian> </ScenarioObject> <ScenarioObject name="pedestrian_w_transform_8403"> <Pedestrian model="walker.pedestrian.0001" mass="80" name="walker.pedestrian.0001" pedestrianCategory="pedestrian"> <ParameterDeclarations/> <BoundingBox> <Center x="1.5" y="0.0" z="0.9"/> <Dimensions width="2" length="2" height="2"/> </BoundingBox> <Properties> <Property name="type" value="simulation"/> </Properties> </Pedestrian> </ScenarioObject> <ScenarioObject name="pedestrian_w_transform_8404"> <Pedestrian model="walker.pedestrian.0001" mass="80" name="walker.pedestrian.0001" pedestrianCategory="pedestrian"> <ParameterDeclarations/> <BoundingBox> <Center x="1.5" y="0.0" z="0.9"/> <Dimensions width="2" length="2" height="2"/> </BoundingBox> <Properties> <Property name="type" value="simulation"/> </Properties> </Pedestrian> </ScenarioObject> <ScenarioObject name="pedestrian_w_transform_8405"> <Pedestrian model="walker.pedestrian.0001" mass="80" name="walker.pedestrian.0001" pedestrianCategory="pedestrian"> <ParameterDeclarations/> <BoundingBox> <Center x="1.5" y="0.0" z="0.9"/> <Dimensions width="2" length="2" height="2"/> </BoundingBox> <Properties> <Property name="type" value="simulation"/> </Properties> </Pedestrian> </ScenarioObject> <ScenarioObject name="pedestrian_close_to_hero_8406"> <Pedestrian model="walker.pedestrian.0001" mass="80" name="walker.pedestrian.0001" pedestrianCategory="pedestrian"> <ParameterDeclarations/> <BoundingBox> <Center x="1.5" y="0.0" z="0.9"/> <Dimensions width="2" length="2" height="2"/> </BoundingBox> <Properties> <Property name="type" value="simulation"/> </Properties> </Pedestrian> </ScenarioObject> </Entities> <Storyboard> <Init> <Actions> <GlobalAction> <EnvironmentAction> <Environment name="Environment1"> <TimeOfDay animation="false" dateTime="2019-06-25T12:00:00"/> <Weather cloudState="free"> <Sun intensity="0.85" azimuth="0" elevation="1.31"/> <Fog visualRange="100000.0"/> <Precipitation precipitationType="dry" intensity="0.0"/> </Weather> <RoadCondition frictionScaleFactor="1.0"/> </Environment> </EnvironmentAction> </GlobalAction> <Private entityRef="hero"> <PrivateAction> <TeleportAction> <Position> <WorldPosition x="-9.4" y="-152.8" z="0.5" h="1.57079632679"/> </Position> </TeleportAction> </PrivateAction> <PrivateAction> <ControllerAction> <AssignControllerAction> <Controller name="HeroAgent"> <Properties> <Property name="module" value="external_control"/> </Properties> </Controller> </AssignControllerAction> <OverrideControllerValueAction> <Throttle value="0" active="false"/> <Brake value="0" active="false"/> <Clutch value="0" active="false"/> <ParkingBrake value="0" active="false"/> <SteeringWheel value="0" active="false"/> <Gear number="0" active="false"/> </OverrideControllerValueAction> </ControllerAction> </PrivateAction> </Private> <Private entityRef="adversary"> <PrivateAction> <TeleportAction> <Position> <WorldPosition x="-9.4" y="-71.0" z="0.5" h="1.57079632679"/> </Position> </TeleportAction> </PrivateAction> </Private> <Private entityRef="standing"> <PrivateAction> <TeleportAction> <Position> <WorldPosition x="-8.2" y="29.2" z="0.5" h="1.57079632679"/> </Position> </TeleportAction> </PrivateAction> </Private> <Private entityRef="pedestrian_close_to_standing_8398"> <PrivateAction> <TeleportAction> <Position> <WorldPosition x="-5.283945083618164" y="33.915496826171875" z="0.0030720520298928022"/> </Position> </TeleportAction> </PrivateAction> </Private> <Private entityRef="pedestrian_close_to_adversary_8399"> <PrivateAction> <TeleportAction> <Position> <WorldPosition x="1.611064076423645" y="-76.38473510742188" z="0.03382560610771179"/> </Position> </TeleportAction> </PrivateAction> </Private> <Private entityRef="pedestrian_close_to_hero_8400"> <PrivateAction> <TeleportAction> <Position> <WorldPosition x="-13.116378784179688" y="-157.4370880126953" z="0.0014286803780123591"/> </Position> </TeleportAction> </PrivateAction> </Private> <Private entityRef="pedestrian_close_to_standing_8401"> <PrivateAction> <TeleportAction> <Position> <WorldPosition x="-1.0835835933685303" y="33.751102447509766" z="0.003042526077479124"/> </Position> </TeleportAction> </PrivateAction> </Private> <Private entityRef="pedestrian_close_to_standing_8402"> <PrivateAction> <TeleportAction> <Position> <WorldPosition x="-24.655014038085938" y="32.4586181640625" z="0.0030276107136160135"/> </Position> </TeleportAction> </PrivateAction> </Private> <Private entityRef="pedestrian_w_transform_8403"> <PrivateAction> <TeleportAction> <Position> <WorldPosition x="-82.34716796875" y="-55.85481262207031" z="0.5"/> </Position> </TeleportAction> </PrivateAction> </Private> <Private entityRef="pedestrian_w_transform_8404"> <PrivateAction> <TeleportAction> <Position> <WorldPosition x="71.01288604736328" y="85.01848602294922" z="0.5"/> </Position> </TeleportAction> </PrivateAction> </Private> <Private entityRef="pedestrian_w_transform_8405"> <PrivateAction> <TeleportAction> <Position> <WorldPosition x="17.701820373535156" y="15.382820129394531" z="0.5"/> </Position> </TeleportAction> </PrivateAction> </Private> <Private entityRef="pedestrian_close_to_hero_8406"> <PrivateAction> <TeleportAction> <Position> <WorldPosition x="-6.531941890716553" y="-154.69140625" z="0.0014286803780123591"/> </Position> </TeleportAction> </PrivateAction> </Private> </Actions> </Init> <Story name="MyStory"> <Act name="Behavior"> <ManeuverGroup maximumExecutionCount="1" name="ManeuverSequence"> <Actors selectTriggeringEntities="false"> <EntityRef entityRef="adversary"/> </Actors> <Maneuver name="LaneChangeSimpleManeuver"> <Event name="AdversaryAccelerates" priority="overwrite"> <Action name="AdversaryAccelerates"> <PrivateAction> <LongitudinalAction> <SpeedAction> <SpeedActionDynamics dynamicsShape="step" value="50" dynamicsDimension="distance"/> <SpeedActionTarget> <AbsoluteTargetSpeed value="5.0"/> </SpeedActionTarget> </SpeedAction> </LongitudinalAction> </PrivateAction> </Action> <StartTrigger> <ConditionGroup> <Condition name="StartCondition" delay="0" conditionEdge="rising"> <ByEntityCondition> <TriggeringEntities triggeringEntitiesRule="any"> <EntityRef entityRef="hero"/> </TriggeringEntities> <EntityCondition> <RelativeDistanceCondition entityRef="adversary" relativeDistanceType="cartesianDistance" value="40.0" freespace="false" rule="lessThan"/> </EntityCondition> </ByEntityCondition> </Condition> </ConditionGroup> </StartTrigger> </Event> <Event name="AdversaryChangesLane" priority="overwrite"> <Action name="AdversaryChangesLane"> <PrivateAction> <LateralAction> <LaneChangeAction> <LaneChangeActionDynamics dynamicsShape="linear" value="25" dynamicsDimension="distance"/> <LaneChangeTarget> <RelativeTargetLane entityRef="adversary" value="-1"/> </LaneChangeTarget> </LaneChangeAction> </LateralAction> </PrivateAction> </Action> <StartTrigger> <ConditionGroup> <Condition name="AfterAdversaryAccelerates" delay="0" conditionEdge="rising"> <ByValueCondition> <StoryboardElementStateCondition storyboardElementType="action" storyboardElementRef="AdversaryAccelerates" state="completeState"/> </ByValueCondition> </Condition> </ConditionGroup> </StartTrigger> </Event> </Maneuver> </ManeuverGroup> <StartTrigger> <ConditionGroup> <Condition name="OverallStartCondition" delay="0" conditionEdge="rising"> <ByEntityCondition> <TriggeringEntities triggeringEntitiesRule="any"> <EntityRef entityRef="hero"/> </TriggeringEntities> <EntityCondition> <TraveledDistanceCondition value="1.0"/> </EntityCondition> </ByEntityCondition> </Condition> <Condition name="StartTime" delay="0" conditionEdge="rising"> <ByValueCondition> <SimulationTimeCondition value="0" rule="equalTo"/> </ByValueCondition> </Condition> </ConditionGroup> </StartTrigger> <StopTrigger> <ConditionGroup> <Condition name="EndCondition" delay="0" conditionEdge="rising"> <ByEntityCondition> <TriggeringEntities triggeringEntitiesRule="any"> <EntityRef entityRef="hero"/> </TriggeringEntities> <EntityCondition> <TraveledDistanceCondition value="200.0"/> </EntityCondition> </ByEntityCondition> </Condition> </ConditionGroup> </StopTrigger> </Act> </Story> <StopTrigger> <ConditionGroup> <Condition name="criteria_RunningStopTest" delay="0" conditionEdge="rising"> <ByValueCondition> <ParameterCondition parameterRef="" value="" rule="lessThan"/> </ByValueCondition> </Condition> <Condition name="criteria_RunningRedLightTest" delay="0" conditionEdge="rising"> <ByValueCondition> <ParameterCondition parameterRef="" value="" rule="lessThan"/> </ByValueCondition> </Condition> <Condition name="criteria_WrongLaneTest" delay="0" conditionEdge="rising"> <ByValueCondition> <ParameterCondition parameterRef="" value="" rule="lessThan"/> </ByValueCondition> </Condition> <Condition name="criteria_OnSidewalkTest" delay="0" conditionEdge="rising"> <ByValueCondition> <ParameterCondition parameterRef="" value="" rule="lessThan"/> </ByValueCondition> </Condition> <Condition name="criteria_KeepLaneTest" delay="0" conditionEdge="rising"> <ByValueCondition> <ParameterCondition parameterRef="" value="" rule="lessThan"/> </ByValueCondition> </Condition> <Condition name="criteria_CollisionTest" delay="0" conditionEdge="rising"> <ByValueCondition> <ParameterCondition parameterRef="" value="" rule="lessThan"/> </ByValueCondition> </Condition> <Condition name="criteria_DrivenDistanceTest" delay="0" conditionEdge="rising"> <ByValueCondition> <ParameterCondition parameterRef="distance_success" value="100" rule="lessThan"/> </ByValueCondition> </Condition> </ConditionGroup> </StopTrigger> </Storyboard> </OpenSCENARIO> ```
Here is the result: ``` <?xml version="1.0" ?> <OpenSCENARIO> <FileHeader revMajor="1" revMinor="0" date="2020-03-24T12:00:00" description="CARLA:LaneChangeSimple" author=""/> <ParameterDeclarations/> <CatalogLocations/> <RoadNetwork> <LogicFile filepath="Town04"/> <SceneGraphFile filepath=""/> </RoadNetwork> <Entities> <ScenarioObject name="hero"> <Vehicle name="vehicle.tesla.model3" vehicleCategory="car"> <ParameterDeclarations/> <Performance maxSpeed="69.444" maxAcceleration="200" maxDeceleration="10.0"/> <BoundingBox> <Center x="1.5" y="0.0" z="0.9"/> <Dimensions width="2.1" length="4.5" height="1.8"/> </BoundingBox> <Axles> <FrontAxle maxSteering="0.5" wheelDiameter="0.6" trackWidth="1.8" positionX="3.1" positionZ="0.3"/> <RearAxle maxSteering="0.0" wheelDiameter="0.6" trackWidth="1.8" positionX="0.0" positionZ="0.3"/> </Axles> <Properties> <Property name="type" value="ego_vehicle"/> </Properties> </Vehicle> </ScenarioObject> <ScenarioObject name="adversary"> <Vehicle name="vehicle.lincoln.mkz_2017" vehicleCategory="car"> <ParameterDeclarations/> <Performance maxSpeed="69.444" maxAcceleration="200" maxDeceleration="10.0"/> <BoundingBox> <Center x="1.5" y="0.0" z="0.9"/> <Dimensions width="2.1" length="4.5" height="1.8"/> </BoundingBox> <Axles> <FrontAxle maxSteering="0.5" wheelDiameter="0.6" trackWidth="1.8" positionX="3.1" positionZ="0.3"/> <RearAxle maxSteering="0.0" wheelDiameter="0.6" trackWidth="1.8" positionX="0.0" positionZ="0.3"/> </Axles> <Properties> <Property name="type" value="simulation"/> </Properties> </Vehicle> </ScenarioObject> <ScenarioObject name="standing"> <Vehicle name="vehicle.volkswagen.t2" vehicleCategory="car"> <ParameterDeclarations/> <Performance maxSpeed="69.444" maxAcceleration="200" maxDeceleration="10.0"/> <BoundingBox> <Center x="1.5" y="0.0" z="0.9"/> <Dimensions width="2.1" length="4.5" height="1.8"/> </BoundingBox> <Axles> <FrontAxle maxSteering="0.5" wheelDiameter="0.6" trackWidth="1.8" positionX="3.1" positionZ="0.3"/> <RearAxle maxSteering="0.0" wheelDiameter="0.6" trackWidth="1.8" positionX="0.0" positionZ="0.3"/> </Axles> <Properties> <Property name="type" value="simulation"/> </Properties> </Vehicle> </ScenarioObject> <ScenarioObject name="pedestrian_close_to_standing_8398"> <Pedestrian model="walker.pedestrian.0001" mass="80" name="walker.pedestrian.0001" pedestrianCategory="pedestrian"> <ParameterDeclarations/> <BoundingBox> <Center x="1.5" y="0.0" z="0.9"/> <Dimensions width="2" length="2" height="2"/> </BoundingBox> <Properties> <Property name="type" value="simulation"/> </Properties> </Pedestrian> </ScenarioObject> <ScenarioObject name="pedestrian_close_to_adversary_8399"> <Pedestrian model="walker.pedestrian.0001" mass="80" name="walker.pedestrian.0001" pedestrianCategory="pedestrian"> <ParameterDeclarations/> <BoundingBox> <Center x="1.5" y="0.0" z="0.9"/> <Dimensions width="2" length="2" height="2"/> </BoundingBox> <Properties> <Property name="type" value="simulation"/> </Properties> </Pedestrian> </ScenarioObject> <ScenarioObject name="pedestrian_close_to_hero_8400"> <Pedestrian model="walker.pedestrian.0001" mass="80" name="walker.pedestrian.0001" pedestrianCategory="pedestrian"> <ParameterDeclarations/> <BoundingBox> <Center x="1.5" y="0.0" z="0.9"/> <Dimensions width="2" length="2" height="2"/> </BoundingBox> <Properties> <Property name="type" value="simulation"/> </Properties> </Pedestrian> </ScenarioObject> <ScenarioObject name="pedestrian_close_to_standing_8401"> <Pedestrian model="walker.pedestrian.0001" mass="80" name="walker.pedestrian.0001" pedestrianCategory="pedestrian"> <ParameterDeclarations/> <BoundingBox> <Center x="1.5" y="0.0" z="0.9"/> <Dimensions width="2" length="2" height="2"/> </BoundingBox> <Properties> <Property name="type" value="simulation"/> </Properties> </Pedestrian> </ScenarioObject> <ScenarioObject name="pedestrian_close_to_standing_8402"> <Pedestrian model="walker.pedestrian.0001" mass="80" name="walker.pedestrian.0001" pedestrianCategory="pedestrian"> <ParameterDeclarations/> <BoundingBox> <Center x="1.5" y="0.0" z="0.9"/> <Dimensions width="2" length="2" height="2"/> </BoundingBox> <Properties> <Property name="type" value="simulation"/> </Properties> </Pedestrian> </ScenarioObject> <ScenarioObject name="pedestrian_w_transform_8403"> <Pedestrian model="walker.pedestrian.0001" mass="80" name="walker.pedestrian.0001" pedestrianCategory="pedestrian"> <ParameterDeclarations/> <BoundingBox> <Center x="1.5" y="0.0" z="0.9"/> <Dimensions width="2" length="2" height="2"/> </BoundingBox> <Properties> <Property name="type" value="simulation"/> </Properties> </Pedestrian> </ScenarioObject> <ScenarioObject name="pedestrian_w_transform_8404"> <Pedestrian model="walker.pedestrian.0001" mass="80" name="walker.pedestrian.0001" pedestrianCategory="pedestrian"> <ParameterDeclarations/> <BoundingBox> <Center x="1.5" y="0.0" z="0.9"/> <Dimensions width="2" length="2" height="2"/> </BoundingBox> <Properties> <Property name="type" value="simulation"/> </Properties> </Pedestrian> </ScenarioObject> <ScenarioObject name="pedestrian_w_transform_8405"> <Pedestrian model="walker.pedestrian.0001" mass="80" name="walker.pedestrian.0001" pedestrianCategory="pedestrian"> <ParameterDeclarations/> <BoundingBox> <Center x="1.5" y="0.0" z="0.9"/> <Dimensions width="2" length="2" height="2"/> </BoundingBox> <Properties> <Property name="type" value="simulation"/> </Properties> </Pedestrian> </ScenarioObject> <ScenarioObject name="pedestrian_close_to_hero_8406"> <Pedestrian model="walker.pedestrian.0001" mass="80" name="walker.pedestrian.0001" pedestrianCategory="pedestrian"> <ParameterDeclarations/> <BoundingBox> <Center x="1.5" y="0.0" z="0.9"/> <Dimensions width="2" length="2" height="2"/> </BoundingBox> <Properties> <Property name="type" value="simulation"/> </Properties> </Pedestrian> </ScenarioObject> <ScenarioObject name="pedestrian_close_to_standing_8407"> <Pedestrian model="walker.pedestrian.0001" mass="80" name="walker.pedestrian.0001" pedestrianCategory="pedestrian"> <ParameterDeclarations/> <BoundingBox> <Center x="1.5" y="0.0" z="0.9"/> <Dimensions width="2" length="2" height="2"/> </BoundingBox> <Properties> <Property name="type" value="simulation"/> </Properties> </Pedestrian> </ScenarioObject> </Entities> <Storyboard> <Init> <Actions> <GlobalAction> <EnvironmentAction> <Environment name="Environment1"> <TimeOfDay animation="false" dateTime="2019-06-25T12:00:00"/> <Weather cloudState="free"> <Sun intensity="0.85" azimuth="0" elevation="1.31"/> <Fog visualRange="100000.0"/> <Precipitation precipitationType="dry" intensity="0.0"/> </Weather> <RoadCondition frictionScaleFactor="1.0"/> </Environment> </EnvironmentAction> </GlobalAction> <Private entityRef="hero"> <PrivateAction> <TeleportAction> <Position> <WorldPosition x="-9.4" y="-152.8" z="0.5" h="1.57079632679"/> </Position> </TeleportAction> </PrivateAction> <PrivateAction> <ControllerAction> <AssignControllerAction> <Controller name="HeroAgent"> <Properties> <Property name="module" value="external_control"/> </Properties> </Controller> </AssignControllerAction> <OverrideControllerValueAction> <Throttle value="0" active="false"/> <Brake value="0" active="false"/> <Clutch value="0" active="false"/> <ParkingBrake value="0" active="false"/> <SteeringWheel value="0" active="false"/> <Gear number="0" active="false"/> </OverrideControllerValueAction> </ControllerAction> </PrivateAction> </Private> <Private entityRef="adversary"> <PrivateAction> <TeleportAction> <Position> <WorldPosition x="-9.4" y="-71.0" z="0.5" h="1.57079632679"/> </Position> </TeleportAction> </PrivateAction> </Private> <Private entityRef="standing"> <PrivateAction> <TeleportAction> <Position> <WorldPosition x="-8.2" y="29.2" z="0.5" h="1.57079632679"/> </Position> </TeleportAction> </PrivateAction> </Private> <Private entityRef="pedestrian_close_to_standing_8398"> <PrivateAction> <TeleportAction> <Position> <WorldPosition x="-5.283945083618164" y="33.915496826171875" z="0.0030720520298928022"/> </Position> </TeleportAction> </PrivateAction> </Private> <Private entityRef="pedestrian_close_to_adversary_8399"> <PrivateAction> <TeleportAction> <Position> <WorldPosition x="1.611064076423645" y="-76.38473510742188" z="0.03382560610771179"/> </Position> </TeleportAction> </PrivateAction> </Private> <Private entityRef="pedestrian_close_to_hero_8400"> <PrivateAction> <TeleportAction> <Position> <WorldPosition x="-13.116378784179688" y="-157.4370880126953" z="0.0014286803780123591"/> </Position> </TeleportAction> </PrivateAction> </Private> <Private entityRef="pedestrian_close_to_standing_8401"> <PrivateAction> <TeleportAction> <Position> <WorldPosition x="-1.0835835933685303" y="33.751102447509766" z="0.003042526077479124"/> </Position> </TeleportAction> </PrivateAction> </Private> <Private entityRef="pedestrian_close_to_standing_8402"> <PrivateAction> <TeleportAction> <Position> <WorldPosition x="-24.655014038085938" y="32.4586181640625" z="0.0030276107136160135"/> </Position> </TeleportAction> </PrivateAction> </Private> <Private entityRef="pedestrian_w_transform_8403"> <PrivateAction> <TeleportAction> <Position> <WorldPosition x="-82.34716796875" y="-55.85481262207031" z="0.5"/> </Position> </TeleportAction> </PrivateAction> </Private> <Private entityRef="pedestrian_w_transform_8404"> <PrivateAction> <TeleportAction> <Position> <WorldPosition x="71.01288604736328" y="85.01848602294922" z="0.5"/> </Position> </TeleportAction> </PrivateAction> </Private> <Private entityRef="pedestrian_w_transform_8405"> <PrivateAction> <TeleportAction> <Position> <WorldPosition x="17.701820373535156" y="15.382820129394531" z="0.5"/> </Position> </TeleportAction> </PrivateAction> </Private> <Private entityRef="pedestrian_close_to_hero_8406"> <PrivateAction> <TeleportAction> <Position> <WorldPosition x="-6.531941890716553" y="-154.69140625" z="0.0014286803780123591"/> </Position> </TeleportAction> </PrivateAction> </Private> <Private entityRef="pedestrian_close_to_standing_8407"> <PrivateAction> <TeleportAction> <Position> <WorldPosition x="-12.120746612548828" y="35.37611389160156" z="0.0030262756627053022"/> </Position> </TeleportAction> </PrivateAction> </Private> </Actions> </Init> <Story name="MyStory"> <Act name="Behavior"> <ManeuverGroup maximumExecutionCount="1" name="ManeuverSequence"> <Actors selectTriggeringEntities="false"> <EntityRef entityRef="adversary"/> </Actors> <Maneuver name="LaneChangeSimpleManeuver"> <Event name="AdversaryAccelerates" priority="overwrite"> <Action name="AdversaryAccelerates"> <PrivateAction> <LongitudinalAction> <SpeedAction> <SpeedActionDynamics dynamicsShape="step" value="50" dynamicsDimension="distance"/> <SpeedActionTarget> <AbsoluteTargetSpeed value="5.0"/> </SpeedActionTarget> </SpeedAction> </LongitudinalAction> </PrivateAction> </Action> <StartTrigger> <ConditionGroup> <Condition name="StartCondition" delay="0" conditionEdge="rising"> <ByEntityCondition> <TriggeringEntities triggeringEntitiesRule="any"> <EntityRef entityRef="hero"/> </TriggeringEntities> <EntityCondition> <RelativeDistanceCondition entityRef="adversary" relativeDistanceType="cartesianDistance" value="40.0" freespace="false" rule="lessThan"/> </EntityCondition> </ByEntityCondition> </Condition> </ConditionGroup> </StartTrigger> </Event> <Event name="AdversaryChangesLane" priority="overwrite"> <Action name="AdversaryChangesLane"> <PrivateAction> <LateralAction> <LaneChangeAction> <LaneChangeActionDynamics dynamicsShape="linear" value="25" dynamicsDimension="distance"/> <LaneChangeTarget> <RelativeTargetLane entityRef="adversary" value="-1"/> </LaneChangeTarget> </LaneChangeAction> </LateralAction> </PrivateAction> </Action> <StartTrigger> <ConditionGroup> <Condition name="AfterAdversaryAccelerates" delay="0" conditionEdge="rising"> <ByValueCondition> <StoryboardElementStateCondition storyboardElementType="action" storyboardElementRef="AdversaryAccelerates" state="completeState"/> </ByValueCondition> </Condition> </ConditionGroup> </StartTrigger> </Event> </Maneuver> </ManeuverGroup> <StartTrigger> <ConditionGroup> <Condition name="OverallStartCondition" delay="0" conditionEdge="rising"> <ByEntityCondition> <TriggeringEntities triggeringEntitiesRule="any"> <EntityRef entityRef="hero"/> </TriggeringEntities> <EntityCondition> <TraveledDistanceCondition value="1.0"/> </EntityCondition> </ByEntityCondition> </Condition> <Condition name="StartTime" delay="0" conditionEdge="rising"> <ByValueCondition> <SimulationTimeCondition value="0" rule="equalTo"/> </ByValueCondition> </Condition> </ConditionGroup> </StartTrigger> <StopTrigger> <ConditionGroup> <Condition name="EndCondition" delay="0" conditionEdge="rising"> <ByEntityCondition> <TriggeringEntities triggeringEntitiesRule="any"> <EntityRef entityRef="hero"/> </TriggeringEntities> <EntityCondition> <TraveledDistanceCondition value="200.0"/> </EntityCondition> </ByEntityCondition> </Condition> </ConditionGroup> </StopTrigger> </Act> </Story> <StopTrigger> <ConditionGroup> <Condition name="criteria_RunningStopTest" delay="0" conditionEdge="rising"> <ByValueCondition> <ParameterCondition parameterRef="" value="" rule="lessThan"/> </ByValueCondition> </Condition> <Condition name="criteria_RunningRedLightTest" delay="0" conditionEdge="rising"> <ByValueCondition> <ParameterCondition parameterRef="" value="" rule="lessThan"/> </ByValueCondition> </Condition> <Condition name="criteria_WrongLaneTest" delay="0" conditionEdge="rising"> <ByValueCondition> <ParameterCondition parameterRef="" value="" rule="lessThan"/> </ByValueCondition> </Condition> <Condition name="criteria_OnSidewalkTest" delay="0" conditionEdge="rising"> <ByValueCondition> <ParameterCondition parameterRef="" value="" rule="lessThan"/> </ByValueCondition> </Condition> <Condition name="criteria_KeepLaneTest" delay="0" conditionEdge="rising"> <ByValueCondition> <ParameterCondition parameterRef="" value="" rule="lessThan"/> </ByValueCondition> </Condition> <Condition name="criteria_CollisionTest" delay="0" conditionEdge="rising"> <ByValueCondition> <ParameterCondition parameterRef="" value="" rule="lessThan"/> </ByValueCondition> </Condition> <Condition name="criteria_DrivenDistanceTest" delay="0" conditionEdge="rising"> <ByValueCondition> <ParameterCondition parameterRef="distance_success" value="100" rule="lessThan"/> </ByValueCondition> </Condition> </ConditionGroup> </StopTrigger> </Storyboard> </OpenSCENARIO> ```
i would like you to add pedestrian at location (87.27, -76.56, 0.5)? ``` <?xml version="1.0" ?> <OpenSCENARIO> <FileHeader revMajor="1" revMinor="0" date="2020-03-24T12:00:00" description="CARLA:LaneChangeSimple" author=""/> <ParameterDeclarations/> <CatalogLocations/> <RoadNetwork> <LogicFile filepath="Town04"/> <SceneGraphFile filepath=""/> </RoadNetwork> <Entities> <ScenarioObject name="hero"> <Vehicle name="vehicle.tesla.model3" vehicleCategory="car"> <ParameterDeclarations/> <Performance maxSpeed="69.444" maxAcceleration="200" maxDeceleration="10.0"/> <BoundingBox> <Center x="1.5" y="0.0" z="0.9"/> <Dimensions width="2.1" length="4.5" height="1.8"/> </BoundingBox> <Axles> <FrontAxle maxSteering="0.5" wheelDiameter="0.6" trackWidth="1.8" positionX="3.1" positionZ="0.3"/> <RearAxle maxSteering="0.0" wheelDiameter="0.6" trackWidth="1.8" positionX="0.0" positionZ="0.3"/> </Axles> <Properties> <Property name="type" value="ego_vehicle"/> </Properties> </Vehicle> </ScenarioObject> <ScenarioObject name="adversary"> <Vehicle name="vehicle.lincoln.mkz_2017" vehicleCategory="car"> <ParameterDeclarations/> <Performance maxSpeed="69.444" maxAcceleration="200" maxDeceleration="10.0"/> <BoundingBox> <Center x="1.5" y="0.0" z="0.9"/> <Dimensions width="2.1" length="4.5" height="1.8"/> </BoundingBox> <Axles> <FrontAxle maxSteering="0.5" wheelDiameter="0.6" trackWidth="1.8" positionX="3.1" positionZ="0.3"/> <RearAxle maxSteering="0.0" wheelDiameter="0.6" trackWidth="1.8" positionX="0.0" positionZ="0.3"/> </Axles> <Properties> <Property name="type" value="simulation"/> </Properties> </Vehicle> </ScenarioObject> <ScenarioObject name="standing"> <Vehicle name="vehicle.volkswagen.t2" vehicleCategory="car"> <ParameterDeclarations/> <Performance maxSpeed="69.444" maxAcceleration="200" maxDeceleration="10.0"/> <BoundingBox> <Center x="1.5" y="0.0" z="0.9"/> <Dimensions width="2.1" length="4.5" height="1.8"/> </BoundingBox> <Axles> <FrontAxle maxSteering="0.5" wheelDiameter="0.6" trackWidth="1.8" positionX="3.1" positionZ="0.3"/> <RearAxle maxSteering="0.0" wheelDiameter="0.6" trackWidth="1.8" positionX="0.0" positionZ="0.3"/> </Axles> <Properties> <Property name="type" value="simulation"/> </Properties> </Vehicle> </ScenarioObject> <ScenarioObject name="pedestrian_close_to_adversary_6148"> <Pedestrian model="walker.pedestrian.0001" mass="80" name="walker.pedestrian.0001" pedestrianCategory="pedestrian"> <ParameterDeclarations/> <BoundingBox> <Center x="1.5" y="0.0" z="0.9"/> <Dimensions width="2" length="2" height="2"/> </BoundingBox> <Properties> <Property name="type" value="simulation"/> </Properties> </Pedestrian> </ScenarioObject> <ScenarioObject name="pedestrian_close_to_adversary_6149"> <Pedestrian model="walker.pedestrian.0001" mass="80" name="walker.pedestrian.0001" pedestrianCategory="pedestrian"> <ParameterDeclarations/> <BoundingBox> <Center x="1.5" y="0.0" z="0.9"/> <Dimensions width="2" length="2" height="2"/> </BoundingBox> <Properties> <Property name="type" value="simulation"/> </Properties> </Pedestrian> </ScenarioObject> <ScenarioObject name="pedestrian_w_transform_6151"> <Pedestrian model="walker.pedestrian.0001" mass="80" name="walker.pedestrian.0001" pedestrianCategory="pedestrian"> <ParameterDeclarations/> <BoundingBox> <Center x="1.5" y="0.0" z="0.9"/> <Dimensions width="2" length="2" height="2"/> </BoundingBox> <Properties> <Property name="type" value="simulation"/> </Properties> </Pedestrian> </ScenarioObject> <ScenarioObject name="pedestrian_close_to_hero_6152"> <Pedestrian model="walker.pedestrian.0001" mass="80" name="walker.pedestrian.0001" pedestrianCategory="pedestrian"> <ParameterDeclarations/> <BoundingBox> <Center x="1.5" y="0.0" z="0.9"/> <Dimensions width="2" length="2" height="2"/> </BoundingBox> <Properties> <Property name="type" value="simulation"/> </Properties> </Pedestrian> </ScenarioObject> <ScenarioObject name="pedestrian_close_to_adversary_6153"> <Pedestrian model="walker.pedestrian.0001" mass="80" name="walker.pedestrian.0001" pedestrianCategory="pedestrian"> <ParameterDeclarations/> <BoundingBox> <Center x="1.5" y="0.0" z="0.9"/> <Dimensions width="2" length="2" height="2"/> </BoundingBox> <Properties> <Property name="type" value="simulation"/> </Properties> </Pedestrian> </ScenarioObject> <ScenarioObject name="pedestrian_w_transform_6154"> <Pedestrian model="walker.pedestrian.0001" mass="80" name="walker.pedestrian.0001" pedestrianCategory="pedestrian"> <ParameterDeclarations/> <BoundingBox> <Center x="1.5" y="0.0" z="0.9"/> <Dimensions width="2" length="2" height="2"/> </BoundingBox> <Properties> <Property name="type" value="simulation"/> </Properties> </Pedestrian> </ScenarioObject> <ScenarioObject name="pedestrian_w_transform_6155"> <Pedestrian model="walker.pedestrian.0001" mass="80" name="walker.pedestrian.0001" pedestrianCategory="pedestrian"> <ParameterDeclarations/> <BoundingBox> <Center x="1.5" y="0.0" z="0.9"/> <Dimensions width="2" length="2" height="2"/> </BoundingBox> <Properties> <Property name="type" value="simulation"/> </Properties> </Pedestrian> </ScenarioObject> <ScenarioObject name="pedestrian_close_to_hero_6156"> <Pedestrian model="walker.pedestrian.0001" mass="80" name="walker.pedestrian.0001" pedestrianCategory="pedestrian"> <ParameterDeclarations/> <BoundingBox> <Center x="1.5" y="0.0" z="0.9"/> <Dimensions width="2" length="2" height="2"/> </BoundingBox> <Properties> <Property name="type" value="simulation"/> </Properties> </Pedestrian> </ScenarioObject> </Entities> <Storyboard> <Init> <Actions> <GlobalAction> <EnvironmentAction> <Environment name="Environment1"> <TimeOfDay animation="false" dateTime="2019-06-25T12:00:00"/> <Weather cloudState="free"> <Sun intensity="0.85" azimuth="0" elevation="1.31"/> <Fog visualRange="100000.0"/> <Precipitation precipitationType="dry" intensity="0.0"/> </Weather> <RoadCondition frictionScaleFactor="1.0"/> </Environment> </EnvironmentAction> </GlobalAction> <Private entityRef="hero"> <PrivateAction> <TeleportAction> <Position> <WorldPosition x="-9.4" y="-152.8" z="0.5" h="1.57079632679"/> </Position> </TeleportAction> </PrivateAction> <PrivateAction> <ControllerAction> <AssignControllerAction> <Controller name="HeroAgent"> <Properties> <Property name="module" value="external_control"/> </Properties> </Controller> </AssignControllerAction> <OverrideControllerValueAction> <Throttle value="0" active="false"/> <Brake value="0" active="false"/> <Clutch value="0" active="false"/> <ParkingBrake value="0" active="false"/> <SteeringWheel value="0" active="false"/> <Gear number="0" active="false"/> </OverrideControllerValueAction> </ControllerAction> </PrivateAction> </Private> <Private entityRef="adversary"> <PrivateAction> <TeleportAction> <Position> <WorldPosition x="-9.4" y="-71.0" z="0.5" h="1.57079632679"/> </Position> </TeleportAction> </PrivateAction> </Private> <Private entityRef="standing"> <PrivateAction> <TeleportAction> <Position> <WorldPosition x="-8.2" y="29.2" z="0.5" h="1.57079632679"/> </Position> </TeleportAction> </PrivateAction> </Private> <Private entityRef="pedestrian_close_to_adversary_6148"> <PrivateAction> <TeleportAction> <Position> <WorldPosition x="-9.135247230529785" y="-85.72563171386719" z="0.03381916135549545"/> </Position> </TeleportAction> </PrivateAction> </Private> <Private entityRef="pedestrian_close_to_adversary_6149"> <PrivateAction> <TeleportAction> <Position> <WorldPosition x="-18.4620304107666" y="-78.46952819824219" z="0.033790551126003265"/> </Position> </TeleportAction> </PrivateAction> </Private> <Private entityRef="pedestrian_w_transform_6151"> <PrivateAction> <TeleportAction> <Position> <WorldPosition x="70.03360748291016" y="-38.38225555419922" z="0.5"/> </Position> </TeleportAction> </PrivateAction> </Private> <Private entityRef="pedestrian_close_to_hero_6152"> <PrivateAction> <TeleportAction> <Position> <WorldPosition x="-5.757301330566406" y="-156.9951934814453" z="0.0014286803780123591"/> </Position> </TeleportAction> </PrivateAction> </Private> <Private entityRef="pedestrian_close_to_adversary_6153"> <PrivateAction> <TeleportAction> <Position> <WorldPosition x="-17.42665672302246" y="-68.5287094116211" z="0.03381339833140373"/> </Position> </TeleportAction> </PrivateAction> </Private> <Private entityRef="pedestrian_w_transform_6154"> <PrivateAction> <TeleportAction> <Position> <WorldPosition x="-38.44252395629883" y="-20.741987228393555" z="0.5"/> </Position> </TeleportAction> </PrivateAction> </Private> <Private entityRef="pedestrian_w_transform_6155"> <PrivateAction> <TeleportAction> <Position> <WorldPosition x="13.687731742858887" y="-78.9107894897461" z="0.5"/> </Position> </TeleportAction> </PrivateAction> </Private> <Private entityRef="pedestrian_close_to_hero_6156"> <PrivateAction> <TeleportAction> <Position> <WorldPosition x="-6.61735200881958" y="-148.21487426757812" z="0.0014286803780123591"/> </Position> </TeleportAction> </PrivateAction> </Private> </Actions> </Init> <Story name="MyStory"> <Act name="Behavior"> <ManeuverGroup maximumExecutionCount="1" name="ManeuverSequence"> <Actors selectTriggeringEntities="false"> <EntityRef entityRef="adversary"/> </Actors> <Maneuver name="LaneChangeSimpleManeuver"> <Event name="AdversaryAccelerates" priority="overwrite"> <Action name="AdversaryAccelerates"> <PrivateAction> <LongitudinalAction> <SpeedAction> <SpeedActionDynamics dynamicsShape="step" value="50" dynamicsDimension="distance"/> <SpeedActionTarget> <AbsoluteTargetSpeed value="5.0"/> </SpeedActionTarget> </SpeedAction> </LongitudinalAction> </PrivateAction> </Action> <StartTrigger> <ConditionGroup> <Condition name="StartCondition" delay="0" conditionEdge="rising"> <ByEntityCondition> <TriggeringEntities triggeringEntitiesRule="any"> <EntityRef entityRef="hero"/> </TriggeringEntities> <EntityCondition> <RelativeDistanceCondition entityRef="adversary" relativeDistanceType="cartesianDistance" value="40.0" freespace="false" rule="lessThan"/> </EntityCondition> </ByEntityCondition> </Condition> </ConditionGroup> </StartTrigger> </Event> <Event name="AdversaryChangesLane" priority="overwrite"> <Action name="AdversaryChangesLane"> <PrivateAction> <LateralAction> <LaneChangeAction> <LaneChangeActionDynamics dynamicsShape="linear" value="25" dynamicsDimension="distance"/> <LaneChangeTarget> <RelativeTargetLane entityRef="adversary" value="-1"/> </LaneChangeTarget> </LaneChangeAction> </LateralAction> </PrivateAction> </Action> <StartTrigger> <ConditionGroup> <Condition name="AfterAdversaryAccelerates" delay="0" conditionEdge="rising"> <ByValueCondition> <StoryboardElementStateCondition storyboardElementType="action" storyboardElementRef="AdversaryAccelerates" state="completeState"/> </ByValueCondition> </Condition> </ConditionGroup> </StartTrigger> </Event> </Maneuver> </ManeuverGroup> <StartTrigger> <ConditionGroup> <Condition name="OverallStartCondition" delay="0" conditionEdge="rising"> <ByEntityCondition> <TriggeringEntities triggeringEntitiesRule="any"> <EntityRef entityRef="hero"/> </TriggeringEntities> <EntityCondition> <TraveledDistanceCondition value="1.0"/> </EntityCondition> </ByEntityCondition> </Condition> <Condition name="StartTime" delay="0" conditionEdge="rising"> <ByValueCondition> <SimulationTimeCondition value="0" rule="equalTo"/> </ByValueCondition> </Condition> </ConditionGroup> </StartTrigger> <StopTrigger> <ConditionGroup> <Condition name="EndCondition" delay="0" conditionEdge="rising"> <ByEntityCondition> <TriggeringEntities triggeringEntitiesRule="any"> <EntityRef entityRef="hero"/> </TriggeringEntities> <EntityCondition> <TraveledDistanceCondition value="200.0"/> </EntityCondition> </ByEntityCondition> </Condition> </ConditionGroup> </StopTrigger> </Act> </Story> <StopTrigger> <ConditionGroup> <Condition name="criteria_RunningStopTest" delay="0" conditionEdge="rising"> <ByValueCondition> <ParameterCondition parameterRef="" value="" rule="lessThan"/> </ByValueCondition> </Condition> <Condition name="criteria_RunningRedLightTest" delay="0" conditionEdge="rising"> <ByValueCondition> <ParameterCondition parameterRef="" value="" rule="lessThan"/> </ByValueCondition> </Condition> <Condition name="criteria_WrongLaneTest" delay="0" conditionEdge="rising"> <ByValueCondition> <ParameterCondition parameterRef="" value="" rule="lessThan"/> </ByValueCondition> </Condition> <Condition name="criteria_OnSidewalkTest" delay="0" conditionEdge="rising"> <ByValueCondition> <ParameterCondition parameterRef="" value="" rule="lessThan"/> </ByValueCondition> </Condition> <Condition name="criteria_KeepLaneTest" delay="0" conditionEdge="rising"> <ByValueCondition> <ParameterCondition parameterRef="" value="" rule="lessThan"/> </ByValueCondition> </Condition> <Condition name="criteria_CollisionTest" delay="0" conditionEdge="rising"> <ByValueCondition> <ParameterCondition parameterRef="" value="" rule="lessThan"/> </ByValueCondition> </Condition> <Condition name="criteria_DrivenDistanceTest" delay="0" conditionEdge="rising"> <ByValueCondition> <ParameterCondition parameterRef="distance_success" value="100" rule="lessThan"/> </ByValueCondition> </Condition> </ConditionGroup> </StopTrigger> </Storyboard> </OpenSCENARIO> ```
Here is the result: ``` <?xml version="1.0" ?> <OpenSCENARIO> <FileHeader revMajor="1" revMinor="0" date="2020-03-24T12:00:00" description="CARLA:LaneChangeSimple" author=""/> <ParameterDeclarations/> <CatalogLocations/> <RoadNetwork> <LogicFile filepath="Town04"/> <SceneGraphFile filepath=""/> </RoadNetwork> <Entities> <ScenarioObject name="hero"> <Vehicle name="vehicle.tesla.model3" vehicleCategory="car"> <ParameterDeclarations/> <Performance maxSpeed="69.444" maxAcceleration="200" maxDeceleration="10.0"/> <BoundingBox> <Center x="1.5" y="0.0" z="0.9"/> <Dimensions width="2.1" length="4.5" height="1.8"/> </BoundingBox> <Axles> <FrontAxle maxSteering="0.5" wheelDiameter="0.6" trackWidth="1.8" positionX="3.1" positionZ="0.3"/> <RearAxle maxSteering="0.0" wheelDiameter="0.6" trackWidth="1.8" positionX="0.0" positionZ="0.3"/> </Axles> <Properties> <Property name="type" value="ego_vehicle"/> </Properties> </Vehicle> </ScenarioObject> <ScenarioObject name="adversary"> <Vehicle name="vehicle.lincoln.mkz_2017" vehicleCategory="car"> <ParameterDeclarations/> <Performance maxSpeed="69.444" maxAcceleration="200" maxDeceleration="10.0"/> <BoundingBox> <Center x="1.5" y="0.0" z="0.9"/> <Dimensions width="2.1" length="4.5" height="1.8"/> </BoundingBox> <Axles> <FrontAxle maxSteering="0.5" wheelDiameter="0.6" trackWidth="1.8" positionX="3.1" positionZ="0.3"/> <RearAxle maxSteering="0.0" wheelDiameter="0.6" trackWidth="1.8" positionX="0.0" positionZ="0.3"/> </Axles> <Properties> <Property name="type" value="simulation"/> </Properties> </Vehicle> </ScenarioObject> <ScenarioObject name="standing"> <Vehicle name="vehicle.volkswagen.t2" vehicleCategory="car"> <ParameterDeclarations/> <Performance maxSpeed="69.444" maxAcceleration="200" maxDeceleration="10.0"/> <BoundingBox> <Center x="1.5" y="0.0" z="0.9"/> <Dimensions width="2.1" length="4.5" height="1.8"/> </BoundingBox> <Axles> <FrontAxle maxSteering="0.5" wheelDiameter="0.6" trackWidth="1.8" positionX="3.1" positionZ="0.3"/> <RearAxle maxSteering="0.0" wheelDiameter="0.6" trackWidth="1.8" positionX="0.0" positionZ="0.3"/> </Axles> <Properties> <Property name="type" value="simulation"/> </Properties> </Vehicle> </ScenarioObject> <ScenarioObject name="pedestrian_close_to_adversary_6148"> <Pedestrian model="walker.pedestrian.0001" mass="80" name="walker.pedestrian.0001" pedestrianCategory="pedestrian"> <ParameterDeclarations/> <BoundingBox> <Center x="1.5" y="0.0" z="0.9"/> <Dimensions width="2" length="2" height="2"/> </BoundingBox> <Properties> <Property name="type" value="simulation"/> </Properties> </Pedestrian> </ScenarioObject> <ScenarioObject name="pedestrian_close_to_adversary_6149"> <Pedestrian model="walker.pedestrian.0001" mass="80" name="walker.pedestrian.0001" pedestrianCategory="pedestrian"> <ParameterDeclarations/> <BoundingBox> <Center x="1.5" y="0.0" z="0.9"/> <Dimensions width="2" length="2" height="2"/> </BoundingBox> <Properties> <Property name="type" value="simulation"/> </Properties> </Pedestrian> </ScenarioObject> <ScenarioObject name="pedestrian_w_transform_6151"> <Pedestrian model="walker.pedestrian.0001" mass="80" name="walker.pedestrian.0001" pedestrianCategory="pedestrian"> <ParameterDeclarations/> <BoundingBox> <Center x="1.5" y="0.0" z="0.9"/> <Dimensions width="2" length="2" height="2"/> </BoundingBox> <Properties> <Property name="type" value="simulation"/> </Properties> </Pedestrian> </ScenarioObject> <ScenarioObject name="pedestrian_close_to_hero_6152"> <Pedestrian model="walker.pedestrian.0001" mass="80" name="walker.pedestrian.0001" pedestrianCategory="pedestrian"> <ParameterDeclarations/> <BoundingBox> <Center x="1.5" y="0.0" z="0.9"/> <Dimensions width="2" length="2" height="2"/> </BoundingBox> <Properties> <Property name="type" value="simulation"/> </Properties> </Pedestrian> </ScenarioObject> <ScenarioObject name="pedestrian_close_to_adversary_6153"> <Pedestrian model="walker.pedestrian.0001" mass="80" name="walker.pedestrian.0001" pedestrianCategory="pedestrian"> <ParameterDeclarations/> <BoundingBox> <Center x="1.5" y="0.0" z="0.9"/> <Dimensions width="2" length="2" height="2"/> </BoundingBox> <Properties> <Property name="type" value="simulation"/> </Properties> </Pedestrian> </ScenarioObject> <ScenarioObject name="pedestrian_w_transform_6154"> <Pedestrian model="walker.pedestrian.0001" mass="80" name="walker.pedestrian.0001" pedestrianCategory="pedestrian"> <ParameterDeclarations/> <BoundingBox> <Center x="1.5" y="0.0" z="0.9"/> <Dimensions width="2" length="2" height="2"/> </BoundingBox> <Properties> <Property name="type" value="simulation"/> </Properties> </Pedestrian> </ScenarioObject> <ScenarioObject name="pedestrian_w_transform_6155"> <Pedestrian model="walker.pedestrian.0001" mass="80" name="walker.pedestrian.0001" pedestrianCategory="pedestrian"> <ParameterDeclarations/> <BoundingBox> <Center x="1.5" y="0.0" z="0.9"/> <Dimensions width="2" length="2" height="2"/> </BoundingBox> <Properties> <Property name="type" value="simulation"/> </Properties> </Pedestrian> </ScenarioObject> <ScenarioObject name="pedestrian_close_to_hero_6156"> <Pedestrian model="walker.pedestrian.0001" mass="80" name="walker.pedestrian.0001" pedestrianCategory="pedestrian"> <ParameterDeclarations/> <BoundingBox> <Center x="1.5" y="0.0" z="0.9"/> <Dimensions width="2" length="2" height="2"/> </BoundingBox> <Properties> <Property name="type" value="simulation"/> </Properties> </Pedestrian> </ScenarioObject> <ScenarioObject name="pedestrian_w_transform_6157"> <Pedestrian model="walker.pedestrian.0001" mass="80" name="walker.pedestrian.0001" pedestrianCategory="pedestrian"> <ParameterDeclarations/> <BoundingBox> <Center x="1.5" y="0.0" z="0.9"/> <Dimensions width="2" length="2" height="2"/> </BoundingBox> <Properties> <Property name="type" value="simulation"/> </Properties> </Pedestrian> </ScenarioObject> </Entities> <Storyboard> <Init> <Actions> <GlobalAction> <EnvironmentAction> <Environment name="Environment1"> <TimeOfDay animation="false" dateTime="2019-06-25T12:00:00"/> <Weather cloudState="free"> <Sun intensity="0.85" azimuth="0" elevation="1.31"/> <Fog visualRange="100000.0"/> <Precipitation precipitationType="dry" intensity="0.0"/> </Weather> <RoadCondition frictionScaleFactor="1.0"/> </Environment> </EnvironmentAction> </GlobalAction> <Private entityRef="hero"> <PrivateAction> <TeleportAction> <Position> <WorldPosition x="-9.4" y="-152.8" z="0.5" h="1.57079632679"/> </Position> </TeleportAction> </PrivateAction> <PrivateAction> <ControllerAction> <AssignControllerAction> <Controller name="HeroAgent"> <Properties> <Property name="module" value="external_control"/> </Properties> </Controller> </AssignControllerAction> <OverrideControllerValueAction> <Throttle value="0" active="false"/> <Brake value="0" active="false"/> <Clutch value="0" active="false"/> <ParkingBrake value="0" active="false"/> <SteeringWheel value="0" active="false"/> <Gear number="0" active="false"/> </OverrideControllerValueAction> </ControllerAction> </PrivateAction> </Private> <Private entityRef="adversary"> <PrivateAction> <TeleportAction> <Position> <WorldPosition x="-9.4" y="-71.0" z="0.5" h="1.57079632679"/> </Position> </TeleportAction> </PrivateAction> </Private> <Private entityRef="standing"> <PrivateAction> <TeleportAction> <Position> <WorldPosition x="-8.2" y="29.2" z="0.5" h="1.57079632679"/> </Position> </TeleportAction> </PrivateAction> </Private> <Private entityRef="pedestrian_close_to_adversary_6148"> <PrivateAction> <TeleportAction> <Position> <WorldPosition x="-9.135247230529785" y="-85.72563171386719" z="0.03381916135549545"/> </Position> </TeleportAction> </PrivateAction> </Private> <Private entityRef="pedestrian_close_to_adversary_6149"> <PrivateAction> <TeleportAction> <Position> <WorldPosition x="-18.4620304107666" y="-78.46952819824219" z="0.033790551126003265"/> </Position> </TeleportAction> </PrivateAction> </Private> <Private entityRef="pedestrian_w_transform_6151"> <PrivateAction> <TeleportAction> <Position> <WorldPosition x="70.03360748291016" y="-38.38225555419922" z="0.5"/> </Position> </TeleportAction> </PrivateAction> </Private> <Private entityRef="pedestrian_close_to_hero_6152"> <PrivateAction> <TeleportAction> <Position> <WorldPosition x="-5.757301330566406" y="-156.9951934814453" z="0.0014286803780123591"/> </Position> </TeleportAction> </PrivateAction> </Private> <Private entityRef="pedestrian_close_to_adversary_6153"> <PrivateAction> <TeleportAction> <Position> <WorldPosition x="-17.42665672302246" y="-68.5287094116211" z="0.03381339833140373"/> </Position> </TeleportAction> </PrivateAction> </Private> <Private entityRef="pedestrian_w_transform_6154"> <PrivateAction> <TeleportAction> <Position> <WorldPosition x="-38.44252395629883" y="-20.741987228393555" z="0.5"/> </Position> </TeleportAction> </PrivateAction> </Private> <Private entityRef="pedestrian_w_transform_6155"> <PrivateAction> <TeleportAction> <Position> <WorldPosition x="13.687731742858887" y="-78.9107894897461" z="0.5"/> </Position> </TeleportAction> </PrivateAction> </Private> <Private entityRef="pedestrian_close_to_hero_6156"> <PrivateAction> <TeleportAction> <Position> <WorldPosition x="-6.61735200881958" y="-148.21487426757812" z="0.0014286803780123591"/> </Position> </TeleportAction> </PrivateAction> </Private> <Private entityRef="pedestrian_w_transform_6157"> <PrivateAction> <TeleportAction> <Position> <WorldPosition x="87.2677001953125" y="-76.55804443359375" z="0.5"/> </Position> </TeleportAction> </PrivateAction> </Private> </Actions> </Init> <Story name="MyStory"> <Act name="Behavior"> <ManeuverGroup maximumExecutionCount="1" name="ManeuverSequence"> <Actors selectTriggeringEntities="false"> <EntityRef entityRef="adversary"/> </Actors> <Maneuver name="LaneChangeSimpleManeuver"> <Event name="AdversaryAccelerates" priority="overwrite"> <Action name="AdversaryAccelerates"> <PrivateAction> <LongitudinalAction> <SpeedAction> <SpeedActionDynamics dynamicsShape="step" value="50" dynamicsDimension="distance"/> <SpeedActionTarget> <AbsoluteTargetSpeed value="5.0"/> </SpeedActionTarget> </SpeedAction> </LongitudinalAction> </PrivateAction> </Action> <StartTrigger> <ConditionGroup> <Condition name="StartCondition" delay="0" conditionEdge="rising"> <ByEntityCondition> <TriggeringEntities triggeringEntitiesRule="any"> <EntityRef entityRef="hero"/> </TriggeringEntities> <EntityCondition> <RelativeDistanceCondition entityRef="adversary" relativeDistanceType="cartesianDistance" value="40.0" freespace="false" rule="lessThan"/> </EntityCondition> </ByEntityCondition> </Condition> </ConditionGroup> </StartTrigger> </Event> <Event name="AdversaryChangesLane" priority="overwrite"> <Action name="AdversaryChangesLane"> <PrivateAction> <LateralAction> <LaneChangeAction> <LaneChangeActionDynamics dynamicsShape="linear" value="25" dynamicsDimension="distance"/> <LaneChangeTarget> <RelativeTargetLane entityRef="adversary" value="-1"/> </LaneChangeTarget> </LaneChangeAction> </LateralAction> </PrivateAction> </Action> <StartTrigger> <ConditionGroup> <Condition name="AfterAdversaryAccelerates" delay="0" conditionEdge="rising"> <ByValueCondition> <StoryboardElementStateCondition storyboardElementType="action" storyboardElementRef="AdversaryAccelerates" state="completeState"/> </ByValueCondition> </Condition> </ConditionGroup> </StartTrigger> </Event> </Maneuver> </ManeuverGroup> <StartTrigger> <ConditionGroup> <Condition name="OverallStartCondition" delay="0" conditionEdge="rising"> <ByEntityCondition> <TriggeringEntities triggeringEntitiesRule="any"> <EntityRef entityRef="hero"/> </TriggeringEntities> <EntityCondition> <TraveledDistanceCondition value="1.0"/> </EntityCondition> </ByEntityCondition> </Condition> <Condition name="StartTime" delay="0" conditionEdge="rising"> <ByValueCondition> <SimulationTimeCondition value="0" rule="equalTo"/> </ByValueCondition> </Condition> </ConditionGroup> </StartTrigger> <StopTrigger> <ConditionGroup> <Condition name="EndCondition" delay="0" conditionEdge="rising"> <ByEntityCondition> <TriggeringEntities triggeringEntitiesRule="any"> <EntityRef entityRef="hero"/> </TriggeringEntities> <EntityCondition> <TraveledDistanceCondition value="200.0"/> </EntityCondition> </ByEntityCondition> </Condition> </ConditionGroup> </StopTrigger> </Act> </Story> <StopTrigger> <ConditionGroup> <Condition name="criteria_RunningStopTest" delay="0" conditionEdge="rising"> <ByValueCondition> <ParameterCondition parameterRef="" value="" rule="lessThan"/> </ByValueCondition> </Condition> <Condition name="criteria_RunningRedLightTest" delay="0" conditionEdge="rising"> <ByValueCondition> <ParameterCondition parameterRef="" value="" rule="lessThan"/> </ByValueCondition> </Condition> <Condition name="criteria_WrongLaneTest" delay="0" conditionEdge="rising"> <ByValueCondition> <ParameterCondition parameterRef="" value="" rule="lessThan"/> </ByValueCondition> </Condition> <Condition name="criteria_OnSidewalkTest" delay="0" conditionEdge="rising"> <ByValueCondition> <ParameterCondition parameterRef="" value="" rule="lessThan"/> </ByValueCondition> </Condition> <Condition name="criteria_KeepLaneTest" delay="0" conditionEdge="rising"> <ByValueCondition> <ParameterCondition parameterRef="" value="" rule="lessThan"/> </ByValueCondition> </Condition> <Condition name="criteria_CollisionTest" delay="0" conditionEdge="rising"> <ByValueCondition> <ParameterCondition parameterRef="" value="" rule="lessThan"/> </ByValueCondition> </Condition> <Condition name="criteria_DrivenDistanceTest" delay="0" conditionEdge="rising"> <ByValueCondition> <ParameterCondition parameterRef="distance_success" value="100" rule="lessThan"/> </ByValueCondition> </Condition> </ConditionGroup> </StopTrigger> </Storyboard> </OpenSCENARIO> ```
i would like to command you to remove pedestrian close to hero? ``` <?xml version="1.0" ?> <OpenSCENARIO> <FileHeader revMajor="1" revMinor="0" date="2020-03-24T12:00:00" description="CARLA:LaneChangeSimple" author=""/> <ParameterDeclarations/> <CatalogLocations/> <RoadNetwork> <LogicFile filepath="Town04"/> <SceneGraphFile filepath=""/> </RoadNetwork> <Entities> <ScenarioObject name="hero"> <Vehicle name="vehicle.tesla.model3" vehicleCategory="car"> <ParameterDeclarations/> <Performance maxSpeed="69.444" maxAcceleration="200" maxDeceleration="10.0"/> <BoundingBox> <Center x="1.5" y="0.0" z="0.9"/> <Dimensions width="2.1" length="4.5" height="1.8"/> </BoundingBox> <Axles> <FrontAxle maxSteering="0.5" wheelDiameter="0.6" trackWidth="1.8" positionX="3.1" positionZ="0.3"/> <RearAxle maxSteering="0.0" wheelDiameter="0.6" trackWidth="1.8" positionX="0.0" positionZ="0.3"/> </Axles> <Properties> <Property name="type" value="ego_vehicle"/> </Properties> </Vehicle> </ScenarioObject> <ScenarioObject name="adversary"> <Vehicle name="vehicle.lincoln.mkz_2017" vehicleCategory="car"> <ParameterDeclarations/> <Performance maxSpeed="69.444" maxAcceleration="200" maxDeceleration="10.0"/> <BoundingBox> <Center x="1.5" y="0.0" z="0.9"/> <Dimensions width="2.1" length="4.5" height="1.8"/> </BoundingBox> <Axles> <FrontAxle maxSteering="0.5" wheelDiameter="0.6" trackWidth="1.8" positionX="3.1" positionZ="0.3"/> <RearAxle maxSteering="0.0" wheelDiameter="0.6" trackWidth="1.8" positionX="0.0" positionZ="0.3"/> </Axles> <Properties> <Property name="type" value="simulation"/> </Properties> </Vehicle> </ScenarioObject> <ScenarioObject name="standing"> <Vehicle name="vehicle.volkswagen.t2" vehicleCategory="car"> <ParameterDeclarations/> <Performance maxSpeed="69.444" maxAcceleration="200" maxDeceleration="10.0"/> <BoundingBox> <Center x="1.5" y="0.0" z="0.9"/> <Dimensions width="2.1" length="4.5" height="1.8"/> </BoundingBox> <Axles> <FrontAxle maxSteering="0.5" wheelDiameter="0.6" trackWidth="1.8" positionX="3.1" positionZ="0.3"/> <RearAxle maxSteering="0.0" wheelDiameter="0.6" trackWidth="1.8" positionX="0.0" positionZ="0.3"/> </Axles> <Properties> <Property name="type" value="simulation"/> </Properties> </Vehicle> </ScenarioObject> <ScenarioObject name="pedestrian_close_to_adversary_11780"> <Pedestrian model="walker.pedestrian.0001" mass="80" name="walker.pedestrian.0001" pedestrianCategory="pedestrian"> <ParameterDeclarations/> <BoundingBox> <Center x="1.5" y="0.0" z="0.9"/> <Dimensions width="2" length="2" height="2"/> </BoundingBox> <Properties> <Property name="type" value="simulation"/> </Properties> </Pedestrian> </ScenarioObject> <ScenarioObject name="pedestrian_w_transform_11781"> <Pedestrian model="walker.pedestrian.0001" mass="80" name="walker.pedestrian.0001" pedestrianCategory="pedestrian"> <ParameterDeclarations/> <BoundingBox> <Center x="1.5" y="0.0" z="0.9"/> <Dimensions width="2" length="2" height="2"/> </BoundingBox> <Properties> <Property name="type" value="simulation"/> </Properties> </Pedestrian> </ScenarioObject> <ScenarioObject name="pedestrian_w_transform_11783"> <Pedestrian model="walker.pedestrian.0001" mass="80" name="walker.pedestrian.0001" pedestrianCategory="pedestrian"> <ParameterDeclarations/> <BoundingBox> <Center x="1.5" y="0.0" z="0.9"/> <Dimensions width="2" length="2" height="2"/> </BoundingBox> <Properties> <Property name="type" value="simulation"/> </Properties> </Pedestrian> </ScenarioObject> <ScenarioObject name="pedestrian_w_transform_11785"> <Pedestrian model="walker.pedestrian.0001" mass="80" name="walker.pedestrian.0001" pedestrianCategory="pedestrian"> <ParameterDeclarations/> <BoundingBox> <Center x="1.5" y="0.0" z="0.9"/> <Dimensions width="2" length="2" height="2"/> </BoundingBox> <Properties> <Property name="type" value="simulation"/> </Properties> </Pedestrian> </ScenarioObject> <ScenarioObject name="pedestrian_close_to_standing_11786"> <Pedestrian model="walker.pedestrian.0001" mass="80" name="walker.pedestrian.0001" pedestrianCategory="pedestrian"> <ParameterDeclarations/> <BoundingBox> <Center x="1.5" y="0.0" z="0.9"/> <Dimensions width="2" length="2" height="2"/> </BoundingBox> <Properties> <Property name="type" value="simulation"/> </Properties> </Pedestrian> </ScenarioObject> <ScenarioObject name="pedestrian_close_to_adversary_11787"> <Pedestrian model="walker.pedestrian.0001" mass="80" name="walker.pedestrian.0001" pedestrianCategory="pedestrian"> <ParameterDeclarations/> <BoundingBox> <Center x="1.5" y="0.0" z="0.9"/> <Dimensions width="2" length="2" height="2"/> </BoundingBox> <Properties> <Property name="type" value="simulation"/> </Properties> </Pedestrian> </ScenarioObject> <ScenarioObject name="pedestrian_close_to_standing_11788"> <Pedestrian model="walker.pedestrian.0001" mass="80" name="walker.pedestrian.0001" pedestrianCategory="pedestrian"> <ParameterDeclarations/> <BoundingBox> <Center x="1.5" y="0.0" z="0.9"/> <Dimensions width="2" length="2" height="2"/> </BoundingBox> <Properties> <Property name="type" value="simulation"/> </Properties> </Pedestrian> </ScenarioObject> <ScenarioObject name="pedestrian_w_transform_11789"> <Pedestrian model="walker.pedestrian.0001" mass="80" name="walker.pedestrian.0001" pedestrianCategory="pedestrian"> <ParameterDeclarations/> <BoundingBox> <Center x="1.5" y="0.0" z="0.9"/> <Dimensions width="2" length="2" height="2"/> </BoundingBox> <Properties> <Property name="type" value="simulation"/> </Properties> </Pedestrian> </ScenarioObject> <ScenarioObject name="pedestrian_close_to_hero_11790"> <Pedestrian model="walker.pedestrian.0001" mass="80" name="walker.pedestrian.0001" pedestrianCategory="pedestrian"> <ParameterDeclarations/> <BoundingBox> <Center x="1.5" y="0.0" z="0.9"/> <Dimensions width="2" length="2" height="2"/> </BoundingBox> <Properties> <Property name="type" value="simulation"/> </Properties> </Pedestrian> </ScenarioObject> <ScenarioObject name="pedestrian_w_transform_11791"> <Pedestrian model="walker.pedestrian.0001" mass="80" name="walker.pedestrian.0001" pedestrianCategory="pedestrian"> <ParameterDeclarations/> <BoundingBox> <Center x="1.5" y="0.0" z="0.9"/> <Dimensions width="2" length="2" height="2"/> </BoundingBox> <Properties> <Property name="type" value="simulation"/> </Properties> </Pedestrian> </ScenarioObject> <ScenarioObject name="pedestrian_w_transform_11792"> <Pedestrian model="walker.pedestrian.0001" mass="80" name="walker.pedestrian.0001" pedestrianCategory="pedestrian"> <ParameterDeclarations/> <BoundingBox> <Center x="1.5" y="0.0" z="0.9"/> <Dimensions width="2" length="2" height="2"/> </BoundingBox> <Properties> <Property name="type" value="simulation"/> </Properties> </Pedestrian> </ScenarioObject> <ScenarioObject name="pedestrian_w_transform_11793"> <Pedestrian model="walker.pedestrian.0001" mass="80" name="walker.pedestrian.0001" pedestrianCategory="pedestrian"> <ParameterDeclarations/> <BoundingBox> <Center x="1.5" y="0.0" z="0.9"/> <Dimensions width="2" length="2" height="2"/> </BoundingBox> <Properties> <Property name="type" value="simulation"/> </Properties> </Pedestrian> </ScenarioObject> <ScenarioObject name="pedestrian_close_to_hero_11794"> <Pedestrian model="walker.pedestrian.0001" mass="80" name="walker.pedestrian.0001" pedestrianCategory="pedestrian"> <ParameterDeclarations/> <BoundingBox> <Center x="1.5" y="0.0" z="0.9"/> <Dimensions width="2" length="2" height="2"/> </BoundingBox> <Properties> <Property name="type" value="simulation"/> </Properties> </Pedestrian> </ScenarioObject> <ScenarioObject name="pedestrian_close_to_hero_11796"> <Pedestrian model="walker.pedestrian.0001" mass="80" name="walker.pedestrian.0001" pedestrianCategory="pedestrian"> <ParameterDeclarations/> <BoundingBox> <Center x="1.5" y="0.0" z="0.9"/> <Dimensions width="2" length="2" height="2"/> </BoundingBox> <Properties> <Property name="type" value="simulation"/> </Properties> </Pedestrian> </ScenarioObject> <ScenarioObject name="pedestrian_close_to_adversary_11797"> <Pedestrian model="walker.pedestrian.0001" mass="80" name="walker.pedestrian.0001" pedestrianCategory="pedestrian"> <ParameterDeclarations/> <BoundingBox> <Center x="1.5" y="0.0" z="0.9"/> <Dimensions width="2" length="2" height="2"/> </BoundingBox> <Properties> <Property name="type" value="simulation"/> </Properties> </Pedestrian> </ScenarioObject> <ScenarioObject name="pedestrian_w_transform_11798"> <Pedestrian model="walker.pedestrian.0001" mass="80" name="walker.pedestrian.0001" pedestrianCategory="pedestrian"> <ParameterDeclarations/> <BoundingBox> <Center x="1.5" y="0.0" z="0.9"/> <Dimensions width="2" length="2" height="2"/> </BoundingBox> <Properties> <Property name="type" value="simulation"/> </Properties> </Pedestrian> </ScenarioObject> <ScenarioObject name="pedestrian_w_transform_11799"> <Pedestrian model="walker.pedestrian.0001" mass="80" name="walker.pedestrian.0001" pedestrianCategory="pedestrian"> <ParameterDeclarations/> <BoundingBox> <Center x="1.5" y="0.0" z="0.9"/> <Dimensions width="2" length="2" height="2"/> </BoundingBox> <Properties> <Property name="type" value="simulation"/> </Properties> </Pedestrian> </ScenarioObject> <ScenarioObject name="pedestrian_close_to_hero_11801"> <Pedestrian model="walker.pedestrian.0001" mass="80" name="walker.pedestrian.0001" pedestrianCategory="pedestrian"> <ParameterDeclarations/> <BoundingBox> <Center x="1.5" y="0.0" z="0.9"/> <Dimensions width="2" length="2" height="2"/> </BoundingBox> <Properties> <Property name="type" value="simulation"/> </Properties> </Pedestrian> </ScenarioObject> <ScenarioObject name="pedestrian_w_transform_11802"> <Pedestrian model="walker.pedestrian.0001" mass="80" name="walker.pedestrian.0001" pedestrianCategory="pedestrian"> <ParameterDeclarations/> <BoundingBox> <Center x="1.5" y="0.0" z="0.9"/> <Dimensions width="2" length="2" height="2"/> </BoundingBox> <Properties> <Property name="type" value="simulation"/> </Properties> </Pedestrian> </ScenarioObject> <ScenarioObject name="pedestrian_close_to_adversary_11803"> <Pedestrian model="walker.pedestrian.0001" mass="80" name="walker.pedestrian.0001" pedestrianCategory="pedestrian"> <ParameterDeclarations/> <BoundingBox> <Center x="1.5" y="0.0" z="0.9"/> <Dimensions width="2" length="2" height="2"/> </BoundingBox> <Properties> <Property name="type" value="simulation"/> </Properties> </Pedestrian> </ScenarioObject> </Entities> <Storyboard> <Init> <Actions> <GlobalAction> <EnvironmentAction> <Environment name="Environment1"> <TimeOfDay animation="false" dateTime="2019-06-25T12:00:00"/> <Weather cloudState="free"> <Sun intensity="0.85" azimuth="0" elevation="1.31"/> <Fog visualRange="100000.0"/> <Precipitation precipitationType="dry" intensity="0.0"/> </Weather> <RoadCondition frictionScaleFactor="1.0"/> </Environment> </EnvironmentAction> </GlobalAction> <Private entityRef="hero"> <PrivateAction> <TeleportAction> <Position> <WorldPosition x="-9.4" y="-152.8" z="0.5" h="1.57079632679"/> </Position> </TeleportAction> </PrivateAction> <PrivateAction> <ControllerAction> <AssignControllerAction> <Controller name="HeroAgent"> <Properties> <Property name="module" value="external_control"/> </Properties> </Controller> </AssignControllerAction> <OverrideControllerValueAction> <Throttle value="0" active="false"/> <Brake value="0" active="false"/> <Clutch value="0" active="false"/> <ParkingBrake value="0" active="false"/> <SteeringWheel value="0" active="false"/> <Gear number="0" active="false"/> </OverrideControllerValueAction> </ControllerAction> </PrivateAction> </Private> <Private entityRef="adversary"> <PrivateAction> <TeleportAction> <Position> <WorldPosition x="-9.4" y="-71.0" z="0.5" h="1.57079632679"/> </Position> </TeleportAction> </PrivateAction> </Private> <Private entityRef="standing"> <PrivateAction> <TeleportAction> <Position> <WorldPosition x="-8.2" y="29.2" z="0.5" h="1.57079632679"/> </Position> </TeleportAction> </PrivateAction> </Private> <Private entityRef="pedestrian_close_to_adversary_11780"> <PrivateAction> <TeleportAction> <Position> <WorldPosition x="-0.09641440212726593" y="-62.68102264404297" z="0.03373001143336296"/> </Position> </TeleportAction> </PrivateAction> </Private> <Private entityRef="pedestrian_w_transform_11781"> <PrivateAction> <TeleportAction> <Position> <WorldPosition x="-45.29231262207031" y="91.04242706298828" z="0.5"/> </Position> </TeleportAction> </PrivateAction> </Private> <Private entityRef="pedestrian_w_transform_11783"> <PrivateAction> <TeleportAction> <Position> <WorldPosition x="34.34773254394531" y="62.830902099609375" z="0.5"/> </Position> </TeleportAction> </PrivateAction> </Private> <Private entityRef="pedestrian_w_transform_11785"> <PrivateAction> <TeleportAction> <Position> <WorldPosition x="56.26321029663086" y="14.235118865966797" z="0.5"/> </Position> </TeleportAction> </PrivateAction> </Private> <Private entityRef="pedestrian_close_to_standing_11786"> <PrivateAction> <TeleportAction> <Position> <WorldPosition x="-1.306498408317566" y="31.4831485748291" z="0.0030581664759665728"/> </Position> </TeleportAction> </PrivateAction> </Private> <Private entityRef="pedestrian_close_to_adversary_11787"> <PrivateAction> <TeleportAction> <Position> <WorldPosition x="-15.194178581237793" y="-70.82746124267578" z="0.033828698098659515"/> </Position> </TeleportAction> </PrivateAction> </Private> <Private entityRef="pedestrian_close_to_standing_11788"> <PrivateAction> <TeleportAction> <Position> <WorldPosition x="-5.032052516937256" y="32.371829986572266" z="0.0030493545345962048"/> </Position> </TeleportAction> </PrivateAction> </Private> <Private entityRef="pedestrian_w_transform_11789"> <PrivateAction> <TeleportAction> <Position> <WorldPosition x="-96.01544952392578" y="0.3097466230392456" z="0.5"/> </Position> </TeleportAction> </PrivateAction> </Private> <Private entityRef="pedestrian_close_to_hero_11790"> <PrivateAction> <TeleportAction> <Position> <WorldPosition x="-10.38454818725586" y="-146.55287170410156" z="0.0014286803780123591"/> </Position> </TeleportAction> </PrivateAction> </Private> <Private entityRef="pedestrian_w_transform_11791"> <PrivateAction> <TeleportAction> <Position> <WorldPosition x="50.88176727294922" y="15.028383255004883" z="0.5"/> </Position> </TeleportAction> </PrivateAction> </Private> <Private entityRef="pedestrian_w_transform_11792"> <PrivateAction> <TeleportAction> <Position> <WorldPosition x="36.78325653076172" y="82.10755157470703" z="0.5"/> </Position> </TeleportAction> </PrivateAction> </Private> <Private entityRef="pedestrian_w_transform_11793"> <PrivateAction> <TeleportAction> <Position> <WorldPosition x="96.94965362548828" y="-8.541335105895996" z="0.5"/> </Position> </TeleportAction> </PrivateAction> </Private> <Private entityRef="pedestrian_close_to_hero_11794"> <PrivateAction> <TeleportAction> <Position> <WorldPosition x="-14.913949012756348" y="-152.3770294189453" z="0.0014286803780123591"/> </Position> </TeleportAction> </PrivateAction> </Private> <Private entityRef="pedestrian_close_to_hero_11796"> <PrivateAction> <TeleportAction> <Position> <WorldPosition x="-16.48224639892578" y="-160.25802612304688" z="0.0014286803780123591"/> </Position> </TeleportAction> </PrivateAction> </Private> <Private entityRef="pedestrian_close_to_adversary_11797"> <PrivateAction> <TeleportAction> <Position> <WorldPosition x="-15.826852798461914" y="-68.99070739746094" z="0.03380390256643295"/> </Position> </TeleportAction> </PrivateAction> </Private> <Private entityRef="pedestrian_w_transform_11798"> <PrivateAction> <TeleportAction> <Position> <WorldPosition x="-33.5995979309082" y="3.6784331798553467" z="0.5"/> </Position> </TeleportAction> </PrivateAction> </Private> <Private entityRef="pedestrian_w_transform_11799"> <PrivateAction> <TeleportAction> <Position> <WorldPosition x="65.99164581298828" y="31.31378173828125" z="0.5"/> </Position> </TeleportAction> </PrivateAction> </Private> <Private entityRef="pedestrian_close_to_hero_11801"> <PrivateAction> <TeleportAction> <Position> <WorldPosition x="-8.470989227294922" y="-157.1046142578125" z="0.0014286803780123591"/> </Position> </TeleportAction> </PrivateAction> </Private> <Private entityRef="pedestrian_w_transform_11802"> <PrivateAction> <TeleportAction> <Position> <WorldPosition x="37.023441314697266" y="-25.810209274291992" z="0.5"/> </Position> </TeleportAction> </PrivateAction> </Private> <Private entityRef="pedestrian_close_to_adversary_11803"> <PrivateAction> <TeleportAction> <Position> <WorldPosition x="0.5378517508506775" y="-61.971168518066406" z="0.03380340337753296"/> </Position> </TeleportAction> </PrivateAction> </Private> </Actions> </Init> <Story name="MyStory"> <Act name="Behavior"> <ManeuverGroup maximumExecutionCount="1" name="ManeuverSequence"> <Actors selectTriggeringEntities="false"> <EntityRef entityRef="adversary"/> </Actors> <Maneuver name="LaneChangeSimpleManeuver"> <Event name="AdversaryAccelerates" priority="overwrite"> <Action name="AdversaryAccelerates"> <PrivateAction> <LongitudinalAction> <SpeedAction> <SpeedActionDynamics dynamicsShape="step" value="50" dynamicsDimension="distance"/> <SpeedActionTarget> <AbsoluteTargetSpeed value="5.0"/> </SpeedActionTarget> </SpeedAction> </LongitudinalAction> </PrivateAction> </Action> <StartTrigger> <ConditionGroup> <Condition name="StartCondition" delay="0" conditionEdge="rising"> <ByEntityCondition> <TriggeringEntities triggeringEntitiesRule="any"> <EntityRef entityRef="hero"/> </TriggeringEntities> <EntityCondition> <RelativeDistanceCondition entityRef="adversary" relativeDistanceType="cartesianDistance" value="40.0" freespace="false" rule="lessThan"/> </EntityCondition> </ByEntityCondition> </Condition> </ConditionGroup> </StartTrigger> </Event> <Event name="AdversaryChangesLane" priority="overwrite"> <Action name="AdversaryChangesLane"> <PrivateAction> <LateralAction> <LaneChangeAction> <LaneChangeActionDynamics dynamicsShape="linear" value="25" dynamicsDimension="distance"/> <LaneChangeTarget> <RelativeTargetLane entityRef="adversary" value="-1"/> </LaneChangeTarget> </LaneChangeAction> </LateralAction> </PrivateAction> </Action> <StartTrigger> <ConditionGroup> <Condition name="AfterAdversaryAccelerates" delay="0" conditionEdge="rising"> <ByValueCondition> <StoryboardElementStateCondition storyboardElementType="action" storyboardElementRef="AdversaryAccelerates" state="completeState"/> </ByValueCondition> </Condition> </ConditionGroup> </StartTrigger> </Event> </Maneuver> </ManeuverGroup> <StartTrigger> <ConditionGroup> <Condition name="OverallStartCondition" delay="0" conditionEdge="rising"> <ByEntityCondition> <TriggeringEntities triggeringEntitiesRule="any"> <EntityRef entityRef="hero"/> </TriggeringEntities> <EntityCondition> <TraveledDistanceCondition value="1.0"/> </EntityCondition> </ByEntityCondition> </Condition> <Condition name="StartTime" delay="0" conditionEdge="rising"> <ByValueCondition> <SimulationTimeCondition value="0" rule="equalTo"/> </ByValueCondition> </Condition> </ConditionGroup> </StartTrigger> <StopTrigger> <ConditionGroup> <Condition name="EndCondition" delay="0" conditionEdge="rising"> <ByEntityCondition> <TriggeringEntities triggeringEntitiesRule="any"> <EntityRef entityRef="hero"/> </TriggeringEntities> <EntityCondition> <TraveledDistanceCondition value="200.0"/> </EntityCondition> </ByEntityCondition> </Condition> </ConditionGroup> </StopTrigger> </Act> </Story> <StopTrigger> <ConditionGroup> <Condition name="criteria_RunningStopTest" delay="0" conditionEdge="rising"> <ByValueCondition> <ParameterCondition parameterRef="" value="" rule="lessThan"/> </ByValueCondition> </Condition> <Condition name="criteria_RunningRedLightTest" delay="0" conditionEdge="rising"> <ByValueCondition> <ParameterCondition parameterRef="" value="" rule="lessThan"/> </ByValueCondition> </Condition> <Condition name="criteria_WrongLaneTest" delay="0" conditionEdge="rising"> <ByValueCondition> <ParameterCondition parameterRef="" value="" rule="lessThan"/> </ByValueCondition> </Condition> <Condition name="criteria_OnSidewalkTest" delay="0" conditionEdge="rising"> <ByValueCondition> <ParameterCondition parameterRef="" value="" rule="lessThan"/> </ByValueCondition> </Condition> <Condition name="criteria_KeepLaneTest" delay="0" conditionEdge="rising"> <ByValueCondition> <ParameterCondition parameterRef="" value="" rule="lessThan"/> </ByValueCondition> </Condition> <Condition name="criteria_CollisionTest" delay="0" conditionEdge="rising"> <ByValueCondition> <ParameterCondition parameterRef="" value="" rule="lessThan"/> </ByValueCondition> </Condition> <Condition name="criteria_DrivenDistanceTest" delay="0" conditionEdge="rising"> <ByValueCondition> <ParameterCondition parameterRef="distance_success" value="100" rule="lessThan"/> </ByValueCondition> </Condition> </ConditionGroup> </StopTrigger> </Storyboard> </OpenSCENARIO> ```
Here is the result: ``` <?xml version="1.0" ?> <OpenSCENARIO> <FileHeader revMajor="1" revMinor="0" date="2020-03-24T12:00:00" description="CARLA:LaneChangeSimple" author=""/> <ParameterDeclarations/> <CatalogLocations/> <RoadNetwork> <LogicFile filepath="Town04"/> <SceneGraphFile filepath=""/> </RoadNetwork> <Entities> <ScenarioObject name="hero"> <Vehicle name="vehicle.tesla.model3" vehicleCategory="car"> <ParameterDeclarations/> <Performance maxSpeed="69.444" maxAcceleration="200" maxDeceleration="10.0"/> <BoundingBox> <Center x="1.5" y="0.0" z="0.9"/> <Dimensions width="2.1" length="4.5" height="1.8"/> </BoundingBox> <Axles> <FrontAxle maxSteering="0.5" wheelDiameter="0.6" trackWidth="1.8" positionX="3.1" positionZ="0.3"/> <RearAxle maxSteering="0.0" wheelDiameter="0.6" trackWidth="1.8" positionX="0.0" positionZ="0.3"/> </Axles> <Properties> <Property name="type" value="ego_vehicle"/> </Properties> </Vehicle> </ScenarioObject> <ScenarioObject name="adversary"> <Vehicle name="vehicle.lincoln.mkz_2017" vehicleCategory="car"> <ParameterDeclarations/> <Performance maxSpeed="69.444" maxAcceleration="200" maxDeceleration="10.0"/> <BoundingBox> <Center x="1.5" y="0.0" z="0.9"/> <Dimensions width="2.1" length="4.5" height="1.8"/> </BoundingBox> <Axles> <FrontAxle maxSteering="0.5" wheelDiameter="0.6" trackWidth="1.8" positionX="3.1" positionZ="0.3"/> <RearAxle maxSteering="0.0" wheelDiameter="0.6" trackWidth="1.8" positionX="0.0" positionZ="0.3"/> </Axles> <Properties> <Property name="type" value="simulation"/> </Properties> </Vehicle> </ScenarioObject> <ScenarioObject name="standing"> <Vehicle name="vehicle.volkswagen.t2" vehicleCategory="car"> <ParameterDeclarations/> <Performance maxSpeed="69.444" maxAcceleration="200" maxDeceleration="10.0"/> <BoundingBox> <Center x="1.5" y="0.0" z="0.9"/> <Dimensions width="2.1" length="4.5" height="1.8"/> </BoundingBox> <Axles> <FrontAxle maxSteering="0.5" wheelDiameter="0.6" trackWidth="1.8" positionX="3.1" positionZ="0.3"/> <RearAxle maxSteering="0.0" wheelDiameter="0.6" trackWidth="1.8" positionX="0.0" positionZ="0.3"/> </Axles> <Properties> <Property name="type" value="simulation"/> </Properties> </Vehicle> </ScenarioObject> <ScenarioObject name="pedestrian_close_to_adversary_11780"> <Pedestrian model="walker.pedestrian.0001" mass="80" name="walker.pedestrian.0001" pedestrianCategory="pedestrian"> <ParameterDeclarations/> <BoundingBox> <Center x="1.5" y="0.0" z="0.9"/> <Dimensions width="2" length="2" height="2"/> </BoundingBox> <Properties> <Property name="type" value="simulation"/> </Properties> </Pedestrian> </ScenarioObject> <ScenarioObject name="pedestrian_w_transform_11781"> <Pedestrian model="walker.pedestrian.0001" mass="80" name="walker.pedestrian.0001" pedestrianCategory="pedestrian"> <ParameterDeclarations/> <BoundingBox> <Center x="1.5" y="0.0" z="0.9"/> <Dimensions width="2" length="2" height="2"/> </BoundingBox> <Properties> <Property name="type" value="simulation"/> </Properties> </Pedestrian> </ScenarioObject> <ScenarioObject name="pedestrian_w_transform_11783"> <Pedestrian model="walker.pedestrian.0001" mass="80" name="walker.pedestrian.0001" pedestrianCategory="pedestrian"> <ParameterDeclarations/> <BoundingBox> <Center x="1.5" y="0.0" z="0.9"/> <Dimensions width="2" length="2" height="2"/> </BoundingBox> <Properties> <Property name="type" value="simulation"/> </Properties> </Pedestrian> </ScenarioObject> <ScenarioObject name="pedestrian_w_transform_11785"> <Pedestrian model="walker.pedestrian.0001" mass="80" name="walker.pedestrian.0001" pedestrianCategory="pedestrian"> <ParameterDeclarations/> <BoundingBox> <Center x="1.5" y="0.0" z="0.9"/> <Dimensions width="2" length="2" height="2"/> </BoundingBox> <Properties> <Property name="type" value="simulation"/> </Properties> </Pedestrian> </ScenarioObject> <ScenarioObject name="pedestrian_close_to_standing_11786"> <Pedestrian model="walker.pedestrian.0001" mass="80" name="walker.pedestrian.0001" pedestrianCategory="pedestrian"> <ParameterDeclarations/> <BoundingBox> <Center x="1.5" y="0.0" z="0.9"/> <Dimensions width="2" length="2" height="2"/> </BoundingBox> <Properties> <Property name="type" value="simulation"/> </Properties> </Pedestrian> </ScenarioObject> <ScenarioObject name="pedestrian_close_to_adversary_11787"> <Pedestrian model="walker.pedestrian.0001" mass="80" name="walker.pedestrian.0001" pedestrianCategory="pedestrian"> <ParameterDeclarations/> <BoundingBox> <Center x="1.5" y="0.0" z="0.9"/> <Dimensions width="2" length="2" height="2"/> </BoundingBox> <Properties> <Property name="type" value="simulation"/> </Properties> </Pedestrian> </ScenarioObject> <ScenarioObject name="pedestrian_close_to_standing_11788"> <Pedestrian model="walker.pedestrian.0001" mass="80" name="walker.pedestrian.0001" pedestrianCategory="pedestrian"> <ParameterDeclarations/> <BoundingBox> <Center x="1.5" y="0.0" z="0.9"/> <Dimensions width="2" length="2" height="2"/> </BoundingBox> <Properties> <Property name="type" value="simulation"/> </Properties> </Pedestrian> </ScenarioObject> <ScenarioObject name="pedestrian_w_transform_11789"> <Pedestrian model="walker.pedestrian.0001" mass="80" name="walker.pedestrian.0001" pedestrianCategory="pedestrian"> <ParameterDeclarations/> <BoundingBox> <Center x="1.5" y="0.0" z="0.9"/> <Dimensions width="2" length="2" height="2"/> </BoundingBox> <Properties> <Property name="type" value="simulation"/> </Properties> </Pedestrian> </ScenarioObject> <ScenarioObject name="pedestrian_close_to_hero_11790"> <Pedestrian model="walker.pedestrian.0001" mass="80" name="walker.pedestrian.0001" pedestrianCategory="pedestrian"> <ParameterDeclarations/> <BoundingBox> <Center x="1.5" y="0.0" z="0.9"/> <Dimensions width="2" length="2" height="2"/> </BoundingBox> <Properties> <Property name="type" value="simulation"/> </Properties> </Pedestrian> </ScenarioObject> <ScenarioObject name="pedestrian_w_transform_11791"> <Pedestrian model="walker.pedestrian.0001" mass="80" name="walker.pedestrian.0001" pedestrianCategory="pedestrian"> <ParameterDeclarations/> <BoundingBox> <Center x="1.5" y="0.0" z="0.9"/> <Dimensions width="2" length="2" height="2"/> </BoundingBox> <Properties> <Property name="type" value="simulation"/> </Properties> </Pedestrian> </ScenarioObject> <ScenarioObject name="pedestrian_w_transform_11792"> <Pedestrian model="walker.pedestrian.0001" mass="80" name="walker.pedestrian.0001" pedestrianCategory="pedestrian"> <ParameterDeclarations/> <BoundingBox> <Center x="1.5" y="0.0" z="0.9"/> <Dimensions width="2" length="2" height="2"/> </BoundingBox> <Properties> <Property name="type" value="simulation"/> </Properties> </Pedestrian> </ScenarioObject> <ScenarioObject name="pedestrian_w_transform_11793"> <Pedestrian model="walker.pedestrian.0001" mass="80" name="walker.pedestrian.0001" pedestrianCategory="pedestrian"> <ParameterDeclarations/> <BoundingBox> <Center x="1.5" y="0.0" z="0.9"/> <Dimensions width="2" length="2" height="2"/> </BoundingBox> <Properties> <Property name="type" value="simulation"/> </Properties> </Pedestrian> </ScenarioObject> <ScenarioObject name="pedestrian_close_to_hero_11794"> <Pedestrian model="walker.pedestrian.0001" mass="80" name="walker.pedestrian.0001" pedestrianCategory="pedestrian"> <ParameterDeclarations/> <BoundingBox> <Center x="1.5" y="0.0" z="0.9"/> <Dimensions width="2" length="2" height="2"/> </BoundingBox> <Properties> <Property name="type" value="simulation"/> </Properties> </Pedestrian> </ScenarioObject> <ScenarioObject name="pedestrian_close_to_hero_11796"> <Pedestrian model="walker.pedestrian.0001" mass="80" name="walker.pedestrian.0001" pedestrianCategory="pedestrian"> <ParameterDeclarations/> <BoundingBox> <Center x="1.5" y="0.0" z="0.9"/> <Dimensions width="2" length="2" height="2"/> </BoundingBox> <Properties> <Property name="type" value="simulation"/> </Properties> </Pedestrian> </ScenarioObject> <ScenarioObject name="pedestrian_close_to_adversary_11797"> <Pedestrian model="walker.pedestrian.0001" mass="80" name="walker.pedestrian.0001" pedestrianCategory="pedestrian"> <ParameterDeclarations/> <BoundingBox> <Center x="1.5" y="0.0" z="0.9"/> <Dimensions width="2" length="2" height="2"/> </BoundingBox> <Properties> <Property name="type" value="simulation"/> </Properties> </Pedestrian> </ScenarioObject> <ScenarioObject name="pedestrian_w_transform_11798"> <Pedestrian model="walker.pedestrian.0001" mass="80" name="walker.pedestrian.0001" pedestrianCategory="pedestrian"> <ParameterDeclarations/> <BoundingBox> <Center x="1.5" y="0.0" z="0.9"/> <Dimensions width="2" length="2" height="2"/> </BoundingBox> <Properties> <Property name="type" value="simulation"/> </Properties> </Pedestrian> </ScenarioObject> <ScenarioObject name="pedestrian_w_transform_11799"> <Pedestrian model="walker.pedestrian.0001" mass="80" name="walker.pedestrian.0001" pedestrianCategory="pedestrian"> <ParameterDeclarations/> <BoundingBox> <Center x="1.5" y="0.0" z="0.9"/> <Dimensions width="2" length="2" height="2"/> </BoundingBox> <Properties> <Property name="type" value="simulation"/> </Properties> </Pedestrian> </ScenarioObject> <ScenarioObject name="pedestrian_w_transform_11802"> <Pedestrian model="walker.pedestrian.0001" mass="80" name="walker.pedestrian.0001" pedestrianCategory="pedestrian"> <ParameterDeclarations/> <BoundingBox> <Center x="1.5" y="0.0" z="0.9"/> <Dimensions width="2" length="2" height="2"/> </BoundingBox> <Properties> <Property name="type" value="simulation"/> </Properties> </Pedestrian> </ScenarioObject> <ScenarioObject name="pedestrian_close_to_adversary_11803"> <Pedestrian model="walker.pedestrian.0001" mass="80" name="walker.pedestrian.0001" pedestrianCategory="pedestrian"> <ParameterDeclarations/> <BoundingBox> <Center x="1.5" y="0.0" z="0.9"/> <Dimensions width="2" length="2" height="2"/> </BoundingBox> <Properties> <Property name="type" value="simulation"/> </Properties> </Pedestrian> </ScenarioObject> </Entities> <Storyboard> <Init> <Actions> <GlobalAction> <EnvironmentAction> <Environment name="Environment1"> <TimeOfDay animation="false" dateTime="2019-06-25T12:00:00"/> <Weather cloudState="free"> <Sun intensity="0.85" azimuth="0" elevation="1.31"/> <Fog visualRange="100000.0"/> <Precipitation precipitationType="dry" intensity="0.0"/> </Weather> <RoadCondition frictionScaleFactor="1.0"/> </Environment> </EnvironmentAction> </GlobalAction> <Private entityRef="hero"> <PrivateAction> <TeleportAction> <Position> <WorldPosition x="-9.4" y="-152.8" z="0.5" h="1.57079632679"/> </Position> </TeleportAction> </PrivateAction> <PrivateAction> <ControllerAction> <AssignControllerAction> <Controller name="HeroAgent"> <Properties> <Property name="module" value="external_control"/> </Properties> </Controller> </AssignControllerAction> <OverrideControllerValueAction> <Throttle value="0" active="false"/> <Brake value="0" active="false"/> <Clutch value="0" active="false"/> <ParkingBrake value="0" active="false"/> <SteeringWheel value="0" active="false"/> <Gear number="0" active="false"/> </OverrideControllerValueAction> </ControllerAction> </PrivateAction> </Private> <Private entityRef="adversary"> <PrivateAction> <TeleportAction> <Position> <WorldPosition x="-9.4" y="-71.0" z="0.5" h="1.57079632679"/> </Position> </TeleportAction> </PrivateAction> </Private> <Private entityRef="standing"> <PrivateAction> <TeleportAction> <Position> <WorldPosition x="-8.2" y="29.2" z="0.5" h="1.57079632679"/> </Position> </TeleportAction> </PrivateAction> </Private> <Private entityRef="pedestrian_close_to_adversary_11780"> <PrivateAction> <TeleportAction> <Position> <WorldPosition x="-0.09641440212726593" y="-62.68102264404297" z="0.03373001143336296"/> </Position> </TeleportAction> </PrivateAction> </Private> <Private entityRef="pedestrian_w_transform_11781"> <PrivateAction> <TeleportAction> <Position> <WorldPosition x="-45.29231262207031" y="91.04242706298828" z="0.5"/> </Position> </TeleportAction> </PrivateAction> </Private> <Private entityRef="pedestrian_w_transform_11783"> <PrivateAction> <TeleportAction> <Position> <WorldPosition x="34.34773254394531" y="62.830902099609375" z="0.5"/> </Position> </TeleportAction> </PrivateAction> </Private> <Private entityRef="pedestrian_w_transform_11785"> <PrivateAction> <TeleportAction> <Position> <WorldPosition x="56.26321029663086" y="14.235118865966797" z="0.5"/> </Position> </TeleportAction> </PrivateAction> </Private> <Private entityRef="pedestrian_close_to_standing_11786"> <PrivateAction> <TeleportAction> <Position> <WorldPosition x="-1.306498408317566" y="31.4831485748291" z="0.0030581664759665728"/> </Position> </TeleportAction> </PrivateAction> </Private> <Private entityRef="pedestrian_close_to_adversary_11787"> <PrivateAction> <TeleportAction> <Position> <WorldPosition x="-15.194178581237793" y="-70.82746124267578" z="0.033828698098659515"/> </Position> </TeleportAction> </PrivateAction> </Private> <Private entityRef="pedestrian_close_to_standing_11788"> <PrivateAction> <TeleportAction> <Position> <WorldPosition x="-5.032052516937256" y="32.371829986572266" z="0.0030493545345962048"/> </Position> </TeleportAction> </PrivateAction> </Private> <Private entityRef="pedestrian_w_transform_11789"> <PrivateAction> <TeleportAction> <Position> <WorldPosition x="-96.01544952392578" y="0.3097466230392456" z="0.5"/> </Position> </TeleportAction> </PrivateAction> </Private> <Private entityRef="pedestrian_close_to_hero_11790"> <PrivateAction> <TeleportAction> <Position> <WorldPosition x="-10.38454818725586" y="-146.55287170410156" z="0.0014286803780123591"/> </Position> </TeleportAction> </PrivateAction> </Private> <Private entityRef="pedestrian_w_transform_11791"> <PrivateAction> <TeleportAction> <Position> <WorldPosition x="50.88176727294922" y="15.028383255004883" z="0.5"/> </Position> </TeleportAction> </PrivateAction> </Private> <Private entityRef="pedestrian_w_transform_11792"> <PrivateAction> <TeleportAction> <Position> <WorldPosition x="36.78325653076172" y="82.10755157470703" z="0.5"/> </Position> </TeleportAction> </PrivateAction> </Private> <Private entityRef="pedestrian_w_transform_11793"> <PrivateAction> <TeleportAction> <Position> <WorldPosition x="96.94965362548828" y="-8.541335105895996" z="0.5"/> </Position> </TeleportAction> </PrivateAction> </Private> <Private entityRef="pedestrian_close_to_hero_11794"> <PrivateAction> <TeleportAction> <Position> <WorldPosition x="-14.913949012756348" y="-152.3770294189453" z="0.0014286803780123591"/> </Position> </TeleportAction> </PrivateAction> </Private> <Private entityRef="pedestrian_close_to_hero_11796"> <PrivateAction> <TeleportAction> <Position> <WorldPosition x="-16.48224639892578" y="-160.25802612304688" z="0.0014286803780123591"/> </Position> </TeleportAction> </PrivateAction> </Private> <Private entityRef="pedestrian_close_to_adversary_11797"> <PrivateAction> <TeleportAction> <Position> <WorldPosition x="-15.826852798461914" y="-68.99070739746094" z="0.03380390256643295"/> </Position> </TeleportAction> </PrivateAction> </Private> <Private entityRef="pedestrian_w_transform_11798"> <PrivateAction> <TeleportAction> <Position> <WorldPosition x="-33.5995979309082" y="3.6784331798553467" z="0.5"/> </Position> </TeleportAction> </PrivateAction> </Private> <Private entityRef="pedestrian_w_transform_11799"> <PrivateAction> <TeleportAction> <Position> <WorldPosition x="65.99164581298828" y="31.31378173828125" z="0.5"/> </Position> </TeleportAction> </PrivateAction> </Private> <Private entityRef="pedestrian_w_transform_11802"> <PrivateAction> <TeleportAction> <Position> <WorldPosition x="37.023441314697266" y="-25.810209274291992" z="0.5"/> </Position> </TeleportAction> </PrivateAction> </Private> <Private entityRef="pedestrian_close_to_adversary_11803"> <PrivateAction> <TeleportAction> <Position> <WorldPosition x="0.5378517508506775" y="-61.971168518066406" z="0.03380340337753296"/> </Position> </TeleportAction> </PrivateAction> </Private> </Actions> </Init> <Story name="MyStory"> <Act name="Behavior"> <ManeuverGroup maximumExecutionCount="1" name="ManeuverSequence"> <Actors selectTriggeringEntities="false"> <EntityRef entityRef="adversary"/> </Actors> <Maneuver name="LaneChangeSimpleManeuver"> <Event name="AdversaryAccelerates" priority="overwrite"> <Action name="AdversaryAccelerates"> <PrivateAction> <LongitudinalAction> <SpeedAction> <SpeedActionDynamics dynamicsShape="step" value="50" dynamicsDimension="distance"/> <SpeedActionTarget> <AbsoluteTargetSpeed value="5.0"/> </SpeedActionTarget> </SpeedAction> </LongitudinalAction> </PrivateAction> </Action> <StartTrigger> <ConditionGroup> <Condition name="StartCondition" delay="0" conditionEdge="rising"> <ByEntityCondition> <TriggeringEntities triggeringEntitiesRule="any"> <EntityRef entityRef="hero"/> </TriggeringEntities> <EntityCondition> <RelativeDistanceCondition entityRef="adversary" relativeDistanceType="cartesianDistance" value="40.0" freespace="false" rule="lessThan"/> </EntityCondition> </ByEntityCondition> </Condition> </ConditionGroup> </StartTrigger> </Event> <Event name="AdversaryChangesLane" priority="overwrite"> <Action name="AdversaryChangesLane"> <PrivateAction> <LateralAction> <LaneChangeAction> <LaneChangeActionDynamics dynamicsShape="linear" value="25" dynamicsDimension="distance"/> <LaneChangeTarget> <RelativeTargetLane entityRef="adversary" value="-1"/> </LaneChangeTarget> </LaneChangeAction> </LateralAction> </PrivateAction> </Action> <StartTrigger> <ConditionGroup> <Condition name="AfterAdversaryAccelerates" delay="0" conditionEdge="rising"> <ByValueCondition> <StoryboardElementStateCondition storyboardElementType="action" storyboardElementRef="AdversaryAccelerates" state="completeState"/> </ByValueCondition> </Condition> </ConditionGroup> </StartTrigger> </Event> </Maneuver> </ManeuverGroup> <StartTrigger> <ConditionGroup> <Condition name="OverallStartCondition" delay="0" conditionEdge="rising"> <ByEntityCondition> <TriggeringEntities triggeringEntitiesRule="any"> <EntityRef entityRef="hero"/> </TriggeringEntities> <EntityCondition> <TraveledDistanceCondition value="1.0"/> </EntityCondition> </ByEntityCondition> </Condition> <Condition name="StartTime" delay="0" conditionEdge="rising"> <ByValueCondition> <SimulationTimeCondition value="0" rule="equalTo"/> </ByValueCondition> </Condition> </ConditionGroup> </StartTrigger> <StopTrigger> <ConditionGroup> <Condition name="EndCondition" delay="0" conditionEdge="rising"> <ByEntityCondition> <TriggeringEntities triggeringEntitiesRule="any"> <EntityRef entityRef="hero"/> </TriggeringEntities> <EntityCondition> <TraveledDistanceCondition value="200.0"/> </EntityCondition> </ByEntityCondition> </Condition> </ConditionGroup> </StopTrigger> </Act> </Story> <StopTrigger> <ConditionGroup> <Condition name="criteria_RunningStopTest" delay="0" conditionEdge="rising"> <ByValueCondition> <ParameterCondition parameterRef="" value="" rule="lessThan"/> </ByValueCondition> </Condition> <Condition name="criteria_RunningRedLightTest" delay="0" conditionEdge="rising"> <ByValueCondition> <ParameterCondition parameterRef="" value="" rule="lessThan"/> </ByValueCondition> </Condition> <Condition name="criteria_WrongLaneTest" delay="0" conditionEdge="rising"> <ByValueCondition> <ParameterCondition parameterRef="" value="" rule="lessThan"/> </ByValueCondition> </Condition> <Condition name="criteria_OnSidewalkTest" delay="0" conditionEdge="rising"> <ByValueCondition> <ParameterCondition parameterRef="" value="" rule="lessThan"/> </ByValueCondition> </Condition> <Condition name="criteria_KeepLaneTest" delay="0" conditionEdge="rising"> <ByValueCondition> <ParameterCondition parameterRef="" value="" rule="lessThan"/> </ByValueCondition> </Condition> <Condition name="criteria_CollisionTest" delay="0" conditionEdge="rising"> <ByValueCondition> <ParameterCondition parameterRef="" value="" rule="lessThan"/> </ByValueCondition> </Condition> <Condition name="criteria_DrivenDistanceTest" delay="0" conditionEdge="rising"> <ByValueCondition> <ParameterCondition parameterRef="distance_success" value="100" rule="lessThan"/> </ByValueCondition> </Condition> </ConditionGroup> </StopTrigger> </Storyboard> </OpenSCENARIO> ```
i would like to ask you to add pedestrian close to standing? ``` <?xml version="1.0" ?> <OpenSCENARIO> <FileHeader revMajor="1" revMinor="0" date="2020-03-24T12:00:00" description="CARLA:LaneChangeSimple" author=""/> <ParameterDeclarations/> <CatalogLocations/> <RoadNetwork> <LogicFile filepath="Town04"/> <SceneGraphFile filepath=""/> </RoadNetwork> <Entities> <ScenarioObject name="hero"> <Vehicle name="vehicle.tesla.model3" vehicleCategory="car"> <ParameterDeclarations/> <Performance maxSpeed="69.444" maxAcceleration="200" maxDeceleration="10.0"/> <BoundingBox> <Center x="1.5" y="0.0" z="0.9"/> <Dimensions width="2.1" length="4.5" height="1.8"/> </BoundingBox> <Axles> <FrontAxle maxSteering="0.5" wheelDiameter="0.6" trackWidth="1.8" positionX="3.1" positionZ="0.3"/> <RearAxle maxSteering="0.0" wheelDiameter="0.6" trackWidth="1.8" positionX="0.0" positionZ="0.3"/> </Axles> <Properties> <Property name="type" value="ego_vehicle"/> </Properties> </Vehicle> </ScenarioObject> <ScenarioObject name="adversary"> <Vehicle name="vehicle.lincoln.mkz_2017" vehicleCategory="car"> <ParameterDeclarations/> <Performance maxSpeed="69.444" maxAcceleration="200" maxDeceleration="10.0"/> <BoundingBox> <Center x="1.5" y="0.0" z="0.9"/> <Dimensions width="2.1" length="4.5" height="1.8"/> </BoundingBox> <Axles> <FrontAxle maxSteering="0.5" wheelDiameter="0.6" trackWidth="1.8" positionX="3.1" positionZ="0.3"/> <RearAxle maxSteering="0.0" wheelDiameter="0.6" trackWidth="1.8" positionX="0.0" positionZ="0.3"/> </Axles> <Properties> <Property name="type" value="simulation"/> </Properties> </Vehicle> </ScenarioObject> <ScenarioObject name="standing"> <Vehicle name="vehicle.volkswagen.t2" vehicleCategory="car"> <ParameterDeclarations/> <Performance maxSpeed="69.444" maxAcceleration="200" maxDeceleration="10.0"/> <BoundingBox> <Center x="1.5" y="0.0" z="0.9"/> <Dimensions width="2.1" length="4.5" height="1.8"/> </BoundingBox> <Axles> <FrontAxle maxSteering="0.5" wheelDiameter="0.6" trackWidth="1.8" positionX="3.1" positionZ="0.3"/> <RearAxle maxSteering="0.0" wheelDiameter="0.6" trackWidth="1.8" positionX="0.0" positionZ="0.3"/> </Axles> <Properties> <Property name="type" value="simulation"/> </Properties> </Vehicle> </ScenarioObject> <ScenarioObject name="pedestrian_close_to_adversary_18027"> <Pedestrian model="walker.pedestrian.0001" mass="80" name="walker.pedestrian.0001" pedestrianCategory="pedestrian"> <ParameterDeclarations/> <BoundingBox> <Center x="1.5" y="0.0" z="0.9"/> <Dimensions width="2" length="2" height="2"/> </BoundingBox> <Properties> <Property name="type" value="simulation"/> </Properties> </Pedestrian> </ScenarioObject> <ScenarioObject name="pedestrian_w_transform_18028"> <Pedestrian model="walker.pedestrian.0001" mass="80" name="walker.pedestrian.0001" pedestrianCategory="pedestrian"> <ParameterDeclarations/> <BoundingBox> <Center x="1.5" y="0.0" z="0.9"/> <Dimensions width="2" length="2" height="2"/> </BoundingBox> <Properties> <Property name="type" value="simulation"/> </Properties> </Pedestrian> </ScenarioObject> <ScenarioObject name="pedestrian_w_transform_18029"> <Pedestrian model="walker.pedestrian.0001" mass="80" name="walker.pedestrian.0001" pedestrianCategory="pedestrian"> <ParameterDeclarations/> <BoundingBox> <Center x="1.5" y="0.0" z="0.9"/> <Dimensions width="2" length="2" height="2"/> </BoundingBox> <Properties> <Property name="type" value="simulation"/> </Properties> </Pedestrian> </ScenarioObject> <ScenarioObject name="pedestrian_w_transform_18030"> <Pedestrian model="walker.pedestrian.0001" mass="80" name="walker.pedestrian.0001" pedestrianCategory="pedestrian"> <ParameterDeclarations/> <BoundingBox> <Center x="1.5" y="0.0" z="0.9"/> <Dimensions width="2" length="2" height="2"/> </BoundingBox> <Properties> <Property name="type" value="simulation"/> </Properties> </Pedestrian> </ScenarioObject> <ScenarioObject name="pedestrian_close_to_standing_18031"> <Pedestrian model="walker.pedestrian.0001" mass="80" name="walker.pedestrian.0001" pedestrianCategory="pedestrian"> <ParameterDeclarations/> <BoundingBox> <Center x="1.5" y="0.0" z="0.9"/> <Dimensions width="2" length="2" height="2"/> </BoundingBox> <Properties> <Property name="type" value="simulation"/> </Properties> </Pedestrian> </ScenarioObject> <ScenarioObject name="pedestrian_w_transform_18033"> <Pedestrian model="walker.pedestrian.0001" mass="80" name="walker.pedestrian.0001" pedestrianCategory="pedestrian"> <ParameterDeclarations/> <BoundingBox> <Center x="1.5" y="0.0" z="0.9"/> <Dimensions width="2" length="2" height="2"/> </BoundingBox> <Properties> <Property name="type" value="simulation"/> </Properties> </Pedestrian> </ScenarioObject> <ScenarioObject name="pedestrian_close_to_hero_18034"> <Pedestrian model="walker.pedestrian.0001" mass="80" name="walker.pedestrian.0001" pedestrianCategory="pedestrian"> <ParameterDeclarations/> <BoundingBox> <Center x="1.5" y="0.0" z="0.9"/> <Dimensions width="2" length="2" height="2"/> </BoundingBox> <Properties> <Property name="type" value="simulation"/> </Properties> </Pedestrian> </ScenarioObject> <ScenarioObject name="pedestrian_w_transform_18035"> <Pedestrian model="walker.pedestrian.0001" mass="80" name="walker.pedestrian.0001" pedestrianCategory="pedestrian"> <ParameterDeclarations/> <BoundingBox> <Center x="1.5" y="0.0" z="0.9"/> <Dimensions width="2" length="2" height="2"/> </BoundingBox> <Properties> <Property name="type" value="simulation"/> </Properties> </Pedestrian> </ScenarioObject> <ScenarioObject name="pedestrian_close_to_standing_18036"> <Pedestrian model="walker.pedestrian.0001" mass="80" name="walker.pedestrian.0001" pedestrianCategory="pedestrian"> <ParameterDeclarations/> <BoundingBox> <Center x="1.5" y="0.0" z="0.9"/> <Dimensions width="2" length="2" height="2"/> </BoundingBox> <Properties> <Property name="type" value="simulation"/> </Properties> </Pedestrian> </ScenarioObject> <ScenarioObject name="pedestrian_w_transform_18038"> <Pedestrian model="walker.pedestrian.0001" mass="80" name="walker.pedestrian.0001" pedestrianCategory="pedestrian"> <ParameterDeclarations/> <BoundingBox> <Center x="1.5" y="0.0" z="0.9"/> <Dimensions width="2" length="2" height="2"/> </BoundingBox> <Properties> <Property name="type" value="simulation"/> </Properties> </Pedestrian> </ScenarioObject> <ScenarioObject name="pedestrian_close_to_hero_18039"> <Pedestrian model="walker.pedestrian.0001" mass="80" name="walker.pedestrian.0001" pedestrianCategory="pedestrian"> <ParameterDeclarations/> <BoundingBox> <Center x="1.5" y="0.0" z="0.9"/> <Dimensions width="2" length="2" height="2"/> </BoundingBox> <Properties> <Property name="type" value="simulation"/> </Properties> </Pedestrian> </ScenarioObject> <ScenarioObject name="pedestrian_w_transform_18040"> <Pedestrian model="walker.pedestrian.0001" mass="80" name="walker.pedestrian.0001" pedestrianCategory="pedestrian"> <ParameterDeclarations/> <BoundingBox> <Center x="1.5" y="0.0" z="0.9"/> <Dimensions width="2" length="2" height="2"/> </BoundingBox> <Properties> <Property name="type" value="simulation"/> </Properties> </Pedestrian> </ScenarioObject> <ScenarioObject name="pedestrian_close_to_hero_18041"> <Pedestrian model="walker.pedestrian.0001" mass="80" name="walker.pedestrian.0001" pedestrianCategory="pedestrian"> <ParameterDeclarations/> <BoundingBox> <Center x="1.5" y="0.0" z="0.9"/> <Dimensions width="2" length="2" height="2"/> </BoundingBox> <Properties> <Property name="type" value="simulation"/> </Properties> </Pedestrian> </ScenarioObject> <ScenarioObject name="pedestrian_w_transform_18042"> <Pedestrian model="walker.pedestrian.0001" mass="80" name="walker.pedestrian.0001" pedestrianCategory="pedestrian"> <ParameterDeclarations/> <BoundingBox> <Center x="1.5" y="0.0" z="0.9"/> <Dimensions width="2" length="2" height="2"/> </BoundingBox> <Properties> <Property name="type" value="simulation"/> </Properties> </Pedestrian> </ScenarioObject> <ScenarioObject name="pedestrian_close_to_adversary_18043"> <Pedestrian model="walker.pedestrian.0001" mass="80" name="walker.pedestrian.0001" pedestrianCategory="pedestrian"> <ParameterDeclarations/> <BoundingBox> <Center x="1.5" y="0.0" z="0.9"/> <Dimensions width="2" length="2" height="2"/> </BoundingBox> <Properties> <Property name="type" value="simulation"/> </Properties> </Pedestrian> </ScenarioObject> <ScenarioObject name="pedestrian_close_to_adversary_18044"> <Pedestrian model="walker.pedestrian.0001" mass="80" name="walker.pedestrian.0001" pedestrianCategory="pedestrian"> <ParameterDeclarations/> <BoundingBox> <Center x="1.5" y="0.0" z="0.9"/> <Dimensions width="2" length="2" height="2"/> </BoundingBox> <Properties> <Property name="type" value="simulation"/> </Properties> </Pedestrian> </ScenarioObject> </Entities> <Storyboard> <Init> <Actions> <GlobalAction> <EnvironmentAction> <Environment name="Environment1"> <TimeOfDay animation="false" dateTime="2019-06-25T12:00:00"/> <Weather cloudState="free"> <Sun intensity="0.85" azimuth="0" elevation="1.31"/> <Fog visualRange="100000.0"/> <Precipitation precipitationType="dry" intensity="0.0"/> </Weather> <RoadCondition frictionScaleFactor="1.0"/> </Environment> </EnvironmentAction> </GlobalAction> <Private entityRef="hero"> <PrivateAction> <TeleportAction> <Position> <WorldPosition x="-9.4" y="-152.8" z="0.5" h="1.57079632679"/> </Position> </TeleportAction> </PrivateAction> <PrivateAction> <ControllerAction> <AssignControllerAction> <Controller name="HeroAgent"> <Properties> <Property name="module" value="external_control"/> </Properties> </Controller> </AssignControllerAction> <OverrideControllerValueAction> <Throttle value="0" active="false"/> <Brake value="0" active="false"/> <Clutch value="0" active="false"/> <ParkingBrake value="0" active="false"/> <SteeringWheel value="0" active="false"/> <Gear number="0" active="false"/> </OverrideControllerValueAction> </ControllerAction> </PrivateAction> </Private> <Private entityRef="adversary"> <PrivateAction> <TeleportAction> <Position> <WorldPosition x="-9.4" y="-71.0" z="0.5" h="1.57079632679"/> </Position> </TeleportAction> </PrivateAction> </Private> <Private entityRef="standing"> <PrivateAction> <TeleportAction> <Position> <WorldPosition x="-8.2" y="29.2" z="0.5" h="1.57079632679"/> </Position> </TeleportAction> </PrivateAction> </Private> <Private entityRef="pedestrian_close_to_adversary_18027"> <PrivateAction> <TeleportAction> <Position> <WorldPosition x="-15.900639533996582" y="-69.85160064697266" z="0.03376957029104233"/> </Position> </TeleportAction> </PrivateAction> </Private> <Private entityRef="pedestrian_w_transform_18028"> <PrivateAction> <TeleportAction> <Position> <WorldPosition x="61.19000244140625" y="-98.33189392089844" z="0.5"/> </Position> </TeleportAction> </PrivateAction> </Private> <Private entityRef="pedestrian_w_transform_18029"> <PrivateAction> <TeleportAction> <Position> <WorldPosition x="42.83230972290039" y="-17.030086517333984" z="0.5"/> </Position> </TeleportAction> </PrivateAction> </Private> <Private entityRef="pedestrian_w_transform_18030"> <PrivateAction> <TeleportAction> <Position> <WorldPosition x="-67.69416046142578" y="7.64551305770874" z="0.5"/> </Position> </TeleportAction> </PrivateAction> </Private> <Private entityRef="pedestrian_close_to_standing_18031"> <PrivateAction> <TeleportAction> <Position> <WorldPosition x="-12.495244979858398" y="24.161958694458008" z="0.0030650710687041283"/> </Position> </TeleportAction> </PrivateAction> </Private> <Private entityRef="pedestrian_w_transform_18033"> <PrivateAction> <TeleportAction> <Position> <WorldPosition x="-17.113183975219727" y="41.35500717163086" z="0.5"/> </Position> </TeleportAction> </PrivateAction> </Private> <Private entityRef="pedestrian_close_to_hero_18034"> <PrivateAction> <TeleportAction> <Position> <WorldPosition x="-5.776152610778809" y="-152.39564514160156" z="0.0014286803780123591"/> </Position> </TeleportAction> </PrivateAction> </Private> <Private entityRef="pedestrian_w_transform_18035"> <PrivateAction> <TeleportAction> <Position> <WorldPosition x="-89.802490234375" y="24.54802703857422" z="0.5"/> </Position> </TeleportAction> </PrivateAction> </Private> <Private entityRef="pedestrian_close_to_standing_18036"> <PrivateAction> <TeleportAction> <Position> <WorldPosition x="-6.668486595153809" y="26.78164291381836" z="0.0030617904849350452"/> </Position> </TeleportAction> </PrivateAction> </Private> <Private entityRef="pedestrian_w_transform_18038"> <PrivateAction> <TeleportAction> <Position> <WorldPosition x="80.15874481201172" y="47.404518127441406" z="0.5"/> </Position> </TeleportAction> </PrivateAction> </Private> <Private entityRef="pedestrian_close_to_hero_18039"> <PrivateAction> <TeleportAction> <Position> <WorldPosition x="-15.922837257385254" y="-146.12632751464844" z="0.0014286803780123591"/> </Position> </TeleportAction> </PrivateAction> </Private> <Private entityRef="pedestrian_w_transform_18040"> <PrivateAction> <TeleportAction> <Position> <WorldPosition x="46.87355422973633" y="-36.17551803588867" z="0.5"/> </Position> </TeleportAction> </PrivateAction> </Private> <Private entityRef="pedestrian_close_to_hero_18041"> <PrivateAction> <TeleportAction> <Position> <WorldPosition x="1.8925755023956299" y="-154.4650421142578" z="0.0014286803780123591"/> </Position> </TeleportAction> </PrivateAction> </Private> <Private entityRef="pedestrian_w_transform_18042"> <PrivateAction> <TeleportAction> <Position> <WorldPosition x="-3.9736738204956055" y="44.86396789550781" z="0.5"/> </Position> </TeleportAction> </PrivateAction> </Private> <Private entityRef="pedestrian_close_to_adversary_18043"> <PrivateAction> <TeleportAction> <Position> <WorldPosition x="-8.58349609375" y="-77.78553771972656" z="0.033760640770196915"/> </Position> </TeleportAction> </PrivateAction> </Private> <Private entityRef="pedestrian_close_to_adversary_18044"> <PrivateAction> <TeleportAction> <Position> <WorldPosition x="-16.052642822265625" y="-80.82250213623047" z="0.03381580114364624"/> </Position> </TeleportAction> </PrivateAction> </Private> </Actions> </Init> <Story name="MyStory"> <Act name="Behavior"> <ManeuverGroup maximumExecutionCount="1" name="ManeuverSequence"> <Actors selectTriggeringEntities="false"> <EntityRef entityRef="adversary"/> </Actors> <Maneuver name="LaneChangeSimpleManeuver"> <Event name="AdversaryAccelerates" priority="overwrite"> <Action name="AdversaryAccelerates"> <PrivateAction> <LongitudinalAction> <SpeedAction> <SpeedActionDynamics dynamicsShape="step" value="50" dynamicsDimension="distance"/> <SpeedActionTarget> <AbsoluteTargetSpeed value="5.0"/> </SpeedActionTarget> </SpeedAction> </LongitudinalAction> </PrivateAction> </Action> <StartTrigger> <ConditionGroup> <Condition name="StartCondition" delay="0" conditionEdge="rising"> <ByEntityCondition> <TriggeringEntities triggeringEntitiesRule="any"> <EntityRef entityRef="hero"/> </TriggeringEntities> <EntityCondition> <RelativeDistanceCondition entityRef="adversary" relativeDistanceType="cartesianDistance" value="40.0" freespace="false" rule="lessThan"/> </EntityCondition> </ByEntityCondition> </Condition> </ConditionGroup> </StartTrigger> </Event> <Event name="AdversaryChangesLane" priority="overwrite"> <Action name="AdversaryChangesLane"> <PrivateAction> <LateralAction> <LaneChangeAction> <LaneChangeActionDynamics dynamicsShape="linear" value="25" dynamicsDimension="distance"/> <LaneChangeTarget> <RelativeTargetLane entityRef="adversary" value="-1"/> </LaneChangeTarget> </LaneChangeAction> </LateralAction> </PrivateAction> </Action> <StartTrigger> <ConditionGroup> <Condition name="AfterAdversaryAccelerates" delay="0" conditionEdge="rising"> <ByValueCondition> <StoryboardElementStateCondition storyboardElementType="action" storyboardElementRef="AdversaryAccelerates" state="completeState"/> </ByValueCondition> </Condition> </ConditionGroup> </StartTrigger> </Event> </Maneuver> </ManeuverGroup> <StartTrigger> <ConditionGroup> <Condition name="OverallStartCondition" delay="0" conditionEdge="rising"> <ByEntityCondition> <TriggeringEntities triggeringEntitiesRule="any"> <EntityRef entityRef="hero"/> </TriggeringEntities> <EntityCondition> <TraveledDistanceCondition value="1.0"/> </EntityCondition> </ByEntityCondition> </Condition> <Condition name="StartTime" delay="0" conditionEdge="rising"> <ByValueCondition> <SimulationTimeCondition value="0" rule="equalTo"/> </ByValueCondition> </Condition> </ConditionGroup> </StartTrigger> <StopTrigger> <ConditionGroup> <Condition name="EndCondition" delay="0" conditionEdge="rising"> <ByEntityCondition> <TriggeringEntities triggeringEntitiesRule="any"> <EntityRef entityRef="hero"/> </TriggeringEntities> <EntityCondition> <TraveledDistanceCondition value="200.0"/> </EntityCondition> </ByEntityCondition> </Condition> </ConditionGroup> </StopTrigger> </Act> </Story> <StopTrigger> <ConditionGroup> <Condition name="criteria_RunningStopTest" delay="0" conditionEdge="rising"> <ByValueCondition> <ParameterCondition parameterRef="" value="" rule="lessThan"/> </ByValueCondition> </Condition> <Condition name="criteria_RunningRedLightTest" delay="0" conditionEdge="rising"> <ByValueCondition> <ParameterCondition parameterRef="" value="" rule="lessThan"/> </ByValueCondition> </Condition> <Condition name="criteria_WrongLaneTest" delay="0" conditionEdge="rising"> <ByValueCondition> <ParameterCondition parameterRef="" value="" rule="lessThan"/> </ByValueCondition> </Condition> <Condition name="criteria_OnSidewalkTest" delay="0" conditionEdge="rising"> <ByValueCondition> <ParameterCondition parameterRef="" value="" rule="lessThan"/> </ByValueCondition> </Condition> <Condition name="criteria_KeepLaneTest" delay="0" conditionEdge="rising"> <ByValueCondition> <ParameterCondition parameterRef="" value="" rule="lessThan"/> </ByValueCondition> </Condition> <Condition name="criteria_CollisionTest" delay="0" conditionEdge="rising"> <ByValueCondition> <ParameterCondition parameterRef="" value="" rule="lessThan"/> </ByValueCondition> </Condition> <Condition name="criteria_DrivenDistanceTest" delay="0" conditionEdge="rising"> <ByValueCondition> <ParameterCondition parameterRef="distance_success" value="100" rule="lessThan"/> </ByValueCondition> </Condition> </ConditionGroup> </StopTrigger> </Storyboard> </OpenSCENARIO> ```
Here is the result: ``` <?xml version="1.0" ?> <OpenSCENARIO> <FileHeader revMajor="1" revMinor="0" date="2020-03-24T12:00:00" description="CARLA:LaneChangeSimple" author=""/> <ParameterDeclarations/> <CatalogLocations/> <RoadNetwork> <LogicFile filepath="Town04"/> <SceneGraphFile filepath=""/> </RoadNetwork> <Entities> <ScenarioObject name="hero"> <Vehicle name="vehicle.tesla.model3" vehicleCategory="car"> <ParameterDeclarations/> <Performance maxSpeed="69.444" maxAcceleration="200" maxDeceleration="10.0"/> <BoundingBox> <Center x="1.5" y="0.0" z="0.9"/> <Dimensions width="2.1" length="4.5" height="1.8"/> </BoundingBox> <Axles> <FrontAxle maxSteering="0.5" wheelDiameter="0.6" trackWidth="1.8" positionX="3.1" positionZ="0.3"/> <RearAxle maxSteering="0.0" wheelDiameter="0.6" trackWidth="1.8" positionX="0.0" positionZ="0.3"/> </Axles> <Properties> <Property name="type" value="ego_vehicle"/> </Properties> </Vehicle> </ScenarioObject> <ScenarioObject name="adversary"> <Vehicle name="vehicle.lincoln.mkz_2017" vehicleCategory="car"> <ParameterDeclarations/> <Performance maxSpeed="69.444" maxAcceleration="200" maxDeceleration="10.0"/> <BoundingBox> <Center x="1.5" y="0.0" z="0.9"/> <Dimensions width="2.1" length="4.5" height="1.8"/> </BoundingBox> <Axles> <FrontAxle maxSteering="0.5" wheelDiameter="0.6" trackWidth="1.8" positionX="3.1" positionZ="0.3"/> <RearAxle maxSteering="0.0" wheelDiameter="0.6" trackWidth="1.8" positionX="0.0" positionZ="0.3"/> </Axles> <Properties> <Property name="type" value="simulation"/> </Properties> </Vehicle> </ScenarioObject> <ScenarioObject name="standing"> <Vehicle name="vehicle.volkswagen.t2" vehicleCategory="car"> <ParameterDeclarations/> <Performance maxSpeed="69.444" maxAcceleration="200" maxDeceleration="10.0"/> <BoundingBox> <Center x="1.5" y="0.0" z="0.9"/> <Dimensions width="2.1" length="4.5" height="1.8"/> </BoundingBox> <Axles> <FrontAxle maxSteering="0.5" wheelDiameter="0.6" trackWidth="1.8" positionX="3.1" positionZ="0.3"/> <RearAxle maxSteering="0.0" wheelDiameter="0.6" trackWidth="1.8" positionX="0.0" positionZ="0.3"/> </Axles> <Properties> <Property name="type" value="simulation"/> </Properties> </Vehicle> </ScenarioObject> <ScenarioObject name="pedestrian_close_to_adversary_18027"> <Pedestrian model="walker.pedestrian.0001" mass="80" name="walker.pedestrian.0001" pedestrianCategory="pedestrian"> <ParameterDeclarations/> <BoundingBox> <Center x="1.5" y="0.0" z="0.9"/> <Dimensions width="2" length="2" height="2"/> </BoundingBox> <Properties> <Property name="type" value="simulation"/> </Properties> </Pedestrian> </ScenarioObject> <ScenarioObject name="pedestrian_w_transform_18028"> <Pedestrian model="walker.pedestrian.0001" mass="80" name="walker.pedestrian.0001" pedestrianCategory="pedestrian"> <ParameterDeclarations/> <BoundingBox> <Center x="1.5" y="0.0" z="0.9"/> <Dimensions width="2" length="2" height="2"/> </BoundingBox> <Properties> <Property name="type" value="simulation"/> </Properties> </Pedestrian> </ScenarioObject> <ScenarioObject name="pedestrian_w_transform_18029"> <Pedestrian model="walker.pedestrian.0001" mass="80" name="walker.pedestrian.0001" pedestrianCategory="pedestrian"> <ParameterDeclarations/> <BoundingBox> <Center x="1.5" y="0.0" z="0.9"/> <Dimensions width="2" length="2" height="2"/> </BoundingBox> <Properties> <Property name="type" value="simulation"/> </Properties> </Pedestrian> </ScenarioObject> <ScenarioObject name="pedestrian_w_transform_18030"> <Pedestrian model="walker.pedestrian.0001" mass="80" name="walker.pedestrian.0001" pedestrianCategory="pedestrian"> <ParameterDeclarations/> <BoundingBox> <Center x="1.5" y="0.0" z="0.9"/> <Dimensions width="2" length="2" height="2"/> </BoundingBox> <Properties> <Property name="type" value="simulation"/> </Properties> </Pedestrian> </ScenarioObject> <ScenarioObject name="pedestrian_close_to_standing_18031"> <Pedestrian model="walker.pedestrian.0001" mass="80" name="walker.pedestrian.0001" pedestrianCategory="pedestrian"> <ParameterDeclarations/> <BoundingBox> <Center x="1.5" y="0.0" z="0.9"/> <Dimensions width="2" length="2" height="2"/> </BoundingBox> <Properties> <Property name="type" value="simulation"/> </Properties> </Pedestrian> </ScenarioObject> <ScenarioObject name="pedestrian_w_transform_18033"> <Pedestrian model="walker.pedestrian.0001" mass="80" name="walker.pedestrian.0001" pedestrianCategory="pedestrian"> <ParameterDeclarations/> <BoundingBox> <Center x="1.5" y="0.0" z="0.9"/> <Dimensions width="2" length="2" height="2"/> </BoundingBox> <Properties> <Property name="type" value="simulation"/> </Properties> </Pedestrian> </ScenarioObject> <ScenarioObject name="pedestrian_close_to_hero_18034"> <Pedestrian model="walker.pedestrian.0001" mass="80" name="walker.pedestrian.0001" pedestrianCategory="pedestrian"> <ParameterDeclarations/> <BoundingBox> <Center x="1.5" y="0.0" z="0.9"/> <Dimensions width="2" length="2" height="2"/> </BoundingBox> <Properties> <Property name="type" value="simulation"/> </Properties> </Pedestrian> </ScenarioObject> <ScenarioObject name="pedestrian_w_transform_18035"> <Pedestrian model="walker.pedestrian.0001" mass="80" name="walker.pedestrian.0001" pedestrianCategory="pedestrian"> <ParameterDeclarations/> <BoundingBox> <Center x="1.5" y="0.0" z="0.9"/> <Dimensions width="2" length="2" height="2"/> </BoundingBox> <Properties> <Property name="type" value="simulation"/> </Properties> </Pedestrian> </ScenarioObject> <ScenarioObject name="pedestrian_close_to_standing_18036"> <Pedestrian model="walker.pedestrian.0001" mass="80" name="walker.pedestrian.0001" pedestrianCategory="pedestrian"> <ParameterDeclarations/> <BoundingBox> <Center x="1.5" y="0.0" z="0.9"/> <Dimensions width="2" length="2" height="2"/> </BoundingBox> <Properties> <Property name="type" value="simulation"/> </Properties> </Pedestrian> </ScenarioObject> <ScenarioObject name="pedestrian_w_transform_18038"> <Pedestrian model="walker.pedestrian.0001" mass="80" name="walker.pedestrian.0001" pedestrianCategory="pedestrian"> <ParameterDeclarations/> <BoundingBox> <Center x="1.5" y="0.0" z="0.9"/> <Dimensions width="2" length="2" height="2"/> </BoundingBox> <Properties> <Property name="type" value="simulation"/> </Properties> </Pedestrian> </ScenarioObject> <ScenarioObject name="pedestrian_close_to_hero_18039"> <Pedestrian model="walker.pedestrian.0001" mass="80" name="walker.pedestrian.0001" pedestrianCategory="pedestrian"> <ParameterDeclarations/> <BoundingBox> <Center x="1.5" y="0.0" z="0.9"/> <Dimensions width="2" length="2" height="2"/> </BoundingBox> <Properties> <Property name="type" value="simulation"/> </Properties> </Pedestrian> </ScenarioObject> <ScenarioObject name="pedestrian_w_transform_18040"> <Pedestrian model="walker.pedestrian.0001" mass="80" name="walker.pedestrian.0001" pedestrianCategory="pedestrian"> <ParameterDeclarations/> <BoundingBox> <Center x="1.5" y="0.0" z="0.9"/> <Dimensions width="2" length="2" height="2"/> </BoundingBox> <Properties> <Property name="type" value="simulation"/> </Properties> </Pedestrian> </ScenarioObject> <ScenarioObject name="pedestrian_close_to_hero_18041"> <Pedestrian model="walker.pedestrian.0001" mass="80" name="walker.pedestrian.0001" pedestrianCategory="pedestrian"> <ParameterDeclarations/> <BoundingBox> <Center x="1.5" y="0.0" z="0.9"/> <Dimensions width="2" length="2" height="2"/> </BoundingBox> <Properties> <Property name="type" value="simulation"/> </Properties> </Pedestrian> </ScenarioObject> <ScenarioObject name="pedestrian_w_transform_18042"> <Pedestrian model="walker.pedestrian.0001" mass="80" name="walker.pedestrian.0001" pedestrianCategory="pedestrian"> <ParameterDeclarations/> <BoundingBox> <Center x="1.5" y="0.0" z="0.9"/> <Dimensions width="2" length="2" height="2"/> </BoundingBox> <Properties> <Property name="type" value="simulation"/> </Properties> </Pedestrian> </ScenarioObject> <ScenarioObject name="pedestrian_close_to_adversary_18043"> <Pedestrian model="walker.pedestrian.0001" mass="80" name="walker.pedestrian.0001" pedestrianCategory="pedestrian"> <ParameterDeclarations/> <BoundingBox> <Center x="1.5" y="0.0" z="0.9"/> <Dimensions width="2" length="2" height="2"/> </BoundingBox> <Properties> <Property name="type" value="simulation"/> </Properties> </Pedestrian> </ScenarioObject> <ScenarioObject name="pedestrian_close_to_adversary_18044"> <Pedestrian model="walker.pedestrian.0001" mass="80" name="walker.pedestrian.0001" pedestrianCategory="pedestrian"> <ParameterDeclarations/> <BoundingBox> <Center x="1.5" y="0.0" z="0.9"/> <Dimensions width="2" length="2" height="2"/> </BoundingBox> <Properties> <Property name="type" value="simulation"/> </Properties> </Pedestrian> </ScenarioObject> <ScenarioObject name="pedestrian_close_to_standing_18045"> <Pedestrian model="walker.pedestrian.0001" mass="80" name="walker.pedestrian.0001" pedestrianCategory="pedestrian"> <ParameterDeclarations/> <BoundingBox> <Center x="1.5" y="0.0" z="0.9"/> <Dimensions width="2" length="2" height="2"/> </BoundingBox> <Properties> <Property name="type" value="simulation"/> </Properties> </Pedestrian> </ScenarioObject> </Entities> <Storyboard> <Init> <Actions> <GlobalAction> <EnvironmentAction> <Environment name="Environment1"> <TimeOfDay animation="false" dateTime="2019-06-25T12:00:00"/> <Weather cloudState="free"> <Sun intensity="0.85" azimuth="0" elevation="1.31"/> <Fog visualRange="100000.0"/> <Precipitation precipitationType="dry" intensity="0.0"/> </Weather> <RoadCondition frictionScaleFactor="1.0"/> </Environment> </EnvironmentAction> </GlobalAction> <Private entityRef="hero"> <PrivateAction> <TeleportAction> <Position> <WorldPosition x="-9.4" y="-152.8" z="0.5" h="1.57079632679"/> </Position> </TeleportAction> </PrivateAction> <PrivateAction> <ControllerAction> <AssignControllerAction> <Controller name="HeroAgent"> <Properties> <Property name="module" value="external_control"/> </Properties> </Controller> </AssignControllerAction> <OverrideControllerValueAction> <Throttle value="0" active="false"/> <Brake value="0" active="false"/> <Clutch value="0" active="false"/> <ParkingBrake value="0" active="false"/> <SteeringWheel value="0" active="false"/> <Gear number="0" active="false"/> </OverrideControllerValueAction> </ControllerAction> </PrivateAction> </Private> <Private entityRef="adversary"> <PrivateAction> <TeleportAction> <Position> <WorldPosition x="-9.4" y="-71.0" z="0.5" h="1.57079632679"/> </Position> </TeleportAction> </PrivateAction> </Private> <Private entityRef="standing"> <PrivateAction> <TeleportAction> <Position> <WorldPosition x="-8.2" y="29.2" z="0.5" h="1.57079632679"/> </Position> </TeleportAction> </PrivateAction> </Private> <Private entityRef="pedestrian_close_to_adversary_18027"> <PrivateAction> <TeleportAction> <Position> <WorldPosition x="-15.900639533996582" y="-69.85160064697266" z="0.03376957029104233"/> </Position> </TeleportAction> </PrivateAction> </Private> <Private entityRef="pedestrian_w_transform_18028"> <PrivateAction> <TeleportAction> <Position> <WorldPosition x="61.19000244140625" y="-98.33189392089844" z="0.5"/> </Position> </TeleportAction> </PrivateAction> </Private> <Private entityRef="pedestrian_w_transform_18029"> <PrivateAction> <TeleportAction> <Position> <WorldPosition x="42.83230972290039" y="-17.030086517333984" z="0.5"/> </Position> </TeleportAction> </PrivateAction> </Private> <Private entityRef="pedestrian_w_transform_18030"> <PrivateAction> <TeleportAction> <Position> <WorldPosition x="-67.69416046142578" y="7.64551305770874" z="0.5"/> </Position> </TeleportAction> </PrivateAction> </Private> <Private entityRef="pedestrian_close_to_standing_18031"> <PrivateAction> <TeleportAction> <Position> <WorldPosition x="-12.495244979858398" y="24.161958694458008" z="0.0030650710687041283"/> </Position> </TeleportAction> </PrivateAction> </Private> <Private entityRef="pedestrian_w_transform_18033"> <PrivateAction> <TeleportAction> <Position> <WorldPosition x="-17.113183975219727" y="41.35500717163086" z="0.5"/> </Position> </TeleportAction> </PrivateAction> </Private> <Private entityRef="pedestrian_close_to_hero_18034"> <PrivateAction> <TeleportAction> <Position> <WorldPosition x="-5.776152610778809" y="-152.39564514160156" z="0.0014286803780123591"/> </Position> </TeleportAction> </PrivateAction> </Private> <Private entityRef="pedestrian_w_transform_18035"> <PrivateAction> <TeleportAction> <Position> <WorldPosition x="-89.802490234375" y="24.54802703857422" z="0.5"/> </Position> </TeleportAction> </PrivateAction> </Private> <Private entityRef="pedestrian_close_to_standing_18036"> <PrivateAction> <TeleportAction> <Position> <WorldPosition x="-6.668486595153809" y="26.78164291381836" z="0.0030617904849350452"/> </Position> </TeleportAction> </PrivateAction> </Private> <Private entityRef="pedestrian_w_transform_18038"> <PrivateAction> <TeleportAction> <Position> <WorldPosition x="80.15874481201172" y="47.404518127441406" z="0.5"/> </Position> </TeleportAction> </PrivateAction> </Private> <Private entityRef="pedestrian_close_to_hero_18039"> <PrivateAction> <TeleportAction> <Position> <WorldPosition x="-15.922837257385254" y="-146.12632751464844" z="0.0014286803780123591"/> </Position> </TeleportAction> </PrivateAction> </Private> <Private entityRef="pedestrian_w_transform_18040"> <PrivateAction> <TeleportAction> <Position> <WorldPosition x="46.87355422973633" y="-36.17551803588867" z="0.5"/> </Position> </TeleportAction> </PrivateAction> </Private> <Private entityRef="pedestrian_close_to_hero_18041"> <PrivateAction> <TeleportAction> <Position> <WorldPosition x="1.8925755023956299" y="-154.4650421142578" z="0.0014286803780123591"/> </Position> </TeleportAction> </PrivateAction> </Private> <Private entityRef="pedestrian_w_transform_18042"> <PrivateAction> <TeleportAction> <Position> <WorldPosition x="-3.9736738204956055" y="44.86396789550781" z="0.5"/> </Position> </TeleportAction> </PrivateAction> </Private> <Private entityRef="pedestrian_close_to_adversary_18043"> <PrivateAction> <TeleportAction> <Position> <WorldPosition x="-8.58349609375" y="-77.78553771972656" z="0.033760640770196915"/> </Position> </TeleportAction> </PrivateAction> </Private> <Private entityRef="pedestrian_close_to_adversary_18044"> <PrivateAction> <TeleportAction> <Position> <WorldPosition x="-16.052642822265625" y="-80.82250213623047" z="0.03381580114364624"/> </Position> </TeleportAction> </PrivateAction> </Private> <Private entityRef="pedestrian_close_to_standing_18045"> <PrivateAction> <TeleportAction> <Position> <WorldPosition x="-14.571966171264648" y="30.95387077331543" z="0.0031164169777184725"/> </Position> </TeleportAction> </PrivateAction> </Private> </Actions> </Init> <Story name="MyStory"> <Act name="Behavior"> <ManeuverGroup maximumExecutionCount="1" name="ManeuverSequence"> <Actors selectTriggeringEntities="false"> <EntityRef entityRef="adversary"/> </Actors> <Maneuver name="LaneChangeSimpleManeuver"> <Event name="AdversaryAccelerates" priority="overwrite"> <Action name="AdversaryAccelerates"> <PrivateAction> <LongitudinalAction> <SpeedAction> <SpeedActionDynamics dynamicsShape="step" value="50" dynamicsDimension="distance"/> <SpeedActionTarget> <AbsoluteTargetSpeed value="5.0"/> </SpeedActionTarget> </SpeedAction> </LongitudinalAction> </PrivateAction> </Action> <StartTrigger> <ConditionGroup> <Condition name="StartCondition" delay="0" conditionEdge="rising"> <ByEntityCondition> <TriggeringEntities triggeringEntitiesRule="any"> <EntityRef entityRef="hero"/> </TriggeringEntities> <EntityCondition> <RelativeDistanceCondition entityRef="adversary" relativeDistanceType="cartesianDistance" value="40.0" freespace="false" rule="lessThan"/> </EntityCondition> </ByEntityCondition> </Condition> </ConditionGroup> </StartTrigger> </Event> <Event name="AdversaryChangesLane" priority="overwrite"> <Action name="AdversaryChangesLane"> <PrivateAction> <LateralAction> <LaneChangeAction> <LaneChangeActionDynamics dynamicsShape="linear" value="25" dynamicsDimension="distance"/> <LaneChangeTarget> <RelativeTargetLane entityRef="adversary" value="-1"/> </LaneChangeTarget> </LaneChangeAction> </LateralAction> </PrivateAction> </Action> <StartTrigger> <ConditionGroup> <Condition name="AfterAdversaryAccelerates" delay="0" conditionEdge="rising"> <ByValueCondition> <StoryboardElementStateCondition storyboardElementType="action" storyboardElementRef="AdversaryAccelerates" state="completeState"/> </ByValueCondition> </Condition> </ConditionGroup> </StartTrigger> </Event> </Maneuver> </ManeuverGroup> <StartTrigger> <ConditionGroup> <Condition name="OverallStartCondition" delay="0" conditionEdge="rising"> <ByEntityCondition> <TriggeringEntities triggeringEntitiesRule="any"> <EntityRef entityRef="hero"/> </TriggeringEntities> <EntityCondition> <TraveledDistanceCondition value="1.0"/> </EntityCondition> </ByEntityCondition> </Condition> <Condition name="StartTime" delay="0" conditionEdge="rising"> <ByValueCondition> <SimulationTimeCondition value="0" rule="equalTo"/> </ByValueCondition> </Condition> </ConditionGroup> </StartTrigger> <StopTrigger> <ConditionGroup> <Condition name="EndCondition" delay="0" conditionEdge="rising"> <ByEntityCondition> <TriggeringEntities triggeringEntitiesRule="any"> <EntityRef entityRef="hero"/> </TriggeringEntities> <EntityCondition> <TraveledDistanceCondition value="200.0"/> </EntityCondition> </ByEntityCondition> </Condition> </ConditionGroup> </StopTrigger> </Act> </Story> <StopTrigger> <ConditionGroup> <Condition name="criteria_RunningStopTest" delay="0" conditionEdge="rising"> <ByValueCondition> <ParameterCondition parameterRef="" value="" rule="lessThan"/> </ByValueCondition> </Condition> <Condition name="criteria_RunningRedLightTest" delay="0" conditionEdge="rising"> <ByValueCondition> <ParameterCondition parameterRef="" value="" rule="lessThan"/> </ByValueCondition> </Condition> <Condition name="criteria_WrongLaneTest" delay="0" conditionEdge="rising"> <ByValueCondition> <ParameterCondition parameterRef="" value="" rule="lessThan"/> </ByValueCondition> </Condition> <Condition name="criteria_OnSidewalkTest" delay="0" conditionEdge="rising"> <ByValueCondition> <ParameterCondition parameterRef="" value="" rule="lessThan"/> </ByValueCondition> </Condition> <Condition name="criteria_KeepLaneTest" delay="0" conditionEdge="rising"> <ByValueCondition> <ParameterCondition parameterRef="" value="" rule="lessThan"/> </ByValueCondition> </Condition> <Condition name="criteria_CollisionTest" delay="0" conditionEdge="rising"> <ByValueCondition> <ParameterCondition parameterRef="" value="" rule="lessThan"/> </ByValueCondition> </Condition> <Condition name="criteria_DrivenDistanceTest" delay="0" conditionEdge="rising"> <ByValueCondition> <ParameterCondition parameterRef="distance_success" value="100" rule="lessThan"/> </ByValueCondition> </Condition> </ConditionGroup> </StopTrigger> </Storyboard> </OpenSCENARIO> ```
would you add pedestrian close to adversary? ``` <?xml version="1.0" ?> <OpenSCENARIO> <FileHeader revMajor="1" revMinor="0" date="2020-03-24T12:00:00" description="CARLA:LaneChangeSimple" author=""/> <ParameterDeclarations/> <CatalogLocations/> <RoadNetwork> <LogicFile filepath="Town04"/> <SceneGraphFile filepath=""/> </RoadNetwork> <Entities> <ScenarioObject name="hero"> <Vehicle name="vehicle.tesla.model3" vehicleCategory="car"> <ParameterDeclarations/> <Performance maxSpeed="69.444" maxAcceleration="200" maxDeceleration="10.0"/> <BoundingBox> <Center x="1.5" y="0.0" z="0.9"/> <Dimensions width="2.1" length="4.5" height="1.8"/> </BoundingBox> <Axles> <FrontAxle maxSteering="0.5" wheelDiameter="0.6" trackWidth="1.8" positionX="3.1" positionZ="0.3"/> <RearAxle maxSteering="0.0" wheelDiameter="0.6" trackWidth="1.8" positionX="0.0" positionZ="0.3"/> </Axles> <Properties> <Property name="type" value="ego_vehicle"/> </Properties> </Vehicle> </ScenarioObject> <ScenarioObject name="adversary"> <Vehicle name="vehicle.lincoln.mkz_2017" vehicleCategory="car"> <ParameterDeclarations/> <Performance maxSpeed="69.444" maxAcceleration="200" maxDeceleration="10.0"/> <BoundingBox> <Center x="1.5" y="0.0" z="0.9"/> <Dimensions width="2.1" length="4.5" height="1.8"/> </BoundingBox> <Axles> <FrontAxle maxSteering="0.5" wheelDiameter="0.6" trackWidth="1.8" positionX="3.1" positionZ="0.3"/> <RearAxle maxSteering="0.0" wheelDiameter="0.6" trackWidth="1.8" positionX="0.0" positionZ="0.3"/> </Axles> <Properties> <Property name="type" value="simulation"/> </Properties> </Vehicle> </ScenarioObject> <ScenarioObject name="standing"> <Vehicle name="vehicle.volkswagen.t2" vehicleCategory="car"> <ParameterDeclarations/> <Performance maxSpeed="69.444" maxAcceleration="200" maxDeceleration="10.0"/> <BoundingBox> <Center x="1.5" y="0.0" z="0.9"/> <Dimensions width="2.1" length="4.5" height="1.8"/> </BoundingBox> <Axles> <FrontAxle maxSteering="0.5" wheelDiameter="0.6" trackWidth="1.8" positionX="3.1" positionZ="0.3"/> <RearAxle maxSteering="0.0" wheelDiameter="0.6" trackWidth="1.8" positionX="0.0" positionZ="0.3"/> </Axles> <Properties> <Property name="type" value="simulation"/> </Properties> </Vehicle> </ScenarioObject> <ScenarioObject name="pedestrian_close_to_standing_23490"> <Pedestrian model="walker.pedestrian.0001" mass="80" name="walker.pedestrian.0001" pedestrianCategory="pedestrian"> <ParameterDeclarations/> <BoundingBox> <Center x="1.5" y="0.0" z="0.9"/> <Dimensions width="2" length="2" height="2"/> </BoundingBox> <Properties> <Property name="type" value="simulation"/> </Properties> </Pedestrian> </ScenarioObject> <ScenarioObject name="pedestrian_close_to_standing_23491"> <Pedestrian model="walker.pedestrian.0001" mass="80" name="walker.pedestrian.0001" pedestrianCategory="pedestrian"> <ParameterDeclarations/> <BoundingBox> <Center x="1.5" y="0.0" z="0.9"/> <Dimensions width="2" length="2" height="2"/> </BoundingBox> <Properties> <Property name="type" value="simulation"/> </Properties> </Pedestrian> </ScenarioObject> <ScenarioObject name="pedestrian_w_transform_23492"> <Pedestrian model="walker.pedestrian.0001" mass="80" name="walker.pedestrian.0001" pedestrianCategory="pedestrian"> <ParameterDeclarations/> <BoundingBox> <Center x="1.5" y="0.0" z="0.9"/> <Dimensions width="2" length="2" height="2"/> </BoundingBox> <Properties> <Property name="type" value="simulation"/> </Properties> </Pedestrian> </ScenarioObject> <ScenarioObject name="pedestrian_close_to_standing_23493"> <Pedestrian model="walker.pedestrian.0001" mass="80" name="walker.pedestrian.0001" pedestrianCategory="pedestrian"> <ParameterDeclarations/> <BoundingBox> <Center x="1.5" y="0.0" z="0.9"/> <Dimensions width="2" length="2" height="2"/> </BoundingBox> <Properties> <Property name="type" value="simulation"/> </Properties> </Pedestrian> </ScenarioObject> <ScenarioObject name="pedestrian_close_to_standing_23494"> <Pedestrian model="walker.pedestrian.0001" mass="80" name="walker.pedestrian.0001" pedestrianCategory="pedestrian"> <ParameterDeclarations/> <BoundingBox> <Center x="1.5" y="0.0" z="0.9"/> <Dimensions width="2" length="2" height="2"/> </BoundingBox> <Properties> <Property name="type" value="simulation"/> </Properties> </Pedestrian> </ScenarioObject> <ScenarioObject name="pedestrian_close_to_standing_23495"> <Pedestrian model="walker.pedestrian.0001" mass="80" name="walker.pedestrian.0001" pedestrianCategory="pedestrian"> <ParameterDeclarations/> <BoundingBox> <Center x="1.5" y="0.0" z="0.9"/> <Dimensions width="2" length="2" height="2"/> </BoundingBox> <Properties> <Property name="type" value="simulation"/> </Properties> </Pedestrian> </ScenarioObject> </Entities> <Storyboard> <Init> <Actions> <GlobalAction> <EnvironmentAction> <Environment name="Environment1"> <TimeOfDay animation="false" dateTime="2019-06-25T12:00:00"/> <Weather cloudState="free"> <Sun intensity="0.85" azimuth="0" elevation="1.31"/> <Fog visualRange="100000.0"/> <Precipitation precipitationType="dry" intensity="0.0"/> </Weather> <RoadCondition frictionScaleFactor="1.0"/> </Environment> </EnvironmentAction> </GlobalAction> <Private entityRef="hero"> <PrivateAction> <TeleportAction> <Position> <WorldPosition x="-9.4" y="-152.8" z="0.5" h="1.57079632679"/> </Position> </TeleportAction> </PrivateAction> <PrivateAction> <ControllerAction> <AssignControllerAction> <Controller name="HeroAgent"> <Properties> <Property name="module" value="external_control"/> </Properties> </Controller> </AssignControllerAction> <OverrideControllerValueAction> <Throttle value="0" active="false"/> <Brake value="0" active="false"/> <Clutch value="0" active="false"/> <ParkingBrake value="0" active="false"/> <SteeringWheel value="0" active="false"/> <Gear number="0" active="false"/> </OverrideControllerValueAction> </ControllerAction> </PrivateAction> </Private> <Private entityRef="adversary"> <PrivateAction> <TeleportAction> <Position> <WorldPosition x="-9.4" y="-71.0" z="0.5" h="1.57079632679"/> </Position> </TeleportAction> </PrivateAction> </Private> <Private entityRef="standing"> <PrivateAction> <TeleportAction> <Position> <WorldPosition x="-8.2" y="29.2" z="0.5" h="1.57079632679"/> </Position> </TeleportAction> </PrivateAction> </Private> <Private entityRef="pedestrian_close_to_standing_23490"> <PrivateAction> <TeleportAction> <Position> <WorldPosition x="-3.6405885219573975" y="28.685176849365234" z="0.0030924223829060793"/> </Position> </TeleportAction> </PrivateAction> </Private> <Private entityRef="pedestrian_close_to_standing_23491"> <PrivateAction> <TeleportAction> <Position> <WorldPosition x="-9.811080932617188" y="27.769798278808594" z="0.003087005577981472"/> </Position> </TeleportAction> </PrivateAction> </Private> <Private entityRef="pedestrian_w_transform_23492"> <PrivateAction> <TeleportAction> <Position> <WorldPosition x="-47.67495346069336" y="64.99014282226562" z="0.5"/> </Position> </TeleportAction> </PrivateAction> </Private> <Private entityRef="pedestrian_close_to_standing_23493"> <PrivateAction> <TeleportAction> <Position> <WorldPosition x="-3.279236316680908" y="23.58212661743164" z="0.0030462646391242743"/> </Position> </TeleportAction> </PrivateAction> </Private> <Private entityRef="pedestrian_close_to_standing_23494"> <PrivateAction> <TeleportAction> <Position> <WorldPosition x="-5.435061931610107" y="33.203887939453125" z="0.003050651401281357"/> </Position> </TeleportAction> </PrivateAction> </Private> <Private entityRef="pedestrian_close_to_standing_23495"> <PrivateAction> <TeleportAction> <Position> <WorldPosition x="-2.2176673412323" y="39.031578063964844" z="0.0030448532197624445"/> </Position> </TeleportAction> </PrivateAction> </Private> </Actions> </Init> <Story name="MyStory"> <Act name="Behavior"> <ManeuverGroup maximumExecutionCount="1" name="ManeuverSequence"> <Actors selectTriggeringEntities="false"> <EntityRef entityRef="adversary"/> </Actors> <Maneuver name="LaneChangeSimpleManeuver"> <Event name="AdversaryAccelerates" priority="overwrite"> <Action name="AdversaryAccelerates"> <PrivateAction> <LongitudinalAction> <SpeedAction> <SpeedActionDynamics dynamicsShape="step" value="50" dynamicsDimension="distance"/> <SpeedActionTarget> <AbsoluteTargetSpeed value="5.0"/> </SpeedActionTarget> </SpeedAction> </LongitudinalAction> </PrivateAction> </Action> <StartTrigger> <ConditionGroup> <Condition name="StartCondition" delay="0" conditionEdge="rising"> <ByEntityCondition> <TriggeringEntities triggeringEntitiesRule="any"> <EntityRef entityRef="hero"/> </TriggeringEntities> <EntityCondition> <RelativeDistanceCondition entityRef="adversary" relativeDistanceType="cartesianDistance" value="40.0" freespace="false" rule="lessThan"/> </EntityCondition> </ByEntityCondition> </Condition> </ConditionGroup> </StartTrigger> </Event> <Event name="AdversaryChangesLane" priority="overwrite"> <Action name="AdversaryChangesLane"> <PrivateAction> <LateralAction> <LaneChangeAction> <LaneChangeActionDynamics dynamicsShape="linear" value="25" dynamicsDimension="distance"/> <LaneChangeTarget> <RelativeTargetLane entityRef="adversary" value="-1"/> </LaneChangeTarget> </LaneChangeAction> </LateralAction> </PrivateAction> </Action> <StartTrigger> <ConditionGroup> <Condition name="AfterAdversaryAccelerates" delay="0" conditionEdge="rising"> <ByValueCondition> <StoryboardElementStateCondition storyboardElementType="action" storyboardElementRef="AdversaryAccelerates" state="completeState"/> </ByValueCondition> </Condition> </ConditionGroup> </StartTrigger> </Event> </Maneuver> </ManeuverGroup> <StartTrigger> <ConditionGroup> <Condition name="OverallStartCondition" delay="0" conditionEdge="rising"> <ByEntityCondition> <TriggeringEntities triggeringEntitiesRule="any"> <EntityRef entityRef="hero"/> </TriggeringEntities> <EntityCondition> <TraveledDistanceCondition value="1.0"/> </EntityCondition> </ByEntityCondition> </Condition> <Condition name="StartTime" delay="0" conditionEdge="rising"> <ByValueCondition> <SimulationTimeCondition value="0" rule="equalTo"/> </ByValueCondition> </Condition> </ConditionGroup> </StartTrigger> <StopTrigger> <ConditionGroup> <Condition name="EndCondition" delay="0" conditionEdge="rising"> <ByEntityCondition> <TriggeringEntities triggeringEntitiesRule="any"> <EntityRef entityRef="hero"/> </TriggeringEntities> <EntityCondition> <TraveledDistanceCondition value="200.0"/> </EntityCondition> </ByEntityCondition> </Condition> </ConditionGroup> </StopTrigger> </Act> </Story> <StopTrigger> <ConditionGroup> <Condition name="criteria_RunningStopTest" delay="0" conditionEdge="rising"> <ByValueCondition> <ParameterCondition parameterRef="" value="" rule="lessThan"/> </ByValueCondition> </Condition> <Condition name="criteria_RunningRedLightTest" delay="0" conditionEdge="rising"> <ByValueCondition> <ParameterCondition parameterRef="" value="" rule="lessThan"/> </ByValueCondition> </Condition> <Condition name="criteria_WrongLaneTest" delay="0" conditionEdge="rising"> <ByValueCondition> <ParameterCondition parameterRef="" value="" rule="lessThan"/> </ByValueCondition> </Condition> <Condition name="criteria_OnSidewalkTest" delay="0" conditionEdge="rising"> <ByValueCondition> <ParameterCondition parameterRef="" value="" rule="lessThan"/> </ByValueCondition> </Condition> <Condition name="criteria_KeepLaneTest" delay="0" conditionEdge="rising"> <ByValueCondition> <ParameterCondition parameterRef="" value="" rule="lessThan"/> </ByValueCondition> </Condition> <Condition name="criteria_CollisionTest" delay="0" conditionEdge="rising"> <ByValueCondition> <ParameterCondition parameterRef="" value="" rule="lessThan"/> </ByValueCondition> </Condition> <Condition name="criteria_DrivenDistanceTest" delay="0" conditionEdge="rising"> <ByValueCondition> <ParameterCondition parameterRef="distance_success" value="100" rule="lessThan"/> </ByValueCondition> </Condition> </ConditionGroup> </StopTrigger> </Storyboard> </OpenSCENARIO> ```
Here is the result: ``` <?xml version="1.0" ?> <OpenSCENARIO> <FileHeader revMajor="1" revMinor="0" date="2020-03-24T12:00:00" description="CARLA:LaneChangeSimple" author=""/> <ParameterDeclarations/> <CatalogLocations/> <RoadNetwork> <LogicFile filepath="Town04"/> <SceneGraphFile filepath=""/> </RoadNetwork> <Entities> <ScenarioObject name="hero"> <Vehicle name="vehicle.tesla.model3" vehicleCategory="car"> <ParameterDeclarations/> <Performance maxSpeed="69.444" maxAcceleration="200" maxDeceleration="10.0"/> <BoundingBox> <Center x="1.5" y="0.0" z="0.9"/> <Dimensions width="2.1" length="4.5" height="1.8"/> </BoundingBox> <Axles> <FrontAxle maxSteering="0.5" wheelDiameter="0.6" trackWidth="1.8" positionX="3.1" positionZ="0.3"/> <RearAxle maxSteering="0.0" wheelDiameter="0.6" trackWidth="1.8" positionX="0.0" positionZ="0.3"/> </Axles> <Properties> <Property name="type" value="ego_vehicle"/> </Properties> </Vehicle> </ScenarioObject> <ScenarioObject name="adversary"> <Vehicle name="vehicle.lincoln.mkz_2017" vehicleCategory="car"> <ParameterDeclarations/> <Performance maxSpeed="69.444" maxAcceleration="200" maxDeceleration="10.0"/> <BoundingBox> <Center x="1.5" y="0.0" z="0.9"/> <Dimensions width="2.1" length="4.5" height="1.8"/> </BoundingBox> <Axles> <FrontAxle maxSteering="0.5" wheelDiameter="0.6" trackWidth="1.8" positionX="3.1" positionZ="0.3"/> <RearAxle maxSteering="0.0" wheelDiameter="0.6" trackWidth="1.8" positionX="0.0" positionZ="0.3"/> </Axles> <Properties> <Property name="type" value="simulation"/> </Properties> </Vehicle> </ScenarioObject> <ScenarioObject name="standing"> <Vehicle name="vehicle.volkswagen.t2" vehicleCategory="car"> <ParameterDeclarations/> <Performance maxSpeed="69.444" maxAcceleration="200" maxDeceleration="10.0"/> <BoundingBox> <Center x="1.5" y="0.0" z="0.9"/> <Dimensions width="2.1" length="4.5" height="1.8"/> </BoundingBox> <Axles> <FrontAxle maxSteering="0.5" wheelDiameter="0.6" trackWidth="1.8" positionX="3.1" positionZ="0.3"/> <RearAxle maxSteering="0.0" wheelDiameter="0.6" trackWidth="1.8" positionX="0.0" positionZ="0.3"/> </Axles> <Properties> <Property name="type" value="simulation"/> </Properties> </Vehicle> </ScenarioObject> <ScenarioObject name="pedestrian_close_to_standing_23490"> <Pedestrian model="walker.pedestrian.0001" mass="80" name="walker.pedestrian.0001" pedestrianCategory="pedestrian"> <ParameterDeclarations/> <BoundingBox> <Center x="1.5" y="0.0" z="0.9"/> <Dimensions width="2" length="2" height="2"/> </BoundingBox> <Properties> <Property name="type" value="simulation"/> </Properties> </Pedestrian> </ScenarioObject> <ScenarioObject name="pedestrian_close_to_standing_23491"> <Pedestrian model="walker.pedestrian.0001" mass="80" name="walker.pedestrian.0001" pedestrianCategory="pedestrian"> <ParameterDeclarations/> <BoundingBox> <Center x="1.5" y="0.0" z="0.9"/> <Dimensions width="2" length="2" height="2"/> </BoundingBox> <Properties> <Property name="type" value="simulation"/> </Properties> </Pedestrian> </ScenarioObject> <ScenarioObject name="pedestrian_w_transform_23492"> <Pedestrian model="walker.pedestrian.0001" mass="80" name="walker.pedestrian.0001" pedestrianCategory="pedestrian"> <ParameterDeclarations/> <BoundingBox> <Center x="1.5" y="0.0" z="0.9"/> <Dimensions width="2" length="2" height="2"/> </BoundingBox> <Properties> <Property name="type" value="simulation"/> </Properties> </Pedestrian> </ScenarioObject> <ScenarioObject name="pedestrian_close_to_standing_23493"> <Pedestrian model="walker.pedestrian.0001" mass="80" name="walker.pedestrian.0001" pedestrianCategory="pedestrian"> <ParameterDeclarations/> <BoundingBox> <Center x="1.5" y="0.0" z="0.9"/> <Dimensions width="2" length="2" height="2"/> </BoundingBox> <Properties> <Property name="type" value="simulation"/> </Properties> </Pedestrian> </ScenarioObject> <ScenarioObject name="pedestrian_close_to_standing_23494"> <Pedestrian model="walker.pedestrian.0001" mass="80" name="walker.pedestrian.0001" pedestrianCategory="pedestrian"> <ParameterDeclarations/> <BoundingBox> <Center x="1.5" y="0.0" z="0.9"/> <Dimensions width="2" length="2" height="2"/> </BoundingBox> <Properties> <Property name="type" value="simulation"/> </Properties> </Pedestrian> </ScenarioObject> <ScenarioObject name="pedestrian_close_to_standing_23495"> <Pedestrian model="walker.pedestrian.0001" mass="80" name="walker.pedestrian.0001" pedestrianCategory="pedestrian"> <ParameterDeclarations/> <BoundingBox> <Center x="1.5" y="0.0" z="0.9"/> <Dimensions width="2" length="2" height="2"/> </BoundingBox> <Properties> <Property name="type" value="simulation"/> </Properties> </Pedestrian> </ScenarioObject> <ScenarioObject name="pedestrian_close_to_adversary_23496"> <Pedestrian model="walker.pedestrian.0001" mass="80" name="walker.pedestrian.0001" pedestrianCategory="pedestrian"> <ParameterDeclarations/> <BoundingBox> <Center x="1.5" y="0.0" z="0.9"/> <Dimensions width="2" length="2" height="2"/> </BoundingBox> <Properties> <Property name="type" value="simulation"/> </Properties> </Pedestrian> </ScenarioObject> </Entities> <Storyboard> <Init> <Actions> <GlobalAction> <EnvironmentAction> <Environment name="Environment1"> <TimeOfDay animation="false" dateTime="2019-06-25T12:00:00"/> <Weather cloudState="free"> <Sun intensity="0.85" azimuth="0" elevation="1.31"/> <Fog visualRange="100000.0"/> <Precipitation precipitationType="dry" intensity="0.0"/> </Weather> <RoadCondition frictionScaleFactor="1.0"/> </Environment> </EnvironmentAction> </GlobalAction> <Private entityRef="hero"> <PrivateAction> <TeleportAction> <Position> <WorldPosition x="-9.4" y="-152.8" z="0.5" h="1.57079632679"/> </Position> </TeleportAction> </PrivateAction> <PrivateAction> <ControllerAction> <AssignControllerAction> <Controller name="HeroAgent"> <Properties> <Property name="module" value="external_control"/> </Properties> </Controller> </AssignControllerAction> <OverrideControllerValueAction> <Throttle value="0" active="false"/> <Brake value="0" active="false"/> <Clutch value="0" active="false"/> <ParkingBrake value="0" active="false"/> <SteeringWheel value="0" active="false"/> <Gear number="0" active="false"/> </OverrideControllerValueAction> </ControllerAction> </PrivateAction> </Private> <Private entityRef="adversary"> <PrivateAction> <TeleportAction> <Position> <WorldPosition x="-9.4" y="-71.0" z="0.5" h="1.57079632679"/> </Position> </TeleportAction> </PrivateAction> </Private> <Private entityRef="standing"> <PrivateAction> <TeleportAction> <Position> <WorldPosition x="-8.2" y="29.2" z="0.5" h="1.57079632679"/> </Position> </TeleportAction> </PrivateAction> </Private> <Private entityRef="pedestrian_close_to_standing_23490"> <PrivateAction> <TeleportAction> <Position> <WorldPosition x="-3.6405885219573975" y="28.685176849365234" z="0.0030924223829060793"/> </Position> </TeleportAction> </PrivateAction> </Private> <Private entityRef="pedestrian_close_to_standing_23491"> <PrivateAction> <TeleportAction> <Position> <WorldPosition x="-9.811080932617188" y="27.769798278808594" z="0.003087005577981472"/> </Position> </TeleportAction> </PrivateAction> </Private> <Private entityRef="pedestrian_w_transform_23492"> <PrivateAction> <TeleportAction> <Position> <WorldPosition x="-47.67495346069336" y="64.99014282226562" z="0.5"/> </Position> </TeleportAction> </PrivateAction> </Private> <Private entityRef="pedestrian_close_to_standing_23493"> <PrivateAction> <TeleportAction> <Position> <WorldPosition x="-3.279236316680908" y="23.58212661743164" z="0.0030462646391242743"/> </Position> </TeleportAction> </PrivateAction> </Private> <Private entityRef="pedestrian_close_to_standing_23494"> <PrivateAction> <TeleportAction> <Position> <WorldPosition x="-5.435061931610107" y="33.203887939453125" z="0.003050651401281357"/> </Position> </TeleportAction> </PrivateAction> </Private> <Private entityRef="pedestrian_close_to_standing_23495"> <PrivateAction> <TeleportAction> <Position> <WorldPosition x="-2.2176673412323" y="39.031578063964844" z="0.0030448532197624445"/> </Position> </TeleportAction> </PrivateAction> </Private> <Private entityRef="pedestrian_close_to_adversary_23496"> <PrivateAction> <TeleportAction> <Position> <WorldPosition x="-2.798713207244873" y="-61.95170211791992" z="0.03380134329199791"/> </Position> </TeleportAction> </PrivateAction> </Private> </Actions> </Init> <Story name="MyStory"> <Act name="Behavior"> <ManeuverGroup maximumExecutionCount="1" name="ManeuverSequence"> <Actors selectTriggeringEntities="false"> <EntityRef entityRef="adversary"/> </Actors> <Maneuver name="LaneChangeSimpleManeuver"> <Event name="AdversaryAccelerates" priority="overwrite"> <Action name="AdversaryAccelerates"> <PrivateAction> <LongitudinalAction> <SpeedAction> <SpeedActionDynamics dynamicsShape="step" value="50" dynamicsDimension="distance"/> <SpeedActionTarget> <AbsoluteTargetSpeed value="5.0"/> </SpeedActionTarget> </SpeedAction> </LongitudinalAction> </PrivateAction> </Action> <StartTrigger> <ConditionGroup> <Condition name="StartCondition" delay="0" conditionEdge="rising"> <ByEntityCondition> <TriggeringEntities triggeringEntitiesRule="any"> <EntityRef entityRef="hero"/> </TriggeringEntities> <EntityCondition> <RelativeDistanceCondition entityRef="adversary" relativeDistanceType="cartesianDistance" value="40.0" freespace="false" rule="lessThan"/> </EntityCondition> </ByEntityCondition> </Condition> </ConditionGroup> </StartTrigger> </Event> <Event name="AdversaryChangesLane" priority="overwrite"> <Action name="AdversaryChangesLane"> <PrivateAction> <LateralAction> <LaneChangeAction> <LaneChangeActionDynamics dynamicsShape="linear" value="25" dynamicsDimension="distance"/> <LaneChangeTarget> <RelativeTargetLane entityRef="adversary" value="-1"/> </LaneChangeTarget> </LaneChangeAction> </LateralAction> </PrivateAction> </Action> <StartTrigger> <ConditionGroup> <Condition name="AfterAdversaryAccelerates" delay="0" conditionEdge="rising"> <ByValueCondition> <StoryboardElementStateCondition storyboardElementType="action" storyboardElementRef="AdversaryAccelerates" state="completeState"/> </ByValueCondition> </Condition> </ConditionGroup> </StartTrigger> </Event> </Maneuver> </ManeuverGroup> <StartTrigger> <ConditionGroup> <Condition name="OverallStartCondition" delay="0" conditionEdge="rising"> <ByEntityCondition> <TriggeringEntities triggeringEntitiesRule="any"> <EntityRef entityRef="hero"/> </TriggeringEntities> <EntityCondition> <TraveledDistanceCondition value="1.0"/> </EntityCondition> </ByEntityCondition> </Condition> <Condition name="StartTime" delay="0" conditionEdge="rising"> <ByValueCondition> <SimulationTimeCondition value="0" rule="equalTo"/> </ByValueCondition> </Condition> </ConditionGroup> </StartTrigger> <StopTrigger> <ConditionGroup> <Condition name="EndCondition" delay="0" conditionEdge="rising"> <ByEntityCondition> <TriggeringEntities triggeringEntitiesRule="any"> <EntityRef entityRef="hero"/> </TriggeringEntities> <EntityCondition> <TraveledDistanceCondition value="200.0"/> </EntityCondition> </ByEntityCondition> </Condition> </ConditionGroup> </StopTrigger> </Act> </Story> <StopTrigger> <ConditionGroup> <Condition name="criteria_RunningStopTest" delay="0" conditionEdge="rising"> <ByValueCondition> <ParameterCondition parameterRef="" value="" rule="lessThan"/> </ByValueCondition> </Condition> <Condition name="criteria_RunningRedLightTest" delay="0" conditionEdge="rising"> <ByValueCondition> <ParameterCondition parameterRef="" value="" rule="lessThan"/> </ByValueCondition> </Condition> <Condition name="criteria_WrongLaneTest" delay="0" conditionEdge="rising"> <ByValueCondition> <ParameterCondition parameterRef="" value="" rule="lessThan"/> </ByValueCondition> </Condition> <Condition name="criteria_OnSidewalkTest" delay="0" conditionEdge="rising"> <ByValueCondition> <ParameterCondition parameterRef="" value="" rule="lessThan"/> </ByValueCondition> </Condition> <Condition name="criteria_KeepLaneTest" delay="0" conditionEdge="rising"> <ByValueCondition> <ParameterCondition parameterRef="" value="" rule="lessThan"/> </ByValueCondition> </Condition> <Condition name="criteria_CollisionTest" delay="0" conditionEdge="rising"> <ByValueCondition> <ParameterCondition parameterRef="" value="" rule="lessThan"/> </ByValueCondition> </Condition> <Condition name="criteria_DrivenDistanceTest" delay="0" conditionEdge="rising"> <ByValueCondition> <ParameterCondition parameterRef="distance_success" value="100" rule="lessThan"/> </ByValueCondition> </Condition> </ConditionGroup> </StopTrigger> </Storyboard> </OpenSCENARIO> ```
i would like to direct you to add pedestrian close to adversary? ``` <?xml version="1.0" ?> <OpenSCENARIO> <FileHeader revMajor="1" revMinor="0" date="2020-03-24T12:00:00" description="CARLA:LaneChangeSimple" author=""/> <ParameterDeclarations/> <CatalogLocations/> <RoadNetwork> <LogicFile filepath="Town04"/> <SceneGraphFile filepath=""/> </RoadNetwork> <Entities> <ScenarioObject name="hero"> <Vehicle name="vehicle.tesla.model3" vehicleCategory="car"> <ParameterDeclarations/> <Performance maxSpeed="69.444" maxAcceleration="200" maxDeceleration="10.0"/> <BoundingBox> <Center x="1.5" y="0.0" z="0.9"/> <Dimensions width="2.1" length="4.5" height="1.8"/> </BoundingBox> <Axles> <FrontAxle maxSteering="0.5" wheelDiameter="0.6" trackWidth="1.8" positionX="3.1" positionZ="0.3"/> <RearAxle maxSteering="0.0" wheelDiameter="0.6" trackWidth="1.8" positionX="0.0" positionZ="0.3"/> </Axles> <Properties> <Property name="type" value="ego_vehicle"/> </Properties> </Vehicle> </ScenarioObject> <ScenarioObject name="adversary"> <Vehicle name="vehicle.lincoln.mkz_2017" vehicleCategory="car"> <ParameterDeclarations/> <Performance maxSpeed="69.444" maxAcceleration="200" maxDeceleration="10.0"/> <BoundingBox> <Center x="1.5" y="0.0" z="0.9"/> <Dimensions width="2.1" length="4.5" height="1.8"/> </BoundingBox> <Axles> <FrontAxle maxSteering="0.5" wheelDiameter="0.6" trackWidth="1.8" positionX="3.1" positionZ="0.3"/> <RearAxle maxSteering="0.0" wheelDiameter="0.6" trackWidth="1.8" positionX="0.0" positionZ="0.3"/> </Axles> <Properties> <Property name="type" value="simulation"/> </Properties> </Vehicle> </ScenarioObject> <ScenarioObject name="standing"> <Vehicle name="vehicle.volkswagen.t2" vehicleCategory="car"> <ParameterDeclarations/> <Performance maxSpeed="69.444" maxAcceleration="200" maxDeceleration="10.0"/> <BoundingBox> <Center x="1.5" y="0.0" z="0.9"/> <Dimensions width="2.1" length="4.5" height="1.8"/> </BoundingBox> <Axles> <FrontAxle maxSteering="0.5" wheelDiameter="0.6" trackWidth="1.8" positionX="3.1" positionZ="0.3"/> <RearAxle maxSteering="0.0" wheelDiameter="0.6" trackWidth="1.8" positionX="0.0" positionZ="0.3"/> </Axles> <Properties> <Property name="type" value="simulation"/> </Properties> </Vehicle> </ScenarioObject> <ScenarioObject name="pedestrian_close_to_standing_4214"> <Pedestrian model="walker.pedestrian.0001" mass="80" name="walker.pedestrian.0001" pedestrianCategory="pedestrian"> <ParameterDeclarations/> <BoundingBox> <Center x="1.5" y="0.0" z="0.9"/> <Dimensions width="2" length="2" height="2"/> </BoundingBox> <Properties> <Property name="type" value="simulation"/> </Properties> </Pedestrian> </ScenarioObject> <ScenarioObject name="pedestrian_w_transform_4215"> <Pedestrian model="walker.pedestrian.0001" mass="80" name="walker.pedestrian.0001" pedestrianCategory="pedestrian"> <ParameterDeclarations/> <BoundingBox> <Center x="1.5" y="0.0" z="0.9"/> <Dimensions width="2" length="2" height="2"/> </BoundingBox> <Properties> <Property name="type" value="simulation"/> </Properties> </Pedestrian> </ScenarioObject> <ScenarioObject name="pedestrian_close_to_hero_4216"> <Pedestrian model="walker.pedestrian.0001" mass="80" name="walker.pedestrian.0001" pedestrianCategory="pedestrian"> <ParameterDeclarations/> <BoundingBox> <Center x="1.5" y="0.0" z="0.9"/> <Dimensions width="2" length="2" height="2"/> </BoundingBox> <Properties> <Property name="type" value="simulation"/> </Properties> </Pedestrian> </ScenarioObject> <ScenarioObject name="pedestrian_close_to_hero_4217"> <Pedestrian model="walker.pedestrian.0001" mass="80" name="walker.pedestrian.0001" pedestrianCategory="pedestrian"> <ParameterDeclarations/> <BoundingBox> <Center x="1.5" y="0.0" z="0.9"/> <Dimensions width="2" length="2" height="2"/> </BoundingBox> <Properties> <Property name="type" value="simulation"/> </Properties> </Pedestrian> </ScenarioObject> <ScenarioObject name="pedestrian_w_transform_4218"> <Pedestrian model="walker.pedestrian.0001" mass="80" name="walker.pedestrian.0001" pedestrianCategory="pedestrian"> <ParameterDeclarations/> <BoundingBox> <Center x="1.5" y="0.0" z="0.9"/> <Dimensions width="2" length="2" height="2"/> </BoundingBox> <Properties> <Property name="type" value="simulation"/> </Properties> </Pedestrian> </ScenarioObject> <ScenarioObject name="pedestrian_w_transform_4219"> <Pedestrian model="walker.pedestrian.0001" mass="80" name="walker.pedestrian.0001" pedestrianCategory="pedestrian"> <ParameterDeclarations/> <BoundingBox> <Center x="1.5" y="0.0" z="0.9"/> <Dimensions width="2" length="2" height="2"/> </BoundingBox> <Properties> <Property name="type" value="simulation"/> </Properties> </Pedestrian> </ScenarioObject> <ScenarioObject name="pedestrian_close_to_standing_4220"> <Pedestrian model="walker.pedestrian.0001" mass="80" name="walker.pedestrian.0001" pedestrianCategory="pedestrian"> <ParameterDeclarations/> <BoundingBox> <Center x="1.5" y="0.0" z="0.9"/> <Dimensions width="2" length="2" height="2"/> </BoundingBox> <Properties> <Property name="type" value="simulation"/> </Properties> </Pedestrian> </ScenarioObject> <ScenarioObject name="pedestrian_w_transform_4221"> <Pedestrian model="walker.pedestrian.0001" mass="80" name="walker.pedestrian.0001" pedestrianCategory="pedestrian"> <ParameterDeclarations/> <BoundingBox> <Center x="1.5" y="0.0" z="0.9"/> <Dimensions width="2" length="2" height="2"/> </BoundingBox> <Properties> <Property name="type" value="simulation"/> </Properties> </Pedestrian> </ScenarioObject> <ScenarioObject name="pedestrian_w_transform_4222"> <Pedestrian model="walker.pedestrian.0001" mass="80" name="walker.pedestrian.0001" pedestrianCategory="pedestrian"> <ParameterDeclarations/> <BoundingBox> <Center x="1.5" y="0.0" z="0.9"/> <Dimensions width="2" length="2" height="2"/> </BoundingBox> <Properties> <Property name="type" value="simulation"/> </Properties> </Pedestrian> </ScenarioObject> <ScenarioObject name="pedestrian_w_transform_4223"> <Pedestrian model="walker.pedestrian.0001" mass="80" name="walker.pedestrian.0001" pedestrianCategory="pedestrian"> <ParameterDeclarations/> <BoundingBox> <Center x="1.5" y="0.0" z="0.9"/> <Dimensions width="2" length="2" height="2"/> </BoundingBox> <Properties> <Property name="type" value="simulation"/> </Properties> </Pedestrian> </ScenarioObject> <ScenarioObject name="pedestrian_close_to_standing_4224"> <Pedestrian model="walker.pedestrian.0001" mass="80" name="walker.pedestrian.0001" pedestrianCategory="pedestrian"> <ParameterDeclarations/> <BoundingBox> <Center x="1.5" y="0.0" z="0.9"/> <Dimensions width="2" length="2" height="2"/> </BoundingBox> <Properties> <Property name="type" value="simulation"/> </Properties> </Pedestrian> </ScenarioObject> <ScenarioObject name="pedestrian_close_to_standing_4225"> <Pedestrian model="walker.pedestrian.0001" mass="80" name="walker.pedestrian.0001" pedestrianCategory="pedestrian"> <ParameterDeclarations/> <BoundingBox> <Center x="1.5" y="0.0" z="0.9"/> <Dimensions width="2" length="2" height="2"/> </BoundingBox> <Properties> <Property name="type" value="simulation"/> </Properties> </Pedestrian> </ScenarioObject> <ScenarioObject name="pedestrian_close_to_standing_4226"> <Pedestrian model="walker.pedestrian.0001" mass="80" name="walker.pedestrian.0001" pedestrianCategory="pedestrian"> <ParameterDeclarations/> <BoundingBox> <Center x="1.5" y="0.0" z="0.9"/> <Dimensions width="2" length="2" height="2"/> </BoundingBox> <Properties> <Property name="type" value="simulation"/> </Properties> </Pedestrian> </ScenarioObject> </Entities> <Storyboard> <Init> <Actions> <GlobalAction> <EnvironmentAction> <Environment name="Environment1"> <TimeOfDay animation="false" dateTime="2019-06-25T12:00:00"/> <Weather cloudState="free"> <Sun intensity="0.85" azimuth="0" elevation="1.31"/> <Fog visualRange="100000.0"/> <Precipitation precipitationType="dry" intensity="0.0"/> </Weather> <RoadCondition frictionScaleFactor="1.0"/> </Environment> </EnvironmentAction> </GlobalAction> <Private entityRef="hero"> <PrivateAction> <TeleportAction> <Position> <WorldPosition x="-9.4" y="-152.8" z="0.5" h="1.57079632679"/> </Position> </TeleportAction> </PrivateAction> <PrivateAction> <ControllerAction> <AssignControllerAction> <Controller name="HeroAgent"> <Properties> <Property name="module" value="external_control"/> </Properties> </Controller> </AssignControllerAction> <OverrideControllerValueAction> <Throttle value="0" active="false"/> <Brake value="0" active="false"/> <Clutch value="0" active="false"/> <ParkingBrake value="0" active="false"/> <SteeringWheel value="0" active="false"/> <Gear number="0" active="false"/> </OverrideControllerValueAction> </ControllerAction> </PrivateAction> </Private> <Private entityRef="adversary"> <PrivateAction> <TeleportAction> <Position> <WorldPosition x="-9.4" y="-71.0" z="0.5" h="1.57079632679"/> </Position> </TeleportAction> </PrivateAction> </Private> <Private entityRef="standing"> <PrivateAction> <TeleportAction> <Position> <WorldPosition x="-8.2" y="29.2" z="0.5" h="1.57079632679"/> </Position> </TeleportAction> </PrivateAction> </Private> <Private entityRef="pedestrian_close_to_standing_4214"> <PrivateAction> <TeleportAction> <Position> <WorldPosition x="-1.2721768617630005" y="29.412559509277344" z="0.0030455016531050205"/> </Position> </TeleportAction> </PrivateAction> </Private> <Private entityRef="pedestrian_w_transform_4215"> <PrivateAction> <TeleportAction> <Position> <WorldPosition x="-5.931629657745361" y="46.77640914916992" z="0.5"/> </Position> </TeleportAction> </PrivateAction> </Private> <Private entityRef="pedestrian_close_to_hero_4216"> <PrivateAction> <TeleportAction> <Position> <WorldPosition x="-11.98222541809082" y="-149.8123779296875" z="0.0014286803780123591"/> </Position> </TeleportAction> </PrivateAction> </Private> <Private entityRef="pedestrian_close_to_hero_4217"> <PrivateAction> <TeleportAction> <Position> <WorldPosition x="-3.6654226779937744" y="-150.6629638671875" z="0.0014286803780123591"/> </Position> </TeleportAction> </PrivateAction> </Private> <Private entityRef="pedestrian_w_transform_4218"> <PrivateAction> <TeleportAction> <Position> <WorldPosition x="-94.55921936035156" y="49.140655517578125" z="0.5"/> </Position> </TeleportAction> </PrivateAction> </Private> <Private entityRef="pedestrian_w_transform_4219"> <PrivateAction> <TeleportAction> <Position> <WorldPosition x="15.115653991699219" y="-45.48543167114258" z="0.5"/> </Position> </TeleportAction> </PrivateAction> </Private> <Private entityRef="pedestrian_close_to_standing_4220"> <PrivateAction> <TeleportAction> <Position> <WorldPosition x="-12.746164321899414" y="26.71111297607422" z="0.0030611418187618256"/> </Position> </TeleportAction> </PrivateAction> </Private> <Private entityRef="pedestrian_w_transform_4221"> <PrivateAction> <TeleportAction> <Position> <WorldPosition x="-76.56778717041016" y="17.04189109802246" z="0.5"/> </Position> </TeleportAction> </PrivateAction> </Private> <Private entityRef="pedestrian_w_transform_4222"> <PrivateAction> <TeleportAction> <Position> <WorldPosition x="47.926822662353516" y="-1.2543449401855469" z="0.5"/> </Position> </TeleportAction> </PrivateAction> </Private> <Private entityRef="pedestrian_w_transform_4223"> <PrivateAction> <TeleportAction> <Position> <WorldPosition x="-59.527183532714844" y="90.51030731201172" z="0.5"/> </Position> </TeleportAction> </PrivateAction> </Private> <Private entityRef="pedestrian_close_to_standing_4224"> <PrivateAction> <TeleportAction> <Position> <WorldPosition x="-13.649643898010254" y="21.630496978759766" z="0.0030504607129842043"/> </Position> </TeleportAction> </PrivateAction> </Private> <Private entityRef="pedestrian_close_to_standing_4225"> <PrivateAction> <TeleportAction> <Position> <WorldPosition x="-12.2527437210083" y="37.34736633300781" z="0.0030384825076907873"/> </Position> </TeleportAction> </PrivateAction> </Private> <Private entityRef="pedestrian_close_to_standing_4226"> <PrivateAction> <TeleportAction> <Position> <WorldPosition x="-0.9433159828186035" y="29.004486083984375" z="0.0029915999621152878"/> </Position> </TeleportAction> </PrivateAction> </Private> </Actions> </Init> <Story name="MyStory"> <Act name="Behavior"> <ManeuverGroup maximumExecutionCount="1" name="ManeuverSequence"> <Actors selectTriggeringEntities="false"> <EntityRef entityRef="adversary"/> </Actors> <Maneuver name="LaneChangeSimpleManeuver"> <Event name="AdversaryAccelerates" priority="overwrite"> <Action name="AdversaryAccelerates"> <PrivateAction> <LongitudinalAction> <SpeedAction> <SpeedActionDynamics dynamicsShape="step" value="50" dynamicsDimension="distance"/> <SpeedActionTarget> <AbsoluteTargetSpeed value="5.0"/> </SpeedActionTarget> </SpeedAction> </LongitudinalAction> </PrivateAction> </Action> <StartTrigger> <ConditionGroup> <Condition name="StartCondition" delay="0" conditionEdge="rising"> <ByEntityCondition> <TriggeringEntities triggeringEntitiesRule="any"> <EntityRef entityRef="hero"/> </TriggeringEntities> <EntityCondition> <RelativeDistanceCondition entityRef="adversary" relativeDistanceType="cartesianDistance" value="40.0" freespace="false" rule="lessThan"/> </EntityCondition> </ByEntityCondition> </Condition> </ConditionGroup> </StartTrigger> </Event> <Event name="AdversaryChangesLane" priority="overwrite"> <Action name="AdversaryChangesLane"> <PrivateAction> <LateralAction> <LaneChangeAction> <LaneChangeActionDynamics dynamicsShape="linear" value="25" dynamicsDimension="distance"/> <LaneChangeTarget> <RelativeTargetLane entityRef="adversary" value="-1"/> </LaneChangeTarget> </LaneChangeAction> </LateralAction> </PrivateAction> </Action> <StartTrigger> <ConditionGroup> <Condition name="AfterAdversaryAccelerates" delay="0" conditionEdge="rising"> <ByValueCondition> <StoryboardElementStateCondition storyboardElementType="action" storyboardElementRef="AdversaryAccelerates" state="completeState"/> </ByValueCondition> </Condition> </ConditionGroup> </StartTrigger> </Event> </Maneuver> </ManeuverGroup> <StartTrigger> <ConditionGroup> <Condition name="OverallStartCondition" delay="0" conditionEdge="rising"> <ByEntityCondition> <TriggeringEntities triggeringEntitiesRule="any"> <EntityRef entityRef="hero"/> </TriggeringEntities> <EntityCondition> <TraveledDistanceCondition value="1.0"/> </EntityCondition> </ByEntityCondition> </Condition> <Condition name="StartTime" delay="0" conditionEdge="rising"> <ByValueCondition> <SimulationTimeCondition value="0" rule="equalTo"/> </ByValueCondition> </Condition> </ConditionGroup> </StartTrigger> <StopTrigger> <ConditionGroup> <Condition name="EndCondition" delay="0" conditionEdge="rising"> <ByEntityCondition> <TriggeringEntities triggeringEntitiesRule="any"> <EntityRef entityRef="hero"/> </TriggeringEntities> <EntityCondition> <TraveledDistanceCondition value="200.0"/> </EntityCondition> </ByEntityCondition> </Condition> </ConditionGroup> </StopTrigger> </Act> </Story> <StopTrigger> <ConditionGroup> <Condition name="criteria_RunningStopTest" delay="0" conditionEdge="rising"> <ByValueCondition> <ParameterCondition parameterRef="" value="" rule="lessThan"/> </ByValueCondition> </Condition> <Condition name="criteria_RunningRedLightTest" delay="0" conditionEdge="rising"> <ByValueCondition> <ParameterCondition parameterRef="" value="" rule="lessThan"/> </ByValueCondition> </Condition> <Condition name="criteria_WrongLaneTest" delay="0" conditionEdge="rising"> <ByValueCondition> <ParameterCondition parameterRef="" value="" rule="lessThan"/> </ByValueCondition> </Condition> <Condition name="criteria_OnSidewalkTest" delay="0" conditionEdge="rising"> <ByValueCondition> <ParameterCondition parameterRef="" value="" rule="lessThan"/> </ByValueCondition> </Condition> <Condition name="criteria_KeepLaneTest" delay="0" conditionEdge="rising"> <ByValueCondition> <ParameterCondition parameterRef="" value="" rule="lessThan"/> </ByValueCondition> </Condition> <Condition name="criteria_CollisionTest" delay="0" conditionEdge="rising"> <ByValueCondition> <ParameterCondition parameterRef="" value="" rule="lessThan"/> </ByValueCondition> </Condition> <Condition name="criteria_DrivenDistanceTest" delay="0" conditionEdge="rising"> <ByValueCondition> <ParameterCondition parameterRef="distance_success" value="100" rule="lessThan"/> </ByValueCondition> </Condition> </ConditionGroup> </StopTrigger> </Storyboard> </OpenSCENARIO> ```
Here is the result: ``` <?xml version="1.0" ?> <OpenSCENARIO> <FileHeader revMajor="1" revMinor="0" date="2020-03-24T12:00:00" description="CARLA:LaneChangeSimple" author=""/> <ParameterDeclarations/> <CatalogLocations/> <RoadNetwork> <LogicFile filepath="Town04"/> <SceneGraphFile filepath=""/> </RoadNetwork> <Entities> <ScenarioObject name="hero"> <Vehicle name="vehicle.tesla.model3" vehicleCategory="car"> <ParameterDeclarations/> <Performance maxSpeed="69.444" maxAcceleration="200" maxDeceleration="10.0"/> <BoundingBox> <Center x="1.5" y="0.0" z="0.9"/> <Dimensions width="2.1" length="4.5" height="1.8"/> </BoundingBox> <Axles> <FrontAxle maxSteering="0.5" wheelDiameter="0.6" trackWidth="1.8" positionX="3.1" positionZ="0.3"/> <RearAxle maxSteering="0.0" wheelDiameter="0.6" trackWidth="1.8" positionX="0.0" positionZ="0.3"/> </Axles> <Properties> <Property name="type" value="ego_vehicle"/> </Properties> </Vehicle> </ScenarioObject> <ScenarioObject name="adversary"> <Vehicle name="vehicle.lincoln.mkz_2017" vehicleCategory="car"> <ParameterDeclarations/> <Performance maxSpeed="69.444" maxAcceleration="200" maxDeceleration="10.0"/> <BoundingBox> <Center x="1.5" y="0.0" z="0.9"/> <Dimensions width="2.1" length="4.5" height="1.8"/> </BoundingBox> <Axles> <FrontAxle maxSteering="0.5" wheelDiameter="0.6" trackWidth="1.8" positionX="3.1" positionZ="0.3"/> <RearAxle maxSteering="0.0" wheelDiameter="0.6" trackWidth="1.8" positionX="0.0" positionZ="0.3"/> </Axles> <Properties> <Property name="type" value="simulation"/> </Properties> </Vehicle> </ScenarioObject> <ScenarioObject name="standing"> <Vehicle name="vehicle.volkswagen.t2" vehicleCategory="car"> <ParameterDeclarations/> <Performance maxSpeed="69.444" maxAcceleration="200" maxDeceleration="10.0"/> <BoundingBox> <Center x="1.5" y="0.0" z="0.9"/> <Dimensions width="2.1" length="4.5" height="1.8"/> </BoundingBox> <Axles> <FrontAxle maxSteering="0.5" wheelDiameter="0.6" trackWidth="1.8" positionX="3.1" positionZ="0.3"/> <RearAxle maxSteering="0.0" wheelDiameter="0.6" trackWidth="1.8" positionX="0.0" positionZ="0.3"/> </Axles> <Properties> <Property name="type" value="simulation"/> </Properties> </Vehicle> </ScenarioObject> <ScenarioObject name="pedestrian_close_to_standing_4214"> <Pedestrian model="walker.pedestrian.0001" mass="80" name="walker.pedestrian.0001" pedestrianCategory="pedestrian"> <ParameterDeclarations/> <BoundingBox> <Center x="1.5" y="0.0" z="0.9"/> <Dimensions width="2" length="2" height="2"/> </BoundingBox> <Properties> <Property name="type" value="simulation"/> </Properties> </Pedestrian> </ScenarioObject> <ScenarioObject name="pedestrian_w_transform_4215"> <Pedestrian model="walker.pedestrian.0001" mass="80" name="walker.pedestrian.0001" pedestrianCategory="pedestrian"> <ParameterDeclarations/> <BoundingBox> <Center x="1.5" y="0.0" z="0.9"/> <Dimensions width="2" length="2" height="2"/> </BoundingBox> <Properties> <Property name="type" value="simulation"/> </Properties> </Pedestrian> </ScenarioObject> <ScenarioObject name="pedestrian_close_to_hero_4216"> <Pedestrian model="walker.pedestrian.0001" mass="80" name="walker.pedestrian.0001" pedestrianCategory="pedestrian"> <ParameterDeclarations/> <BoundingBox> <Center x="1.5" y="0.0" z="0.9"/> <Dimensions width="2" length="2" height="2"/> </BoundingBox> <Properties> <Property name="type" value="simulation"/> </Properties> </Pedestrian> </ScenarioObject> <ScenarioObject name="pedestrian_close_to_hero_4217"> <Pedestrian model="walker.pedestrian.0001" mass="80" name="walker.pedestrian.0001" pedestrianCategory="pedestrian"> <ParameterDeclarations/> <BoundingBox> <Center x="1.5" y="0.0" z="0.9"/> <Dimensions width="2" length="2" height="2"/> </BoundingBox> <Properties> <Property name="type" value="simulation"/> </Properties> </Pedestrian> </ScenarioObject> <ScenarioObject name="pedestrian_w_transform_4218"> <Pedestrian model="walker.pedestrian.0001" mass="80" name="walker.pedestrian.0001" pedestrianCategory="pedestrian"> <ParameterDeclarations/> <BoundingBox> <Center x="1.5" y="0.0" z="0.9"/> <Dimensions width="2" length="2" height="2"/> </BoundingBox> <Properties> <Property name="type" value="simulation"/> </Properties> </Pedestrian> </ScenarioObject> <ScenarioObject name="pedestrian_w_transform_4219"> <Pedestrian model="walker.pedestrian.0001" mass="80" name="walker.pedestrian.0001" pedestrianCategory="pedestrian"> <ParameterDeclarations/> <BoundingBox> <Center x="1.5" y="0.0" z="0.9"/> <Dimensions width="2" length="2" height="2"/> </BoundingBox> <Properties> <Property name="type" value="simulation"/> </Properties> </Pedestrian> </ScenarioObject> <ScenarioObject name="pedestrian_close_to_standing_4220"> <Pedestrian model="walker.pedestrian.0001" mass="80" name="walker.pedestrian.0001" pedestrianCategory="pedestrian"> <ParameterDeclarations/> <BoundingBox> <Center x="1.5" y="0.0" z="0.9"/> <Dimensions width="2" length="2" height="2"/> </BoundingBox> <Properties> <Property name="type" value="simulation"/> </Properties> </Pedestrian> </ScenarioObject> <ScenarioObject name="pedestrian_w_transform_4221"> <Pedestrian model="walker.pedestrian.0001" mass="80" name="walker.pedestrian.0001" pedestrianCategory="pedestrian"> <ParameterDeclarations/> <BoundingBox> <Center x="1.5" y="0.0" z="0.9"/> <Dimensions width="2" length="2" height="2"/> </BoundingBox> <Properties> <Property name="type" value="simulation"/> </Properties> </Pedestrian> </ScenarioObject> <ScenarioObject name="pedestrian_w_transform_4222"> <Pedestrian model="walker.pedestrian.0001" mass="80" name="walker.pedestrian.0001" pedestrianCategory="pedestrian"> <ParameterDeclarations/> <BoundingBox> <Center x="1.5" y="0.0" z="0.9"/> <Dimensions width="2" length="2" height="2"/> </BoundingBox> <Properties> <Property name="type" value="simulation"/> </Properties> </Pedestrian> </ScenarioObject> <ScenarioObject name="pedestrian_w_transform_4223"> <Pedestrian model="walker.pedestrian.0001" mass="80" name="walker.pedestrian.0001" pedestrianCategory="pedestrian"> <ParameterDeclarations/> <BoundingBox> <Center x="1.5" y="0.0" z="0.9"/> <Dimensions width="2" length="2" height="2"/> </BoundingBox> <Properties> <Property name="type" value="simulation"/> </Properties> </Pedestrian> </ScenarioObject> <ScenarioObject name="pedestrian_close_to_standing_4224"> <Pedestrian model="walker.pedestrian.0001" mass="80" name="walker.pedestrian.0001" pedestrianCategory="pedestrian"> <ParameterDeclarations/> <BoundingBox> <Center x="1.5" y="0.0" z="0.9"/> <Dimensions width="2" length="2" height="2"/> </BoundingBox> <Properties> <Property name="type" value="simulation"/> </Properties> </Pedestrian> </ScenarioObject> <ScenarioObject name="pedestrian_close_to_standing_4225"> <Pedestrian model="walker.pedestrian.0001" mass="80" name="walker.pedestrian.0001" pedestrianCategory="pedestrian"> <ParameterDeclarations/> <BoundingBox> <Center x="1.5" y="0.0" z="0.9"/> <Dimensions width="2" length="2" height="2"/> </BoundingBox> <Properties> <Property name="type" value="simulation"/> </Properties> </Pedestrian> </ScenarioObject> <ScenarioObject name="pedestrian_close_to_standing_4226"> <Pedestrian model="walker.pedestrian.0001" mass="80" name="walker.pedestrian.0001" pedestrianCategory="pedestrian"> <ParameterDeclarations/> <BoundingBox> <Center x="1.5" y="0.0" z="0.9"/> <Dimensions width="2" length="2" height="2"/> </BoundingBox> <Properties> <Property name="type" value="simulation"/> </Properties> </Pedestrian> </ScenarioObject> <ScenarioObject name="pedestrian_close_to_adversary_4227"> <Pedestrian model="walker.pedestrian.0001" mass="80" name="walker.pedestrian.0001" pedestrianCategory="pedestrian"> <ParameterDeclarations/> <BoundingBox> <Center x="1.5" y="0.0" z="0.9"/> <Dimensions width="2" length="2" height="2"/> </BoundingBox> <Properties> <Property name="type" value="simulation"/> </Properties> </Pedestrian> </ScenarioObject> </Entities> <Storyboard> <Init> <Actions> <GlobalAction> <EnvironmentAction> <Environment name="Environment1"> <TimeOfDay animation="false" dateTime="2019-06-25T12:00:00"/> <Weather cloudState="free"> <Sun intensity="0.85" azimuth="0" elevation="1.31"/> <Fog visualRange="100000.0"/> <Precipitation precipitationType="dry" intensity="0.0"/> </Weather> <RoadCondition frictionScaleFactor="1.0"/> </Environment> </EnvironmentAction> </GlobalAction> <Private entityRef="hero"> <PrivateAction> <TeleportAction> <Position> <WorldPosition x="-9.4" y="-152.8" z="0.5" h="1.57079632679"/> </Position> </TeleportAction> </PrivateAction> <PrivateAction> <ControllerAction> <AssignControllerAction> <Controller name="HeroAgent"> <Properties> <Property name="module" value="external_control"/> </Properties> </Controller> </AssignControllerAction> <OverrideControllerValueAction> <Throttle value="0" active="false"/> <Brake value="0" active="false"/> <Clutch value="0" active="false"/> <ParkingBrake value="0" active="false"/> <SteeringWheel value="0" active="false"/> <Gear number="0" active="false"/> </OverrideControllerValueAction> </ControllerAction> </PrivateAction> </Private> <Private entityRef="adversary"> <PrivateAction> <TeleportAction> <Position> <WorldPosition x="-9.4" y="-71.0" z="0.5" h="1.57079632679"/> </Position> </TeleportAction> </PrivateAction> </Private> <Private entityRef="standing"> <PrivateAction> <TeleportAction> <Position> <WorldPosition x="-8.2" y="29.2" z="0.5" h="1.57079632679"/> </Position> </TeleportAction> </PrivateAction> </Private> <Private entityRef="pedestrian_close_to_standing_4214"> <PrivateAction> <TeleportAction> <Position> <WorldPosition x="-1.2721768617630005" y="29.412559509277344" z="0.0030455016531050205"/> </Position> </TeleportAction> </PrivateAction> </Private> <Private entityRef="pedestrian_w_transform_4215"> <PrivateAction> <TeleportAction> <Position> <WorldPosition x="-5.931629657745361" y="46.77640914916992" z="0.5"/> </Position> </TeleportAction> </PrivateAction> </Private> <Private entityRef="pedestrian_close_to_hero_4216"> <PrivateAction> <TeleportAction> <Position> <WorldPosition x="-11.98222541809082" y="-149.8123779296875" z="0.0014286803780123591"/> </Position> </TeleportAction> </PrivateAction> </Private> <Private entityRef="pedestrian_close_to_hero_4217"> <PrivateAction> <TeleportAction> <Position> <WorldPosition x="-3.6654226779937744" y="-150.6629638671875" z="0.0014286803780123591"/> </Position> </TeleportAction> </PrivateAction> </Private> <Private entityRef="pedestrian_w_transform_4218"> <PrivateAction> <TeleportAction> <Position> <WorldPosition x="-94.55921936035156" y="49.140655517578125" z="0.5"/> </Position> </TeleportAction> </PrivateAction> </Private> <Private entityRef="pedestrian_w_transform_4219"> <PrivateAction> <TeleportAction> <Position> <WorldPosition x="15.115653991699219" y="-45.48543167114258" z="0.5"/> </Position> </TeleportAction> </PrivateAction> </Private> <Private entityRef="pedestrian_close_to_standing_4220"> <PrivateAction> <TeleportAction> <Position> <WorldPosition x="-12.746164321899414" y="26.71111297607422" z="0.0030611418187618256"/> </Position> </TeleportAction> </PrivateAction> </Private> <Private entityRef="pedestrian_w_transform_4221"> <PrivateAction> <TeleportAction> <Position> <WorldPosition x="-76.56778717041016" y="17.04189109802246" z="0.5"/> </Position> </TeleportAction> </PrivateAction> </Private> <Private entityRef="pedestrian_w_transform_4222"> <PrivateAction> <TeleportAction> <Position> <WorldPosition x="47.926822662353516" y="-1.2543449401855469" z="0.5"/> </Position> </TeleportAction> </PrivateAction> </Private> <Private entityRef="pedestrian_w_transform_4223"> <PrivateAction> <TeleportAction> <Position> <WorldPosition x="-59.527183532714844" y="90.51030731201172" z="0.5"/> </Position> </TeleportAction> </PrivateAction> </Private> <Private entityRef="pedestrian_close_to_standing_4224"> <PrivateAction> <TeleportAction> <Position> <WorldPosition x="-13.649643898010254" y="21.630496978759766" z="0.0030504607129842043"/> </Position> </TeleportAction> </PrivateAction> </Private> <Private entityRef="pedestrian_close_to_standing_4225"> <PrivateAction> <TeleportAction> <Position> <WorldPosition x="-12.2527437210083" y="37.34736633300781" z="0.0030384825076907873"/> </Position> </TeleportAction> </PrivateAction> </Private> <Private entityRef="pedestrian_close_to_standing_4226"> <PrivateAction> <TeleportAction> <Position> <WorldPosition x="-0.9433159828186035" y="29.004486083984375" z="0.0029915999621152878"/> </Position> </TeleportAction> </PrivateAction> </Private> <Private entityRef="pedestrian_close_to_adversary_4227"> <PrivateAction> <TeleportAction> <Position> <WorldPosition x="-5.8818359375" y="-72.68353271484375" z="0.03378769010305405"/> </Position> </TeleportAction> </PrivateAction> </Private> </Actions> </Init> <Story name="MyStory"> <Act name="Behavior"> <ManeuverGroup maximumExecutionCount="1" name="ManeuverSequence"> <Actors selectTriggeringEntities="false"> <EntityRef entityRef="adversary"/> </Actors> <Maneuver name="LaneChangeSimpleManeuver"> <Event name="AdversaryAccelerates" priority="overwrite"> <Action name="AdversaryAccelerates"> <PrivateAction> <LongitudinalAction> <SpeedAction> <SpeedActionDynamics dynamicsShape="step" value="50" dynamicsDimension="distance"/> <SpeedActionTarget> <AbsoluteTargetSpeed value="5.0"/> </SpeedActionTarget> </SpeedAction> </LongitudinalAction> </PrivateAction> </Action> <StartTrigger> <ConditionGroup> <Condition name="StartCondition" delay="0" conditionEdge="rising"> <ByEntityCondition> <TriggeringEntities triggeringEntitiesRule="any"> <EntityRef entityRef="hero"/> </TriggeringEntities> <EntityCondition> <RelativeDistanceCondition entityRef="adversary" relativeDistanceType="cartesianDistance" value="40.0" freespace="false" rule="lessThan"/> </EntityCondition> </ByEntityCondition> </Condition> </ConditionGroup> </StartTrigger> </Event> <Event name="AdversaryChangesLane" priority="overwrite"> <Action name="AdversaryChangesLane"> <PrivateAction> <LateralAction> <LaneChangeAction> <LaneChangeActionDynamics dynamicsShape="linear" value="25" dynamicsDimension="distance"/> <LaneChangeTarget> <RelativeTargetLane entityRef="adversary" value="-1"/> </LaneChangeTarget> </LaneChangeAction> </LateralAction> </PrivateAction> </Action> <StartTrigger> <ConditionGroup> <Condition name="AfterAdversaryAccelerates" delay="0" conditionEdge="rising"> <ByValueCondition> <StoryboardElementStateCondition storyboardElementType="action" storyboardElementRef="AdversaryAccelerates" state="completeState"/> </ByValueCondition> </Condition> </ConditionGroup> </StartTrigger> </Event> </Maneuver> </ManeuverGroup> <StartTrigger> <ConditionGroup> <Condition name="OverallStartCondition" delay="0" conditionEdge="rising"> <ByEntityCondition> <TriggeringEntities triggeringEntitiesRule="any"> <EntityRef entityRef="hero"/> </TriggeringEntities> <EntityCondition> <TraveledDistanceCondition value="1.0"/> </EntityCondition> </ByEntityCondition> </Condition> <Condition name="StartTime" delay="0" conditionEdge="rising"> <ByValueCondition> <SimulationTimeCondition value="0" rule="equalTo"/> </ByValueCondition> </Condition> </ConditionGroup> </StartTrigger> <StopTrigger> <ConditionGroup> <Condition name="EndCondition" delay="0" conditionEdge="rising"> <ByEntityCondition> <TriggeringEntities triggeringEntitiesRule="any"> <EntityRef entityRef="hero"/> </TriggeringEntities> <EntityCondition> <TraveledDistanceCondition value="200.0"/> </EntityCondition> </ByEntityCondition> </Condition> </ConditionGroup> </StopTrigger> </Act> </Story> <StopTrigger> <ConditionGroup> <Condition name="criteria_RunningStopTest" delay="0" conditionEdge="rising"> <ByValueCondition> <ParameterCondition parameterRef="" value="" rule="lessThan"/> </ByValueCondition> </Condition> <Condition name="criteria_RunningRedLightTest" delay="0" conditionEdge="rising"> <ByValueCondition> <ParameterCondition parameterRef="" value="" rule="lessThan"/> </ByValueCondition> </Condition> <Condition name="criteria_WrongLaneTest" delay="0" conditionEdge="rising"> <ByValueCondition> <ParameterCondition parameterRef="" value="" rule="lessThan"/> </ByValueCondition> </Condition> <Condition name="criteria_OnSidewalkTest" delay="0" conditionEdge="rising"> <ByValueCondition> <ParameterCondition parameterRef="" value="" rule="lessThan"/> </ByValueCondition> </Condition> <Condition name="criteria_KeepLaneTest" delay="0" conditionEdge="rising"> <ByValueCondition> <ParameterCondition parameterRef="" value="" rule="lessThan"/> </ByValueCondition> </Condition> <Condition name="criteria_CollisionTest" delay="0" conditionEdge="rising"> <ByValueCondition> <ParameterCondition parameterRef="" value="" rule="lessThan"/> </ByValueCondition> </Condition> <Condition name="criteria_DrivenDistanceTest" delay="0" conditionEdge="rising"> <ByValueCondition> <ParameterCondition parameterRef="distance_success" value="100" rule="lessThan"/> </ByValueCondition> </Condition> </ConditionGroup> </StopTrigger> </Storyboard> </OpenSCENARIO> ```
i would like you to demonstrate remove pedestrian actor named pedestrian_close_to_standing_23775? ``` <?xml version="1.0" ?> <OpenSCENARIO> <FileHeader revMajor="1" revMinor="0" date="2020-03-24T12:00:00" description="CARLA:LaneChangeSimple" author=""/> <ParameterDeclarations/> <CatalogLocations/> <RoadNetwork> <LogicFile filepath="Town04"/> <SceneGraphFile filepath=""/> </RoadNetwork> <Entities> <ScenarioObject name="hero"> <Vehicle name="vehicle.tesla.model3" vehicleCategory="car"> <ParameterDeclarations/> <Performance maxSpeed="69.444" maxAcceleration="200" maxDeceleration="10.0"/> <BoundingBox> <Center x="1.5" y="0.0" z="0.9"/> <Dimensions width="2.1" length="4.5" height="1.8"/> </BoundingBox> <Axles> <FrontAxle maxSteering="0.5" wheelDiameter="0.6" trackWidth="1.8" positionX="3.1" positionZ="0.3"/> <RearAxle maxSteering="0.0" wheelDiameter="0.6" trackWidth="1.8" positionX="0.0" positionZ="0.3"/> </Axles> <Properties> <Property name="type" value="ego_vehicle"/> </Properties> </Vehicle> </ScenarioObject> <ScenarioObject name="adversary"> <Vehicle name="vehicle.lincoln.mkz_2017" vehicleCategory="car"> <ParameterDeclarations/> <Performance maxSpeed="69.444" maxAcceleration="200" maxDeceleration="10.0"/> <BoundingBox> <Center x="1.5" y="0.0" z="0.9"/> <Dimensions width="2.1" length="4.5" height="1.8"/> </BoundingBox> <Axles> <FrontAxle maxSteering="0.5" wheelDiameter="0.6" trackWidth="1.8" positionX="3.1" positionZ="0.3"/> <RearAxle maxSteering="0.0" wheelDiameter="0.6" trackWidth="1.8" positionX="0.0" positionZ="0.3"/> </Axles> <Properties> <Property name="type" value="simulation"/> </Properties> </Vehicle> </ScenarioObject> <ScenarioObject name="standing"> <Vehicle name="vehicle.volkswagen.t2" vehicleCategory="car"> <ParameterDeclarations/> <Performance maxSpeed="69.444" maxAcceleration="200" maxDeceleration="10.0"/> <BoundingBox> <Center x="1.5" y="0.0" z="0.9"/> <Dimensions width="2.1" length="4.5" height="1.8"/> </BoundingBox> <Axles> <FrontAxle maxSteering="0.5" wheelDiameter="0.6" trackWidth="1.8" positionX="3.1" positionZ="0.3"/> <RearAxle maxSteering="0.0" wheelDiameter="0.6" trackWidth="1.8" positionX="0.0" positionZ="0.3"/> </Axles> <Properties> <Property name="type" value="simulation"/> </Properties> </Vehicle> </ScenarioObject> <ScenarioObject name="pedestrian_close_to_adversary_23765"> <Pedestrian model="walker.pedestrian.0001" mass="80" name="walker.pedestrian.0001" pedestrianCategory="pedestrian"> <ParameterDeclarations/> <BoundingBox> <Center x="1.5" y="0.0" z="0.9"/> <Dimensions width="2" length="2" height="2"/> </BoundingBox> <Properties> <Property name="type" value="simulation"/> </Properties> </Pedestrian> </ScenarioObject> <ScenarioObject name="pedestrian_close_to_hero_23767"> <Pedestrian model="walker.pedestrian.0001" mass="80" name="walker.pedestrian.0001" pedestrianCategory="pedestrian"> <ParameterDeclarations/> <BoundingBox> <Center x="1.5" y="0.0" z="0.9"/> <Dimensions width="2" length="2" height="2"/> </BoundingBox> <Properties> <Property name="type" value="simulation"/> </Properties> </Pedestrian> </ScenarioObject> <ScenarioObject name="pedestrian_w_transform_23768"> <Pedestrian model="walker.pedestrian.0001" mass="80" name="walker.pedestrian.0001" pedestrianCategory="pedestrian"> <ParameterDeclarations/> <BoundingBox> <Center x="1.5" y="0.0" z="0.9"/> <Dimensions width="2" length="2" height="2"/> </BoundingBox> <Properties> <Property name="type" value="simulation"/> </Properties> </Pedestrian> </ScenarioObject> <ScenarioObject name="pedestrian_close_to_standing_23769"> <Pedestrian model="walker.pedestrian.0001" mass="80" name="walker.pedestrian.0001" pedestrianCategory="pedestrian"> <ParameterDeclarations/> <BoundingBox> <Center x="1.5" y="0.0" z="0.9"/> <Dimensions width="2" length="2" height="2"/> </BoundingBox> <Properties> <Property name="type" value="simulation"/> </Properties> </Pedestrian> </ScenarioObject> <ScenarioObject name="pedestrian_close_to_standing_23770"> <Pedestrian model="walker.pedestrian.0001" mass="80" name="walker.pedestrian.0001" pedestrianCategory="pedestrian"> <ParameterDeclarations/> <BoundingBox> <Center x="1.5" y="0.0" z="0.9"/> <Dimensions width="2" length="2" height="2"/> </BoundingBox> <Properties> <Property name="type" value="simulation"/> </Properties> </Pedestrian> </ScenarioObject> <ScenarioObject name="pedestrian_close_to_standing_23771"> <Pedestrian model="walker.pedestrian.0001" mass="80" name="walker.pedestrian.0001" pedestrianCategory="pedestrian"> <ParameterDeclarations/> <BoundingBox> <Center x="1.5" y="0.0" z="0.9"/> <Dimensions width="2" length="2" height="2"/> </BoundingBox> <Properties> <Property name="type" value="simulation"/> </Properties> </Pedestrian> </ScenarioObject> <ScenarioObject name="pedestrian_w_transform_23772"> <Pedestrian model="walker.pedestrian.0001" mass="80" name="walker.pedestrian.0001" pedestrianCategory="pedestrian"> <ParameterDeclarations/> <BoundingBox> <Center x="1.5" y="0.0" z="0.9"/> <Dimensions width="2" length="2" height="2"/> </BoundingBox> <Properties> <Property name="type" value="simulation"/> </Properties> </Pedestrian> </ScenarioObject> <ScenarioObject name="pedestrian_close_to_standing_23774"> <Pedestrian model="walker.pedestrian.0001" mass="80" name="walker.pedestrian.0001" pedestrianCategory="pedestrian"> <ParameterDeclarations/> <BoundingBox> <Center x="1.5" y="0.0" z="0.9"/> <Dimensions width="2" length="2" height="2"/> </BoundingBox> <Properties> <Property name="type" value="simulation"/> </Properties> </Pedestrian> </ScenarioObject> <ScenarioObject name="pedestrian_close_to_standing_23775"> <Pedestrian model="walker.pedestrian.0001" mass="80" name="walker.pedestrian.0001" pedestrianCategory="pedestrian"> <ParameterDeclarations/> <BoundingBox> <Center x="1.5" y="0.0" z="0.9"/> <Dimensions width="2" length="2" height="2"/> </BoundingBox> <Properties> <Property name="type" value="simulation"/> </Properties> </Pedestrian> </ScenarioObject> </Entities> <Storyboard> <Init> <Actions> <GlobalAction> <EnvironmentAction> <Environment name="Environment1"> <TimeOfDay animation="false" dateTime="2019-06-25T12:00:00"/> <Weather cloudState="free"> <Sun intensity="0.85" azimuth="0" elevation="1.31"/> <Fog visualRange="100000.0"/> <Precipitation precipitationType="dry" intensity="0.0"/> </Weather> <RoadCondition frictionScaleFactor="1.0"/> </Environment> </EnvironmentAction> </GlobalAction> <Private entityRef="hero"> <PrivateAction> <TeleportAction> <Position> <WorldPosition x="-9.4" y="-152.8" z="0.5" h="1.57079632679"/> </Position> </TeleportAction> </PrivateAction> <PrivateAction> <ControllerAction> <AssignControllerAction> <Controller name="HeroAgent"> <Properties> <Property name="module" value="external_control"/> </Properties> </Controller> </AssignControllerAction> <OverrideControllerValueAction> <Throttle value="0" active="false"/> <Brake value="0" active="false"/> <Clutch value="0" active="false"/> <ParkingBrake value="0" active="false"/> <SteeringWheel value="0" active="false"/> <Gear number="0" active="false"/> </OverrideControllerValueAction> </ControllerAction> </PrivateAction> </Private> <Private entityRef="adversary"> <PrivateAction> <TeleportAction> <Position> <WorldPosition x="-9.4" y="-71.0" z="0.5" h="1.57079632679"/> </Position> </TeleportAction> </PrivateAction> </Private> <Private entityRef="standing"> <PrivateAction> <TeleportAction> <Position> <WorldPosition x="-8.2" y="29.2" z="0.5" h="1.57079632679"/> </Position> </TeleportAction> </PrivateAction> </Private> <Private entityRef="pedestrian_close_to_adversary_23765"> <PrivateAction> <TeleportAction> <Position> <WorldPosition x="-6.568727016448975" y="-67.42363739013672" z="0.03379074111580849"/> </Position> </TeleportAction> </PrivateAction> </Private> <Private entityRef="pedestrian_close_to_hero_23767"> <PrivateAction> <TeleportAction> <Position> <WorldPosition x="-18.688081741333008" y="-152.59555053710938" z="0.0014286803780123591"/> </Position> </TeleportAction> </PrivateAction> </Private> <Private entityRef="pedestrian_w_transform_23768"> <PrivateAction> <TeleportAction> <Position> <WorldPosition x="36.84495162963867" y="-40.51348876953125" z="0.5"/> </Position> </TeleportAction> </PrivateAction> </Private> <Private entityRef="pedestrian_close_to_standing_23769"> <PrivateAction> <TeleportAction> <Position> <WorldPosition x="-16.204275131225586" y="25.963239669799805" z="0.0030183028429746628"/> </Position> </TeleportAction> </PrivateAction> </Private> <Private entityRef="pedestrian_close_to_standing_23770"> <PrivateAction> <TeleportAction> <Position> <WorldPosition x="-9.196844100952148" y="36.531578063964844" z="0.003034400986507535"/> </Position> </TeleportAction> </PrivateAction> </Private> <Private entityRef="pedestrian_close_to_standing_23771"> <PrivateAction> <TeleportAction> <Position> <WorldPosition x="-9.394332885742188" y="23.877836227416992" z="0.003051338018849492"/> </Position> </TeleportAction> </PrivateAction> </Private> <Private entityRef="pedestrian_w_transform_23772"> <PrivateAction> <TeleportAction> <Position> <WorldPosition x="-65.29618835449219" y="-66.4941635131836" z="0.5"/> </Position> </TeleportAction> </PrivateAction> </Private> <Private entityRef="pedestrian_close_to_standing_23774"> <PrivateAction> <TeleportAction> <Position> <WorldPosition x="-6.407306671142578" y="36.945674896240234" z="0.003019866766408086"/> </Position> </TeleportAction> </PrivateAction> </Private> <Private entityRef="pedestrian_close_to_standing_23775"> <PrivateAction> <TeleportAction> <Position> <WorldPosition x="0.3715261220932007" y="27.423555374145508" z="0.0030372999608516693"/> </Position> </TeleportAction> </PrivateAction> </Private> </Actions> </Init> <Story name="MyStory"> <Act name="Behavior"> <ManeuverGroup maximumExecutionCount="1" name="ManeuverSequence"> <Actors selectTriggeringEntities="false"> <EntityRef entityRef="adversary"/> </Actors> <Maneuver name="LaneChangeSimpleManeuver"> <Event name="AdversaryAccelerates" priority="overwrite"> <Action name="AdversaryAccelerates"> <PrivateAction> <LongitudinalAction> <SpeedAction> <SpeedActionDynamics dynamicsShape="step" value="50" dynamicsDimension="distance"/> <SpeedActionTarget> <AbsoluteTargetSpeed value="5.0"/> </SpeedActionTarget> </SpeedAction> </LongitudinalAction> </PrivateAction> </Action> <StartTrigger> <ConditionGroup> <Condition name="StartCondition" delay="0" conditionEdge="rising"> <ByEntityCondition> <TriggeringEntities triggeringEntitiesRule="any"> <EntityRef entityRef="hero"/> </TriggeringEntities> <EntityCondition> <RelativeDistanceCondition entityRef="adversary" relativeDistanceType="cartesianDistance" value="40.0" freespace="false" rule="lessThan"/> </EntityCondition> </ByEntityCondition> </Condition> </ConditionGroup> </StartTrigger> </Event> <Event name="AdversaryChangesLane" priority="overwrite"> <Action name="AdversaryChangesLane"> <PrivateAction> <LateralAction> <LaneChangeAction> <LaneChangeActionDynamics dynamicsShape="linear" value="25" dynamicsDimension="distance"/> <LaneChangeTarget> <RelativeTargetLane entityRef="adversary" value="-1"/> </LaneChangeTarget> </LaneChangeAction> </LateralAction> </PrivateAction> </Action> <StartTrigger> <ConditionGroup> <Condition name="AfterAdversaryAccelerates" delay="0" conditionEdge="rising"> <ByValueCondition> <StoryboardElementStateCondition storyboardElementType="action" storyboardElementRef="AdversaryAccelerates" state="completeState"/> </ByValueCondition> </Condition> </ConditionGroup> </StartTrigger> </Event> </Maneuver> </ManeuverGroup> <StartTrigger> <ConditionGroup> <Condition name="OverallStartCondition" delay="0" conditionEdge="rising"> <ByEntityCondition> <TriggeringEntities triggeringEntitiesRule="any"> <EntityRef entityRef="hero"/> </TriggeringEntities> <EntityCondition> <TraveledDistanceCondition value="1.0"/> </EntityCondition> </ByEntityCondition> </Condition> <Condition name="StartTime" delay="0" conditionEdge="rising"> <ByValueCondition> <SimulationTimeCondition value="0" rule="equalTo"/> </ByValueCondition> </Condition> </ConditionGroup> </StartTrigger> <StopTrigger> <ConditionGroup> <Condition name="EndCondition" delay="0" conditionEdge="rising"> <ByEntityCondition> <TriggeringEntities triggeringEntitiesRule="any"> <EntityRef entityRef="hero"/> </TriggeringEntities> <EntityCondition> <TraveledDistanceCondition value="200.0"/> </EntityCondition> </ByEntityCondition> </Condition> </ConditionGroup> </StopTrigger> </Act> </Story> <StopTrigger> <ConditionGroup> <Condition name="criteria_RunningStopTest" delay="0" conditionEdge="rising"> <ByValueCondition> <ParameterCondition parameterRef="" value="" rule="lessThan"/> </ByValueCondition> </Condition> <Condition name="criteria_RunningRedLightTest" delay="0" conditionEdge="rising"> <ByValueCondition> <ParameterCondition parameterRef="" value="" rule="lessThan"/> </ByValueCondition> </Condition> <Condition name="criteria_WrongLaneTest" delay="0" conditionEdge="rising"> <ByValueCondition> <ParameterCondition parameterRef="" value="" rule="lessThan"/> </ByValueCondition> </Condition> <Condition name="criteria_OnSidewalkTest" delay="0" conditionEdge="rising"> <ByValueCondition> <ParameterCondition parameterRef="" value="" rule="lessThan"/> </ByValueCondition> </Condition> <Condition name="criteria_KeepLaneTest" delay="0" conditionEdge="rising"> <ByValueCondition> <ParameterCondition parameterRef="" value="" rule="lessThan"/> </ByValueCondition> </Condition> <Condition name="criteria_CollisionTest" delay="0" conditionEdge="rising"> <ByValueCondition> <ParameterCondition parameterRef="" value="" rule="lessThan"/> </ByValueCondition> </Condition> <Condition name="criteria_DrivenDistanceTest" delay="0" conditionEdge="rising"> <ByValueCondition> <ParameterCondition parameterRef="distance_success" value="100" rule="lessThan"/> </ByValueCondition> </Condition> </ConditionGroup> </StopTrigger> </Storyboard> </OpenSCENARIO> ```
Here is the result: ``` <?xml version="1.0" ?> <OpenSCENARIO> <FileHeader revMajor="1" revMinor="0" date="2020-03-24T12:00:00" description="CARLA:LaneChangeSimple" author=""/> <ParameterDeclarations/> <CatalogLocations/> <RoadNetwork> <LogicFile filepath="Town04"/> <SceneGraphFile filepath=""/> </RoadNetwork> <Entities> <ScenarioObject name="hero"> <Vehicle name="vehicle.tesla.model3" vehicleCategory="car"> <ParameterDeclarations/> <Performance maxSpeed="69.444" maxAcceleration="200" maxDeceleration="10.0"/> <BoundingBox> <Center x="1.5" y="0.0" z="0.9"/> <Dimensions width="2.1" length="4.5" height="1.8"/> </BoundingBox> <Axles> <FrontAxle maxSteering="0.5" wheelDiameter="0.6" trackWidth="1.8" positionX="3.1" positionZ="0.3"/> <RearAxle maxSteering="0.0" wheelDiameter="0.6" trackWidth="1.8" positionX="0.0" positionZ="0.3"/> </Axles> <Properties> <Property name="type" value="ego_vehicle"/> </Properties> </Vehicle> </ScenarioObject> <ScenarioObject name="adversary"> <Vehicle name="vehicle.lincoln.mkz_2017" vehicleCategory="car"> <ParameterDeclarations/> <Performance maxSpeed="69.444" maxAcceleration="200" maxDeceleration="10.0"/> <BoundingBox> <Center x="1.5" y="0.0" z="0.9"/> <Dimensions width="2.1" length="4.5" height="1.8"/> </BoundingBox> <Axles> <FrontAxle maxSteering="0.5" wheelDiameter="0.6" trackWidth="1.8" positionX="3.1" positionZ="0.3"/> <RearAxle maxSteering="0.0" wheelDiameter="0.6" trackWidth="1.8" positionX="0.0" positionZ="0.3"/> </Axles> <Properties> <Property name="type" value="simulation"/> </Properties> </Vehicle> </ScenarioObject> <ScenarioObject name="standing"> <Vehicle name="vehicle.volkswagen.t2" vehicleCategory="car"> <ParameterDeclarations/> <Performance maxSpeed="69.444" maxAcceleration="200" maxDeceleration="10.0"/> <BoundingBox> <Center x="1.5" y="0.0" z="0.9"/> <Dimensions width="2.1" length="4.5" height="1.8"/> </BoundingBox> <Axles> <FrontAxle maxSteering="0.5" wheelDiameter="0.6" trackWidth="1.8" positionX="3.1" positionZ="0.3"/> <RearAxle maxSteering="0.0" wheelDiameter="0.6" trackWidth="1.8" positionX="0.0" positionZ="0.3"/> </Axles> <Properties> <Property name="type" value="simulation"/> </Properties> </Vehicle> </ScenarioObject> <ScenarioObject name="pedestrian_close_to_adversary_23765"> <Pedestrian model="walker.pedestrian.0001" mass="80" name="walker.pedestrian.0001" pedestrianCategory="pedestrian"> <ParameterDeclarations/> <BoundingBox> <Center x="1.5" y="0.0" z="0.9"/> <Dimensions width="2" length="2" height="2"/> </BoundingBox> <Properties> <Property name="type" value="simulation"/> </Properties> </Pedestrian> </ScenarioObject> <ScenarioObject name="pedestrian_close_to_hero_23767"> <Pedestrian model="walker.pedestrian.0001" mass="80" name="walker.pedestrian.0001" pedestrianCategory="pedestrian"> <ParameterDeclarations/> <BoundingBox> <Center x="1.5" y="0.0" z="0.9"/> <Dimensions width="2" length="2" height="2"/> </BoundingBox> <Properties> <Property name="type" value="simulation"/> </Properties> </Pedestrian> </ScenarioObject> <ScenarioObject name="pedestrian_w_transform_23768"> <Pedestrian model="walker.pedestrian.0001" mass="80" name="walker.pedestrian.0001" pedestrianCategory="pedestrian"> <ParameterDeclarations/> <BoundingBox> <Center x="1.5" y="0.0" z="0.9"/> <Dimensions width="2" length="2" height="2"/> </BoundingBox> <Properties> <Property name="type" value="simulation"/> </Properties> </Pedestrian> </ScenarioObject> <ScenarioObject name="pedestrian_close_to_standing_23769"> <Pedestrian model="walker.pedestrian.0001" mass="80" name="walker.pedestrian.0001" pedestrianCategory="pedestrian"> <ParameterDeclarations/> <BoundingBox> <Center x="1.5" y="0.0" z="0.9"/> <Dimensions width="2" length="2" height="2"/> </BoundingBox> <Properties> <Property name="type" value="simulation"/> </Properties> </Pedestrian> </ScenarioObject> <ScenarioObject name="pedestrian_close_to_standing_23770"> <Pedestrian model="walker.pedestrian.0001" mass="80" name="walker.pedestrian.0001" pedestrianCategory="pedestrian"> <ParameterDeclarations/> <BoundingBox> <Center x="1.5" y="0.0" z="0.9"/> <Dimensions width="2" length="2" height="2"/> </BoundingBox> <Properties> <Property name="type" value="simulation"/> </Properties> </Pedestrian> </ScenarioObject> <ScenarioObject name="pedestrian_close_to_standing_23771"> <Pedestrian model="walker.pedestrian.0001" mass="80" name="walker.pedestrian.0001" pedestrianCategory="pedestrian"> <ParameterDeclarations/> <BoundingBox> <Center x="1.5" y="0.0" z="0.9"/> <Dimensions width="2" length="2" height="2"/> </BoundingBox> <Properties> <Property name="type" value="simulation"/> </Properties> </Pedestrian> </ScenarioObject> <ScenarioObject name="pedestrian_w_transform_23772"> <Pedestrian model="walker.pedestrian.0001" mass="80" name="walker.pedestrian.0001" pedestrianCategory="pedestrian"> <ParameterDeclarations/> <BoundingBox> <Center x="1.5" y="0.0" z="0.9"/> <Dimensions width="2" length="2" height="2"/> </BoundingBox> <Properties> <Property name="type" value="simulation"/> </Properties> </Pedestrian> </ScenarioObject> <ScenarioObject name="pedestrian_close_to_standing_23774"> <Pedestrian model="walker.pedestrian.0001" mass="80" name="walker.pedestrian.0001" pedestrianCategory="pedestrian"> <ParameterDeclarations/> <BoundingBox> <Center x="1.5" y="0.0" z="0.9"/> <Dimensions width="2" length="2" height="2"/> </BoundingBox> <Properties> <Property name="type" value="simulation"/> </Properties> </Pedestrian> </ScenarioObject> </Entities> <Storyboard> <Init> <Actions> <GlobalAction> <EnvironmentAction> <Environment name="Environment1"> <TimeOfDay animation="false" dateTime="2019-06-25T12:00:00"/> <Weather cloudState="free"> <Sun intensity="0.85" azimuth="0" elevation="1.31"/> <Fog visualRange="100000.0"/> <Precipitation precipitationType="dry" intensity="0.0"/> </Weather> <RoadCondition frictionScaleFactor="1.0"/> </Environment> </EnvironmentAction> </GlobalAction> <Private entityRef="hero"> <PrivateAction> <TeleportAction> <Position> <WorldPosition x="-9.4" y="-152.8" z="0.5" h="1.57079632679"/> </Position> </TeleportAction> </PrivateAction> <PrivateAction> <ControllerAction> <AssignControllerAction> <Controller name="HeroAgent"> <Properties> <Property name="module" value="external_control"/> </Properties> </Controller> </AssignControllerAction> <OverrideControllerValueAction> <Throttle value="0" active="false"/> <Brake value="0" active="false"/> <Clutch value="0" active="false"/> <ParkingBrake value="0" active="false"/> <SteeringWheel value="0" active="false"/> <Gear number="0" active="false"/> </OverrideControllerValueAction> </ControllerAction> </PrivateAction> </Private> <Private entityRef="adversary"> <PrivateAction> <TeleportAction> <Position> <WorldPosition x="-9.4" y="-71.0" z="0.5" h="1.57079632679"/> </Position> </TeleportAction> </PrivateAction> </Private> <Private entityRef="standing"> <PrivateAction> <TeleportAction> <Position> <WorldPosition x="-8.2" y="29.2" z="0.5" h="1.57079632679"/> </Position> </TeleportAction> </PrivateAction> </Private> <Private entityRef="pedestrian_close_to_adversary_23765"> <PrivateAction> <TeleportAction> <Position> <WorldPosition x="-6.568727016448975" y="-67.42363739013672" z="0.03379074111580849"/> </Position> </TeleportAction> </PrivateAction> </Private> <Private entityRef="pedestrian_close_to_hero_23767"> <PrivateAction> <TeleportAction> <Position> <WorldPosition x="-18.688081741333008" y="-152.59555053710938" z="0.0014286803780123591"/> </Position> </TeleportAction> </PrivateAction> </Private> <Private entityRef="pedestrian_w_transform_23768"> <PrivateAction> <TeleportAction> <Position> <WorldPosition x="36.84495162963867" y="-40.51348876953125" z="0.5"/> </Position> </TeleportAction> </PrivateAction> </Private> <Private entityRef="pedestrian_close_to_standing_23769"> <PrivateAction> <TeleportAction> <Position> <WorldPosition x="-16.204275131225586" y="25.963239669799805" z="0.0030183028429746628"/> </Position> </TeleportAction> </PrivateAction> </Private> <Private entityRef="pedestrian_close_to_standing_23770"> <PrivateAction> <TeleportAction> <Position> <WorldPosition x="-9.196844100952148" y="36.531578063964844" z="0.003034400986507535"/> </Position> </TeleportAction> </PrivateAction> </Private> <Private entityRef="pedestrian_close_to_standing_23771"> <PrivateAction> <TeleportAction> <Position> <WorldPosition x="-9.394332885742188" y="23.877836227416992" z="0.003051338018849492"/> </Position> </TeleportAction> </PrivateAction> </Private> <Private entityRef="pedestrian_w_transform_23772"> <PrivateAction> <TeleportAction> <Position> <WorldPosition x="-65.29618835449219" y="-66.4941635131836" z="0.5"/> </Position> </TeleportAction> </PrivateAction> </Private> <Private entityRef="pedestrian_close_to_standing_23774"> <PrivateAction> <TeleportAction> <Position> <WorldPosition x="-6.407306671142578" y="36.945674896240234" z="0.003019866766408086"/> </Position> </TeleportAction> </PrivateAction> </Private> </Actions> </Init> <Story name="MyStory"> <Act name="Behavior"> <ManeuverGroup maximumExecutionCount="1" name="ManeuverSequence"> <Actors selectTriggeringEntities="false"> <EntityRef entityRef="adversary"/> </Actors> <Maneuver name="LaneChangeSimpleManeuver"> <Event name="AdversaryAccelerates" priority="overwrite"> <Action name="AdversaryAccelerates"> <PrivateAction> <LongitudinalAction> <SpeedAction> <SpeedActionDynamics dynamicsShape="step" value="50" dynamicsDimension="distance"/> <SpeedActionTarget> <AbsoluteTargetSpeed value="5.0"/> </SpeedActionTarget> </SpeedAction> </LongitudinalAction> </PrivateAction> </Action> <StartTrigger> <ConditionGroup> <Condition name="StartCondition" delay="0" conditionEdge="rising"> <ByEntityCondition> <TriggeringEntities triggeringEntitiesRule="any"> <EntityRef entityRef="hero"/> </TriggeringEntities> <EntityCondition> <RelativeDistanceCondition entityRef="adversary" relativeDistanceType="cartesianDistance" value="40.0" freespace="false" rule="lessThan"/> </EntityCondition> </ByEntityCondition> </Condition> </ConditionGroup> </StartTrigger> </Event> <Event name="AdversaryChangesLane" priority="overwrite"> <Action name="AdversaryChangesLane"> <PrivateAction> <LateralAction> <LaneChangeAction> <LaneChangeActionDynamics dynamicsShape="linear" value="25" dynamicsDimension="distance"/> <LaneChangeTarget> <RelativeTargetLane entityRef="adversary" value="-1"/> </LaneChangeTarget> </LaneChangeAction> </LateralAction> </PrivateAction> </Action> <StartTrigger> <ConditionGroup> <Condition name="AfterAdversaryAccelerates" delay="0" conditionEdge="rising"> <ByValueCondition> <StoryboardElementStateCondition storyboardElementType="action" storyboardElementRef="AdversaryAccelerates" state="completeState"/> </ByValueCondition> </Condition> </ConditionGroup> </StartTrigger> </Event> </Maneuver> </ManeuverGroup> <StartTrigger> <ConditionGroup> <Condition name="OverallStartCondition" delay="0" conditionEdge="rising"> <ByEntityCondition> <TriggeringEntities triggeringEntitiesRule="any"> <EntityRef entityRef="hero"/> </TriggeringEntities> <EntityCondition> <TraveledDistanceCondition value="1.0"/> </EntityCondition> </ByEntityCondition> </Condition> <Condition name="StartTime" delay="0" conditionEdge="rising"> <ByValueCondition> <SimulationTimeCondition value="0" rule="equalTo"/> </ByValueCondition> </Condition> </ConditionGroup> </StartTrigger> <StopTrigger> <ConditionGroup> <Condition name="EndCondition" delay="0" conditionEdge="rising"> <ByEntityCondition> <TriggeringEntities triggeringEntitiesRule="any"> <EntityRef entityRef="hero"/> </TriggeringEntities> <EntityCondition> <TraveledDistanceCondition value="200.0"/> </EntityCondition> </ByEntityCondition> </Condition> </ConditionGroup> </StopTrigger> </Act> </Story> <StopTrigger> <ConditionGroup> <Condition name="criteria_RunningStopTest" delay="0" conditionEdge="rising"> <ByValueCondition> <ParameterCondition parameterRef="" value="" rule="lessThan"/> </ByValueCondition> </Condition> <Condition name="criteria_RunningRedLightTest" delay="0" conditionEdge="rising"> <ByValueCondition> <ParameterCondition parameterRef="" value="" rule="lessThan"/> </ByValueCondition> </Condition> <Condition name="criteria_WrongLaneTest" delay="0" conditionEdge="rising"> <ByValueCondition> <ParameterCondition parameterRef="" value="" rule="lessThan"/> </ByValueCondition> </Condition> <Condition name="criteria_OnSidewalkTest" delay="0" conditionEdge="rising"> <ByValueCondition> <ParameterCondition parameterRef="" value="" rule="lessThan"/> </ByValueCondition> </Condition> <Condition name="criteria_KeepLaneTest" delay="0" conditionEdge="rising"> <ByValueCondition> <ParameterCondition parameterRef="" value="" rule="lessThan"/> </ByValueCondition> </Condition> <Condition name="criteria_CollisionTest" delay="0" conditionEdge="rising"> <ByValueCondition> <ParameterCondition parameterRef="" value="" rule="lessThan"/> </ByValueCondition> </Condition> <Condition name="criteria_DrivenDistanceTest" delay="0" conditionEdge="rising"> <ByValueCondition> <ParameterCondition parameterRef="distance_success" value="100" rule="lessThan"/> </ByValueCondition> </Condition> </ConditionGroup> </StopTrigger> </Storyboard> </OpenSCENARIO> ```
i would like you to add pedestrian close to adversary? ``` <?xml version="1.0" ?> <OpenSCENARIO> <FileHeader revMajor="1" revMinor="0" date="2020-03-24T12:00:00" description="CARLA:LaneChangeSimple" author=""/> <ParameterDeclarations/> <CatalogLocations/> <RoadNetwork> <LogicFile filepath="Town04"/> <SceneGraphFile filepath=""/> </RoadNetwork> <Entities> <ScenarioObject name="hero"> <Vehicle name="vehicle.tesla.model3" vehicleCategory="car"> <ParameterDeclarations/> <Performance maxSpeed="69.444" maxAcceleration="200" maxDeceleration="10.0"/> <BoundingBox> <Center x="1.5" y="0.0" z="0.9"/> <Dimensions width="2.1" length="4.5" height="1.8"/> </BoundingBox> <Axles> <FrontAxle maxSteering="0.5" wheelDiameter="0.6" trackWidth="1.8" positionX="3.1" positionZ="0.3"/> <RearAxle maxSteering="0.0" wheelDiameter="0.6" trackWidth="1.8" positionX="0.0" positionZ="0.3"/> </Axles> <Properties> <Property name="type" value="ego_vehicle"/> </Properties> </Vehicle> </ScenarioObject> <ScenarioObject name="adversary"> <Vehicle name="vehicle.lincoln.mkz_2017" vehicleCategory="car"> <ParameterDeclarations/> <Performance maxSpeed="69.444" maxAcceleration="200" maxDeceleration="10.0"/> <BoundingBox> <Center x="1.5" y="0.0" z="0.9"/> <Dimensions width="2.1" length="4.5" height="1.8"/> </BoundingBox> <Axles> <FrontAxle maxSteering="0.5" wheelDiameter="0.6" trackWidth="1.8" positionX="3.1" positionZ="0.3"/> <RearAxle maxSteering="0.0" wheelDiameter="0.6" trackWidth="1.8" positionX="0.0" positionZ="0.3"/> </Axles> <Properties> <Property name="type" value="simulation"/> </Properties> </Vehicle> </ScenarioObject> <ScenarioObject name="standing"> <Vehicle name="vehicle.volkswagen.t2" vehicleCategory="car"> <ParameterDeclarations/> <Performance maxSpeed="69.444" maxAcceleration="200" maxDeceleration="10.0"/> <BoundingBox> <Center x="1.5" y="0.0" z="0.9"/> <Dimensions width="2.1" length="4.5" height="1.8"/> </BoundingBox> <Axles> <FrontAxle maxSteering="0.5" wheelDiameter="0.6" trackWidth="1.8" positionX="3.1" positionZ="0.3"/> <RearAxle maxSteering="0.0" wheelDiameter="0.6" trackWidth="1.8" positionX="0.0" positionZ="0.3"/> </Axles> <Properties> <Property name="type" value="simulation"/> </Properties> </Vehicle> </ScenarioObject> <ScenarioObject name="pedestrian_close_to_hero_22353"> <Pedestrian model="walker.pedestrian.0001" mass="80" name="walker.pedestrian.0001" pedestrianCategory="pedestrian"> <ParameterDeclarations/> <BoundingBox> <Center x="1.5" y="0.0" z="0.9"/> <Dimensions width="2" length="2" height="2"/> </BoundingBox> <Properties> <Property name="type" value="simulation"/> </Properties> </Pedestrian> </ScenarioObject> <ScenarioObject name="pedestrian_w_transform_22354"> <Pedestrian model="walker.pedestrian.0001" mass="80" name="walker.pedestrian.0001" pedestrianCategory="pedestrian"> <ParameterDeclarations/> <BoundingBox> <Center x="1.5" y="0.0" z="0.9"/> <Dimensions width="2" length="2" height="2"/> </BoundingBox> <Properties> <Property name="type" value="simulation"/> </Properties> </Pedestrian> </ScenarioObject> <ScenarioObject name="pedestrian_w_transform_22356"> <Pedestrian model="walker.pedestrian.0001" mass="80" name="walker.pedestrian.0001" pedestrianCategory="pedestrian"> <ParameterDeclarations/> <BoundingBox> <Center x="1.5" y="0.0" z="0.9"/> <Dimensions width="2" length="2" height="2"/> </BoundingBox> <Properties> <Property name="type" value="simulation"/> </Properties> </Pedestrian> </ScenarioObject> <ScenarioObject name="pedestrian_close_to_adversary_22357"> <Pedestrian model="walker.pedestrian.0001" mass="80" name="walker.pedestrian.0001" pedestrianCategory="pedestrian"> <ParameterDeclarations/> <BoundingBox> <Center x="1.5" y="0.0" z="0.9"/> <Dimensions width="2" length="2" height="2"/> </BoundingBox> <Properties> <Property name="type" value="simulation"/> </Properties> </Pedestrian> </ScenarioObject> </Entities> <Storyboard> <Init> <Actions> <GlobalAction> <EnvironmentAction> <Environment name="Environment1"> <TimeOfDay animation="false" dateTime="2019-06-25T12:00:00"/> <Weather cloudState="free"> <Sun intensity="0.85" azimuth="0" elevation="1.31"/> <Fog visualRange="100000.0"/> <Precipitation precipitationType="dry" intensity="0.0"/> </Weather> <RoadCondition frictionScaleFactor="1.0"/> </Environment> </EnvironmentAction> </GlobalAction> <Private entityRef="hero"> <PrivateAction> <TeleportAction> <Position> <WorldPosition x="-9.4" y="-152.8" z="0.5" h="1.57079632679"/> </Position> </TeleportAction> </PrivateAction> <PrivateAction> <ControllerAction> <AssignControllerAction> <Controller name="HeroAgent"> <Properties> <Property name="module" value="external_control"/> </Properties> </Controller> </AssignControllerAction> <OverrideControllerValueAction> <Throttle value="0" active="false"/> <Brake value="0" active="false"/> <Clutch value="0" active="false"/> <ParkingBrake value="0" active="false"/> <SteeringWheel value="0" active="false"/> <Gear number="0" active="false"/> </OverrideControllerValueAction> </ControllerAction> </PrivateAction> </Private> <Private entityRef="adversary"> <PrivateAction> <TeleportAction> <Position> <WorldPosition x="-9.4" y="-71.0" z="0.5" h="1.57079632679"/> </Position> </TeleportAction> </PrivateAction> </Private> <Private entityRef="standing"> <PrivateAction> <TeleportAction> <Position> <WorldPosition x="-8.2" y="29.2" z="0.5" h="1.57079632679"/> </Position> </TeleportAction> </PrivateAction> </Private> <Private entityRef="pedestrian_close_to_hero_22353"> <PrivateAction> <TeleportAction> <Position> <WorldPosition x="-3.8308088779449463" y="-161.59059143066406" z="0.0014286803780123591"/> </Position> </TeleportAction> </PrivateAction> </Private> <Private entityRef="pedestrian_w_transform_22354"> <PrivateAction> <TeleportAction> <Position> <WorldPosition x="-88.91919708251953" y="-32.61262512207031" z="0.5"/> </Position> </TeleportAction> </PrivateAction> </Private> <Private entityRef="pedestrian_w_transform_22356"> <PrivateAction> <TeleportAction> <Position> <WorldPosition x="-83.21508026123047" y="96.07604217529297" z="0.5"/> </Position> </TeleportAction> </PrivateAction> </Private> <Private entityRef="pedestrian_close_to_adversary_22357"> <PrivateAction> <TeleportAction> <Position> <WorldPosition x="-4.431367874145508" y="-80.93157196044922" z="0.033789750188589096"/> </Position> </TeleportAction> </PrivateAction> </Private> </Actions> </Init> <Story name="MyStory"> <Act name="Behavior"> <ManeuverGroup maximumExecutionCount="1" name="ManeuverSequence"> <Actors selectTriggeringEntities="false"> <EntityRef entityRef="adversary"/> </Actors> <Maneuver name="LaneChangeSimpleManeuver"> <Event name="AdversaryAccelerates" priority="overwrite"> <Action name="AdversaryAccelerates"> <PrivateAction> <LongitudinalAction> <SpeedAction> <SpeedActionDynamics dynamicsShape="step" value="50" dynamicsDimension="distance"/> <SpeedActionTarget> <AbsoluteTargetSpeed value="5.0"/> </SpeedActionTarget> </SpeedAction> </LongitudinalAction> </PrivateAction> </Action> <StartTrigger> <ConditionGroup> <Condition name="StartCondition" delay="0" conditionEdge="rising"> <ByEntityCondition> <TriggeringEntities triggeringEntitiesRule="any"> <EntityRef entityRef="hero"/> </TriggeringEntities> <EntityCondition> <RelativeDistanceCondition entityRef="adversary" relativeDistanceType="cartesianDistance" value="40.0" freespace="false" rule="lessThan"/> </EntityCondition> </ByEntityCondition> </Condition> </ConditionGroup> </StartTrigger> </Event> <Event name="AdversaryChangesLane" priority="overwrite"> <Action name="AdversaryChangesLane"> <PrivateAction> <LateralAction> <LaneChangeAction> <LaneChangeActionDynamics dynamicsShape="linear" value="25" dynamicsDimension="distance"/> <LaneChangeTarget> <RelativeTargetLane entityRef="adversary" value="-1"/> </LaneChangeTarget> </LaneChangeAction> </LateralAction> </PrivateAction> </Action> <StartTrigger> <ConditionGroup> <Condition name="AfterAdversaryAccelerates" delay="0" conditionEdge="rising"> <ByValueCondition> <StoryboardElementStateCondition storyboardElementType="action" storyboardElementRef="AdversaryAccelerates" state="completeState"/> </ByValueCondition> </Condition> </ConditionGroup> </StartTrigger> </Event> </Maneuver> </ManeuverGroup> <StartTrigger> <ConditionGroup> <Condition name="OverallStartCondition" delay="0" conditionEdge="rising"> <ByEntityCondition> <TriggeringEntities triggeringEntitiesRule="any"> <EntityRef entityRef="hero"/> </TriggeringEntities> <EntityCondition> <TraveledDistanceCondition value="1.0"/> </EntityCondition> </ByEntityCondition> </Condition> <Condition name="StartTime" delay="0" conditionEdge="rising"> <ByValueCondition> <SimulationTimeCondition value="0" rule="equalTo"/> </ByValueCondition> </Condition> </ConditionGroup> </StartTrigger> <StopTrigger> <ConditionGroup> <Condition name="EndCondition" delay="0" conditionEdge="rising"> <ByEntityCondition> <TriggeringEntities triggeringEntitiesRule="any"> <EntityRef entityRef="hero"/> </TriggeringEntities> <EntityCondition> <TraveledDistanceCondition value="200.0"/> </EntityCondition> </ByEntityCondition> </Condition> </ConditionGroup> </StopTrigger> </Act> </Story> <StopTrigger> <ConditionGroup> <Condition name="criteria_RunningStopTest" delay="0" conditionEdge="rising"> <ByValueCondition> <ParameterCondition parameterRef="" value="" rule="lessThan"/> </ByValueCondition> </Condition> <Condition name="criteria_RunningRedLightTest" delay="0" conditionEdge="rising"> <ByValueCondition> <ParameterCondition parameterRef="" value="" rule="lessThan"/> </ByValueCondition> </Condition> <Condition name="criteria_WrongLaneTest" delay="0" conditionEdge="rising"> <ByValueCondition> <ParameterCondition parameterRef="" value="" rule="lessThan"/> </ByValueCondition> </Condition> <Condition name="criteria_OnSidewalkTest" delay="0" conditionEdge="rising"> <ByValueCondition> <ParameterCondition parameterRef="" value="" rule="lessThan"/> </ByValueCondition> </Condition> <Condition name="criteria_KeepLaneTest" delay="0" conditionEdge="rising"> <ByValueCondition> <ParameterCondition parameterRef="" value="" rule="lessThan"/> </ByValueCondition> </Condition> <Condition name="criteria_CollisionTest" delay="0" conditionEdge="rising"> <ByValueCondition> <ParameterCondition parameterRef="" value="" rule="lessThan"/> </ByValueCondition> </Condition> <Condition name="criteria_DrivenDistanceTest" delay="0" conditionEdge="rising"> <ByValueCondition> <ParameterCondition parameterRef="distance_success" value="100" rule="lessThan"/> </ByValueCondition> </Condition> </ConditionGroup> </StopTrigger> </Storyboard> </OpenSCENARIO> ```
Here is the result: ``` <?xml version="1.0" ?> <OpenSCENARIO> <FileHeader revMajor="1" revMinor="0" date="2020-03-24T12:00:00" description="CARLA:LaneChangeSimple" author=""/> <ParameterDeclarations/> <CatalogLocations/> <RoadNetwork> <LogicFile filepath="Town04"/> <SceneGraphFile filepath=""/> </RoadNetwork> <Entities> <ScenarioObject name="hero"> <Vehicle name="vehicle.tesla.model3" vehicleCategory="car"> <ParameterDeclarations/> <Performance maxSpeed="69.444" maxAcceleration="200" maxDeceleration="10.0"/> <BoundingBox> <Center x="1.5" y="0.0" z="0.9"/> <Dimensions width="2.1" length="4.5" height="1.8"/> </BoundingBox> <Axles> <FrontAxle maxSteering="0.5" wheelDiameter="0.6" trackWidth="1.8" positionX="3.1" positionZ="0.3"/> <RearAxle maxSteering="0.0" wheelDiameter="0.6" trackWidth="1.8" positionX="0.0" positionZ="0.3"/> </Axles> <Properties> <Property name="type" value="ego_vehicle"/> </Properties> </Vehicle> </ScenarioObject> <ScenarioObject name="adversary"> <Vehicle name="vehicle.lincoln.mkz_2017" vehicleCategory="car"> <ParameterDeclarations/> <Performance maxSpeed="69.444" maxAcceleration="200" maxDeceleration="10.0"/> <BoundingBox> <Center x="1.5" y="0.0" z="0.9"/> <Dimensions width="2.1" length="4.5" height="1.8"/> </BoundingBox> <Axles> <FrontAxle maxSteering="0.5" wheelDiameter="0.6" trackWidth="1.8" positionX="3.1" positionZ="0.3"/> <RearAxle maxSteering="0.0" wheelDiameter="0.6" trackWidth="1.8" positionX="0.0" positionZ="0.3"/> </Axles> <Properties> <Property name="type" value="simulation"/> </Properties> </Vehicle> </ScenarioObject> <ScenarioObject name="standing"> <Vehicle name="vehicle.volkswagen.t2" vehicleCategory="car"> <ParameterDeclarations/> <Performance maxSpeed="69.444" maxAcceleration="200" maxDeceleration="10.0"/> <BoundingBox> <Center x="1.5" y="0.0" z="0.9"/> <Dimensions width="2.1" length="4.5" height="1.8"/> </BoundingBox> <Axles> <FrontAxle maxSteering="0.5" wheelDiameter="0.6" trackWidth="1.8" positionX="3.1" positionZ="0.3"/> <RearAxle maxSteering="0.0" wheelDiameter="0.6" trackWidth="1.8" positionX="0.0" positionZ="0.3"/> </Axles> <Properties> <Property name="type" value="simulation"/> </Properties> </Vehicle> </ScenarioObject> <ScenarioObject name="pedestrian_close_to_hero_22353"> <Pedestrian model="walker.pedestrian.0001" mass="80" name="walker.pedestrian.0001" pedestrianCategory="pedestrian"> <ParameterDeclarations/> <BoundingBox> <Center x="1.5" y="0.0" z="0.9"/> <Dimensions width="2" length="2" height="2"/> </BoundingBox> <Properties> <Property name="type" value="simulation"/> </Properties> </Pedestrian> </ScenarioObject> <ScenarioObject name="pedestrian_w_transform_22354"> <Pedestrian model="walker.pedestrian.0001" mass="80" name="walker.pedestrian.0001" pedestrianCategory="pedestrian"> <ParameterDeclarations/> <BoundingBox> <Center x="1.5" y="0.0" z="0.9"/> <Dimensions width="2" length="2" height="2"/> </BoundingBox> <Properties> <Property name="type" value="simulation"/> </Properties> </Pedestrian> </ScenarioObject> <ScenarioObject name="pedestrian_w_transform_22356"> <Pedestrian model="walker.pedestrian.0001" mass="80" name="walker.pedestrian.0001" pedestrianCategory="pedestrian"> <ParameterDeclarations/> <BoundingBox> <Center x="1.5" y="0.0" z="0.9"/> <Dimensions width="2" length="2" height="2"/> </BoundingBox> <Properties> <Property name="type" value="simulation"/> </Properties> </Pedestrian> </ScenarioObject> <ScenarioObject name="pedestrian_close_to_adversary_22357"> <Pedestrian model="walker.pedestrian.0001" mass="80" name="walker.pedestrian.0001" pedestrianCategory="pedestrian"> <ParameterDeclarations/> <BoundingBox> <Center x="1.5" y="0.0" z="0.9"/> <Dimensions width="2" length="2" height="2"/> </BoundingBox> <Properties> <Property name="type" value="simulation"/> </Properties> </Pedestrian> </ScenarioObject> <ScenarioObject name="pedestrian_close_to_adversary_22358"> <Pedestrian model="walker.pedestrian.0001" mass="80" name="walker.pedestrian.0001" pedestrianCategory="pedestrian"> <ParameterDeclarations/> <BoundingBox> <Center x="1.5" y="0.0" z="0.9"/> <Dimensions width="2" length="2" height="2"/> </BoundingBox> <Properties> <Property name="type" value="simulation"/> </Properties> </Pedestrian> </ScenarioObject> </Entities> <Storyboard> <Init> <Actions> <GlobalAction> <EnvironmentAction> <Environment name="Environment1"> <TimeOfDay animation="false" dateTime="2019-06-25T12:00:00"/> <Weather cloudState="free"> <Sun intensity="0.85" azimuth="0" elevation="1.31"/> <Fog visualRange="100000.0"/> <Precipitation precipitationType="dry" intensity="0.0"/> </Weather> <RoadCondition frictionScaleFactor="1.0"/> </Environment> </EnvironmentAction> </GlobalAction> <Private entityRef="hero"> <PrivateAction> <TeleportAction> <Position> <WorldPosition x="-9.4" y="-152.8" z="0.5" h="1.57079632679"/> </Position> </TeleportAction> </PrivateAction> <PrivateAction> <ControllerAction> <AssignControllerAction> <Controller name="HeroAgent"> <Properties> <Property name="module" value="external_control"/> </Properties> </Controller> </AssignControllerAction> <OverrideControllerValueAction> <Throttle value="0" active="false"/> <Brake value="0" active="false"/> <Clutch value="0" active="false"/> <ParkingBrake value="0" active="false"/> <SteeringWheel value="0" active="false"/> <Gear number="0" active="false"/> </OverrideControllerValueAction> </ControllerAction> </PrivateAction> </Private> <Private entityRef="adversary"> <PrivateAction> <TeleportAction> <Position> <WorldPosition x="-9.4" y="-71.0" z="0.5" h="1.57079632679"/> </Position> </TeleportAction> </PrivateAction> </Private> <Private entityRef="standing"> <PrivateAction> <TeleportAction> <Position> <WorldPosition x="-8.2" y="29.2" z="0.5" h="1.57079632679"/> </Position> </TeleportAction> </PrivateAction> </Private> <Private entityRef="pedestrian_close_to_hero_22353"> <PrivateAction> <TeleportAction> <Position> <WorldPosition x="-3.8308088779449463" y="-161.59059143066406" z="0.0014286803780123591"/> </Position> </TeleportAction> </PrivateAction> </Private> <Private entityRef="pedestrian_w_transform_22354"> <PrivateAction> <TeleportAction> <Position> <WorldPosition x="-88.91919708251953" y="-32.61262512207031" z="0.5"/> </Position> </TeleportAction> </PrivateAction> </Private> <Private entityRef="pedestrian_w_transform_22356"> <PrivateAction> <TeleportAction> <Position> <WorldPosition x="-83.21508026123047" y="96.07604217529297" z="0.5"/> </Position> </TeleportAction> </PrivateAction> </Private> <Private entityRef="pedestrian_close_to_adversary_22357"> <PrivateAction> <TeleportAction> <Position> <WorldPosition x="-4.431367874145508" y="-80.93157196044922" z="0.033789750188589096"/> </Position> </TeleportAction> </PrivateAction> </Private> <Private entityRef="pedestrian_close_to_adversary_22358"> <PrivateAction> <TeleportAction> <Position> <WorldPosition x="-5.154729843139648" y="-77.54496765136719" z="0.03379371389746666"/> </Position> </TeleportAction> </PrivateAction> </Private> </Actions> </Init> <Story name="MyStory"> <Act name="Behavior"> <ManeuverGroup maximumExecutionCount="1" name="ManeuverSequence"> <Actors selectTriggeringEntities="false"> <EntityRef entityRef="adversary"/> </Actors> <Maneuver name="LaneChangeSimpleManeuver"> <Event name="AdversaryAccelerates" priority="overwrite"> <Action name="AdversaryAccelerates"> <PrivateAction> <LongitudinalAction> <SpeedAction> <SpeedActionDynamics dynamicsShape="step" value="50" dynamicsDimension="distance"/> <SpeedActionTarget> <AbsoluteTargetSpeed value="5.0"/> </SpeedActionTarget> </SpeedAction> </LongitudinalAction> </PrivateAction> </Action> <StartTrigger> <ConditionGroup> <Condition name="StartCondition" delay="0" conditionEdge="rising"> <ByEntityCondition> <TriggeringEntities triggeringEntitiesRule="any"> <EntityRef entityRef="hero"/> </TriggeringEntities> <EntityCondition> <RelativeDistanceCondition entityRef="adversary" relativeDistanceType="cartesianDistance" value="40.0" freespace="false" rule="lessThan"/> </EntityCondition> </ByEntityCondition> </Condition> </ConditionGroup> </StartTrigger> </Event> <Event name="AdversaryChangesLane" priority="overwrite"> <Action name="AdversaryChangesLane"> <PrivateAction> <LateralAction> <LaneChangeAction> <LaneChangeActionDynamics dynamicsShape="linear" value="25" dynamicsDimension="distance"/> <LaneChangeTarget> <RelativeTargetLane entityRef="adversary" value="-1"/> </LaneChangeTarget> </LaneChangeAction> </LateralAction> </PrivateAction> </Action> <StartTrigger> <ConditionGroup> <Condition name="AfterAdversaryAccelerates" delay="0" conditionEdge="rising"> <ByValueCondition> <StoryboardElementStateCondition storyboardElementType="action" storyboardElementRef="AdversaryAccelerates" state="completeState"/> </ByValueCondition> </Condition> </ConditionGroup> </StartTrigger> </Event> </Maneuver> </ManeuverGroup> <StartTrigger> <ConditionGroup> <Condition name="OverallStartCondition" delay="0" conditionEdge="rising"> <ByEntityCondition> <TriggeringEntities triggeringEntitiesRule="any"> <EntityRef entityRef="hero"/> </TriggeringEntities> <EntityCondition> <TraveledDistanceCondition value="1.0"/> </EntityCondition> </ByEntityCondition> </Condition> <Condition name="StartTime" delay="0" conditionEdge="rising"> <ByValueCondition> <SimulationTimeCondition value="0" rule="equalTo"/> </ByValueCondition> </Condition> </ConditionGroup> </StartTrigger> <StopTrigger> <ConditionGroup> <Condition name="EndCondition" delay="0" conditionEdge="rising"> <ByEntityCondition> <TriggeringEntities triggeringEntitiesRule="any"> <EntityRef entityRef="hero"/> </TriggeringEntities> <EntityCondition> <TraveledDistanceCondition value="200.0"/> </EntityCondition> </ByEntityCondition> </Condition> </ConditionGroup> </StopTrigger> </Act> </Story> <StopTrigger> <ConditionGroup> <Condition name="criteria_RunningStopTest" delay="0" conditionEdge="rising"> <ByValueCondition> <ParameterCondition parameterRef="" value="" rule="lessThan"/> </ByValueCondition> </Condition> <Condition name="criteria_RunningRedLightTest" delay="0" conditionEdge="rising"> <ByValueCondition> <ParameterCondition parameterRef="" value="" rule="lessThan"/> </ByValueCondition> </Condition> <Condition name="criteria_WrongLaneTest" delay="0" conditionEdge="rising"> <ByValueCondition> <ParameterCondition parameterRef="" value="" rule="lessThan"/> </ByValueCondition> </Condition> <Condition name="criteria_OnSidewalkTest" delay="0" conditionEdge="rising"> <ByValueCondition> <ParameterCondition parameterRef="" value="" rule="lessThan"/> </ByValueCondition> </Condition> <Condition name="criteria_KeepLaneTest" delay="0" conditionEdge="rising"> <ByValueCondition> <ParameterCondition parameterRef="" value="" rule="lessThan"/> </ByValueCondition> </Condition> <Condition name="criteria_CollisionTest" delay="0" conditionEdge="rising"> <ByValueCondition> <ParameterCondition parameterRef="" value="" rule="lessThan"/> </ByValueCondition> </Condition> <Condition name="criteria_DrivenDistanceTest" delay="0" conditionEdge="rising"> <ByValueCondition> <ParameterCondition parameterRef="distance_success" value="100" rule="lessThan"/> </ByValueCondition> </Condition> </ConditionGroup> </StopTrigger> </Storyboard> </OpenSCENARIO> ```
i want you to add pedestrian at location (9.21, -40.0, 0.5)? ``` <?xml version="1.0" ?> <OpenSCENARIO> <FileHeader revMajor="1" revMinor="0" date="2020-03-24T12:00:00" description="CARLA:LaneChangeSimple" author=""/> <ParameterDeclarations/> <CatalogLocations/> <RoadNetwork> <LogicFile filepath="Town04"/> <SceneGraphFile filepath=""/> </RoadNetwork> <Entities> <ScenarioObject name="hero"> <Vehicle name="vehicle.tesla.model3" vehicleCategory="car"> <ParameterDeclarations/> <Performance maxSpeed="69.444" maxAcceleration="200" maxDeceleration="10.0"/> <BoundingBox> <Center x="1.5" y="0.0" z="0.9"/> <Dimensions width="2.1" length="4.5" height="1.8"/> </BoundingBox> <Axles> <FrontAxle maxSteering="0.5" wheelDiameter="0.6" trackWidth="1.8" positionX="3.1" positionZ="0.3"/> <RearAxle maxSteering="0.0" wheelDiameter="0.6" trackWidth="1.8" positionX="0.0" positionZ="0.3"/> </Axles> <Properties> <Property name="type" value="ego_vehicle"/> </Properties> </Vehicle> </ScenarioObject> <ScenarioObject name="adversary"> <Vehicle name="vehicle.lincoln.mkz_2017" vehicleCategory="car"> <ParameterDeclarations/> <Performance maxSpeed="69.444" maxAcceleration="200" maxDeceleration="10.0"/> <BoundingBox> <Center x="1.5" y="0.0" z="0.9"/> <Dimensions width="2.1" length="4.5" height="1.8"/> </BoundingBox> <Axles> <FrontAxle maxSteering="0.5" wheelDiameter="0.6" trackWidth="1.8" positionX="3.1" positionZ="0.3"/> <RearAxle maxSteering="0.0" wheelDiameter="0.6" trackWidth="1.8" positionX="0.0" positionZ="0.3"/> </Axles> <Properties> <Property name="type" value="simulation"/> </Properties> </Vehicle> </ScenarioObject> <ScenarioObject name="standing"> <Vehicle name="vehicle.volkswagen.t2" vehicleCategory="car"> <ParameterDeclarations/> <Performance maxSpeed="69.444" maxAcceleration="200" maxDeceleration="10.0"/> <BoundingBox> <Center x="1.5" y="0.0" z="0.9"/> <Dimensions width="2.1" length="4.5" height="1.8"/> </BoundingBox> <Axles> <FrontAxle maxSteering="0.5" wheelDiameter="0.6" trackWidth="1.8" positionX="3.1" positionZ="0.3"/> <RearAxle maxSteering="0.0" wheelDiameter="0.6" trackWidth="1.8" positionX="0.0" positionZ="0.3"/> </Axles> <Properties> <Property name="type" value="simulation"/> </Properties> </Vehicle> </ScenarioObject> <ScenarioObject name="pedestrian_close_to_hero_14410"> <Pedestrian model="walker.pedestrian.0001" mass="80" name="walker.pedestrian.0001" pedestrianCategory="pedestrian"> <ParameterDeclarations/> <BoundingBox> <Center x="1.5" y="0.0" z="0.9"/> <Dimensions width="2" length="2" height="2"/> </BoundingBox> <Properties> <Property name="type" value="simulation"/> </Properties> </Pedestrian> </ScenarioObject> <ScenarioObject name="pedestrian_w_transform_14411"> <Pedestrian model="walker.pedestrian.0001" mass="80" name="walker.pedestrian.0001" pedestrianCategory="pedestrian"> <ParameterDeclarations/> <BoundingBox> <Center x="1.5" y="0.0" z="0.9"/> <Dimensions width="2" length="2" height="2"/> </BoundingBox> <Properties> <Property name="type" value="simulation"/> </Properties> </Pedestrian> </ScenarioObject> <ScenarioObject name="pedestrian_close_to_standing_14412"> <Pedestrian model="walker.pedestrian.0001" mass="80" name="walker.pedestrian.0001" pedestrianCategory="pedestrian"> <ParameterDeclarations/> <BoundingBox> <Center x="1.5" y="0.0" z="0.9"/> <Dimensions width="2" length="2" height="2"/> </BoundingBox> <Properties> <Property name="type" value="simulation"/> </Properties> </Pedestrian> </ScenarioObject> <ScenarioObject name="pedestrian_close_to_adversary_14413"> <Pedestrian model="walker.pedestrian.0001" mass="80" name="walker.pedestrian.0001" pedestrianCategory="pedestrian"> <ParameterDeclarations/> <BoundingBox> <Center x="1.5" y="0.0" z="0.9"/> <Dimensions width="2" length="2" height="2"/> </BoundingBox> <Properties> <Property name="type" value="simulation"/> </Properties> </Pedestrian> </ScenarioObject> <ScenarioObject name="pedestrian_close_to_hero_14414"> <Pedestrian model="walker.pedestrian.0001" mass="80" name="walker.pedestrian.0001" pedestrianCategory="pedestrian"> <ParameterDeclarations/> <BoundingBox> <Center x="1.5" y="0.0" z="0.9"/> <Dimensions width="2" length="2" height="2"/> </BoundingBox> <Properties> <Property name="type" value="simulation"/> </Properties> </Pedestrian> </ScenarioObject> <ScenarioObject name="pedestrian_close_to_standing_14415"> <Pedestrian model="walker.pedestrian.0001" mass="80" name="walker.pedestrian.0001" pedestrianCategory="pedestrian"> <ParameterDeclarations/> <BoundingBox> <Center x="1.5" y="0.0" z="0.9"/> <Dimensions width="2" length="2" height="2"/> </BoundingBox> <Properties> <Property name="type" value="simulation"/> </Properties> </Pedestrian> </ScenarioObject> <ScenarioObject name="pedestrian_close_to_adversary_14416"> <Pedestrian model="walker.pedestrian.0001" mass="80" name="walker.pedestrian.0001" pedestrianCategory="pedestrian"> <ParameterDeclarations/> <BoundingBox> <Center x="1.5" y="0.0" z="0.9"/> <Dimensions width="2" length="2" height="2"/> </BoundingBox> <Properties> <Property name="type" value="simulation"/> </Properties> </Pedestrian> </ScenarioObject> <ScenarioObject name="pedestrian_close_to_hero_14417"> <Pedestrian model="walker.pedestrian.0001" mass="80" name="walker.pedestrian.0001" pedestrianCategory="pedestrian"> <ParameterDeclarations/> <BoundingBox> <Center x="1.5" y="0.0" z="0.9"/> <Dimensions width="2" length="2" height="2"/> </BoundingBox> <Properties> <Property name="type" value="simulation"/> </Properties> </Pedestrian> </ScenarioObject> <ScenarioObject name="pedestrian_close_to_hero_14418"> <Pedestrian model="walker.pedestrian.0001" mass="80" name="walker.pedestrian.0001" pedestrianCategory="pedestrian"> <ParameterDeclarations/> <BoundingBox> <Center x="1.5" y="0.0" z="0.9"/> <Dimensions width="2" length="2" height="2"/> </BoundingBox> <Properties> <Property name="type" value="simulation"/> </Properties> </Pedestrian> </ScenarioObject> <ScenarioObject name="pedestrian_close_to_adversary_14419"> <Pedestrian model="walker.pedestrian.0001" mass="80" name="walker.pedestrian.0001" pedestrianCategory="pedestrian"> <ParameterDeclarations/> <BoundingBox> <Center x="1.5" y="0.0" z="0.9"/> <Dimensions width="2" length="2" height="2"/> </BoundingBox> <Properties> <Property name="type" value="simulation"/> </Properties> </Pedestrian> </ScenarioObject> <ScenarioObject name="pedestrian_close_to_standing_14420"> <Pedestrian model="walker.pedestrian.0001" mass="80" name="walker.pedestrian.0001" pedestrianCategory="pedestrian"> <ParameterDeclarations/> <BoundingBox> <Center x="1.5" y="0.0" z="0.9"/> <Dimensions width="2" length="2" height="2"/> </BoundingBox> <Properties> <Property name="type" value="simulation"/> </Properties> </Pedestrian> </ScenarioObject> <ScenarioObject name="pedestrian_close_to_standing_14421"> <Pedestrian model="walker.pedestrian.0001" mass="80" name="walker.pedestrian.0001" pedestrianCategory="pedestrian"> <ParameterDeclarations/> <BoundingBox> <Center x="1.5" y="0.0" z="0.9"/> <Dimensions width="2" length="2" height="2"/> </BoundingBox> <Properties> <Property name="type" value="simulation"/> </Properties> </Pedestrian> </ScenarioObject> <ScenarioObject name="pedestrian_w_transform_14422"> <Pedestrian model="walker.pedestrian.0001" mass="80" name="walker.pedestrian.0001" pedestrianCategory="pedestrian"> <ParameterDeclarations/> <BoundingBox> <Center x="1.5" y="0.0" z="0.9"/> <Dimensions width="2" length="2" height="2"/> </BoundingBox> <Properties> <Property name="type" value="simulation"/> </Properties> </Pedestrian> </ScenarioObject> <ScenarioObject name="pedestrian_close_to_hero_14423"> <Pedestrian model="walker.pedestrian.0001" mass="80" name="walker.pedestrian.0001" pedestrianCategory="pedestrian"> <ParameterDeclarations/> <BoundingBox> <Center x="1.5" y="0.0" z="0.9"/> <Dimensions width="2" length="2" height="2"/> </BoundingBox> <Properties> <Property name="type" value="simulation"/> </Properties> </Pedestrian> </ScenarioObject> <ScenarioObject name="pedestrian_close_to_standing_14424"> <Pedestrian model="walker.pedestrian.0001" mass="80" name="walker.pedestrian.0001" pedestrianCategory="pedestrian"> <ParameterDeclarations/> <BoundingBox> <Center x="1.5" y="0.0" z="0.9"/> <Dimensions width="2" length="2" height="2"/> </BoundingBox> <Properties> <Property name="type" value="simulation"/> </Properties> </Pedestrian> </ScenarioObject> <ScenarioObject name="pedestrian_w_transform_14425"> <Pedestrian model="walker.pedestrian.0001" mass="80" name="walker.pedestrian.0001" pedestrianCategory="pedestrian"> <ParameterDeclarations/> <BoundingBox> <Center x="1.5" y="0.0" z="0.9"/> <Dimensions width="2" length="2" height="2"/> </BoundingBox> <Properties> <Property name="type" value="simulation"/> </Properties> </Pedestrian> </ScenarioObject> <ScenarioObject name="pedestrian_w_transform_14426"> <Pedestrian model="walker.pedestrian.0001" mass="80" name="walker.pedestrian.0001" pedestrianCategory="pedestrian"> <ParameterDeclarations/> <BoundingBox> <Center x="1.5" y="0.0" z="0.9"/> <Dimensions width="2" length="2" height="2"/> </BoundingBox> <Properties> <Property name="type" value="simulation"/> </Properties> </Pedestrian> </ScenarioObject> <ScenarioObject name="pedestrian_close_to_adversary_14427"> <Pedestrian model="walker.pedestrian.0001" mass="80" name="walker.pedestrian.0001" pedestrianCategory="pedestrian"> <ParameterDeclarations/> <BoundingBox> <Center x="1.5" y="0.0" z="0.9"/> <Dimensions width="2" length="2" height="2"/> </BoundingBox> <Properties> <Property name="type" value="simulation"/> </Properties> </Pedestrian> </ScenarioObject> </Entities> <Storyboard> <Init> <Actions> <GlobalAction> <EnvironmentAction> <Environment name="Environment1"> <TimeOfDay animation="false" dateTime="2019-06-25T12:00:00"/> <Weather cloudState="free"> <Sun intensity="0.85" azimuth="0" elevation="1.31"/> <Fog visualRange="100000.0"/> <Precipitation precipitationType="dry" intensity="0.0"/> </Weather> <RoadCondition frictionScaleFactor="1.0"/> </Environment> </EnvironmentAction> </GlobalAction> <Private entityRef="hero"> <PrivateAction> <TeleportAction> <Position> <WorldPosition x="-9.4" y="-152.8" z="0.5" h="1.57079632679"/> </Position> </TeleportAction> </PrivateAction> <PrivateAction> <ControllerAction> <AssignControllerAction> <Controller name="HeroAgent"> <Properties> <Property name="module" value="external_control"/> </Properties> </Controller> </AssignControllerAction> <OverrideControllerValueAction> <Throttle value="0" active="false"/> <Brake value="0" active="false"/> <Clutch value="0" active="false"/> <ParkingBrake value="0" active="false"/> <SteeringWheel value="0" active="false"/> <Gear number="0" active="false"/> </OverrideControllerValueAction> </ControllerAction> </PrivateAction> </Private> <Private entityRef="adversary"> <PrivateAction> <TeleportAction> <Position> <WorldPosition x="-9.4" y="-71.0" z="0.5" h="1.57079632679"/> </Position> </TeleportAction> </PrivateAction> </Private> <Private entityRef="standing"> <PrivateAction> <TeleportAction> <Position> <WorldPosition x="-8.2" y="29.2" z="0.5" h="1.57079632679"/> </Position> </TeleportAction> </PrivateAction> </Private> <Private entityRef="pedestrian_close_to_hero_14410"> <PrivateAction> <TeleportAction> <Position> <WorldPosition x="-9.929585456848145" y="-155.0712127685547" z="0.0014286803780123591"/> </Position> </TeleportAction> </PrivateAction> </Private> <Private entityRef="pedestrian_w_transform_14411"> <PrivateAction> <TeleportAction> <Position> <WorldPosition x="37.7911262512207" y="90.5811996459961" z="0.5"/> </Position> </TeleportAction> </PrivateAction> </Private> <Private entityRef="pedestrian_close_to_standing_14412"> <PrivateAction> <TeleportAction> <Position> <WorldPosition x="-13.493317604064941" y="36.603519439697266" z="0.003015441820025444"/> </Position> </TeleportAction> </PrivateAction> </Private> <Private entityRef="pedestrian_close_to_adversary_14413"> <PrivateAction> <TeleportAction> <Position> <WorldPosition x="-17.585514068603516" y="-78.9810562133789" z="0.03379634767770767"/> </Position> </TeleportAction> </PrivateAction> </Private> <Private entityRef="pedestrian_close_to_hero_14414"> <PrivateAction> <TeleportAction> <Position> <WorldPosition x="-1.6567223072052002" y="-143.5908966064453" z="0.0014286803780123591"/> </Position> </TeleportAction> </PrivateAction> </Private> <Private entityRef="pedestrian_close_to_standing_14415"> <PrivateAction> <TeleportAction> <Position> <WorldPosition x="-14.405670166015625" y="28.103330612182617" z="0.0030877303797751665"/> </Position> </TeleportAction> </PrivateAction> </Private> <Private entityRef="pedestrian_close_to_adversary_14416"> <PrivateAction> <TeleportAction> <Position> <WorldPosition x="-14.034368515014648" y="-79.12865447998047" z="0.03379024565219879"/> </Position> </TeleportAction> </PrivateAction> </Private> <Private entityRef="pedestrian_close_to_hero_14417"> <PrivateAction> <TeleportAction> <Position> <WorldPosition x="-8.174361228942871" y="-158.0565185546875" z="0.0014286803780123591"/> </Position> </TeleportAction> </PrivateAction> </Private> <Private entityRef="pedestrian_close_to_hero_14418"> <PrivateAction> <TeleportAction> <Position> <WorldPosition x="-12.34603500366211" y="-156.1090850830078" z="0.0014286803780123591"/> </Position> </TeleportAction> </PrivateAction> </Private> <Private entityRef="pedestrian_close_to_adversary_14419"> <PrivateAction> <TeleportAction> <Position> <WorldPosition x="-3.4735240936279297" y="-61.297298431396484" z="0.0338328555226326"/> </Position> </TeleportAction> </PrivateAction> </Private> <Private entityRef="pedestrian_close_to_standing_14420"> <PrivateAction> <TeleportAction> <Position> <WorldPosition x="-9.162835121154785" y="25.037532806396484" z="0.0030564498156309128"/> </Position> </TeleportAction> </PrivateAction> </Private> <Private entityRef="pedestrian_close_to_standing_14421"> <PrivateAction> <TeleportAction> <Position> <WorldPosition x="-13.637338638305664" y="25.306760787963867" z="0.003073577769100666"/> </Position> </TeleportAction> </PrivateAction> </Private> <Private entityRef="pedestrian_w_transform_14422"> <PrivateAction> <TeleportAction> <Position> <WorldPosition x="-93.9078140258789" y="23.987428665161133" z="0.5"/> </Position> </TeleportAction> </PrivateAction> </Private> <Private entityRef="pedestrian_close_to_hero_14423"> <PrivateAction> <TeleportAction> <Position> <WorldPosition x="-3.340691566467285" y="-137.60980224609375" z="0.0014286803780123591"/> </Position> </TeleportAction> </PrivateAction> </Private> <Private entityRef="pedestrian_close_to_standing_14424"> <PrivateAction> <TeleportAction> <Position> <WorldPosition x="-6.292234897613525" y="24.313209533691406" z="0.0030358503572642803"/> </Position> </TeleportAction> </PrivateAction> </Private> <Private entityRef="pedestrian_w_transform_14425"> <PrivateAction> <TeleportAction> <Position> <WorldPosition x="72.58164978027344" y="-14.434184074401855" z="0.5"/> </Position> </TeleportAction> </PrivateAction> </Private> <Private entityRef="pedestrian_w_transform_14426"> <PrivateAction> <TeleportAction> <Position> <WorldPosition x="-4.358885765075684" y="-47.32848358154297" z="0.5"/> </Position> </TeleportAction> </PrivateAction> </Private> <Private entityRef="pedestrian_close_to_adversary_14427"> <PrivateAction> <TeleportAction> <Position> <WorldPosition x="-14.12333869934082" y="-64.11931610107422" z="0.03372318297624588"/> </Position> </TeleportAction> </PrivateAction> </Private> </Actions> </Init> <Story name="MyStory"> <Act name="Behavior"> <ManeuverGroup maximumExecutionCount="1" name="ManeuverSequence"> <Actors selectTriggeringEntities="false"> <EntityRef entityRef="adversary"/> </Actors> <Maneuver name="LaneChangeSimpleManeuver"> <Event name="AdversaryAccelerates" priority="overwrite"> <Action name="AdversaryAccelerates"> <PrivateAction> <LongitudinalAction> <SpeedAction> <SpeedActionDynamics dynamicsShape="step" value="50" dynamicsDimension="distance"/> <SpeedActionTarget> <AbsoluteTargetSpeed value="5.0"/> </SpeedActionTarget> </SpeedAction> </LongitudinalAction> </PrivateAction> </Action> <StartTrigger> <ConditionGroup> <Condition name="StartCondition" delay="0" conditionEdge="rising"> <ByEntityCondition> <TriggeringEntities triggeringEntitiesRule="any"> <EntityRef entityRef="hero"/> </TriggeringEntities> <EntityCondition> <RelativeDistanceCondition entityRef="adversary" relativeDistanceType="cartesianDistance" value="40.0" freespace="false" rule="lessThan"/> </EntityCondition> </ByEntityCondition> </Condition> </ConditionGroup> </StartTrigger> </Event> <Event name="AdversaryChangesLane" priority="overwrite"> <Action name="AdversaryChangesLane"> <PrivateAction> <LateralAction> <LaneChangeAction> <LaneChangeActionDynamics dynamicsShape="linear" value="25" dynamicsDimension="distance"/> <LaneChangeTarget> <RelativeTargetLane entityRef="adversary" value="-1"/> </LaneChangeTarget> </LaneChangeAction> </LateralAction> </PrivateAction> </Action> <StartTrigger> <ConditionGroup> <Condition name="AfterAdversaryAccelerates" delay="0" conditionEdge="rising"> <ByValueCondition> <StoryboardElementStateCondition storyboardElementType="action" storyboardElementRef="AdversaryAccelerates" state="completeState"/> </ByValueCondition> </Condition> </ConditionGroup> </StartTrigger> </Event> </Maneuver> </ManeuverGroup> <StartTrigger> <ConditionGroup> <Condition name="OverallStartCondition" delay="0" conditionEdge="rising"> <ByEntityCondition> <TriggeringEntities triggeringEntitiesRule="any"> <EntityRef entityRef="hero"/> </TriggeringEntities> <EntityCondition> <TraveledDistanceCondition value="1.0"/> </EntityCondition> </ByEntityCondition> </Condition> <Condition name="StartTime" delay="0" conditionEdge="rising"> <ByValueCondition> <SimulationTimeCondition value="0" rule="equalTo"/> </ByValueCondition> </Condition> </ConditionGroup> </StartTrigger> <StopTrigger> <ConditionGroup> <Condition name="EndCondition" delay="0" conditionEdge="rising"> <ByEntityCondition> <TriggeringEntities triggeringEntitiesRule="any"> <EntityRef entityRef="hero"/> </TriggeringEntities> <EntityCondition> <TraveledDistanceCondition value="200.0"/> </EntityCondition> </ByEntityCondition> </Condition> </ConditionGroup> </StopTrigger> </Act> </Story> <StopTrigger> <ConditionGroup> <Condition name="criteria_RunningStopTest" delay="0" conditionEdge="rising"> <ByValueCondition> <ParameterCondition parameterRef="" value="" rule="lessThan"/> </ByValueCondition> </Condition> <Condition name="criteria_RunningRedLightTest" delay="0" conditionEdge="rising"> <ByValueCondition> <ParameterCondition parameterRef="" value="" rule="lessThan"/> </ByValueCondition> </Condition> <Condition name="criteria_WrongLaneTest" delay="0" conditionEdge="rising"> <ByValueCondition> <ParameterCondition parameterRef="" value="" rule="lessThan"/> </ByValueCondition> </Condition> <Condition name="criteria_OnSidewalkTest" delay="0" conditionEdge="rising"> <ByValueCondition> <ParameterCondition parameterRef="" value="" rule="lessThan"/> </ByValueCondition> </Condition> <Condition name="criteria_KeepLaneTest" delay="0" conditionEdge="rising"> <ByValueCondition> <ParameterCondition parameterRef="" value="" rule="lessThan"/> </ByValueCondition> </Condition> <Condition name="criteria_CollisionTest" delay="0" conditionEdge="rising"> <ByValueCondition> <ParameterCondition parameterRef="" value="" rule="lessThan"/> </ByValueCondition> </Condition> <Condition name="criteria_DrivenDistanceTest" delay="0" conditionEdge="rising"> <ByValueCondition> <ParameterCondition parameterRef="distance_success" value="100" rule="lessThan"/> </ByValueCondition> </Condition> </ConditionGroup> </StopTrigger> </Storyboard> </OpenSCENARIO> ```
Here is the result: ``` <?xml version="1.0" ?> <OpenSCENARIO> <FileHeader revMajor="1" revMinor="0" date="2020-03-24T12:00:00" description="CARLA:LaneChangeSimple" author=""/> <ParameterDeclarations/> <CatalogLocations/> <RoadNetwork> <LogicFile filepath="Town04"/> <SceneGraphFile filepath=""/> </RoadNetwork> <Entities> <ScenarioObject name="hero"> <Vehicle name="vehicle.tesla.model3" vehicleCategory="car"> <ParameterDeclarations/> <Performance maxSpeed="69.444" maxAcceleration="200" maxDeceleration="10.0"/> <BoundingBox> <Center x="1.5" y="0.0" z="0.9"/> <Dimensions width="2.1" length="4.5" height="1.8"/> </BoundingBox> <Axles> <FrontAxle maxSteering="0.5" wheelDiameter="0.6" trackWidth="1.8" positionX="3.1" positionZ="0.3"/> <RearAxle maxSteering="0.0" wheelDiameter="0.6" trackWidth="1.8" positionX="0.0" positionZ="0.3"/> </Axles> <Properties> <Property name="type" value="ego_vehicle"/> </Properties> </Vehicle> </ScenarioObject> <ScenarioObject name="adversary"> <Vehicle name="vehicle.lincoln.mkz_2017" vehicleCategory="car"> <ParameterDeclarations/> <Performance maxSpeed="69.444" maxAcceleration="200" maxDeceleration="10.0"/> <BoundingBox> <Center x="1.5" y="0.0" z="0.9"/> <Dimensions width="2.1" length="4.5" height="1.8"/> </BoundingBox> <Axles> <FrontAxle maxSteering="0.5" wheelDiameter="0.6" trackWidth="1.8" positionX="3.1" positionZ="0.3"/> <RearAxle maxSteering="0.0" wheelDiameter="0.6" trackWidth="1.8" positionX="0.0" positionZ="0.3"/> </Axles> <Properties> <Property name="type" value="simulation"/> </Properties> </Vehicle> </ScenarioObject> <ScenarioObject name="standing"> <Vehicle name="vehicle.volkswagen.t2" vehicleCategory="car"> <ParameterDeclarations/> <Performance maxSpeed="69.444" maxAcceleration="200" maxDeceleration="10.0"/> <BoundingBox> <Center x="1.5" y="0.0" z="0.9"/> <Dimensions width="2.1" length="4.5" height="1.8"/> </BoundingBox> <Axles> <FrontAxle maxSteering="0.5" wheelDiameter="0.6" trackWidth="1.8" positionX="3.1" positionZ="0.3"/> <RearAxle maxSteering="0.0" wheelDiameter="0.6" trackWidth="1.8" positionX="0.0" positionZ="0.3"/> </Axles> <Properties> <Property name="type" value="simulation"/> </Properties> </Vehicle> </ScenarioObject> <ScenarioObject name="pedestrian_close_to_hero_14410"> <Pedestrian model="walker.pedestrian.0001" mass="80" name="walker.pedestrian.0001" pedestrianCategory="pedestrian"> <ParameterDeclarations/> <BoundingBox> <Center x="1.5" y="0.0" z="0.9"/> <Dimensions width="2" length="2" height="2"/> </BoundingBox> <Properties> <Property name="type" value="simulation"/> </Properties> </Pedestrian> </ScenarioObject> <ScenarioObject name="pedestrian_w_transform_14411"> <Pedestrian model="walker.pedestrian.0001" mass="80" name="walker.pedestrian.0001" pedestrianCategory="pedestrian"> <ParameterDeclarations/> <BoundingBox> <Center x="1.5" y="0.0" z="0.9"/> <Dimensions width="2" length="2" height="2"/> </BoundingBox> <Properties> <Property name="type" value="simulation"/> </Properties> </Pedestrian> </ScenarioObject> <ScenarioObject name="pedestrian_close_to_standing_14412"> <Pedestrian model="walker.pedestrian.0001" mass="80" name="walker.pedestrian.0001" pedestrianCategory="pedestrian"> <ParameterDeclarations/> <BoundingBox> <Center x="1.5" y="0.0" z="0.9"/> <Dimensions width="2" length="2" height="2"/> </BoundingBox> <Properties> <Property name="type" value="simulation"/> </Properties> </Pedestrian> </ScenarioObject> <ScenarioObject name="pedestrian_close_to_adversary_14413"> <Pedestrian model="walker.pedestrian.0001" mass="80" name="walker.pedestrian.0001" pedestrianCategory="pedestrian"> <ParameterDeclarations/> <BoundingBox> <Center x="1.5" y="0.0" z="0.9"/> <Dimensions width="2" length="2" height="2"/> </BoundingBox> <Properties> <Property name="type" value="simulation"/> </Properties> </Pedestrian> </ScenarioObject> <ScenarioObject name="pedestrian_close_to_hero_14414"> <Pedestrian model="walker.pedestrian.0001" mass="80" name="walker.pedestrian.0001" pedestrianCategory="pedestrian"> <ParameterDeclarations/> <BoundingBox> <Center x="1.5" y="0.0" z="0.9"/> <Dimensions width="2" length="2" height="2"/> </BoundingBox> <Properties> <Property name="type" value="simulation"/> </Properties> </Pedestrian> </ScenarioObject> <ScenarioObject name="pedestrian_close_to_standing_14415"> <Pedestrian model="walker.pedestrian.0001" mass="80" name="walker.pedestrian.0001" pedestrianCategory="pedestrian"> <ParameterDeclarations/> <BoundingBox> <Center x="1.5" y="0.0" z="0.9"/> <Dimensions width="2" length="2" height="2"/> </BoundingBox> <Properties> <Property name="type" value="simulation"/> </Properties> </Pedestrian> </ScenarioObject> <ScenarioObject name="pedestrian_close_to_adversary_14416"> <Pedestrian model="walker.pedestrian.0001" mass="80" name="walker.pedestrian.0001" pedestrianCategory="pedestrian"> <ParameterDeclarations/> <BoundingBox> <Center x="1.5" y="0.0" z="0.9"/> <Dimensions width="2" length="2" height="2"/> </BoundingBox> <Properties> <Property name="type" value="simulation"/> </Properties> </Pedestrian> </ScenarioObject> <ScenarioObject name="pedestrian_close_to_hero_14417"> <Pedestrian model="walker.pedestrian.0001" mass="80" name="walker.pedestrian.0001" pedestrianCategory="pedestrian"> <ParameterDeclarations/> <BoundingBox> <Center x="1.5" y="0.0" z="0.9"/> <Dimensions width="2" length="2" height="2"/> </BoundingBox> <Properties> <Property name="type" value="simulation"/> </Properties> </Pedestrian> </ScenarioObject> <ScenarioObject name="pedestrian_close_to_hero_14418"> <Pedestrian model="walker.pedestrian.0001" mass="80" name="walker.pedestrian.0001" pedestrianCategory="pedestrian"> <ParameterDeclarations/> <BoundingBox> <Center x="1.5" y="0.0" z="0.9"/> <Dimensions width="2" length="2" height="2"/> </BoundingBox> <Properties> <Property name="type" value="simulation"/> </Properties> </Pedestrian> </ScenarioObject> <ScenarioObject name="pedestrian_close_to_adversary_14419"> <Pedestrian model="walker.pedestrian.0001" mass="80" name="walker.pedestrian.0001" pedestrianCategory="pedestrian"> <ParameterDeclarations/> <BoundingBox> <Center x="1.5" y="0.0" z="0.9"/> <Dimensions width="2" length="2" height="2"/> </BoundingBox> <Properties> <Property name="type" value="simulation"/> </Properties> </Pedestrian> </ScenarioObject> <ScenarioObject name="pedestrian_close_to_standing_14420"> <Pedestrian model="walker.pedestrian.0001" mass="80" name="walker.pedestrian.0001" pedestrianCategory="pedestrian"> <ParameterDeclarations/> <BoundingBox> <Center x="1.5" y="0.0" z="0.9"/> <Dimensions width="2" length="2" height="2"/> </BoundingBox> <Properties> <Property name="type" value="simulation"/> </Properties> </Pedestrian> </ScenarioObject> <ScenarioObject name="pedestrian_close_to_standing_14421"> <Pedestrian model="walker.pedestrian.0001" mass="80" name="walker.pedestrian.0001" pedestrianCategory="pedestrian"> <ParameterDeclarations/> <BoundingBox> <Center x="1.5" y="0.0" z="0.9"/> <Dimensions width="2" length="2" height="2"/> </BoundingBox> <Properties> <Property name="type" value="simulation"/> </Properties> </Pedestrian> </ScenarioObject> <ScenarioObject name="pedestrian_w_transform_14422"> <Pedestrian model="walker.pedestrian.0001" mass="80" name="walker.pedestrian.0001" pedestrianCategory="pedestrian"> <ParameterDeclarations/> <BoundingBox> <Center x="1.5" y="0.0" z="0.9"/> <Dimensions width="2" length="2" height="2"/> </BoundingBox> <Properties> <Property name="type" value="simulation"/> </Properties> </Pedestrian> </ScenarioObject> <ScenarioObject name="pedestrian_close_to_hero_14423"> <Pedestrian model="walker.pedestrian.0001" mass="80" name="walker.pedestrian.0001" pedestrianCategory="pedestrian"> <ParameterDeclarations/> <BoundingBox> <Center x="1.5" y="0.0" z="0.9"/> <Dimensions width="2" length="2" height="2"/> </BoundingBox> <Properties> <Property name="type" value="simulation"/> </Properties> </Pedestrian> </ScenarioObject> <ScenarioObject name="pedestrian_close_to_standing_14424"> <Pedestrian model="walker.pedestrian.0001" mass="80" name="walker.pedestrian.0001" pedestrianCategory="pedestrian"> <ParameterDeclarations/> <BoundingBox> <Center x="1.5" y="0.0" z="0.9"/> <Dimensions width="2" length="2" height="2"/> </BoundingBox> <Properties> <Property name="type" value="simulation"/> </Properties> </Pedestrian> </ScenarioObject> <ScenarioObject name="pedestrian_w_transform_14425"> <Pedestrian model="walker.pedestrian.0001" mass="80" name="walker.pedestrian.0001" pedestrianCategory="pedestrian"> <ParameterDeclarations/> <BoundingBox> <Center x="1.5" y="0.0" z="0.9"/> <Dimensions width="2" length="2" height="2"/> </BoundingBox> <Properties> <Property name="type" value="simulation"/> </Properties> </Pedestrian> </ScenarioObject> <ScenarioObject name="pedestrian_w_transform_14426"> <Pedestrian model="walker.pedestrian.0001" mass="80" name="walker.pedestrian.0001" pedestrianCategory="pedestrian"> <ParameterDeclarations/> <BoundingBox> <Center x="1.5" y="0.0" z="0.9"/> <Dimensions width="2" length="2" height="2"/> </BoundingBox> <Properties> <Property name="type" value="simulation"/> </Properties> </Pedestrian> </ScenarioObject> <ScenarioObject name="pedestrian_close_to_adversary_14427"> <Pedestrian model="walker.pedestrian.0001" mass="80" name="walker.pedestrian.0001" pedestrianCategory="pedestrian"> <ParameterDeclarations/> <BoundingBox> <Center x="1.5" y="0.0" z="0.9"/> <Dimensions width="2" length="2" height="2"/> </BoundingBox> <Properties> <Property name="type" value="simulation"/> </Properties> </Pedestrian> </ScenarioObject> <ScenarioObject name="pedestrian_w_transform_14428"> <Pedestrian model="walker.pedestrian.0001" mass="80" name="walker.pedestrian.0001" pedestrianCategory="pedestrian"> <ParameterDeclarations/> <BoundingBox> <Center x="1.5" y="0.0" z="0.9"/> <Dimensions width="2" length="2" height="2"/> </BoundingBox> <Properties> <Property name="type" value="simulation"/> </Properties> </Pedestrian> </ScenarioObject> </Entities> <Storyboard> <Init> <Actions> <GlobalAction> <EnvironmentAction> <Environment name="Environment1"> <TimeOfDay animation="false" dateTime="2019-06-25T12:00:00"/> <Weather cloudState="free"> <Sun intensity="0.85" azimuth="0" elevation="1.31"/> <Fog visualRange="100000.0"/> <Precipitation precipitationType="dry" intensity="0.0"/> </Weather> <RoadCondition frictionScaleFactor="1.0"/> </Environment> </EnvironmentAction> </GlobalAction> <Private entityRef="hero"> <PrivateAction> <TeleportAction> <Position> <WorldPosition x="-9.4" y="-152.8" z="0.5" h="1.57079632679"/> </Position> </TeleportAction> </PrivateAction> <PrivateAction> <ControllerAction> <AssignControllerAction> <Controller name="HeroAgent"> <Properties> <Property name="module" value="external_control"/> </Properties> </Controller> </AssignControllerAction> <OverrideControllerValueAction> <Throttle value="0" active="false"/> <Brake value="0" active="false"/> <Clutch value="0" active="false"/> <ParkingBrake value="0" active="false"/> <SteeringWheel value="0" active="false"/> <Gear number="0" active="false"/> </OverrideControllerValueAction> </ControllerAction> </PrivateAction> </Private> <Private entityRef="adversary"> <PrivateAction> <TeleportAction> <Position> <WorldPosition x="-9.4" y="-71.0" z="0.5" h="1.57079632679"/> </Position> </TeleportAction> </PrivateAction> </Private> <Private entityRef="standing"> <PrivateAction> <TeleportAction> <Position> <WorldPosition x="-8.2" y="29.2" z="0.5" h="1.57079632679"/> </Position> </TeleportAction> </PrivateAction> </Private> <Private entityRef="pedestrian_close_to_hero_14410"> <PrivateAction> <TeleportAction> <Position> <WorldPosition x="-9.929585456848145" y="-155.0712127685547" z="0.0014286803780123591"/> </Position> </TeleportAction> </PrivateAction> </Private> <Private entityRef="pedestrian_w_transform_14411"> <PrivateAction> <TeleportAction> <Position> <WorldPosition x="37.7911262512207" y="90.5811996459961" z="0.5"/> </Position> </TeleportAction> </PrivateAction> </Private> <Private entityRef="pedestrian_close_to_standing_14412"> <PrivateAction> <TeleportAction> <Position> <WorldPosition x="-13.493317604064941" y="36.603519439697266" z="0.003015441820025444"/> </Position> </TeleportAction> </PrivateAction> </Private> <Private entityRef="pedestrian_close_to_adversary_14413"> <PrivateAction> <TeleportAction> <Position> <WorldPosition x="-17.585514068603516" y="-78.9810562133789" z="0.03379634767770767"/> </Position> </TeleportAction> </PrivateAction> </Private> <Private entityRef="pedestrian_close_to_hero_14414"> <PrivateAction> <TeleportAction> <Position> <WorldPosition x="-1.6567223072052002" y="-143.5908966064453" z="0.0014286803780123591"/> </Position> </TeleportAction> </PrivateAction> </Private> <Private entityRef="pedestrian_close_to_standing_14415"> <PrivateAction> <TeleportAction> <Position> <WorldPosition x="-14.405670166015625" y="28.103330612182617" z="0.0030877303797751665"/> </Position> </TeleportAction> </PrivateAction> </Private> <Private entityRef="pedestrian_close_to_adversary_14416"> <PrivateAction> <TeleportAction> <Position> <WorldPosition x="-14.034368515014648" y="-79.12865447998047" z="0.03379024565219879"/> </Position> </TeleportAction> </PrivateAction> </Private> <Private entityRef="pedestrian_close_to_hero_14417"> <PrivateAction> <TeleportAction> <Position> <WorldPosition x="-8.174361228942871" y="-158.0565185546875" z="0.0014286803780123591"/> </Position> </TeleportAction> </PrivateAction> </Private> <Private entityRef="pedestrian_close_to_hero_14418"> <PrivateAction> <TeleportAction> <Position> <WorldPosition x="-12.34603500366211" y="-156.1090850830078" z="0.0014286803780123591"/> </Position> </TeleportAction> </PrivateAction> </Private> <Private entityRef="pedestrian_close_to_adversary_14419"> <PrivateAction> <TeleportAction> <Position> <WorldPosition x="-3.4735240936279297" y="-61.297298431396484" z="0.0338328555226326"/> </Position> </TeleportAction> </PrivateAction> </Private> <Private entityRef="pedestrian_close_to_standing_14420"> <PrivateAction> <TeleportAction> <Position> <WorldPosition x="-9.162835121154785" y="25.037532806396484" z="0.0030564498156309128"/> </Position> </TeleportAction> </PrivateAction> </Private> <Private entityRef="pedestrian_close_to_standing_14421"> <PrivateAction> <TeleportAction> <Position> <WorldPosition x="-13.637338638305664" y="25.306760787963867" z="0.003073577769100666"/> </Position> </TeleportAction> </PrivateAction> </Private> <Private entityRef="pedestrian_w_transform_14422"> <PrivateAction> <TeleportAction> <Position> <WorldPosition x="-93.9078140258789" y="23.987428665161133" z="0.5"/> </Position> </TeleportAction> </PrivateAction> </Private> <Private entityRef="pedestrian_close_to_hero_14423"> <PrivateAction> <TeleportAction> <Position> <WorldPosition x="-3.340691566467285" y="-137.60980224609375" z="0.0014286803780123591"/> </Position> </TeleportAction> </PrivateAction> </Private> <Private entityRef="pedestrian_close_to_standing_14424"> <PrivateAction> <TeleportAction> <Position> <WorldPosition x="-6.292234897613525" y="24.313209533691406" z="0.0030358503572642803"/> </Position> </TeleportAction> </PrivateAction> </Private> <Private entityRef="pedestrian_w_transform_14425"> <PrivateAction> <TeleportAction> <Position> <WorldPosition x="72.58164978027344" y="-14.434184074401855" z="0.5"/> </Position> </TeleportAction> </PrivateAction> </Private> <Private entityRef="pedestrian_w_transform_14426"> <PrivateAction> <TeleportAction> <Position> <WorldPosition x="-4.358885765075684" y="-47.32848358154297" z="0.5"/> </Position> </TeleportAction> </PrivateAction> </Private> <Private entityRef="pedestrian_close_to_adversary_14427"> <PrivateAction> <TeleportAction> <Position> <WorldPosition x="-14.12333869934082" y="-64.11931610107422" z="0.03372318297624588"/> </Position> </TeleportAction> </PrivateAction> </Private> <Private entityRef="pedestrian_w_transform_14428"> <PrivateAction> <TeleportAction> <Position> <WorldPosition x="9.209879875183105" y="-39.998504638671875" z="0.5"/> </Position> </TeleportAction> </PrivateAction> </Private> </Actions> </Init> <Story name="MyStory"> <Act name="Behavior"> <ManeuverGroup maximumExecutionCount="1" name="ManeuverSequence"> <Actors selectTriggeringEntities="false"> <EntityRef entityRef="adversary"/> </Actors> <Maneuver name="LaneChangeSimpleManeuver"> <Event name="AdversaryAccelerates" priority="overwrite"> <Action name="AdversaryAccelerates"> <PrivateAction> <LongitudinalAction> <SpeedAction> <SpeedActionDynamics dynamicsShape="step" value="50" dynamicsDimension="distance"/> <SpeedActionTarget> <AbsoluteTargetSpeed value="5.0"/> </SpeedActionTarget> </SpeedAction> </LongitudinalAction> </PrivateAction> </Action> <StartTrigger> <ConditionGroup> <Condition name="StartCondition" delay="0" conditionEdge="rising"> <ByEntityCondition> <TriggeringEntities triggeringEntitiesRule="any"> <EntityRef entityRef="hero"/> </TriggeringEntities> <EntityCondition> <RelativeDistanceCondition entityRef="adversary" relativeDistanceType="cartesianDistance" value="40.0" freespace="false" rule="lessThan"/> </EntityCondition> </ByEntityCondition> </Condition> </ConditionGroup> </StartTrigger> </Event> <Event name="AdversaryChangesLane" priority="overwrite"> <Action name="AdversaryChangesLane"> <PrivateAction> <LateralAction> <LaneChangeAction> <LaneChangeActionDynamics dynamicsShape="linear" value="25" dynamicsDimension="distance"/> <LaneChangeTarget> <RelativeTargetLane entityRef="adversary" value="-1"/> </LaneChangeTarget> </LaneChangeAction> </LateralAction> </PrivateAction> </Action> <StartTrigger> <ConditionGroup> <Condition name="AfterAdversaryAccelerates" delay="0" conditionEdge="rising"> <ByValueCondition> <StoryboardElementStateCondition storyboardElementType="action" storyboardElementRef="AdversaryAccelerates" state="completeState"/> </ByValueCondition> </Condition> </ConditionGroup> </StartTrigger> </Event> </Maneuver> </ManeuverGroup> <StartTrigger> <ConditionGroup> <Condition name="OverallStartCondition" delay="0" conditionEdge="rising"> <ByEntityCondition> <TriggeringEntities triggeringEntitiesRule="any"> <EntityRef entityRef="hero"/> </TriggeringEntities> <EntityCondition> <TraveledDistanceCondition value="1.0"/> </EntityCondition> </ByEntityCondition> </Condition> <Condition name="StartTime" delay="0" conditionEdge="rising"> <ByValueCondition> <SimulationTimeCondition value="0" rule="equalTo"/> </ByValueCondition> </Condition> </ConditionGroup> </StartTrigger> <StopTrigger> <ConditionGroup> <Condition name="EndCondition" delay="0" conditionEdge="rising"> <ByEntityCondition> <TriggeringEntities triggeringEntitiesRule="any"> <EntityRef entityRef="hero"/> </TriggeringEntities> <EntityCondition> <TraveledDistanceCondition value="200.0"/> </EntityCondition> </ByEntityCondition> </Condition> </ConditionGroup> </StopTrigger> </Act> </Story> <StopTrigger> <ConditionGroup> <Condition name="criteria_RunningStopTest" delay="0" conditionEdge="rising"> <ByValueCondition> <ParameterCondition parameterRef="" value="" rule="lessThan"/> </ByValueCondition> </Condition> <Condition name="criteria_RunningRedLightTest" delay="0" conditionEdge="rising"> <ByValueCondition> <ParameterCondition parameterRef="" value="" rule="lessThan"/> </ByValueCondition> </Condition> <Condition name="criteria_WrongLaneTest" delay="0" conditionEdge="rising"> <ByValueCondition> <ParameterCondition parameterRef="" value="" rule="lessThan"/> </ByValueCondition> </Condition> <Condition name="criteria_OnSidewalkTest" delay="0" conditionEdge="rising"> <ByValueCondition> <ParameterCondition parameterRef="" value="" rule="lessThan"/> </ByValueCondition> </Condition> <Condition name="criteria_KeepLaneTest" delay="0" conditionEdge="rising"> <ByValueCondition> <ParameterCondition parameterRef="" value="" rule="lessThan"/> </ByValueCondition> </Condition> <Condition name="criteria_CollisionTest" delay="0" conditionEdge="rising"> <ByValueCondition> <ParameterCondition parameterRef="" value="" rule="lessThan"/> </ByValueCondition> </Condition> <Condition name="criteria_DrivenDistanceTest" delay="0" conditionEdge="rising"> <ByValueCondition> <ParameterCondition parameterRef="distance_success" value="100" rule="lessThan"/> </ByValueCondition> </Condition> </ConditionGroup> </StopTrigger> </Storyboard> </OpenSCENARIO> ```
please add pedestrian at location (-48.28, -15.36, 0.5)? ``` <?xml version="1.0" ?> <OpenSCENARIO> <FileHeader revMajor="1" revMinor="0" date="2020-03-24T12:00:00" description="CARLA:LaneChangeSimple" author=""/> <ParameterDeclarations/> <CatalogLocations/> <RoadNetwork> <LogicFile filepath="Town04"/> <SceneGraphFile filepath=""/> </RoadNetwork> <Entities> <ScenarioObject name="hero"> <Vehicle name="vehicle.tesla.model3" vehicleCategory="car"> <ParameterDeclarations/> <Performance maxSpeed="69.444" maxAcceleration="200" maxDeceleration="10.0"/> <BoundingBox> <Center x="1.5" y="0.0" z="0.9"/> <Dimensions width="2.1" length="4.5" height="1.8"/> </BoundingBox> <Axles> <FrontAxle maxSteering="0.5" wheelDiameter="0.6" trackWidth="1.8" positionX="3.1" positionZ="0.3"/> <RearAxle maxSteering="0.0" wheelDiameter="0.6" trackWidth="1.8" positionX="0.0" positionZ="0.3"/> </Axles> <Properties> <Property name="type" value="ego_vehicle"/> </Properties> </Vehicle> </ScenarioObject> <ScenarioObject name="adversary"> <Vehicle name="vehicle.lincoln.mkz_2017" vehicleCategory="car"> <ParameterDeclarations/> <Performance maxSpeed="69.444" maxAcceleration="200" maxDeceleration="10.0"/> <BoundingBox> <Center x="1.5" y="0.0" z="0.9"/> <Dimensions width="2.1" length="4.5" height="1.8"/> </BoundingBox> <Axles> <FrontAxle maxSteering="0.5" wheelDiameter="0.6" trackWidth="1.8" positionX="3.1" positionZ="0.3"/> <RearAxle maxSteering="0.0" wheelDiameter="0.6" trackWidth="1.8" positionX="0.0" positionZ="0.3"/> </Axles> <Properties> <Property name="type" value="simulation"/> </Properties> </Vehicle> </ScenarioObject> <ScenarioObject name="standing"> <Vehicle name="vehicle.volkswagen.t2" vehicleCategory="car"> <ParameterDeclarations/> <Performance maxSpeed="69.444" maxAcceleration="200" maxDeceleration="10.0"/> <BoundingBox> <Center x="1.5" y="0.0" z="0.9"/> <Dimensions width="2.1" length="4.5" height="1.8"/> </BoundingBox> <Axles> <FrontAxle maxSteering="0.5" wheelDiameter="0.6" trackWidth="1.8" positionX="3.1" positionZ="0.3"/> <RearAxle maxSteering="0.0" wheelDiameter="0.6" trackWidth="1.8" positionX="0.0" positionZ="0.3"/> </Axles> <Properties> <Property name="type" value="simulation"/> </Properties> </Vehicle> </ScenarioObject> <ScenarioObject name="pedestrian_close_to_hero_2462"> <Pedestrian model="walker.pedestrian.0001" mass="80" name="walker.pedestrian.0001" pedestrianCategory="pedestrian"> <ParameterDeclarations/> <BoundingBox> <Center x="1.5" y="0.0" z="0.9"/> <Dimensions width="2" length="2" height="2"/> </BoundingBox> <Properties> <Property name="type" value="simulation"/> </Properties> </Pedestrian> </ScenarioObject> <ScenarioObject name="pedestrian_close_to_hero_2463"> <Pedestrian model="walker.pedestrian.0001" mass="80" name="walker.pedestrian.0001" pedestrianCategory="pedestrian"> <ParameterDeclarations/> <BoundingBox> <Center x="1.5" y="0.0" z="0.9"/> <Dimensions width="2" length="2" height="2"/> </BoundingBox> <Properties> <Property name="type" value="simulation"/> </Properties> </Pedestrian> </ScenarioObject> <ScenarioObject name="pedestrian_w_transform_2464"> <Pedestrian model="walker.pedestrian.0001" mass="80" name="walker.pedestrian.0001" pedestrianCategory="pedestrian"> <ParameterDeclarations/> <BoundingBox> <Center x="1.5" y="0.0" z="0.9"/> <Dimensions width="2" length="2" height="2"/> </BoundingBox> <Properties> <Property name="type" value="simulation"/> </Properties> </Pedestrian> </ScenarioObject> <ScenarioObject name="pedestrian_close_to_hero_2465"> <Pedestrian model="walker.pedestrian.0001" mass="80" name="walker.pedestrian.0001" pedestrianCategory="pedestrian"> <ParameterDeclarations/> <BoundingBox> <Center x="1.5" y="0.0" z="0.9"/> <Dimensions width="2" length="2" height="2"/> </BoundingBox> <Properties> <Property name="type" value="simulation"/> </Properties> </Pedestrian> </ScenarioObject> <ScenarioObject name="pedestrian_w_transform_2466"> <Pedestrian model="walker.pedestrian.0001" mass="80" name="walker.pedestrian.0001" pedestrianCategory="pedestrian"> <ParameterDeclarations/> <BoundingBox> <Center x="1.5" y="0.0" z="0.9"/> <Dimensions width="2" length="2" height="2"/> </BoundingBox> <Properties> <Property name="type" value="simulation"/> </Properties> </Pedestrian> </ScenarioObject> <ScenarioObject name="pedestrian_close_to_hero_2467"> <Pedestrian model="walker.pedestrian.0001" mass="80" name="walker.pedestrian.0001" pedestrianCategory="pedestrian"> <ParameterDeclarations/> <BoundingBox> <Center x="1.5" y="0.0" z="0.9"/> <Dimensions width="2" length="2" height="2"/> </BoundingBox> <Properties> <Property name="type" value="simulation"/> </Properties> </Pedestrian> </ScenarioObject> </Entities> <Storyboard> <Init> <Actions> <GlobalAction> <EnvironmentAction> <Environment name="Environment1"> <TimeOfDay animation="false" dateTime="2019-06-25T12:00:00"/> <Weather cloudState="free"> <Sun intensity="0.85" azimuth="0" elevation="1.31"/> <Fog visualRange="100000.0"/> <Precipitation precipitationType="dry" intensity="0.0"/> </Weather> <RoadCondition frictionScaleFactor="1.0"/> </Environment> </EnvironmentAction> </GlobalAction> <Private entityRef="hero"> <PrivateAction> <TeleportAction> <Position> <WorldPosition x="-9.4" y="-152.8" z="0.5" h="1.57079632679"/> </Position> </TeleportAction> </PrivateAction> <PrivateAction> <ControllerAction> <AssignControllerAction> <Controller name="HeroAgent"> <Properties> <Property name="module" value="external_control"/> </Properties> </Controller> </AssignControllerAction> <OverrideControllerValueAction> <Throttle value="0" active="false"/> <Brake value="0" active="false"/> <Clutch value="0" active="false"/> <ParkingBrake value="0" active="false"/> <SteeringWheel value="0" active="false"/> <Gear number="0" active="false"/> </OverrideControllerValueAction> </ControllerAction> </PrivateAction> </Private> <Private entityRef="adversary"> <PrivateAction> <TeleportAction> <Position> <WorldPosition x="-9.4" y="-71.0" z="0.5" h="1.57079632679"/> </Position> </TeleportAction> </PrivateAction> </Private> <Private entityRef="standing"> <PrivateAction> <TeleportAction> <Position> <WorldPosition x="-8.2" y="29.2" z="0.5" h="1.57079632679"/> </Position> </TeleportAction> </PrivateAction> </Private> <Private entityRef="pedestrian_close_to_hero_2462"> <PrivateAction> <TeleportAction> <Position> <WorldPosition x="-17.02435874938965" y="-146.29129028320312" z="0.0014286803780123591"/> </Position> </TeleportAction> </PrivateAction> </Private> <Private entityRef="pedestrian_close_to_hero_2463"> <PrivateAction> <TeleportAction> <Position> <WorldPosition x="-5.65363883972168" y="-158.42356872558594" z="0.0014286803780123591"/> </Position> </TeleportAction> </PrivateAction> </Private> <Private entityRef="pedestrian_w_transform_2464"> <PrivateAction> <TeleportAction> <Position> <WorldPosition x="57.74385452270508" y="-32.49489212036133" z="0.5"/> </Position> </TeleportAction> </PrivateAction> </Private> <Private entityRef="pedestrian_close_to_hero_2465"> <PrivateAction> <TeleportAction> <Position> <WorldPosition x="-10.679274559020996" y="-159.0560760498047" z="0.0014286803780123591"/> </Position> </TeleportAction> </PrivateAction> </Private> <Private entityRef="pedestrian_w_transform_2466"> <PrivateAction> <TeleportAction> <Position> <WorldPosition x="71.60308074951172" y="21.189472198486328" z="0.5"/> </Position> </TeleportAction> </PrivateAction> </Private> <Private entityRef="pedestrian_close_to_hero_2467"> <PrivateAction> <TeleportAction> <Position> <WorldPosition x="-11.664543151855469" y="-159.57394409179688" z="0.0014286803780123591"/> </Position> </TeleportAction> </PrivateAction> </Private> </Actions> </Init> <Story name="MyStory"> <Act name="Behavior"> <ManeuverGroup maximumExecutionCount="1" name="ManeuverSequence"> <Actors selectTriggeringEntities="false"> <EntityRef entityRef="adversary"/> </Actors> <Maneuver name="LaneChangeSimpleManeuver"> <Event name="AdversaryAccelerates" priority="overwrite"> <Action name="AdversaryAccelerates"> <PrivateAction> <LongitudinalAction> <SpeedAction> <SpeedActionDynamics dynamicsShape="step" value="50" dynamicsDimension="distance"/> <SpeedActionTarget> <AbsoluteTargetSpeed value="5.0"/> </SpeedActionTarget> </SpeedAction> </LongitudinalAction> </PrivateAction> </Action> <StartTrigger> <ConditionGroup> <Condition name="StartCondition" delay="0" conditionEdge="rising"> <ByEntityCondition> <TriggeringEntities triggeringEntitiesRule="any"> <EntityRef entityRef="hero"/> </TriggeringEntities> <EntityCondition> <RelativeDistanceCondition entityRef="adversary" relativeDistanceType="cartesianDistance" value="40.0" freespace="false" rule="lessThan"/> </EntityCondition> </ByEntityCondition> </Condition> </ConditionGroup> </StartTrigger> </Event> <Event name="AdversaryChangesLane" priority="overwrite"> <Action name="AdversaryChangesLane"> <PrivateAction> <LateralAction> <LaneChangeAction> <LaneChangeActionDynamics dynamicsShape="linear" value="25" dynamicsDimension="distance"/> <LaneChangeTarget> <RelativeTargetLane entityRef="adversary" value="-1"/> </LaneChangeTarget> </LaneChangeAction> </LateralAction> </PrivateAction> </Action> <StartTrigger> <ConditionGroup> <Condition name="AfterAdversaryAccelerates" delay="0" conditionEdge="rising"> <ByValueCondition> <StoryboardElementStateCondition storyboardElementType="action" storyboardElementRef="AdversaryAccelerates" state="completeState"/> </ByValueCondition> </Condition> </ConditionGroup> </StartTrigger> </Event> </Maneuver> </ManeuverGroup> <StartTrigger> <ConditionGroup> <Condition name="OverallStartCondition" delay="0" conditionEdge="rising"> <ByEntityCondition> <TriggeringEntities triggeringEntitiesRule="any"> <EntityRef entityRef="hero"/> </TriggeringEntities> <EntityCondition> <TraveledDistanceCondition value="1.0"/> </EntityCondition> </ByEntityCondition> </Condition> <Condition name="StartTime" delay="0" conditionEdge="rising"> <ByValueCondition> <SimulationTimeCondition value="0" rule="equalTo"/> </ByValueCondition> </Condition> </ConditionGroup> </StartTrigger> <StopTrigger> <ConditionGroup> <Condition name="EndCondition" delay="0" conditionEdge="rising"> <ByEntityCondition> <TriggeringEntities triggeringEntitiesRule="any"> <EntityRef entityRef="hero"/> </TriggeringEntities> <EntityCondition> <TraveledDistanceCondition value="200.0"/> </EntityCondition> </ByEntityCondition> </Condition> </ConditionGroup> </StopTrigger> </Act> </Story> <StopTrigger> <ConditionGroup> <Condition name="criteria_RunningStopTest" delay="0" conditionEdge="rising"> <ByValueCondition> <ParameterCondition parameterRef="" value="" rule="lessThan"/> </ByValueCondition> </Condition> <Condition name="criteria_RunningRedLightTest" delay="0" conditionEdge="rising"> <ByValueCondition> <ParameterCondition parameterRef="" value="" rule="lessThan"/> </ByValueCondition> </Condition> <Condition name="criteria_WrongLaneTest" delay="0" conditionEdge="rising"> <ByValueCondition> <ParameterCondition parameterRef="" value="" rule="lessThan"/> </ByValueCondition> </Condition> <Condition name="criteria_OnSidewalkTest" delay="0" conditionEdge="rising"> <ByValueCondition> <ParameterCondition parameterRef="" value="" rule="lessThan"/> </ByValueCondition> </Condition> <Condition name="criteria_KeepLaneTest" delay="0" conditionEdge="rising"> <ByValueCondition> <ParameterCondition parameterRef="" value="" rule="lessThan"/> </ByValueCondition> </Condition> <Condition name="criteria_CollisionTest" delay="0" conditionEdge="rising"> <ByValueCondition> <ParameterCondition parameterRef="" value="" rule="lessThan"/> </ByValueCondition> </Condition> <Condition name="criteria_DrivenDistanceTest" delay="0" conditionEdge="rising"> <ByValueCondition> <ParameterCondition parameterRef="distance_success" value="100" rule="lessThan"/> </ByValueCondition> </Condition> </ConditionGroup> </StopTrigger> </Storyboard> </OpenSCENARIO> ```
Here is the result: ``` <?xml version="1.0" ?> <OpenSCENARIO> <FileHeader revMajor="1" revMinor="0" date="2020-03-24T12:00:00" description="CARLA:LaneChangeSimple" author=""/> <ParameterDeclarations/> <CatalogLocations/> <RoadNetwork> <LogicFile filepath="Town04"/> <SceneGraphFile filepath=""/> </RoadNetwork> <Entities> <ScenarioObject name="hero"> <Vehicle name="vehicle.tesla.model3" vehicleCategory="car"> <ParameterDeclarations/> <Performance maxSpeed="69.444" maxAcceleration="200" maxDeceleration="10.0"/> <BoundingBox> <Center x="1.5" y="0.0" z="0.9"/> <Dimensions width="2.1" length="4.5" height="1.8"/> </BoundingBox> <Axles> <FrontAxle maxSteering="0.5" wheelDiameter="0.6" trackWidth="1.8" positionX="3.1" positionZ="0.3"/> <RearAxle maxSteering="0.0" wheelDiameter="0.6" trackWidth="1.8" positionX="0.0" positionZ="0.3"/> </Axles> <Properties> <Property name="type" value="ego_vehicle"/> </Properties> </Vehicle> </ScenarioObject> <ScenarioObject name="adversary"> <Vehicle name="vehicle.lincoln.mkz_2017" vehicleCategory="car"> <ParameterDeclarations/> <Performance maxSpeed="69.444" maxAcceleration="200" maxDeceleration="10.0"/> <BoundingBox> <Center x="1.5" y="0.0" z="0.9"/> <Dimensions width="2.1" length="4.5" height="1.8"/> </BoundingBox> <Axles> <FrontAxle maxSteering="0.5" wheelDiameter="0.6" trackWidth="1.8" positionX="3.1" positionZ="0.3"/> <RearAxle maxSteering="0.0" wheelDiameter="0.6" trackWidth="1.8" positionX="0.0" positionZ="0.3"/> </Axles> <Properties> <Property name="type" value="simulation"/> </Properties> </Vehicle> </ScenarioObject> <ScenarioObject name="standing"> <Vehicle name="vehicle.volkswagen.t2" vehicleCategory="car"> <ParameterDeclarations/> <Performance maxSpeed="69.444" maxAcceleration="200" maxDeceleration="10.0"/> <BoundingBox> <Center x="1.5" y="0.0" z="0.9"/> <Dimensions width="2.1" length="4.5" height="1.8"/> </BoundingBox> <Axles> <FrontAxle maxSteering="0.5" wheelDiameter="0.6" trackWidth="1.8" positionX="3.1" positionZ="0.3"/> <RearAxle maxSteering="0.0" wheelDiameter="0.6" trackWidth="1.8" positionX="0.0" positionZ="0.3"/> </Axles> <Properties> <Property name="type" value="simulation"/> </Properties> </Vehicle> </ScenarioObject> <ScenarioObject name="pedestrian_close_to_hero_2462"> <Pedestrian model="walker.pedestrian.0001" mass="80" name="walker.pedestrian.0001" pedestrianCategory="pedestrian"> <ParameterDeclarations/> <BoundingBox> <Center x="1.5" y="0.0" z="0.9"/> <Dimensions width="2" length="2" height="2"/> </BoundingBox> <Properties> <Property name="type" value="simulation"/> </Properties> </Pedestrian> </ScenarioObject> <ScenarioObject name="pedestrian_close_to_hero_2463"> <Pedestrian model="walker.pedestrian.0001" mass="80" name="walker.pedestrian.0001" pedestrianCategory="pedestrian"> <ParameterDeclarations/> <BoundingBox> <Center x="1.5" y="0.0" z="0.9"/> <Dimensions width="2" length="2" height="2"/> </BoundingBox> <Properties> <Property name="type" value="simulation"/> </Properties> </Pedestrian> </ScenarioObject> <ScenarioObject name="pedestrian_w_transform_2464"> <Pedestrian model="walker.pedestrian.0001" mass="80" name="walker.pedestrian.0001" pedestrianCategory="pedestrian"> <ParameterDeclarations/> <BoundingBox> <Center x="1.5" y="0.0" z="0.9"/> <Dimensions width="2" length="2" height="2"/> </BoundingBox> <Properties> <Property name="type" value="simulation"/> </Properties> </Pedestrian> </ScenarioObject> <ScenarioObject name="pedestrian_close_to_hero_2465"> <Pedestrian model="walker.pedestrian.0001" mass="80" name="walker.pedestrian.0001" pedestrianCategory="pedestrian"> <ParameterDeclarations/> <BoundingBox> <Center x="1.5" y="0.0" z="0.9"/> <Dimensions width="2" length="2" height="2"/> </BoundingBox> <Properties> <Property name="type" value="simulation"/> </Properties> </Pedestrian> </ScenarioObject> <ScenarioObject name="pedestrian_w_transform_2466"> <Pedestrian model="walker.pedestrian.0001" mass="80" name="walker.pedestrian.0001" pedestrianCategory="pedestrian"> <ParameterDeclarations/> <BoundingBox> <Center x="1.5" y="0.0" z="0.9"/> <Dimensions width="2" length="2" height="2"/> </BoundingBox> <Properties> <Property name="type" value="simulation"/> </Properties> </Pedestrian> </ScenarioObject> <ScenarioObject name="pedestrian_close_to_hero_2467"> <Pedestrian model="walker.pedestrian.0001" mass="80" name="walker.pedestrian.0001" pedestrianCategory="pedestrian"> <ParameterDeclarations/> <BoundingBox> <Center x="1.5" y="0.0" z="0.9"/> <Dimensions width="2" length="2" height="2"/> </BoundingBox> <Properties> <Property name="type" value="simulation"/> </Properties> </Pedestrian> </ScenarioObject> <ScenarioObject name="pedestrian_w_transform_2468"> <Pedestrian model="walker.pedestrian.0001" mass="80" name="walker.pedestrian.0001" pedestrianCategory="pedestrian"> <ParameterDeclarations/> <BoundingBox> <Center x="1.5" y="0.0" z="0.9"/> <Dimensions width="2" length="2" height="2"/> </BoundingBox> <Properties> <Property name="type" value="simulation"/> </Properties> </Pedestrian> </ScenarioObject> </Entities> <Storyboard> <Init> <Actions> <GlobalAction> <EnvironmentAction> <Environment name="Environment1"> <TimeOfDay animation="false" dateTime="2019-06-25T12:00:00"/> <Weather cloudState="free"> <Sun intensity="0.85" azimuth="0" elevation="1.31"/> <Fog visualRange="100000.0"/> <Precipitation precipitationType="dry" intensity="0.0"/> </Weather> <RoadCondition frictionScaleFactor="1.0"/> </Environment> </EnvironmentAction> </GlobalAction> <Private entityRef="hero"> <PrivateAction> <TeleportAction> <Position> <WorldPosition x="-9.4" y="-152.8" z="0.5" h="1.57079632679"/> </Position> </TeleportAction> </PrivateAction> <PrivateAction> <ControllerAction> <AssignControllerAction> <Controller name="HeroAgent"> <Properties> <Property name="module" value="external_control"/> </Properties> </Controller> </AssignControllerAction> <OverrideControllerValueAction> <Throttle value="0" active="false"/> <Brake value="0" active="false"/> <Clutch value="0" active="false"/> <ParkingBrake value="0" active="false"/> <SteeringWheel value="0" active="false"/> <Gear number="0" active="false"/> </OverrideControllerValueAction> </ControllerAction> </PrivateAction> </Private> <Private entityRef="adversary"> <PrivateAction> <TeleportAction> <Position> <WorldPosition x="-9.4" y="-71.0" z="0.5" h="1.57079632679"/> </Position> </TeleportAction> </PrivateAction> </Private> <Private entityRef="standing"> <PrivateAction> <TeleportAction> <Position> <WorldPosition x="-8.2" y="29.2" z="0.5" h="1.57079632679"/> </Position> </TeleportAction> </PrivateAction> </Private> <Private entityRef="pedestrian_close_to_hero_2462"> <PrivateAction> <TeleportAction> <Position> <WorldPosition x="-17.02435874938965" y="-146.29129028320312" z="0.0014286803780123591"/> </Position> </TeleportAction> </PrivateAction> </Private> <Private entityRef="pedestrian_close_to_hero_2463"> <PrivateAction> <TeleportAction> <Position> <WorldPosition x="-5.65363883972168" y="-158.42356872558594" z="0.0014286803780123591"/> </Position> </TeleportAction> </PrivateAction> </Private> <Private entityRef="pedestrian_w_transform_2464"> <PrivateAction> <TeleportAction> <Position> <WorldPosition x="57.74385452270508" y="-32.49489212036133" z="0.5"/> </Position> </TeleportAction> </PrivateAction> </Private> <Private entityRef="pedestrian_close_to_hero_2465"> <PrivateAction> <TeleportAction> <Position> <WorldPosition x="-10.679274559020996" y="-159.0560760498047" z="0.0014286803780123591"/> </Position> </TeleportAction> </PrivateAction> </Private> <Private entityRef="pedestrian_w_transform_2466"> <PrivateAction> <TeleportAction> <Position> <WorldPosition x="71.60308074951172" y="21.189472198486328" z="0.5"/> </Position> </TeleportAction> </PrivateAction> </Private> <Private entityRef="pedestrian_close_to_hero_2467"> <PrivateAction> <TeleportAction> <Position> <WorldPosition x="-11.664543151855469" y="-159.57394409179688" z="0.0014286803780123591"/> </Position> </TeleportAction> </PrivateAction> </Private> <Private entityRef="pedestrian_w_transform_2468"> <PrivateAction> <TeleportAction> <Position> <WorldPosition x="-48.28432083129883" y="-15.360153198242188" z="0.5"/> </Position> </TeleportAction> </PrivateAction> </Private> </Actions> </Init> <Story name="MyStory"> <Act name="Behavior"> <ManeuverGroup maximumExecutionCount="1" name="ManeuverSequence"> <Actors selectTriggeringEntities="false"> <EntityRef entityRef="adversary"/> </Actors> <Maneuver name="LaneChangeSimpleManeuver"> <Event name="AdversaryAccelerates" priority="overwrite"> <Action name="AdversaryAccelerates"> <PrivateAction> <LongitudinalAction> <SpeedAction> <SpeedActionDynamics dynamicsShape="step" value="50" dynamicsDimension="distance"/> <SpeedActionTarget> <AbsoluteTargetSpeed value="5.0"/> </SpeedActionTarget> </SpeedAction> </LongitudinalAction> </PrivateAction> </Action> <StartTrigger> <ConditionGroup> <Condition name="StartCondition" delay="0" conditionEdge="rising"> <ByEntityCondition> <TriggeringEntities triggeringEntitiesRule="any"> <EntityRef entityRef="hero"/> </TriggeringEntities> <EntityCondition> <RelativeDistanceCondition entityRef="adversary" relativeDistanceType="cartesianDistance" value="40.0" freespace="false" rule="lessThan"/> </EntityCondition> </ByEntityCondition> </Condition> </ConditionGroup> </StartTrigger> </Event> <Event name="AdversaryChangesLane" priority="overwrite"> <Action name="AdversaryChangesLane"> <PrivateAction> <LateralAction> <LaneChangeAction> <LaneChangeActionDynamics dynamicsShape="linear" value="25" dynamicsDimension="distance"/> <LaneChangeTarget> <RelativeTargetLane entityRef="adversary" value="-1"/> </LaneChangeTarget> </LaneChangeAction> </LateralAction> </PrivateAction> </Action> <StartTrigger> <ConditionGroup> <Condition name="AfterAdversaryAccelerates" delay="0" conditionEdge="rising"> <ByValueCondition> <StoryboardElementStateCondition storyboardElementType="action" storyboardElementRef="AdversaryAccelerates" state="completeState"/> </ByValueCondition> </Condition> </ConditionGroup> </StartTrigger> </Event> </Maneuver> </ManeuverGroup> <StartTrigger> <ConditionGroup> <Condition name="OverallStartCondition" delay="0" conditionEdge="rising"> <ByEntityCondition> <TriggeringEntities triggeringEntitiesRule="any"> <EntityRef entityRef="hero"/> </TriggeringEntities> <EntityCondition> <TraveledDistanceCondition value="1.0"/> </EntityCondition> </ByEntityCondition> </Condition> <Condition name="StartTime" delay="0" conditionEdge="rising"> <ByValueCondition> <SimulationTimeCondition value="0" rule="equalTo"/> </ByValueCondition> </Condition> </ConditionGroup> </StartTrigger> <StopTrigger> <ConditionGroup> <Condition name="EndCondition" delay="0" conditionEdge="rising"> <ByEntityCondition> <TriggeringEntities triggeringEntitiesRule="any"> <EntityRef entityRef="hero"/> </TriggeringEntities> <EntityCondition> <TraveledDistanceCondition value="200.0"/> </EntityCondition> </ByEntityCondition> </Condition> </ConditionGroup> </StopTrigger> </Act> </Story> <StopTrigger> <ConditionGroup> <Condition name="criteria_RunningStopTest" delay="0" conditionEdge="rising"> <ByValueCondition> <ParameterCondition parameterRef="" value="" rule="lessThan"/> </ByValueCondition> </Condition> <Condition name="criteria_RunningRedLightTest" delay="0" conditionEdge="rising"> <ByValueCondition> <ParameterCondition parameterRef="" value="" rule="lessThan"/> </ByValueCondition> </Condition> <Condition name="criteria_WrongLaneTest" delay="0" conditionEdge="rising"> <ByValueCondition> <ParameterCondition parameterRef="" value="" rule="lessThan"/> </ByValueCondition> </Condition> <Condition name="criteria_OnSidewalkTest" delay="0" conditionEdge="rising"> <ByValueCondition> <ParameterCondition parameterRef="" value="" rule="lessThan"/> </ByValueCondition> </Condition> <Condition name="criteria_KeepLaneTest" delay="0" conditionEdge="rising"> <ByValueCondition> <ParameterCondition parameterRef="" value="" rule="lessThan"/> </ByValueCondition> </Condition> <Condition name="criteria_CollisionTest" delay="0" conditionEdge="rising"> <ByValueCondition> <ParameterCondition parameterRef="" value="" rule="lessThan"/> </ByValueCondition> </Condition> <Condition name="criteria_DrivenDistanceTest" delay="0" conditionEdge="rising"> <ByValueCondition> <ParameterCondition parameterRef="distance_success" value="100" rule="lessThan"/> </ByValueCondition> </Condition> </ConditionGroup> </StopTrigger> </Storyboard> </OpenSCENARIO> ```
i want you to remove pedestrian close to standing? ``` <?xml version="1.0" ?> <OpenSCENARIO> <FileHeader revMajor="1" revMinor="0" date="2020-03-24T12:00:00" description="CARLA:LaneChangeSimple" author=""/> <ParameterDeclarations/> <CatalogLocations/> <RoadNetwork> <LogicFile filepath="Town04"/> <SceneGraphFile filepath=""/> </RoadNetwork> <Entities> <ScenarioObject name="hero"> <Vehicle name="vehicle.tesla.model3" vehicleCategory="car"> <ParameterDeclarations/> <Performance maxSpeed="69.444" maxAcceleration="200" maxDeceleration="10.0"/> <BoundingBox> <Center x="1.5" y="0.0" z="0.9"/> <Dimensions width="2.1" length="4.5" height="1.8"/> </BoundingBox> <Axles> <FrontAxle maxSteering="0.5" wheelDiameter="0.6" trackWidth="1.8" positionX="3.1" positionZ="0.3"/> <RearAxle maxSteering="0.0" wheelDiameter="0.6" trackWidth="1.8" positionX="0.0" positionZ="0.3"/> </Axles> <Properties> <Property name="type" value="ego_vehicle"/> </Properties> </Vehicle> </ScenarioObject> <ScenarioObject name="adversary"> <Vehicle name="vehicle.lincoln.mkz_2017" vehicleCategory="car"> <ParameterDeclarations/> <Performance maxSpeed="69.444" maxAcceleration="200" maxDeceleration="10.0"/> <BoundingBox> <Center x="1.5" y="0.0" z="0.9"/> <Dimensions width="2.1" length="4.5" height="1.8"/> </BoundingBox> <Axles> <FrontAxle maxSteering="0.5" wheelDiameter="0.6" trackWidth="1.8" positionX="3.1" positionZ="0.3"/> <RearAxle maxSteering="0.0" wheelDiameter="0.6" trackWidth="1.8" positionX="0.0" positionZ="0.3"/> </Axles> <Properties> <Property name="type" value="simulation"/> </Properties> </Vehicle> </ScenarioObject> <ScenarioObject name="standing"> <Vehicle name="vehicle.volkswagen.t2" vehicleCategory="car"> <ParameterDeclarations/> <Performance maxSpeed="69.444" maxAcceleration="200" maxDeceleration="10.0"/> <BoundingBox> <Center x="1.5" y="0.0" z="0.9"/> <Dimensions width="2.1" length="4.5" height="1.8"/> </BoundingBox> <Axles> <FrontAxle maxSteering="0.5" wheelDiameter="0.6" trackWidth="1.8" positionX="3.1" positionZ="0.3"/> <RearAxle maxSteering="0.0" wheelDiameter="0.6" trackWidth="1.8" positionX="0.0" positionZ="0.3"/> </Axles> <Properties> <Property name="type" value="simulation"/> </Properties> </Vehicle> </ScenarioObject> <ScenarioObject name="pedestrian_close_to_hero_11208"> <Pedestrian model="walker.pedestrian.0001" mass="80" name="walker.pedestrian.0001" pedestrianCategory="pedestrian"> <ParameterDeclarations/> <BoundingBox> <Center x="1.5" y="0.0" z="0.9"/> <Dimensions width="2" length="2" height="2"/> </BoundingBox> <Properties> <Property name="type" value="simulation"/> </Properties> </Pedestrian> </ScenarioObject> <ScenarioObject name="pedestrian_close_to_adversary_11209"> <Pedestrian model="walker.pedestrian.0001" mass="80" name="walker.pedestrian.0001" pedestrianCategory="pedestrian"> <ParameterDeclarations/> <BoundingBox> <Center x="1.5" y="0.0" z="0.9"/> <Dimensions width="2" length="2" height="2"/> </BoundingBox> <Properties> <Property name="type" value="simulation"/> </Properties> </Pedestrian> </ScenarioObject> <ScenarioObject name="pedestrian_close_to_standing_11210"> <Pedestrian model="walker.pedestrian.0001" mass="80" name="walker.pedestrian.0001" pedestrianCategory="pedestrian"> <ParameterDeclarations/> <BoundingBox> <Center x="1.5" y="0.0" z="0.9"/> <Dimensions width="2" length="2" height="2"/> </BoundingBox> <Properties> <Property name="type" value="simulation"/> </Properties> </Pedestrian> </ScenarioObject> <ScenarioObject name="pedestrian_close_to_standing_11211"> <Pedestrian model="walker.pedestrian.0001" mass="80" name="walker.pedestrian.0001" pedestrianCategory="pedestrian"> <ParameterDeclarations/> <BoundingBox> <Center x="1.5" y="0.0" z="0.9"/> <Dimensions width="2" length="2" height="2"/> </BoundingBox> <Properties> <Property name="type" value="simulation"/> </Properties> </Pedestrian> </ScenarioObject> <ScenarioObject name="pedestrian_close_to_adversary_11212"> <Pedestrian model="walker.pedestrian.0001" mass="80" name="walker.pedestrian.0001" pedestrianCategory="pedestrian"> <ParameterDeclarations/> <BoundingBox> <Center x="1.5" y="0.0" z="0.9"/> <Dimensions width="2" length="2" height="2"/> </BoundingBox> <Properties> <Property name="type" value="simulation"/> </Properties> </Pedestrian> </ScenarioObject> <ScenarioObject name="pedestrian_close_to_adversary_11213"> <Pedestrian model="walker.pedestrian.0001" mass="80" name="walker.pedestrian.0001" pedestrianCategory="pedestrian"> <ParameterDeclarations/> <BoundingBox> <Center x="1.5" y="0.0" z="0.9"/> <Dimensions width="2" length="2" height="2"/> </BoundingBox> <Properties> <Property name="type" value="simulation"/> </Properties> </Pedestrian> </ScenarioObject> <ScenarioObject name="pedestrian_w_transform_11214"> <Pedestrian model="walker.pedestrian.0001" mass="80" name="walker.pedestrian.0001" pedestrianCategory="pedestrian"> <ParameterDeclarations/> <BoundingBox> <Center x="1.5" y="0.0" z="0.9"/> <Dimensions width="2" length="2" height="2"/> </BoundingBox> <Properties> <Property name="type" value="simulation"/> </Properties> </Pedestrian> </ScenarioObject> <ScenarioObject name="pedestrian_close_to_adversary_11215"> <Pedestrian model="walker.pedestrian.0001" mass="80" name="walker.pedestrian.0001" pedestrianCategory="pedestrian"> <ParameterDeclarations/> <BoundingBox> <Center x="1.5" y="0.0" z="0.9"/> <Dimensions width="2" length="2" height="2"/> </BoundingBox> <Properties> <Property name="type" value="simulation"/> </Properties> </Pedestrian> </ScenarioObject> <ScenarioObject name="pedestrian_close_to_standing_11216"> <Pedestrian model="walker.pedestrian.0001" mass="80" name="walker.pedestrian.0001" pedestrianCategory="pedestrian"> <ParameterDeclarations/> <BoundingBox> <Center x="1.5" y="0.0" z="0.9"/> <Dimensions width="2" length="2" height="2"/> </BoundingBox> <Properties> <Property name="type" value="simulation"/> </Properties> </Pedestrian> </ScenarioObject> <ScenarioObject name="pedestrian_w_transform_11217"> <Pedestrian model="walker.pedestrian.0001" mass="80" name="walker.pedestrian.0001" pedestrianCategory="pedestrian"> <ParameterDeclarations/> <BoundingBox> <Center x="1.5" y="0.0" z="0.9"/> <Dimensions width="2" length="2" height="2"/> </BoundingBox> <Properties> <Property name="type" value="simulation"/> </Properties> </Pedestrian> </ScenarioObject> <ScenarioObject name="pedestrian_w_transform_11218"> <Pedestrian model="walker.pedestrian.0001" mass="80" name="walker.pedestrian.0001" pedestrianCategory="pedestrian"> <ParameterDeclarations/> <BoundingBox> <Center x="1.5" y="0.0" z="0.9"/> <Dimensions width="2" length="2" height="2"/> </BoundingBox> <Properties> <Property name="type" value="simulation"/> </Properties> </Pedestrian> </ScenarioObject> <ScenarioObject name="pedestrian_close_to_hero_11219"> <Pedestrian model="walker.pedestrian.0001" mass="80" name="walker.pedestrian.0001" pedestrianCategory="pedestrian"> <ParameterDeclarations/> <BoundingBox> <Center x="1.5" y="0.0" z="0.9"/> <Dimensions width="2" length="2" height="2"/> </BoundingBox> <Properties> <Property name="type" value="simulation"/> </Properties> </Pedestrian> </ScenarioObject> <ScenarioObject name="pedestrian_w_transform_11220"> <Pedestrian model="walker.pedestrian.0001" mass="80" name="walker.pedestrian.0001" pedestrianCategory="pedestrian"> <ParameterDeclarations/> <BoundingBox> <Center x="1.5" y="0.0" z="0.9"/> <Dimensions width="2" length="2" height="2"/> </BoundingBox> <Properties> <Property name="type" value="simulation"/> </Properties> </Pedestrian> </ScenarioObject> <ScenarioObject name="pedestrian_close_to_hero_11221"> <Pedestrian model="walker.pedestrian.0001" mass="80" name="walker.pedestrian.0001" pedestrianCategory="pedestrian"> <ParameterDeclarations/> <BoundingBox> <Center x="1.5" y="0.0" z="0.9"/> <Dimensions width="2" length="2" height="2"/> </BoundingBox> <Properties> <Property name="type" value="simulation"/> </Properties> </Pedestrian> </ScenarioObject> </Entities> <Storyboard> <Init> <Actions> <GlobalAction> <EnvironmentAction> <Environment name="Environment1"> <TimeOfDay animation="false" dateTime="2019-06-25T12:00:00"/> <Weather cloudState="free"> <Sun intensity="0.85" azimuth="0" elevation="1.31"/> <Fog visualRange="100000.0"/> <Precipitation precipitationType="dry" intensity="0.0"/> </Weather> <RoadCondition frictionScaleFactor="1.0"/> </Environment> </EnvironmentAction> </GlobalAction> <Private entityRef="hero"> <PrivateAction> <TeleportAction> <Position> <WorldPosition x="-9.4" y="-152.8" z="0.5" h="1.57079632679"/> </Position> </TeleportAction> </PrivateAction> <PrivateAction> <ControllerAction> <AssignControllerAction> <Controller name="HeroAgent"> <Properties> <Property name="module" value="external_control"/> </Properties> </Controller> </AssignControllerAction> <OverrideControllerValueAction> <Throttle value="0" active="false"/> <Brake value="0" active="false"/> <Clutch value="0" active="false"/> <ParkingBrake value="0" active="false"/> <SteeringWheel value="0" active="false"/> <Gear number="0" active="false"/> </OverrideControllerValueAction> </ControllerAction> </PrivateAction> </Private> <Private entityRef="adversary"> <PrivateAction> <TeleportAction> <Position> <WorldPosition x="-9.4" y="-71.0" z="0.5" h="1.57079632679"/> </Position> </TeleportAction> </PrivateAction> </Private> <Private entityRef="standing"> <PrivateAction> <TeleportAction> <Position> <WorldPosition x="-8.2" y="29.2" z="0.5" h="1.57079632679"/> </Position> </TeleportAction> </PrivateAction> </Private> <Private entityRef="pedestrian_close_to_hero_11208"> <PrivateAction> <TeleportAction> <Position> <WorldPosition x="-13.767608642578125" y="-160.47080993652344" z="0.0014286803780123591"/> </Position> </TeleportAction> </PrivateAction> </Private> <Private entityRef="pedestrian_close_to_adversary_11209"> <PrivateAction> <TeleportAction> <Position> <WorldPosition x="-15.845294952392578" y="-78.92700958251953" z="0.0338224396109581"/> </Position> </TeleportAction> </PrivateAction> </Private> <Private entityRef="pedestrian_close_to_standing_11210"> <PrivateAction> <TeleportAction> <Position> <WorldPosition x="-10.421806335449219" y="14.182209014892578" z="0.0030948256608098745"/> </Position> </TeleportAction> </PrivateAction> </Private> <Private entityRef="pedestrian_close_to_standing_11211"> <PrivateAction> <TeleportAction> <Position> <WorldPosition x="-13.276288032531738" y="37.60588073730469" z="0.003074913052842021"/> </Position> </TeleportAction> </PrivateAction> </Private> <Private entityRef="pedestrian_close_to_adversary_11212"> <PrivateAction> <TeleportAction> <Position> <WorldPosition x="-12.760239601135254" y="-64.07867431640625" z="0.033788491040468216"/> </Position> </TeleportAction> </PrivateAction> </Private> <Private entityRef="pedestrian_close_to_adversary_11213"> <PrivateAction> <TeleportAction> <Position> <WorldPosition x="-5.751049041748047" y="-63.68022155761719" z="0.03378036245703697"/> </Position> </TeleportAction> </PrivateAction> </Private> <Private entityRef="pedestrian_w_transform_11214"> <PrivateAction> <TeleportAction> <Position> <WorldPosition x="73.13721466064453" y="56.970767974853516" z="0.5"/> </Position> </TeleportAction> </PrivateAction> </Private> <Private entityRef="pedestrian_close_to_adversary_11215"> <PrivateAction> <TeleportAction> <Position> <WorldPosition x="-11.958005905151367" y="-71.80033111572266" z="0.03379131108522415"/> </Position> </TeleportAction> </PrivateAction> </Private> <Private entityRef="pedestrian_close_to_standing_11216"> <PrivateAction> <TeleportAction> <Position> <WorldPosition x="-7.653652191162109" y="34.370994567871094" z="0.0030269240960478783"/> </Position> </TeleportAction> </PrivateAction> </Private> <Private entityRef="pedestrian_w_transform_11217"> <PrivateAction> <TeleportAction> <Position> <WorldPosition x="12.598731994628906" y="-5.457090854644775" z="0.5"/> </Position> </TeleportAction> </PrivateAction> </Private> <Private entityRef="pedestrian_w_transform_11218"> <PrivateAction> <TeleportAction> <Position> <WorldPosition x="58.761104583740234" y="-45.960819244384766" z="0.5"/> </Position> </TeleportAction> </PrivateAction> </Private> <Private entityRef="pedestrian_close_to_hero_11219"> <PrivateAction> <TeleportAction> <Position> <WorldPosition x="-5.291648864746094" y="-159.9649200439453" z="0.0014286803780123591"/> </Position> </TeleportAction> </PrivateAction> </Private> <Private entityRef="pedestrian_w_transform_11220"> <PrivateAction> <TeleportAction> <Position> <WorldPosition x="-53.6191520690918" y="91.8637466430664" z="0.5"/> </Position> </TeleportAction> </PrivateAction> </Private> <Private entityRef="pedestrian_close_to_hero_11221"> <PrivateAction> <TeleportAction> <Position> <WorldPosition x="-11.29624080657959" y="-157.43540954589844" z="0.0014286803780123591"/> </Position> </TeleportAction> </PrivateAction> </Private> </Actions> </Init> <Story name="MyStory"> <Act name="Behavior"> <ManeuverGroup maximumExecutionCount="1" name="ManeuverSequence"> <Actors selectTriggeringEntities="false"> <EntityRef entityRef="adversary"/> </Actors> <Maneuver name="LaneChangeSimpleManeuver"> <Event name="AdversaryAccelerates" priority="overwrite"> <Action name="AdversaryAccelerates"> <PrivateAction> <LongitudinalAction> <SpeedAction> <SpeedActionDynamics dynamicsShape="step" value="50" dynamicsDimension="distance"/> <SpeedActionTarget> <AbsoluteTargetSpeed value="5.0"/> </SpeedActionTarget> </SpeedAction> </LongitudinalAction> </PrivateAction> </Action> <StartTrigger> <ConditionGroup> <Condition name="StartCondition" delay="0" conditionEdge="rising"> <ByEntityCondition> <TriggeringEntities triggeringEntitiesRule="any"> <EntityRef entityRef="hero"/> </TriggeringEntities> <EntityCondition> <RelativeDistanceCondition entityRef="adversary" relativeDistanceType="cartesianDistance" value="40.0" freespace="false" rule="lessThan"/> </EntityCondition> </ByEntityCondition> </Condition> </ConditionGroup> </StartTrigger> </Event> <Event name="AdversaryChangesLane" priority="overwrite"> <Action name="AdversaryChangesLane"> <PrivateAction> <LateralAction> <LaneChangeAction> <LaneChangeActionDynamics dynamicsShape="linear" value="25" dynamicsDimension="distance"/> <LaneChangeTarget> <RelativeTargetLane entityRef="adversary" value="-1"/> </LaneChangeTarget> </LaneChangeAction> </LateralAction> </PrivateAction> </Action> <StartTrigger> <ConditionGroup> <Condition name="AfterAdversaryAccelerates" delay="0" conditionEdge="rising"> <ByValueCondition> <StoryboardElementStateCondition storyboardElementType="action" storyboardElementRef="AdversaryAccelerates" state="completeState"/> </ByValueCondition> </Condition> </ConditionGroup> </StartTrigger> </Event> </Maneuver> </ManeuverGroup> <StartTrigger> <ConditionGroup> <Condition name="OverallStartCondition" delay="0" conditionEdge="rising"> <ByEntityCondition> <TriggeringEntities triggeringEntitiesRule="any"> <EntityRef entityRef="hero"/> </TriggeringEntities> <EntityCondition> <TraveledDistanceCondition value="1.0"/> </EntityCondition> </ByEntityCondition> </Condition> <Condition name="StartTime" delay="0" conditionEdge="rising"> <ByValueCondition> <SimulationTimeCondition value="0" rule="equalTo"/> </ByValueCondition> </Condition> </ConditionGroup> </StartTrigger> <StopTrigger> <ConditionGroup> <Condition name="EndCondition" delay="0" conditionEdge="rising"> <ByEntityCondition> <TriggeringEntities triggeringEntitiesRule="any"> <EntityRef entityRef="hero"/> </TriggeringEntities> <EntityCondition> <TraveledDistanceCondition value="200.0"/> </EntityCondition> </ByEntityCondition> </Condition> </ConditionGroup> </StopTrigger> </Act> </Story> <StopTrigger> <ConditionGroup> <Condition name="criteria_RunningStopTest" delay="0" conditionEdge="rising"> <ByValueCondition> <ParameterCondition parameterRef="" value="" rule="lessThan"/> </ByValueCondition> </Condition> <Condition name="criteria_RunningRedLightTest" delay="0" conditionEdge="rising"> <ByValueCondition> <ParameterCondition parameterRef="" value="" rule="lessThan"/> </ByValueCondition> </Condition> <Condition name="criteria_WrongLaneTest" delay="0" conditionEdge="rising"> <ByValueCondition> <ParameterCondition parameterRef="" value="" rule="lessThan"/> </ByValueCondition> </Condition> <Condition name="criteria_OnSidewalkTest" delay="0" conditionEdge="rising"> <ByValueCondition> <ParameterCondition parameterRef="" value="" rule="lessThan"/> </ByValueCondition> </Condition> <Condition name="criteria_KeepLaneTest" delay="0" conditionEdge="rising"> <ByValueCondition> <ParameterCondition parameterRef="" value="" rule="lessThan"/> </ByValueCondition> </Condition> <Condition name="criteria_CollisionTest" delay="0" conditionEdge="rising"> <ByValueCondition> <ParameterCondition parameterRef="" value="" rule="lessThan"/> </ByValueCondition> </Condition> <Condition name="criteria_DrivenDistanceTest" delay="0" conditionEdge="rising"> <ByValueCondition> <ParameterCondition parameterRef="distance_success" value="100" rule="lessThan"/> </ByValueCondition> </Condition> </ConditionGroup> </StopTrigger> </Storyboard> </OpenSCENARIO> ```
Here is the result: ``` <?xml version="1.0" ?> <OpenSCENARIO> <FileHeader revMajor="1" revMinor="0" date="2020-03-24T12:00:00" description="CARLA:LaneChangeSimple" author=""/> <ParameterDeclarations/> <CatalogLocations/> <RoadNetwork> <LogicFile filepath="Town04"/> <SceneGraphFile filepath=""/> </RoadNetwork> <Entities> <ScenarioObject name="hero"> <Vehicle name="vehicle.tesla.model3" vehicleCategory="car"> <ParameterDeclarations/> <Performance maxSpeed="69.444" maxAcceleration="200" maxDeceleration="10.0"/> <BoundingBox> <Center x="1.5" y="0.0" z="0.9"/> <Dimensions width="2.1" length="4.5" height="1.8"/> </BoundingBox> <Axles> <FrontAxle maxSteering="0.5" wheelDiameter="0.6" trackWidth="1.8" positionX="3.1" positionZ="0.3"/> <RearAxle maxSteering="0.0" wheelDiameter="0.6" trackWidth="1.8" positionX="0.0" positionZ="0.3"/> </Axles> <Properties> <Property name="type" value="ego_vehicle"/> </Properties> </Vehicle> </ScenarioObject> <ScenarioObject name="adversary"> <Vehicle name="vehicle.lincoln.mkz_2017" vehicleCategory="car"> <ParameterDeclarations/> <Performance maxSpeed="69.444" maxAcceleration="200" maxDeceleration="10.0"/> <BoundingBox> <Center x="1.5" y="0.0" z="0.9"/> <Dimensions width="2.1" length="4.5" height="1.8"/> </BoundingBox> <Axles> <FrontAxle maxSteering="0.5" wheelDiameter="0.6" trackWidth="1.8" positionX="3.1" positionZ="0.3"/> <RearAxle maxSteering="0.0" wheelDiameter="0.6" trackWidth="1.8" positionX="0.0" positionZ="0.3"/> </Axles> <Properties> <Property name="type" value="simulation"/> </Properties> </Vehicle> </ScenarioObject> <ScenarioObject name="standing"> <Vehicle name="vehicle.volkswagen.t2" vehicleCategory="car"> <ParameterDeclarations/> <Performance maxSpeed="69.444" maxAcceleration="200" maxDeceleration="10.0"/> <BoundingBox> <Center x="1.5" y="0.0" z="0.9"/> <Dimensions width="2.1" length="4.5" height="1.8"/> </BoundingBox> <Axles> <FrontAxle maxSteering="0.5" wheelDiameter="0.6" trackWidth="1.8" positionX="3.1" positionZ="0.3"/> <RearAxle maxSteering="0.0" wheelDiameter="0.6" trackWidth="1.8" positionX="0.0" positionZ="0.3"/> </Axles> <Properties> <Property name="type" value="simulation"/> </Properties> </Vehicle> </ScenarioObject> <ScenarioObject name="pedestrian_close_to_hero_11208"> <Pedestrian model="walker.pedestrian.0001" mass="80" name="walker.pedestrian.0001" pedestrianCategory="pedestrian"> <ParameterDeclarations/> <BoundingBox> <Center x="1.5" y="0.0" z="0.9"/> <Dimensions width="2" length="2" height="2"/> </BoundingBox> <Properties> <Property name="type" value="simulation"/> </Properties> </Pedestrian> </ScenarioObject> <ScenarioObject name="pedestrian_close_to_adversary_11209"> <Pedestrian model="walker.pedestrian.0001" mass="80" name="walker.pedestrian.0001" pedestrianCategory="pedestrian"> <ParameterDeclarations/> <BoundingBox> <Center x="1.5" y="0.0" z="0.9"/> <Dimensions width="2" length="2" height="2"/> </BoundingBox> <Properties> <Property name="type" value="simulation"/> </Properties> </Pedestrian> </ScenarioObject> <ScenarioObject name="pedestrian_close_to_standing_11210"> <Pedestrian model="walker.pedestrian.0001" mass="80" name="walker.pedestrian.0001" pedestrianCategory="pedestrian"> <ParameterDeclarations/> <BoundingBox> <Center x="1.5" y="0.0" z="0.9"/> <Dimensions width="2" length="2" height="2"/> </BoundingBox> <Properties> <Property name="type" value="simulation"/> </Properties> </Pedestrian> </ScenarioObject> <ScenarioObject name="pedestrian_close_to_standing_11211"> <Pedestrian model="walker.pedestrian.0001" mass="80" name="walker.pedestrian.0001" pedestrianCategory="pedestrian"> <ParameterDeclarations/> <BoundingBox> <Center x="1.5" y="0.0" z="0.9"/> <Dimensions width="2" length="2" height="2"/> </BoundingBox> <Properties> <Property name="type" value="simulation"/> </Properties> </Pedestrian> </ScenarioObject> <ScenarioObject name="pedestrian_close_to_adversary_11212"> <Pedestrian model="walker.pedestrian.0001" mass="80" name="walker.pedestrian.0001" pedestrianCategory="pedestrian"> <ParameterDeclarations/> <BoundingBox> <Center x="1.5" y="0.0" z="0.9"/> <Dimensions width="2" length="2" height="2"/> </BoundingBox> <Properties> <Property name="type" value="simulation"/> </Properties> </Pedestrian> </ScenarioObject> <ScenarioObject name="pedestrian_close_to_adversary_11213"> <Pedestrian model="walker.pedestrian.0001" mass="80" name="walker.pedestrian.0001" pedestrianCategory="pedestrian"> <ParameterDeclarations/> <BoundingBox> <Center x="1.5" y="0.0" z="0.9"/> <Dimensions width="2" length="2" height="2"/> </BoundingBox> <Properties> <Property name="type" value="simulation"/> </Properties> </Pedestrian> </ScenarioObject> <ScenarioObject name="pedestrian_w_transform_11214"> <Pedestrian model="walker.pedestrian.0001" mass="80" name="walker.pedestrian.0001" pedestrianCategory="pedestrian"> <ParameterDeclarations/> <BoundingBox> <Center x="1.5" y="0.0" z="0.9"/> <Dimensions width="2" length="2" height="2"/> </BoundingBox> <Properties> <Property name="type" value="simulation"/> </Properties> </Pedestrian> </ScenarioObject> <ScenarioObject name="pedestrian_close_to_adversary_11215"> <Pedestrian model="walker.pedestrian.0001" mass="80" name="walker.pedestrian.0001" pedestrianCategory="pedestrian"> <ParameterDeclarations/> <BoundingBox> <Center x="1.5" y="0.0" z="0.9"/> <Dimensions width="2" length="2" height="2"/> </BoundingBox> <Properties> <Property name="type" value="simulation"/> </Properties> </Pedestrian> </ScenarioObject> <ScenarioObject name="pedestrian_w_transform_11217"> <Pedestrian model="walker.pedestrian.0001" mass="80" name="walker.pedestrian.0001" pedestrianCategory="pedestrian"> <ParameterDeclarations/> <BoundingBox> <Center x="1.5" y="0.0" z="0.9"/> <Dimensions width="2" length="2" height="2"/> </BoundingBox> <Properties> <Property name="type" value="simulation"/> </Properties> </Pedestrian> </ScenarioObject> <ScenarioObject name="pedestrian_w_transform_11218"> <Pedestrian model="walker.pedestrian.0001" mass="80" name="walker.pedestrian.0001" pedestrianCategory="pedestrian"> <ParameterDeclarations/> <BoundingBox> <Center x="1.5" y="0.0" z="0.9"/> <Dimensions width="2" length="2" height="2"/> </BoundingBox> <Properties> <Property name="type" value="simulation"/> </Properties> </Pedestrian> </ScenarioObject> <ScenarioObject name="pedestrian_close_to_hero_11219"> <Pedestrian model="walker.pedestrian.0001" mass="80" name="walker.pedestrian.0001" pedestrianCategory="pedestrian"> <ParameterDeclarations/> <BoundingBox> <Center x="1.5" y="0.0" z="0.9"/> <Dimensions width="2" length="2" height="2"/> </BoundingBox> <Properties> <Property name="type" value="simulation"/> </Properties> </Pedestrian> </ScenarioObject> <ScenarioObject name="pedestrian_w_transform_11220"> <Pedestrian model="walker.pedestrian.0001" mass="80" name="walker.pedestrian.0001" pedestrianCategory="pedestrian"> <ParameterDeclarations/> <BoundingBox> <Center x="1.5" y="0.0" z="0.9"/> <Dimensions width="2" length="2" height="2"/> </BoundingBox> <Properties> <Property name="type" value="simulation"/> </Properties> </Pedestrian> </ScenarioObject> <ScenarioObject name="pedestrian_close_to_hero_11221"> <Pedestrian model="walker.pedestrian.0001" mass="80" name="walker.pedestrian.0001" pedestrianCategory="pedestrian"> <ParameterDeclarations/> <BoundingBox> <Center x="1.5" y="0.0" z="0.9"/> <Dimensions width="2" length="2" height="2"/> </BoundingBox> <Properties> <Property name="type" value="simulation"/> </Properties> </Pedestrian> </ScenarioObject> </Entities> <Storyboard> <Init> <Actions> <GlobalAction> <EnvironmentAction> <Environment name="Environment1"> <TimeOfDay animation="false" dateTime="2019-06-25T12:00:00"/> <Weather cloudState="free"> <Sun intensity="0.85" azimuth="0" elevation="1.31"/> <Fog visualRange="100000.0"/> <Precipitation precipitationType="dry" intensity="0.0"/> </Weather> <RoadCondition frictionScaleFactor="1.0"/> </Environment> </EnvironmentAction> </GlobalAction> <Private entityRef="hero"> <PrivateAction> <TeleportAction> <Position> <WorldPosition x="-9.4" y="-152.8" z="0.5" h="1.57079632679"/> </Position> </TeleportAction> </PrivateAction> <PrivateAction> <ControllerAction> <AssignControllerAction> <Controller name="HeroAgent"> <Properties> <Property name="module" value="external_control"/> </Properties> </Controller> </AssignControllerAction> <OverrideControllerValueAction> <Throttle value="0" active="false"/> <Brake value="0" active="false"/> <Clutch value="0" active="false"/> <ParkingBrake value="0" active="false"/> <SteeringWheel value="0" active="false"/> <Gear number="0" active="false"/> </OverrideControllerValueAction> </ControllerAction> </PrivateAction> </Private> <Private entityRef="adversary"> <PrivateAction> <TeleportAction> <Position> <WorldPosition x="-9.4" y="-71.0" z="0.5" h="1.57079632679"/> </Position> </TeleportAction> </PrivateAction> </Private> <Private entityRef="standing"> <PrivateAction> <TeleportAction> <Position> <WorldPosition x="-8.2" y="29.2" z="0.5" h="1.57079632679"/> </Position> </TeleportAction> </PrivateAction> </Private> <Private entityRef="pedestrian_close_to_hero_11208"> <PrivateAction> <TeleportAction> <Position> <WorldPosition x="-13.767608642578125" y="-160.47080993652344" z="0.0014286803780123591"/> </Position> </TeleportAction> </PrivateAction> </Private> <Private entityRef="pedestrian_close_to_adversary_11209"> <PrivateAction> <TeleportAction> <Position> <WorldPosition x="-15.845294952392578" y="-78.92700958251953" z="0.0338224396109581"/> </Position> </TeleportAction> </PrivateAction> </Private> <Private entityRef="pedestrian_close_to_standing_11210"> <PrivateAction> <TeleportAction> <Position> <WorldPosition x="-10.421806335449219" y="14.182209014892578" z="0.0030948256608098745"/> </Position> </TeleportAction> </PrivateAction> </Private> <Private entityRef="pedestrian_close_to_standing_11211"> <PrivateAction> <TeleportAction> <Position> <WorldPosition x="-13.276288032531738" y="37.60588073730469" z="0.003074913052842021"/> </Position> </TeleportAction> </PrivateAction> </Private> <Private entityRef="pedestrian_close_to_adversary_11212"> <PrivateAction> <TeleportAction> <Position> <WorldPosition x="-12.760239601135254" y="-64.07867431640625" z="0.033788491040468216"/> </Position> </TeleportAction> </PrivateAction> </Private> <Private entityRef="pedestrian_close_to_adversary_11213"> <PrivateAction> <TeleportAction> <Position> <WorldPosition x="-5.751049041748047" y="-63.68022155761719" z="0.03378036245703697"/> </Position> </TeleportAction> </PrivateAction> </Private> <Private entityRef="pedestrian_w_transform_11214"> <PrivateAction> <TeleportAction> <Position> <WorldPosition x="73.13721466064453" y="56.970767974853516" z="0.5"/> </Position> </TeleportAction> </PrivateAction> </Private> <Private entityRef="pedestrian_close_to_adversary_11215"> <PrivateAction> <TeleportAction> <Position> <WorldPosition x="-11.958005905151367" y="-71.80033111572266" z="0.03379131108522415"/> </Position> </TeleportAction> </PrivateAction> </Private> <Private entityRef="pedestrian_w_transform_11217"> <PrivateAction> <TeleportAction> <Position> <WorldPosition x="12.598731994628906" y="-5.457090854644775" z="0.5"/> </Position> </TeleportAction> </PrivateAction> </Private> <Private entityRef="pedestrian_w_transform_11218"> <PrivateAction> <TeleportAction> <Position> <WorldPosition x="58.761104583740234" y="-45.960819244384766" z="0.5"/> </Position> </TeleportAction> </PrivateAction> </Private> <Private entityRef="pedestrian_close_to_hero_11219"> <PrivateAction> <TeleportAction> <Position> <WorldPosition x="-5.291648864746094" y="-159.9649200439453" z="0.0014286803780123591"/> </Position> </TeleportAction> </PrivateAction> </Private> <Private entityRef="pedestrian_w_transform_11220"> <PrivateAction> <TeleportAction> <Position> <WorldPosition x="-53.6191520690918" y="91.8637466430664" z="0.5"/> </Position> </TeleportAction> </PrivateAction> </Private> <Private entityRef="pedestrian_close_to_hero_11221"> <PrivateAction> <TeleportAction> <Position> <WorldPosition x="-11.29624080657959" y="-157.43540954589844" z="0.0014286803780123591"/> </Position> </TeleportAction> </PrivateAction> </Private> </Actions> </Init> <Story name="MyStory"> <Act name="Behavior"> <ManeuverGroup maximumExecutionCount="1" name="ManeuverSequence"> <Actors selectTriggeringEntities="false"> <EntityRef entityRef="adversary"/> </Actors> <Maneuver name="LaneChangeSimpleManeuver"> <Event name="AdversaryAccelerates" priority="overwrite"> <Action name="AdversaryAccelerates"> <PrivateAction> <LongitudinalAction> <SpeedAction> <SpeedActionDynamics dynamicsShape="step" value="50" dynamicsDimension="distance"/> <SpeedActionTarget> <AbsoluteTargetSpeed value="5.0"/> </SpeedActionTarget> </SpeedAction> </LongitudinalAction> </PrivateAction> </Action> <StartTrigger> <ConditionGroup> <Condition name="StartCondition" delay="0" conditionEdge="rising"> <ByEntityCondition> <TriggeringEntities triggeringEntitiesRule="any"> <EntityRef entityRef="hero"/> </TriggeringEntities> <EntityCondition> <RelativeDistanceCondition entityRef="adversary" relativeDistanceType="cartesianDistance" value="40.0" freespace="false" rule="lessThan"/> </EntityCondition> </ByEntityCondition> </Condition> </ConditionGroup> </StartTrigger> </Event> <Event name="AdversaryChangesLane" priority="overwrite"> <Action name="AdversaryChangesLane"> <PrivateAction> <LateralAction> <LaneChangeAction> <LaneChangeActionDynamics dynamicsShape="linear" value="25" dynamicsDimension="distance"/> <LaneChangeTarget> <RelativeTargetLane entityRef="adversary" value="-1"/> </LaneChangeTarget> </LaneChangeAction> </LateralAction> </PrivateAction> </Action> <StartTrigger> <ConditionGroup> <Condition name="AfterAdversaryAccelerates" delay="0" conditionEdge="rising"> <ByValueCondition> <StoryboardElementStateCondition storyboardElementType="action" storyboardElementRef="AdversaryAccelerates" state="completeState"/> </ByValueCondition> </Condition> </ConditionGroup> </StartTrigger> </Event> </Maneuver> </ManeuverGroup> <StartTrigger> <ConditionGroup> <Condition name="OverallStartCondition" delay="0" conditionEdge="rising"> <ByEntityCondition> <TriggeringEntities triggeringEntitiesRule="any"> <EntityRef entityRef="hero"/> </TriggeringEntities> <EntityCondition> <TraveledDistanceCondition value="1.0"/> </EntityCondition> </ByEntityCondition> </Condition> <Condition name="StartTime" delay="0" conditionEdge="rising"> <ByValueCondition> <SimulationTimeCondition value="0" rule="equalTo"/> </ByValueCondition> </Condition> </ConditionGroup> </StartTrigger> <StopTrigger> <ConditionGroup> <Condition name="EndCondition" delay="0" conditionEdge="rising"> <ByEntityCondition> <TriggeringEntities triggeringEntitiesRule="any"> <EntityRef entityRef="hero"/> </TriggeringEntities> <EntityCondition> <TraveledDistanceCondition value="200.0"/> </EntityCondition> </ByEntityCondition> </Condition> </ConditionGroup> </StopTrigger> </Act> </Story> <StopTrigger> <ConditionGroup> <Condition name="criteria_RunningStopTest" delay="0" conditionEdge="rising"> <ByValueCondition> <ParameterCondition parameterRef="" value="" rule="lessThan"/> </ByValueCondition> </Condition> <Condition name="criteria_RunningRedLightTest" delay="0" conditionEdge="rising"> <ByValueCondition> <ParameterCondition parameterRef="" value="" rule="lessThan"/> </ByValueCondition> </Condition> <Condition name="criteria_WrongLaneTest" delay="0" conditionEdge="rising"> <ByValueCondition> <ParameterCondition parameterRef="" value="" rule="lessThan"/> </ByValueCondition> </Condition> <Condition name="criteria_OnSidewalkTest" delay="0" conditionEdge="rising"> <ByValueCondition> <ParameterCondition parameterRef="" value="" rule="lessThan"/> </ByValueCondition> </Condition> <Condition name="criteria_KeepLaneTest" delay="0" conditionEdge="rising"> <ByValueCondition> <ParameterCondition parameterRef="" value="" rule="lessThan"/> </ByValueCondition> </Condition> <Condition name="criteria_CollisionTest" delay="0" conditionEdge="rising"> <ByValueCondition> <ParameterCondition parameterRef="" value="" rule="lessThan"/> </ByValueCondition> </Condition> <Condition name="criteria_DrivenDistanceTest" delay="0" conditionEdge="rising"> <ByValueCondition> <ParameterCondition parameterRef="distance_success" value="100" rule="lessThan"/> </ByValueCondition> </Condition> </ConditionGroup> </StopTrigger> </Storyboard> </OpenSCENARIO> ```
i would like to lead you to remove pedestrian close to hero? ``` <?xml version="1.0" ?> <OpenSCENARIO> <FileHeader revMajor="1" revMinor="0" date="2020-03-24T12:00:00" description="CARLA:LaneChangeSimple" author=""/> <ParameterDeclarations/> <CatalogLocations/> <RoadNetwork> <LogicFile filepath="Town04"/> <SceneGraphFile filepath=""/> </RoadNetwork> <Entities> <ScenarioObject name="hero"> <Vehicle name="vehicle.tesla.model3" vehicleCategory="car"> <ParameterDeclarations/> <Performance maxSpeed="69.444" maxAcceleration="200" maxDeceleration="10.0"/> <BoundingBox> <Center x="1.5" y="0.0" z="0.9"/> <Dimensions width="2.1" length="4.5" height="1.8"/> </BoundingBox> <Axles> <FrontAxle maxSteering="0.5" wheelDiameter="0.6" trackWidth="1.8" positionX="3.1" positionZ="0.3"/> <RearAxle maxSteering="0.0" wheelDiameter="0.6" trackWidth="1.8" positionX="0.0" positionZ="0.3"/> </Axles> <Properties> <Property name="type" value="ego_vehicle"/> </Properties> </Vehicle> </ScenarioObject> <ScenarioObject name="adversary"> <Vehicle name="vehicle.lincoln.mkz_2017" vehicleCategory="car"> <ParameterDeclarations/> <Performance maxSpeed="69.444" maxAcceleration="200" maxDeceleration="10.0"/> <BoundingBox> <Center x="1.5" y="0.0" z="0.9"/> <Dimensions width="2.1" length="4.5" height="1.8"/> </BoundingBox> <Axles> <FrontAxle maxSteering="0.5" wheelDiameter="0.6" trackWidth="1.8" positionX="3.1" positionZ="0.3"/> <RearAxle maxSteering="0.0" wheelDiameter="0.6" trackWidth="1.8" positionX="0.0" positionZ="0.3"/> </Axles> <Properties> <Property name="type" value="simulation"/> </Properties> </Vehicle> </ScenarioObject> <ScenarioObject name="standing"> <Vehicle name="vehicle.volkswagen.t2" vehicleCategory="car"> <ParameterDeclarations/> <Performance maxSpeed="69.444" maxAcceleration="200" maxDeceleration="10.0"/> <BoundingBox> <Center x="1.5" y="0.0" z="0.9"/> <Dimensions width="2.1" length="4.5" height="1.8"/> </BoundingBox> <Axles> <FrontAxle maxSteering="0.5" wheelDiameter="0.6" trackWidth="1.8" positionX="3.1" positionZ="0.3"/> <RearAxle maxSteering="0.0" wheelDiameter="0.6" trackWidth="1.8" positionX="0.0" positionZ="0.3"/> </Axles> <Properties> <Property name="type" value="simulation"/> </Properties> </Vehicle> </ScenarioObject> <ScenarioObject name="pedestrian_close_to_hero_24094"> <Pedestrian model="walker.pedestrian.0001" mass="80" name="walker.pedestrian.0001" pedestrianCategory="pedestrian"> <ParameterDeclarations/> <BoundingBox> <Center x="1.5" y="0.0" z="0.9"/> <Dimensions width="2" length="2" height="2"/> </BoundingBox> <Properties> <Property name="type" value="simulation"/> </Properties> </Pedestrian> </ScenarioObject> <ScenarioObject name="pedestrian_w_transform_24095"> <Pedestrian model="walker.pedestrian.0001" mass="80" name="walker.pedestrian.0001" pedestrianCategory="pedestrian"> <ParameterDeclarations/> <BoundingBox> <Center x="1.5" y="0.0" z="0.9"/> <Dimensions width="2" length="2" height="2"/> </BoundingBox> <Properties> <Property name="type" value="simulation"/> </Properties> </Pedestrian> </ScenarioObject> <ScenarioObject name="pedestrian_close_to_adversary_24098"> <Pedestrian model="walker.pedestrian.0001" mass="80" name="walker.pedestrian.0001" pedestrianCategory="pedestrian"> <ParameterDeclarations/> <BoundingBox> <Center x="1.5" y="0.0" z="0.9"/> <Dimensions width="2" length="2" height="2"/> </BoundingBox> <Properties> <Property name="type" value="simulation"/> </Properties> </Pedestrian> </ScenarioObject> <ScenarioObject name="pedestrian_close_to_hero_24101"> <Pedestrian model="walker.pedestrian.0001" mass="80" name="walker.pedestrian.0001" pedestrianCategory="pedestrian"> <ParameterDeclarations/> <BoundingBox> <Center x="1.5" y="0.0" z="0.9"/> <Dimensions width="2" length="2" height="2"/> </BoundingBox> <Properties> <Property name="type" value="simulation"/> </Properties> </Pedestrian> </ScenarioObject> <ScenarioObject name="pedestrian_close_to_hero_24102"> <Pedestrian model="walker.pedestrian.0001" mass="80" name="walker.pedestrian.0001" pedestrianCategory="pedestrian"> <ParameterDeclarations/> <BoundingBox> <Center x="1.5" y="0.0" z="0.9"/> <Dimensions width="2" length="2" height="2"/> </BoundingBox> <Properties> <Property name="type" value="simulation"/> </Properties> </Pedestrian> </ScenarioObject> <ScenarioObject name="pedestrian_w_transform_24107"> <Pedestrian model="walker.pedestrian.0001" mass="80" name="walker.pedestrian.0001" pedestrianCategory="pedestrian"> <ParameterDeclarations/> <BoundingBox> <Center x="1.5" y="0.0" z="0.9"/> <Dimensions width="2" length="2" height="2"/> </BoundingBox> <Properties> <Property name="type" value="simulation"/> </Properties> </Pedestrian> </ScenarioObject> <ScenarioObject name="pedestrian_w_transform_24110"> <Pedestrian model="walker.pedestrian.0001" mass="80" name="walker.pedestrian.0001" pedestrianCategory="pedestrian"> <ParameterDeclarations/> <BoundingBox> <Center x="1.5" y="0.0" z="0.9"/> <Dimensions width="2" length="2" height="2"/> </BoundingBox> <Properties> <Property name="type" value="simulation"/> </Properties> </Pedestrian> </ScenarioObject> <ScenarioObject name="pedestrian_w_transform_24113"> <Pedestrian model="walker.pedestrian.0001" mass="80" name="walker.pedestrian.0001" pedestrianCategory="pedestrian"> <ParameterDeclarations/> <BoundingBox> <Center x="1.5" y="0.0" z="0.9"/> <Dimensions width="2" length="2" height="2"/> </BoundingBox> <Properties> <Property name="type" value="simulation"/> </Properties> </Pedestrian> </ScenarioObject> <ScenarioObject name="pedestrian_w_transform_24114"> <Pedestrian model="walker.pedestrian.0001" mass="80" name="walker.pedestrian.0001" pedestrianCategory="pedestrian"> <ParameterDeclarations/> <BoundingBox> <Center x="1.5" y="0.0" z="0.9"/> <Dimensions width="2" length="2" height="2"/> </BoundingBox> <Properties> <Property name="type" value="simulation"/> </Properties> </Pedestrian> </ScenarioObject> </Entities> <Storyboard> <Init> <Actions> <GlobalAction> <EnvironmentAction> <Environment name="Environment1"> <TimeOfDay animation="false" dateTime="2019-06-25T12:00:00"/> <Weather cloudState="free"> <Sun intensity="0.85" azimuth="0" elevation="1.31"/> <Fog visualRange="100000.0"/> <Precipitation precipitationType="dry" intensity="0.0"/> </Weather> <RoadCondition frictionScaleFactor="1.0"/> </Environment> </EnvironmentAction> </GlobalAction> <Private entityRef="hero"> <PrivateAction> <TeleportAction> <Position> <WorldPosition x="-9.4" y="-152.8" z="0.5" h="1.57079632679"/> </Position> </TeleportAction> </PrivateAction> <PrivateAction> <ControllerAction> <AssignControllerAction> <Controller name="HeroAgent"> <Properties> <Property name="module" value="external_control"/> </Properties> </Controller> </AssignControllerAction> <OverrideControllerValueAction> <Throttle value="0" active="false"/> <Brake value="0" active="false"/> <Clutch value="0" active="false"/> <ParkingBrake value="0" active="false"/> <SteeringWheel value="0" active="false"/> <Gear number="0" active="false"/> </OverrideControllerValueAction> </ControllerAction> </PrivateAction> </Private> <Private entityRef="adversary"> <PrivateAction> <TeleportAction> <Position> <WorldPosition x="-9.4" y="-71.0" z="0.5" h="1.57079632679"/> </Position> </TeleportAction> </PrivateAction> </Private> <Private entityRef="standing"> <PrivateAction> <TeleportAction> <Position> <WorldPosition x="-8.2" y="29.2" z="0.5" h="1.57079632679"/> </Position> </TeleportAction> </PrivateAction> </Private> <Private entityRef="pedestrian_close_to_hero_24094"> <PrivateAction> <TeleportAction> <Position> <WorldPosition x="-12.566872596740723" y="-145.2974090576172" z="0.0014286803780123591"/> </Position> </TeleportAction> </PrivateAction> </Private> <Private entityRef="pedestrian_w_transform_24095"> <PrivateAction> <TeleportAction> <Position> <WorldPosition x="18.022594451904297" y="7.546180725097656" z="0.5"/> </Position> </TeleportAction> </PrivateAction> </Private> <Private entityRef="pedestrian_close_to_adversary_24098"> <PrivateAction> <TeleportAction> <Position> <WorldPosition x="-6.955868244171143" y="-63.737525939941406" z="0.033822592347860336"/> </Position> </TeleportAction> </PrivateAction> </Private> <Private entityRef="pedestrian_close_to_hero_24101"> <PrivateAction> <TeleportAction> <Position> <WorldPosition x="-7.791660785675049" y="-139.15711975097656" z="0.0014286803780123591"/> </Position> </TeleportAction> </PrivateAction> </Private> <Private entityRef="pedestrian_close_to_hero_24102"> <PrivateAction> <TeleportAction> <Position> <WorldPosition x="-20.184186935424805" y="-143.37098693847656" z="0.0014286803780123591"/> </Position> </TeleportAction> </PrivateAction> </Private> <Private entityRef="pedestrian_w_transform_24107"> <PrivateAction> <TeleportAction> <Position> <WorldPosition x="-95.12162780761719" y="92.43637084960938" z="0.5"/> </Position> </TeleportAction> </PrivateAction> </Private> <Private entityRef="pedestrian_w_transform_24110"> <PrivateAction> <TeleportAction> <Position> <WorldPosition x="-44.25010299682617" y="68.89396667480469" z="0.5"/> </Position> </TeleportAction> </PrivateAction> </Private> <Private entityRef="pedestrian_w_transform_24113"> <PrivateAction> <TeleportAction> <Position> <WorldPosition x="-31.473838806152344" y="49.5799674987793" z="0.5"/> </Position> </TeleportAction> </PrivateAction> </Private> <Private entityRef="pedestrian_w_transform_24114"> <PrivateAction> <TeleportAction> <Position> <WorldPosition x="68.2287368774414" y="-64.162109375" z="0.5"/> </Position> </TeleportAction> </PrivateAction> </Private> </Actions> </Init> <Story name="MyStory"> <Act name="Behavior"> <ManeuverGroup maximumExecutionCount="1" name="ManeuverSequence"> <Actors selectTriggeringEntities="false"> <EntityRef entityRef="adversary"/> </Actors> <Maneuver name="LaneChangeSimpleManeuver"> <Event name="AdversaryAccelerates" priority="overwrite"> <Action name="AdversaryAccelerates"> <PrivateAction> <LongitudinalAction> <SpeedAction> <SpeedActionDynamics dynamicsShape="step" value="50" dynamicsDimension="distance"/> <SpeedActionTarget> <AbsoluteTargetSpeed value="5.0"/> </SpeedActionTarget> </SpeedAction> </LongitudinalAction> </PrivateAction> </Action> <StartTrigger> <ConditionGroup> <Condition name="StartCondition" delay="0" conditionEdge="rising"> <ByEntityCondition> <TriggeringEntities triggeringEntitiesRule="any"> <EntityRef entityRef="hero"/> </TriggeringEntities> <EntityCondition> <RelativeDistanceCondition entityRef="adversary" relativeDistanceType="cartesianDistance" value="40.0" freespace="false" rule="lessThan"/> </EntityCondition> </ByEntityCondition> </Condition> </ConditionGroup> </StartTrigger> </Event> <Event name="AdversaryChangesLane" priority="overwrite"> <Action name="AdversaryChangesLane"> <PrivateAction> <LateralAction> <LaneChangeAction> <LaneChangeActionDynamics dynamicsShape="linear" value="25" dynamicsDimension="distance"/> <LaneChangeTarget> <RelativeTargetLane entityRef="adversary" value="-1"/> </LaneChangeTarget> </LaneChangeAction> </LateralAction> </PrivateAction> </Action> <StartTrigger> <ConditionGroup> <Condition name="AfterAdversaryAccelerates" delay="0" conditionEdge="rising"> <ByValueCondition> <StoryboardElementStateCondition storyboardElementType="action" storyboardElementRef="AdversaryAccelerates" state="completeState"/> </ByValueCondition> </Condition> </ConditionGroup> </StartTrigger> </Event> </Maneuver> </ManeuverGroup> <StartTrigger> <ConditionGroup> <Condition name="OverallStartCondition" delay="0" conditionEdge="rising"> <ByEntityCondition> <TriggeringEntities triggeringEntitiesRule="any"> <EntityRef entityRef="hero"/> </TriggeringEntities> <EntityCondition> <TraveledDistanceCondition value="1.0"/> </EntityCondition> </ByEntityCondition> </Condition> <Condition name="StartTime" delay="0" conditionEdge="rising"> <ByValueCondition> <SimulationTimeCondition value="0" rule="equalTo"/> </ByValueCondition> </Condition> </ConditionGroup> </StartTrigger> <StopTrigger> <ConditionGroup> <Condition name="EndCondition" delay="0" conditionEdge="rising"> <ByEntityCondition> <TriggeringEntities triggeringEntitiesRule="any"> <EntityRef entityRef="hero"/> </TriggeringEntities> <EntityCondition> <TraveledDistanceCondition value="200.0"/> </EntityCondition> </ByEntityCondition> </Condition> </ConditionGroup> </StopTrigger> </Act> </Story> <StopTrigger> <ConditionGroup> <Condition name="criteria_RunningStopTest" delay="0" conditionEdge="rising"> <ByValueCondition> <ParameterCondition parameterRef="" value="" rule="lessThan"/> </ByValueCondition> </Condition> <Condition name="criteria_RunningRedLightTest" delay="0" conditionEdge="rising"> <ByValueCondition> <ParameterCondition parameterRef="" value="" rule="lessThan"/> </ByValueCondition> </Condition> <Condition name="criteria_WrongLaneTest" delay="0" conditionEdge="rising"> <ByValueCondition> <ParameterCondition parameterRef="" value="" rule="lessThan"/> </ByValueCondition> </Condition> <Condition name="criteria_OnSidewalkTest" delay="0" conditionEdge="rising"> <ByValueCondition> <ParameterCondition parameterRef="" value="" rule="lessThan"/> </ByValueCondition> </Condition> <Condition name="criteria_KeepLaneTest" delay="0" conditionEdge="rising"> <ByValueCondition> <ParameterCondition parameterRef="" value="" rule="lessThan"/> </ByValueCondition> </Condition> <Condition name="criteria_CollisionTest" delay="0" conditionEdge="rising"> <ByValueCondition> <ParameterCondition parameterRef="" value="" rule="lessThan"/> </ByValueCondition> </Condition> <Condition name="criteria_DrivenDistanceTest" delay="0" conditionEdge="rising"> <ByValueCondition> <ParameterCondition parameterRef="distance_success" value="100" rule="lessThan"/> </ByValueCondition> </Condition> </ConditionGroup> </StopTrigger> </Storyboard> </OpenSCENARIO> ```
Here is the result: ``` <?xml version="1.0" ?> <OpenSCENARIO> <FileHeader revMajor="1" revMinor="0" date="2020-03-24T12:00:00" description="CARLA:LaneChangeSimple" author=""/> <ParameterDeclarations/> <CatalogLocations/> <RoadNetwork> <LogicFile filepath="Town04"/> <SceneGraphFile filepath=""/> </RoadNetwork> <Entities> <ScenarioObject name="hero"> <Vehicle name="vehicle.tesla.model3" vehicleCategory="car"> <ParameterDeclarations/> <Performance maxSpeed="69.444" maxAcceleration="200" maxDeceleration="10.0"/> <BoundingBox> <Center x="1.5" y="0.0" z="0.9"/> <Dimensions width="2.1" length="4.5" height="1.8"/> </BoundingBox> <Axles> <FrontAxle maxSteering="0.5" wheelDiameter="0.6" trackWidth="1.8" positionX="3.1" positionZ="0.3"/> <RearAxle maxSteering="0.0" wheelDiameter="0.6" trackWidth="1.8" positionX="0.0" positionZ="0.3"/> </Axles> <Properties> <Property name="type" value="ego_vehicle"/> </Properties> </Vehicle> </ScenarioObject> <ScenarioObject name="adversary"> <Vehicle name="vehicle.lincoln.mkz_2017" vehicleCategory="car"> <ParameterDeclarations/> <Performance maxSpeed="69.444" maxAcceleration="200" maxDeceleration="10.0"/> <BoundingBox> <Center x="1.5" y="0.0" z="0.9"/> <Dimensions width="2.1" length="4.5" height="1.8"/> </BoundingBox> <Axles> <FrontAxle maxSteering="0.5" wheelDiameter="0.6" trackWidth="1.8" positionX="3.1" positionZ="0.3"/> <RearAxle maxSteering="0.0" wheelDiameter="0.6" trackWidth="1.8" positionX="0.0" positionZ="0.3"/> </Axles> <Properties> <Property name="type" value="simulation"/> </Properties> </Vehicle> </ScenarioObject> <ScenarioObject name="standing"> <Vehicle name="vehicle.volkswagen.t2" vehicleCategory="car"> <ParameterDeclarations/> <Performance maxSpeed="69.444" maxAcceleration="200" maxDeceleration="10.0"/> <BoundingBox> <Center x="1.5" y="0.0" z="0.9"/> <Dimensions width="2.1" length="4.5" height="1.8"/> </BoundingBox> <Axles> <FrontAxle maxSteering="0.5" wheelDiameter="0.6" trackWidth="1.8" positionX="3.1" positionZ="0.3"/> <RearAxle maxSteering="0.0" wheelDiameter="0.6" trackWidth="1.8" positionX="0.0" positionZ="0.3"/> </Axles> <Properties> <Property name="type" value="simulation"/> </Properties> </Vehicle> </ScenarioObject> <ScenarioObject name="pedestrian_w_transform_24095"> <Pedestrian model="walker.pedestrian.0001" mass="80" name="walker.pedestrian.0001" pedestrianCategory="pedestrian"> <ParameterDeclarations/> <BoundingBox> <Center x="1.5" y="0.0" z="0.9"/> <Dimensions width="2" length="2" height="2"/> </BoundingBox> <Properties> <Property name="type" value="simulation"/> </Properties> </Pedestrian> </ScenarioObject> <ScenarioObject name="pedestrian_close_to_adversary_24098"> <Pedestrian model="walker.pedestrian.0001" mass="80" name="walker.pedestrian.0001" pedestrianCategory="pedestrian"> <ParameterDeclarations/> <BoundingBox> <Center x="1.5" y="0.0" z="0.9"/> <Dimensions width="2" length="2" height="2"/> </BoundingBox> <Properties> <Property name="type" value="simulation"/> </Properties> </Pedestrian> </ScenarioObject> <ScenarioObject name="pedestrian_close_to_hero_24101"> <Pedestrian model="walker.pedestrian.0001" mass="80" name="walker.pedestrian.0001" pedestrianCategory="pedestrian"> <ParameterDeclarations/> <BoundingBox> <Center x="1.5" y="0.0" z="0.9"/> <Dimensions width="2" length="2" height="2"/> </BoundingBox> <Properties> <Property name="type" value="simulation"/> </Properties> </Pedestrian> </ScenarioObject> <ScenarioObject name="pedestrian_close_to_hero_24102"> <Pedestrian model="walker.pedestrian.0001" mass="80" name="walker.pedestrian.0001" pedestrianCategory="pedestrian"> <ParameterDeclarations/> <BoundingBox> <Center x="1.5" y="0.0" z="0.9"/> <Dimensions width="2" length="2" height="2"/> </BoundingBox> <Properties> <Property name="type" value="simulation"/> </Properties> </Pedestrian> </ScenarioObject> <ScenarioObject name="pedestrian_w_transform_24107"> <Pedestrian model="walker.pedestrian.0001" mass="80" name="walker.pedestrian.0001" pedestrianCategory="pedestrian"> <ParameterDeclarations/> <BoundingBox> <Center x="1.5" y="0.0" z="0.9"/> <Dimensions width="2" length="2" height="2"/> </BoundingBox> <Properties> <Property name="type" value="simulation"/> </Properties> </Pedestrian> </ScenarioObject> <ScenarioObject name="pedestrian_w_transform_24110"> <Pedestrian model="walker.pedestrian.0001" mass="80" name="walker.pedestrian.0001" pedestrianCategory="pedestrian"> <ParameterDeclarations/> <BoundingBox> <Center x="1.5" y="0.0" z="0.9"/> <Dimensions width="2" length="2" height="2"/> </BoundingBox> <Properties> <Property name="type" value="simulation"/> </Properties> </Pedestrian> </ScenarioObject> <ScenarioObject name="pedestrian_w_transform_24113"> <Pedestrian model="walker.pedestrian.0001" mass="80" name="walker.pedestrian.0001" pedestrianCategory="pedestrian"> <ParameterDeclarations/> <BoundingBox> <Center x="1.5" y="0.0" z="0.9"/> <Dimensions width="2" length="2" height="2"/> </BoundingBox> <Properties> <Property name="type" value="simulation"/> </Properties> </Pedestrian> </ScenarioObject> <ScenarioObject name="pedestrian_w_transform_24114"> <Pedestrian model="walker.pedestrian.0001" mass="80" name="walker.pedestrian.0001" pedestrianCategory="pedestrian"> <ParameterDeclarations/> <BoundingBox> <Center x="1.5" y="0.0" z="0.9"/> <Dimensions width="2" length="2" height="2"/> </BoundingBox> <Properties> <Property name="type" value="simulation"/> </Properties> </Pedestrian> </ScenarioObject> </Entities> <Storyboard> <Init> <Actions> <GlobalAction> <EnvironmentAction> <Environment name="Environment1"> <TimeOfDay animation="false" dateTime="2019-06-25T12:00:00"/> <Weather cloudState="free"> <Sun intensity="0.85" azimuth="0" elevation="1.31"/> <Fog visualRange="100000.0"/> <Precipitation precipitationType="dry" intensity="0.0"/> </Weather> <RoadCondition frictionScaleFactor="1.0"/> </Environment> </EnvironmentAction> </GlobalAction> <Private entityRef="hero"> <PrivateAction> <TeleportAction> <Position> <WorldPosition x="-9.4" y="-152.8" z="0.5" h="1.57079632679"/> </Position> </TeleportAction> </PrivateAction> <PrivateAction> <ControllerAction> <AssignControllerAction> <Controller name="HeroAgent"> <Properties> <Property name="module" value="external_control"/> </Properties> </Controller> </AssignControllerAction> <OverrideControllerValueAction> <Throttle value="0" active="false"/> <Brake value="0" active="false"/> <Clutch value="0" active="false"/> <ParkingBrake value="0" active="false"/> <SteeringWheel value="0" active="false"/> <Gear number="0" active="false"/> </OverrideControllerValueAction> </ControllerAction> </PrivateAction> </Private> <Private entityRef="adversary"> <PrivateAction> <TeleportAction> <Position> <WorldPosition x="-9.4" y="-71.0" z="0.5" h="1.57079632679"/> </Position> </TeleportAction> </PrivateAction> </Private> <Private entityRef="standing"> <PrivateAction> <TeleportAction> <Position> <WorldPosition x="-8.2" y="29.2" z="0.5" h="1.57079632679"/> </Position> </TeleportAction> </PrivateAction> </Private> <Private entityRef="pedestrian_w_transform_24095"> <PrivateAction> <TeleportAction> <Position> <WorldPosition x="18.022594451904297" y="7.546180725097656" z="0.5"/> </Position> </TeleportAction> </PrivateAction> </Private> <Private entityRef="pedestrian_close_to_adversary_24098"> <PrivateAction> <TeleportAction> <Position> <WorldPosition x="-6.955868244171143" y="-63.737525939941406" z="0.033822592347860336"/> </Position> </TeleportAction> </PrivateAction> </Private> <Private entityRef="pedestrian_close_to_hero_24101"> <PrivateAction> <TeleportAction> <Position> <WorldPosition x="-7.791660785675049" y="-139.15711975097656" z="0.0014286803780123591"/> </Position> </TeleportAction> </PrivateAction> </Private> <Private entityRef="pedestrian_close_to_hero_24102"> <PrivateAction> <TeleportAction> <Position> <WorldPosition x="-20.184186935424805" y="-143.37098693847656" z="0.0014286803780123591"/> </Position> </TeleportAction> </PrivateAction> </Private> <Private entityRef="pedestrian_w_transform_24107"> <PrivateAction> <TeleportAction> <Position> <WorldPosition x="-95.12162780761719" y="92.43637084960938" z="0.5"/> </Position> </TeleportAction> </PrivateAction> </Private> <Private entityRef="pedestrian_w_transform_24110"> <PrivateAction> <TeleportAction> <Position> <WorldPosition x="-44.25010299682617" y="68.89396667480469" z="0.5"/> </Position> </TeleportAction> </PrivateAction> </Private> <Private entityRef="pedestrian_w_transform_24113"> <PrivateAction> <TeleportAction> <Position> <WorldPosition x="-31.473838806152344" y="49.5799674987793" z="0.5"/> </Position> </TeleportAction> </PrivateAction> </Private> <Private entityRef="pedestrian_w_transform_24114"> <PrivateAction> <TeleportAction> <Position> <WorldPosition x="68.2287368774414" y="-64.162109375" z="0.5"/> </Position> </TeleportAction> </PrivateAction> </Private> </Actions> </Init> <Story name="MyStory"> <Act name="Behavior"> <ManeuverGroup maximumExecutionCount="1" name="ManeuverSequence"> <Actors selectTriggeringEntities="false"> <EntityRef entityRef="adversary"/> </Actors> <Maneuver name="LaneChangeSimpleManeuver"> <Event name="AdversaryAccelerates" priority="overwrite"> <Action name="AdversaryAccelerates"> <PrivateAction> <LongitudinalAction> <SpeedAction> <SpeedActionDynamics dynamicsShape="step" value="50" dynamicsDimension="distance"/> <SpeedActionTarget> <AbsoluteTargetSpeed value="5.0"/> </SpeedActionTarget> </SpeedAction> </LongitudinalAction> </PrivateAction> </Action> <StartTrigger> <ConditionGroup> <Condition name="StartCondition" delay="0" conditionEdge="rising"> <ByEntityCondition> <TriggeringEntities triggeringEntitiesRule="any"> <EntityRef entityRef="hero"/> </TriggeringEntities> <EntityCondition> <RelativeDistanceCondition entityRef="adversary" relativeDistanceType="cartesianDistance" value="40.0" freespace="false" rule="lessThan"/> </EntityCondition> </ByEntityCondition> </Condition> </ConditionGroup> </StartTrigger> </Event> <Event name="AdversaryChangesLane" priority="overwrite"> <Action name="AdversaryChangesLane"> <PrivateAction> <LateralAction> <LaneChangeAction> <LaneChangeActionDynamics dynamicsShape="linear" value="25" dynamicsDimension="distance"/> <LaneChangeTarget> <RelativeTargetLane entityRef="adversary" value="-1"/> </LaneChangeTarget> </LaneChangeAction> </LateralAction> </PrivateAction> </Action> <StartTrigger> <ConditionGroup> <Condition name="AfterAdversaryAccelerates" delay="0" conditionEdge="rising"> <ByValueCondition> <StoryboardElementStateCondition storyboardElementType="action" storyboardElementRef="AdversaryAccelerates" state="completeState"/> </ByValueCondition> </Condition> </ConditionGroup> </StartTrigger> </Event> </Maneuver> </ManeuverGroup> <StartTrigger> <ConditionGroup> <Condition name="OverallStartCondition" delay="0" conditionEdge="rising"> <ByEntityCondition> <TriggeringEntities triggeringEntitiesRule="any"> <EntityRef entityRef="hero"/> </TriggeringEntities> <EntityCondition> <TraveledDistanceCondition value="1.0"/> </EntityCondition> </ByEntityCondition> </Condition> <Condition name="StartTime" delay="0" conditionEdge="rising"> <ByValueCondition> <SimulationTimeCondition value="0" rule="equalTo"/> </ByValueCondition> </Condition> </ConditionGroup> </StartTrigger> <StopTrigger> <ConditionGroup> <Condition name="EndCondition" delay="0" conditionEdge="rising"> <ByEntityCondition> <TriggeringEntities triggeringEntitiesRule="any"> <EntityRef entityRef="hero"/> </TriggeringEntities> <EntityCondition> <TraveledDistanceCondition value="200.0"/> </EntityCondition> </ByEntityCondition> </Condition> </ConditionGroup> </StopTrigger> </Act> </Story> <StopTrigger> <ConditionGroup> <Condition name="criteria_RunningStopTest" delay="0" conditionEdge="rising"> <ByValueCondition> <ParameterCondition parameterRef="" value="" rule="lessThan"/> </ByValueCondition> </Condition> <Condition name="criteria_RunningRedLightTest" delay="0" conditionEdge="rising"> <ByValueCondition> <ParameterCondition parameterRef="" value="" rule="lessThan"/> </ByValueCondition> </Condition> <Condition name="criteria_WrongLaneTest" delay="0" conditionEdge="rising"> <ByValueCondition> <ParameterCondition parameterRef="" value="" rule="lessThan"/> </ByValueCondition> </Condition> <Condition name="criteria_OnSidewalkTest" delay="0" conditionEdge="rising"> <ByValueCondition> <ParameterCondition parameterRef="" value="" rule="lessThan"/> </ByValueCondition> </Condition> <Condition name="criteria_KeepLaneTest" delay="0" conditionEdge="rising"> <ByValueCondition> <ParameterCondition parameterRef="" value="" rule="lessThan"/> </ByValueCondition> </Condition> <Condition name="criteria_CollisionTest" delay="0" conditionEdge="rising"> <ByValueCondition> <ParameterCondition parameterRef="" value="" rule="lessThan"/> </ByValueCondition> </Condition> <Condition name="criteria_DrivenDistanceTest" delay="0" conditionEdge="rising"> <ByValueCondition> <ParameterCondition parameterRef="distance_success" value="100" rule="lessThan"/> </ByValueCondition> </Condition> </ConditionGroup> </StopTrigger> </Storyboard> </OpenSCENARIO> ```
i would like to guide you to add pedestrian at location (-44.19, 48.42, 0.5)? ``` <?xml version="1.0" ?> <OpenSCENARIO> <FileHeader revMajor="1" revMinor="0" date="2020-03-24T12:00:00" description="CARLA:LaneChangeSimple" author=""/> <ParameterDeclarations/> <CatalogLocations/> <RoadNetwork> <LogicFile filepath="Town04"/> <SceneGraphFile filepath=""/> </RoadNetwork> <Entities> <ScenarioObject name="hero"> <Vehicle name="vehicle.tesla.model3" vehicleCategory="car"> <ParameterDeclarations/> <Performance maxSpeed="69.444" maxAcceleration="200" maxDeceleration="10.0"/> <BoundingBox> <Center x="1.5" y="0.0" z="0.9"/> <Dimensions width="2.1" length="4.5" height="1.8"/> </BoundingBox> <Axles> <FrontAxle maxSteering="0.5" wheelDiameter="0.6" trackWidth="1.8" positionX="3.1" positionZ="0.3"/> <RearAxle maxSteering="0.0" wheelDiameter="0.6" trackWidth="1.8" positionX="0.0" positionZ="0.3"/> </Axles> <Properties> <Property name="type" value="ego_vehicle"/> </Properties> </Vehicle> </ScenarioObject> <ScenarioObject name="adversary"> <Vehicle name="vehicle.lincoln.mkz_2017" vehicleCategory="car"> <ParameterDeclarations/> <Performance maxSpeed="69.444" maxAcceleration="200" maxDeceleration="10.0"/> <BoundingBox> <Center x="1.5" y="0.0" z="0.9"/> <Dimensions width="2.1" length="4.5" height="1.8"/> </BoundingBox> <Axles> <FrontAxle maxSteering="0.5" wheelDiameter="0.6" trackWidth="1.8" positionX="3.1" positionZ="0.3"/> <RearAxle maxSteering="0.0" wheelDiameter="0.6" trackWidth="1.8" positionX="0.0" positionZ="0.3"/> </Axles> <Properties> <Property name="type" value="simulation"/> </Properties> </Vehicle> </ScenarioObject> <ScenarioObject name="standing"> <Vehicle name="vehicle.volkswagen.t2" vehicleCategory="car"> <ParameterDeclarations/> <Performance maxSpeed="69.444" maxAcceleration="200" maxDeceleration="10.0"/> <BoundingBox> <Center x="1.5" y="0.0" z="0.9"/> <Dimensions width="2.1" length="4.5" height="1.8"/> </BoundingBox> <Axles> <FrontAxle maxSteering="0.5" wheelDiameter="0.6" trackWidth="1.8" positionX="3.1" positionZ="0.3"/> <RearAxle maxSteering="0.0" wheelDiameter="0.6" trackWidth="1.8" positionX="0.0" positionZ="0.3"/> </Axles> <Properties> <Property name="type" value="simulation"/> </Properties> </Vehicle> </ScenarioObject> <ScenarioObject name="pedestrian_close_to_hero_14960"> <Pedestrian model="walker.pedestrian.0001" mass="80" name="walker.pedestrian.0001" pedestrianCategory="pedestrian"> <ParameterDeclarations/> <BoundingBox> <Center x="1.5" y="0.0" z="0.9"/> <Dimensions width="2" length="2" height="2"/> </BoundingBox> <Properties> <Property name="type" value="simulation"/> </Properties> </Pedestrian> </ScenarioObject> <ScenarioObject name="pedestrian_w_transform_14961"> <Pedestrian model="walker.pedestrian.0001" mass="80" name="walker.pedestrian.0001" pedestrianCategory="pedestrian"> <ParameterDeclarations/> <BoundingBox> <Center x="1.5" y="0.0" z="0.9"/> <Dimensions width="2" length="2" height="2"/> </BoundingBox> <Properties> <Property name="type" value="simulation"/> </Properties> </Pedestrian> </ScenarioObject> <ScenarioObject name="pedestrian_close_to_adversary_14962"> <Pedestrian model="walker.pedestrian.0001" mass="80" name="walker.pedestrian.0001" pedestrianCategory="pedestrian"> <ParameterDeclarations/> <BoundingBox> <Center x="1.5" y="0.0" z="0.9"/> <Dimensions width="2" length="2" height="2"/> </BoundingBox> <Properties> <Property name="type" value="simulation"/> </Properties> </Pedestrian> </ScenarioObject> <ScenarioObject name="pedestrian_close_to_hero_14963"> <Pedestrian model="walker.pedestrian.0001" mass="80" name="walker.pedestrian.0001" pedestrianCategory="pedestrian"> <ParameterDeclarations/> <BoundingBox> <Center x="1.5" y="0.0" z="0.9"/> <Dimensions width="2" length="2" height="2"/> </BoundingBox> <Properties> <Property name="type" value="simulation"/> </Properties> </Pedestrian> </ScenarioObject> <ScenarioObject name="pedestrian_close_to_standing_14964"> <Pedestrian model="walker.pedestrian.0001" mass="80" name="walker.pedestrian.0001" pedestrianCategory="pedestrian"> <ParameterDeclarations/> <BoundingBox> <Center x="1.5" y="0.0" z="0.9"/> <Dimensions width="2" length="2" height="2"/> </BoundingBox> <Properties> <Property name="type" value="simulation"/> </Properties> </Pedestrian> </ScenarioObject> <ScenarioObject name="pedestrian_w_transform_14965"> <Pedestrian model="walker.pedestrian.0001" mass="80" name="walker.pedestrian.0001" pedestrianCategory="pedestrian"> <ParameterDeclarations/> <BoundingBox> <Center x="1.5" y="0.0" z="0.9"/> <Dimensions width="2" length="2" height="2"/> </BoundingBox> <Properties> <Property name="type" value="simulation"/> </Properties> </Pedestrian> </ScenarioObject> <ScenarioObject name="pedestrian_close_to_standing_14966"> <Pedestrian model="walker.pedestrian.0001" mass="80" name="walker.pedestrian.0001" pedestrianCategory="pedestrian"> <ParameterDeclarations/> <BoundingBox> <Center x="1.5" y="0.0" z="0.9"/> <Dimensions width="2" length="2" height="2"/> </BoundingBox> <Properties> <Property name="type" value="simulation"/> </Properties> </Pedestrian> </ScenarioObject> <ScenarioObject name="pedestrian_close_to_hero_14967"> <Pedestrian model="walker.pedestrian.0001" mass="80" name="walker.pedestrian.0001" pedestrianCategory="pedestrian"> <ParameterDeclarations/> <BoundingBox> <Center x="1.5" y="0.0" z="0.9"/> <Dimensions width="2" length="2" height="2"/> </BoundingBox> <Properties> <Property name="type" value="simulation"/> </Properties> </Pedestrian> </ScenarioObject> <ScenarioObject name="pedestrian_w_transform_14968"> <Pedestrian model="walker.pedestrian.0001" mass="80" name="walker.pedestrian.0001" pedestrianCategory="pedestrian"> <ParameterDeclarations/> <BoundingBox> <Center x="1.5" y="0.0" z="0.9"/> <Dimensions width="2" length="2" height="2"/> </BoundingBox> <Properties> <Property name="type" value="simulation"/> </Properties> </Pedestrian> </ScenarioObject> <ScenarioObject name="pedestrian_w_transform_14969"> <Pedestrian model="walker.pedestrian.0001" mass="80" name="walker.pedestrian.0001" pedestrianCategory="pedestrian"> <ParameterDeclarations/> <BoundingBox> <Center x="1.5" y="0.0" z="0.9"/> <Dimensions width="2" length="2" height="2"/> </BoundingBox> <Properties> <Property name="type" value="simulation"/> </Properties> </Pedestrian> </ScenarioObject> <ScenarioObject name="pedestrian_w_transform_14970"> <Pedestrian model="walker.pedestrian.0001" mass="80" name="walker.pedestrian.0001" pedestrianCategory="pedestrian"> <ParameterDeclarations/> <BoundingBox> <Center x="1.5" y="0.0" z="0.9"/> <Dimensions width="2" length="2" height="2"/> </BoundingBox> <Properties> <Property name="type" value="simulation"/> </Properties> </Pedestrian> </ScenarioObject> <ScenarioObject name="pedestrian_close_to_standing_14971"> <Pedestrian model="walker.pedestrian.0001" mass="80" name="walker.pedestrian.0001" pedestrianCategory="pedestrian"> <ParameterDeclarations/> <BoundingBox> <Center x="1.5" y="0.0" z="0.9"/> <Dimensions width="2" length="2" height="2"/> </BoundingBox> <Properties> <Property name="type" value="simulation"/> </Properties> </Pedestrian> </ScenarioObject> <ScenarioObject name="pedestrian_close_to_hero_14972"> <Pedestrian model="walker.pedestrian.0001" mass="80" name="walker.pedestrian.0001" pedestrianCategory="pedestrian"> <ParameterDeclarations/> <BoundingBox> <Center x="1.5" y="0.0" z="0.9"/> <Dimensions width="2" length="2" height="2"/> </BoundingBox> <Properties> <Property name="type" value="simulation"/> </Properties> </Pedestrian> </ScenarioObject> <ScenarioObject name="pedestrian_close_to_hero_14973"> <Pedestrian model="walker.pedestrian.0001" mass="80" name="walker.pedestrian.0001" pedestrianCategory="pedestrian"> <ParameterDeclarations/> <BoundingBox> <Center x="1.5" y="0.0" z="0.9"/> <Dimensions width="2" length="2" height="2"/> </BoundingBox> <Properties> <Property name="type" value="simulation"/> </Properties> </Pedestrian> </ScenarioObject> </Entities> <Storyboard> <Init> <Actions> <GlobalAction> <EnvironmentAction> <Environment name="Environment1"> <TimeOfDay animation="false" dateTime="2019-06-25T12:00:00"/> <Weather cloudState="free"> <Sun intensity="0.85" azimuth="0" elevation="1.31"/> <Fog visualRange="100000.0"/> <Precipitation precipitationType="dry" intensity="0.0"/> </Weather> <RoadCondition frictionScaleFactor="1.0"/> </Environment> </EnvironmentAction> </GlobalAction> <Private entityRef="hero"> <PrivateAction> <TeleportAction> <Position> <WorldPosition x="-9.4" y="-152.8" z="0.5" h="1.57079632679"/> </Position> </TeleportAction> </PrivateAction> <PrivateAction> <ControllerAction> <AssignControllerAction> <Controller name="HeroAgent"> <Properties> <Property name="module" value="external_control"/> </Properties> </Controller> </AssignControllerAction> <OverrideControllerValueAction> <Throttle value="0" active="false"/> <Brake value="0" active="false"/> <Clutch value="0" active="false"/> <ParkingBrake value="0" active="false"/> <SteeringWheel value="0" active="false"/> <Gear number="0" active="false"/> </OverrideControllerValueAction> </ControllerAction> </PrivateAction> </Private> <Private entityRef="adversary"> <PrivateAction> <TeleportAction> <Position> <WorldPosition x="-9.4" y="-71.0" z="0.5" h="1.57079632679"/> </Position> </TeleportAction> </PrivateAction> </Private> <Private entityRef="standing"> <PrivateAction> <TeleportAction> <Position> <WorldPosition x="-8.2" y="29.2" z="0.5" h="1.57079632679"/> </Position> </TeleportAction> </PrivateAction> </Private> <Private entityRef="pedestrian_close_to_hero_14960"> <PrivateAction> <TeleportAction> <Position> <WorldPosition x="-4.908395290374756" y="-147.4180450439453" z="0.0014286803780123591"/> </Position> </TeleportAction> </PrivateAction> </Private> <Private entityRef="pedestrian_w_transform_14961"> <PrivateAction> <TeleportAction> <Position> <WorldPosition x="49.12538528442383" y="60.897491455078125" z="0.5"/> </Position> </TeleportAction> </PrivateAction> </Private> <Private entityRef="pedestrian_close_to_adversary_14962"> <PrivateAction> <TeleportAction> <Position> <WorldPosition x="-1.5984910726547241" y="-71.06973266601562" z="0.033779408782720566"/> </Position> </TeleportAction> </PrivateAction> </Private> <Private entityRef="pedestrian_close_to_hero_14963"> <PrivateAction> <TeleportAction> <Position> <WorldPosition x="-15.942831039428711" y="-161.7934112548828" z="0.0014286803780123591"/> </Position> </TeleportAction> </PrivateAction> </Private> <Private entityRef="pedestrian_close_to_standing_14964"> <PrivateAction> <TeleportAction> <Position> <WorldPosition x="-15.575913429260254" y="30.71619415283203" z="0.0030225752852857113"/> </Position> </TeleportAction> </PrivateAction> </Private> <Private entityRef="pedestrian_w_transform_14965"> <PrivateAction> <TeleportAction> <Position> <WorldPosition x="-65.8423080444336" y="20.84581756591797" z="0.5"/> </Position> </TeleportAction> </PrivateAction> </Private> <Private entityRef="pedestrian_close_to_standing_14966"> <PrivateAction> <TeleportAction> <Position> <WorldPosition x="-9.132763862609863" y="35.91490173339844" z="0.0029835128225386143"/> </Position> </TeleportAction> </PrivateAction> </Private> <Private entityRef="pedestrian_close_to_hero_14967"> <PrivateAction> <TeleportAction> <Position> <WorldPosition x="-3.1700515747070312" y="-153.080810546875" z="0.0014286803780123591"/> </Position> </TeleportAction> </PrivateAction> </Private> <Private entityRef="pedestrian_w_transform_14968"> <PrivateAction> <TeleportAction> <Position> <WorldPosition x="-14.599759101867676" y="-77.27301788330078" z="0.5"/> </Position> </TeleportAction> </PrivateAction> </Private> <Private entityRef="pedestrian_w_transform_14969"> <PrivateAction> <TeleportAction> <Position> <WorldPosition x="-83.10624694824219" y="48.333377838134766" z="0.5"/> </Position> </TeleportAction> </PrivateAction> </Private> <Private entityRef="pedestrian_w_transform_14970"> <PrivateAction> <TeleportAction> <Position> <WorldPosition x="23.76786994934082" y="-85.43190002441406" z="0.5"/> </Position> </TeleportAction> </PrivateAction> </Private> <Private entityRef="pedestrian_close_to_standing_14971"> <PrivateAction> <TeleportAction> <Position> <WorldPosition x="-10.342814445495605" y="27.20362663269043" z="0.0030691910069435835"/> </Position> </TeleportAction> </PrivateAction> </Private> <Private entityRef="pedestrian_close_to_hero_14972"> <PrivateAction> <TeleportAction> <Position> <WorldPosition x="-18.55818748474121" y="-161.45179748535156" z="0.0014286803780123591"/> </Position> </TeleportAction> </PrivateAction> </Private> <Private entityRef="pedestrian_close_to_hero_14973"> <PrivateAction> <TeleportAction> <Position> <WorldPosition x="-6.482043743133545" y="-153.4518280029297" z="0.0014286803780123591"/> </Position> </TeleportAction> </PrivateAction> </Private> </Actions> </Init> <Story name="MyStory"> <Act name="Behavior"> <ManeuverGroup maximumExecutionCount="1" name="ManeuverSequence"> <Actors selectTriggeringEntities="false"> <EntityRef entityRef="adversary"/> </Actors> <Maneuver name="LaneChangeSimpleManeuver"> <Event name="AdversaryAccelerates" priority="overwrite"> <Action name="AdversaryAccelerates"> <PrivateAction> <LongitudinalAction> <SpeedAction> <SpeedActionDynamics dynamicsShape="step" value="50" dynamicsDimension="distance"/> <SpeedActionTarget> <AbsoluteTargetSpeed value="5.0"/> </SpeedActionTarget> </SpeedAction> </LongitudinalAction> </PrivateAction> </Action> <StartTrigger> <ConditionGroup> <Condition name="StartCondition" delay="0" conditionEdge="rising"> <ByEntityCondition> <TriggeringEntities triggeringEntitiesRule="any"> <EntityRef entityRef="hero"/> </TriggeringEntities> <EntityCondition> <RelativeDistanceCondition entityRef="adversary" relativeDistanceType="cartesianDistance" value="40.0" freespace="false" rule="lessThan"/> </EntityCondition> </ByEntityCondition> </Condition> </ConditionGroup> </StartTrigger> </Event> <Event name="AdversaryChangesLane" priority="overwrite"> <Action name="AdversaryChangesLane"> <PrivateAction> <LateralAction> <LaneChangeAction> <LaneChangeActionDynamics dynamicsShape="linear" value="25" dynamicsDimension="distance"/> <LaneChangeTarget> <RelativeTargetLane entityRef="adversary" value="-1"/> </LaneChangeTarget> </LaneChangeAction> </LateralAction> </PrivateAction> </Action> <StartTrigger> <ConditionGroup> <Condition name="AfterAdversaryAccelerates" delay="0" conditionEdge="rising"> <ByValueCondition> <StoryboardElementStateCondition storyboardElementType="action" storyboardElementRef="AdversaryAccelerates" state="completeState"/> </ByValueCondition> </Condition> </ConditionGroup> </StartTrigger> </Event> </Maneuver> </ManeuverGroup> <StartTrigger> <ConditionGroup> <Condition name="OverallStartCondition" delay="0" conditionEdge="rising"> <ByEntityCondition> <TriggeringEntities triggeringEntitiesRule="any"> <EntityRef entityRef="hero"/> </TriggeringEntities> <EntityCondition> <TraveledDistanceCondition value="1.0"/> </EntityCondition> </ByEntityCondition> </Condition> <Condition name="StartTime" delay="0" conditionEdge="rising"> <ByValueCondition> <SimulationTimeCondition value="0" rule="equalTo"/> </ByValueCondition> </Condition> </ConditionGroup> </StartTrigger> <StopTrigger> <ConditionGroup> <Condition name="EndCondition" delay="0" conditionEdge="rising"> <ByEntityCondition> <TriggeringEntities triggeringEntitiesRule="any"> <EntityRef entityRef="hero"/> </TriggeringEntities> <EntityCondition> <TraveledDistanceCondition value="200.0"/> </EntityCondition> </ByEntityCondition> </Condition> </ConditionGroup> </StopTrigger> </Act> </Story> <StopTrigger> <ConditionGroup> <Condition name="criteria_RunningStopTest" delay="0" conditionEdge="rising"> <ByValueCondition> <ParameterCondition parameterRef="" value="" rule="lessThan"/> </ByValueCondition> </Condition> <Condition name="criteria_RunningRedLightTest" delay="0" conditionEdge="rising"> <ByValueCondition> <ParameterCondition parameterRef="" value="" rule="lessThan"/> </ByValueCondition> </Condition> <Condition name="criteria_WrongLaneTest" delay="0" conditionEdge="rising"> <ByValueCondition> <ParameterCondition parameterRef="" value="" rule="lessThan"/> </ByValueCondition> </Condition> <Condition name="criteria_OnSidewalkTest" delay="0" conditionEdge="rising"> <ByValueCondition> <ParameterCondition parameterRef="" value="" rule="lessThan"/> </ByValueCondition> </Condition> <Condition name="criteria_KeepLaneTest" delay="0" conditionEdge="rising"> <ByValueCondition> <ParameterCondition parameterRef="" value="" rule="lessThan"/> </ByValueCondition> </Condition> <Condition name="criteria_CollisionTest" delay="0" conditionEdge="rising"> <ByValueCondition> <ParameterCondition parameterRef="" value="" rule="lessThan"/> </ByValueCondition> </Condition> <Condition name="criteria_DrivenDistanceTest" delay="0" conditionEdge="rising"> <ByValueCondition> <ParameterCondition parameterRef="distance_success" value="100" rule="lessThan"/> </ByValueCondition> </Condition> </ConditionGroup> </StopTrigger> </Storyboard> </OpenSCENARIO> ```
Here is the result: ``` <?xml version="1.0" ?> <OpenSCENARIO> <FileHeader revMajor="1" revMinor="0" date="2020-03-24T12:00:00" description="CARLA:LaneChangeSimple" author=""/> <ParameterDeclarations/> <CatalogLocations/> <RoadNetwork> <LogicFile filepath="Town04"/> <SceneGraphFile filepath=""/> </RoadNetwork> <Entities> <ScenarioObject name="hero"> <Vehicle name="vehicle.tesla.model3" vehicleCategory="car"> <ParameterDeclarations/> <Performance maxSpeed="69.444" maxAcceleration="200" maxDeceleration="10.0"/> <BoundingBox> <Center x="1.5" y="0.0" z="0.9"/> <Dimensions width="2.1" length="4.5" height="1.8"/> </BoundingBox> <Axles> <FrontAxle maxSteering="0.5" wheelDiameter="0.6" trackWidth="1.8" positionX="3.1" positionZ="0.3"/> <RearAxle maxSteering="0.0" wheelDiameter="0.6" trackWidth="1.8" positionX="0.0" positionZ="0.3"/> </Axles> <Properties> <Property name="type" value="ego_vehicle"/> </Properties> </Vehicle> </ScenarioObject> <ScenarioObject name="adversary"> <Vehicle name="vehicle.lincoln.mkz_2017" vehicleCategory="car"> <ParameterDeclarations/> <Performance maxSpeed="69.444" maxAcceleration="200" maxDeceleration="10.0"/> <BoundingBox> <Center x="1.5" y="0.0" z="0.9"/> <Dimensions width="2.1" length="4.5" height="1.8"/> </BoundingBox> <Axles> <FrontAxle maxSteering="0.5" wheelDiameter="0.6" trackWidth="1.8" positionX="3.1" positionZ="0.3"/> <RearAxle maxSteering="0.0" wheelDiameter="0.6" trackWidth="1.8" positionX="0.0" positionZ="0.3"/> </Axles> <Properties> <Property name="type" value="simulation"/> </Properties> </Vehicle> </ScenarioObject> <ScenarioObject name="standing"> <Vehicle name="vehicle.volkswagen.t2" vehicleCategory="car"> <ParameterDeclarations/> <Performance maxSpeed="69.444" maxAcceleration="200" maxDeceleration="10.0"/> <BoundingBox> <Center x="1.5" y="0.0" z="0.9"/> <Dimensions width="2.1" length="4.5" height="1.8"/> </BoundingBox> <Axles> <FrontAxle maxSteering="0.5" wheelDiameter="0.6" trackWidth="1.8" positionX="3.1" positionZ="0.3"/> <RearAxle maxSteering="0.0" wheelDiameter="0.6" trackWidth="1.8" positionX="0.0" positionZ="0.3"/> </Axles> <Properties> <Property name="type" value="simulation"/> </Properties> </Vehicle> </ScenarioObject> <ScenarioObject name="pedestrian_close_to_hero_14960"> <Pedestrian model="walker.pedestrian.0001" mass="80" name="walker.pedestrian.0001" pedestrianCategory="pedestrian"> <ParameterDeclarations/> <BoundingBox> <Center x="1.5" y="0.0" z="0.9"/> <Dimensions width="2" length="2" height="2"/> </BoundingBox> <Properties> <Property name="type" value="simulation"/> </Properties> </Pedestrian> </ScenarioObject> <ScenarioObject name="pedestrian_w_transform_14961"> <Pedestrian model="walker.pedestrian.0001" mass="80" name="walker.pedestrian.0001" pedestrianCategory="pedestrian"> <ParameterDeclarations/> <BoundingBox> <Center x="1.5" y="0.0" z="0.9"/> <Dimensions width="2" length="2" height="2"/> </BoundingBox> <Properties> <Property name="type" value="simulation"/> </Properties> </Pedestrian> </ScenarioObject> <ScenarioObject name="pedestrian_close_to_adversary_14962"> <Pedestrian model="walker.pedestrian.0001" mass="80" name="walker.pedestrian.0001" pedestrianCategory="pedestrian"> <ParameterDeclarations/> <BoundingBox> <Center x="1.5" y="0.0" z="0.9"/> <Dimensions width="2" length="2" height="2"/> </BoundingBox> <Properties> <Property name="type" value="simulation"/> </Properties> </Pedestrian> </ScenarioObject> <ScenarioObject name="pedestrian_close_to_hero_14963"> <Pedestrian model="walker.pedestrian.0001" mass="80" name="walker.pedestrian.0001" pedestrianCategory="pedestrian"> <ParameterDeclarations/> <BoundingBox> <Center x="1.5" y="0.0" z="0.9"/> <Dimensions width="2" length="2" height="2"/> </BoundingBox> <Properties> <Property name="type" value="simulation"/> </Properties> </Pedestrian> </ScenarioObject> <ScenarioObject name="pedestrian_close_to_standing_14964"> <Pedestrian model="walker.pedestrian.0001" mass="80" name="walker.pedestrian.0001" pedestrianCategory="pedestrian"> <ParameterDeclarations/> <BoundingBox> <Center x="1.5" y="0.0" z="0.9"/> <Dimensions width="2" length="2" height="2"/> </BoundingBox> <Properties> <Property name="type" value="simulation"/> </Properties> </Pedestrian> </ScenarioObject> <ScenarioObject name="pedestrian_w_transform_14965"> <Pedestrian model="walker.pedestrian.0001" mass="80" name="walker.pedestrian.0001" pedestrianCategory="pedestrian"> <ParameterDeclarations/> <BoundingBox> <Center x="1.5" y="0.0" z="0.9"/> <Dimensions width="2" length="2" height="2"/> </BoundingBox> <Properties> <Property name="type" value="simulation"/> </Properties> </Pedestrian> </ScenarioObject> <ScenarioObject name="pedestrian_close_to_standing_14966"> <Pedestrian model="walker.pedestrian.0001" mass="80" name="walker.pedestrian.0001" pedestrianCategory="pedestrian"> <ParameterDeclarations/> <BoundingBox> <Center x="1.5" y="0.0" z="0.9"/> <Dimensions width="2" length="2" height="2"/> </BoundingBox> <Properties> <Property name="type" value="simulation"/> </Properties> </Pedestrian> </ScenarioObject> <ScenarioObject name="pedestrian_close_to_hero_14967"> <Pedestrian model="walker.pedestrian.0001" mass="80" name="walker.pedestrian.0001" pedestrianCategory="pedestrian"> <ParameterDeclarations/> <BoundingBox> <Center x="1.5" y="0.0" z="0.9"/> <Dimensions width="2" length="2" height="2"/> </BoundingBox> <Properties> <Property name="type" value="simulation"/> </Properties> </Pedestrian> </ScenarioObject> <ScenarioObject name="pedestrian_w_transform_14968"> <Pedestrian model="walker.pedestrian.0001" mass="80" name="walker.pedestrian.0001" pedestrianCategory="pedestrian"> <ParameterDeclarations/> <BoundingBox> <Center x="1.5" y="0.0" z="0.9"/> <Dimensions width="2" length="2" height="2"/> </BoundingBox> <Properties> <Property name="type" value="simulation"/> </Properties> </Pedestrian> </ScenarioObject> <ScenarioObject name="pedestrian_w_transform_14969"> <Pedestrian model="walker.pedestrian.0001" mass="80" name="walker.pedestrian.0001" pedestrianCategory="pedestrian"> <ParameterDeclarations/> <BoundingBox> <Center x="1.5" y="0.0" z="0.9"/> <Dimensions width="2" length="2" height="2"/> </BoundingBox> <Properties> <Property name="type" value="simulation"/> </Properties> </Pedestrian> </ScenarioObject> <ScenarioObject name="pedestrian_w_transform_14970"> <Pedestrian model="walker.pedestrian.0001" mass="80" name="walker.pedestrian.0001" pedestrianCategory="pedestrian"> <ParameterDeclarations/> <BoundingBox> <Center x="1.5" y="0.0" z="0.9"/> <Dimensions width="2" length="2" height="2"/> </BoundingBox> <Properties> <Property name="type" value="simulation"/> </Properties> </Pedestrian> </ScenarioObject> <ScenarioObject name="pedestrian_close_to_standing_14971"> <Pedestrian model="walker.pedestrian.0001" mass="80" name="walker.pedestrian.0001" pedestrianCategory="pedestrian"> <ParameterDeclarations/> <BoundingBox> <Center x="1.5" y="0.0" z="0.9"/> <Dimensions width="2" length="2" height="2"/> </BoundingBox> <Properties> <Property name="type" value="simulation"/> </Properties> </Pedestrian> </ScenarioObject> <ScenarioObject name="pedestrian_close_to_hero_14972"> <Pedestrian model="walker.pedestrian.0001" mass="80" name="walker.pedestrian.0001" pedestrianCategory="pedestrian"> <ParameterDeclarations/> <BoundingBox> <Center x="1.5" y="0.0" z="0.9"/> <Dimensions width="2" length="2" height="2"/> </BoundingBox> <Properties> <Property name="type" value="simulation"/> </Properties> </Pedestrian> </ScenarioObject> <ScenarioObject name="pedestrian_close_to_hero_14973"> <Pedestrian model="walker.pedestrian.0001" mass="80" name="walker.pedestrian.0001" pedestrianCategory="pedestrian"> <ParameterDeclarations/> <BoundingBox> <Center x="1.5" y="0.0" z="0.9"/> <Dimensions width="2" length="2" height="2"/> </BoundingBox> <Properties> <Property name="type" value="simulation"/> </Properties> </Pedestrian> </ScenarioObject> <ScenarioObject name="pedestrian_w_transform_14974"> <Pedestrian model="walker.pedestrian.0001" mass="80" name="walker.pedestrian.0001" pedestrianCategory="pedestrian"> <ParameterDeclarations/> <BoundingBox> <Center x="1.5" y="0.0" z="0.9"/> <Dimensions width="2" length="2" height="2"/> </BoundingBox> <Properties> <Property name="type" value="simulation"/> </Properties> </Pedestrian> </ScenarioObject> </Entities> <Storyboard> <Init> <Actions> <GlobalAction> <EnvironmentAction> <Environment name="Environment1"> <TimeOfDay animation="false" dateTime="2019-06-25T12:00:00"/> <Weather cloudState="free"> <Sun intensity="0.85" azimuth="0" elevation="1.31"/> <Fog visualRange="100000.0"/> <Precipitation precipitationType="dry" intensity="0.0"/> </Weather> <RoadCondition frictionScaleFactor="1.0"/> </Environment> </EnvironmentAction> </GlobalAction> <Private entityRef="hero"> <PrivateAction> <TeleportAction> <Position> <WorldPosition x="-9.4" y="-152.8" z="0.5" h="1.57079632679"/> </Position> </TeleportAction> </PrivateAction> <PrivateAction> <ControllerAction> <AssignControllerAction> <Controller name="HeroAgent"> <Properties> <Property name="module" value="external_control"/> </Properties> </Controller> </AssignControllerAction> <OverrideControllerValueAction> <Throttle value="0" active="false"/> <Brake value="0" active="false"/> <Clutch value="0" active="false"/> <ParkingBrake value="0" active="false"/> <SteeringWheel value="0" active="false"/> <Gear number="0" active="false"/> </OverrideControllerValueAction> </ControllerAction> </PrivateAction> </Private> <Private entityRef="adversary"> <PrivateAction> <TeleportAction> <Position> <WorldPosition x="-9.4" y="-71.0" z="0.5" h="1.57079632679"/> </Position> </TeleportAction> </PrivateAction> </Private> <Private entityRef="standing"> <PrivateAction> <TeleportAction> <Position> <WorldPosition x="-8.2" y="29.2" z="0.5" h="1.57079632679"/> </Position> </TeleportAction> </PrivateAction> </Private> <Private entityRef="pedestrian_close_to_hero_14960"> <PrivateAction> <TeleportAction> <Position> <WorldPosition x="-4.908395290374756" y="-147.4180450439453" z="0.0014286803780123591"/> </Position> </TeleportAction> </PrivateAction> </Private> <Private entityRef="pedestrian_w_transform_14961"> <PrivateAction> <TeleportAction> <Position> <WorldPosition x="49.12538528442383" y="60.897491455078125" z="0.5"/> </Position> </TeleportAction> </PrivateAction> </Private> <Private entityRef="pedestrian_close_to_adversary_14962"> <PrivateAction> <TeleportAction> <Position> <WorldPosition x="-1.5984910726547241" y="-71.06973266601562" z="0.033779408782720566"/> </Position> </TeleportAction> </PrivateAction> </Private> <Private entityRef="pedestrian_close_to_hero_14963"> <PrivateAction> <TeleportAction> <Position> <WorldPosition x="-15.942831039428711" y="-161.7934112548828" z="0.0014286803780123591"/> </Position> </TeleportAction> </PrivateAction> </Private> <Private entityRef="pedestrian_close_to_standing_14964"> <PrivateAction> <TeleportAction> <Position> <WorldPosition x="-15.575913429260254" y="30.71619415283203" z="0.0030225752852857113"/> </Position> </TeleportAction> </PrivateAction> </Private> <Private entityRef="pedestrian_w_transform_14965"> <PrivateAction> <TeleportAction> <Position> <WorldPosition x="-65.8423080444336" y="20.84581756591797" z="0.5"/> </Position> </TeleportAction> </PrivateAction> </Private> <Private entityRef="pedestrian_close_to_standing_14966"> <PrivateAction> <TeleportAction> <Position> <WorldPosition x="-9.132763862609863" y="35.91490173339844" z="0.0029835128225386143"/> </Position> </TeleportAction> </PrivateAction> </Private> <Private entityRef="pedestrian_close_to_hero_14967"> <PrivateAction> <TeleportAction> <Position> <WorldPosition x="-3.1700515747070312" y="-153.080810546875" z="0.0014286803780123591"/> </Position> </TeleportAction> </PrivateAction> </Private> <Private entityRef="pedestrian_w_transform_14968"> <PrivateAction> <TeleportAction> <Position> <WorldPosition x="-14.599759101867676" y="-77.27301788330078" z="0.5"/> </Position> </TeleportAction> </PrivateAction> </Private> <Private entityRef="pedestrian_w_transform_14969"> <PrivateAction> <TeleportAction> <Position> <WorldPosition x="-83.10624694824219" y="48.333377838134766" z="0.5"/> </Position> </TeleportAction> </PrivateAction> </Private> <Private entityRef="pedestrian_w_transform_14970"> <PrivateAction> <TeleportAction> <Position> <WorldPosition x="23.76786994934082" y="-85.43190002441406" z="0.5"/> </Position> </TeleportAction> </PrivateAction> </Private> <Private entityRef="pedestrian_close_to_standing_14971"> <PrivateAction> <TeleportAction> <Position> <WorldPosition x="-10.342814445495605" y="27.20362663269043" z="0.0030691910069435835"/> </Position> </TeleportAction> </PrivateAction> </Private> <Private entityRef="pedestrian_close_to_hero_14972"> <PrivateAction> <TeleportAction> <Position> <WorldPosition x="-18.55818748474121" y="-161.45179748535156" z="0.0014286803780123591"/> </Position> </TeleportAction> </PrivateAction> </Private> <Private entityRef="pedestrian_close_to_hero_14973"> <PrivateAction> <TeleportAction> <Position> <WorldPosition x="-6.482043743133545" y="-153.4518280029297" z="0.0014286803780123591"/> </Position> </TeleportAction> </PrivateAction> </Private> <Private entityRef="pedestrian_w_transform_14974"> <PrivateAction> <TeleportAction> <Position> <WorldPosition x="-44.19154739379883" y="48.41874694824219" z="0.5"/> </Position> </TeleportAction> </PrivateAction> </Private> </Actions> </Init> <Story name="MyStory"> <Act name="Behavior"> <ManeuverGroup maximumExecutionCount="1" name="ManeuverSequence"> <Actors selectTriggeringEntities="false"> <EntityRef entityRef="adversary"/> </Actors> <Maneuver name="LaneChangeSimpleManeuver"> <Event name="AdversaryAccelerates" priority="overwrite"> <Action name="AdversaryAccelerates"> <PrivateAction> <LongitudinalAction> <SpeedAction> <SpeedActionDynamics dynamicsShape="step" value="50" dynamicsDimension="distance"/> <SpeedActionTarget> <AbsoluteTargetSpeed value="5.0"/> </SpeedActionTarget> </SpeedAction> </LongitudinalAction> </PrivateAction> </Action> <StartTrigger> <ConditionGroup> <Condition name="StartCondition" delay="0" conditionEdge="rising"> <ByEntityCondition> <TriggeringEntities triggeringEntitiesRule="any"> <EntityRef entityRef="hero"/> </TriggeringEntities> <EntityCondition> <RelativeDistanceCondition entityRef="adversary" relativeDistanceType="cartesianDistance" value="40.0" freespace="false" rule="lessThan"/> </EntityCondition> </ByEntityCondition> </Condition> </ConditionGroup> </StartTrigger> </Event> <Event name="AdversaryChangesLane" priority="overwrite"> <Action name="AdversaryChangesLane"> <PrivateAction> <LateralAction> <LaneChangeAction> <LaneChangeActionDynamics dynamicsShape="linear" value="25" dynamicsDimension="distance"/> <LaneChangeTarget> <RelativeTargetLane entityRef="adversary" value="-1"/> </LaneChangeTarget> </LaneChangeAction> </LateralAction> </PrivateAction> </Action> <StartTrigger> <ConditionGroup> <Condition name="AfterAdversaryAccelerates" delay="0" conditionEdge="rising"> <ByValueCondition> <StoryboardElementStateCondition storyboardElementType="action" storyboardElementRef="AdversaryAccelerates" state="completeState"/> </ByValueCondition> </Condition> </ConditionGroup> </StartTrigger> </Event> </Maneuver> </ManeuverGroup> <StartTrigger> <ConditionGroup> <Condition name="OverallStartCondition" delay="0" conditionEdge="rising"> <ByEntityCondition> <TriggeringEntities triggeringEntitiesRule="any"> <EntityRef entityRef="hero"/> </TriggeringEntities> <EntityCondition> <TraveledDistanceCondition value="1.0"/> </EntityCondition> </ByEntityCondition> </Condition> <Condition name="StartTime" delay="0" conditionEdge="rising"> <ByValueCondition> <SimulationTimeCondition value="0" rule="equalTo"/> </ByValueCondition> </Condition> </ConditionGroup> </StartTrigger> <StopTrigger> <ConditionGroup> <Condition name="EndCondition" delay="0" conditionEdge="rising"> <ByEntityCondition> <TriggeringEntities triggeringEntitiesRule="any"> <EntityRef entityRef="hero"/> </TriggeringEntities> <EntityCondition> <TraveledDistanceCondition value="200.0"/> </EntityCondition> </ByEntityCondition> </Condition> </ConditionGroup> </StopTrigger> </Act> </Story> <StopTrigger> <ConditionGroup> <Condition name="criteria_RunningStopTest" delay="0" conditionEdge="rising"> <ByValueCondition> <ParameterCondition parameterRef="" value="" rule="lessThan"/> </ByValueCondition> </Condition> <Condition name="criteria_RunningRedLightTest" delay="0" conditionEdge="rising"> <ByValueCondition> <ParameterCondition parameterRef="" value="" rule="lessThan"/> </ByValueCondition> </Condition> <Condition name="criteria_WrongLaneTest" delay="0" conditionEdge="rising"> <ByValueCondition> <ParameterCondition parameterRef="" value="" rule="lessThan"/> </ByValueCondition> </Condition> <Condition name="criteria_OnSidewalkTest" delay="0" conditionEdge="rising"> <ByValueCondition> <ParameterCondition parameterRef="" value="" rule="lessThan"/> </ByValueCondition> </Condition> <Condition name="criteria_KeepLaneTest" delay="0" conditionEdge="rising"> <ByValueCondition> <ParameterCondition parameterRef="" value="" rule="lessThan"/> </ByValueCondition> </Condition> <Condition name="criteria_CollisionTest" delay="0" conditionEdge="rising"> <ByValueCondition> <ParameterCondition parameterRef="" value="" rule="lessThan"/> </ByValueCondition> </Condition> <Condition name="criteria_DrivenDistanceTest" delay="0" conditionEdge="rising"> <ByValueCondition> <ParameterCondition parameterRef="distance_success" value="100" rule="lessThan"/> </ByValueCondition> </Condition> </ConditionGroup> </StopTrigger> </Storyboard> </OpenSCENARIO> ```
i would like to tell you to add pedestrian at location (14.95, 11.59, 0.5)? ``` <?xml version="1.0" ?> <OpenSCENARIO> <FileHeader revMajor="1" revMinor="0" date="2020-03-24T12:00:00" description="CARLA:LaneChangeSimple" author=""/> <ParameterDeclarations/> <CatalogLocations/> <RoadNetwork> <LogicFile filepath="Town04"/> <SceneGraphFile filepath=""/> </RoadNetwork> <Entities> <ScenarioObject name="hero"> <Vehicle name="vehicle.tesla.model3" vehicleCategory="car"> <ParameterDeclarations/> <Performance maxSpeed="69.444" maxAcceleration="200" maxDeceleration="10.0"/> <BoundingBox> <Center x="1.5" y="0.0" z="0.9"/> <Dimensions width="2.1" length="4.5" height="1.8"/> </BoundingBox> <Axles> <FrontAxle maxSteering="0.5" wheelDiameter="0.6" trackWidth="1.8" positionX="3.1" positionZ="0.3"/> <RearAxle maxSteering="0.0" wheelDiameter="0.6" trackWidth="1.8" positionX="0.0" positionZ="0.3"/> </Axles> <Properties> <Property name="type" value="ego_vehicle"/> </Properties> </Vehicle> </ScenarioObject> <ScenarioObject name="adversary"> <Vehicle name="vehicle.lincoln.mkz_2017" vehicleCategory="car"> <ParameterDeclarations/> <Performance maxSpeed="69.444" maxAcceleration="200" maxDeceleration="10.0"/> <BoundingBox> <Center x="1.5" y="0.0" z="0.9"/> <Dimensions width="2.1" length="4.5" height="1.8"/> </BoundingBox> <Axles> <FrontAxle maxSteering="0.5" wheelDiameter="0.6" trackWidth="1.8" positionX="3.1" positionZ="0.3"/> <RearAxle maxSteering="0.0" wheelDiameter="0.6" trackWidth="1.8" positionX="0.0" positionZ="0.3"/> </Axles> <Properties> <Property name="type" value="simulation"/> </Properties> </Vehicle> </ScenarioObject> <ScenarioObject name="standing"> <Vehicle name="vehicle.volkswagen.t2" vehicleCategory="car"> <ParameterDeclarations/> <Performance maxSpeed="69.444" maxAcceleration="200" maxDeceleration="10.0"/> <BoundingBox> <Center x="1.5" y="0.0" z="0.9"/> <Dimensions width="2.1" length="4.5" height="1.8"/> </BoundingBox> <Axles> <FrontAxle maxSteering="0.5" wheelDiameter="0.6" trackWidth="1.8" positionX="3.1" positionZ="0.3"/> <RearAxle maxSteering="0.0" wheelDiameter="0.6" trackWidth="1.8" positionX="0.0" positionZ="0.3"/> </Axles> <Properties> <Property name="type" value="simulation"/> </Properties> </Vehicle> </ScenarioObject> <ScenarioObject name="pedestrian_close_to_hero_20188"> <Pedestrian model="walker.pedestrian.0001" mass="80" name="walker.pedestrian.0001" pedestrianCategory="pedestrian"> <ParameterDeclarations/> <BoundingBox> <Center x="1.5" y="0.0" z="0.9"/> <Dimensions width="2" length="2" height="2"/> </BoundingBox> <Properties> <Property name="type" value="simulation"/> </Properties> </Pedestrian> </ScenarioObject> <ScenarioObject name="pedestrian_w_transform_20189"> <Pedestrian model="walker.pedestrian.0001" mass="80" name="walker.pedestrian.0001" pedestrianCategory="pedestrian"> <ParameterDeclarations/> <BoundingBox> <Center x="1.5" y="0.0" z="0.9"/> <Dimensions width="2" length="2" height="2"/> </BoundingBox> <Properties> <Property name="type" value="simulation"/> </Properties> </Pedestrian> </ScenarioObject> <ScenarioObject name="pedestrian_close_to_standing_20190"> <Pedestrian model="walker.pedestrian.0001" mass="80" name="walker.pedestrian.0001" pedestrianCategory="pedestrian"> <ParameterDeclarations/> <BoundingBox> <Center x="1.5" y="0.0" z="0.9"/> <Dimensions width="2" length="2" height="2"/> </BoundingBox> <Properties> <Property name="type" value="simulation"/> </Properties> </Pedestrian> </ScenarioObject> <ScenarioObject name="pedestrian_close_to_hero_20191"> <Pedestrian model="walker.pedestrian.0001" mass="80" name="walker.pedestrian.0001" pedestrianCategory="pedestrian"> <ParameterDeclarations/> <BoundingBox> <Center x="1.5" y="0.0" z="0.9"/> <Dimensions width="2" length="2" height="2"/> </BoundingBox> <Properties> <Property name="type" value="simulation"/> </Properties> </Pedestrian> </ScenarioObject> <ScenarioObject name="pedestrian_w_transform_20192"> <Pedestrian model="walker.pedestrian.0001" mass="80" name="walker.pedestrian.0001" pedestrianCategory="pedestrian"> <ParameterDeclarations/> <BoundingBox> <Center x="1.5" y="0.0" z="0.9"/> <Dimensions width="2" length="2" height="2"/> </BoundingBox> <Properties> <Property name="type" value="simulation"/> </Properties> </Pedestrian> </ScenarioObject> <ScenarioObject name="pedestrian_close_to_adversary_20193"> <Pedestrian model="walker.pedestrian.0001" mass="80" name="walker.pedestrian.0001" pedestrianCategory="pedestrian"> <ParameterDeclarations/> <BoundingBox> <Center x="1.5" y="0.0" z="0.9"/> <Dimensions width="2" length="2" height="2"/> </BoundingBox> <Properties> <Property name="type" value="simulation"/> </Properties> </Pedestrian> </ScenarioObject> <ScenarioObject name="pedestrian_close_to_hero_20194"> <Pedestrian model="walker.pedestrian.0001" mass="80" name="walker.pedestrian.0001" pedestrianCategory="pedestrian"> <ParameterDeclarations/> <BoundingBox> <Center x="1.5" y="0.0" z="0.9"/> <Dimensions width="2" length="2" height="2"/> </BoundingBox> <Properties> <Property name="type" value="simulation"/> </Properties> </Pedestrian> </ScenarioObject> <ScenarioObject name="pedestrian_close_to_hero_20195"> <Pedestrian model="walker.pedestrian.0001" mass="80" name="walker.pedestrian.0001" pedestrianCategory="pedestrian"> <ParameterDeclarations/> <BoundingBox> <Center x="1.5" y="0.0" z="0.9"/> <Dimensions width="2" length="2" height="2"/> </BoundingBox> <Properties> <Property name="type" value="simulation"/> </Properties> </Pedestrian> </ScenarioObject> <ScenarioObject name="pedestrian_close_to_hero_20196"> <Pedestrian model="walker.pedestrian.0001" mass="80" name="walker.pedestrian.0001" pedestrianCategory="pedestrian"> <ParameterDeclarations/> <BoundingBox> <Center x="1.5" y="0.0" z="0.9"/> <Dimensions width="2" length="2" height="2"/> </BoundingBox> <Properties> <Property name="type" value="simulation"/> </Properties> </Pedestrian> </ScenarioObject> <ScenarioObject name="pedestrian_close_to_standing_20197"> <Pedestrian model="walker.pedestrian.0001" mass="80" name="walker.pedestrian.0001" pedestrianCategory="pedestrian"> <ParameterDeclarations/> <BoundingBox> <Center x="1.5" y="0.0" z="0.9"/> <Dimensions width="2" length="2" height="2"/> </BoundingBox> <Properties> <Property name="type" value="simulation"/> </Properties> </Pedestrian> </ScenarioObject> <ScenarioObject name="pedestrian_close_to_hero_20198"> <Pedestrian model="walker.pedestrian.0001" mass="80" name="walker.pedestrian.0001" pedestrianCategory="pedestrian"> <ParameterDeclarations/> <BoundingBox> <Center x="1.5" y="0.0" z="0.9"/> <Dimensions width="2" length="2" height="2"/> </BoundingBox> <Properties> <Property name="type" value="simulation"/> </Properties> </Pedestrian> </ScenarioObject> <ScenarioObject name="pedestrian_close_to_standing_20199"> <Pedestrian model="walker.pedestrian.0001" mass="80" name="walker.pedestrian.0001" pedestrianCategory="pedestrian"> <ParameterDeclarations/> <BoundingBox> <Center x="1.5" y="0.0" z="0.9"/> <Dimensions width="2" length="2" height="2"/> </BoundingBox> <Properties> <Property name="type" value="simulation"/> </Properties> </Pedestrian> </ScenarioObject> <ScenarioObject name="pedestrian_w_transform_20200"> <Pedestrian model="walker.pedestrian.0001" mass="80" name="walker.pedestrian.0001" pedestrianCategory="pedestrian"> <ParameterDeclarations/> <BoundingBox> <Center x="1.5" y="0.0" z="0.9"/> <Dimensions width="2" length="2" height="2"/> </BoundingBox> <Properties> <Property name="type" value="simulation"/> </Properties> </Pedestrian> </ScenarioObject> <ScenarioObject name="pedestrian_close_to_hero_20201"> <Pedestrian model="walker.pedestrian.0001" mass="80" name="walker.pedestrian.0001" pedestrianCategory="pedestrian"> <ParameterDeclarations/> <BoundingBox> <Center x="1.5" y="0.0" z="0.9"/> <Dimensions width="2" length="2" height="2"/> </BoundingBox> <Properties> <Property name="type" value="simulation"/> </Properties> </Pedestrian> </ScenarioObject> <ScenarioObject name="pedestrian_close_to_hero_20203"> <Pedestrian model="walker.pedestrian.0001" mass="80" name="walker.pedestrian.0001" pedestrianCategory="pedestrian"> <ParameterDeclarations/> <BoundingBox> <Center x="1.5" y="0.0" z="0.9"/> <Dimensions width="2" length="2" height="2"/> </BoundingBox> <Properties> <Property name="type" value="simulation"/> </Properties> </Pedestrian> </ScenarioObject> <ScenarioObject name="pedestrian_close_to_standing_20204"> <Pedestrian model="walker.pedestrian.0001" mass="80" name="walker.pedestrian.0001" pedestrianCategory="pedestrian"> <ParameterDeclarations/> <BoundingBox> <Center x="1.5" y="0.0" z="0.9"/> <Dimensions width="2" length="2" height="2"/> </BoundingBox> <Properties> <Property name="type" value="simulation"/> </Properties> </Pedestrian> </ScenarioObject> <ScenarioObject name="pedestrian_w_transform_20205"> <Pedestrian model="walker.pedestrian.0001" mass="80" name="walker.pedestrian.0001" pedestrianCategory="pedestrian"> <ParameterDeclarations/> <BoundingBox> <Center x="1.5" y="0.0" z="0.9"/> <Dimensions width="2" length="2" height="2"/> </BoundingBox> <Properties> <Property name="type" value="simulation"/> </Properties> </Pedestrian> </ScenarioObject> <ScenarioObject name="pedestrian_close_to_standing_20206"> <Pedestrian model="walker.pedestrian.0001" mass="80" name="walker.pedestrian.0001" pedestrianCategory="pedestrian"> <ParameterDeclarations/> <BoundingBox> <Center x="1.5" y="0.0" z="0.9"/> <Dimensions width="2" length="2" height="2"/> </BoundingBox> <Properties> <Property name="type" value="simulation"/> </Properties> </Pedestrian> </ScenarioObject> <ScenarioObject name="pedestrian_close_to_standing_20207"> <Pedestrian model="walker.pedestrian.0001" mass="80" name="walker.pedestrian.0001" pedestrianCategory="pedestrian"> <ParameterDeclarations/> <BoundingBox> <Center x="1.5" y="0.0" z="0.9"/> <Dimensions width="2" length="2" height="2"/> </BoundingBox> <Properties> <Property name="type" value="simulation"/> </Properties> </Pedestrian> </ScenarioObject> <ScenarioObject name="pedestrian_close_to_adversary_20208"> <Pedestrian model="walker.pedestrian.0001" mass="80" name="walker.pedestrian.0001" pedestrianCategory="pedestrian"> <ParameterDeclarations/> <BoundingBox> <Center x="1.5" y="0.0" z="0.9"/> <Dimensions width="2" length="2" height="2"/> </BoundingBox> <Properties> <Property name="type" value="simulation"/> </Properties> </Pedestrian> </ScenarioObject> <ScenarioObject name="pedestrian_close_to_standing_20209"> <Pedestrian model="walker.pedestrian.0001" mass="80" name="walker.pedestrian.0001" pedestrianCategory="pedestrian"> <ParameterDeclarations/> <BoundingBox> <Center x="1.5" y="0.0" z="0.9"/> <Dimensions width="2" length="2" height="2"/> </BoundingBox> <Properties> <Property name="type" value="simulation"/> </Properties> </Pedestrian> </ScenarioObject> </Entities> <Storyboard> <Init> <Actions> <GlobalAction> <EnvironmentAction> <Environment name="Environment1"> <TimeOfDay animation="false" dateTime="2019-06-25T12:00:00"/> <Weather cloudState="free"> <Sun intensity="0.85" azimuth="0" elevation="1.31"/> <Fog visualRange="100000.0"/> <Precipitation precipitationType="dry" intensity="0.0"/> </Weather> <RoadCondition frictionScaleFactor="1.0"/> </Environment> </EnvironmentAction> </GlobalAction> <Private entityRef="hero"> <PrivateAction> <TeleportAction> <Position> <WorldPosition x="-9.4" y="-152.8" z="0.5" h="1.57079632679"/> </Position> </TeleportAction> </PrivateAction> <PrivateAction> <ControllerAction> <AssignControllerAction> <Controller name="HeroAgent"> <Properties> <Property name="module" value="external_control"/> </Properties> </Controller> </AssignControllerAction> <OverrideControllerValueAction> <Throttle value="0" active="false"/> <Brake value="0" active="false"/> <Clutch value="0" active="false"/> <ParkingBrake value="0" active="false"/> <SteeringWheel value="0" active="false"/> <Gear number="0" active="false"/> </OverrideControllerValueAction> </ControllerAction> </PrivateAction> </Private> <Private entityRef="adversary"> <PrivateAction> <TeleportAction> <Position> <WorldPosition x="-9.4" y="-71.0" z="0.5" h="1.57079632679"/> </Position> </TeleportAction> </PrivateAction> </Private> <Private entityRef="standing"> <PrivateAction> <TeleportAction> <Position> <WorldPosition x="-8.2" y="29.2" z="0.5" h="1.57079632679"/> </Position> </TeleportAction> </PrivateAction> </Private> <Private entityRef="pedestrian_close_to_hero_20188"> <PrivateAction> <TeleportAction> <Position> <WorldPosition x="-17.45708465576172" y="-157.7772674560547" z="0.0014286803780123591"/> </Position> </TeleportAction> </PrivateAction> </Private> <Private entityRef="pedestrian_w_transform_20189"> <PrivateAction> <TeleportAction> <Position> <WorldPosition x="49.782222747802734" y="47.46146774291992" z="0.5"/> </Position> </TeleportAction> </PrivateAction> </Private> <Private entityRef="pedestrian_close_to_standing_20190"> <PrivateAction> <TeleportAction> <Position> <WorldPosition x="-9.79780387878418" y="30.354787826538086" z="0.0030841827392578125"/> </Position> </TeleportAction> </PrivateAction> </Private> <Private entityRef="pedestrian_close_to_hero_20191"> <PrivateAction> <TeleportAction> <Position> <WorldPosition x="-5.926977634429932" y="-153.83090209960938" z="0.0014286803780123591"/> </Position> </TeleportAction> </PrivateAction> </Private> <Private entityRef="pedestrian_w_transform_20192"> <PrivateAction> <TeleportAction> <Position> <WorldPosition x="-76.59687805175781" y="13.141352653503418" z="0.5"/> </Position> </TeleportAction> </PrivateAction> </Private> <Private entityRef="pedestrian_close_to_adversary_20193"> <PrivateAction> <TeleportAction> <Position> <WorldPosition x="-9.397790908813477" y="-59.34508514404297" z="0.033805962651968"/> </Position> </TeleportAction> </PrivateAction> </Private> <Private entityRef="pedestrian_close_to_hero_20194"> <PrivateAction> <TeleportAction> <Position> <WorldPosition x="-6.035293102264404" y="-162.145263671875" z="0.0014286803780123591"/> </Position> </TeleportAction> </PrivateAction> </Private> <Private entityRef="pedestrian_close_to_hero_20195"> <PrivateAction> <TeleportAction> <Position> <WorldPosition x="-3.8604342937469482" y="-155.13674926757812" z="0.0014286803780123591"/> </Position> </TeleportAction> </PrivateAction> </Private> <Private entityRef="pedestrian_close_to_hero_20196"> <PrivateAction> <TeleportAction> <Position> <WorldPosition x="-5.496896743774414" y="-165.69371032714844" z="0.0014286803780123591"/> </Position> </TeleportAction> </PrivateAction> </Private> <Private entityRef="pedestrian_close_to_standing_20197"> <PrivateAction> <TeleportAction> <Position> <WorldPosition x="-16.30324935913086" y="31.325212478637695" z="0.003061447059735656"/> </Position> </TeleportAction> </PrivateAction> </Private> <Private entityRef="pedestrian_close_to_hero_20198"> <PrivateAction> <TeleportAction> <Position> <WorldPosition x="-13.828421592712402" y="-145.91134643554688" z="0.0014286803780123591"/> </Position> </TeleportAction> </PrivateAction> </Private> <Private entityRef="pedestrian_close_to_standing_20199"> <PrivateAction> <TeleportAction> <Position> <WorldPosition x="-4.2950310707092285" y="17.282142639160156" z="0.00308818812482059"/> </Position> </TeleportAction> </PrivateAction> </Private> <Private entityRef="pedestrian_w_transform_20200"> <PrivateAction> <TeleportAction> <Position> <WorldPosition x="42.37868881225586" y="38.584835052490234" z="0.5"/> </Position> </TeleportAction> </PrivateAction> </Private> <Private entityRef="pedestrian_close_to_hero_20201"> <PrivateAction> <TeleportAction> <Position> <WorldPosition x="-4.785828590393066" y="-152.00218200683594" z="0.0014286803780123591"/> </Position> </TeleportAction> </PrivateAction> </Private> <Private entityRef="pedestrian_close_to_hero_20203"> <PrivateAction> <TeleportAction> <Position> <WorldPosition x="-1.4700543880462646" y="-156.6823272705078" z="0.0014286803780123591"/> </Position> </TeleportAction> </PrivateAction> </Private> <Private entityRef="pedestrian_close_to_standing_20204"> <PrivateAction> <TeleportAction> <Position> <WorldPosition x="-24.74860382080078" y="24.26449203491211" z="0.0030311965383589268"/> </Position> </TeleportAction> </PrivateAction> </Private> <Private entityRef="pedestrian_w_transform_20205"> <PrivateAction> <TeleportAction> <Position> <WorldPosition x="-30.59550666809082" y="-82.33885955810547" z="0.5"/> </Position> </TeleportAction> </PrivateAction> </Private> <Private entityRef="pedestrian_close_to_standing_20206"> <PrivateAction> <TeleportAction> <Position> <WorldPosition x="-15.31591796875" y="20.014232635498047" z="0.0030461500864475965"/> </Position> </TeleportAction> </PrivateAction> </Private> <Private entityRef="pedestrian_close_to_standing_20207"> <PrivateAction> <TeleportAction> <Position> <WorldPosition x="-16.465723037719727" y="28.69435691833496" z="0.0030386734288185835"/> </Position> </TeleportAction> </PrivateAction> </Private> <Private entityRef="pedestrian_close_to_adversary_20208"> <PrivateAction> <TeleportAction> <Position> <WorldPosition x="-12.685629844665527" y="-70.02168273925781" z="0.033834684640169144"/> </Position> </TeleportAction> </PrivateAction> </Private> <Private entityRef="pedestrian_close_to_standing_20209"> <PrivateAction> <TeleportAction> <Position> <WorldPosition x="-6.108245372772217" y="38.41456604003906" z="0.0030686187092214823"/> </Position> </TeleportAction> </PrivateAction> </Private> </Actions> </Init> <Story name="MyStory"> <Act name="Behavior"> <ManeuverGroup maximumExecutionCount="1" name="ManeuverSequence"> <Actors selectTriggeringEntities="false"> <EntityRef entityRef="adversary"/> </Actors> <Maneuver name="LaneChangeSimpleManeuver"> <Event name="AdversaryAccelerates" priority="overwrite"> <Action name="AdversaryAccelerates"> <PrivateAction> <LongitudinalAction> <SpeedAction> <SpeedActionDynamics dynamicsShape="step" value="50" dynamicsDimension="distance"/> <SpeedActionTarget> <AbsoluteTargetSpeed value="5.0"/> </SpeedActionTarget> </SpeedAction> </LongitudinalAction> </PrivateAction> </Action> <StartTrigger> <ConditionGroup> <Condition name="StartCondition" delay="0" conditionEdge="rising"> <ByEntityCondition> <TriggeringEntities triggeringEntitiesRule="any"> <EntityRef entityRef="hero"/> </TriggeringEntities> <EntityCondition> <RelativeDistanceCondition entityRef="adversary" relativeDistanceType="cartesianDistance" value="40.0" freespace="false" rule="lessThan"/> </EntityCondition> </ByEntityCondition> </Condition> </ConditionGroup> </StartTrigger> </Event> <Event name="AdversaryChangesLane" priority="overwrite"> <Action name="AdversaryChangesLane"> <PrivateAction> <LateralAction> <LaneChangeAction> <LaneChangeActionDynamics dynamicsShape="linear" value="25" dynamicsDimension="distance"/> <LaneChangeTarget> <RelativeTargetLane entityRef="adversary" value="-1"/> </LaneChangeTarget> </LaneChangeAction> </LateralAction> </PrivateAction> </Action> <StartTrigger> <ConditionGroup> <Condition name="AfterAdversaryAccelerates" delay="0" conditionEdge="rising"> <ByValueCondition> <StoryboardElementStateCondition storyboardElementType="action" storyboardElementRef="AdversaryAccelerates" state="completeState"/> </ByValueCondition> </Condition> </ConditionGroup> </StartTrigger> </Event> </Maneuver> </ManeuverGroup> <StartTrigger> <ConditionGroup> <Condition name="OverallStartCondition" delay="0" conditionEdge="rising"> <ByEntityCondition> <TriggeringEntities triggeringEntitiesRule="any"> <EntityRef entityRef="hero"/> </TriggeringEntities> <EntityCondition> <TraveledDistanceCondition value="1.0"/> </EntityCondition> </ByEntityCondition> </Condition> <Condition name="StartTime" delay="0" conditionEdge="rising"> <ByValueCondition> <SimulationTimeCondition value="0" rule="equalTo"/> </ByValueCondition> </Condition> </ConditionGroup> </StartTrigger> <StopTrigger> <ConditionGroup> <Condition name="EndCondition" delay="0" conditionEdge="rising"> <ByEntityCondition> <TriggeringEntities triggeringEntitiesRule="any"> <EntityRef entityRef="hero"/> </TriggeringEntities> <EntityCondition> <TraveledDistanceCondition value="200.0"/> </EntityCondition> </ByEntityCondition> </Condition> </ConditionGroup> </StopTrigger> </Act> </Story> <StopTrigger> <ConditionGroup> <Condition name="criteria_RunningStopTest" delay="0" conditionEdge="rising"> <ByValueCondition> <ParameterCondition parameterRef="" value="" rule="lessThan"/> </ByValueCondition> </Condition> <Condition name="criteria_RunningRedLightTest" delay="0" conditionEdge="rising"> <ByValueCondition> <ParameterCondition parameterRef="" value="" rule="lessThan"/> </ByValueCondition> </Condition> <Condition name="criteria_WrongLaneTest" delay="0" conditionEdge="rising"> <ByValueCondition> <ParameterCondition parameterRef="" value="" rule="lessThan"/> </ByValueCondition> </Condition> <Condition name="criteria_OnSidewalkTest" delay="0" conditionEdge="rising"> <ByValueCondition> <ParameterCondition parameterRef="" value="" rule="lessThan"/> </ByValueCondition> </Condition> <Condition name="criteria_KeepLaneTest" delay="0" conditionEdge="rising"> <ByValueCondition> <ParameterCondition parameterRef="" value="" rule="lessThan"/> </ByValueCondition> </Condition> <Condition name="criteria_CollisionTest" delay="0" conditionEdge="rising"> <ByValueCondition> <ParameterCondition parameterRef="" value="" rule="lessThan"/> </ByValueCondition> </Condition> <Condition name="criteria_DrivenDistanceTest" delay="0" conditionEdge="rising"> <ByValueCondition> <ParameterCondition parameterRef="distance_success" value="100" rule="lessThan"/> </ByValueCondition> </Condition> </ConditionGroup> </StopTrigger> </Storyboard> </OpenSCENARIO> ```
Here is the result: ``` <?xml version="1.0" ?> <OpenSCENARIO> <FileHeader revMajor="1" revMinor="0" date="2020-03-24T12:00:00" description="CARLA:LaneChangeSimple" author=""/> <ParameterDeclarations/> <CatalogLocations/> <RoadNetwork> <LogicFile filepath="Town04"/> <SceneGraphFile filepath=""/> </RoadNetwork> <Entities> <ScenarioObject name="hero"> <Vehicle name="vehicle.tesla.model3" vehicleCategory="car"> <ParameterDeclarations/> <Performance maxSpeed="69.444" maxAcceleration="200" maxDeceleration="10.0"/> <BoundingBox> <Center x="1.5" y="0.0" z="0.9"/> <Dimensions width="2.1" length="4.5" height="1.8"/> </BoundingBox> <Axles> <FrontAxle maxSteering="0.5" wheelDiameter="0.6" trackWidth="1.8" positionX="3.1" positionZ="0.3"/> <RearAxle maxSteering="0.0" wheelDiameter="0.6" trackWidth="1.8" positionX="0.0" positionZ="0.3"/> </Axles> <Properties> <Property name="type" value="ego_vehicle"/> </Properties> </Vehicle> </ScenarioObject> <ScenarioObject name="adversary"> <Vehicle name="vehicle.lincoln.mkz_2017" vehicleCategory="car"> <ParameterDeclarations/> <Performance maxSpeed="69.444" maxAcceleration="200" maxDeceleration="10.0"/> <BoundingBox> <Center x="1.5" y="0.0" z="0.9"/> <Dimensions width="2.1" length="4.5" height="1.8"/> </BoundingBox> <Axles> <FrontAxle maxSteering="0.5" wheelDiameter="0.6" trackWidth="1.8" positionX="3.1" positionZ="0.3"/> <RearAxle maxSteering="0.0" wheelDiameter="0.6" trackWidth="1.8" positionX="0.0" positionZ="0.3"/> </Axles> <Properties> <Property name="type" value="simulation"/> </Properties> </Vehicle> </ScenarioObject> <ScenarioObject name="standing"> <Vehicle name="vehicle.volkswagen.t2" vehicleCategory="car"> <ParameterDeclarations/> <Performance maxSpeed="69.444" maxAcceleration="200" maxDeceleration="10.0"/> <BoundingBox> <Center x="1.5" y="0.0" z="0.9"/> <Dimensions width="2.1" length="4.5" height="1.8"/> </BoundingBox> <Axles> <FrontAxle maxSteering="0.5" wheelDiameter="0.6" trackWidth="1.8" positionX="3.1" positionZ="0.3"/> <RearAxle maxSteering="0.0" wheelDiameter="0.6" trackWidth="1.8" positionX="0.0" positionZ="0.3"/> </Axles> <Properties> <Property name="type" value="simulation"/> </Properties> </Vehicle> </ScenarioObject> <ScenarioObject name="pedestrian_close_to_hero_20188"> <Pedestrian model="walker.pedestrian.0001" mass="80" name="walker.pedestrian.0001" pedestrianCategory="pedestrian"> <ParameterDeclarations/> <BoundingBox> <Center x="1.5" y="0.0" z="0.9"/> <Dimensions width="2" length="2" height="2"/> </BoundingBox> <Properties> <Property name="type" value="simulation"/> </Properties> </Pedestrian> </ScenarioObject> <ScenarioObject name="pedestrian_w_transform_20189"> <Pedestrian model="walker.pedestrian.0001" mass="80" name="walker.pedestrian.0001" pedestrianCategory="pedestrian"> <ParameterDeclarations/> <BoundingBox> <Center x="1.5" y="0.0" z="0.9"/> <Dimensions width="2" length="2" height="2"/> </BoundingBox> <Properties> <Property name="type" value="simulation"/> </Properties> </Pedestrian> </ScenarioObject> <ScenarioObject name="pedestrian_close_to_standing_20190"> <Pedestrian model="walker.pedestrian.0001" mass="80" name="walker.pedestrian.0001" pedestrianCategory="pedestrian"> <ParameterDeclarations/> <BoundingBox> <Center x="1.5" y="0.0" z="0.9"/> <Dimensions width="2" length="2" height="2"/> </BoundingBox> <Properties> <Property name="type" value="simulation"/> </Properties> </Pedestrian> </ScenarioObject> <ScenarioObject name="pedestrian_close_to_hero_20191"> <Pedestrian model="walker.pedestrian.0001" mass="80" name="walker.pedestrian.0001" pedestrianCategory="pedestrian"> <ParameterDeclarations/> <BoundingBox> <Center x="1.5" y="0.0" z="0.9"/> <Dimensions width="2" length="2" height="2"/> </BoundingBox> <Properties> <Property name="type" value="simulation"/> </Properties> </Pedestrian> </ScenarioObject> <ScenarioObject name="pedestrian_w_transform_20192"> <Pedestrian model="walker.pedestrian.0001" mass="80" name="walker.pedestrian.0001" pedestrianCategory="pedestrian"> <ParameterDeclarations/> <BoundingBox> <Center x="1.5" y="0.0" z="0.9"/> <Dimensions width="2" length="2" height="2"/> </BoundingBox> <Properties> <Property name="type" value="simulation"/> </Properties> </Pedestrian> </ScenarioObject> <ScenarioObject name="pedestrian_close_to_adversary_20193"> <Pedestrian model="walker.pedestrian.0001" mass="80" name="walker.pedestrian.0001" pedestrianCategory="pedestrian"> <ParameterDeclarations/> <BoundingBox> <Center x="1.5" y="0.0" z="0.9"/> <Dimensions width="2" length="2" height="2"/> </BoundingBox> <Properties> <Property name="type" value="simulation"/> </Properties> </Pedestrian> </ScenarioObject> <ScenarioObject name="pedestrian_close_to_hero_20194"> <Pedestrian model="walker.pedestrian.0001" mass="80" name="walker.pedestrian.0001" pedestrianCategory="pedestrian"> <ParameterDeclarations/> <BoundingBox> <Center x="1.5" y="0.0" z="0.9"/> <Dimensions width="2" length="2" height="2"/> </BoundingBox> <Properties> <Property name="type" value="simulation"/> </Properties> </Pedestrian> </ScenarioObject> <ScenarioObject name="pedestrian_close_to_hero_20195"> <Pedestrian model="walker.pedestrian.0001" mass="80" name="walker.pedestrian.0001" pedestrianCategory="pedestrian"> <ParameterDeclarations/> <BoundingBox> <Center x="1.5" y="0.0" z="0.9"/> <Dimensions width="2" length="2" height="2"/> </BoundingBox> <Properties> <Property name="type" value="simulation"/> </Properties> </Pedestrian> </ScenarioObject> <ScenarioObject name="pedestrian_close_to_hero_20196"> <Pedestrian model="walker.pedestrian.0001" mass="80" name="walker.pedestrian.0001" pedestrianCategory="pedestrian"> <ParameterDeclarations/> <BoundingBox> <Center x="1.5" y="0.0" z="0.9"/> <Dimensions width="2" length="2" height="2"/> </BoundingBox> <Properties> <Property name="type" value="simulation"/> </Properties> </Pedestrian> </ScenarioObject> <ScenarioObject name="pedestrian_close_to_standing_20197"> <Pedestrian model="walker.pedestrian.0001" mass="80" name="walker.pedestrian.0001" pedestrianCategory="pedestrian"> <ParameterDeclarations/> <BoundingBox> <Center x="1.5" y="0.0" z="0.9"/> <Dimensions width="2" length="2" height="2"/> </BoundingBox> <Properties> <Property name="type" value="simulation"/> </Properties> </Pedestrian> </ScenarioObject> <ScenarioObject name="pedestrian_close_to_hero_20198"> <Pedestrian model="walker.pedestrian.0001" mass="80" name="walker.pedestrian.0001" pedestrianCategory="pedestrian"> <ParameterDeclarations/> <BoundingBox> <Center x="1.5" y="0.0" z="0.9"/> <Dimensions width="2" length="2" height="2"/> </BoundingBox> <Properties> <Property name="type" value="simulation"/> </Properties> </Pedestrian> </ScenarioObject> <ScenarioObject name="pedestrian_close_to_standing_20199"> <Pedestrian model="walker.pedestrian.0001" mass="80" name="walker.pedestrian.0001" pedestrianCategory="pedestrian"> <ParameterDeclarations/> <BoundingBox> <Center x="1.5" y="0.0" z="0.9"/> <Dimensions width="2" length="2" height="2"/> </BoundingBox> <Properties> <Property name="type" value="simulation"/> </Properties> </Pedestrian> </ScenarioObject> <ScenarioObject name="pedestrian_w_transform_20200"> <Pedestrian model="walker.pedestrian.0001" mass="80" name="walker.pedestrian.0001" pedestrianCategory="pedestrian"> <ParameterDeclarations/> <BoundingBox> <Center x="1.5" y="0.0" z="0.9"/> <Dimensions width="2" length="2" height="2"/> </BoundingBox> <Properties> <Property name="type" value="simulation"/> </Properties> </Pedestrian> </ScenarioObject> <ScenarioObject name="pedestrian_close_to_hero_20201"> <Pedestrian model="walker.pedestrian.0001" mass="80" name="walker.pedestrian.0001" pedestrianCategory="pedestrian"> <ParameterDeclarations/> <BoundingBox> <Center x="1.5" y="0.0" z="0.9"/> <Dimensions width="2" length="2" height="2"/> </BoundingBox> <Properties> <Property name="type" value="simulation"/> </Properties> </Pedestrian> </ScenarioObject> <ScenarioObject name="pedestrian_close_to_hero_20203"> <Pedestrian model="walker.pedestrian.0001" mass="80" name="walker.pedestrian.0001" pedestrianCategory="pedestrian"> <ParameterDeclarations/> <BoundingBox> <Center x="1.5" y="0.0" z="0.9"/> <Dimensions width="2" length="2" height="2"/> </BoundingBox> <Properties> <Property name="type" value="simulation"/> </Properties> </Pedestrian> </ScenarioObject> <ScenarioObject name="pedestrian_close_to_standing_20204"> <Pedestrian model="walker.pedestrian.0001" mass="80" name="walker.pedestrian.0001" pedestrianCategory="pedestrian"> <ParameterDeclarations/> <BoundingBox> <Center x="1.5" y="0.0" z="0.9"/> <Dimensions width="2" length="2" height="2"/> </BoundingBox> <Properties> <Property name="type" value="simulation"/> </Properties> </Pedestrian> </ScenarioObject> <ScenarioObject name="pedestrian_w_transform_20205"> <Pedestrian model="walker.pedestrian.0001" mass="80" name="walker.pedestrian.0001" pedestrianCategory="pedestrian"> <ParameterDeclarations/> <BoundingBox> <Center x="1.5" y="0.0" z="0.9"/> <Dimensions width="2" length="2" height="2"/> </BoundingBox> <Properties> <Property name="type" value="simulation"/> </Properties> </Pedestrian> </ScenarioObject> <ScenarioObject name="pedestrian_close_to_standing_20206"> <Pedestrian model="walker.pedestrian.0001" mass="80" name="walker.pedestrian.0001" pedestrianCategory="pedestrian"> <ParameterDeclarations/> <BoundingBox> <Center x="1.5" y="0.0" z="0.9"/> <Dimensions width="2" length="2" height="2"/> </BoundingBox> <Properties> <Property name="type" value="simulation"/> </Properties> </Pedestrian> </ScenarioObject> <ScenarioObject name="pedestrian_close_to_standing_20207"> <Pedestrian model="walker.pedestrian.0001" mass="80" name="walker.pedestrian.0001" pedestrianCategory="pedestrian"> <ParameterDeclarations/> <BoundingBox> <Center x="1.5" y="0.0" z="0.9"/> <Dimensions width="2" length="2" height="2"/> </BoundingBox> <Properties> <Property name="type" value="simulation"/> </Properties> </Pedestrian> </ScenarioObject> <ScenarioObject name="pedestrian_close_to_adversary_20208"> <Pedestrian model="walker.pedestrian.0001" mass="80" name="walker.pedestrian.0001" pedestrianCategory="pedestrian"> <ParameterDeclarations/> <BoundingBox> <Center x="1.5" y="0.0" z="0.9"/> <Dimensions width="2" length="2" height="2"/> </BoundingBox> <Properties> <Property name="type" value="simulation"/> </Properties> </Pedestrian> </ScenarioObject> <ScenarioObject name="pedestrian_close_to_standing_20209"> <Pedestrian model="walker.pedestrian.0001" mass="80" name="walker.pedestrian.0001" pedestrianCategory="pedestrian"> <ParameterDeclarations/> <BoundingBox> <Center x="1.5" y="0.0" z="0.9"/> <Dimensions width="2" length="2" height="2"/> </BoundingBox> <Properties> <Property name="type" value="simulation"/> </Properties> </Pedestrian> </ScenarioObject> <ScenarioObject name="pedestrian_w_transform_20210"> <Pedestrian model="walker.pedestrian.0001" mass="80" name="walker.pedestrian.0001" pedestrianCategory="pedestrian"> <ParameterDeclarations/> <BoundingBox> <Center x="1.5" y="0.0" z="0.9"/> <Dimensions width="2" length="2" height="2"/> </BoundingBox> <Properties> <Property name="type" value="simulation"/> </Properties> </Pedestrian> </ScenarioObject> </Entities> <Storyboard> <Init> <Actions> <GlobalAction> <EnvironmentAction> <Environment name="Environment1"> <TimeOfDay animation="false" dateTime="2019-06-25T12:00:00"/> <Weather cloudState="free"> <Sun intensity="0.85" azimuth="0" elevation="1.31"/> <Fog visualRange="100000.0"/> <Precipitation precipitationType="dry" intensity="0.0"/> </Weather> <RoadCondition frictionScaleFactor="1.0"/> </Environment> </EnvironmentAction> </GlobalAction> <Private entityRef="hero"> <PrivateAction> <TeleportAction> <Position> <WorldPosition x="-9.4" y="-152.8" z="0.5" h="1.57079632679"/> </Position> </TeleportAction> </PrivateAction> <PrivateAction> <ControllerAction> <AssignControllerAction> <Controller name="HeroAgent"> <Properties> <Property name="module" value="external_control"/> </Properties> </Controller> </AssignControllerAction> <OverrideControllerValueAction> <Throttle value="0" active="false"/> <Brake value="0" active="false"/> <Clutch value="0" active="false"/> <ParkingBrake value="0" active="false"/> <SteeringWheel value="0" active="false"/> <Gear number="0" active="false"/> </OverrideControllerValueAction> </ControllerAction> </PrivateAction> </Private> <Private entityRef="adversary"> <PrivateAction> <TeleportAction> <Position> <WorldPosition x="-9.4" y="-71.0" z="0.5" h="1.57079632679"/> </Position> </TeleportAction> </PrivateAction> </Private> <Private entityRef="standing"> <PrivateAction> <TeleportAction> <Position> <WorldPosition x="-8.2" y="29.2" z="0.5" h="1.57079632679"/> </Position> </TeleportAction> </PrivateAction> </Private> <Private entityRef="pedestrian_close_to_hero_20188"> <PrivateAction> <TeleportAction> <Position> <WorldPosition x="-17.45708465576172" y="-157.7772674560547" z="0.0014286803780123591"/> </Position> </TeleportAction> </PrivateAction> </Private> <Private entityRef="pedestrian_w_transform_20189"> <PrivateAction> <TeleportAction> <Position> <WorldPosition x="49.782222747802734" y="47.46146774291992" z="0.5"/> </Position> </TeleportAction> </PrivateAction> </Private> <Private entityRef="pedestrian_close_to_standing_20190"> <PrivateAction> <TeleportAction> <Position> <WorldPosition x="-9.79780387878418" y="30.354787826538086" z="0.0030841827392578125"/> </Position> </TeleportAction> </PrivateAction> </Private> <Private entityRef="pedestrian_close_to_hero_20191"> <PrivateAction> <TeleportAction> <Position> <WorldPosition x="-5.926977634429932" y="-153.83090209960938" z="0.0014286803780123591"/> </Position> </TeleportAction> </PrivateAction> </Private> <Private entityRef="pedestrian_w_transform_20192"> <PrivateAction> <TeleportAction> <Position> <WorldPosition x="-76.59687805175781" y="13.141352653503418" z="0.5"/> </Position> </TeleportAction> </PrivateAction> </Private> <Private entityRef="pedestrian_close_to_adversary_20193"> <PrivateAction> <TeleportAction> <Position> <WorldPosition x="-9.397790908813477" y="-59.34508514404297" z="0.033805962651968"/> </Position> </TeleportAction> </PrivateAction> </Private> <Private entityRef="pedestrian_close_to_hero_20194"> <PrivateAction> <TeleportAction> <Position> <WorldPosition x="-6.035293102264404" y="-162.145263671875" z="0.0014286803780123591"/> </Position> </TeleportAction> </PrivateAction> </Private> <Private entityRef="pedestrian_close_to_hero_20195"> <PrivateAction> <TeleportAction> <Position> <WorldPosition x="-3.8604342937469482" y="-155.13674926757812" z="0.0014286803780123591"/> </Position> </TeleportAction> </PrivateAction> </Private> <Private entityRef="pedestrian_close_to_hero_20196"> <PrivateAction> <TeleportAction> <Position> <WorldPosition x="-5.496896743774414" y="-165.69371032714844" z="0.0014286803780123591"/> </Position> </TeleportAction> </PrivateAction> </Private> <Private entityRef="pedestrian_close_to_standing_20197"> <PrivateAction> <TeleportAction> <Position> <WorldPosition x="-16.30324935913086" y="31.325212478637695" z="0.003061447059735656"/> </Position> </TeleportAction> </PrivateAction> </Private> <Private entityRef="pedestrian_close_to_hero_20198"> <PrivateAction> <TeleportAction> <Position> <WorldPosition x="-13.828421592712402" y="-145.91134643554688" z="0.0014286803780123591"/> </Position> </TeleportAction> </PrivateAction> </Private> <Private entityRef="pedestrian_close_to_standing_20199"> <PrivateAction> <TeleportAction> <Position> <WorldPosition x="-4.2950310707092285" y="17.282142639160156" z="0.00308818812482059"/> </Position> </TeleportAction> </PrivateAction> </Private> <Private entityRef="pedestrian_w_transform_20200"> <PrivateAction> <TeleportAction> <Position> <WorldPosition x="42.37868881225586" y="38.584835052490234" z="0.5"/> </Position> </TeleportAction> </PrivateAction> </Private> <Private entityRef="pedestrian_close_to_hero_20201"> <PrivateAction> <TeleportAction> <Position> <WorldPosition x="-4.785828590393066" y="-152.00218200683594" z="0.0014286803780123591"/> </Position> </TeleportAction> </PrivateAction> </Private> <Private entityRef="pedestrian_close_to_hero_20203"> <PrivateAction> <TeleportAction> <Position> <WorldPosition x="-1.4700543880462646" y="-156.6823272705078" z="0.0014286803780123591"/> </Position> </TeleportAction> </PrivateAction> </Private> <Private entityRef="pedestrian_close_to_standing_20204"> <PrivateAction> <TeleportAction> <Position> <WorldPosition x="-24.74860382080078" y="24.26449203491211" z="0.0030311965383589268"/> </Position> </TeleportAction> </PrivateAction> </Private> <Private entityRef="pedestrian_w_transform_20205"> <PrivateAction> <TeleportAction> <Position> <WorldPosition x="-30.59550666809082" y="-82.33885955810547" z="0.5"/> </Position> </TeleportAction> </PrivateAction> </Private> <Private entityRef="pedestrian_close_to_standing_20206"> <PrivateAction> <TeleportAction> <Position> <WorldPosition x="-15.31591796875" y="20.014232635498047" z="0.0030461500864475965"/> </Position> </TeleportAction> </PrivateAction> </Private> <Private entityRef="pedestrian_close_to_standing_20207"> <PrivateAction> <TeleportAction> <Position> <WorldPosition x="-16.465723037719727" y="28.69435691833496" z="0.0030386734288185835"/> </Position> </TeleportAction> </PrivateAction> </Private> <Private entityRef="pedestrian_close_to_adversary_20208"> <PrivateAction> <TeleportAction> <Position> <WorldPosition x="-12.685629844665527" y="-70.02168273925781" z="0.033834684640169144"/> </Position> </TeleportAction> </PrivateAction> </Private> <Private entityRef="pedestrian_close_to_standing_20209"> <PrivateAction> <TeleportAction> <Position> <WorldPosition x="-6.108245372772217" y="38.41456604003906" z="0.0030686187092214823"/> </Position> </TeleportAction> </PrivateAction> </Private> <Private entityRef="pedestrian_w_transform_20210"> <PrivateAction> <TeleportAction> <Position> <WorldPosition x="14.949538230895996" y="11.58646011352539" z="0.5"/> </Position> </TeleportAction> </PrivateAction> </Private> </Actions> </Init> <Story name="MyStory"> <Act name="Behavior"> <ManeuverGroup maximumExecutionCount="1" name="ManeuverSequence"> <Actors selectTriggeringEntities="false"> <EntityRef entityRef="adversary"/> </Actors> <Maneuver name="LaneChangeSimpleManeuver"> <Event name="AdversaryAccelerates" priority="overwrite"> <Action name="AdversaryAccelerates"> <PrivateAction> <LongitudinalAction> <SpeedAction> <SpeedActionDynamics dynamicsShape="step" value="50" dynamicsDimension="distance"/> <SpeedActionTarget> <AbsoluteTargetSpeed value="5.0"/> </SpeedActionTarget> </SpeedAction> </LongitudinalAction> </PrivateAction> </Action> <StartTrigger> <ConditionGroup> <Condition name="StartCondition" delay="0" conditionEdge="rising"> <ByEntityCondition> <TriggeringEntities triggeringEntitiesRule="any"> <EntityRef entityRef="hero"/> </TriggeringEntities> <EntityCondition> <RelativeDistanceCondition entityRef="adversary" relativeDistanceType="cartesianDistance" value="40.0" freespace="false" rule="lessThan"/> </EntityCondition> </ByEntityCondition> </Condition> </ConditionGroup> </StartTrigger> </Event> <Event name="AdversaryChangesLane" priority="overwrite"> <Action name="AdversaryChangesLane"> <PrivateAction> <LateralAction> <LaneChangeAction> <LaneChangeActionDynamics dynamicsShape="linear" value="25" dynamicsDimension="distance"/> <LaneChangeTarget> <RelativeTargetLane entityRef="adversary" value="-1"/> </LaneChangeTarget> </LaneChangeAction> </LateralAction> </PrivateAction> </Action> <StartTrigger> <ConditionGroup> <Condition name="AfterAdversaryAccelerates" delay="0" conditionEdge="rising"> <ByValueCondition> <StoryboardElementStateCondition storyboardElementType="action" storyboardElementRef="AdversaryAccelerates" state="completeState"/> </ByValueCondition> </Condition> </ConditionGroup> </StartTrigger> </Event> </Maneuver> </ManeuverGroup> <StartTrigger> <ConditionGroup> <Condition name="OverallStartCondition" delay="0" conditionEdge="rising"> <ByEntityCondition> <TriggeringEntities triggeringEntitiesRule="any"> <EntityRef entityRef="hero"/> </TriggeringEntities> <EntityCondition> <TraveledDistanceCondition value="1.0"/> </EntityCondition> </ByEntityCondition> </Condition> <Condition name="StartTime" delay="0" conditionEdge="rising"> <ByValueCondition> <SimulationTimeCondition value="0" rule="equalTo"/> </ByValueCondition> </Condition> </ConditionGroup> </StartTrigger> <StopTrigger> <ConditionGroup> <Condition name="EndCondition" delay="0" conditionEdge="rising"> <ByEntityCondition> <TriggeringEntities triggeringEntitiesRule="any"> <EntityRef entityRef="hero"/> </TriggeringEntities> <EntityCondition> <TraveledDistanceCondition value="200.0"/> </EntityCondition> </ByEntityCondition> </Condition> </ConditionGroup> </StopTrigger> </Act> </Story> <StopTrigger> <ConditionGroup> <Condition name="criteria_RunningStopTest" delay="0" conditionEdge="rising"> <ByValueCondition> <ParameterCondition parameterRef="" value="" rule="lessThan"/> </ByValueCondition> </Condition> <Condition name="criteria_RunningRedLightTest" delay="0" conditionEdge="rising"> <ByValueCondition> <ParameterCondition parameterRef="" value="" rule="lessThan"/> </ByValueCondition> </Condition> <Condition name="criteria_WrongLaneTest" delay="0" conditionEdge="rising"> <ByValueCondition> <ParameterCondition parameterRef="" value="" rule="lessThan"/> </ByValueCondition> </Condition> <Condition name="criteria_OnSidewalkTest" delay="0" conditionEdge="rising"> <ByValueCondition> <ParameterCondition parameterRef="" value="" rule="lessThan"/> </ByValueCondition> </Condition> <Condition name="criteria_KeepLaneTest" delay="0" conditionEdge="rising"> <ByValueCondition> <ParameterCondition parameterRef="" value="" rule="lessThan"/> </ByValueCondition> </Condition> <Condition name="criteria_CollisionTest" delay="0" conditionEdge="rising"> <ByValueCondition> <ParameterCondition parameterRef="" value="" rule="lessThan"/> </ByValueCondition> </Condition> <Condition name="criteria_DrivenDistanceTest" delay="0" conditionEdge="rising"> <ByValueCondition> <ParameterCondition parameterRef="distance_success" value="100" rule="lessThan"/> </ByValueCondition> </Condition> </ConditionGroup> </StopTrigger> </Storyboard> </OpenSCENARIO> ```
i would like to ask you to add pedestrian at location (-4.1, -15.84, 0.5)? ``` <?xml version="1.0" ?> <OpenSCENARIO> <FileHeader revMajor="1" revMinor="0" date="2020-03-24T12:00:00" description="CARLA:LaneChangeSimple" author=""/> <ParameterDeclarations/> <CatalogLocations/> <RoadNetwork> <LogicFile filepath="Town04"/> <SceneGraphFile filepath=""/> </RoadNetwork> <Entities> <ScenarioObject name="hero"> <Vehicle name="vehicle.tesla.model3" vehicleCategory="car"> <ParameterDeclarations/> <Performance maxSpeed="69.444" maxAcceleration="200" maxDeceleration="10.0"/> <BoundingBox> <Center x="1.5" y="0.0" z="0.9"/> <Dimensions width="2.1" length="4.5" height="1.8"/> </BoundingBox> <Axles> <FrontAxle maxSteering="0.5" wheelDiameter="0.6" trackWidth="1.8" positionX="3.1" positionZ="0.3"/> <RearAxle maxSteering="0.0" wheelDiameter="0.6" trackWidth="1.8" positionX="0.0" positionZ="0.3"/> </Axles> <Properties> <Property name="type" value="ego_vehicle"/> </Properties> </Vehicle> </ScenarioObject> <ScenarioObject name="adversary"> <Vehicle name="vehicle.lincoln.mkz_2017" vehicleCategory="car"> <ParameterDeclarations/> <Performance maxSpeed="69.444" maxAcceleration="200" maxDeceleration="10.0"/> <BoundingBox> <Center x="1.5" y="0.0" z="0.9"/> <Dimensions width="2.1" length="4.5" height="1.8"/> </BoundingBox> <Axles> <FrontAxle maxSteering="0.5" wheelDiameter="0.6" trackWidth="1.8" positionX="3.1" positionZ="0.3"/> <RearAxle maxSteering="0.0" wheelDiameter="0.6" trackWidth="1.8" positionX="0.0" positionZ="0.3"/> </Axles> <Properties> <Property name="type" value="simulation"/> </Properties> </Vehicle> </ScenarioObject> <ScenarioObject name="standing"> <Vehicle name="vehicle.volkswagen.t2" vehicleCategory="car"> <ParameterDeclarations/> <Performance maxSpeed="69.444" maxAcceleration="200" maxDeceleration="10.0"/> <BoundingBox> <Center x="1.5" y="0.0" z="0.9"/> <Dimensions width="2.1" length="4.5" height="1.8"/> </BoundingBox> <Axles> <FrontAxle maxSteering="0.5" wheelDiameter="0.6" trackWidth="1.8" positionX="3.1" positionZ="0.3"/> <RearAxle maxSteering="0.0" wheelDiameter="0.6" trackWidth="1.8" positionX="0.0" positionZ="0.3"/> </Axles> <Properties> <Property name="type" value="simulation"/> </Properties> </Vehicle> </ScenarioObject> <ScenarioObject name="pedestrian_close_to_standing_18130"> <Pedestrian model="walker.pedestrian.0001" mass="80" name="walker.pedestrian.0001" pedestrianCategory="pedestrian"> <ParameterDeclarations/> <BoundingBox> <Center x="1.5" y="0.0" z="0.9"/> <Dimensions width="2" length="2" height="2"/> </BoundingBox> <Properties> <Property name="type" value="simulation"/> </Properties> </Pedestrian> </ScenarioObject> <ScenarioObject name="pedestrian_w_transform_18131"> <Pedestrian model="walker.pedestrian.0001" mass="80" name="walker.pedestrian.0001" pedestrianCategory="pedestrian"> <ParameterDeclarations/> <BoundingBox> <Center x="1.5" y="0.0" z="0.9"/> <Dimensions width="2" length="2" height="2"/> </BoundingBox> <Properties> <Property name="type" value="simulation"/> </Properties> </Pedestrian> </ScenarioObject> <ScenarioObject name="pedestrian_close_to_hero_18132"> <Pedestrian model="walker.pedestrian.0001" mass="80" name="walker.pedestrian.0001" pedestrianCategory="pedestrian"> <ParameterDeclarations/> <BoundingBox> <Center x="1.5" y="0.0" z="0.9"/> <Dimensions width="2" length="2" height="2"/> </BoundingBox> <Properties> <Property name="type" value="simulation"/> </Properties> </Pedestrian> </ScenarioObject> <ScenarioObject name="pedestrian_close_to_hero_18133"> <Pedestrian model="walker.pedestrian.0001" mass="80" name="walker.pedestrian.0001" pedestrianCategory="pedestrian"> <ParameterDeclarations/> <BoundingBox> <Center x="1.5" y="0.0" z="0.9"/> <Dimensions width="2" length="2" height="2"/> </BoundingBox> <Properties> <Property name="type" value="simulation"/> </Properties> </Pedestrian> </ScenarioObject> <ScenarioObject name="pedestrian_close_to_standing_18134"> <Pedestrian model="walker.pedestrian.0001" mass="80" name="walker.pedestrian.0001" pedestrianCategory="pedestrian"> <ParameterDeclarations/> <BoundingBox> <Center x="1.5" y="0.0" z="0.9"/> <Dimensions width="2" length="2" height="2"/> </BoundingBox> <Properties> <Property name="type" value="simulation"/> </Properties> </Pedestrian> </ScenarioObject> <ScenarioObject name="pedestrian_close_to_adversary_18135"> <Pedestrian model="walker.pedestrian.0001" mass="80" name="walker.pedestrian.0001" pedestrianCategory="pedestrian"> <ParameterDeclarations/> <BoundingBox> <Center x="1.5" y="0.0" z="0.9"/> <Dimensions width="2" length="2" height="2"/> </BoundingBox> <Properties> <Property name="type" value="simulation"/> </Properties> </Pedestrian> </ScenarioObject> <ScenarioObject name="pedestrian_w_transform_18136"> <Pedestrian model="walker.pedestrian.0001" mass="80" name="walker.pedestrian.0001" pedestrianCategory="pedestrian"> <ParameterDeclarations/> <BoundingBox> <Center x="1.5" y="0.0" z="0.9"/> <Dimensions width="2" length="2" height="2"/> </BoundingBox> <Properties> <Property name="type" value="simulation"/> </Properties> </Pedestrian> </ScenarioObject> <ScenarioObject name="pedestrian_w_transform_18137"> <Pedestrian model="walker.pedestrian.0001" mass="80" name="walker.pedestrian.0001" pedestrianCategory="pedestrian"> <ParameterDeclarations/> <BoundingBox> <Center x="1.5" y="0.0" z="0.9"/> <Dimensions width="2" length="2" height="2"/> </BoundingBox> <Properties> <Property name="type" value="simulation"/> </Properties> </Pedestrian> </ScenarioObject> <ScenarioObject name="pedestrian_close_to_adversary_18138"> <Pedestrian model="walker.pedestrian.0001" mass="80" name="walker.pedestrian.0001" pedestrianCategory="pedestrian"> <ParameterDeclarations/> <BoundingBox> <Center x="1.5" y="0.0" z="0.9"/> <Dimensions width="2" length="2" height="2"/> </BoundingBox> <Properties> <Property name="type" value="simulation"/> </Properties> </Pedestrian> </ScenarioObject> <ScenarioObject name="pedestrian_close_to_hero_18139"> <Pedestrian model="walker.pedestrian.0001" mass="80" name="walker.pedestrian.0001" pedestrianCategory="pedestrian"> <ParameterDeclarations/> <BoundingBox> <Center x="1.5" y="0.0" z="0.9"/> <Dimensions width="2" length="2" height="2"/> </BoundingBox> <Properties> <Property name="type" value="simulation"/> </Properties> </Pedestrian> </ScenarioObject> <ScenarioObject name="pedestrian_w_transform_18140"> <Pedestrian model="walker.pedestrian.0001" mass="80" name="walker.pedestrian.0001" pedestrianCategory="pedestrian"> <ParameterDeclarations/> <BoundingBox> <Center x="1.5" y="0.0" z="0.9"/> <Dimensions width="2" length="2" height="2"/> </BoundingBox> <Properties> <Property name="type" value="simulation"/> </Properties> </Pedestrian> </ScenarioObject> <ScenarioObject name="pedestrian_w_transform_18141"> <Pedestrian model="walker.pedestrian.0001" mass="80" name="walker.pedestrian.0001" pedestrianCategory="pedestrian"> <ParameterDeclarations/> <BoundingBox> <Center x="1.5" y="0.0" z="0.9"/> <Dimensions width="2" length="2" height="2"/> </BoundingBox> <Properties> <Property name="type" value="simulation"/> </Properties> </Pedestrian> </ScenarioObject> <ScenarioObject name="pedestrian_close_to_adversary_18142"> <Pedestrian model="walker.pedestrian.0001" mass="80" name="walker.pedestrian.0001" pedestrianCategory="pedestrian"> <ParameterDeclarations/> <BoundingBox> <Center x="1.5" y="0.0" z="0.9"/> <Dimensions width="2" length="2" height="2"/> </BoundingBox> <Properties> <Property name="type" value="simulation"/> </Properties> </Pedestrian> </ScenarioObject> <ScenarioObject name="pedestrian_w_transform_18143"> <Pedestrian model="walker.pedestrian.0001" mass="80" name="walker.pedestrian.0001" pedestrianCategory="pedestrian"> <ParameterDeclarations/> <BoundingBox> <Center x="1.5" y="0.0" z="0.9"/> <Dimensions width="2" length="2" height="2"/> </BoundingBox> <Properties> <Property name="type" value="simulation"/> </Properties> </Pedestrian> </ScenarioObject> <ScenarioObject name="pedestrian_w_transform_18144"> <Pedestrian model="walker.pedestrian.0001" mass="80" name="walker.pedestrian.0001" pedestrianCategory="pedestrian"> <ParameterDeclarations/> <BoundingBox> <Center x="1.5" y="0.0" z="0.9"/> <Dimensions width="2" length="2" height="2"/> </BoundingBox> <Properties> <Property name="type" value="simulation"/> </Properties> </Pedestrian> </ScenarioObject> <ScenarioObject name="pedestrian_close_to_adversary_18145"> <Pedestrian model="walker.pedestrian.0001" mass="80" name="walker.pedestrian.0001" pedestrianCategory="pedestrian"> <ParameterDeclarations/> <BoundingBox> <Center x="1.5" y="0.0" z="0.9"/> <Dimensions width="2" length="2" height="2"/> </BoundingBox> <Properties> <Property name="type" value="simulation"/> </Properties> </Pedestrian> </ScenarioObject> <ScenarioObject name="pedestrian_close_to_adversary_18146"> <Pedestrian model="walker.pedestrian.0001" mass="80" name="walker.pedestrian.0001" pedestrianCategory="pedestrian"> <ParameterDeclarations/> <BoundingBox> <Center x="1.5" y="0.0" z="0.9"/> <Dimensions width="2" length="2" height="2"/> </BoundingBox> <Properties> <Property name="type" value="simulation"/> </Properties> </Pedestrian> </ScenarioObject> <ScenarioObject name="pedestrian_w_transform_18147"> <Pedestrian model="walker.pedestrian.0001" mass="80" name="walker.pedestrian.0001" pedestrianCategory="pedestrian"> <ParameterDeclarations/> <BoundingBox> <Center x="1.5" y="0.0" z="0.9"/> <Dimensions width="2" length="2" height="2"/> </BoundingBox> <Properties> <Property name="type" value="simulation"/> </Properties> </Pedestrian> </ScenarioObject> <ScenarioObject name="pedestrian_close_to_standing_18148"> <Pedestrian model="walker.pedestrian.0001" mass="80" name="walker.pedestrian.0001" pedestrianCategory="pedestrian"> <ParameterDeclarations/> <BoundingBox> <Center x="1.5" y="0.0" z="0.9"/> <Dimensions width="2" length="2" height="2"/> </BoundingBox> <Properties> <Property name="type" value="simulation"/> </Properties> </Pedestrian> </ScenarioObject> <ScenarioObject name="pedestrian_close_to_adversary_18149"> <Pedestrian model="walker.pedestrian.0001" mass="80" name="walker.pedestrian.0001" pedestrianCategory="pedestrian"> <ParameterDeclarations/> <BoundingBox> <Center x="1.5" y="0.0" z="0.9"/> <Dimensions width="2" length="2" height="2"/> </BoundingBox> <Properties> <Property name="type" value="simulation"/> </Properties> </Pedestrian> </ScenarioObject> </Entities> <Storyboard> <Init> <Actions> <GlobalAction> <EnvironmentAction> <Environment name="Environment1"> <TimeOfDay animation="false" dateTime="2019-06-25T12:00:00"/> <Weather cloudState="free"> <Sun intensity="0.85" azimuth="0" elevation="1.31"/> <Fog visualRange="100000.0"/> <Precipitation precipitationType="dry" intensity="0.0"/> </Weather> <RoadCondition frictionScaleFactor="1.0"/> </Environment> </EnvironmentAction> </GlobalAction> <Private entityRef="hero"> <PrivateAction> <TeleportAction> <Position> <WorldPosition x="-9.4" y="-152.8" z="0.5" h="1.57079632679"/> </Position> </TeleportAction> </PrivateAction> <PrivateAction> <ControllerAction> <AssignControllerAction> <Controller name="HeroAgent"> <Properties> <Property name="module" value="external_control"/> </Properties> </Controller> </AssignControllerAction> <OverrideControllerValueAction> <Throttle value="0" active="false"/> <Brake value="0" active="false"/> <Clutch value="0" active="false"/> <ParkingBrake value="0" active="false"/> <SteeringWheel value="0" active="false"/> <Gear number="0" active="false"/> </OverrideControllerValueAction> </ControllerAction> </PrivateAction> </Private> <Private entityRef="adversary"> <PrivateAction> <TeleportAction> <Position> <WorldPosition x="-9.4" y="-71.0" z="0.5" h="1.57079632679"/> </Position> </TeleportAction> </PrivateAction> </Private> <Private entityRef="standing"> <PrivateAction> <TeleportAction> <Position> <WorldPosition x="-8.2" y="29.2" z="0.5" h="1.57079632679"/> </Position> </TeleportAction> </PrivateAction> </Private> <Private entityRef="pedestrian_close_to_standing_18130"> <PrivateAction> <TeleportAction> <Position> <WorldPosition x="-11.658831596374512" y="19.762386322021484" z="0.0030237960163503885"/> </Position> </TeleportAction> </PrivateAction> </Private> <Private entityRef="pedestrian_w_transform_18131"> <PrivateAction> <TeleportAction> <Position> <WorldPosition x="-92.1574935913086" y="42.211280822753906" z="0.5"/> </Position> </TeleportAction> </PrivateAction> </Private> <Private entityRef="pedestrian_close_to_hero_18132"> <PrivateAction> <TeleportAction> <Position> <WorldPosition x="-6.329350471496582" y="-145.0849609375" z="0.0014286803780123591"/> </Position> </TeleportAction> </PrivateAction> </Private> <Private entityRef="pedestrian_close_to_hero_18133"> <PrivateAction> <TeleportAction> <Position> <WorldPosition x="-9.675777435302734" y="-144.69908142089844" z="0.0014286803780123591"/> </Position> </TeleportAction> </PrivateAction> </Private> <Private entityRef="pedestrian_close_to_standing_18134"> <PrivateAction> <TeleportAction> <Position> <WorldPosition x="-17.532398223876953" y="30.652626037597656" z="0.0030341718811541796"/> </Position> </TeleportAction> </PrivateAction> </Private> <Private entityRef="pedestrian_close_to_adversary_18135"> <PrivateAction> <TeleportAction> <Position> <WorldPosition x="-2.0740063190460205" y="-73.25565338134766" z="0.03383788838982582"/> </Position> </TeleportAction> </PrivateAction> </Private> <Private entityRef="pedestrian_w_transform_18136"> <PrivateAction> <TeleportAction> <Position> <WorldPosition x="-76.49520111083984" y="-87.27540588378906" z="0.5"/> </Position> </TeleportAction> </PrivateAction> </Private> <Private entityRef="pedestrian_w_transform_18137"> <PrivateAction> <TeleportAction> <Position> <WorldPosition x="36.983943939208984" y="54.787872314453125" z="0.5"/> </Position> </TeleportAction> </PrivateAction> </Private> <Private entityRef="pedestrian_close_to_adversary_18138"> <PrivateAction> <TeleportAction> <Position> <WorldPosition x="-1.841019630432129" y="-75.67060089111328" z="0.03381111100316048"/> </Position> </TeleportAction> </PrivateAction> </Private> <Private entityRef="pedestrian_close_to_hero_18139"> <PrivateAction> <TeleportAction> <Position> <WorldPosition x="-17.122196197509766" y="-159.83392333984375" z="0.0014286803780123591"/> </Position> </TeleportAction> </PrivateAction> </Private> <Private entityRef="pedestrian_w_transform_18140"> <PrivateAction> <TeleportAction> <Position> <WorldPosition x="-81.76338195800781" y="14.839820861816406" z="0.5"/> </Position> </TeleportAction> </PrivateAction> </Private> <Private entityRef="pedestrian_w_transform_18141"> <PrivateAction> <TeleportAction> <Position> <WorldPosition x="-47.15125274658203" y="24.376564025878906" z="0.5"/> </Position> </TeleportAction> </PrivateAction> </Private> <Private entityRef="pedestrian_close_to_adversary_18142"> <PrivateAction> <TeleportAction> <Position> <WorldPosition x="-11.986761093139648" y="-71.85064697265625" z="0.033849067986011505"/> </Position> </TeleportAction> </PrivateAction> </Private> <Private entityRef="pedestrian_w_transform_18143"> <PrivateAction> <TeleportAction> <Position> <WorldPosition x="26.681785583496094" y="-8.2088623046875" z="0.5"/> </Position> </TeleportAction> </PrivateAction> </Private> <Private entityRef="pedestrian_w_transform_18144"> <PrivateAction> <TeleportAction> <Position> <WorldPosition x="2.533515214920044" y="-98.90907287597656" z="0.5"/> </Position> </TeleportAction> </PrivateAction> </Private> <Private entityRef="pedestrian_close_to_adversary_18145"> <PrivateAction> <TeleportAction> <Position> <WorldPosition x="-12.98383903503418" y="-65.48493957519531" z="0.0337454229593277"/> </Position> </TeleportAction> </PrivateAction> </Private> <Private entityRef="pedestrian_close_to_adversary_18146"> <PrivateAction> <TeleportAction> <Position> <WorldPosition x="-16.52115249633789" y="-74.86083221435547" z="0.03378612548112869"/> </Position> </TeleportAction> </PrivateAction> </Private> <Private entityRef="pedestrian_w_transform_18147"> <PrivateAction> <TeleportAction> <Position> <WorldPosition x="33.98647689819336" y="82.00830841064453" z="0.5"/> </Position> </TeleportAction> </PrivateAction> </Private> <Private entityRef="pedestrian_close_to_standing_18148"> <PrivateAction> <TeleportAction> <Position> <WorldPosition x="-10.888161659240723" y="23.90174102783203" z="0.0031045149080455303"/> </Position> </TeleportAction> </PrivateAction> </Private> <Private entityRef="pedestrian_close_to_adversary_18149"> <PrivateAction> <TeleportAction> <Position> <WorldPosition x="5.587150573730469" y="-71.31021881103516" z="0.033818092197179794"/> </Position> </TeleportAction> </PrivateAction> </Private> </Actions> </Init> <Story name="MyStory"> <Act name="Behavior"> <ManeuverGroup maximumExecutionCount="1" name="ManeuverSequence"> <Actors selectTriggeringEntities="false"> <EntityRef entityRef="adversary"/> </Actors> <Maneuver name="LaneChangeSimpleManeuver"> <Event name="AdversaryAccelerates" priority="overwrite"> <Action name="AdversaryAccelerates"> <PrivateAction> <LongitudinalAction> <SpeedAction> <SpeedActionDynamics dynamicsShape="step" value="50" dynamicsDimension="distance"/> <SpeedActionTarget> <AbsoluteTargetSpeed value="5.0"/> </SpeedActionTarget> </SpeedAction> </LongitudinalAction> </PrivateAction> </Action> <StartTrigger> <ConditionGroup> <Condition name="StartCondition" delay="0" conditionEdge="rising"> <ByEntityCondition> <TriggeringEntities triggeringEntitiesRule="any"> <EntityRef entityRef="hero"/> </TriggeringEntities> <EntityCondition> <RelativeDistanceCondition entityRef="adversary" relativeDistanceType="cartesianDistance" value="40.0" freespace="false" rule="lessThan"/> </EntityCondition> </ByEntityCondition> </Condition> </ConditionGroup> </StartTrigger> </Event> <Event name="AdversaryChangesLane" priority="overwrite"> <Action name="AdversaryChangesLane"> <PrivateAction> <LateralAction> <LaneChangeAction> <LaneChangeActionDynamics dynamicsShape="linear" value="25" dynamicsDimension="distance"/> <LaneChangeTarget> <RelativeTargetLane entityRef="adversary" value="-1"/> </LaneChangeTarget> </LaneChangeAction> </LateralAction> </PrivateAction> </Action> <StartTrigger> <ConditionGroup> <Condition name="AfterAdversaryAccelerates" delay="0" conditionEdge="rising"> <ByValueCondition> <StoryboardElementStateCondition storyboardElementType="action" storyboardElementRef="AdversaryAccelerates" state="completeState"/> </ByValueCondition> </Condition> </ConditionGroup> </StartTrigger> </Event> </Maneuver> </ManeuverGroup> <StartTrigger> <ConditionGroup> <Condition name="OverallStartCondition" delay="0" conditionEdge="rising"> <ByEntityCondition> <TriggeringEntities triggeringEntitiesRule="any"> <EntityRef entityRef="hero"/> </TriggeringEntities> <EntityCondition> <TraveledDistanceCondition value="1.0"/> </EntityCondition> </ByEntityCondition> </Condition> <Condition name="StartTime" delay="0" conditionEdge="rising"> <ByValueCondition> <SimulationTimeCondition value="0" rule="equalTo"/> </ByValueCondition> </Condition> </ConditionGroup> </StartTrigger> <StopTrigger> <ConditionGroup> <Condition name="EndCondition" delay="0" conditionEdge="rising"> <ByEntityCondition> <TriggeringEntities triggeringEntitiesRule="any"> <EntityRef entityRef="hero"/> </TriggeringEntities> <EntityCondition> <TraveledDistanceCondition value="200.0"/> </EntityCondition> </ByEntityCondition> </Condition> </ConditionGroup> </StopTrigger> </Act> </Story> <StopTrigger> <ConditionGroup> <Condition name="criteria_RunningStopTest" delay="0" conditionEdge="rising"> <ByValueCondition> <ParameterCondition parameterRef="" value="" rule="lessThan"/> </ByValueCondition> </Condition> <Condition name="criteria_RunningRedLightTest" delay="0" conditionEdge="rising"> <ByValueCondition> <ParameterCondition parameterRef="" value="" rule="lessThan"/> </ByValueCondition> </Condition> <Condition name="criteria_WrongLaneTest" delay="0" conditionEdge="rising"> <ByValueCondition> <ParameterCondition parameterRef="" value="" rule="lessThan"/> </ByValueCondition> </Condition> <Condition name="criteria_OnSidewalkTest" delay="0" conditionEdge="rising"> <ByValueCondition> <ParameterCondition parameterRef="" value="" rule="lessThan"/> </ByValueCondition> </Condition> <Condition name="criteria_KeepLaneTest" delay="0" conditionEdge="rising"> <ByValueCondition> <ParameterCondition parameterRef="" value="" rule="lessThan"/> </ByValueCondition> </Condition> <Condition name="criteria_CollisionTest" delay="0" conditionEdge="rising"> <ByValueCondition> <ParameterCondition parameterRef="" value="" rule="lessThan"/> </ByValueCondition> </Condition> <Condition name="criteria_DrivenDistanceTest" delay="0" conditionEdge="rising"> <ByValueCondition> <ParameterCondition parameterRef="distance_success" value="100" rule="lessThan"/> </ByValueCondition> </Condition> </ConditionGroup> </StopTrigger> </Storyboard> </OpenSCENARIO> ```
Here is the result: ``` <?xml version="1.0" ?> <OpenSCENARIO> <FileHeader revMajor="1" revMinor="0" date="2020-03-24T12:00:00" description="CARLA:LaneChangeSimple" author=""/> <ParameterDeclarations/> <CatalogLocations/> <RoadNetwork> <LogicFile filepath="Town04"/> <SceneGraphFile filepath=""/> </RoadNetwork> <Entities> <ScenarioObject name="hero"> <Vehicle name="vehicle.tesla.model3" vehicleCategory="car"> <ParameterDeclarations/> <Performance maxSpeed="69.444" maxAcceleration="200" maxDeceleration="10.0"/> <BoundingBox> <Center x="1.5" y="0.0" z="0.9"/> <Dimensions width="2.1" length="4.5" height="1.8"/> </BoundingBox> <Axles> <FrontAxle maxSteering="0.5" wheelDiameter="0.6" trackWidth="1.8" positionX="3.1" positionZ="0.3"/> <RearAxle maxSteering="0.0" wheelDiameter="0.6" trackWidth="1.8" positionX="0.0" positionZ="0.3"/> </Axles> <Properties> <Property name="type" value="ego_vehicle"/> </Properties> </Vehicle> </ScenarioObject> <ScenarioObject name="adversary"> <Vehicle name="vehicle.lincoln.mkz_2017" vehicleCategory="car"> <ParameterDeclarations/> <Performance maxSpeed="69.444" maxAcceleration="200" maxDeceleration="10.0"/> <BoundingBox> <Center x="1.5" y="0.0" z="0.9"/> <Dimensions width="2.1" length="4.5" height="1.8"/> </BoundingBox> <Axles> <FrontAxle maxSteering="0.5" wheelDiameter="0.6" trackWidth="1.8" positionX="3.1" positionZ="0.3"/> <RearAxle maxSteering="0.0" wheelDiameter="0.6" trackWidth="1.8" positionX="0.0" positionZ="0.3"/> </Axles> <Properties> <Property name="type" value="simulation"/> </Properties> </Vehicle> </ScenarioObject> <ScenarioObject name="standing"> <Vehicle name="vehicle.volkswagen.t2" vehicleCategory="car"> <ParameterDeclarations/> <Performance maxSpeed="69.444" maxAcceleration="200" maxDeceleration="10.0"/> <BoundingBox> <Center x="1.5" y="0.0" z="0.9"/> <Dimensions width="2.1" length="4.5" height="1.8"/> </BoundingBox> <Axles> <FrontAxle maxSteering="0.5" wheelDiameter="0.6" trackWidth="1.8" positionX="3.1" positionZ="0.3"/> <RearAxle maxSteering="0.0" wheelDiameter="0.6" trackWidth="1.8" positionX="0.0" positionZ="0.3"/> </Axles> <Properties> <Property name="type" value="simulation"/> </Properties> </Vehicle> </ScenarioObject> <ScenarioObject name="pedestrian_close_to_standing_18130"> <Pedestrian model="walker.pedestrian.0001" mass="80" name="walker.pedestrian.0001" pedestrianCategory="pedestrian"> <ParameterDeclarations/> <BoundingBox> <Center x="1.5" y="0.0" z="0.9"/> <Dimensions width="2" length="2" height="2"/> </BoundingBox> <Properties> <Property name="type" value="simulation"/> </Properties> </Pedestrian> </ScenarioObject> <ScenarioObject name="pedestrian_w_transform_18131"> <Pedestrian model="walker.pedestrian.0001" mass="80" name="walker.pedestrian.0001" pedestrianCategory="pedestrian"> <ParameterDeclarations/> <BoundingBox> <Center x="1.5" y="0.0" z="0.9"/> <Dimensions width="2" length="2" height="2"/> </BoundingBox> <Properties> <Property name="type" value="simulation"/> </Properties> </Pedestrian> </ScenarioObject> <ScenarioObject name="pedestrian_close_to_hero_18132"> <Pedestrian model="walker.pedestrian.0001" mass="80" name="walker.pedestrian.0001" pedestrianCategory="pedestrian"> <ParameterDeclarations/> <BoundingBox> <Center x="1.5" y="0.0" z="0.9"/> <Dimensions width="2" length="2" height="2"/> </BoundingBox> <Properties> <Property name="type" value="simulation"/> </Properties> </Pedestrian> </ScenarioObject> <ScenarioObject name="pedestrian_close_to_hero_18133"> <Pedestrian model="walker.pedestrian.0001" mass="80" name="walker.pedestrian.0001" pedestrianCategory="pedestrian"> <ParameterDeclarations/> <BoundingBox> <Center x="1.5" y="0.0" z="0.9"/> <Dimensions width="2" length="2" height="2"/> </BoundingBox> <Properties> <Property name="type" value="simulation"/> </Properties> </Pedestrian> </ScenarioObject> <ScenarioObject name="pedestrian_close_to_standing_18134"> <Pedestrian model="walker.pedestrian.0001" mass="80" name="walker.pedestrian.0001" pedestrianCategory="pedestrian"> <ParameterDeclarations/> <BoundingBox> <Center x="1.5" y="0.0" z="0.9"/> <Dimensions width="2" length="2" height="2"/> </BoundingBox> <Properties> <Property name="type" value="simulation"/> </Properties> </Pedestrian> </ScenarioObject> <ScenarioObject name="pedestrian_close_to_adversary_18135"> <Pedestrian model="walker.pedestrian.0001" mass="80" name="walker.pedestrian.0001" pedestrianCategory="pedestrian"> <ParameterDeclarations/> <BoundingBox> <Center x="1.5" y="0.0" z="0.9"/> <Dimensions width="2" length="2" height="2"/> </BoundingBox> <Properties> <Property name="type" value="simulation"/> </Properties> </Pedestrian> </ScenarioObject> <ScenarioObject name="pedestrian_w_transform_18136"> <Pedestrian model="walker.pedestrian.0001" mass="80" name="walker.pedestrian.0001" pedestrianCategory="pedestrian"> <ParameterDeclarations/> <BoundingBox> <Center x="1.5" y="0.0" z="0.9"/> <Dimensions width="2" length="2" height="2"/> </BoundingBox> <Properties> <Property name="type" value="simulation"/> </Properties> </Pedestrian> </ScenarioObject> <ScenarioObject name="pedestrian_w_transform_18137"> <Pedestrian model="walker.pedestrian.0001" mass="80" name="walker.pedestrian.0001" pedestrianCategory="pedestrian"> <ParameterDeclarations/> <BoundingBox> <Center x="1.5" y="0.0" z="0.9"/> <Dimensions width="2" length="2" height="2"/> </BoundingBox> <Properties> <Property name="type" value="simulation"/> </Properties> </Pedestrian> </ScenarioObject> <ScenarioObject name="pedestrian_close_to_adversary_18138"> <Pedestrian model="walker.pedestrian.0001" mass="80" name="walker.pedestrian.0001" pedestrianCategory="pedestrian"> <ParameterDeclarations/> <BoundingBox> <Center x="1.5" y="0.0" z="0.9"/> <Dimensions width="2" length="2" height="2"/> </BoundingBox> <Properties> <Property name="type" value="simulation"/> </Properties> </Pedestrian> </ScenarioObject> <ScenarioObject name="pedestrian_close_to_hero_18139"> <Pedestrian model="walker.pedestrian.0001" mass="80" name="walker.pedestrian.0001" pedestrianCategory="pedestrian"> <ParameterDeclarations/> <BoundingBox> <Center x="1.5" y="0.0" z="0.9"/> <Dimensions width="2" length="2" height="2"/> </BoundingBox> <Properties> <Property name="type" value="simulation"/> </Properties> </Pedestrian> </ScenarioObject> <ScenarioObject name="pedestrian_w_transform_18140"> <Pedestrian model="walker.pedestrian.0001" mass="80" name="walker.pedestrian.0001" pedestrianCategory="pedestrian"> <ParameterDeclarations/> <BoundingBox> <Center x="1.5" y="0.0" z="0.9"/> <Dimensions width="2" length="2" height="2"/> </BoundingBox> <Properties> <Property name="type" value="simulation"/> </Properties> </Pedestrian> </ScenarioObject> <ScenarioObject name="pedestrian_w_transform_18141"> <Pedestrian model="walker.pedestrian.0001" mass="80" name="walker.pedestrian.0001" pedestrianCategory="pedestrian"> <ParameterDeclarations/> <BoundingBox> <Center x="1.5" y="0.0" z="0.9"/> <Dimensions width="2" length="2" height="2"/> </BoundingBox> <Properties> <Property name="type" value="simulation"/> </Properties> </Pedestrian> </ScenarioObject> <ScenarioObject name="pedestrian_close_to_adversary_18142"> <Pedestrian model="walker.pedestrian.0001" mass="80" name="walker.pedestrian.0001" pedestrianCategory="pedestrian"> <ParameterDeclarations/> <BoundingBox> <Center x="1.5" y="0.0" z="0.9"/> <Dimensions width="2" length="2" height="2"/> </BoundingBox> <Properties> <Property name="type" value="simulation"/> </Properties> </Pedestrian> </ScenarioObject> <ScenarioObject name="pedestrian_w_transform_18143"> <Pedestrian model="walker.pedestrian.0001" mass="80" name="walker.pedestrian.0001" pedestrianCategory="pedestrian"> <ParameterDeclarations/> <BoundingBox> <Center x="1.5" y="0.0" z="0.9"/> <Dimensions width="2" length="2" height="2"/> </BoundingBox> <Properties> <Property name="type" value="simulation"/> </Properties> </Pedestrian> </ScenarioObject> <ScenarioObject name="pedestrian_w_transform_18144"> <Pedestrian model="walker.pedestrian.0001" mass="80" name="walker.pedestrian.0001" pedestrianCategory="pedestrian"> <ParameterDeclarations/> <BoundingBox> <Center x="1.5" y="0.0" z="0.9"/> <Dimensions width="2" length="2" height="2"/> </BoundingBox> <Properties> <Property name="type" value="simulation"/> </Properties> </Pedestrian> </ScenarioObject> <ScenarioObject name="pedestrian_close_to_adversary_18145"> <Pedestrian model="walker.pedestrian.0001" mass="80" name="walker.pedestrian.0001" pedestrianCategory="pedestrian"> <ParameterDeclarations/> <BoundingBox> <Center x="1.5" y="0.0" z="0.9"/> <Dimensions width="2" length="2" height="2"/> </BoundingBox> <Properties> <Property name="type" value="simulation"/> </Properties> </Pedestrian> </ScenarioObject> <ScenarioObject name="pedestrian_close_to_adversary_18146"> <Pedestrian model="walker.pedestrian.0001" mass="80" name="walker.pedestrian.0001" pedestrianCategory="pedestrian"> <ParameterDeclarations/> <BoundingBox> <Center x="1.5" y="0.0" z="0.9"/> <Dimensions width="2" length="2" height="2"/> </BoundingBox> <Properties> <Property name="type" value="simulation"/> </Properties> </Pedestrian> </ScenarioObject> <ScenarioObject name="pedestrian_w_transform_18147"> <Pedestrian model="walker.pedestrian.0001" mass="80" name="walker.pedestrian.0001" pedestrianCategory="pedestrian"> <ParameterDeclarations/> <BoundingBox> <Center x="1.5" y="0.0" z="0.9"/> <Dimensions width="2" length="2" height="2"/> </BoundingBox> <Properties> <Property name="type" value="simulation"/> </Properties> </Pedestrian> </ScenarioObject> <ScenarioObject name="pedestrian_close_to_standing_18148"> <Pedestrian model="walker.pedestrian.0001" mass="80" name="walker.pedestrian.0001" pedestrianCategory="pedestrian"> <ParameterDeclarations/> <BoundingBox> <Center x="1.5" y="0.0" z="0.9"/> <Dimensions width="2" length="2" height="2"/> </BoundingBox> <Properties> <Property name="type" value="simulation"/> </Properties> </Pedestrian> </ScenarioObject> <ScenarioObject name="pedestrian_close_to_adversary_18149"> <Pedestrian model="walker.pedestrian.0001" mass="80" name="walker.pedestrian.0001" pedestrianCategory="pedestrian"> <ParameterDeclarations/> <BoundingBox> <Center x="1.5" y="0.0" z="0.9"/> <Dimensions width="2" length="2" height="2"/> </BoundingBox> <Properties> <Property name="type" value="simulation"/> </Properties> </Pedestrian> </ScenarioObject> <ScenarioObject name="pedestrian_w_transform_18150"> <Pedestrian model="walker.pedestrian.0001" mass="80" name="walker.pedestrian.0001" pedestrianCategory="pedestrian"> <ParameterDeclarations/> <BoundingBox> <Center x="1.5" y="0.0" z="0.9"/> <Dimensions width="2" length="2" height="2"/> </BoundingBox> <Properties> <Property name="type" value="simulation"/> </Properties> </Pedestrian> </ScenarioObject> </Entities> <Storyboard> <Init> <Actions> <GlobalAction> <EnvironmentAction> <Environment name="Environment1"> <TimeOfDay animation="false" dateTime="2019-06-25T12:00:00"/> <Weather cloudState="free"> <Sun intensity="0.85" azimuth="0" elevation="1.31"/> <Fog visualRange="100000.0"/> <Precipitation precipitationType="dry" intensity="0.0"/> </Weather> <RoadCondition frictionScaleFactor="1.0"/> </Environment> </EnvironmentAction> </GlobalAction> <Private entityRef="hero"> <PrivateAction> <TeleportAction> <Position> <WorldPosition x="-9.4" y="-152.8" z="0.5" h="1.57079632679"/> </Position> </TeleportAction> </PrivateAction> <PrivateAction> <ControllerAction> <AssignControllerAction> <Controller name="HeroAgent"> <Properties> <Property name="module" value="external_control"/> </Properties> </Controller> </AssignControllerAction> <OverrideControllerValueAction> <Throttle value="0" active="false"/> <Brake value="0" active="false"/> <Clutch value="0" active="false"/> <ParkingBrake value="0" active="false"/> <SteeringWheel value="0" active="false"/> <Gear number="0" active="false"/> </OverrideControllerValueAction> </ControllerAction> </PrivateAction> </Private> <Private entityRef="adversary"> <PrivateAction> <TeleportAction> <Position> <WorldPosition x="-9.4" y="-71.0" z="0.5" h="1.57079632679"/> </Position> </TeleportAction> </PrivateAction> </Private> <Private entityRef="standing"> <PrivateAction> <TeleportAction> <Position> <WorldPosition x="-8.2" y="29.2" z="0.5" h="1.57079632679"/> </Position> </TeleportAction> </PrivateAction> </Private> <Private entityRef="pedestrian_close_to_standing_18130"> <PrivateAction> <TeleportAction> <Position> <WorldPosition x="-11.658831596374512" y="19.762386322021484" z="0.0030237960163503885"/> </Position> </TeleportAction> </PrivateAction> </Private> <Private entityRef="pedestrian_w_transform_18131"> <PrivateAction> <TeleportAction> <Position> <WorldPosition x="-92.1574935913086" y="42.211280822753906" z="0.5"/> </Position> </TeleportAction> </PrivateAction> </Private> <Private entityRef="pedestrian_close_to_hero_18132"> <PrivateAction> <TeleportAction> <Position> <WorldPosition x="-6.329350471496582" y="-145.0849609375" z="0.0014286803780123591"/> </Position> </TeleportAction> </PrivateAction> </Private> <Private entityRef="pedestrian_close_to_hero_18133"> <PrivateAction> <TeleportAction> <Position> <WorldPosition x="-9.675777435302734" y="-144.69908142089844" z="0.0014286803780123591"/> </Position> </TeleportAction> </PrivateAction> </Private> <Private entityRef="pedestrian_close_to_standing_18134"> <PrivateAction> <TeleportAction> <Position> <WorldPosition x="-17.532398223876953" y="30.652626037597656" z="0.0030341718811541796"/> </Position> </TeleportAction> </PrivateAction> </Private> <Private entityRef="pedestrian_close_to_adversary_18135"> <PrivateAction> <TeleportAction> <Position> <WorldPosition x="-2.0740063190460205" y="-73.25565338134766" z="0.03383788838982582"/> </Position> </TeleportAction> </PrivateAction> </Private> <Private entityRef="pedestrian_w_transform_18136"> <PrivateAction> <TeleportAction> <Position> <WorldPosition x="-76.49520111083984" y="-87.27540588378906" z="0.5"/> </Position> </TeleportAction> </PrivateAction> </Private> <Private entityRef="pedestrian_w_transform_18137"> <PrivateAction> <TeleportAction> <Position> <WorldPosition x="36.983943939208984" y="54.787872314453125" z="0.5"/> </Position> </TeleportAction> </PrivateAction> </Private> <Private entityRef="pedestrian_close_to_adversary_18138"> <PrivateAction> <TeleportAction> <Position> <WorldPosition x="-1.841019630432129" y="-75.67060089111328" z="0.03381111100316048"/> </Position> </TeleportAction> </PrivateAction> </Private> <Private entityRef="pedestrian_close_to_hero_18139"> <PrivateAction> <TeleportAction> <Position> <WorldPosition x="-17.122196197509766" y="-159.83392333984375" z="0.0014286803780123591"/> </Position> </TeleportAction> </PrivateAction> </Private> <Private entityRef="pedestrian_w_transform_18140"> <PrivateAction> <TeleportAction> <Position> <WorldPosition x="-81.76338195800781" y="14.839820861816406" z="0.5"/> </Position> </TeleportAction> </PrivateAction> </Private> <Private entityRef="pedestrian_w_transform_18141"> <PrivateAction> <TeleportAction> <Position> <WorldPosition x="-47.15125274658203" y="24.376564025878906" z="0.5"/> </Position> </TeleportAction> </PrivateAction> </Private> <Private entityRef="pedestrian_close_to_adversary_18142"> <PrivateAction> <TeleportAction> <Position> <WorldPosition x="-11.986761093139648" y="-71.85064697265625" z="0.033849067986011505"/> </Position> </TeleportAction> </PrivateAction> </Private> <Private entityRef="pedestrian_w_transform_18143"> <PrivateAction> <TeleportAction> <Position> <WorldPosition x="26.681785583496094" y="-8.2088623046875" z="0.5"/> </Position> </TeleportAction> </PrivateAction> </Private> <Private entityRef="pedestrian_w_transform_18144"> <PrivateAction> <TeleportAction> <Position> <WorldPosition x="2.533515214920044" y="-98.90907287597656" z="0.5"/> </Position> </TeleportAction> </PrivateAction> </Private> <Private entityRef="pedestrian_close_to_adversary_18145"> <PrivateAction> <TeleportAction> <Position> <WorldPosition x="-12.98383903503418" y="-65.48493957519531" z="0.0337454229593277"/> </Position> </TeleportAction> </PrivateAction> </Private> <Private entityRef="pedestrian_close_to_adversary_18146"> <PrivateAction> <TeleportAction> <Position> <WorldPosition x="-16.52115249633789" y="-74.86083221435547" z="0.03378612548112869"/> </Position> </TeleportAction> </PrivateAction> </Private> <Private entityRef="pedestrian_w_transform_18147"> <PrivateAction> <TeleportAction> <Position> <WorldPosition x="33.98647689819336" y="82.00830841064453" z="0.5"/> </Position> </TeleportAction> </PrivateAction> </Private> <Private entityRef="pedestrian_close_to_standing_18148"> <PrivateAction> <TeleportAction> <Position> <WorldPosition x="-10.888161659240723" y="23.90174102783203" z="0.0031045149080455303"/> </Position> </TeleportAction> </PrivateAction> </Private> <Private entityRef="pedestrian_close_to_adversary_18149"> <PrivateAction> <TeleportAction> <Position> <WorldPosition x="5.587150573730469" y="-71.31021881103516" z="0.033818092197179794"/> </Position> </TeleportAction> </PrivateAction> </Private> <Private entityRef="pedestrian_w_transform_18150"> <PrivateAction> <TeleportAction> <Position> <WorldPosition x="-4.096691131591797" y="-15.841774940490723" z="0.5"/> </Position> </TeleportAction> </PrivateAction> </Private> </Actions> </Init> <Story name="MyStory"> <Act name="Behavior"> <ManeuverGroup maximumExecutionCount="1" name="ManeuverSequence"> <Actors selectTriggeringEntities="false"> <EntityRef entityRef="adversary"/> </Actors> <Maneuver name="LaneChangeSimpleManeuver"> <Event name="AdversaryAccelerates" priority="overwrite"> <Action name="AdversaryAccelerates"> <PrivateAction> <LongitudinalAction> <SpeedAction> <SpeedActionDynamics dynamicsShape="step" value="50" dynamicsDimension="distance"/> <SpeedActionTarget> <AbsoluteTargetSpeed value="5.0"/> </SpeedActionTarget> </SpeedAction> </LongitudinalAction> </PrivateAction> </Action> <StartTrigger> <ConditionGroup> <Condition name="StartCondition" delay="0" conditionEdge="rising"> <ByEntityCondition> <TriggeringEntities triggeringEntitiesRule="any"> <EntityRef entityRef="hero"/> </TriggeringEntities> <EntityCondition> <RelativeDistanceCondition entityRef="adversary" relativeDistanceType="cartesianDistance" value="40.0" freespace="false" rule="lessThan"/> </EntityCondition> </ByEntityCondition> </Condition> </ConditionGroup> </StartTrigger> </Event> <Event name="AdversaryChangesLane" priority="overwrite"> <Action name="AdversaryChangesLane"> <PrivateAction> <LateralAction> <LaneChangeAction> <LaneChangeActionDynamics dynamicsShape="linear" value="25" dynamicsDimension="distance"/> <LaneChangeTarget> <RelativeTargetLane entityRef="adversary" value="-1"/> </LaneChangeTarget> </LaneChangeAction> </LateralAction> </PrivateAction> </Action> <StartTrigger> <ConditionGroup> <Condition name="AfterAdversaryAccelerates" delay="0" conditionEdge="rising"> <ByValueCondition> <StoryboardElementStateCondition storyboardElementType="action" storyboardElementRef="AdversaryAccelerates" state="completeState"/> </ByValueCondition> </Condition> </ConditionGroup> </StartTrigger> </Event> </Maneuver> </ManeuverGroup> <StartTrigger> <ConditionGroup> <Condition name="OverallStartCondition" delay="0" conditionEdge="rising"> <ByEntityCondition> <TriggeringEntities triggeringEntitiesRule="any"> <EntityRef entityRef="hero"/> </TriggeringEntities> <EntityCondition> <TraveledDistanceCondition value="1.0"/> </EntityCondition> </ByEntityCondition> </Condition> <Condition name="StartTime" delay="0" conditionEdge="rising"> <ByValueCondition> <SimulationTimeCondition value="0" rule="equalTo"/> </ByValueCondition> </Condition> </ConditionGroup> </StartTrigger> <StopTrigger> <ConditionGroup> <Condition name="EndCondition" delay="0" conditionEdge="rising"> <ByEntityCondition> <TriggeringEntities triggeringEntitiesRule="any"> <EntityRef entityRef="hero"/> </TriggeringEntities> <EntityCondition> <TraveledDistanceCondition value="200.0"/> </EntityCondition> </ByEntityCondition> </Condition> </ConditionGroup> </StopTrigger> </Act> </Story> <StopTrigger> <ConditionGroup> <Condition name="criteria_RunningStopTest" delay="0" conditionEdge="rising"> <ByValueCondition> <ParameterCondition parameterRef="" value="" rule="lessThan"/> </ByValueCondition> </Condition> <Condition name="criteria_RunningRedLightTest" delay="0" conditionEdge="rising"> <ByValueCondition> <ParameterCondition parameterRef="" value="" rule="lessThan"/> </ByValueCondition> </Condition> <Condition name="criteria_WrongLaneTest" delay="0" conditionEdge="rising"> <ByValueCondition> <ParameterCondition parameterRef="" value="" rule="lessThan"/> </ByValueCondition> </Condition> <Condition name="criteria_OnSidewalkTest" delay="0" conditionEdge="rising"> <ByValueCondition> <ParameterCondition parameterRef="" value="" rule="lessThan"/> </ByValueCondition> </Condition> <Condition name="criteria_KeepLaneTest" delay="0" conditionEdge="rising"> <ByValueCondition> <ParameterCondition parameterRef="" value="" rule="lessThan"/> </ByValueCondition> </Condition> <Condition name="criteria_CollisionTest" delay="0" conditionEdge="rising"> <ByValueCondition> <ParameterCondition parameterRef="" value="" rule="lessThan"/> </ByValueCondition> </Condition> <Condition name="criteria_DrivenDistanceTest" delay="0" conditionEdge="rising"> <ByValueCondition> <ParameterCondition parameterRef="distance_success" value="100" rule="lessThan"/> </ByValueCondition> </Condition> </ConditionGroup> </StopTrigger> </Storyboard> </OpenSCENARIO> ```
i would like to ask you to add pedestrian at location (41.66, -38.16, 0.5)? ``` <?xml version="1.0" ?> <OpenSCENARIO> <FileHeader revMajor="1" revMinor="0" date="2020-03-24T12:00:00" description="CARLA:LaneChangeSimple" author=""/> <ParameterDeclarations/> <CatalogLocations/> <RoadNetwork> <LogicFile filepath="Town04"/> <SceneGraphFile filepath=""/> </RoadNetwork> <Entities> <ScenarioObject name="hero"> <Vehicle name="vehicle.tesla.model3" vehicleCategory="car"> <ParameterDeclarations/> <Performance maxSpeed="69.444" maxAcceleration="200" maxDeceleration="10.0"/> <BoundingBox> <Center x="1.5" y="0.0" z="0.9"/> <Dimensions width="2.1" length="4.5" height="1.8"/> </BoundingBox> <Axles> <FrontAxle maxSteering="0.5" wheelDiameter="0.6" trackWidth="1.8" positionX="3.1" positionZ="0.3"/> <RearAxle maxSteering="0.0" wheelDiameter="0.6" trackWidth="1.8" positionX="0.0" positionZ="0.3"/> </Axles> <Properties> <Property name="type" value="ego_vehicle"/> </Properties> </Vehicle> </ScenarioObject> <ScenarioObject name="adversary"> <Vehicle name="vehicle.lincoln.mkz_2017" vehicleCategory="car"> <ParameterDeclarations/> <Performance maxSpeed="69.444" maxAcceleration="200" maxDeceleration="10.0"/> <BoundingBox> <Center x="1.5" y="0.0" z="0.9"/> <Dimensions width="2.1" length="4.5" height="1.8"/> </BoundingBox> <Axles> <FrontAxle maxSteering="0.5" wheelDiameter="0.6" trackWidth="1.8" positionX="3.1" positionZ="0.3"/> <RearAxle maxSteering="0.0" wheelDiameter="0.6" trackWidth="1.8" positionX="0.0" positionZ="0.3"/> </Axles> <Properties> <Property name="type" value="simulation"/> </Properties> </Vehicle> </ScenarioObject> <ScenarioObject name="standing"> <Vehicle name="vehicle.volkswagen.t2" vehicleCategory="car"> <ParameterDeclarations/> <Performance maxSpeed="69.444" maxAcceleration="200" maxDeceleration="10.0"/> <BoundingBox> <Center x="1.5" y="0.0" z="0.9"/> <Dimensions width="2.1" length="4.5" height="1.8"/> </BoundingBox> <Axles> <FrontAxle maxSteering="0.5" wheelDiameter="0.6" trackWidth="1.8" positionX="3.1" positionZ="0.3"/> <RearAxle maxSteering="0.0" wheelDiameter="0.6" trackWidth="1.8" positionX="0.0" positionZ="0.3"/> </Axles> <Properties> <Property name="type" value="simulation"/> </Properties> </Vehicle> </ScenarioObject> <ScenarioObject name="pedestrian_close_to_hero_15394"> <Pedestrian model="walker.pedestrian.0001" mass="80" name="walker.pedestrian.0001" pedestrianCategory="pedestrian"> <ParameterDeclarations/> <BoundingBox> <Center x="1.5" y="0.0" z="0.9"/> <Dimensions width="2" length="2" height="2"/> </BoundingBox> <Properties> <Property name="type" value="simulation"/> </Properties> </Pedestrian> </ScenarioObject> <ScenarioObject name="pedestrian_close_to_standing_15395"> <Pedestrian model="walker.pedestrian.0001" mass="80" name="walker.pedestrian.0001" pedestrianCategory="pedestrian"> <ParameterDeclarations/> <BoundingBox> <Center x="1.5" y="0.0" z="0.9"/> <Dimensions width="2" length="2" height="2"/> </BoundingBox> <Properties> <Property name="type" value="simulation"/> </Properties> </Pedestrian> </ScenarioObject> <ScenarioObject name="pedestrian_close_to_adversary_15396"> <Pedestrian model="walker.pedestrian.0001" mass="80" name="walker.pedestrian.0001" pedestrianCategory="pedestrian"> <ParameterDeclarations/> <BoundingBox> <Center x="1.5" y="0.0" z="0.9"/> <Dimensions width="2" length="2" height="2"/> </BoundingBox> <Properties> <Property name="type" value="simulation"/> </Properties> </Pedestrian> </ScenarioObject> <ScenarioObject name="pedestrian_close_to_adversary_15397"> <Pedestrian model="walker.pedestrian.0001" mass="80" name="walker.pedestrian.0001" pedestrianCategory="pedestrian"> <ParameterDeclarations/> <BoundingBox> <Center x="1.5" y="0.0" z="0.9"/> <Dimensions width="2" length="2" height="2"/> </BoundingBox> <Properties> <Property name="type" value="simulation"/> </Properties> </Pedestrian> </ScenarioObject> <ScenarioObject name="pedestrian_close_to_adversary_15398"> <Pedestrian model="walker.pedestrian.0001" mass="80" name="walker.pedestrian.0001" pedestrianCategory="pedestrian"> <ParameterDeclarations/> <BoundingBox> <Center x="1.5" y="0.0" z="0.9"/> <Dimensions width="2" length="2" height="2"/> </BoundingBox> <Properties> <Property name="type" value="simulation"/> </Properties> </Pedestrian> </ScenarioObject> <ScenarioObject name="pedestrian_w_transform_15399"> <Pedestrian model="walker.pedestrian.0001" mass="80" name="walker.pedestrian.0001" pedestrianCategory="pedestrian"> <ParameterDeclarations/> <BoundingBox> <Center x="1.5" y="0.0" z="0.9"/> <Dimensions width="2" length="2" height="2"/> </BoundingBox> <Properties> <Property name="type" value="simulation"/> </Properties> </Pedestrian> </ScenarioObject> <ScenarioObject name="pedestrian_close_to_standing_15400"> <Pedestrian model="walker.pedestrian.0001" mass="80" name="walker.pedestrian.0001" pedestrianCategory="pedestrian"> <ParameterDeclarations/> <BoundingBox> <Center x="1.5" y="0.0" z="0.9"/> <Dimensions width="2" length="2" height="2"/> </BoundingBox> <Properties> <Property name="type" value="simulation"/> </Properties> </Pedestrian> </ScenarioObject> <ScenarioObject name="pedestrian_w_transform_15401"> <Pedestrian model="walker.pedestrian.0001" mass="80" name="walker.pedestrian.0001" pedestrianCategory="pedestrian"> <ParameterDeclarations/> <BoundingBox> <Center x="1.5" y="0.0" z="0.9"/> <Dimensions width="2" length="2" height="2"/> </BoundingBox> <Properties> <Property name="type" value="simulation"/> </Properties> </Pedestrian> </ScenarioObject> </Entities> <Storyboard> <Init> <Actions> <GlobalAction> <EnvironmentAction> <Environment name="Environment1"> <TimeOfDay animation="false" dateTime="2019-06-25T12:00:00"/> <Weather cloudState="free"> <Sun intensity="0.85" azimuth="0" elevation="1.31"/> <Fog visualRange="100000.0"/> <Precipitation precipitationType="dry" intensity="0.0"/> </Weather> <RoadCondition frictionScaleFactor="1.0"/> </Environment> </EnvironmentAction> </GlobalAction> <Private entityRef="hero"> <PrivateAction> <TeleportAction> <Position> <WorldPosition x="-9.4" y="-152.8" z="0.5" h="1.57079632679"/> </Position> </TeleportAction> </PrivateAction> <PrivateAction> <ControllerAction> <AssignControllerAction> <Controller name="HeroAgent"> <Properties> <Property name="module" value="external_control"/> </Properties> </Controller> </AssignControllerAction> <OverrideControllerValueAction> <Throttle value="0" active="false"/> <Brake value="0" active="false"/> <Clutch value="0" active="false"/> <ParkingBrake value="0" active="false"/> <SteeringWheel value="0" active="false"/> <Gear number="0" active="false"/> </OverrideControllerValueAction> </ControllerAction> </PrivateAction> </Private> <Private entityRef="adversary"> <PrivateAction> <TeleportAction> <Position> <WorldPosition x="-9.4" y="-71.0" z="0.5" h="1.57079632679"/> </Position> </TeleportAction> </PrivateAction> </Private> <Private entityRef="standing"> <PrivateAction> <TeleportAction> <Position> <WorldPosition x="-8.2" y="29.2" z="0.5" h="1.57079632679"/> </Position> </TeleportAction> </PrivateAction> </Private> <Private entityRef="pedestrian_close_to_hero_15394"> <PrivateAction> <TeleportAction> <Position> <WorldPosition x="-1.3362354040145874" y="-159.75518798828125" z="0.0014286803780123591"/> </Position> </TeleportAction> </PrivateAction> </Private> <Private entityRef="pedestrian_close_to_standing_15395"> <PrivateAction> <TeleportAction> <Position> <WorldPosition x="-4.906009674072266" y="18.668182373046875" z="0.0030667113605886698"/> </Position> </TeleportAction> </PrivateAction> </Private> <Private entityRef="pedestrian_close_to_adversary_15396"> <PrivateAction> <TeleportAction> <Position> <WorldPosition x="-2.6223416328430176" y="-80.93287658691406" z="0.03384040668606758"/> </Position> </TeleportAction> </PrivateAction> </Private> <Private entityRef="pedestrian_close_to_adversary_15397"> <PrivateAction> <TeleportAction> <Position> <WorldPosition x="-6.889770030975342" y="-64.3486557006836" z="0.03378375992178917"/> </Position> </TeleportAction> </PrivateAction> </Private> <Private entityRef="pedestrian_close_to_adversary_15398"> <PrivateAction> <TeleportAction> <Position> <WorldPosition x="-18.496076583862305" y="-62.55906295776367" z="0.03378638997673988"/> </Position> </TeleportAction> </PrivateAction> </Private> <Private entityRef="pedestrian_w_transform_15399"> <PrivateAction> <TeleportAction> <Position> <WorldPosition x="9.246322631835938" y="-27.974950790405273" z="0.5"/> </Position> </TeleportAction> </PrivateAction> </Private> <Private entityRef="pedestrian_close_to_standing_15400"> <PrivateAction> <TeleportAction> <Position> <WorldPosition x="-7.778146266937256" y="44.00941467285156" z="0.0030552672687917948"/> </Position> </TeleportAction> </PrivateAction> </Private> <Private entityRef="pedestrian_w_transform_15401"> <PrivateAction> <TeleportAction> <Position> <WorldPosition x="-66.84503173828125" y="-44.534698486328125" z="0.5"/> </Position> </TeleportAction> </PrivateAction> </Private> </Actions> </Init> <Story name="MyStory"> <Act name="Behavior"> <ManeuverGroup maximumExecutionCount="1" name="ManeuverSequence"> <Actors selectTriggeringEntities="false"> <EntityRef entityRef="adversary"/> </Actors> <Maneuver name="LaneChangeSimpleManeuver"> <Event name="AdversaryAccelerates" priority="overwrite"> <Action name="AdversaryAccelerates"> <PrivateAction> <LongitudinalAction> <SpeedAction> <SpeedActionDynamics dynamicsShape="step" value="50" dynamicsDimension="distance"/> <SpeedActionTarget> <AbsoluteTargetSpeed value="5.0"/> </SpeedActionTarget> </SpeedAction> </LongitudinalAction> </PrivateAction> </Action> <StartTrigger> <ConditionGroup> <Condition name="StartCondition" delay="0" conditionEdge="rising"> <ByEntityCondition> <TriggeringEntities triggeringEntitiesRule="any"> <EntityRef entityRef="hero"/> </TriggeringEntities> <EntityCondition> <RelativeDistanceCondition entityRef="adversary" relativeDistanceType="cartesianDistance" value="40.0" freespace="false" rule="lessThan"/> </EntityCondition> </ByEntityCondition> </Condition> </ConditionGroup> </StartTrigger> </Event> <Event name="AdversaryChangesLane" priority="overwrite"> <Action name="AdversaryChangesLane"> <PrivateAction> <LateralAction> <LaneChangeAction> <LaneChangeActionDynamics dynamicsShape="linear" value="25" dynamicsDimension="distance"/> <LaneChangeTarget> <RelativeTargetLane entityRef="adversary" value="-1"/> </LaneChangeTarget> </LaneChangeAction> </LateralAction> </PrivateAction> </Action> <StartTrigger> <ConditionGroup> <Condition name="AfterAdversaryAccelerates" delay="0" conditionEdge="rising"> <ByValueCondition> <StoryboardElementStateCondition storyboardElementType="action" storyboardElementRef="AdversaryAccelerates" state="completeState"/> </ByValueCondition> </Condition> </ConditionGroup> </StartTrigger> </Event> </Maneuver> </ManeuverGroup> <StartTrigger> <ConditionGroup> <Condition name="OverallStartCondition" delay="0" conditionEdge="rising"> <ByEntityCondition> <TriggeringEntities triggeringEntitiesRule="any"> <EntityRef entityRef="hero"/> </TriggeringEntities> <EntityCondition> <TraveledDistanceCondition value="1.0"/> </EntityCondition> </ByEntityCondition> </Condition> <Condition name="StartTime" delay="0" conditionEdge="rising"> <ByValueCondition> <SimulationTimeCondition value="0" rule="equalTo"/> </ByValueCondition> </Condition> </ConditionGroup> </StartTrigger> <StopTrigger> <ConditionGroup> <Condition name="EndCondition" delay="0" conditionEdge="rising"> <ByEntityCondition> <TriggeringEntities triggeringEntitiesRule="any"> <EntityRef entityRef="hero"/> </TriggeringEntities> <EntityCondition> <TraveledDistanceCondition value="200.0"/> </EntityCondition> </ByEntityCondition> </Condition> </ConditionGroup> </StopTrigger> </Act> </Story> <StopTrigger> <ConditionGroup> <Condition name="criteria_RunningStopTest" delay="0" conditionEdge="rising"> <ByValueCondition> <ParameterCondition parameterRef="" value="" rule="lessThan"/> </ByValueCondition> </Condition> <Condition name="criteria_RunningRedLightTest" delay="0" conditionEdge="rising"> <ByValueCondition> <ParameterCondition parameterRef="" value="" rule="lessThan"/> </ByValueCondition> </Condition> <Condition name="criteria_WrongLaneTest" delay="0" conditionEdge="rising"> <ByValueCondition> <ParameterCondition parameterRef="" value="" rule="lessThan"/> </ByValueCondition> </Condition> <Condition name="criteria_OnSidewalkTest" delay="0" conditionEdge="rising"> <ByValueCondition> <ParameterCondition parameterRef="" value="" rule="lessThan"/> </ByValueCondition> </Condition> <Condition name="criteria_KeepLaneTest" delay="0" conditionEdge="rising"> <ByValueCondition> <ParameterCondition parameterRef="" value="" rule="lessThan"/> </ByValueCondition> </Condition> <Condition name="criteria_CollisionTest" delay="0" conditionEdge="rising"> <ByValueCondition> <ParameterCondition parameterRef="" value="" rule="lessThan"/> </ByValueCondition> </Condition> <Condition name="criteria_DrivenDistanceTest" delay="0" conditionEdge="rising"> <ByValueCondition> <ParameterCondition parameterRef="distance_success" value="100" rule="lessThan"/> </ByValueCondition> </Condition> </ConditionGroup> </StopTrigger> </Storyboard> </OpenSCENARIO> ```
Here is the result: ``` <?xml version="1.0" ?> <OpenSCENARIO> <FileHeader revMajor="1" revMinor="0" date="2020-03-24T12:00:00" description="CARLA:LaneChangeSimple" author=""/> <ParameterDeclarations/> <CatalogLocations/> <RoadNetwork> <LogicFile filepath="Town04"/> <SceneGraphFile filepath=""/> </RoadNetwork> <Entities> <ScenarioObject name="hero"> <Vehicle name="vehicle.tesla.model3" vehicleCategory="car"> <ParameterDeclarations/> <Performance maxSpeed="69.444" maxAcceleration="200" maxDeceleration="10.0"/> <BoundingBox> <Center x="1.5" y="0.0" z="0.9"/> <Dimensions width="2.1" length="4.5" height="1.8"/> </BoundingBox> <Axles> <FrontAxle maxSteering="0.5" wheelDiameter="0.6" trackWidth="1.8" positionX="3.1" positionZ="0.3"/> <RearAxle maxSteering="0.0" wheelDiameter="0.6" trackWidth="1.8" positionX="0.0" positionZ="0.3"/> </Axles> <Properties> <Property name="type" value="ego_vehicle"/> </Properties> </Vehicle> </ScenarioObject> <ScenarioObject name="adversary"> <Vehicle name="vehicle.lincoln.mkz_2017" vehicleCategory="car"> <ParameterDeclarations/> <Performance maxSpeed="69.444" maxAcceleration="200" maxDeceleration="10.0"/> <BoundingBox> <Center x="1.5" y="0.0" z="0.9"/> <Dimensions width="2.1" length="4.5" height="1.8"/> </BoundingBox> <Axles> <FrontAxle maxSteering="0.5" wheelDiameter="0.6" trackWidth="1.8" positionX="3.1" positionZ="0.3"/> <RearAxle maxSteering="0.0" wheelDiameter="0.6" trackWidth="1.8" positionX="0.0" positionZ="0.3"/> </Axles> <Properties> <Property name="type" value="simulation"/> </Properties> </Vehicle> </ScenarioObject> <ScenarioObject name="standing"> <Vehicle name="vehicle.volkswagen.t2" vehicleCategory="car"> <ParameterDeclarations/> <Performance maxSpeed="69.444" maxAcceleration="200" maxDeceleration="10.0"/> <BoundingBox> <Center x="1.5" y="0.0" z="0.9"/> <Dimensions width="2.1" length="4.5" height="1.8"/> </BoundingBox> <Axles> <FrontAxle maxSteering="0.5" wheelDiameter="0.6" trackWidth="1.8" positionX="3.1" positionZ="0.3"/> <RearAxle maxSteering="0.0" wheelDiameter="0.6" trackWidth="1.8" positionX="0.0" positionZ="0.3"/> </Axles> <Properties> <Property name="type" value="simulation"/> </Properties> </Vehicle> </ScenarioObject> <ScenarioObject name="pedestrian_close_to_hero_15394"> <Pedestrian model="walker.pedestrian.0001" mass="80" name="walker.pedestrian.0001" pedestrianCategory="pedestrian"> <ParameterDeclarations/> <BoundingBox> <Center x="1.5" y="0.0" z="0.9"/> <Dimensions width="2" length="2" height="2"/> </BoundingBox> <Properties> <Property name="type" value="simulation"/> </Properties> </Pedestrian> </ScenarioObject> <ScenarioObject name="pedestrian_close_to_standing_15395"> <Pedestrian model="walker.pedestrian.0001" mass="80" name="walker.pedestrian.0001" pedestrianCategory="pedestrian"> <ParameterDeclarations/> <BoundingBox> <Center x="1.5" y="0.0" z="0.9"/> <Dimensions width="2" length="2" height="2"/> </BoundingBox> <Properties> <Property name="type" value="simulation"/> </Properties> </Pedestrian> </ScenarioObject> <ScenarioObject name="pedestrian_close_to_adversary_15396"> <Pedestrian model="walker.pedestrian.0001" mass="80" name="walker.pedestrian.0001" pedestrianCategory="pedestrian"> <ParameterDeclarations/> <BoundingBox> <Center x="1.5" y="0.0" z="0.9"/> <Dimensions width="2" length="2" height="2"/> </BoundingBox> <Properties> <Property name="type" value="simulation"/> </Properties> </Pedestrian> </ScenarioObject> <ScenarioObject name="pedestrian_close_to_adversary_15397"> <Pedestrian model="walker.pedestrian.0001" mass="80" name="walker.pedestrian.0001" pedestrianCategory="pedestrian"> <ParameterDeclarations/> <BoundingBox> <Center x="1.5" y="0.0" z="0.9"/> <Dimensions width="2" length="2" height="2"/> </BoundingBox> <Properties> <Property name="type" value="simulation"/> </Properties> </Pedestrian> </ScenarioObject> <ScenarioObject name="pedestrian_close_to_adversary_15398"> <Pedestrian model="walker.pedestrian.0001" mass="80" name="walker.pedestrian.0001" pedestrianCategory="pedestrian"> <ParameterDeclarations/> <BoundingBox> <Center x="1.5" y="0.0" z="0.9"/> <Dimensions width="2" length="2" height="2"/> </BoundingBox> <Properties> <Property name="type" value="simulation"/> </Properties> </Pedestrian> </ScenarioObject> <ScenarioObject name="pedestrian_w_transform_15399"> <Pedestrian model="walker.pedestrian.0001" mass="80" name="walker.pedestrian.0001" pedestrianCategory="pedestrian"> <ParameterDeclarations/> <BoundingBox> <Center x="1.5" y="0.0" z="0.9"/> <Dimensions width="2" length="2" height="2"/> </BoundingBox> <Properties> <Property name="type" value="simulation"/> </Properties> </Pedestrian> </ScenarioObject> <ScenarioObject name="pedestrian_close_to_standing_15400"> <Pedestrian model="walker.pedestrian.0001" mass="80" name="walker.pedestrian.0001" pedestrianCategory="pedestrian"> <ParameterDeclarations/> <BoundingBox> <Center x="1.5" y="0.0" z="0.9"/> <Dimensions width="2" length="2" height="2"/> </BoundingBox> <Properties> <Property name="type" value="simulation"/> </Properties> </Pedestrian> </ScenarioObject> <ScenarioObject name="pedestrian_w_transform_15401"> <Pedestrian model="walker.pedestrian.0001" mass="80" name="walker.pedestrian.0001" pedestrianCategory="pedestrian"> <ParameterDeclarations/> <BoundingBox> <Center x="1.5" y="0.0" z="0.9"/> <Dimensions width="2" length="2" height="2"/> </BoundingBox> <Properties> <Property name="type" value="simulation"/> </Properties> </Pedestrian> </ScenarioObject> <ScenarioObject name="pedestrian_w_transform_15402"> <Pedestrian model="walker.pedestrian.0001" mass="80" name="walker.pedestrian.0001" pedestrianCategory="pedestrian"> <ParameterDeclarations/> <BoundingBox> <Center x="1.5" y="0.0" z="0.9"/> <Dimensions width="2" length="2" height="2"/> </BoundingBox> <Properties> <Property name="type" value="simulation"/> </Properties> </Pedestrian> </ScenarioObject> </Entities> <Storyboard> <Init> <Actions> <GlobalAction> <EnvironmentAction> <Environment name="Environment1"> <TimeOfDay animation="false" dateTime="2019-06-25T12:00:00"/> <Weather cloudState="free"> <Sun intensity="0.85" azimuth="0" elevation="1.31"/> <Fog visualRange="100000.0"/> <Precipitation precipitationType="dry" intensity="0.0"/> </Weather> <RoadCondition frictionScaleFactor="1.0"/> </Environment> </EnvironmentAction> </GlobalAction> <Private entityRef="hero"> <PrivateAction> <TeleportAction> <Position> <WorldPosition x="-9.4" y="-152.8" z="0.5" h="1.57079632679"/> </Position> </TeleportAction> </PrivateAction> <PrivateAction> <ControllerAction> <AssignControllerAction> <Controller name="HeroAgent"> <Properties> <Property name="module" value="external_control"/> </Properties> </Controller> </AssignControllerAction> <OverrideControllerValueAction> <Throttle value="0" active="false"/> <Brake value="0" active="false"/> <Clutch value="0" active="false"/> <ParkingBrake value="0" active="false"/> <SteeringWheel value="0" active="false"/> <Gear number="0" active="false"/> </OverrideControllerValueAction> </ControllerAction> </PrivateAction> </Private> <Private entityRef="adversary"> <PrivateAction> <TeleportAction> <Position> <WorldPosition x="-9.4" y="-71.0" z="0.5" h="1.57079632679"/> </Position> </TeleportAction> </PrivateAction> </Private> <Private entityRef="standing"> <PrivateAction> <TeleportAction> <Position> <WorldPosition x="-8.2" y="29.2" z="0.5" h="1.57079632679"/> </Position> </TeleportAction> </PrivateAction> </Private> <Private entityRef="pedestrian_close_to_hero_15394"> <PrivateAction> <TeleportAction> <Position> <WorldPosition x="-1.3362354040145874" y="-159.75518798828125" z="0.0014286803780123591"/> </Position> </TeleportAction> </PrivateAction> </Private> <Private entityRef="pedestrian_close_to_standing_15395"> <PrivateAction> <TeleportAction> <Position> <WorldPosition x="-4.906009674072266" y="18.668182373046875" z="0.0030667113605886698"/> </Position> </TeleportAction> </PrivateAction> </Private> <Private entityRef="pedestrian_close_to_adversary_15396"> <PrivateAction> <TeleportAction> <Position> <WorldPosition x="-2.6223416328430176" y="-80.93287658691406" z="0.03384040668606758"/> </Position> </TeleportAction> </PrivateAction> </Private> <Private entityRef="pedestrian_close_to_adversary_15397"> <PrivateAction> <TeleportAction> <Position> <WorldPosition x="-6.889770030975342" y="-64.3486557006836" z="0.03378375992178917"/> </Position> </TeleportAction> </PrivateAction> </Private> <Private entityRef="pedestrian_close_to_adversary_15398"> <PrivateAction> <TeleportAction> <Position> <WorldPosition x="-18.496076583862305" y="-62.55906295776367" z="0.03378638997673988"/> </Position> </TeleportAction> </PrivateAction> </Private> <Private entityRef="pedestrian_w_transform_15399"> <PrivateAction> <TeleportAction> <Position> <WorldPosition x="9.246322631835938" y="-27.974950790405273" z="0.5"/> </Position> </TeleportAction> </PrivateAction> </Private> <Private entityRef="pedestrian_close_to_standing_15400"> <PrivateAction> <TeleportAction> <Position> <WorldPosition x="-7.778146266937256" y="44.00941467285156" z="0.0030552672687917948"/> </Position> </TeleportAction> </PrivateAction> </Private> <Private entityRef="pedestrian_w_transform_15401"> <PrivateAction> <TeleportAction> <Position> <WorldPosition x="-66.84503173828125" y="-44.534698486328125" z="0.5"/> </Position> </TeleportAction> </PrivateAction> </Private> <Private entityRef="pedestrian_w_transform_15402"> <PrivateAction> <TeleportAction> <Position> <WorldPosition x="41.6626091003418" y="-38.162841796875" z="0.5"/> </Position> </TeleportAction> </PrivateAction> </Private> </Actions> </Init> <Story name="MyStory"> <Act name="Behavior"> <ManeuverGroup maximumExecutionCount="1" name="ManeuverSequence"> <Actors selectTriggeringEntities="false"> <EntityRef entityRef="adversary"/> </Actors> <Maneuver name="LaneChangeSimpleManeuver"> <Event name="AdversaryAccelerates" priority="overwrite"> <Action name="AdversaryAccelerates"> <PrivateAction> <LongitudinalAction> <SpeedAction> <SpeedActionDynamics dynamicsShape="step" value="50" dynamicsDimension="distance"/> <SpeedActionTarget> <AbsoluteTargetSpeed value="5.0"/> </SpeedActionTarget> </SpeedAction> </LongitudinalAction> </PrivateAction> </Action> <StartTrigger> <ConditionGroup> <Condition name="StartCondition" delay="0" conditionEdge="rising"> <ByEntityCondition> <TriggeringEntities triggeringEntitiesRule="any"> <EntityRef entityRef="hero"/> </TriggeringEntities> <EntityCondition> <RelativeDistanceCondition entityRef="adversary" relativeDistanceType="cartesianDistance" value="40.0" freespace="false" rule="lessThan"/> </EntityCondition> </ByEntityCondition> </Condition> </ConditionGroup> </StartTrigger> </Event> <Event name="AdversaryChangesLane" priority="overwrite"> <Action name="AdversaryChangesLane"> <PrivateAction> <LateralAction> <LaneChangeAction> <LaneChangeActionDynamics dynamicsShape="linear" value="25" dynamicsDimension="distance"/> <LaneChangeTarget> <RelativeTargetLane entityRef="adversary" value="-1"/> </LaneChangeTarget> </LaneChangeAction> </LateralAction> </PrivateAction> </Action> <StartTrigger> <ConditionGroup> <Condition name="AfterAdversaryAccelerates" delay="0" conditionEdge="rising"> <ByValueCondition> <StoryboardElementStateCondition storyboardElementType="action" storyboardElementRef="AdversaryAccelerates" state="completeState"/> </ByValueCondition> </Condition> </ConditionGroup> </StartTrigger> </Event> </Maneuver> </ManeuverGroup> <StartTrigger> <ConditionGroup> <Condition name="OverallStartCondition" delay="0" conditionEdge="rising"> <ByEntityCondition> <TriggeringEntities triggeringEntitiesRule="any"> <EntityRef entityRef="hero"/> </TriggeringEntities> <EntityCondition> <TraveledDistanceCondition value="1.0"/> </EntityCondition> </ByEntityCondition> </Condition> <Condition name="StartTime" delay="0" conditionEdge="rising"> <ByValueCondition> <SimulationTimeCondition value="0" rule="equalTo"/> </ByValueCondition> </Condition> </ConditionGroup> </StartTrigger> <StopTrigger> <ConditionGroup> <Condition name="EndCondition" delay="0" conditionEdge="rising"> <ByEntityCondition> <TriggeringEntities triggeringEntitiesRule="any"> <EntityRef entityRef="hero"/> </TriggeringEntities> <EntityCondition> <TraveledDistanceCondition value="200.0"/> </EntityCondition> </ByEntityCondition> </Condition> </ConditionGroup> </StopTrigger> </Act> </Story> <StopTrigger> <ConditionGroup> <Condition name="criteria_RunningStopTest" delay="0" conditionEdge="rising"> <ByValueCondition> <ParameterCondition parameterRef="" value="" rule="lessThan"/> </ByValueCondition> </Condition> <Condition name="criteria_RunningRedLightTest" delay="0" conditionEdge="rising"> <ByValueCondition> <ParameterCondition parameterRef="" value="" rule="lessThan"/> </ByValueCondition> </Condition> <Condition name="criteria_WrongLaneTest" delay="0" conditionEdge="rising"> <ByValueCondition> <ParameterCondition parameterRef="" value="" rule="lessThan"/> </ByValueCondition> </Condition> <Condition name="criteria_OnSidewalkTest" delay="0" conditionEdge="rising"> <ByValueCondition> <ParameterCondition parameterRef="" value="" rule="lessThan"/> </ByValueCondition> </Condition> <Condition name="criteria_KeepLaneTest" delay="0" conditionEdge="rising"> <ByValueCondition> <ParameterCondition parameterRef="" value="" rule="lessThan"/> </ByValueCondition> </Condition> <Condition name="criteria_CollisionTest" delay="0" conditionEdge="rising"> <ByValueCondition> <ParameterCondition parameterRef="" value="" rule="lessThan"/> </ByValueCondition> </Condition> <Condition name="criteria_DrivenDistanceTest" delay="0" conditionEdge="rising"> <ByValueCondition> <ParameterCondition parameterRef="distance_success" value="100" rule="lessThan"/> </ByValueCondition> </Condition> </ConditionGroup> </StopTrigger> </Storyboard> </OpenSCENARIO> ```
i would like to ask you to add pedestrian close to hero? ``` <?xml version="1.0" ?> <OpenSCENARIO> <FileHeader revMajor="1" revMinor="0" date="2020-03-24T12:00:00" description="CARLA:LaneChangeSimple" author=""/> <ParameterDeclarations/> <CatalogLocations/> <RoadNetwork> <LogicFile filepath="Town04"/> <SceneGraphFile filepath=""/> </RoadNetwork> <Entities> <ScenarioObject name="hero"> <Vehicle name="vehicle.tesla.model3" vehicleCategory="car"> <ParameterDeclarations/> <Performance maxSpeed="69.444" maxAcceleration="200" maxDeceleration="10.0"/> <BoundingBox> <Center x="1.5" y="0.0" z="0.9"/> <Dimensions width="2.1" length="4.5" height="1.8"/> </BoundingBox> <Axles> <FrontAxle maxSteering="0.5" wheelDiameter="0.6" trackWidth="1.8" positionX="3.1" positionZ="0.3"/> <RearAxle maxSteering="0.0" wheelDiameter="0.6" trackWidth="1.8" positionX="0.0" positionZ="0.3"/> </Axles> <Properties> <Property name="type" value="ego_vehicle"/> </Properties> </Vehicle> </ScenarioObject> <ScenarioObject name="adversary"> <Vehicle name="vehicle.lincoln.mkz_2017" vehicleCategory="car"> <ParameterDeclarations/> <Performance maxSpeed="69.444" maxAcceleration="200" maxDeceleration="10.0"/> <BoundingBox> <Center x="1.5" y="0.0" z="0.9"/> <Dimensions width="2.1" length="4.5" height="1.8"/> </BoundingBox> <Axles> <FrontAxle maxSteering="0.5" wheelDiameter="0.6" trackWidth="1.8" positionX="3.1" positionZ="0.3"/> <RearAxle maxSteering="0.0" wheelDiameter="0.6" trackWidth="1.8" positionX="0.0" positionZ="0.3"/> </Axles> <Properties> <Property name="type" value="simulation"/> </Properties> </Vehicle> </ScenarioObject> <ScenarioObject name="standing"> <Vehicle name="vehicle.volkswagen.t2" vehicleCategory="car"> <ParameterDeclarations/> <Performance maxSpeed="69.444" maxAcceleration="200" maxDeceleration="10.0"/> <BoundingBox> <Center x="1.5" y="0.0" z="0.9"/> <Dimensions width="2.1" length="4.5" height="1.8"/> </BoundingBox> <Axles> <FrontAxle maxSteering="0.5" wheelDiameter="0.6" trackWidth="1.8" positionX="3.1" positionZ="0.3"/> <RearAxle maxSteering="0.0" wheelDiameter="0.6" trackWidth="1.8" positionX="0.0" positionZ="0.3"/> </Axles> <Properties> <Property name="type" value="simulation"/> </Properties> </Vehicle> </ScenarioObject> <ScenarioObject name="pedestrian_close_to_hero_5892"> <Pedestrian model="walker.pedestrian.0001" mass="80" name="walker.pedestrian.0001" pedestrianCategory="pedestrian"> <ParameterDeclarations/> <BoundingBox> <Center x="1.5" y="0.0" z="0.9"/> <Dimensions width="2" length="2" height="2"/> </BoundingBox> <Properties> <Property name="type" value="simulation"/> </Properties> </Pedestrian> </ScenarioObject> <ScenarioObject name="pedestrian_close_to_adversary_5893"> <Pedestrian model="walker.pedestrian.0001" mass="80" name="walker.pedestrian.0001" pedestrianCategory="pedestrian"> <ParameterDeclarations/> <BoundingBox> <Center x="1.5" y="0.0" z="0.9"/> <Dimensions width="2" length="2" height="2"/> </BoundingBox> <Properties> <Property name="type" value="simulation"/> </Properties> </Pedestrian> </ScenarioObject> <ScenarioObject name="pedestrian_w_transform_5894"> <Pedestrian model="walker.pedestrian.0001" mass="80" name="walker.pedestrian.0001" pedestrianCategory="pedestrian"> <ParameterDeclarations/> <BoundingBox> <Center x="1.5" y="0.0" z="0.9"/> <Dimensions width="2" length="2" height="2"/> </BoundingBox> <Properties> <Property name="type" value="simulation"/> </Properties> </Pedestrian> </ScenarioObject> <ScenarioObject name="pedestrian_close_to_hero_5895"> <Pedestrian model="walker.pedestrian.0001" mass="80" name="walker.pedestrian.0001" pedestrianCategory="pedestrian"> <ParameterDeclarations/> <BoundingBox> <Center x="1.5" y="0.0" z="0.9"/> <Dimensions width="2" length="2" height="2"/> </BoundingBox> <Properties> <Property name="type" value="simulation"/> </Properties> </Pedestrian> </ScenarioObject> <ScenarioObject name="pedestrian_close_to_adversary_5896"> <Pedestrian model="walker.pedestrian.0001" mass="80" name="walker.pedestrian.0001" pedestrianCategory="pedestrian"> <ParameterDeclarations/> <BoundingBox> <Center x="1.5" y="0.0" z="0.9"/> <Dimensions width="2" length="2" height="2"/> </BoundingBox> <Properties> <Property name="type" value="simulation"/> </Properties> </Pedestrian> </ScenarioObject> <ScenarioObject name="pedestrian_close_to_standing_5898"> <Pedestrian model="walker.pedestrian.0001" mass="80" name="walker.pedestrian.0001" pedestrianCategory="pedestrian"> <ParameterDeclarations/> <BoundingBox> <Center x="1.5" y="0.0" z="0.9"/> <Dimensions width="2" length="2" height="2"/> </BoundingBox> <Properties> <Property name="type" value="simulation"/> </Properties> </Pedestrian> </ScenarioObject> <ScenarioObject name="pedestrian_close_to_hero_5899"> <Pedestrian model="walker.pedestrian.0001" mass="80" name="walker.pedestrian.0001" pedestrianCategory="pedestrian"> <ParameterDeclarations/> <BoundingBox> <Center x="1.5" y="0.0" z="0.9"/> <Dimensions width="2" length="2" height="2"/> </BoundingBox> <Properties> <Property name="type" value="simulation"/> </Properties> </Pedestrian> </ScenarioObject> <ScenarioObject name="pedestrian_w_transform_5900"> <Pedestrian model="walker.pedestrian.0001" mass="80" name="walker.pedestrian.0001" pedestrianCategory="pedestrian"> <ParameterDeclarations/> <BoundingBox> <Center x="1.5" y="0.0" z="0.9"/> <Dimensions width="2" length="2" height="2"/> </BoundingBox> <Properties> <Property name="type" value="simulation"/> </Properties> </Pedestrian> </ScenarioObject> <ScenarioObject name="pedestrian_w_transform_5901"> <Pedestrian model="walker.pedestrian.0001" mass="80" name="walker.pedestrian.0001" pedestrianCategory="pedestrian"> <ParameterDeclarations/> <BoundingBox> <Center x="1.5" y="0.0" z="0.9"/> <Dimensions width="2" length="2" height="2"/> </BoundingBox> <Properties> <Property name="type" value="simulation"/> </Properties> </Pedestrian> </ScenarioObject> <ScenarioObject name="pedestrian_close_to_standing_5902"> <Pedestrian model="walker.pedestrian.0001" mass="80" name="walker.pedestrian.0001" pedestrianCategory="pedestrian"> <ParameterDeclarations/> <BoundingBox> <Center x="1.5" y="0.0" z="0.9"/> <Dimensions width="2" length="2" height="2"/> </BoundingBox> <Properties> <Property name="type" value="simulation"/> </Properties> </Pedestrian> </ScenarioObject> <ScenarioObject name="pedestrian_w_transform_5904"> <Pedestrian model="walker.pedestrian.0001" mass="80" name="walker.pedestrian.0001" pedestrianCategory="pedestrian"> <ParameterDeclarations/> <BoundingBox> <Center x="1.5" y="0.0" z="0.9"/> <Dimensions width="2" length="2" height="2"/> </BoundingBox> <Properties> <Property name="type" value="simulation"/> </Properties> </Pedestrian> </ScenarioObject> <ScenarioObject name="pedestrian_w_transform_5905"> <Pedestrian model="walker.pedestrian.0001" mass="80" name="walker.pedestrian.0001" pedestrianCategory="pedestrian"> <ParameterDeclarations/> <BoundingBox> <Center x="1.5" y="0.0" z="0.9"/> <Dimensions width="2" length="2" height="2"/> </BoundingBox> <Properties> <Property name="type" value="simulation"/> </Properties> </Pedestrian> </ScenarioObject> <ScenarioObject name="pedestrian_w_transform_5906"> <Pedestrian model="walker.pedestrian.0001" mass="80" name="walker.pedestrian.0001" pedestrianCategory="pedestrian"> <ParameterDeclarations/> <BoundingBox> <Center x="1.5" y="0.0" z="0.9"/> <Dimensions width="2" length="2" height="2"/> </BoundingBox> <Properties> <Property name="type" value="simulation"/> </Properties> </Pedestrian> </ScenarioObject> <ScenarioObject name="pedestrian_w_transform_5907"> <Pedestrian model="walker.pedestrian.0001" mass="80" name="walker.pedestrian.0001" pedestrianCategory="pedestrian"> <ParameterDeclarations/> <BoundingBox> <Center x="1.5" y="0.0" z="0.9"/> <Dimensions width="2" length="2" height="2"/> </BoundingBox> <Properties> <Property name="type" value="simulation"/> </Properties> </Pedestrian> </ScenarioObject> <ScenarioObject name="pedestrian_w_transform_5908"> <Pedestrian model="walker.pedestrian.0001" mass="80" name="walker.pedestrian.0001" pedestrianCategory="pedestrian"> <ParameterDeclarations/> <BoundingBox> <Center x="1.5" y="0.0" z="0.9"/> <Dimensions width="2" length="2" height="2"/> </BoundingBox> <Properties> <Property name="type" value="simulation"/> </Properties> </Pedestrian> </ScenarioObject> </Entities> <Storyboard> <Init> <Actions> <GlobalAction> <EnvironmentAction> <Environment name="Environment1"> <TimeOfDay animation="false" dateTime="2019-06-25T12:00:00"/> <Weather cloudState="free"> <Sun intensity="0.85" azimuth="0" elevation="1.31"/> <Fog visualRange="100000.0"/> <Precipitation precipitationType="dry" intensity="0.0"/> </Weather> <RoadCondition frictionScaleFactor="1.0"/> </Environment> </EnvironmentAction> </GlobalAction> <Private entityRef="hero"> <PrivateAction> <TeleportAction> <Position> <WorldPosition x="-9.4" y="-152.8" z="0.5" h="1.57079632679"/> </Position> </TeleportAction> </PrivateAction> <PrivateAction> <ControllerAction> <AssignControllerAction> <Controller name="HeroAgent"> <Properties> <Property name="module" value="external_control"/> </Properties> </Controller> </AssignControllerAction> <OverrideControllerValueAction> <Throttle value="0" active="false"/> <Brake value="0" active="false"/> <Clutch value="0" active="false"/> <ParkingBrake value="0" active="false"/> <SteeringWheel value="0" active="false"/> <Gear number="0" active="false"/> </OverrideControllerValueAction> </ControllerAction> </PrivateAction> </Private> <Private entityRef="adversary"> <PrivateAction> <TeleportAction> <Position> <WorldPosition x="-9.4" y="-71.0" z="0.5" h="1.57079632679"/> </Position> </TeleportAction> </PrivateAction> </Private> <Private entityRef="standing"> <PrivateAction> <TeleportAction> <Position> <WorldPosition x="-8.2" y="29.2" z="0.5" h="1.57079632679"/> </Position> </TeleportAction> </PrivateAction> </Private> <Private entityRef="pedestrian_close_to_hero_5892"> <PrivateAction> <TeleportAction> <Position> <WorldPosition x="-15.834992408752441" y="-139.34156799316406" z="0.0014286803780123591"/> </Position> </TeleportAction> </PrivateAction> </Private> <Private entityRef="pedestrian_close_to_adversary_5893"> <PrivateAction> <TeleportAction> <Position> <WorldPosition x="3.6016576290130615" y="-60.979732513427734" z="0.03377719968557358"/> </Position> </TeleportAction> </PrivateAction> </Private> <Private entityRef="pedestrian_w_transform_5894"> <PrivateAction> <TeleportAction> <Position> <WorldPosition x="-74.40030670166016" y="-93.4692153930664" z="0.5"/> </Position> </TeleportAction> </PrivateAction> </Private> <Private entityRef="pedestrian_close_to_hero_5895"> <PrivateAction> <TeleportAction> <Position> <WorldPosition x="-18.911977767944336" y="-155.2914581298828" z="0.0014286803780123591"/> </Position> </TeleportAction> </PrivateAction> </Private> <Private entityRef="pedestrian_close_to_adversary_5896"> <PrivateAction> <TeleportAction> <Position> <WorldPosition x="-5.571696758270264" y="-66.05921173095703" z="0.033789899200201035"/> </Position> </TeleportAction> </PrivateAction> </Private> <Private entityRef="pedestrian_close_to_standing_5898"> <PrivateAction> <TeleportAction> <Position> <WorldPosition x="-15.988937377929688" y="33.27176284790039" z="0.0030520628206431866"/> </Position> </TeleportAction> </PrivateAction> </Private> <Private entityRef="pedestrian_close_to_hero_5899"> <PrivateAction> <TeleportAction> <Position> <WorldPosition x="-1.4045931100845337" y="-150.3258056640625" z="0.0014286803780123591"/> </Position> </TeleportAction> </PrivateAction> </Private> <Private entityRef="pedestrian_w_transform_5900"> <PrivateAction> <TeleportAction> <Position> <WorldPosition x="65.88539123535156" y="99.4565200805664" z="0.5"/> </Position> </TeleportAction> </PrivateAction> </Private> <Private entityRef="pedestrian_w_transform_5901"> <PrivateAction> <TeleportAction> <Position> <WorldPosition x="12.791388511657715" y="-33.98872756958008" z="0.5"/> </Position> </TeleportAction> </PrivateAction> </Private> <Private entityRef="pedestrian_close_to_standing_5902"> <PrivateAction> <TeleportAction> <Position> <WorldPosition x="-4.563365459442139" y="21.05280113220215" z="0.003114356892183423"/> </Position> </TeleportAction> </PrivateAction> </Private> <Private entityRef="pedestrian_w_transform_5904"> <PrivateAction> <TeleportAction> <Position> <WorldPosition x="34.94519805908203" y="17.69854164123535" z="0.5"/> </Position> </TeleportAction> </PrivateAction> </Private> <Private entityRef="pedestrian_w_transform_5905"> <PrivateAction> <TeleportAction> <Position> <WorldPosition x="46.2732048034668" y="44.73154067993164" z="0.5"/> </Position> </TeleportAction> </PrivateAction> </Private> <Private entityRef="pedestrian_w_transform_5906"> <PrivateAction> <TeleportAction> <Position> <WorldPosition x="-79.89900207519531" y="7.9894561767578125" z="0.5"/> </Position> </TeleportAction> </PrivateAction> </Private> <Private entityRef="pedestrian_w_transform_5907"> <PrivateAction> <TeleportAction> <Position> <WorldPosition x="23.520755767822266" y="-0.5476962327957153" z="0.5"/> </Position> </TeleportAction> </PrivateAction> </Private> <Private entityRef="pedestrian_w_transform_5908"> <PrivateAction> <TeleportAction> <Position> <WorldPosition x="18.23796844482422" y="9.829936981201172" z="0.5"/> </Position> </TeleportAction> </PrivateAction> </Private> </Actions> </Init> <Story name="MyStory"> <Act name="Behavior"> <ManeuverGroup maximumExecutionCount="1" name="ManeuverSequence"> <Actors selectTriggeringEntities="false"> <EntityRef entityRef="adversary"/> </Actors> <Maneuver name="LaneChangeSimpleManeuver"> <Event name="AdversaryAccelerates" priority="overwrite"> <Action name="AdversaryAccelerates"> <PrivateAction> <LongitudinalAction> <SpeedAction> <SpeedActionDynamics dynamicsShape="step" value="50" dynamicsDimension="distance"/> <SpeedActionTarget> <AbsoluteTargetSpeed value="5.0"/> </SpeedActionTarget> </SpeedAction> </LongitudinalAction> </PrivateAction> </Action> <StartTrigger> <ConditionGroup> <Condition name="StartCondition" delay="0" conditionEdge="rising"> <ByEntityCondition> <TriggeringEntities triggeringEntitiesRule="any"> <EntityRef entityRef="hero"/> </TriggeringEntities> <EntityCondition> <RelativeDistanceCondition entityRef="adversary" relativeDistanceType="cartesianDistance" value="40.0" freespace="false" rule="lessThan"/> </EntityCondition> </ByEntityCondition> </Condition> </ConditionGroup> </StartTrigger> </Event> <Event name="AdversaryChangesLane" priority="overwrite"> <Action name="AdversaryChangesLane"> <PrivateAction> <LateralAction> <LaneChangeAction> <LaneChangeActionDynamics dynamicsShape="linear" value="25" dynamicsDimension="distance"/> <LaneChangeTarget> <RelativeTargetLane entityRef="adversary" value="-1"/> </LaneChangeTarget> </LaneChangeAction> </LateralAction> </PrivateAction> </Action> <StartTrigger> <ConditionGroup> <Condition name="AfterAdversaryAccelerates" delay="0" conditionEdge="rising"> <ByValueCondition> <StoryboardElementStateCondition storyboardElementType="action" storyboardElementRef="AdversaryAccelerates" state="completeState"/> </ByValueCondition> </Condition> </ConditionGroup> </StartTrigger> </Event> </Maneuver> </ManeuverGroup> <StartTrigger> <ConditionGroup> <Condition name="OverallStartCondition" delay="0" conditionEdge="rising"> <ByEntityCondition> <TriggeringEntities triggeringEntitiesRule="any"> <EntityRef entityRef="hero"/> </TriggeringEntities> <EntityCondition> <TraveledDistanceCondition value="1.0"/> </EntityCondition> </ByEntityCondition> </Condition> <Condition name="StartTime" delay="0" conditionEdge="rising"> <ByValueCondition> <SimulationTimeCondition value="0" rule="equalTo"/> </ByValueCondition> </Condition> </ConditionGroup> </StartTrigger> <StopTrigger> <ConditionGroup> <Condition name="EndCondition" delay="0" conditionEdge="rising"> <ByEntityCondition> <TriggeringEntities triggeringEntitiesRule="any"> <EntityRef entityRef="hero"/> </TriggeringEntities> <EntityCondition> <TraveledDistanceCondition value="200.0"/> </EntityCondition> </ByEntityCondition> </Condition> </ConditionGroup> </StopTrigger> </Act> </Story> <StopTrigger> <ConditionGroup> <Condition name="criteria_RunningStopTest" delay="0" conditionEdge="rising"> <ByValueCondition> <ParameterCondition parameterRef="" value="" rule="lessThan"/> </ByValueCondition> </Condition> <Condition name="criteria_RunningRedLightTest" delay="0" conditionEdge="rising"> <ByValueCondition> <ParameterCondition parameterRef="" value="" rule="lessThan"/> </ByValueCondition> </Condition> <Condition name="criteria_WrongLaneTest" delay="0" conditionEdge="rising"> <ByValueCondition> <ParameterCondition parameterRef="" value="" rule="lessThan"/> </ByValueCondition> </Condition> <Condition name="criteria_OnSidewalkTest" delay="0" conditionEdge="rising"> <ByValueCondition> <ParameterCondition parameterRef="" value="" rule="lessThan"/> </ByValueCondition> </Condition> <Condition name="criteria_KeepLaneTest" delay="0" conditionEdge="rising"> <ByValueCondition> <ParameterCondition parameterRef="" value="" rule="lessThan"/> </ByValueCondition> </Condition> <Condition name="criteria_CollisionTest" delay="0" conditionEdge="rising"> <ByValueCondition> <ParameterCondition parameterRef="" value="" rule="lessThan"/> </ByValueCondition> </Condition> <Condition name="criteria_DrivenDistanceTest" delay="0" conditionEdge="rising"> <ByValueCondition> <ParameterCondition parameterRef="distance_success" value="100" rule="lessThan"/> </ByValueCondition> </Condition> </ConditionGroup> </StopTrigger> </Storyboard> </OpenSCENARIO> ```
Here is the result: ``` <?xml version="1.0" ?> <OpenSCENARIO> <FileHeader revMajor="1" revMinor="0" date="2020-03-24T12:00:00" description="CARLA:LaneChangeSimple" author=""/> <ParameterDeclarations/> <CatalogLocations/> <RoadNetwork> <LogicFile filepath="Town04"/> <SceneGraphFile filepath=""/> </RoadNetwork> <Entities> <ScenarioObject name="hero"> <Vehicle name="vehicle.tesla.model3" vehicleCategory="car"> <ParameterDeclarations/> <Performance maxSpeed="69.444" maxAcceleration="200" maxDeceleration="10.0"/> <BoundingBox> <Center x="1.5" y="0.0" z="0.9"/> <Dimensions width="2.1" length="4.5" height="1.8"/> </BoundingBox> <Axles> <FrontAxle maxSteering="0.5" wheelDiameter="0.6" trackWidth="1.8" positionX="3.1" positionZ="0.3"/> <RearAxle maxSteering="0.0" wheelDiameter="0.6" trackWidth="1.8" positionX="0.0" positionZ="0.3"/> </Axles> <Properties> <Property name="type" value="ego_vehicle"/> </Properties> </Vehicle> </ScenarioObject> <ScenarioObject name="adversary"> <Vehicle name="vehicle.lincoln.mkz_2017" vehicleCategory="car"> <ParameterDeclarations/> <Performance maxSpeed="69.444" maxAcceleration="200" maxDeceleration="10.0"/> <BoundingBox> <Center x="1.5" y="0.0" z="0.9"/> <Dimensions width="2.1" length="4.5" height="1.8"/> </BoundingBox> <Axles> <FrontAxle maxSteering="0.5" wheelDiameter="0.6" trackWidth="1.8" positionX="3.1" positionZ="0.3"/> <RearAxle maxSteering="0.0" wheelDiameter="0.6" trackWidth="1.8" positionX="0.0" positionZ="0.3"/> </Axles> <Properties> <Property name="type" value="simulation"/> </Properties> </Vehicle> </ScenarioObject> <ScenarioObject name="standing"> <Vehicle name="vehicle.volkswagen.t2" vehicleCategory="car"> <ParameterDeclarations/> <Performance maxSpeed="69.444" maxAcceleration="200" maxDeceleration="10.0"/> <BoundingBox> <Center x="1.5" y="0.0" z="0.9"/> <Dimensions width="2.1" length="4.5" height="1.8"/> </BoundingBox> <Axles> <FrontAxle maxSteering="0.5" wheelDiameter="0.6" trackWidth="1.8" positionX="3.1" positionZ="0.3"/> <RearAxle maxSteering="0.0" wheelDiameter="0.6" trackWidth="1.8" positionX="0.0" positionZ="0.3"/> </Axles> <Properties> <Property name="type" value="simulation"/> </Properties> </Vehicle> </ScenarioObject> <ScenarioObject name="pedestrian_close_to_hero_5892"> <Pedestrian model="walker.pedestrian.0001" mass="80" name="walker.pedestrian.0001" pedestrianCategory="pedestrian"> <ParameterDeclarations/> <BoundingBox> <Center x="1.5" y="0.0" z="0.9"/> <Dimensions width="2" length="2" height="2"/> </BoundingBox> <Properties> <Property name="type" value="simulation"/> </Properties> </Pedestrian> </ScenarioObject> <ScenarioObject name="pedestrian_close_to_adversary_5893"> <Pedestrian model="walker.pedestrian.0001" mass="80" name="walker.pedestrian.0001" pedestrianCategory="pedestrian"> <ParameterDeclarations/> <BoundingBox> <Center x="1.5" y="0.0" z="0.9"/> <Dimensions width="2" length="2" height="2"/> </BoundingBox> <Properties> <Property name="type" value="simulation"/> </Properties> </Pedestrian> </ScenarioObject> <ScenarioObject name="pedestrian_w_transform_5894"> <Pedestrian model="walker.pedestrian.0001" mass="80" name="walker.pedestrian.0001" pedestrianCategory="pedestrian"> <ParameterDeclarations/> <BoundingBox> <Center x="1.5" y="0.0" z="0.9"/> <Dimensions width="2" length="2" height="2"/> </BoundingBox> <Properties> <Property name="type" value="simulation"/> </Properties> </Pedestrian> </ScenarioObject> <ScenarioObject name="pedestrian_close_to_hero_5895"> <Pedestrian model="walker.pedestrian.0001" mass="80" name="walker.pedestrian.0001" pedestrianCategory="pedestrian"> <ParameterDeclarations/> <BoundingBox> <Center x="1.5" y="0.0" z="0.9"/> <Dimensions width="2" length="2" height="2"/> </BoundingBox> <Properties> <Property name="type" value="simulation"/> </Properties> </Pedestrian> </ScenarioObject> <ScenarioObject name="pedestrian_close_to_adversary_5896"> <Pedestrian model="walker.pedestrian.0001" mass="80" name="walker.pedestrian.0001" pedestrianCategory="pedestrian"> <ParameterDeclarations/> <BoundingBox> <Center x="1.5" y="0.0" z="0.9"/> <Dimensions width="2" length="2" height="2"/> </BoundingBox> <Properties> <Property name="type" value="simulation"/> </Properties> </Pedestrian> </ScenarioObject> <ScenarioObject name="pedestrian_close_to_standing_5898"> <Pedestrian model="walker.pedestrian.0001" mass="80" name="walker.pedestrian.0001" pedestrianCategory="pedestrian"> <ParameterDeclarations/> <BoundingBox> <Center x="1.5" y="0.0" z="0.9"/> <Dimensions width="2" length="2" height="2"/> </BoundingBox> <Properties> <Property name="type" value="simulation"/> </Properties> </Pedestrian> </ScenarioObject> <ScenarioObject name="pedestrian_close_to_hero_5899"> <Pedestrian model="walker.pedestrian.0001" mass="80" name="walker.pedestrian.0001" pedestrianCategory="pedestrian"> <ParameterDeclarations/> <BoundingBox> <Center x="1.5" y="0.0" z="0.9"/> <Dimensions width="2" length="2" height="2"/> </BoundingBox> <Properties> <Property name="type" value="simulation"/> </Properties> </Pedestrian> </ScenarioObject> <ScenarioObject name="pedestrian_w_transform_5900"> <Pedestrian model="walker.pedestrian.0001" mass="80" name="walker.pedestrian.0001" pedestrianCategory="pedestrian"> <ParameterDeclarations/> <BoundingBox> <Center x="1.5" y="0.0" z="0.9"/> <Dimensions width="2" length="2" height="2"/> </BoundingBox> <Properties> <Property name="type" value="simulation"/> </Properties> </Pedestrian> </ScenarioObject> <ScenarioObject name="pedestrian_w_transform_5901"> <Pedestrian model="walker.pedestrian.0001" mass="80" name="walker.pedestrian.0001" pedestrianCategory="pedestrian"> <ParameterDeclarations/> <BoundingBox> <Center x="1.5" y="0.0" z="0.9"/> <Dimensions width="2" length="2" height="2"/> </BoundingBox> <Properties> <Property name="type" value="simulation"/> </Properties> </Pedestrian> </ScenarioObject> <ScenarioObject name="pedestrian_close_to_standing_5902"> <Pedestrian model="walker.pedestrian.0001" mass="80" name="walker.pedestrian.0001" pedestrianCategory="pedestrian"> <ParameterDeclarations/> <BoundingBox> <Center x="1.5" y="0.0" z="0.9"/> <Dimensions width="2" length="2" height="2"/> </BoundingBox> <Properties> <Property name="type" value="simulation"/> </Properties> </Pedestrian> </ScenarioObject> <ScenarioObject name="pedestrian_w_transform_5904"> <Pedestrian model="walker.pedestrian.0001" mass="80" name="walker.pedestrian.0001" pedestrianCategory="pedestrian"> <ParameterDeclarations/> <BoundingBox> <Center x="1.5" y="0.0" z="0.9"/> <Dimensions width="2" length="2" height="2"/> </BoundingBox> <Properties> <Property name="type" value="simulation"/> </Properties> </Pedestrian> </ScenarioObject> <ScenarioObject name="pedestrian_w_transform_5905"> <Pedestrian model="walker.pedestrian.0001" mass="80" name="walker.pedestrian.0001" pedestrianCategory="pedestrian"> <ParameterDeclarations/> <BoundingBox> <Center x="1.5" y="0.0" z="0.9"/> <Dimensions width="2" length="2" height="2"/> </BoundingBox> <Properties> <Property name="type" value="simulation"/> </Properties> </Pedestrian> </ScenarioObject> <ScenarioObject name="pedestrian_w_transform_5906"> <Pedestrian model="walker.pedestrian.0001" mass="80" name="walker.pedestrian.0001" pedestrianCategory="pedestrian"> <ParameterDeclarations/> <BoundingBox> <Center x="1.5" y="0.0" z="0.9"/> <Dimensions width="2" length="2" height="2"/> </BoundingBox> <Properties> <Property name="type" value="simulation"/> </Properties> </Pedestrian> </ScenarioObject> <ScenarioObject name="pedestrian_w_transform_5907"> <Pedestrian model="walker.pedestrian.0001" mass="80" name="walker.pedestrian.0001" pedestrianCategory="pedestrian"> <ParameterDeclarations/> <BoundingBox> <Center x="1.5" y="0.0" z="0.9"/> <Dimensions width="2" length="2" height="2"/> </BoundingBox> <Properties> <Property name="type" value="simulation"/> </Properties> </Pedestrian> </ScenarioObject> <ScenarioObject name="pedestrian_w_transform_5908"> <Pedestrian model="walker.pedestrian.0001" mass="80" name="walker.pedestrian.0001" pedestrianCategory="pedestrian"> <ParameterDeclarations/> <BoundingBox> <Center x="1.5" y="0.0" z="0.9"/> <Dimensions width="2" length="2" height="2"/> </BoundingBox> <Properties> <Property name="type" value="simulation"/> </Properties> </Pedestrian> </ScenarioObject> <ScenarioObject name="pedestrian_close_to_hero_5909"> <Pedestrian model="walker.pedestrian.0001" mass="80" name="walker.pedestrian.0001" pedestrianCategory="pedestrian"> <ParameterDeclarations/> <BoundingBox> <Center x="1.5" y="0.0" z="0.9"/> <Dimensions width="2" length="2" height="2"/> </BoundingBox> <Properties> <Property name="type" value="simulation"/> </Properties> </Pedestrian> </ScenarioObject> </Entities> <Storyboard> <Init> <Actions> <GlobalAction> <EnvironmentAction> <Environment name="Environment1"> <TimeOfDay animation="false" dateTime="2019-06-25T12:00:00"/> <Weather cloudState="free"> <Sun intensity="0.85" azimuth="0" elevation="1.31"/> <Fog visualRange="100000.0"/> <Precipitation precipitationType="dry" intensity="0.0"/> </Weather> <RoadCondition frictionScaleFactor="1.0"/> </Environment> </EnvironmentAction> </GlobalAction> <Private entityRef="hero"> <PrivateAction> <TeleportAction> <Position> <WorldPosition x="-9.4" y="-152.8" z="0.5" h="1.57079632679"/> </Position> </TeleportAction> </PrivateAction> <PrivateAction> <ControllerAction> <AssignControllerAction> <Controller name="HeroAgent"> <Properties> <Property name="module" value="external_control"/> </Properties> </Controller> </AssignControllerAction> <OverrideControllerValueAction> <Throttle value="0" active="false"/> <Brake value="0" active="false"/> <Clutch value="0" active="false"/> <ParkingBrake value="0" active="false"/> <SteeringWheel value="0" active="false"/> <Gear number="0" active="false"/> </OverrideControllerValueAction> </ControllerAction> </PrivateAction> </Private> <Private entityRef="adversary"> <PrivateAction> <TeleportAction> <Position> <WorldPosition x="-9.4" y="-71.0" z="0.5" h="1.57079632679"/> </Position> </TeleportAction> </PrivateAction> </Private> <Private entityRef="standing"> <PrivateAction> <TeleportAction> <Position> <WorldPosition x="-8.2" y="29.2" z="0.5" h="1.57079632679"/> </Position> </TeleportAction> </PrivateAction> </Private> <Private entityRef="pedestrian_close_to_hero_5892"> <PrivateAction> <TeleportAction> <Position> <WorldPosition x="-15.834992408752441" y="-139.34156799316406" z="0.0014286803780123591"/> </Position> </TeleportAction> </PrivateAction> </Private> <Private entityRef="pedestrian_close_to_adversary_5893"> <PrivateAction> <TeleportAction> <Position> <WorldPosition x="3.6016576290130615" y="-60.979732513427734" z="0.03377719968557358"/> </Position> </TeleportAction> </PrivateAction> </Private> <Private entityRef="pedestrian_w_transform_5894"> <PrivateAction> <TeleportAction> <Position> <WorldPosition x="-74.40030670166016" y="-93.4692153930664" z="0.5"/> </Position> </TeleportAction> </PrivateAction> </Private> <Private entityRef="pedestrian_close_to_hero_5895"> <PrivateAction> <TeleportAction> <Position> <WorldPosition x="-18.911977767944336" y="-155.2914581298828" z="0.0014286803780123591"/> </Position> </TeleportAction> </PrivateAction> </Private> <Private entityRef="pedestrian_close_to_adversary_5896"> <PrivateAction> <TeleportAction> <Position> <WorldPosition x="-5.571696758270264" y="-66.05921173095703" z="0.033789899200201035"/> </Position> </TeleportAction> </PrivateAction> </Private> <Private entityRef="pedestrian_close_to_standing_5898"> <PrivateAction> <TeleportAction> <Position> <WorldPosition x="-15.988937377929688" y="33.27176284790039" z="0.0030520628206431866"/> </Position> </TeleportAction> </PrivateAction> </Private> <Private entityRef="pedestrian_close_to_hero_5899"> <PrivateAction> <TeleportAction> <Position> <WorldPosition x="-1.4045931100845337" y="-150.3258056640625" z="0.0014286803780123591"/> </Position> </TeleportAction> </PrivateAction> </Private> <Private entityRef="pedestrian_w_transform_5900"> <PrivateAction> <TeleportAction> <Position> <WorldPosition x="65.88539123535156" y="99.4565200805664" z="0.5"/> </Position> </TeleportAction> </PrivateAction> </Private> <Private entityRef="pedestrian_w_transform_5901"> <PrivateAction> <TeleportAction> <Position> <WorldPosition x="12.791388511657715" y="-33.98872756958008" z="0.5"/> </Position> </TeleportAction> </PrivateAction> </Private> <Private entityRef="pedestrian_close_to_standing_5902"> <PrivateAction> <TeleportAction> <Position> <WorldPosition x="-4.563365459442139" y="21.05280113220215" z="0.003114356892183423"/> </Position> </TeleportAction> </PrivateAction> </Private> <Private entityRef="pedestrian_w_transform_5904"> <PrivateAction> <TeleportAction> <Position> <WorldPosition x="34.94519805908203" y="17.69854164123535" z="0.5"/> </Position> </TeleportAction> </PrivateAction> </Private> <Private entityRef="pedestrian_w_transform_5905"> <PrivateAction> <TeleportAction> <Position> <WorldPosition x="46.2732048034668" y="44.73154067993164" z="0.5"/> </Position> </TeleportAction> </PrivateAction> </Private> <Private entityRef="pedestrian_w_transform_5906"> <PrivateAction> <TeleportAction> <Position> <WorldPosition x="-79.89900207519531" y="7.9894561767578125" z="0.5"/> </Position> </TeleportAction> </PrivateAction> </Private> <Private entityRef="pedestrian_w_transform_5907"> <PrivateAction> <TeleportAction> <Position> <WorldPosition x="23.520755767822266" y="-0.5476962327957153" z="0.5"/> </Position> </TeleportAction> </PrivateAction> </Private> <Private entityRef="pedestrian_w_transform_5908"> <PrivateAction> <TeleportAction> <Position> <WorldPosition x="18.23796844482422" y="9.829936981201172" z="0.5"/> </Position> </TeleportAction> </PrivateAction> </Private> <Private entityRef="pedestrian_close_to_hero_5909"> <PrivateAction> <TeleportAction> <Position> <WorldPosition x="-14.44199275970459" y="-158.7161102294922" z="0.0014286803780123591"/> </Position> </TeleportAction> </PrivateAction> </Private> </Actions> </Init> <Story name="MyStory"> <Act name="Behavior"> <ManeuverGroup maximumExecutionCount="1" name="ManeuverSequence"> <Actors selectTriggeringEntities="false"> <EntityRef entityRef="adversary"/> </Actors> <Maneuver name="LaneChangeSimpleManeuver"> <Event name="AdversaryAccelerates" priority="overwrite"> <Action name="AdversaryAccelerates"> <PrivateAction> <LongitudinalAction> <SpeedAction> <SpeedActionDynamics dynamicsShape="step" value="50" dynamicsDimension="distance"/> <SpeedActionTarget> <AbsoluteTargetSpeed value="5.0"/> </SpeedActionTarget> </SpeedAction> </LongitudinalAction> </PrivateAction> </Action> <StartTrigger> <ConditionGroup> <Condition name="StartCondition" delay="0" conditionEdge="rising"> <ByEntityCondition> <TriggeringEntities triggeringEntitiesRule="any"> <EntityRef entityRef="hero"/> </TriggeringEntities> <EntityCondition> <RelativeDistanceCondition entityRef="adversary" relativeDistanceType="cartesianDistance" value="40.0" freespace="false" rule="lessThan"/> </EntityCondition> </ByEntityCondition> </Condition> </ConditionGroup> </StartTrigger> </Event> <Event name="AdversaryChangesLane" priority="overwrite"> <Action name="AdversaryChangesLane"> <PrivateAction> <LateralAction> <LaneChangeAction> <LaneChangeActionDynamics dynamicsShape="linear" value="25" dynamicsDimension="distance"/> <LaneChangeTarget> <RelativeTargetLane entityRef="adversary" value="-1"/> </LaneChangeTarget> </LaneChangeAction> </LateralAction> </PrivateAction> </Action> <StartTrigger> <ConditionGroup> <Condition name="AfterAdversaryAccelerates" delay="0" conditionEdge="rising"> <ByValueCondition> <StoryboardElementStateCondition storyboardElementType="action" storyboardElementRef="AdversaryAccelerates" state="completeState"/> </ByValueCondition> </Condition> </ConditionGroup> </StartTrigger> </Event> </Maneuver> </ManeuverGroup> <StartTrigger> <ConditionGroup> <Condition name="OverallStartCondition" delay="0" conditionEdge="rising"> <ByEntityCondition> <TriggeringEntities triggeringEntitiesRule="any"> <EntityRef entityRef="hero"/> </TriggeringEntities> <EntityCondition> <TraveledDistanceCondition value="1.0"/> </EntityCondition> </ByEntityCondition> </Condition> <Condition name="StartTime" delay="0" conditionEdge="rising"> <ByValueCondition> <SimulationTimeCondition value="0" rule="equalTo"/> </ByValueCondition> </Condition> </ConditionGroup> </StartTrigger> <StopTrigger> <ConditionGroup> <Condition name="EndCondition" delay="0" conditionEdge="rising"> <ByEntityCondition> <TriggeringEntities triggeringEntitiesRule="any"> <EntityRef entityRef="hero"/> </TriggeringEntities> <EntityCondition> <TraveledDistanceCondition value="200.0"/> </EntityCondition> </ByEntityCondition> </Condition> </ConditionGroup> </StopTrigger> </Act> </Story> <StopTrigger> <ConditionGroup> <Condition name="criteria_RunningStopTest" delay="0" conditionEdge="rising"> <ByValueCondition> <ParameterCondition parameterRef="" value="" rule="lessThan"/> </ByValueCondition> </Condition> <Condition name="criteria_RunningRedLightTest" delay="0" conditionEdge="rising"> <ByValueCondition> <ParameterCondition parameterRef="" value="" rule="lessThan"/> </ByValueCondition> </Condition> <Condition name="criteria_WrongLaneTest" delay="0" conditionEdge="rising"> <ByValueCondition> <ParameterCondition parameterRef="" value="" rule="lessThan"/> </ByValueCondition> </Condition> <Condition name="criteria_OnSidewalkTest" delay="0" conditionEdge="rising"> <ByValueCondition> <ParameterCondition parameterRef="" value="" rule="lessThan"/> </ByValueCondition> </Condition> <Condition name="criteria_KeepLaneTest" delay="0" conditionEdge="rising"> <ByValueCondition> <ParameterCondition parameterRef="" value="" rule="lessThan"/> </ByValueCondition> </Condition> <Condition name="criteria_CollisionTest" delay="0" conditionEdge="rising"> <ByValueCondition> <ParameterCondition parameterRef="" value="" rule="lessThan"/> </ByValueCondition> </Condition> <Condition name="criteria_DrivenDistanceTest" delay="0" conditionEdge="rising"> <ByValueCondition> <ParameterCondition parameterRef="distance_success" value="100" rule="lessThan"/> </ByValueCondition> </Condition> </ConditionGroup> </StopTrigger> </Storyboard> </OpenSCENARIO> ```
i would like to ask you to add pedestrian close to hero? ``` <?xml version="1.0" ?> <OpenSCENARIO> <FileHeader revMajor="1" revMinor="0" date="2020-03-24T12:00:00" description="CARLA:LaneChangeSimple" author=""/> <ParameterDeclarations/> <CatalogLocations/> <RoadNetwork> <LogicFile filepath="Town04"/> <SceneGraphFile filepath=""/> </RoadNetwork> <Entities> <ScenarioObject name="hero"> <Vehicle name="vehicle.tesla.model3" vehicleCategory="car"> <ParameterDeclarations/> <Performance maxSpeed="69.444" maxAcceleration="200" maxDeceleration="10.0"/> <BoundingBox> <Center x="1.5" y="0.0" z="0.9"/> <Dimensions width="2.1" length="4.5" height="1.8"/> </BoundingBox> <Axles> <FrontAxle maxSteering="0.5" wheelDiameter="0.6" trackWidth="1.8" positionX="3.1" positionZ="0.3"/> <RearAxle maxSteering="0.0" wheelDiameter="0.6" trackWidth="1.8" positionX="0.0" positionZ="0.3"/> </Axles> <Properties> <Property name="type" value="ego_vehicle"/> </Properties> </Vehicle> </ScenarioObject> <ScenarioObject name="adversary"> <Vehicle name="vehicle.lincoln.mkz_2017" vehicleCategory="car"> <ParameterDeclarations/> <Performance maxSpeed="69.444" maxAcceleration="200" maxDeceleration="10.0"/> <BoundingBox> <Center x="1.5" y="0.0" z="0.9"/> <Dimensions width="2.1" length="4.5" height="1.8"/> </BoundingBox> <Axles> <FrontAxle maxSteering="0.5" wheelDiameter="0.6" trackWidth="1.8" positionX="3.1" positionZ="0.3"/> <RearAxle maxSteering="0.0" wheelDiameter="0.6" trackWidth="1.8" positionX="0.0" positionZ="0.3"/> </Axles> <Properties> <Property name="type" value="simulation"/> </Properties> </Vehicle> </ScenarioObject> <ScenarioObject name="standing"> <Vehicle name="vehicle.volkswagen.t2" vehicleCategory="car"> <ParameterDeclarations/> <Performance maxSpeed="69.444" maxAcceleration="200" maxDeceleration="10.0"/> <BoundingBox> <Center x="1.5" y="0.0" z="0.9"/> <Dimensions width="2.1" length="4.5" height="1.8"/> </BoundingBox> <Axles> <FrontAxle maxSteering="0.5" wheelDiameter="0.6" trackWidth="1.8" positionX="3.1" positionZ="0.3"/> <RearAxle maxSteering="0.0" wheelDiameter="0.6" trackWidth="1.8" positionX="0.0" positionZ="0.3"/> </Axles> <Properties> <Property name="type" value="simulation"/> </Properties> </Vehicle> </ScenarioObject> </Entities> <Storyboard> <Init> <Actions> <GlobalAction> <EnvironmentAction> <Environment name="Environment1"> <TimeOfDay animation="false" dateTime="2019-06-25T12:00:00"/> <Weather cloudState="free"> <Sun intensity="0.85" azimuth="0" elevation="1.31"/> <Fog visualRange="100000.0"/> <Precipitation precipitationType="dry" intensity="0.0"/> </Weather> <RoadCondition frictionScaleFactor="1.0"/> </Environment> </EnvironmentAction> </GlobalAction> <Private entityRef="hero"> <PrivateAction> <TeleportAction> <Position> <WorldPosition x="-9.4" y="-152.8" z="0.5" h="1.57079632679"/> </Position> </TeleportAction> </PrivateAction> <PrivateAction> <ControllerAction> <AssignControllerAction> <Controller name="HeroAgent"> <Properties> <Property name="module" value="external_control"/> </Properties> </Controller> </AssignControllerAction> <OverrideControllerValueAction> <Throttle value="0" active="false"/> <Brake value="0" active="false"/> <Clutch value="0" active="false"/> <ParkingBrake value="0" active="false"/> <SteeringWheel value="0" active="false"/> <Gear number="0" active="false"/> </OverrideControllerValueAction> </ControllerAction> </PrivateAction> </Private> <Private entityRef="adversary"> <PrivateAction> <TeleportAction> <Position> <WorldPosition x="-9.4" y="-71.0" z="0.5" h="1.57079632679"/> </Position> </TeleportAction> </PrivateAction> </Private> <Private entityRef="standing"> <PrivateAction> <TeleportAction> <Position> <WorldPosition x="-8.2" y="29.2" z="0.5" h="1.57079632679"/> </Position> </TeleportAction> </PrivateAction> </Private> </Actions> </Init> <Story name="MyStory"> <Act name="Behavior"> <ManeuverGroup maximumExecutionCount="1" name="ManeuverSequence"> <Actors selectTriggeringEntities="false"> <EntityRef entityRef="adversary"/> </Actors> <Maneuver name="LaneChangeSimpleManeuver"> <Event name="AdversaryAccelerates" priority="overwrite"> <Action name="AdversaryAccelerates"> <PrivateAction> <LongitudinalAction> <SpeedAction> <SpeedActionDynamics dynamicsShape="step" value="50" dynamicsDimension="distance"/> <SpeedActionTarget> <AbsoluteTargetSpeed value="5.0"/> </SpeedActionTarget> </SpeedAction> </LongitudinalAction> </PrivateAction> </Action> <StartTrigger> <ConditionGroup> <Condition name="StartCondition" delay="0" conditionEdge="rising"> <ByEntityCondition> <TriggeringEntities triggeringEntitiesRule="any"> <EntityRef entityRef="hero"/> </TriggeringEntities> <EntityCondition> <RelativeDistanceCondition entityRef="adversary" relativeDistanceType="cartesianDistance" value="40.0" freespace="false" rule="lessThan"/> </EntityCondition> </ByEntityCondition> </Condition> </ConditionGroup> </StartTrigger> </Event> <Event name="AdversaryChangesLane" priority="overwrite"> <Action name="AdversaryChangesLane"> <PrivateAction> <LateralAction> <LaneChangeAction> <LaneChangeActionDynamics dynamicsShape="linear" value="25" dynamicsDimension="distance"/> <LaneChangeTarget> <RelativeTargetLane entityRef="adversary" value="-1"/> </LaneChangeTarget> </LaneChangeAction> </LateralAction> </PrivateAction> </Action> <StartTrigger> <ConditionGroup> <Condition name="AfterAdversaryAccelerates" delay="0" conditionEdge="rising"> <ByValueCondition> <StoryboardElementStateCondition storyboardElementType="action" storyboardElementRef="AdversaryAccelerates" state="completeState"/> </ByValueCondition> </Condition> </ConditionGroup> </StartTrigger> </Event> </Maneuver> </ManeuverGroup> <StartTrigger> <ConditionGroup> <Condition name="OverallStartCondition" delay="0" conditionEdge="rising"> <ByEntityCondition> <TriggeringEntities triggeringEntitiesRule="any"> <EntityRef entityRef="hero"/> </TriggeringEntities> <EntityCondition> <TraveledDistanceCondition value="1.0"/> </EntityCondition> </ByEntityCondition> </Condition> <Condition name="StartTime" delay="0" conditionEdge="rising"> <ByValueCondition> <SimulationTimeCondition value="0" rule="equalTo"/> </ByValueCondition> </Condition> </ConditionGroup> </StartTrigger> <StopTrigger> <ConditionGroup> <Condition name="EndCondition" delay="0" conditionEdge="rising"> <ByEntityCondition> <TriggeringEntities triggeringEntitiesRule="any"> <EntityRef entityRef="hero"/> </TriggeringEntities> <EntityCondition> <TraveledDistanceCondition value="200.0"/> </EntityCondition> </ByEntityCondition> </Condition> </ConditionGroup> </StopTrigger> </Act> </Story> <StopTrigger> <ConditionGroup> <Condition name="criteria_RunningStopTest" delay="0" conditionEdge="rising"> <ByValueCondition> <ParameterCondition parameterRef="" value="" rule="lessThan"/> </ByValueCondition> </Condition> <Condition name="criteria_RunningRedLightTest" delay="0" conditionEdge="rising"> <ByValueCondition> <ParameterCondition parameterRef="" value="" rule="lessThan"/> </ByValueCondition> </Condition> <Condition name="criteria_WrongLaneTest" delay="0" conditionEdge="rising"> <ByValueCondition> <ParameterCondition parameterRef="" value="" rule="lessThan"/> </ByValueCondition> </Condition> <Condition name="criteria_OnSidewalkTest" delay="0" conditionEdge="rising"> <ByValueCondition> <ParameterCondition parameterRef="" value="" rule="lessThan"/> </ByValueCondition> </Condition> <Condition name="criteria_KeepLaneTest" delay="0" conditionEdge="rising"> <ByValueCondition> <ParameterCondition parameterRef="" value="" rule="lessThan"/> </ByValueCondition> </Condition> <Condition name="criteria_CollisionTest" delay="0" conditionEdge="rising"> <ByValueCondition> <ParameterCondition parameterRef="" value="" rule="lessThan"/> </ByValueCondition> </Condition> <Condition name="criteria_DrivenDistanceTest" delay="0" conditionEdge="rising"> <ByValueCondition> <ParameterCondition parameterRef="distance_success" value="100" rule="lessThan"/> </ByValueCondition> </Condition> </ConditionGroup> </StopTrigger> </Storyboard> </OpenSCENARIO> ```
Here is the result: ``` <?xml version="1.0" ?> <OpenSCENARIO> <FileHeader revMajor="1" revMinor="0" date="2020-03-24T12:00:00" description="CARLA:LaneChangeSimple" author=""/> <ParameterDeclarations/> <CatalogLocations/> <RoadNetwork> <LogicFile filepath="Town04"/> <SceneGraphFile filepath=""/> </RoadNetwork> <Entities> <ScenarioObject name="hero"> <Vehicle name="vehicle.tesla.model3" vehicleCategory="car"> <ParameterDeclarations/> <Performance maxSpeed="69.444" maxAcceleration="200" maxDeceleration="10.0"/> <BoundingBox> <Center x="1.5" y="0.0" z="0.9"/> <Dimensions width="2.1" length="4.5" height="1.8"/> </BoundingBox> <Axles> <FrontAxle maxSteering="0.5" wheelDiameter="0.6" trackWidth="1.8" positionX="3.1" positionZ="0.3"/> <RearAxle maxSteering="0.0" wheelDiameter="0.6" trackWidth="1.8" positionX="0.0" positionZ="0.3"/> </Axles> <Properties> <Property name="type" value="ego_vehicle"/> </Properties> </Vehicle> </ScenarioObject> <ScenarioObject name="adversary"> <Vehicle name="vehicle.lincoln.mkz_2017" vehicleCategory="car"> <ParameterDeclarations/> <Performance maxSpeed="69.444" maxAcceleration="200" maxDeceleration="10.0"/> <BoundingBox> <Center x="1.5" y="0.0" z="0.9"/> <Dimensions width="2.1" length="4.5" height="1.8"/> </BoundingBox> <Axles> <FrontAxle maxSteering="0.5" wheelDiameter="0.6" trackWidth="1.8" positionX="3.1" positionZ="0.3"/> <RearAxle maxSteering="0.0" wheelDiameter="0.6" trackWidth="1.8" positionX="0.0" positionZ="0.3"/> </Axles> <Properties> <Property name="type" value="simulation"/> </Properties> </Vehicle> </ScenarioObject> <ScenarioObject name="standing"> <Vehicle name="vehicle.volkswagen.t2" vehicleCategory="car"> <ParameterDeclarations/> <Performance maxSpeed="69.444" maxAcceleration="200" maxDeceleration="10.0"/> <BoundingBox> <Center x="1.5" y="0.0" z="0.9"/> <Dimensions width="2.1" length="4.5" height="1.8"/> </BoundingBox> <Axles> <FrontAxle maxSteering="0.5" wheelDiameter="0.6" trackWidth="1.8" positionX="3.1" positionZ="0.3"/> <RearAxle maxSteering="0.0" wheelDiameter="0.6" trackWidth="1.8" positionX="0.0" positionZ="0.3"/> </Axles> <Properties> <Property name="type" value="simulation"/> </Properties> </Vehicle> </ScenarioObject> <ScenarioObject name="pedestrian_close_to_hero_11332"> <Pedestrian model="walker.pedestrian.0001" mass="80" name="walker.pedestrian.0001" pedestrianCategory="pedestrian"> <ParameterDeclarations/> <BoundingBox> <Center x="1.5" y="0.0" z="0.9"/> <Dimensions width="2" length="2" height="2"/> </BoundingBox> <Properties> <Property name="type" value="simulation"/> </Properties> </Pedestrian> </ScenarioObject> </Entities> <Storyboard> <Init> <Actions> <GlobalAction> <EnvironmentAction> <Environment name="Environment1"> <TimeOfDay animation="false" dateTime="2019-06-25T12:00:00"/> <Weather cloudState="free"> <Sun intensity="0.85" azimuth="0" elevation="1.31"/> <Fog visualRange="100000.0"/> <Precipitation precipitationType="dry" intensity="0.0"/> </Weather> <RoadCondition frictionScaleFactor="1.0"/> </Environment> </EnvironmentAction> </GlobalAction> <Private entityRef="hero"> <PrivateAction> <TeleportAction> <Position> <WorldPosition x="-9.4" y="-152.8" z="0.5" h="1.57079632679"/> </Position> </TeleportAction> </PrivateAction> <PrivateAction> <ControllerAction> <AssignControllerAction> <Controller name="HeroAgent"> <Properties> <Property name="module" value="external_control"/> </Properties> </Controller> </AssignControllerAction> <OverrideControllerValueAction> <Throttle value="0" active="false"/> <Brake value="0" active="false"/> <Clutch value="0" active="false"/> <ParkingBrake value="0" active="false"/> <SteeringWheel value="0" active="false"/> <Gear number="0" active="false"/> </OverrideControllerValueAction> </ControllerAction> </PrivateAction> </Private> <Private entityRef="adversary"> <PrivateAction> <TeleportAction> <Position> <WorldPosition x="-9.4" y="-71.0" z="0.5" h="1.57079632679"/> </Position> </TeleportAction> </PrivateAction> </Private> <Private entityRef="standing"> <PrivateAction> <TeleportAction> <Position> <WorldPosition x="-8.2" y="29.2" z="0.5" h="1.57079632679"/> </Position> </TeleportAction> </PrivateAction> </Private> <Private entityRef="pedestrian_close_to_hero_11332"> <PrivateAction> <TeleportAction> <Position> <WorldPosition x="-6.291524887084961" y="-148.98956298828125" z="0.0014286803780123591"/> </Position> </TeleportAction> </PrivateAction> </Private> </Actions> </Init> <Story name="MyStory"> <Act name="Behavior"> <ManeuverGroup maximumExecutionCount="1" name="ManeuverSequence"> <Actors selectTriggeringEntities="false"> <EntityRef entityRef="adversary"/> </Actors> <Maneuver name="LaneChangeSimpleManeuver"> <Event name="AdversaryAccelerates" priority="overwrite"> <Action name="AdversaryAccelerates"> <PrivateAction> <LongitudinalAction> <SpeedAction> <SpeedActionDynamics dynamicsShape="step" value="50" dynamicsDimension="distance"/> <SpeedActionTarget> <AbsoluteTargetSpeed value="5.0"/> </SpeedActionTarget> </SpeedAction> </LongitudinalAction> </PrivateAction> </Action> <StartTrigger> <ConditionGroup> <Condition name="StartCondition" delay="0" conditionEdge="rising"> <ByEntityCondition> <TriggeringEntities triggeringEntitiesRule="any"> <EntityRef entityRef="hero"/> </TriggeringEntities> <EntityCondition> <RelativeDistanceCondition entityRef="adversary" relativeDistanceType="cartesianDistance" value="40.0" freespace="false" rule="lessThan"/> </EntityCondition> </ByEntityCondition> </Condition> </ConditionGroup> </StartTrigger> </Event> <Event name="AdversaryChangesLane" priority="overwrite"> <Action name="AdversaryChangesLane"> <PrivateAction> <LateralAction> <LaneChangeAction> <LaneChangeActionDynamics dynamicsShape="linear" value="25" dynamicsDimension="distance"/> <LaneChangeTarget> <RelativeTargetLane entityRef="adversary" value="-1"/> </LaneChangeTarget> </LaneChangeAction> </LateralAction> </PrivateAction> </Action> <StartTrigger> <ConditionGroup> <Condition name="AfterAdversaryAccelerates" delay="0" conditionEdge="rising"> <ByValueCondition> <StoryboardElementStateCondition storyboardElementType="action" storyboardElementRef="AdversaryAccelerates" state="completeState"/> </ByValueCondition> </Condition> </ConditionGroup> </StartTrigger> </Event> </Maneuver> </ManeuverGroup> <StartTrigger> <ConditionGroup> <Condition name="OverallStartCondition" delay="0" conditionEdge="rising"> <ByEntityCondition> <TriggeringEntities triggeringEntitiesRule="any"> <EntityRef entityRef="hero"/> </TriggeringEntities> <EntityCondition> <TraveledDistanceCondition value="1.0"/> </EntityCondition> </ByEntityCondition> </Condition> <Condition name="StartTime" delay="0" conditionEdge="rising"> <ByValueCondition> <SimulationTimeCondition value="0" rule="equalTo"/> </ByValueCondition> </Condition> </ConditionGroup> </StartTrigger> <StopTrigger> <ConditionGroup> <Condition name="EndCondition" delay="0" conditionEdge="rising"> <ByEntityCondition> <TriggeringEntities triggeringEntitiesRule="any"> <EntityRef entityRef="hero"/> </TriggeringEntities> <EntityCondition> <TraveledDistanceCondition value="200.0"/> </EntityCondition> </ByEntityCondition> </Condition> </ConditionGroup> </StopTrigger> </Act> </Story> <StopTrigger> <ConditionGroup> <Condition name="criteria_RunningStopTest" delay="0" conditionEdge="rising"> <ByValueCondition> <ParameterCondition parameterRef="" value="" rule="lessThan"/> </ByValueCondition> </Condition> <Condition name="criteria_RunningRedLightTest" delay="0" conditionEdge="rising"> <ByValueCondition> <ParameterCondition parameterRef="" value="" rule="lessThan"/> </ByValueCondition> </Condition> <Condition name="criteria_WrongLaneTest" delay="0" conditionEdge="rising"> <ByValueCondition> <ParameterCondition parameterRef="" value="" rule="lessThan"/> </ByValueCondition> </Condition> <Condition name="criteria_OnSidewalkTest" delay="0" conditionEdge="rising"> <ByValueCondition> <ParameterCondition parameterRef="" value="" rule="lessThan"/> </ByValueCondition> </Condition> <Condition name="criteria_KeepLaneTest" delay="0" conditionEdge="rising"> <ByValueCondition> <ParameterCondition parameterRef="" value="" rule="lessThan"/> </ByValueCondition> </Condition> <Condition name="criteria_CollisionTest" delay="0" conditionEdge="rising"> <ByValueCondition> <ParameterCondition parameterRef="" value="" rule="lessThan"/> </ByValueCondition> </Condition> <Condition name="criteria_DrivenDistanceTest" delay="0" conditionEdge="rising"> <ByValueCondition> <ParameterCondition parameterRef="distance_success" value="100" rule="lessThan"/> </ByValueCondition> </Condition> </ConditionGroup> </StopTrigger> </Storyboard> </OpenSCENARIO> ```
can you remove pedestrian close to hero? ``` <?xml version="1.0" ?> <OpenSCENARIO> <FileHeader revMajor="1" revMinor="0" date="2020-03-24T12:00:00" description="CARLA:LaneChangeSimple" author=""/> <ParameterDeclarations/> <CatalogLocations/> <RoadNetwork> <LogicFile filepath="Town04"/> <SceneGraphFile filepath=""/> </RoadNetwork> <Entities> <ScenarioObject name="hero"> <Vehicle name="vehicle.tesla.model3" vehicleCategory="car"> <ParameterDeclarations/> <Performance maxSpeed="69.444" maxAcceleration="200" maxDeceleration="10.0"/> <BoundingBox> <Center x="1.5" y="0.0" z="0.9"/> <Dimensions width="2.1" length="4.5" height="1.8"/> </BoundingBox> <Axles> <FrontAxle maxSteering="0.5" wheelDiameter="0.6" trackWidth="1.8" positionX="3.1" positionZ="0.3"/> <RearAxle maxSteering="0.0" wheelDiameter="0.6" trackWidth="1.8" positionX="0.0" positionZ="0.3"/> </Axles> <Properties> <Property name="type" value="ego_vehicle"/> </Properties> </Vehicle> </ScenarioObject> <ScenarioObject name="adversary"> <Vehicle name="vehicle.lincoln.mkz_2017" vehicleCategory="car"> <ParameterDeclarations/> <Performance maxSpeed="69.444" maxAcceleration="200" maxDeceleration="10.0"/> <BoundingBox> <Center x="1.5" y="0.0" z="0.9"/> <Dimensions width="2.1" length="4.5" height="1.8"/> </BoundingBox> <Axles> <FrontAxle maxSteering="0.5" wheelDiameter="0.6" trackWidth="1.8" positionX="3.1" positionZ="0.3"/> <RearAxle maxSteering="0.0" wheelDiameter="0.6" trackWidth="1.8" positionX="0.0" positionZ="0.3"/> </Axles> <Properties> <Property name="type" value="simulation"/> </Properties> </Vehicle> </ScenarioObject> <ScenarioObject name="standing"> <Vehicle name="vehicle.volkswagen.t2" vehicleCategory="car"> <ParameterDeclarations/> <Performance maxSpeed="69.444" maxAcceleration="200" maxDeceleration="10.0"/> <BoundingBox> <Center x="1.5" y="0.0" z="0.9"/> <Dimensions width="2.1" length="4.5" height="1.8"/> </BoundingBox> <Axles> <FrontAxle maxSteering="0.5" wheelDiameter="0.6" trackWidth="1.8" positionX="3.1" positionZ="0.3"/> <RearAxle maxSteering="0.0" wheelDiameter="0.6" trackWidth="1.8" positionX="0.0" positionZ="0.3"/> </Axles> <Properties> <Property name="type" value="simulation"/> </Properties> </Vehicle> </ScenarioObject> <ScenarioObject name="pedestrian_close_to_adversary_16639"> <Pedestrian model="walker.pedestrian.0001" mass="80" name="walker.pedestrian.0001" pedestrianCategory="pedestrian"> <ParameterDeclarations/> <BoundingBox> <Center x="1.5" y="0.0" z="0.9"/> <Dimensions width="2" length="2" height="2"/> </BoundingBox> <Properties> <Property name="type" value="simulation"/> </Properties> </Pedestrian> </ScenarioObject> <ScenarioObject name="pedestrian_w_transform_16641"> <Pedestrian model="walker.pedestrian.0001" mass="80" name="walker.pedestrian.0001" pedestrianCategory="pedestrian"> <ParameterDeclarations/> <BoundingBox> <Center x="1.5" y="0.0" z="0.9"/> <Dimensions width="2" length="2" height="2"/> </BoundingBox> <Properties> <Property name="type" value="simulation"/> </Properties> </Pedestrian> </ScenarioObject> <ScenarioObject name="pedestrian_close_to_standing_16642"> <Pedestrian model="walker.pedestrian.0001" mass="80" name="walker.pedestrian.0001" pedestrianCategory="pedestrian"> <ParameterDeclarations/> <BoundingBox> <Center x="1.5" y="0.0" z="0.9"/> <Dimensions width="2" length="2" height="2"/> </BoundingBox> <Properties> <Property name="type" value="simulation"/> </Properties> </Pedestrian> </ScenarioObject> <ScenarioObject name="pedestrian_w_transform_16645"> <Pedestrian model="walker.pedestrian.0001" mass="80" name="walker.pedestrian.0001" pedestrianCategory="pedestrian"> <ParameterDeclarations/> <BoundingBox> <Center x="1.5" y="0.0" z="0.9"/> <Dimensions width="2" length="2" height="2"/> </BoundingBox> <Properties> <Property name="type" value="simulation"/> </Properties> </Pedestrian> </ScenarioObject> <ScenarioObject name="pedestrian_w_transform_16648"> <Pedestrian model="walker.pedestrian.0001" mass="80" name="walker.pedestrian.0001" pedestrianCategory="pedestrian"> <ParameterDeclarations/> <BoundingBox> <Center x="1.5" y="0.0" z="0.9"/> <Dimensions width="2" length="2" height="2"/> </BoundingBox> <Properties> <Property name="type" value="simulation"/> </Properties> </Pedestrian> </ScenarioObject> <ScenarioObject name="pedestrian_close_to_hero_16651"> <Pedestrian model="walker.pedestrian.0001" mass="80" name="walker.pedestrian.0001" pedestrianCategory="pedestrian"> <ParameterDeclarations/> <BoundingBox> <Center x="1.5" y="0.0" z="0.9"/> <Dimensions width="2" length="2" height="2"/> </BoundingBox> <Properties> <Property name="type" value="simulation"/> </Properties> </Pedestrian> </ScenarioObject> <ScenarioObject name="pedestrian_close_to_standing_16653"> <Pedestrian model="walker.pedestrian.0001" mass="80" name="walker.pedestrian.0001" pedestrianCategory="pedestrian"> <ParameterDeclarations/> <BoundingBox> <Center x="1.5" y="0.0" z="0.9"/> <Dimensions width="2" length="2" height="2"/> </BoundingBox> <Properties> <Property name="type" value="simulation"/> </Properties> </Pedestrian> </ScenarioObject> <ScenarioObject name="pedestrian_close_to_hero_16654"> <Pedestrian model="walker.pedestrian.0001" mass="80" name="walker.pedestrian.0001" pedestrianCategory="pedestrian"> <ParameterDeclarations/> <BoundingBox> <Center x="1.5" y="0.0" z="0.9"/> <Dimensions width="2" length="2" height="2"/> </BoundingBox> <Properties> <Property name="type" value="simulation"/> </Properties> </Pedestrian> </ScenarioObject> <ScenarioObject name="pedestrian_w_transform_16655"> <Pedestrian model="walker.pedestrian.0001" mass="80" name="walker.pedestrian.0001" pedestrianCategory="pedestrian"> <ParameterDeclarations/> <BoundingBox> <Center x="1.5" y="0.0" z="0.9"/> <Dimensions width="2" length="2" height="2"/> </BoundingBox> <Properties> <Property name="type" value="simulation"/> </Properties> </Pedestrian> </ScenarioObject> <ScenarioObject name="pedestrian_w_transform_16663"> <Pedestrian model="walker.pedestrian.0001" mass="80" name="walker.pedestrian.0001" pedestrianCategory="pedestrian"> <ParameterDeclarations/> <BoundingBox> <Center x="1.5" y="0.0" z="0.9"/> <Dimensions width="2" length="2" height="2"/> </BoundingBox> <Properties> <Property name="type" value="simulation"/> </Properties> </Pedestrian> </ScenarioObject> </Entities> <Storyboard> <Init> <Actions> <GlobalAction> <EnvironmentAction> <Environment name="Environment1"> <TimeOfDay animation="false" dateTime="2019-06-25T12:00:00"/> <Weather cloudState="free"> <Sun intensity="0.85" azimuth="0" elevation="1.31"/> <Fog visualRange="100000.0"/> <Precipitation precipitationType="dry" intensity="0.0"/> </Weather> <RoadCondition frictionScaleFactor="1.0"/> </Environment> </EnvironmentAction> </GlobalAction> <Private entityRef="hero"> <PrivateAction> <TeleportAction> <Position> <WorldPosition x="-9.4" y="-152.8" z="0.5" h="1.57079632679"/> </Position> </TeleportAction> </PrivateAction> <PrivateAction> <ControllerAction> <AssignControllerAction> <Controller name="HeroAgent"> <Properties> <Property name="module" value="external_control"/> </Properties> </Controller> </AssignControllerAction> <OverrideControllerValueAction> <Throttle value="0" active="false"/> <Brake value="0" active="false"/> <Clutch value="0" active="false"/> <ParkingBrake value="0" active="false"/> <SteeringWheel value="0" active="false"/> <Gear number="0" active="false"/> </OverrideControllerValueAction> </ControllerAction> </PrivateAction> </Private> <Private entityRef="adversary"> <PrivateAction> <TeleportAction> <Position> <WorldPosition x="-9.4" y="-71.0" z="0.5" h="1.57079632679"/> </Position> </TeleportAction> </PrivateAction> </Private> <Private entityRef="standing"> <PrivateAction> <TeleportAction> <Position> <WorldPosition x="-8.2" y="29.2" z="0.5" h="1.57079632679"/> </Position> </TeleportAction> </PrivateAction> </Private> <Private entityRef="pedestrian_close_to_adversary_16639"> <PrivateAction> <TeleportAction> <Position> <WorldPosition x="-16.234182357788086" y="-76.06414031982422" z="0.03380882367491722"/> </Position> </TeleportAction> </PrivateAction> </Private> <Private entityRef="pedestrian_w_transform_16641"> <PrivateAction> <TeleportAction> <Position> <WorldPosition x="-50.022701263427734" y="-31.997777938842773" z="0.5"/> </Position> </TeleportAction> </PrivateAction> </Private> <Private entityRef="pedestrian_close_to_standing_16642"> <PrivateAction> <TeleportAction> <Position> <WorldPosition x="-16.258729934692383" y="33.494873046875" z="0.0030958557035773993"/> </Position> </TeleportAction> </PrivateAction> </Private> <Private entityRef="pedestrian_w_transform_16645"> <PrivateAction> <TeleportAction> <Position> <WorldPosition x="-5.131154537200928" y="45.55589294433594" z="0.5"/> </Position> </TeleportAction> </PrivateAction> </Private> <Private entityRef="pedestrian_w_transform_16648"> <PrivateAction> <TeleportAction> <Position> <WorldPosition x="60.4793701171875" y="75.66629028320312" z="0.5"/> </Position> </TeleportAction> </PrivateAction> </Private> <Private entityRef="pedestrian_close_to_hero_16651"> <PrivateAction> <TeleportAction> <Position> <WorldPosition x="-12.545500755310059" y="-151.97288513183594" z="0.0014286803780123591"/> </Position> </TeleportAction> </PrivateAction> </Private> <Private entityRef="pedestrian_close_to_standing_16653"> <PrivateAction> <TeleportAction> <Position> <WorldPosition x="-6.419177055358887" y="26.12590789794922" z="0.0030516814440488815"/> </Position> </TeleportAction> </PrivateAction> </Private> <Private entityRef="pedestrian_close_to_hero_16654"> <PrivateAction> <TeleportAction> <Position> <WorldPosition x="-15.684292793273926" y="-149.4761962890625" z="0.0014286803780123591"/> </Position> </TeleportAction> </PrivateAction> </Private> <Private entityRef="pedestrian_w_transform_16655"> <PrivateAction> <TeleportAction> <Position> <WorldPosition x="69.3788833618164" y="28.3377628326416" z="0.5"/> </Position> </TeleportAction> </PrivateAction> </Private> <Private entityRef="pedestrian_w_transform_16663"> <PrivateAction> <TeleportAction> <Position> <WorldPosition x="36.2315559387207" y="5.771200180053711" z="0.5"/> </Position> </TeleportAction> </PrivateAction> </Private> </Actions> </Init> <Story name="MyStory"> <Act name="Behavior"> <ManeuverGroup maximumExecutionCount="1" name="ManeuverSequence"> <Actors selectTriggeringEntities="false"> <EntityRef entityRef="adversary"/> </Actors> <Maneuver name="LaneChangeSimpleManeuver"> <Event name="AdversaryAccelerates" priority="overwrite"> <Action name="AdversaryAccelerates"> <PrivateAction> <LongitudinalAction> <SpeedAction> <SpeedActionDynamics dynamicsShape="step" value="50" dynamicsDimension="distance"/> <SpeedActionTarget> <AbsoluteTargetSpeed value="5.0"/> </SpeedActionTarget> </SpeedAction> </LongitudinalAction> </PrivateAction> </Action> <StartTrigger> <ConditionGroup> <Condition name="StartCondition" delay="0" conditionEdge="rising"> <ByEntityCondition> <TriggeringEntities triggeringEntitiesRule="any"> <EntityRef entityRef="hero"/> </TriggeringEntities> <EntityCondition> <RelativeDistanceCondition entityRef="adversary" relativeDistanceType="cartesianDistance" value="40.0" freespace="false" rule="lessThan"/> </EntityCondition> </ByEntityCondition> </Condition> </ConditionGroup> </StartTrigger> </Event> <Event name="AdversaryChangesLane" priority="overwrite"> <Action name="AdversaryChangesLane"> <PrivateAction> <LateralAction> <LaneChangeAction> <LaneChangeActionDynamics dynamicsShape="linear" value="25" dynamicsDimension="distance"/> <LaneChangeTarget> <RelativeTargetLane entityRef="adversary" value="-1"/> </LaneChangeTarget> </LaneChangeAction> </LateralAction> </PrivateAction> </Action> <StartTrigger> <ConditionGroup> <Condition name="AfterAdversaryAccelerates" delay="0" conditionEdge="rising"> <ByValueCondition> <StoryboardElementStateCondition storyboardElementType="action" storyboardElementRef="AdversaryAccelerates" state="completeState"/> </ByValueCondition> </Condition> </ConditionGroup> </StartTrigger> </Event> </Maneuver> </ManeuverGroup> <StartTrigger> <ConditionGroup> <Condition name="OverallStartCondition" delay="0" conditionEdge="rising"> <ByEntityCondition> <TriggeringEntities triggeringEntitiesRule="any"> <EntityRef entityRef="hero"/> </TriggeringEntities> <EntityCondition> <TraveledDistanceCondition value="1.0"/> </EntityCondition> </ByEntityCondition> </Condition> <Condition name="StartTime" delay="0" conditionEdge="rising"> <ByValueCondition> <SimulationTimeCondition value="0" rule="equalTo"/> </ByValueCondition> </Condition> </ConditionGroup> </StartTrigger> <StopTrigger> <ConditionGroup> <Condition name="EndCondition" delay="0" conditionEdge="rising"> <ByEntityCondition> <TriggeringEntities triggeringEntitiesRule="any"> <EntityRef entityRef="hero"/> </TriggeringEntities> <EntityCondition> <TraveledDistanceCondition value="200.0"/> </EntityCondition> </ByEntityCondition> </Condition> </ConditionGroup> </StopTrigger> </Act> </Story> <StopTrigger> <ConditionGroup> <Condition name="criteria_RunningStopTest" delay="0" conditionEdge="rising"> <ByValueCondition> <ParameterCondition parameterRef="" value="" rule="lessThan"/> </ByValueCondition> </Condition> <Condition name="criteria_RunningRedLightTest" delay="0" conditionEdge="rising"> <ByValueCondition> <ParameterCondition parameterRef="" value="" rule="lessThan"/> </ByValueCondition> </Condition> <Condition name="criteria_WrongLaneTest" delay="0" conditionEdge="rising"> <ByValueCondition> <ParameterCondition parameterRef="" value="" rule="lessThan"/> </ByValueCondition> </Condition> <Condition name="criteria_OnSidewalkTest" delay="0" conditionEdge="rising"> <ByValueCondition> <ParameterCondition parameterRef="" value="" rule="lessThan"/> </ByValueCondition> </Condition> <Condition name="criteria_KeepLaneTest" delay="0" conditionEdge="rising"> <ByValueCondition> <ParameterCondition parameterRef="" value="" rule="lessThan"/> </ByValueCondition> </Condition> <Condition name="criteria_CollisionTest" delay="0" conditionEdge="rising"> <ByValueCondition> <ParameterCondition parameterRef="" value="" rule="lessThan"/> </ByValueCondition> </Condition> <Condition name="criteria_DrivenDistanceTest" delay="0" conditionEdge="rising"> <ByValueCondition> <ParameterCondition parameterRef="distance_success" value="100" rule="lessThan"/> </ByValueCondition> </Condition> </ConditionGroup> </StopTrigger> </Storyboard> </OpenSCENARIO> ```
Here is the result: ``` <?xml version="1.0" ?> <OpenSCENARIO> <FileHeader revMajor="1" revMinor="0" date="2020-03-24T12:00:00" description="CARLA:LaneChangeSimple" author=""/> <ParameterDeclarations/> <CatalogLocations/> <RoadNetwork> <LogicFile filepath="Town04"/> <SceneGraphFile filepath=""/> </RoadNetwork> <Entities> <ScenarioObject name="hero"> <Vehicle name="vehicle.tesla.model3" vehicleCategory="car"> <ParameterDeclarations/> <Performance maxSpeed="69.444" maxAcceleration="200" maxDeceleration="10.0"/> <BoundingBox> <Center x="1.5" y="0.0" z="0.9"/> <Dimensions width="2.1" length="4.5" height="1.8"/> </BoundingBox> <Axles> <FrontAxle maxSteering="0.5" wheelDiameter="0.6" trackWidth="1.8" positionX="3.1" positionZ="0.3"/> <RearAxle maxSteering="0.0" wheelDiameter="0.6" trackWidth="1.8" positionX="0.0" positionZ="0.3"/> </Axles> <Properties> <Property name="type" value="ego_vehicle"/> </Properties> </Vehicle> </ScenarioObject> <ScenarioObject name="adversary"> <Vehicle name="vehicle.lincoln.mkz_2017" vehicleCategory="car"> <ParameterDeclarations/> <Performance maxSpeed="69.444" maxAcceleration="200" maxDeceleration="10.0"/> <BoundingBox> <Center x="1.5" y="0.0" z="0.9"/> <Dimensions width="2.1" length="4.5" height="1.8"/> </BoundingBox> <Axles> <FrontAxle maxSteering="0.5" wheelDiameter="0.6" trackWidth="1.8" positionX="3.1" positionZ="0.3"/> <RearAxle maxSteering="0.0" wheelDiameter="0.6" trackWidth="1.8" positionX="0.0" positionZ="0.3"/> </Axles> <Properties> <Property name="type" value="simulation"/> </Properties> </Vehicle> </ScenarioObject> <ScenarioObject name="standing"> <Vehicle name="vehicle.volkswagen.t2" vehicleCategory="car"> <ParameterDeclarations/> <Performance maxSpeed="69.444" maxAcceleration="200" maxDeceleration="10.0"/> <BoundingBox> <Center x="1.5" y="0.0" z="0.9"/> <Dimensions width="2.1" length="4.5" height="1.8"/> </BoundingBox> <Axles> <FrontAxle maxSteering="0.5" wheelDiameter="0.6" trackWidth="1.8" positionX="3.1" positionZ="0.3"/> <RearAxle maxSteering="0.0" wheelDiameter="0.6" trackWidth="1.8" positionX="0.0" positionZ="0.3"/> </Axles> <Properties> <Property name="type" value="simulation"/> </Properties> </Vehicle> </ScenarioObject> <ScenarioObject name="pedestrian_close_to_adversary_16639"> <Pedestrian model="walker.pedestrian.0001" mass="80" name="walker.pedestrian.0001" pedestrianCategory="pedestrian"> <ParameterDeclarations/> <BoundingBox> <Center x="1.5" y="0.0" z="0.9"/> <Dimensions width="2" length="2" height="2"/> </BoundingBox> <Properties> <Property name="type" value="simulation"/> </Properties> </Pedestrian> </ScenarioObject> <ScenarioObject name="pedestrian_w_transform_16641"> <Pedestrian model="walker.pedestrian.0001" mass="80" name="walker.pedestrian.0001" pedestrianCategory="pedestrian"> <ParameterDeclarations/> <BoundingBox> <Center x="1.5" y="0.0" z="0.9"/> <Dimensions width="2" length="2" height="2"/> </BoundingBox> <Properties> <Property name="type" value="simulation"/> </Properties> </Pedestrian> </ScenarioObject> <ScenarioObject name="pedestrian_close_to_standing_16642"> <Pedestrian model="walker.pedestrian.0001" mass="80" name="walker.pedestrian.0001" pedestrianCategory="pedestrian"> <ParameterDeclarations/> <BoundingBox> <Center x="1.5" y="0.0" z="0.9"/> <Dimensions width="2" length="2" height="2"/> </BoundingBox> <Properties> <Property name="type" value="simulation"/> </Properties> </Pedestrian> </ScenarioObject> <ScenarioObject name="pedestrian_w_transform_16645"> <Pedestrian model="walker.pedestrian.0001" mass="80" name="walker.pedestrian.0001" pedestrianCategory="pedestrian"> <ParameterDeclarations/> <BoundingBox> <Center x="1.5" y="0.0" z="0.9"/> <Dimensions width="2" length="2" height="2"/> </BoundingBox> <Properties> <Property name="type" value="simulation"/> </Properties> </Pedestrian> </ScenarioObject> <ScenarioObject name="pedestrian_w_transform_16648"> <Pedestrian model="walker.pedestrian.0001" mass="80" name="walker.pedestrian.0001" pedestrianCategory="pedestrian"> <ParameterDeclarations/> <BoundingBox> <Center x="1.5" y="0.0" z="0.9"/> <Dimensions width="2" length="2" height="2"/> </BoundingBox> <Properties> <Property name="type" value="simulation"/> </Properties> </Pedestrian> </ScenarioObject> <ScenarioObject name="pedestrian_close_to_hero_16651"> <Pedestrian model="walker.pedestrian.0001" mass="80" name="walker.pedestrian.0001" pedestrianCategory="pedestrian"> <ParameterDeclarations/> <BoundingBox> <Center x="1.5" y="0.0" z="0.9"/> <Dimensions width="2" length="2" height="2"/> </BoundingBox> <Properties> <Property name="type" value="simulation"/> </Properties> </Pedestrian> </ScenarioObject> <ScenarioObject name="pedestrian_close_to_standing_16653"> <Pedestrian model="walker.pedestrian.0001" mass="80" name="walker.pedestrian.0001" pedestrianCategory="pedestrian"> <ParameterDeclarations/> <BoundingBox> <Center x="1.5" y="0.0" z="0.9"/> <Dimensions width="2" length="2" height="2"/> </BoundingBox> <Properties> <Property name="type" value="simulation"/> </Properties> </Pedestrian> </ScenarioObject> <ScenarioObject name="pedestrian_w_transform_16655"> <Pedestrian model="walker.pedestrian.0001" mass="80" name="walker.pedestrian.0001" pedestrianCategory="pedestrian"> <ParameterDeclarations/> <BoundingBox> <Center x="1.5" y="0.0" z="0.9"/> <Dimensions width="2" length="2" height="2"/> </BoundingBox> <Properties> <Property name="type" value="simulation"/> </Properties> </Pedestrian> </ScenarioObject> <ScenarioObject name="pedestrian_w_transform_16663"> <Pedestrian model="walker.pedestrian.0001" mass="80" name="walker.pedestrian.0001" pedestrianCategory="pedestrian"> <ParameterDeclarations/> <BoundingBox> <Center x="1.5" y="0.0" z="0.9"/> <Dimensions width="2" length="2" height="2"/> </BoundingBox> <Properties> <Property name="type" value="simulation"/> </Properties> </Pedestrian> </ScenarioObject> </Entities> <Storyboard> <Init> <Actions> <GlobalAction> <EnvironmentAction> <Environment name="Environment1"> <TimeOfDay animation="false" dateTime="2019-06-25T12:00:00"/> <Weather cloudState="free"> <Sun intensity="0.85" azimuth="0" elevation="1.31"/> <Fog visualRange="100000.0"/> <Precipitation precipitationType="dry" intensity="0.0"/> </Weather> <RoadCondition frictionScaleFactor="1.0"/> </Environment> </EnvironmentAction> </GlobalAction> <Private entityRef="hero"> <PrivateAction> <TeleportAction> <Position> <WorldPosition x="-9.4" y="-152.8" z="0.5" h="1.57079632679"/> </Position> </TeleportAction> </PrivateAction> <PrivateAction> <ControllerAction> <AssignControllerAction> <Controller name="HeroAgent"> <Properties> <Property name="module" value="external_control"/> </Properties> </Controller> </AssignControllerAction> <OverrideControllerValueAction> <Throttle value="0" active="false"/> <Brake value="0" active="false"/> <Clutch value="0" active="false"/> <ParkingBrake value="0" active="false"/> <SteeringWheel value="0" active="false"/> <Gear number="0" active="false"/> </OverrideControllerValueAction> </ControllerAction> </PrivateAction> </Private> <Private entityRef="adversary"> <PrivateAction> <TeleportAction> <Position> <WorldPosition x="-9.4" y="-71.0" z="0.5" h="1.57079632679"/> </Position> </TeleportAction> </PrivateAction> </Private> <Private entityRef="standing"> <PrivateAction> <TeleportAction> <Position> <WorldPosition x="-8.2" y="29.2" z="0.5" h="1.57079632679"/> </Position> </TeleportAction> </PrivateAction> </Private> <Private entityRef="pedestrian_close_to_adversary_16639"> <PrivateAction> <TeleportAction> <Position> <WorldPosition x="-16.234182357788086" y="-76.06414031982422" z="0.03380882367491722"/> </Position> </TeleportAction> </PrivateAction> </Private> <Private entityRef="pedestrian_w_transform_16641"> <PrivateAction> <TeleportAction> <Position> <WorldPosition x="-50.022701263427734" y="-31.997777938842773" z="0.5"/> </Position> </TeleportAction> </PrivateAction> </Private> <Private entityRef="pedestrian_close_to_standing_16642"> <PrivateAction> <TeleportAction> <Position> <WorldPosition x="-16.258729934692383" y="33.494873046875" z="0.0030958557035773993"/> </Position> </TeleportAction> </PrivateAction> </Private> <Private entityRef="pedestrian_w_transform_16645"> <PrivateAction> <TeleportAction> <Position> <WorldPosition x="-5.131154537200928" y="45.55589294433594" z="0.5"/> </Position> </TeleportAction> </PrivateAction> </Private> <Private entityRef="pedestrian_w_transform_16648"> <PrivateAction> <TeleportAction> <Position> <WorldPosition x="60.4793701171875" y="75.66629028320312" z="0.5"/> </Position> </TeleportAction> </PrivateAction> </Private> <Private entityRef="pedestrian_close_to_hero_16651"> <PrivateAction> <TeleportAction> <Position> <WorldPosition x="-12.545500755310059" y="-151.97288513183594" z="0.0014286803780123591"/> </Position> </TeleportAction> </PrivateAction> </Private> <Private entityRef="pedestrian_close_to_standing_16653"> <PrivateAction> <TeleportAction> <Position> <WorldPosition x="-6.419177055358887" y="26.12590789794922" z="0.0030516814440488815"/> </Position> </TeleportAction> </PrivateAction> </Private> <Private entityRef="pedestrian_w_transform_16655"> <PrivateAction> <TeleportAction> <Position> <WorldPosition x="69.3788833618164" y="28.3377628326416" z="0.5"/> </Position> </TeleportAction> </PrivateAction> </Private> <Private entityRef="pedestrian_w_transform_16663"> <PrivateAction> <TeleportAction> <Position> <WorldPosition x="36.2315559387207" y="5.771200180053711" z="0.5"/> </Position> </TeleportAction> </PrivateAction> </Private> </Actions> </Init> <Story name="MyStory"> <Act name="Behavior"> <ManeuverGroup maximumExecutionCount="1" name="ManeuverSequence"> <Actors selectTriggeringEntities="false"> <EntityRef entityRef="adversary"/> </Actors> <Maneuver name="LaneChangeSimpleManeuver"> <Event name="AdversaryAccelerates" priority="overwrite"> <Action name="AdversaryAccelerates"> <PrivateAction> <LongitudinalAction> <SpeedAction> <SpeedActionDynamics dynamicsShape="step" value="50" dynamicsDimension="distance"/> <SpeedActionTarget> <AbsoluteTargetSpeed value="5.0"/> </SpeedActionTarget> </SpeedAction> </LongitudinalAction> </PrivateAction> </Action> <StartTrigger> <ConditionGroup> <Condition name="StartCondition" delay="0" conditionEdge="rising"> <ByEntityCondition> <TriggeringEntities triggeringEntitiesRule="any"> <EntityRef entityRef="hero"/> </TriggeringEntities> <EntityCondition> <RelativeDistanceCondition entityRef="adversary" relativeDistanceType="cartesianDistance" value="40.0" freespace="false" rule="lessThan"/> </EntityCondition> </ByEntityCondition> </Condition> </ConditionGroup> </StartTrigger> </Event> <Event name="AdversaryChangesLane" priority="overwrite"> <Action name="AdversaryChangesLane"> <PrivateAction> <LateralAction> <LaneChangeAction> <LaneChangeActionDynamics dynamicsShape="linear" value="25" dynamicsDimension="distance"/> <LaneChangeTarget> <RelativeTargetLane entityRef="adversary" value="-1"/> </LaneChangeTarget> </LaneChangeAction> </LateralAction> </PrivateAction> </Action> <StartTrigger> <ConditionGroup> <Condition name="AfterAdversaryAccelerates" delay="0" conditionEdge="rising"> <ByValueCondition> <StoryboardElementStateCondition storyboardElementType="action" storyboardElementRef="AdversaryAccelerates" state="completeState"/> </ByValueCondition> </Condition> </ConditionGroup> </StartTrigger> </Event> </Maneuver> </ManeuverGroup> <StartTrigger> <ConditionGroup> <Condition name="OverallStartCondition" delay="0" conditionEdge="rising"> <ByEntityCondition> <TriggeringEntities triggeringEntitiesRule="any"> <EntityRef entityRef="hero"/> </TriggeringEntities> <EntityCondition> <TraveledDistanceCondition value="1.0"/> </EntityCondition> </ByEntityCondition> </Condition> <Condition name="StartTime" delay="0" conditionEdge="rising"> <ByValueCondition> <SimulationTimeCondition value="0" rule="equalTo"/> </ByValueCondition> </Condition> </ConditionGroup> </StartTrigger> <StopTrigger> <ConditionGroup> <Condition name="EndCondition" delay="0" conditionEdge="rising"> <ByEntityCondition> <TriggeringEntities triggeringEntitiesRule="any"> <EntityRef entityRef="hero"/> </TriggeringEntities> <EntityCondition> <TraveledDistanceCondition value="200.0"/> </EntityCondition> </ByEntityCondition> </Condition> </ConditionGroup> </StopTrigger> </Act> </Story> <StopTrigger> <ConditionGroup> <Condition name="criteria_RunningStopTest" delay="0" conditionEdge="rising"> <ByValueCondition> <ParameterCondition parameterRef="" value="" rule="lessThan"/> </ByValueCondition> </Condition> <Condition name="criteria_RunningRedLightTest" delay="0" conditionEdge="rising"> <ByValueCondition> <ParameterCondition parameterRef="" value="" rule="lessThan"/> </ByValueCondition> </Condition> <Condition name="criteria_WrongLaneTest" delay="0" conditionEdge="rising"> <ByValueCondition> <ParameterCondition parameterRef="" value="" rule="lessThan"/> </ByValueCondition> </Condition> <Condition name="criteria_OnSidewalkTest" delay="0" conditionEdge="rising"> <ByValueCondition> <ParameterCondition parameterRef="" value="" rule="lessThan"/> </ByValueCondition> </Condition> <Condition name="criteria_KeepLaneTest" delay="0" conditionEdge="rising"> <ByValueCondition> <ParameterCondition parameterRef="" value="" rule="lessThan"/> </ByValueCondition> </Condition> <Condition name="criteria_CollisionTest" delay="0" conditionEdge="rising"> <ByValueCondition> <ParameterCondition parameterRef="" value="" rule="lessThan"/> </ByValueCondition> </Condition> <Condition name="criteria_DrivenDistanceTest" delay="0" conditionEdge="rising"> <ByValueCondition> <ParameterCondition parameterRef="distance_success" value="100" rule="lessThan"/> </ByValueCondition> </Condition> </ConditionGroup> </StopTrigger> </Storyboard> </OpenSCENARIO> ```
i would like to direct you to remove pedestrian actor named pedestrian_w_transform_8090? ``` <?xml version="1.0" ?> <OpenSCENARIO> <FileHeader revMajor="1" revMinor="0" date="2020-03-24T12:00:00" description="CARLA:LaneChangeSimple" author=""/> <ParameterDeclarations/> <CatalogLocations/> <RoadNetwork> <LogicFile filepath="Town04"/> <SceneGraphFile filepath=""/> </RoadNetwork> <Entities> <ScenarioObject name="hero"> <Vehicle name="vehicle.tesla.model3" vehicleCategory="car"> <ParameterDeclarations/> <Performance maxSpeed="69.444" maxAcceleration="200" maxDeceleration="10.0"/> <BoundingBox> <Center x="1.5" y="0.0" z="0.9"/> <Dimensions width="2.1" length="4.5" height="1.8"/> </BoundingBox> <Axles> <FrontAxle maxSteering="0.5" wheelDiameter="0.6" trackWidth="1.8" positionX="3.1" positionZ="0.3"/> <RearAxle maxSteering="0.0" wheelDiameter="0.6" trackWidth="1.8" positionX="0.0" positionZ="0.3"/> </Axles> <Properties> <Property name="type" value="ego_vehicle"/> </Properties> </Vehicle> </ScenarioObject> <ScenarioObject name="adversary"> <Vehicle name="vehicle.lincoln.mkz_2017" vehicleCategory="car"> <ParameterDeclarations/> <Performance maxSpeed="69.444" maxAcceleration="200" maxDeceleration="10.0"/> <BoundingBox> <Center x="1.5" y="0.0" z="0.9"/> <Dimensions width="2.1" length="4.5" height="1.8"/> </BoundingBox> <Axles> <FrontAxle maxSteering="0.5" wheelDiameter="0.6" trackWidth="1.8" positionX="3.1" positionZ="0.3"/> <RearAxle maxSteering="0.0" wheelDiameter="0.6" trackWidth="1.8" positionX="0.0" positionZ="0.3"/> </Axles> <Properties> <Property name="type" value="simulation"/> </Properties> </Vehicle> </ScenarioObject> <ScenarioObject name="standing"> <Vehicle name="vehicle.volkswagen.t2" vehicleCategory="car"> <ParameterDeclarations/> <Performance maxSpeed="69.444" maxAcceleration="200" maxDeceleration="10.0"/> <BoundingBox> <Center x="1.5" y="0.0" z="0.9"/> <Dimensions width="2.1" length="4.5" height="1.8"/> </BoundingBox> <Axles> <FrontAxle maxSteering="0.5" wheelDiameter="0.6" trackWidth="1.8" positionX="3.1" positionZ="0.3"/> <RearAxle maxSteering="0.0" wheelDiameter="0.6" trackWidth="1.8" positionX="0.0" positionZ="0.3"/> </Axles> <Properties> <Property name="type" value="simulation"/> </Properties> </Vehicle> </ScenarioObject> <ScenarioObject name="pedestrian_close_to_adversary_8081"> <Pedestrian model="walker.pedestrian.0001" mass="80" name="walker.pedestrian.0001" pedestrianCategory="pedestrian"> <ParameterDeclarations/> <BoundingBox> <Center x="1.5" y="0.0" z="0.9"/> <Dimensions width="2" length="2" height="2"/> </BoundingBox> <Properties> <Property name="type" value="simulation"/> </Properties> </Pedestrian> </ScenarioObject> <ScenarioObject name="pedestrian_close_to_adversary_8082"> <Pedestrian model="walker.pedestrian.0001" mass="80" name="walker.pedestrian.0001" pedestrianCategory="pedestrian"> <ParameterDeclarations/> <BoundingBox> <Center x="1.5" y="0.0" z="0.9"/> <Dimensions width="2" length="2" height="2"/> </BoundingBox> <Properties> <Property name="type" value="simulation"/> </Properties> </Pedestrian> </ScenarioObject> <ScenarioObject name="pedestrian_close_to_standing_8083"> <Pedestrian model="walker.pedestrian.0001" mass="80" name="walker.pedestrian.0001" pedestrianCategory="pedestrian"> <ParameterDeclarations/> <BoundingBox> <Center x="1.5" y="0.0" z="0.9"/> <Dimensions width="2" length="2" height="2"/> </BoundingBox> <Properties> <Property name="type" value="simulation"/> </Properties> </Pedestrian> </ScenarioObject> <ScenarioObject name="pedestrian_w_transform_8085"> <Pedestrian model="walker.pedestrian.0001" mass="80" name="walker.pedestrian.0001" pedestrianCategory="pedestrian"> <ParameterDeclarations/> <BoundingBox> <Center x="1.5" y="0.0" z="0.9"/> <Dimensions width="2" length="2" height="2"/> </BoundingBox> <Properties> <Property name="type" value="simulation"/> </Properties> </Pedestrian> </ScenarioObject> <ScenarioObject name="pedestrian_close_to_hero_8086"> <Pedestrian model="walker.pedestrian.0001" mass="80" name="walker.pedestrian.0001" pedestrianCategory="pedestrian"> <ParameterDeclarations/> <BoundingBox> <Center x="1.5" y="0.0" z="0.9"/> <Dimensions width="2" length="2" height="2"/> </BoundingBox> <Properties> <Property name="type" value="simulation"/> </Properties> </Pedestrian> </ScenarioObject> <ScenarioObject name="pedestrian_close_to_hero_8087"> <Pedestrian model="walker.pedestrian.0001" mass="80" name="walker.pedestrian.0001" pedestrianCategory="pedestrian"> <ParameterDeclarations/> <BoundingBox> <Center x="1.5" y="0.0" z="0.9"/> <Dimensions width="2" length="2" height="2"/> </BoundingBox> <Properties> <Property name="type" value="simulation"/> </Properties> </Pedestrian> </ScenarioObject> <ScenarioObject name="pedestrian_close_to_hero_8088"> <Pedestrian model="walker.pedestrian.0001" mass="80" name="walker.pedestrian.0001" pedestrianCategory="pedestrian"> <ParameterDeclarations/> <BoundingBox> <Center x="1.5" y="0.0" z="0.9"/> <Dimensions width="2" length="2" height="2"/> </BoundingBox> <Properties> <Property name="type" value="simulation"/> </Properties> </Pedestrian> </ScenarioObject> <ScenarioObject name="pedestrian_w_transform_8089"> <Pedestrian model="walker.pedestrian.0001" mass="80" name="walker.pedestrian.0001" pedestrianCategory="pedestrian"> <ParameterDeclarations/> <BoundingBox> <Center x="1.5" y="0.0" z="0.9"/> <Dimensions width="2" length="2" height="2"/> </BoundingBox> <Properties> <Property name="type" value="simulation"/> </Properties> </Pedestrian> </ScenarioObject> <ScenarioObject name="pedestrian_w_transform_8090"> <Pedestrian model="walker.pedestrian.0001" mass="80" name="walker.pedestrian.0001" pedestrianCategory="pedestrian"> <ParameterDeclarations/> <BoundingBox> <Center x="1.5" y="0.0" z="0.9"/> <Dimensions width="2" length="2" height="2"/> </BoundingBox> <Properties> <Property name="type" value="simulation"/> </Properties> </Pedestrian> </ScenarioObject> <ScenarioObject name="pedestrian_close_to_adversary_8092"> <Pedestrian model="walker.pedestrian.0001" mass="80" name="walker.pedestrian.0001" pedestrianCategory="pedestrian"> <ParameterDeclarations/> <BoundingBox> <Center x="1.5" y="0.0" z="0.9"/> <Dimensions width="2" length="2" height="2"/> </BoundingBox> <Properties> <Property name="type" value="simulation"/> </Properties> </Pedestrian> </ScenarioObject> <ScenarioObject name="pedestrian_w_transform_8093"> <Pedestrian model="walker.pedestrian.0001" mass="80" name="walker.pedestrian.0001" pedestrianCategory="pedestrian"> <ParameterDeclarations/> <BoundingBox> <Center x="1.5" y="0.0" z="0.9"/> <Dimensions width="2" length="2" height="2"/> </BoundingBox> <Properties> <Property name="type" value="simulation"/> </Properties> </Pedestrian> </ScenarioObject> <ScenarioObject name="pedestrian_close_to_standing_8094"> <Pedestrian model="walker.pedestrian.0001" mass="80" name="walker.pedestrian.0001" pedestrianCategory="pedestrian"> <ParameterDeclarations/> <BoundingBox> <Center x="1.5" y="0.0" z="0.9"/> <Dimensions width="2" length="2" height="2"/> </BoundingBox> <Properties> <Property name="type" value="simulation"/> </Properties> </Pedestrian> </ScenarioObject> <ScenarioObject name="pedestrian_close_to_standing_8095"> <Pedestrian model="walker.pedestrian.0001" mass="80" name="walker.pedestrian.0001" pedestrianCategory="pedestrian"> <ParameterDeclarations/> <BoundingBox> <Center x="1.5" y="0.0" z="0.9"/> <Dimensions width="2" length="2" height="2"/> </BoundingBox> <Properties> <Property name="type" value="simulation"/> </Properties> </Pedestrian> </ScenarioObject> <ScenarioObject name="pedestrian_close_to_hero_8096"> <Pedestrian model="walker.pedestrian.0001" mass="80" name="walker.pedestrian.0001" pedestrianCategory="pedestrian"> <ParameterDeclarations/> <BoundingBox> <Center x="1.5" y="0.0" z="0.9"/> <Dimensions width="2" length="2" height="2"/> </BoundingBox> <Properties> <Property name="type" value="simulation"/> </Properties> </Pedestrian> </ScenarioObject> <ScenarioObject name="pedestrian_close_to_adversary_8097"> <Pedestrian model="walker.pedestrian.0001" mass="80" name="walker.pedestrian.0001" pedestrianCategory="pedestrian"> <ParameterDeclarations/> <BoundingBox> <Center x="1.5" y="0.0" z="0.9"/> <Dimensions width="2" length="2" height="2"/> </BoundingBox> <Properties> <Property name="type" value="simulation"/> </Properties> </Pedestrian> </ScenarioObject> <ScenarioObject name="pedestrian_close_to_adversary_8098"> <Pedestrian model="walker.pedestrian.0001" mass="80" name="walker.pedestrian.0001" pedestrianCategory="pedestrian"> <ParameterDeclarations/> <BoundingBox> <Center x="1.5" y="0.0" z="0.9"/> <Dimensions width="2" length="2" height="2"/> </BoundingBox> <Properties> <Property name="type" value="simulation"/> </Properties> </Pedestrian> </ScenarioObject> <ScenarioObject name="pedestrian_w_transform_8099"> <Pedestrian model="walker.pedestrian.0001" mass="80" name="walker.pedestrian.0001" pedestrianCategory="pedestrian"> <ParameterDeclarations/> <BoundingBox> <Center x="1.5" y="0.0" z="0.9"/> <Dimensions width="2" length="2" height="2"/> </BoundingBox> <Properties> <Property name="type" value="simulation"/> </Properties> </Pedestrian> </ScenarioObject> </Entities> <Storyboard> <Init> <Actions> <GlobalAction> <EnvironmentAction> <Environment name="Environment1"> <TimeOfDay animation="false" dateTime="2019-06-25T12:00:00"/> <Weather cloudState="free"> <Sun intensity="0.85" azimuth="0" elevation="1.31"/> <Fog visualRange="100000.0"/> <Precipitation precipitationType="dry" intensity="0.0"/> </Weather> <RoadCondition frictionScaleFactor="1.0"/> </Environment> </EnvironmentAction> </GlobalAction> <Private entityRef="hero"> <PrivateAction> <TeleportAction> <Position> <WorldPosition x="-9.4" y="-152.8" z="0.5" h="1.57079632679"/> </Position> </TeleportAction> </PrivateAction> <PrivateAction> <ControllerAction> <AssignControllerAction> <Controller name="HeroAgent"> <Properties> <Property name="module" value="external_control"/> </Properties> </Controller> </AssignControllerAction> <OverrideControllerValueAction> <Throttle value="0" active="false"/> <Brake value="0" active="false"/> <Clutch value="0" active="false"/> <ParkingBrake value="0" active="false"/> <SteeringWheel value="0" active="false"/> <Gear number="0" active="false"/> </OverrideControllerValueAction> </ControllerAction> </PrivateAction> </Private> <Private entityRef="adversary"> <PrivateAction> <TeleportAction> <Position> <WorldPosition x="-9.4" y="-71.0" z="0.5" h="1.57079632679"/> </Position> </TeleportAction> </PrivateAction> </Private> <Private entityRef="standing"> <PrivateAction> <TeleportAction> <Position> <WorldPosition x="-8.2" y="29.2" z="0.5" h="1.57079632679"/> </Position> </TeleportAction> </PrivateAction> </Private> <Private entityRef="pedestrian_close_to_adversary_8081"> <PrivateAction> <TeleportAction> <Position> <WorldPosition x="-7.136263370513916" y="-67.96941375732422" z="0.03378696367144585"/> </Position> </TeleportAction> </PrivateAction> </Private> <Private entityRef="pedestrian_close_to_adversary_8082"> <PrivateAction> <TeleportAction> <Position> <WorldPosition x="-5.9095540046691895" y="-67.49105072021484" z="0.03382594883441925"/> </Position> </TeleportAction> </PrivateAction> </Private> <Private entityRef="pedestrian_close_to_standing_8083"> <PrivateAction> <TeleportAction> <Position> <WorldPosition x="-8.085137367248535" y="19.74822998046875" z="0.003081168979406357"/> </Position> </TeleportAction> </PrivateAction> </Private> <Private entityRef="pedestrian_w_transform_8085"> <PrivateAction> <TeleportAction> <Position> <WorldPosition x="12.430376052856445" y="65.5522689819336" z="0.5"/> </Position> </TeleportAction> </PrivateAction> </Private> <Private entityRef="pedestrian_close_to_hero_8086"> <PrivateAction> <TeleportAction> <Position> <WorldPosition x="-13.425130844116211" y="-146.3391571044922" z="0.0014286803780123591"/> </Position> </TeleportAction> </PrivateAction> </Private> <Private entityRef="pedestrian_close_to_hero_8087"> <PrivateAction> <TeleportAction> <Position> <WorldPosition x="-19.184009552001953" y="-145.4043731689453" z="0.0014286803780123591"/> </Position> </TeleportAction> </PrivateAction> </Private> <Private entityRef="pedestrian_close_to_hero_8088"> <PrivateAction> <TeleportAction> <Position> <WorldPosition x="-14.154537200927734" y="-154.43734741210938" z="0.0014286803780123591"/> </Position> </TeleportAction> </PrivateAction> </Private> <Private entityRef="pedestrian_w_transform_8089"> <PrivateAction> <TeleportAction> <Position> <WorldPosition x="73.49801635742188" y="-57.76556396484375" z="0.5"/> </Position> </TeleportAction> </PrivateAction> </Private> <Private entityRef="pedestrian_w_transform_8090"> <PrivateAction> <TeleportAction> <Position> <WorldPosition x="-99.57608032226562" y="-77.60359954833984" z="0.5"/> </Position> </TeleportAction> </PrivateAction> </Private> <Private entityRef="pedestrian_close_to_adversary_8092"> <PrivateAction> <TeleportAction> <Position> <WorldPosition x="2.8466978073120117" y="-83.77922821044922" z="0.03382713347673416"/> </Position> </TeleportAction> </PrivateAction> </Private> <Private entityRef="pedestrian_w_transform_8093"> <PrivateAction> <TeleportAction> <Position> <WorldPosition x="72.73473358154297" y="23.45424461364746" z="0.5"/> </Position> </TeleportAction> </PrivateAction> </Private> <Private entityRef="pedestrian_close_to_standing_8094"> <PrivateAction> <TeleportAction> <Position> <WorldPosition x="-11.164621353149414" y="22.867168426513672" z="0.003037528833374381"/> </Position> </TeleportAction> </PrivateAction> </Private> <Private entityRef="pedestrian_close_to_standing_8095"> <PrivateAction> <TeleportAction> <Position> <WorldPosition x="-11.464160919189453" y="37.982200622558594" z="0.003013725159689784"/> </Position> </TeleportAction> </PrivateAction> </Private> <Private entityRef="pedestrian_close_to_hero_8096"> <PrivateAction> <TeleportAction> <Position> <WorldPosition x="-4.206639289855957" y="-157.77127075195312" z="0.0014286803780123591"/> </Position> </TeleportAction> </PrivateAction> </Private> <Private entityRef="pedestrian_close_to_adversary_8097"> <PrivateAction> <TeleportAction> <Position> <WorldPosition x="-20.02210235595703" y="-76.04583740234375" z="0.03380180150270462"/> </Position> </TeleportAction> </PrivateAction> </Private> <Private entityRef="pedestrian_close_to_adversary_8098"> <PrivateAction> <TeleportAction> <Position> <WorldPosition x="-15.937337875366211" y="-67.54498291015625" z="0.033841513097286224"/> </Position> </TeleportAction> </PrivateAction> </Private> <Private entityRef="pedestrian_w_transform_8099"> <PrivateAction> <TeleportAction> <Position> <WorldPosition x="60.23509216308594" y="-33.51234436035156" z="0.5"/> </Position> </TeleportAction> </PrivateAction> </Private> </Actions> </Init> <Story name="MyStory"> <Act name="Behavior"> <ManeuverGroup maximumExecutionCount="1" name="ManeuverSequence"> <Actors selectTriggeringEntities="false"> <EntityRef entityRef="adversary"/> </Actors> <Maneuver name="LaneChangeSimpleManeuver"> <Event name="AdversaryAccelerates" priority="overwrite"> <Action name="AdversaryAccelerates"> <PrivateAction> <LongitudinalAction> <SpeedAction> <SpeedActionDynamics dynamicsShape="step" value="50" dynamicsDimension="distance"/> <SpeedActionTarget> <AbsoluteTargetSpeed value="5.0"/> </SpeedActionTarget> </SpeedAction> </LongitudinalAction> </PrivateAction> </Action> <StartTrigger> <ConditionGroup> <Condition name="StartCondition" delay="0" conditionEdge="rising"> <ByEntityCondition> <TriggeringEntities triggeringEntitiesRule="any"> <EntityRef entityRef="hero"/> </TriggeringEntities> <EntityCondition> <RelativeDistanceCondition entityRef="adversary" relativeDistanceType="cartesianDistance" value="40.0" freespace="false" rule="lessThan"/> </EntityCondition> </ByEntityCondition> </Condition> </ConditionGroup> </StartTrigger> </Event> <Event name="AdversaryChangesLane" priority="overwrite"> <Action name="AdversaryChangesLane"> <PrivateAction> <LateralAction> <LaneChangeAction> <LaneChangeActionDynamics dynamicsShape="linear" value="25" dynamicsDimension="distance"/> <LaneChangeTarget> <RelativeTargetLane entityRef="adversary" value="-1"/> </LaneChangeTarget> </LaneChangeAction> </LateralAction> </PrivateAction> </Action> <StartTrigger> <ConditionGroup> <Condition name="AfterAdversaryAccelerates" delay="0" conditionEdge="rising"> <ByValueCondition> <StoryboardElementStateCondition storyboardElementType="action" storyboardElementRef="AdversaryAccelerates" state="completeState"/> </ByValueCondition> </Condition> </ConditionGroup> </StartTrigger> </Event> </Maneuver> </ManeuverGroup> <StartTrigger> <ConditionGroup> <Condition name="OverallStartCondition" delay="0" conditionEdge="rising"> <ByEntityCondition> <TriggeringEntities triggeringEntitiesRule="any"> <EntityRef entityRef="hero"/> </TriggeringEntities> <EntityCondition> <TraveledDistanceCondition value="1.0"/> </EntityCondition> </ByEntityCondition> </Condition> <Condition name="StartTime" delay="0" conditionEdge="rising"> <ByValueCondition> <SimulationTimeCondition value="0" rule="equalTo"/> </ByValueCondition> </Condition> </ConditionGroup> </StartTrigger> <StopTrigger> <ConditionGroup> <Condition name="EndCondition" delay="0" conditionEdge="rising"> <ByEntityCondition> <TriggeringEntities triggeringEntitiesRule="any"> <EntityRef entityRef="hero"/> </TriggeringEntities> <EntityCondition> <TraveledDistanceCondition value="200.0"/> </EntityCondition> </ByEntityCondition> </Condition> </ConditionGroup> </StopTrigger> </Act> </Story> <StopTrigger> <ConditionGroup> <Condition name="criteria_RunningStopTest" delay="0" conditionEdge="rising"> <ByValueCondition> <ParameterCondition parameterRef="" value="" rule="lessThan"/> </ByValueCondition> </Condition> <Condition name="criteria_RunningRedLightTest" delay="0" conditionEdge="rising"> <ByValueCondition> <ParameterCondition parameterRef="" value="" rule="lessThan"/> </ByValueCondition> </Condition> <Condition name="criteria_WrongLaneTest" delay="0" conditionEdge="rising"> <ByValueCondition> <ParameterCondition parameterRef="" value="" rule="lessThan"/> </ByValueCondition> </Condition> <Condition name="criteria_OnSidewalkTest" delay="0" conditionEdge="rising"> <ByValueCondition> <ParameterCondition parameterRef="" value="" rule="lessThan"/> </ByValueCondition> </Condition> <Condition name="criteria_KeepLaneTest" delay="0" conditionEdge="rising"> <ByValueCondition> <ParameterCondition parameterRef="" value="" rule="lessThan"/> </ByValueCondition> </Condition> <Condition name="criteria_CollisionTest" delay="0" conditionEdge="rising"> <ByValueCondition> <ParameterCondition parameterRef="" value="" rule="lessThan"/> </ByValueCondition> </Condition> <Condition name="criteria_DrivenDistanceTest" delay="0" conditionEdge="rising"> <ByValueCondition> <ParameterCondition parameterRef="distance_success" value="100" rule="lessThan"/> </ByValueCondition> </Condition> </ConditionGroup> </StopTrigger> </Storyboard> </OpenSCENARIO> ```
Here is the result: ``` <?xml version="1.0" ?> <OpenSCENARIO> <FileHeader revMajor="1" revMinor="0" date="2020-03-24T12:00:00" description="CARLA:LaneChangeSimple" author=""/> <ParameterDeclarations/> <CatalogLocations/> <RoadNetwork> <LogicFile filepath="Town04"/> <SceneGraphFile filepath=""/> </RoadNetwork> <Entities> <ScenarioObject name="hero"> <Vehicle name="vehicle.tesla.model3" vehicleCategory="car"> <ParameterDeclarations/> <Performance maxSpeed="69.444" maxAcceleration="200" maxDeceleration="10.0"/> <BoundingBox> <Center x="1.5" y="0.0" z="0.9"/> <Dimensions width="2.1" length="4.5" height="1.8"/> </BoundingBox> <Axles> <FrontAxle maxSteering="0.5" wheelDiameter="0.6" trackWidth="1.8" positionX="3.1" positionZ="0.3"/> <RearAxle maxSteering="0.0" wheelDiameter="0.6" trackWidth="1.8" positionX="0.0" positionZ="0.3"/> </Axles> <Properties> <Property name="type" value="ego_vehicle"/> </Properties> </Vehicle> </ScenarioObject> <ScenarioObject name="adversary"> <Vehicle name="vehicle.lincoln.mkz_2017" vehicleCategory="car"> <ParameterDeclarations/> <Performance maxSpeed="69.444" maxAcceleration="200" maxDeceleration="10.0"/> <BoundingBox> <Center x="1.5" y="0.0" z="0.9"/> <Dimensions width="2.1" length="4.5" height="1.8"/> </BoundingBox> <Axles> <FrontAxle maxSteering="0.5" wheelDiameter="0.6" trackWidth="1.8" positionX="3.1" positionZ="0.3"/> <RearAxle maxSteering="0.0" wheelDiameter="0.6" trackWidth="1.8" positionX="0.0" positionZ="0.3"/> </Axles> <Properties> <Property name="type" value="simulation"/> </Properties> </Vehicle> </ScenarioObject> <ScenarioObject name="standing"> <Vehicle name="vehicle.volkswagen.t2" vehicleCategory="car"> <ParameterDeclarations/> <Performance maxSpeed="69.444" maxAcceleration="200" maxDeceleration="10.0"/> <BoundingBox> <Center x="1.5" y="0.0" z="0.9"/> <Dimensions width="2.1" length="4.5" height="1.8"/> </BoundingBox> <Axles> <FrontAxle maxSteering="0.5" wheelDiameter="0.6" trackWidth="1.8" positionX="3.1" positionZ="0.3"/> <RearAxle maxSteering="0.0" wheelDiameter="0.6" trackWidth="1.8" positionX="0.0" positionZ="0.3"/> </Axles> <Properties> <Property name="type" value="simulation"/> </Properties> </Vehicle> </ScenarioObject> <ScenarioObject name="pedestrian_close_to_adversary_8081"> <Pedestrian model="walker.pedestrian.0001" mass="80" name="walker.pedestrian.0001" pedestrianCategory="pedestrian"> <ParameterDeclarations/> <BoundingBox> <Center x="1.5" y="0.0" z="0.9"/> <Dimensions width="2" length="2" height="2"/> </BoundingBox> <Properties> <Property name="type" value="simulation"/> </Properties> </Pedestrian> </ScenarioObject> <ScenarioObject name="pedestrian_close_to_adversary_8082"> <Pedestrian model="walker.pedestrian.0001" mass="80" name="walker.pedestrian.0001" pedestrianCategory="pedestrian"> <ParameterDeclarations/> <BoundingBox> <Center x="1.5" y="0.0" z="0.9"/> <Dimensions width="2" length="2" height="2"/> </BoundingBox> <Properties> <Property name="type" value="simulation"/> </Properties> </Pedestrian> </ScenarioObject> <ScenarioObject name="pedestrian_close_to_standing_8083"> <Pedestrian model="walker.pedestrian.0001" mass="80" name="walker.pedestrian.0001" pedestrianCategory="pedestrian"> <ParameterDeclarations/> <BoundingBox> <Center x="1.5" y="0.0" z="0.9"/> <Dimensions width="2" length="2" height="2"/> </BoundingBox> <Properties> <Property name="type" value="simulation"/> </Properties> </Pedestrian> </ScenarioObject> <ScenarioObject name="pedestrian_w_transform_8085"> <Pedestrian model="walker.pedestrian.0001" mass="80" name="walker.pedestrian.0001" pedestrianCategory="pedestrian"> <ParameterDeclarations/> <BoundingBox> <Center x="1.5" y="0.0" z="0.9"/> <Dimensions width="2" length="2" height="2"/> </BoundingBox> <Properties> <Property name="type" value="simulation"/> </Properties> </Pedestrian> </ScenarioObject> <ScenarioObject name="pedestrian_close_to_hero_8086"> <Pedestrian model="walker.pedestrian.0001" mass="80" name="walker.pedestrian.0001" pedestrianCategory="pedestrian"> <ParameterDeclarations/> <BoundingBox> <Center x="1.5" y="0.0" z="0.9"/> <Dimensions width="2" length="2" height="2"/> </BoundingBox> <Properties> <Property name="type" value="simulation"/> </Properties> </Pedestrian> </ScenarioObject> <ScenarioObject name="pedestrian_close_to_hero_8087"> <Pedestrian model="walker.pedestrian.0001" mass="80" name="walker.pedestrian.0001" pedestrianCategory="pedestrian"> <ParameterDeclarations/> <BoundingBox> <Center x="1.5" y="0.0" z="0.9"/> <Dimensions width="2" length="2" height="2"/> </BoundingBox> <Properties> <Property name="type" value="simulation"/> </Properties> </Pedestrian> </ScenarioObject> <ScenarioObject name="pedestrian_close_to_hero_8088"> <Pedestrian model="walker.pedestrian.0001" mass="80" name="walker.pedestrian.0001" pedestrianCategory="pedestrian"> <ParameterDeclarations/> <BoundingBox> <Center x="1.5" y="0.0" z="0.9"/> <Dimensions width="2" length="2" height="2"/> </BoundingBox> <Properties> <Property name="type" value="simulation"/> </Properties> </Pedestrian> </ScenarioObject> <ScenarioObject name="pedestrian_w_transform_8089"> <Pedestrian model="walker.pedestrian.0001" mass="80" name="walker.pedestrian.0001" pedestrianCategory="pedestrian"> <ParameterDeclarations/> <BoundingBox> <Center x="1.5" y="0.0" z="0.9"/> <Dimensions width="2" length="2" height="2"/> </BoundingBox> <Properties> <Property name="type" value="simulation"/> </Properties> </Pedestrian> </ScenarioObject> <ScenarioObject name="pedestrian_close_to_adversary_8092"> <Pedestrian model="walker.pedestrian.0001" mass="80" name="walker.pedestrian.0001" pedestrianCategory="pedestrian"> <ParameterDeclarations/> <BoundingBox> <Center x="1.5" y="0.0" z="0.9"/> <Dimensions width="2" length="2" height="2"/> </BoundingBox> <Properties> <Property name="type" value="simulation"/> </Properties> </Pedestrian> </ScenarioObject> <ScenarioObject name="pedestrian_w_transform_8093"> <Pedestrian model="walker.pedestrian.0001" mass="80" name="walker.pedestrian.0001" pedestrianCategory="pedestrian"> <ParameterDeclarations/> <BoundingBox> <Center x="1.5" y="0.0" z="0.9"/> <Dimensions width="2" length="2" height="2"/> </BoundingBox> <Properties> <Property name="type" value="simulation"/> </Properties> </Pedestrian> </ScenarioObject> <ScenarioObject name="pedestrian_close_to_standing_8094"> <Pedestrian model="walker.pedestrian.0001" mass="80" name="walker.pedestrian.0001" pedestrianCategory="pedestrian"> <ParameterDeclarations/> <BoundingBox> <Center x="1.5" y="0.0" z="0.9"/> <Dimensions width="2" length="2" height="2"/> </BoundingBox> <Properties> <Property name="type" value="simulation"/> </Properties> </Pedestrian> </ScenarioObject> <ScenarioObject name="pedestrian_close_to_standing_8095"> <Pedestrian model="walker.pedestrian.0001" mass="80" name="walker.pedestrian.0001" pedestrianCategory="pedestrian"> <ParameterDeclarations/> <BoundingBox> <Center x="1.5" y="0.0" z="0.9"/> <Dimensions width="2" length="2" height="2"/> </BoundingBox> <Properties> <Property name="type" value="simulation"/> </Properties> </Pedestrian> </ScenarioObject> <ScenarioObject name="pedestrian_close_to_hero_8096"> <Pedestrian model="walker.pedestrian.0001" mass="80" name="walker.pedestrian.0001" pedestrianCategory="pedestrian"> <ParameterDeclarations/> <BoundingBox> <Center x="1.5" y="0.0" z="0.9"/> <Dimensions width="2" length="2" height="2"/> </BoundingBox> <Properties> <Property name="type" value="simulation"/> </Properties> </Pedestrian> </ScenarioObject> <ScenarioObject name="pedestrian_close_to_adversary_8097"> <Pedestrian model="walker.pedestrian.0001" mass="80" name="walker.pedestrian.0001" pedestrianCategory="pedestrian"> <ParameterDeclarations/> <BoundingBox> <Center x="1.5" y="0.0" z="0.9"/> <Dimensions width="2" length="2" height="2"/> </BoundingBox> <Properties> <Property name="type" value="simulation"/> </Properties> </Pedestrian> </ScenarioObject> <ScenarioObject name="pedestrian_close_to_adversary_8098"> <Pedestrian model="walker.pedestrian.0001" mass="80" name="walker.pedestrian.0001" pedestrianCategory="pedestrian"> <ParameterDeclarations/> <BoundingBox> <Center x="1.5" y="0.0" z="0.9"/> <Dimensions width="2" length="2" height="2"/> </BoundingBox> <Properties> <Property name="type" value="simulation"/> </Properties> </Pedestrian> </ScenarioObject> <ScenarioObject name="pedestrian_w_transform_8099"> <Pedestrian model="walker.pedestrian.0001" mass="80" name="walker.pedestrian.0001" pedestrianCategory="pedestrian"> <ParameterDeclarations/> <BoundingBox> <Center x="1.5" y="0.0" z="0.9"/> <Dimensions width="2" length="2" height="2"/> </BoundingBox> <Properties> <Property name="type" value="simulation"/> </Properties> </Pedestrian> </ScenarioObject> </Entities> <Storyboard> <Init> <Actions> <GlobalAction> <EnvironmentAction> <Environment name="Environment1"> <TimeOfDay animation="false" dateTime="2019-06-25T12:00:00"/> <Weather cloudState="free"> <Sun intensity="0.85" azimuth="0" elevation="1.31"/> <Fog visualRange="100000.0"/> <Precipitation precipitationType="dry" intensity="0.0"/> </Weather> <RoadCondition frictionScaleFactor="1.0"/> </Environment> </EnvironmentAction> </GlobalAction> <Private entityRef="hero"> <PrivateAction> <TeleportAction> <Position> <WorldPosition x="-9.4" y="-152.8" z="0.5" h="1.57079632679"/> </Position> </TeleportAction> </PrivateAction> <PrivateAction> <ControllerAction> <AssignControllerAction> <Controller name="HeroAgent"> <Properties> <Property name="module" value="external_control"/> </Properties> </Controller> </AssignControllerAction> <OverrideControllerValueAction> <Throttle value="0" active="false"/> <Brake value="0" active="false"/> <Clutch value="0" active="false"/> <ParkingBrake value="0" active="false"/> <SteeringWheel value="0" active="false"/> <Gear number="0" active="false"/> </OverrideControllerValueAction> </ControllerAction> </PrivateAction> </Private> <Private entityRef="adversary"> <PrivateAction> <TeleportAction> <Position> <WorldPosition x="-9.4" y="-71.0" z="0.5" h="1.57079632679"/> </Position> </TeleportAction> </PrivateAction> </Private> <Private entityRef="standing"> <PrivateAction> <TeleportAction> <Position> <WorldPosition x="-8.2" y="29.2" z="0.5" h="1.57079632679"/> </Position> </TeleportAction> </PrivateAction> </Private> <Private entityRef="pedestrian_close_to_adversary_8081"> <PrivateAction> <TeleportAction> <Position> <WorldPosition x="-7.136263370513916" y="-67.96941375732422" z="0.03378696367144585"/> </Position> </TeleportAction> </PrivateAction> </Private> <Private entityRef="pedestrian_close_to_adversary_8082"> <PrivateAction> <TeleportAction> <Position> <WorldPosition x="-5.9095540046691895" y="-67.49105072021484" z="0.03382594883441925"/> </Position> </TeleportAction> </PrivateAction> </Private> <Private entityRef="pedestrian_close_to_standing_8083"> <PrivateAction> <TeleportAction> <Position> <WorldPosition x="-8.085137367248535" y="19.74822998046875" z="0.003081168979406357"/> </Position> </TeleportAction> </PrivateAction> </Private> <Private entityRef="pedestrian_w_transform_8085"> <PrivateAction> <TeleportAction> <Position> <WorldPosition x="12.430376052856445" y="65.5522689819336" z="0.5"/> </Position> </TeleportAction> </PrivateAction> </Private> <Private entityRef="pedestrian_close_to_hero_8086"> <PrivateAction> <TeleportAction> <Position> <WorldPosition x="-13.425130844116211" y="-146.3391571044922" z="0.0014286803780123591"/> </Position> </TeleportAction> </PrivateAction> </Private> <Private entityRef="pedestrian_close_to_hero_8087"> <PrivateAction> <TeleportAction> <Position> <WorldPosition x="-19.184009552001953" y="-145.4043731689453" z="0.0014286803780123591"/> </Position> </TeleportAction> </PrivateAction> </Private> <Private entityRef="pedestrian_close_to_hero_8088"> <PrivateAction> <TeleportAction> <Position> <WorldPosition x="-14.154537200927734" y="-154.43734741210938" z="0.0014286803780123591"/> </Position> </TeleportAction> </PrivateAction> </Private> <Private entityRef="pedestrian_w_transform_8089"> <PrivateAction> <TeleportAction> <Position> <WorldPosition x="73.49801635742188" y="-57.76556396484375" z="0.5"/> </Position> </TeleportAction> </PrivateAction> </Private> <Private entityRef="pedestrian_close_to_adversary_8092"> <PrivateAction> <TeleportAction> <Position> <WorldPosition x="2.8466978073120117" y="-83.77922821044922" z="0.03382713347673416"/> </Position> </TeleportAction> </PrivateAction> </Private> <Private entityRef="pedestrian_w_transform_8093"> <PrivateAction> <TeleportAction> <Position> <WorldPosition x="72.73473358154297" y="23.45424461364746" z="0.5"/> </Position> </TeleportAction> </PrivateAction> </Private> <Private entityRef="pedestrian_close_to_standing_8094"> <PrivateAction> <TeleportAction> <Position> <WorldPosition x="-11.164621353149414" y="22.867168426513672" z="0.003037528833374381"/> </Position> </TeleportAction> </PrivateAction> </Private> <Private entityRef="pedestrian_close_to_standing_8095"> <PrivateAction> <TeleportAction> <Position> <WorldPosition x="-11.464160919189453" y="37.982200622558594" z="0.003013725159689784"/> </Position> </TeleportAction> </PrivateAction> </Private> <Private entityRef="pedestrian_close_to_hero_8096"> <PrivateAction> <TeleportAction> <Position> <WorldPosition x="-4.206639289855957" y="-157.77127075195312" z="0.0014286803780123591"/> </Position> </TeleportAction> </PrivateAction> </Private> <Private entityRef="pedestrian_close_to_adversary_8097"> <PrivateAction> <TeleportAction> <Position> <WorldPosition x="-20.02210235595703" y="-76.04583740234375" z="0.03380180150270462"/> </Position> </TeleportAction> </PrivateAction> </Private> <Private entityRef="pedestrian_close_to_adversary_8098"> <PrivateAction> <TeleportAction> <Position> <WorldPosition x="-15.937337875366211" y="-67.54498291015625" z="0.033841513097286224"/> </Position> </TeleportAction> </PrivateAction> </Private> <Private entityRef="pedestrian_w_transform_8099"> <PrivateAction> <TeleportAction> <Position> <WorldPosition x="60.23509216308594" y="-33.51234436035156" z="0.5"/> </Position> </TeleportAction> </PrivateAction> </Private> </Actions> </Init> <Story name="MyStory"> <Act name="Behavior"> <ManeuverGroup maximumExecutionCount="1" name="ManeuverSequence"> <Actors selectTriggeringEntities="false"> <EntityRef entityRef="adversary"/> </Actors> <Maneuver name="LaneChangeSimpleManeuver"> <Event name="AdversaryAccelerates" priority="overwrite"> <Action name="AdversaryAccelerates"> <PrivateAction> <LongitudinalAction> <SpeedAction> <SpeedActionDynamics dynamicsShape="step" value="50" dynamicsDimension="distance"/> <SpeedActionTarget> <AbsoluteTargetSpeed value="5.0"/> </SpeedActionTarget> </SpeedAction> </LongitudinalAction> </PrivateAction> </Action> <StartTrigger> <ConditionGroup> <Condition name="StartCondition" delay="0" conditionEdge="rising"> <ByEntityCondition> <TriggeringEntities triggeringEntitiesRule="any"> <EntityRef entityRef="hero"/> </TriggeringEntities> <EntityCondition> <RelativeDistanceCondition entityRef="adversary" relativeDistanceType="cartesianDistance" value="40.0" freespace="false" rule="lessThan"/> </EntityCondition> </ByEntityCondition> </Condition> </ConditionGroup> </StartTrigger> </Event> <Event name="AdversaryChangesLane" priority="overwrite"> <Action name="AdversaryChangesLane"> <PrivateAction> <LateralAction> <LaneChangeAction> <LaneChangeActionDynamics dynamicsShape="linear" value="25" dynamicsDimension="distance"/> <LaneChangeTarget> <RelativeTargetLane entityRef="adversary" value="-1"/> </LaneChangeTarget> </LaneChangeAction> </LateralAction> </PrivateAction> </Action> <StartTrigger> <ConditionGroup> <Condition name="AfterAdversaryAccelerates" delay="0" conditionEdge="rising"> <ByValueCondition> <StoryboardElementStateCondition storyboardElementType="action" storyboardElementRef="AdversaryAccelerates" state="completeState"/> </ByValueCondition> </Condition> </ConditionGroup> </StartTrigger> </Event> </Maneuver> </ManeuverGroup> <StartTrigger> <ConditionGroup> <Condition name="OverallStartCondition" delay="0" conditionEdge="rising"> <ByEntityCondition> <TriggeringEntities triggeringEntitiesRule="any"> <EntityRef entityRef="hero"/> </TriggeringEntities> <EntityCondition> <TraveledDistanceCondition value="1.0"/> </EntityCondition> </ByEntityCondition> </Condition> <Condition name="StartTime" delay="0" conditionEdge="rising"> <ByValueCondition> <SimulationTimeCondition value="0" rule="equalTo"/> </ByValueCondition> </Condition> </ConditionGroup> </StartTrigger> <StopTrigger> <ConditionGroup> <Condition name="EndCondition" delay="0" conditionEdge="rising"> <ByEntityCondition> <TriggeringEntities triggeringEntitiesRule="any"> <EntityRef entityRef="hero"/> </TriggeringEntities> <EntityCondition> <TraveledDistanceCondition value="200.0"/> </EntityCondition> </ByEntityCondition> </Condition> </ConditionGroup> </StopTrigger> </Act> </Story> <StopTrigger> <ConditionGroup> <Condition name="criteria_RunningStopTest" delay="0" conditionEdge="rising"> <ByValueCondition> <ParameterCondition parameterRef="" value="" rule="lessThan"/> </ByValueCondition> </Condition> <Condition name="criteria_RunningRedLightTest" delay="0" conditionEdge="rising"> <ByValueCondition> <ParameterCondition parameterRef="" value="" rule="lessThan"/> </ByValueCondition> </Condition> <Condition name="criteria_WrongLaneTest" delay="0" conditionEdge="rising"> <ByValueCondition> <ParameterCondition parameterRef="" value="" rule="lessThan"/> </ByValueCondition> </Condition> <Condition name="criteria_OnSidewalkTest" delay="0" conditionEdge="rising"> <ByValueCondition> <ParameterCondition parameterRef="" value="" rule="lessThan"/> </ByValueCondition> </Condition> <Condition name="criteria_KeepLaneTest" delay="0" conditionEdge="rising"> <ByValueCondition> <ParameterCondition parameterRef="" value="" rule="lessThan"/> </ByValueCondition> </Condition> <Condition name="criteria_CollisionTest" delay="0" conditionEdge="rising"> <ByValueCondition> <ParameterCondition parameterRef="" value="" rule="lessThan"/> </ByValueCondition> </Condition> <Condition name="criteria_DrivenDistanceTest" delay="0" conditionEdge="rising"> <ByValueCondition> <ParameterCondition parameterRef="distance_success" value="100" rule="lessThan"/> </ByValueCondition> </Condition> </ConditionGroup> </StopTrigger> </Storyboard> </OpenSCENARIO> ```
i would like to tell you to add pedestrian at location (-83.24, -96.04, 0.5)? ``` <?xml version="1.0" ?> <OpenSCENARIO> <FileHeader revMajor="1" revMinor="0" date="2020-03-24T12:00:00" description="CARLA:LaneChangeSimple" author=""/> <ParameterDeclarations/> <CatalogLocations/> <RoadNetwork> <LogicFile filepath="Town04"/> <SceneGraphFile filepath=""/> </RoadNetwork> <Entities> <ScenarioObject name="hero"> <Vehicle name="vehicle.tesla.model3" vehicleCategory="car"> <ParameterDeclarations/> <Performance maxSpeed="69.444" maxAcceleration="200" maxDeceleration="10.0"/> <BoundingBox> <Center x="1.5" y="0.0" z="0.9"/> <Dimensions width="2.1" length="4.5" height="1.8"/> </BoundingBox> <Axles> <FrontAxle maxSteering="0.5" wheelDiameter="0.6" trackWidth="1.8" positionX="3.1" positionZ="0.3"/> <RearAxle maxSteering="0.0" wheelDiameter="0.6" trackWidth="1.8" positionX="0.0" positionZ="0.3"/> </Axles> <Properties> <Property name="type" value="ego_vehicle"/> </Properties> </Vehicle> </ScenarioObject> <ScenarioObject name="adversary"> <Vehicle name="vehicle.lincoln.mkz_2017" vehicleCategory="car"> <ParameterDeclarations/> <Performance maxSpeed="69.444" maxAcceleration="200" maxDeceleration="10.0"/> <BoundingBox> <Center x="1.5" y="0.0" z="0.9"/> <Dimensions width="2.1" length="4.5" height="1.8"/> </BoundingBox> <Axles> <FrontAxle maxSteering="0.5" wheelDiameter="0.6" trackWidth="1.8" positionX="3.1" positionZ="0.3"/> <RearAxle maxSteering="0.0" wheelDiameter="0.6" trackWidth="1.8" positionX="0.0" positionZ="0.3"/> </Axles> <Properties> <Property name="type" value="simulation"/> </Properties> </Vehicle> </ScenarioObject> <ScenarioObject name="standing"> <Vehicle name="vehicle.volkswagen.t2" vehicleCategory="car"> <ParameterDeclarations/> <Performance maxSpeed="69.444" maxAcceleration="200" maxDeceleration="10.0"/> <BoundingBox> <Center x="1.5" y="0.0" z="0.9"/> <Dimensions width="2.1" length="4.5" height="1.8"/> </BoundingBox> <Axles> <FrontAxle maxSteering="0.5" wheelDiameter="0.6" trackWidth="1.8" positionX="3.1" positionZ="0.3"/> <RearAxle maxSteering="0.0" wheelDiameter="0.6" trackWidth="1.8" positionX="0.0" positionZ="0.3"/> </Axles> <Properties> <Property name="type" value="simulation"/> </Properties> </Vehicle> </ScenarioObject> <ScenarioObject name="pedestrian_close_to_adversary_7581"> <Pedestrian model="walker.pedestrian.0001" mass="80" name="walker.pedestrian.0001" pedestrianCategory="pedestrian"> <ParameterDeclarations/> <BoundingBox> <Center x="1.5" y="0.0" z="0.9"/> <Dimensions width="2" length="2" height="2"/> </BoundingBox> <Properties> <Property name="type" value="simulation"/> </Properties> </Pedestrian> </ScenarioObject> <ScenarioObject name="pedestrian_w_transform_7582"> <Pedestrian model="walker.pedestrian.0001" mass="80" name="walker.pedestrian.0001" pedestrianCategory="pedestrian"> <ParameterDeclarations/> <BoundingBox> <Center x="1.5" y="0.0" z="0.9"/> <Dimensions width="2" length="2" height="2"/> </BoundingBox> <Properties> <Property name="type" value="simulation"/> </Properties> </Pedestrian> </ScenarioObject> <ScenarioObject name="pedestrian_w_transform_7583"> <Pedestrian model="walker.pedestrian.0001" mass="80" name="walker.pedestrian.0001" pedestrianCategory="pedestrian"> <ParameterDeclarations/> <BoundingBox> <Center x="1.5" y="0.0" z="0.9"/> <Dimensions width="2" length="2" height="2"/> </BoundingBox> <Properties> <Property name="type" value="simulation"/> </Properties> </Pedestrian> </ScenarioObject> <ScenarioObject name="pedestrian_close_to_adversary_7584"> <Pedestrian model="walker.pedestrian.0001" mass="80" name="walker.pedestrian.0001" pedestrianCategory="pedestrian"> <ParameterDeclarations/> <BoundingBox> <Center x="1.5" y="0.0" z="0.9"/> <Dimensions width="2" length="2" height="2"/> </BoundingBox> <Properties> <Property name="type" value="simulation"/> </Properties> </Pedestrian> </ScenarioObject> <ScenarioObject name="pedestrian_close_to_hero_7585"> <Pedestrian model="walker.pedestrian.0001" mass="80" name="walker.pedestrian.0001" pedestrianCategory="pedestrian"> <ParameterDeclarations/> <BoundingBox> <Center x="1.5" y="0.0" z="0.9"/> <Dimensions width="2" length="2" height="2"/> </BoundingBox> <Properties> <Property name="type" value="simulation"/> </Properties> </Pedestrian> </ScenarioObject> </Entities> <Storyboard> <Init> <Actions> <GlobalAction> <EnvironmentAction> <Environment name="Environment1"> <TimeOfDay animation="false" dateTime="2019-06-25T12:00:00"/> <Weather cloudState="free"> <Sun intensity="0.85" azimuth="0" elevation="1.31"/> <Fog visualRange="100000.0"/> <Precipitation precipitationType="dry" intensity="0.0"/> </Weather> <RoadCondition frictionScaleFactor="1.0"/> </Environment> </EnvironmentAction> </GlobalAction> <Private entityRef="hero"> <PrivateAction> <TeleportAction> <Position> <WorldPosition x="-9.4" y="-152.8" z="0.5" h="1.57079632679"/> </Position> </TeleportAction> </PrivateAction> <PrivateAction> <ControllerAction> <AssignControllerAction> <Controller name="HeroAgent"> <Properties> <Property name="module" value="external_control"/> </Properties> </Controller> </AssignControllerAction> <OverrideControllerValueAction> <Throttle value="0" active="false"/> <Brake value="0" active="false"/> <Clutch value="0" active="false"/> <ParkingBrake value="0" active="false"/> <SteeringWheel value="0" active="false"/> <Gear number="0" active="false"/> </OverrideControllerValueAction> </ControllerAction> </PrivateAction> </Private> <Private entityRef="adversary"> <PrivateAction> <TeleportAction> <Position> <WorldPosition x="-9.4" y="-71.0" z="0.5" h="1.57079632679"/> </Position> </TeleportAction> </PrivateAction> </Private> <Private entityRef="standing"> <PrivateAction> <TeleportAction> <Position> <WorldPosition x="-8.2" y="29.2" z="0.5" h="1.57079632679"/> </Position> </TeleportAction> </PrivateAction> </Private> <Private entityRef="pedestrian_close_to_adversary_7581"> <PrivateAction> <TeleportAction> <Position> <WorldPosition x="-5.87066125869751" y="-60.82938766479492" z="0.03378261625766754"/> </Position> </TeleportAction> </PrivateAction> </Private> <Private entityRef="pedestrian_w_transform_7582"> <PrivateAction> <TeleportAction> <Position> <WorldPosition x="43.40922927856445" y="-23.616058349609375" z="0.5"/> </Position> </TeleportAction> </PrivateAction> </Private> <Private entityRef="pedestrian_w_transform_7583"> <PrivateAction> <TeleportAction> <Position> <WorldPosition x="-32.42446517944336" y="-96.88687133789062" z="0.5"/> </Position> </TeleportAction> </PrivateAction> </Private> <Private entityRef="pedestrian_close_to_adversary_7584"> <PrivateAction> <TeleportAction> <Position> <WorldPosition x="-6.630059719085693" y="-69.83977508544922" z="0.03377975523471832"/> </Position> </TeleportAction> </PrivateAction> </Private> <Private entityRef="pedestrian_close_to_hero_7585"> <PrivateAction> <TeleportAction> <Position> <WorldPosition x="-12.236760139465332" y="-144.75570678710938" z="0.0014286803780123591"/> </Position> </TeleportAction> </PrivateAction> </Private> </Actions> </Init> <Story name="MyStory"> <Act name="Behavior"> <ManeuverGroup maximumExecutionCount="1" name="ManeuverSequence"> <Actors selectTriggeringEntities="false"> <EntityRef entityRef="adversary"/> </Actors> <Maneuver name="LaneChangeSimpleManeuver"> <Event name="AdversaryAccelerates" priority="overwrite"> <Action name="AdversaryAccelerates"> <PrivateAction> <LongitudinalAction> <SpeedAction> <SpeedActionDynamics dynamicsShape="step" value="50" dynamicsDimension="distance"/> <SpeedActionTarget> <AbsoluteTargetSpeed value="5.0"/> </SpeedActionTarget> </SpeedAction> </LongitudinalAction> </PrivateAction> </Action> <StartTrigger> <ConditionGroup> <Condition name="StartCondition" delay="0" conditionEdge="rising"> <ByEntityCondition> <TriggeringEntities triggeringEntitiesRule="any"> <EntityRef entityRef="hero"/> </TriggeringEntities> <EntityCondition> <RelativeDistanceCondition entityRef="adversary" relativeDistanceType="cartesianDistance" value="40.0" freespace="false" rule="lessThan"/> </EntityCondition> </ByEntityCondition> </Condition> </ConditionGroup> </StartTrigger> </Event> <Event name="AdversaryChangesLane" priority="overwrite"> <Action name="AdversaryChangesLane"> <PrivateAction> <LateralAction> <LaneChangeAction> <LaneChangeActionDynamics dynamicsShape="linear" value="25" dynamicsDimension="distance"/> <LaneChangeTarget> <RelativeTargetLane entityRef="adversary" value="-1"/> </LaneChangeTarget> </LaneChangeAction> </LateralAction> </PrivateAction> </Action> <StartTrigger> <ConditionGroup> <Condition name="AfterAdversaryAccelerates" delay="0" conditionEdge="rising"> <ByValueCondition> <StoryboardElementStateCondition storyboardElementType="action" storyboardElementRef="AdversaryAccelerates" state="completeState"/> </ByValueCondition> </Condition> </ConditionGroup> </StartTrigger> </Event> </Maneuver> </ManeuverGroup> <StartTrigger> <ConditionGroup> <Condition name="OverallStartCondition" delay="0" conditionEdge="rising"> <ByEntityCondition> <TriggeringEntities triggeringEntitiesRule="any"> <EntityRef entityRef="hero"/> </TriggeringEntities> <EntityCondition> <TraveledDistanceCondition value="1.0"/> </EntityCondition> </ByEntityCondition> </Condition> <Condition name="StartTime" delay="0" conditionEdge="rising"> <ByValueCondition> <SimulationTimeCondition value="0" rule="equalTo"/> </ByValueCondition> </Condition> </ConditionGroup> </StartTrigger> <StopTrigger> <ConditionGroup> <Condition name="EndCondition" delay="0" conditionEdge="rising"> <ByEntityCondition> <TriggeringEntities triggeringEntitiesRule="any"> <EntityRef entityRef="hero"/> </TriggeringEntities> <EntityCondition> <TraveledDistanceCondition value="200.0"/> </EntityCondition> </ByEntityCondition> </Condition> </ConditionGroup> </StopTrigger> </Act> </Story> <StopTrigger> <ConditionGroup> <Condition name="criteria_RunningStopTest" delay="0" conditionEdge="rising"> <ByValueCondition> <ParameterCondition parameterRef="" value="" rule="lessThan"/> </ByValueCondition> </Condition> <Condition name="criteria_RunningRedLightTest" delay="0" conditionEdge="rising"> <ByValueCondition> <ParameterCondition parameterRef="" value="" rule="lessThan"/> </ByValueCondition> </Condition> <Condition name="criteria_WrongLaneTest" delay="0" conditionEdge="rising"> <ByValueCondition> <ParameterCondition parameterRef="" value="" rule="lessThan"/> </ByValueCondition> </Condition> <Condition name="criteria_OnSidewalkTest" delay="0" conditionEdge="rising"> <ByValueCondition> <ParameterCondition parameterRef="" value="" rule="lessThan"/> </ByValueCondition> </Condition> <Condition name="criteria_KeepLaneTest" delay="0" conditionEdge="rising"> <ByValueCondition> <ParameterCondition parameterRef="" value="" rule="lessThan"/> </ByValueCondition> </Condition> <Condition name="criteria_CollisionTest" delay="0" conditionEdge="rising"> <ByValueCondition> <ParameterCondition parameterRef="" value="" rule="lessThan"/> </ByValueCondition> </Condition> <Condition name="criteria_DrivenDistanceTest" delay="0" conditionEdge="rising"> <ByValueCondition> <ParameterCondition parameterRef="distance_success" value="100" rule="lessThan"/> </ByValueCondition> </Condition> </ConditionGroup> </StopTrigger> </Storyboard> </OpenSCENARIO> ```
Here is the result: ``` <?xml version="1.0" ?> <OpenSCENARIO> <FileHeader revMajor="1" revMinor="0" date="2020-03-24T12:00:00" description="CARLA:LaneChangeSimple" author=""/> <ParameterDeclarations/> <CatalogLocations/> <RoadNetwork> <LogicFile filepath="Town04"/> <SceneGraphFile filepath=""/> </RoadNetwork> <Entities> <ScenarioObject name="hero"> <Vehicle name="vehicle.tesla.model3" vehicleCategory="car"> <ParameterDeclarations/> <Performance maxSpeed="69.444" maxAcceleration="200" maxDeceleration="10.0"/> <BoundingBox> <Center x="1.5" y="0.0" z="0.9"/> <Dimensions width="2.1" length="4.5" height="1.8"/> </BoundingBox> <Axles> <FrontAxle maxSteering="0.5" wheelDiameter="0.6" trackWidth="1.8" positionX="3.1" positionZ="0.3"/> <RearAxle maxSteering="0.0" wheelDiameter="0.6" trackWidth="1.8" positionX="0.0" positionZ="0.3"/> </Axles> <Properties> <Property name="type" value="ego_vehicle"/> </Properties> </Vehicle> </ScenarioObject> <ScenarioObject name="adversary"> <Vehicle name="vehicle.lincoln.mkz_2017" vehicleCategory="car"> <ParameterDeclarations/> <Performance maxSpeed="69.444" maxAcceleration="200" maxDeceleration="10.0"/> <BoundingBox> <Center x="1.5" y="0.0" z="0.9"/> <Dimensions width="2.1" length="4.5" height="1.8"/> </BoundingBox> <Axles> <FrontAxle maxSteering="0.5" wheelDiameter="0.6" trackWidth="1.8" positionX="3.1" positionZ="0.3"/> <RearAxle maxSteering="0.0" wheelDiameter="0.6" trackWidth="1.8" positionX="0.0" positionZ="0.3"/> </Axles> <Properties> <Property name="type" value="simulation"/> </Properties> </Vehicle> </ScenarioObject> <ScenarioObject name="standing"> <Vehicle name="vehicle.volkswagen.t2" vehicleCategory="car"> <ParameterDeclarations/> <Performance maxSpeed="69.444" maxAcceleration="200" maxDeceleration="10.0"/> <BoundingBox> <Center x="1.5" y="0.0" z="0.9"/> <Dimensions width="2.1" length="4.5" height="1.8"/> </BoundingBox> <Axles> <FrontAxle maxSteering="0.5" wheelDiameter="0.6" trackWidth="1.8" positionX="3.1" positionZ="0.3"/> <RearAxle maxSteering="0.0" wheelDiameter="0.6" trackWidth="1.8" positionX="0.0" positionZ="0.3"/> </Axles> <Properties> <Property name="type" value="simulation"/> </Properties> </Vehicle> </ScenarioObject> <ScenarioObject name="pedestrian_close_to_adversary_7581"> <Pedestrian model="walker.pedestrian.0001" mass="80" name="walker.pedestrian.0001" pedestrianCategory="pedestrian"> <ParameterDeclarations/> <BoundingBox> <Center x="1.5" y="0.0" z="0.9"/> <Dimensions width="2" length="2" height="2"/> </BoundingBox> <Properties> <Property name="type" value="simulation"/> </Properties> </Pedestrian> </ScenarioObject> <ScenarioObject name="pedestrian_w_transform_7582"> <Pedestrian model="walker.pedestrian.0001" mass="80" name="walker.pedestrian.0001" pedestrianCategory="pedestrian"> <ParameterDeclarations/> <BoundingBox> <Center x="1.5" y="0.0" z="0.9"/> <Dimensions width="2" length="2" height="2"/> </BoundingBox> <Properties> <Property name="type" value="simulation"/> </Properties> </Pedestrian> </ScenarioObject> <ScenarioObject name="pedestrian_w_transform_7583"> <Pedestrian model="walker.pedestrian.0001" mass="80" name="walker.pedestrian.0001" pedestrianCategory="pedestrian"> <ParameterDeclarations/> <BoundingBox> <Center x="1.5" y="0.0" z="0.9"/> <Dimensions width="2" length="2" height="2"/> </BoundingBox> <Properties> <Property name="type" value="simulation"/> </Properties> </Pedestrian> </ScenarioObject> <ScenarioObject name="pedestrian_close_to_adversary_7584"> <Pedestrian model="walker.pedestrian.0001" mass="80" name="walker.pedestrian.0001" pedestrianCategory="pedestrian"> <ParameterDeclarations/> <BoundingBox> <Center x="1.5" y="0.0" z="0.9"/> <Dimensions width="2" length="2" height="2"/> </BoundingBox> <Properties> <Property name="type" value="simulation"/> </Properties> </Pedestrian> </ScenarioObject> <ScenarioObject name="pedestrian_close_to_hero_7585"> <Pedestrian model="walker.pedestrian.0001" mass="80" name="walker.pedestrian.0001" pedestrianCategory="pedestrian"> <ParameterDeclarations/> <BoundingBox> <Center x="1.5" y="0.0" z="0.9"/> <Dimensions width="2" length="2" height="2"/> </BoundingBox> <Properties> <Property name="type" value="simulation"/> </Properties> </Pedestrian> </ScenarioObject> <ScenarioObject name="pedestrian_w_transform_7586"> <Pedestrian model="walker.pedestrian.0001" mass="80" name="walker.pedestrian.0001" pedestrianCategory="pedestrian"> <ParameterDeclarations/> <BoundingBox> <Center x="1.5" y="0.0" z="0.9"/> <Dimensions width="2" length="2" height="2"/> </BoundingBox> <Properties> <Property name="type" value="simulation"/> </Properties> </Pedestrian> </ScenarioObject> </Entities> <Storyboard> <Init> <Actions> <GlobalAction> <EnvironmentAction> <Environment name="Environment1"> <TimeOfDay animation="false" dateTime="2019-06-25T12:00:00"/> <Weather cloudState="free"> <Sun intensity="0.85" azimuth="0" elevation="1.31"/> <Fog visualRange="100000.0"/> <Precipitation precipitationType="dry" intensity="0.0"/> </Weather> <RoadCondition frictionScaleFactor="1.0"/> </Environment> </EnvironmentAction> </GlobalAction> <Private entityRef="hero"> <PrivateAction> <TeleportAction> <Position> <WorldPosition x="-9.4" y="-152.8" z="0.5" h="1.57079632679"/> </Position> </TeleportAction> </PrivateAction> <PrivateAction> <ControllerAction> <AssignControllerAction> <Controller name="HeroAgent"> <Properties> <Property name="module" value="external_control"/> </Properties> </Controller> </AssignControllerAction> <OverrideControllerValueAction> <Throttle value="0" active="false"/> <Brake value="0" active="false"/> <Clutch value="0" active="false"/> <ParkingBrake value="0" active="false"/> <SteeringWheel value="0" active="false"/> <Gear number="0" active="false"/> </OverrideControllerValueAction> </ControllerAction> </PrivateAction> </Private> <Private entityRef="adversary"> <PrivateAction> <TeleportAction> <Position> <WorldPosition x="-9.4" y="-71.0" z="0.5" h="1.57079632679"/> </Position> </TeleportAction> </PrivateAction> </Private> <Private entityRef="standing"> <PrivateAction> <TeleportAction> <Position> <WorldPosition x="-8.2" y="29.2" z="0.5" h="1.57079632679"/> </Position> </TeleportAction> </PrivateAction> </Private> <Private entityRef="pedestrian_close_to_adversary_7581"> <PrivateAction> <TeleportAction> <Position> <WorldPosition x="-5.87066125869751" y="-60.82938766479492" z="0.03378261625766754"/> </Position> </TeleportAction> </PrivateAction> </Private> <Private entityRef="pedestrian_w_transform_7582"> <PrivateAction> <TeleportAction> <Position> <WorldPosition x="43.40922927856445" y="-23.616058349609375" z="0.5"/> </Position> </TeleportAction> </PrivateAction> </Private> <Private entityRef="pedestrian_w_transform_7583"> <PrivateAction> <TeleportAction> <Position> <WorldPosition x="-32.42446517944336" y="-96.88687133789062" z="0.5"/> </Position> </TeleportAction> </PrivateAction> </Private> <Private entityRef="pedestrian_close_to_adversary_7584"> <PrivateAction> <TeleportAction> <Position> <WorldPosition x="-6.630059719085693" y="-69.83977508544922" z="0.03377975523471832"/> </Position> </TeleportAction> </PrivateAction> </Private> <Private entityRef="pedestrian_close_to_hero_7585"> <PrivateAction> <TeleportAction> <Position> <WorldPosition x="-12.236760139465332" y="-144.75570678710938" z="0.0014286803780123591"/> </Position> </TeleportAction> </PrivateAction> </Private> <Private entityRef="pedestrian_w_transform_7586"> <PrivateAction> <TeleportAction> <Position> <WorldPosition x="-83.24069213867188" y="-96.04468536376953" z="0.5"/> </Position> </TeleportAction> </PrivateAction> </Private> </Actions> </Init> <Story name="MyStory"> <Act name="Behavior"> <ManeuverGroup maximumExecutionCount="1" name="ManeuverSequence"> <Actors selectTriggeringEntities="false"> <EntityRef entityRef="adversary"/> </Actors> <Maneuver name="LaneChangeSimpleManeuver"> <Event name="AdversaryAccelerates" priority="overwrite"> <Action name="AdversaryAccelerates"> <PrivateAction> <LongitudinalAction> <SpeedAction> <SpeedActionDynamics dynamicsShape="step" value="50" dynamicsDimension="distance"/> <SpeedActionTarget> <AbsoluteTargetSpeed value="5.0"/> </SpeedActionTarget> </SpeedAction> </LongitudinalAction> </PrivateAction> </Action> <StartTrigger> <ConditionGroup> <Condition name="StartCondition" delay="0" conditionEdge="rising"> <ByEntityCondition> <TriggeringEntities triggeringEntitiesRule="any"> <EntityRef entityRef="hero"/> </TriggeringEntities> <EntityCondition> <RelativeDistanceCondition entityRef="adversary" relativeDistanceType="cartesianDistance" value="40.0" freespace="false" rule="lessThan"/> </EntityCondition> </ByEntityCondition> </Condition> </ConditionGroup> </StartTrigger> </Event> <Event name="AdversaryChangesLane" priority="overwrite"> <Action name="AdversaryChangesLane"> <PrivateAction> <LateralAction> <LaneChangeAction> <LaneChangeActionDynamics dynamicsShape="linear" value="25" dynamicsDimension="distance"/> <LaneChangeTarget> <RelativeTargetLane entityRef="adversary" value="-1"/> </LaneChangeTarget> </LaneChangeAction> </LateralAction> </PrivateAction> </Action> <StartTrigger> <ConditionGroup> <Condition name="AfterAdversaryAccelerates" delay="0" conditionEdge="rising"> <ByValueCondition> <StoryboardElementStateCondition storyboardElementType="action" storyboardElementRef="AdversaryAccelerates" state="completeState"/> </ByValueCondition> </Condition> </ConditionGroup> </StartTrigger> </Event> </Maneuver> </ManeuverGroup> <StartTrigger> <ConditionGroup> <Condition name="OverallStartCondition" delay="0" conditionEdge="rising"> <ByEntityCondition> <TriggeringEntities triggeringEntitiesRule="any"> <EntityRef entityRef="hero"/> </TriggeringEntities> <EntityCondition> <TraveledDistanceCondition value="1.0"/> </EntityCondition> </ByEntityCondition> </Condition> <Condition name="StartTime" delay="0" conditionEdge="rising"> <ByValueCondition> <SimulationTimeCondition value="0" rule="equalTo"/> </ByValueCondition> </Condition> </ConditionGroup> </StartTrigger> <StopTrigger> <ConditionGroup> <Condition name="EndCondition" delay="0" conditionEdge="rising"> <ByEntityCondition> <TriggeringEntities triggeringEntitiesRule="any"> <EntityRef entityRef="hero"/> </TriggeringEntities> <EntityCondition> <TraveledDistanceCondition value="200.0"/> </EntityCondition> </ByEntityCondition> </Condition> </ConditionGroup> </StopTrigger> </Act> </Story> <StopTrigger> <ConditionGroup> <Condition name="criteria_RunningStopTest" delay="0" conditionEdge="rising"> <ByValueCondition> <ParameterCondition parameterRef="" value="" rule="lessThan"/> </ByValueCondition> </Condition> <Condition name="criteria_RunningRedLightTest" delay="0" conditionEdge="rising"> <ByValueCondition> <ParameterCondition parameterRef="" value="" rule="lessThan"/> </ByValueCondition> </Condition> <Condition name="criteria_WrongLaneTest" delay="0" conditionEdge="rising"> <ByValueCondition> <ParameterCondition parameterRef="" value="" rule="lessThan"/> </ByValueCondition> </Condition> <Condition name="criteria_OnSidewalkTest" delay="0" conditionEdge="rising"> <ByValueCondition> <ParameterCondition parameterRef="" value="" rule="lessThan"/> </ByValueCondition> </Condition> <Condition name="criteria_KeepLaneTest" delay="0" conditionEdge="rising"> <ByValueCondition> <ParameterCondition parameterRef="" value="" rule="lessThan"/> </ByValueCondition> </Condition> <Condition name="criteria_CollisionTest" delay="0" conditionEdge="rising"> <ByValueCondition> <ParameterCondition parameterRef="" value="" rule="lessThan"/> </ByValueCondition> </Condition> <Condition name="criteria_DrivenDistanceTest" delay="0" conditionEdge="rising"> <ByValueCondition> <ParameterCondition parameterRef="distance_success" value="100" rule="lessThan"/> </ByValueCondition> </Condition> </ConditionGroup> </StopTrigger> </Storyboard> </OpenSCENARIO> ```
i would like to command you to add pedestrian close to standing? ``` <?xml version="1.0" ?> <OpenSCENARIO> <FileHeader revMajor="1" revMinor="0" date="2020-03-24T12:00:00" description="CARLA:LaneChangeSimple" author=""/> <ParameterDeclarations/> <CatalogLocations/> <RoadNetwork> <LogicFile filepath="Town04"/> <SceneGraphFile filepath=""/> </RoadNetwork> <Entities> <ScenarioObject name="hero"> <Vehicle name="vehicle.tesla.model3" vehicleCategory="car"> <ParameterDeclarations/> <Performance maxSpeed="69.444" maxAcceleration="200" maxDeceleration="10.0"/> <BoundingBox> <Center x="1.5" y="0.0" z="0.9"/> <Dimensions width="2.1" length="4.5" height="1.8"/> </BoundingBox> <Axles> <FrontAxle maxSteering="0.5" wheelDiameter="0.6" trackWidth="1.8" positionX="3.1" positionZ="0.3"/> <RearAxle maxSteering="0.0" wheelDiameter="0.6" trackWidth="1.8" positionX="0.0" positionZ="0.3"/> </Axles> <Properties> <Property name="type" value="ego_vehicle"/> </Properties> </Vehicle> </ScenarioObject> <ScenarioObject name="adversary"> <Vehicle name="vehicle.lincoln.mkz_2017" vehicleCategory="car"> <ParameterDeclarations/> <Performance maxSpeed="69.444" maxAcceleration="200" maxDeceleration="10.0"/> <BoundingBox> <Center x="1.5" y="0.0" z="0.9"/> <Dimensions width="2.1" length="4.5" height="1.8"/> </BoundingBox> <Axles> <FrontAxle maxSteering="0.5" wheelDiameter="0.6" trackWidth="1.8" positionX="3.1" positionZ="0.3"/> <RearAxle maxSteering="0.0" wheelDiameter="0.6" trackWidth="1.8" positionX="0.0" positionZ="0.3"/> </Axles> <Properties> <Property name="type" value="simulation"/> </Properties> </Vehicle> </ScenarioObject> <ScenarioObject name="standing"> <Vehicle name="vehicle.volkswagen.t2" vehicleCategory="car"> <ParameterDeclarations/> <Performance maxSpeed="69.444" maxAcceleration="200" maxDeceleration="10.0"/> <BoundingBox> <Center x="1.5" y="0.0" z="0.9"/> <Dimensions width="2.1" length="4.5" height="1.8"/> </BoundingBox> <Axles> <FrontAxle maxSteering="0.5" wheelDiameter="0.6" trackWidth="1.8" positionX="3.1" positionZ="0.3"/> <RearAxle maxSteering="0.0" wheelDiameter="0.6" trackWidth="1.8" positionX="0.0" positionZ="0.3"/> </Axles> <Properties> <Property name="type" value="simulation"/> </Properties> </Vehicle> </ScenarioObject> <ScenarioObject name="pedestrian_close_to_standing_2780"> <Pedestrian model="walker.pedestrian.0001" mass="80" name="walker.pedestrian.0001" pedestrianCategory="pedestrian"> <ParameterDeclarations/> <BoundingBox> <Center x="1.5" y="0.0" z="0.9"/> <Dimensions width="2" length="2" height="2"/> </BoundingBox> <Properties> <Property name="type" value="simulation"/> </Properties> </Pedestrian> </ScenarioObject> <ScenarioObject name="pedestrian_close_to_standing_2781"> <Pedestrian model="walker.pedestrian.0001" mass="80" name="walker.pedestrian.0001" pedestrianCategory="pedestrian"> <ParameterDeclarations/> <BoundingBox> <Center x="1.5" y="0.0" z="0.9"/> <Dimensions width="2" length="2" height="2"/> </BoundingBox> <Properties> <Property name="type" value="simulation"/> </Properties> </Pedestrian> </ScenarioObject> </Entities> <Storyboard> <Init> <Actions> <GlobalAction> <EnvironmentAction> <Environment name="Environment1"> <TimeOfDay animation="false" dateTime="2019-06-25T12:00:00"/> <Weather cloudState="free"> <Sun intensity="0.85" azimuth="0" elevation="1.31"/> <Fog visualRange="100000.0"/> <Precipitation precipitationType="dry" intensity="0.0"/> </Weather> <RoadCondition frictionScaleFactor="1.0"/> </Environment> </EnvironmentAction> </GlobalAction> <Private entityRef="hero"> <PrivateAction> <TeleportAction> <Position> <WorldPosition x="-9.4" y="-152.8" z="0.5" h="1.57079632679"/> </Position> </TeleportAction> </PrivateAction> <PrivateAction> <ControllerAction> <AssignControllerAction> <Controller name="HeroAgent"> <Properties> <Property name="module" value="external_control"/> </Properties> </Controller> </AssignControllerAction> <OverrideControllerValueAction> <Throttle value="0" active="false"/> <Brake value="0" active="false"/> <Clutch value="0" active="false"/> <ParkingBrake value="0" active="false"/> <SteeringWheel value="0" active="false"/> <Gear number="0" active="false"/> </OverrideControllerValueAction> </ControllerAction> </PrivateAction> </Private> <Private entityRef="adversary"> <PrivateAction> <TeleportAction> <Position> <WorldPosition x="-9.4" y="-71.0" z="0.5" h="1.57079632679"/> </Position> </TeleportAction> </PrivateAction> </Private> <Private entityRef="standing"> <PrivateAction> <TeleportAction> <Position> <WorldPosition x="-8.2" y="29.2" z="0.5" h="1.57079632679"/> </Position> </TeleportAction> </PrivateAction> </Private> <Private entityRef="pedestrian_close_to_standing_2780"> <PrivateAction> <TeleportAction> <Position> <WorldPosition x="-1.3619611263275146" y="35.250274658203125" z="0.0030813217163085938"/> </Position> </TeleportAction> </PrivateAction> </Private> <Private entityRef="pedestrian_close_to_standing_2781"> <PrivateAction> <TeleportAction> <Position> <WorldPosition x="-2.1111042499542236" y="38.107662200927734" z="0.0030756378546357155"/> </Position> </TeleportAction> </PrivateAction> </Private> </Actions> </Init> <Story name="MyStory"> <Act name="Behavior"> <ManeuverGroup maximumExecutionCount="1" name="ManeuverSequence"> <Actors selectTriggeringEntities="false"> <EntityRef entityRef="adversary"/> </Actors> <Maneuver name="LaneChangeSimpleManeuver"> <Event name="AdversaryAccelerates" priority="overwrite"> <Action name="AdversaryAccelerates"> <PrivateAction> <LongitudinalAction> <SpeedAction> <SpeedActionDynamics dynamicsShape="step" value="50" dynamicsDimension="distance"/> <SpeedActionTarget> <AbsoluteTargetSpeed value="5.0"/> </SpeedActionTarget> </SpeedAction> </LongitudinalAction> </PrivateAction> </Action> <StartTrigger> <ConditionGroup> <Condition name="StartCondition" delay="0" conditionEdge="rising"> <ByEntityCondition> <TriggeringEntities triggeringEntitiesRule="any"> <EntityRef entityRef="hero"/> </TriggeringEntities> <EntityCondition> <RelativeDistanceCondition entityRef="adversary" relativeDistanceType="cartesianDistance" value="40.0" freespace="false" rule="lessThan"/> </EntityCondition> </ByEntityCondition> </Condition> </ConditionGroup> </StartTrigger> </Event> <Event name="AdversaryChangesLane" priority="overwrite"> <Action name="AdversaryChangesLane"> <PrivateAction> <LateralAction> <LaneChangeAction> <LaneChangeActionDynamics dynamicsShape="linear" value="25" dynamicsDimension="distance"/> <LaneChangeTarget> <RelativeTargetLane entityRef="adversary" value="-1"/> </LaneChangeTarget> </LaneChangeAction> </LateralAction> </PrivateAction> </Action> <StartTrigger> <ConditionGroup> <Condition name="AfterAdversaryAccelerates" delay="0" conditionEdge="rising"> <ByValueCondition> <StoryboardElementStateCondition storyboardElementType="action" storyboardElementRef="AdversaryAccelerates" state="completeState"/> </ByValueCondition> </Condition> </ConditionGroup> </StartTrigger> </Event> </Maneuver> </ManeuverGroup> <StartTrigger> <ConditionGroup> <Condition name="OverallStartCondition" delay="0" conditionEdge="rising"> <ByEntityCondition> <TriggeringEntities triggeringEntitiesRule="any"> <EntityRef entityRef="hero"/> </TriggeringEntities> <EntityCondition> <TraveledDistanceCondition value="1.0"/> </EntityCondition> </ByEntityCondition> </Condition> <Condition name="StartTime" delay="0" conditionEdge="rising"> <ByValueCondition> <SimulationTimeCondition value="0" rule="equalTo"/> </ByValueCondition> </Condition> </ConditionGroup> </StartTrigger> <StopTrigger> <ConditionGroup> <Condition name="EndCondition" delay="0" conditionEdge="rising"> <ByEntityCondition> <TriggeringEntities triggeringEntitiesRule="any"> <EntityRef entityRef="hero"/> </TriggeringEntities> <EntityCondition> <TraveledDistanceCondition value="200.0"/> </EntityCondition> </ByEntityCondition> </Condition> </ConditionGroup> </StopTrigger> </Act> </Story> <StopTrigger> <ConditionGroup> <Condition name="criteria_RunningStopTest" delay="0" conditionEdge="rising"> <ByValueCondition> <ParameterCondition parameterRef="" value="" rule="lessThan"/> </ByValueCondition> </Condition> <Condition name="criteria_RunningRedLightTest" delay="0" conditionEdge="rising"> <ByValueCondition> <ParameterCondition parameterRef="" value="" rule="lessThan"/> </ByValueCondition> </Condition> <Condition name="criteria_WrongLaneTest" delay="0" conditionEdge="rising"> <ByValueCondition> <ParameterCondition parameterRef="" value="" rule="lessThan"/> </ByValueCondition> </Condition> <Condition name="criteria_OnSidewalkTest" delay="0" conditionEdge="rising"> <ByValueCondition> <ParameterCondition parameterRef="" value="" rule="lessThan"/> </ByValueCondition> </Condition> <Condition name="criteria_KeepLaneTest" delay="0" conditionEdge="rising"> <ByValueCondition> <ParameterCondition parameterRef="" value="" rule="lessThan"/> </ByValueCondition> </Condition> <Condition name="criteria_CollisionTest" delay="0" conditionEdge="rising"> <ByValueCondition> <ParameterCondition parameterRef="" value="" rule="lessThan"/> </ByValueCondition> </Condition> <Condition name="criteria_DrivenDistanceTest" delay="0" conditionEdge="rising"> <ByValueCondition> <ParameterCondition parameterRef="distance_success" value="100" rule="lessThan"/> </ByValueCondition> </Condition> </ConditionGroup> </StopTrigger> </Storyboard> </OpenSCENARIO> ```
Here is the result: ``` <?xml version="1.0" ?> <OpenSCENARIO> <FileHeader revMajor="1" revMinor="0" date="2020-03-24T12:00:00" description="CARLA:LaneChangeSimple" author=""/> <ParameterDeclarations/> <CatalogLocations/> <RoadNetwork> <LogicFile filepath="Town04"/> <SceneGraphFile filepath=""/> </RoadNetwork> <Entities> <ScenarioObject name="hero"> <Vehicle name="vehicle.tesla.model3" vehicleCategory="car"> <ParameterDeclarations/> <Performance maxSpeed="69.444" maxAcceleration="200" maxDeceleration="10.0"/> <BoundingBox> <Center x="1.5" y="0.0" z="0.9"/> <Dimensions width="2.1" length="4.5" height="1.8"/> </BoundingBox> <Axles> <FrontAxle maxSteering="0.5" wheelDiameter="0.6" trackWidth="1.8" positionX="3.1" positionZ="0.3"/> <RearAxle maxSteering="0.0" wheelDiameter="0.6" trackWidth="1.8" positionX="0.0" positionZ="0.3"/> </Axles> <Properties> <Property name="type" value="ego_vehicle"/> </Properties> </Vehicle> </ScenarioObject> <ScenarioObject name="adversary"> <Vehicle name="vehicle.lincoln.mkz_2017" vehicleCategory="car"> <ParameterDeclarations/> <Performance maxSpeed="69.444" maxAcceleration="200" maxDeceleration="10.0"/> <BoundingBox> <Center x="1.5" y="0.0" z="0.9"/> <Dimensions width="2.1" length="4.5" height="1.8"/> </BoundingBox> <Axles> <FrontAxle maxSteering="0.5" wheelDiameter="0.6" trackWidth="1.8" positionX="3.1" positionZ="0.3"/> <RearAxle maxSteering="0.0" wheelDiameter="0.6" trackWidth="1.8" positionX="0.0" positionZ="0.3"/> </Axles> <Properties> <Property name="type" value="simulation"/> </Properties> </Vehicle> </ScenarioObject> <ScenarioObject name="standing"> <Vehicle name="vehicle.volkswagen.t2" vehicleCategory="car"> <ParameterDeclarations/> <Performance maxSpeed="69.444" maxAcceleration="200" maxDeceleration="10.0"/> <BoundingBox> <Center x="1.5" y="0.0" z="0.9"/> <Dimensions width="2.1" length="4.5" height="1.8"/> </BoundingBox> <Axles> <FrontAxle maxSteering="0.5" wheelDiameter="0.6" trackWidth="1.8" positionX="3.1" positionZ="0.3"/> <RearAxle maxSteering="0.0" wheelDiameter="0.6" trackWidth="1.8" positionX="0.0" positionZ="0.3"/> </Axles> <Properties> <Property name="type" value="simulation"/> </Properties> </Vehicle> </ScenarioObject> <ScenarioObject name="pedestrian_close_to_standing_2780"> <Pedestrian model="walker.pedestrian.0001" mass="80" name="walker.pedestrian.0001" pedestrianCategory="pedestrian"> <ParameterDeclarations/> <BoundingBox> <Center x="1.5" y="0.0" z="0.9"/> <Dimensions width="2" length="2" height="2"/> </BoundingBox> <Properties> <Property name="type" value="simulation"/> </Properties> </Pedestrian> </ScenarioObject> <ScenarioObject name="pedestrian_close_to_standing_2781"> <Pedestrian model="walker.pedestrian.0001" mass="80" name="walker.pedestrian.0001" pedestrianCategory="pedestrian"> <ParameterDeclarations/> <BoundingBox> <Center x="1.5" y="0.0" z="0.9"/> <Dimensions width="2" length="2" height="2"/> </BoundingBox> <Properties> <Property name="type" value="simulation"/> </Properties> </Pedestrian> </ScenarioObject> <ScenarioObject name="pedestrian_close_to_standing_2782"> <Pedestrian model="walker.pedestrian.0001" mass="80" name="walker.pedestrian.0001" pedestrianCategory="pedestrian"> <ParameterDeclarations/> <BoundingBox> <Center x="1.5" y="0.0" z="0.9"/> <Dimensions width="2" length="2" height="2"/> </BoundingBox> <Properties> <Property name="type" value="simulation"/> </Properties> </Pedestrian> </ScenarioObject> </Entities> <Storyboard> <Init> <Actions> <GlobalAction> <EnvironmentAction> <Environment name="Environment1"> <TimeOfDay animation="false" dateTime="2019-06-25T12:00:00"/> <Weather cloudState="free"> <Sun intensity="0.85" azimuth="0" elevation="1.31"/> <Fog visualRange="100000.0"/> <Precipitation precipitationType="dry" intensity="0.0"/> </Weather> <RoadCondition frictionScaleFactor="1.0"/> </Environment> </EnvironmentAction> </GlobalAction> <Private entityRef="hero"> <PrivateAction> <TeleportAction> <Position> <WorldPosition x="-9.4" y="-152.8" z="0.5" h="1.57079632679"/> </Position> </TeleportAction> </PrivateAction> <PrivateAction> <ControllerAction> <AssignControllerAction> <Controller name="HeroAgent"> <Properties> <Property name="module" value="external_control"/> </Properties> </Controller> </AssignControllerAction> <OverrideControllerValueAction> <Throttle value="0" active="false"/> <Brake value="0" active="false"/> <Clutch value="0" active="false"/> <ParkingBrake value="0" active="false"/> <SteeringWheel value="0" active="false"/> <Gear number="0" active="false"/> </OverrideControllerValueAction> </ControllerAction> </PrivateAction> </Private> <Private entityRef="adversary"> <PrivateAction> <TeleportAction> <Position> <WorldPosition x="-9.4" y="-71.0" z="0.5" h="1.57079632679"/> </Position> </TeleportAction> </PrivateAction> </Private> <Private entityRef="standing"> <PrivateAction> <TeleportAction> <Position> <WorldPosition x="-8.2" y="29.2" z="0.5" h="1.57079632679"/> </Position> </TeleportAction> </PrivateAction> </Private> <Private entityRef="pedestrian_close_to_standing_2780"> <PrivateAction> <TeleportAction> <Position> <WorldPosition x="-1.3619611263275146" y="35.250274658203125" z="0.0030813217163085938"/> </Position> </TeleportAction> </PrivateAction> </Private> <Private entityRef="pedestrian_close_to_standing_2781"> <PrivateAction> <TeleportAction> <Position> <WorldPosition x="-2.1111042499542236" y="38.107662200927734" z="0.0030756378546357155"/> </Position> </TeleportAction> </PrivateAction> </Private> <Private entityRef="pedestrian_close_to_standing_2782"> <PrivateAction> <TeleportAction> <Position> <WorldPosition x="1.4521645307540894" y="24.03856086730957" z="0.00307464599609375"/> </Position> </TeleportAction> </PrivateAction> </Private> </Actions> </Init> <Story name="MyStory"> <Act name="Behavior"> <ManeuverGroup maximumExecutionCount="1" name="ManeuverSequence"> <Actors selectTriggeringEntities="false"> <EntityRef entityRef="adversary"/> </Actors> <Maneuver name="LaneChangeSimpleManeuver"> <Event name="AdversaryAccelerates" priority="overwrite"> <Action name="AdversaryAccelerates"> <PrivateAction> <LongitudinalAction> <SpeedAction> <SpeedActionDynamics dynamicsShape="step" value="50" dynamicsDimension="distance"/> <SpeedActionTarget> <AbsoluteTargetSpeed value="5.0"/> </SpeedActionTarget> </SpeedAction> </LongitudinalAction> </PrivateAction> </Action> <StartTrigger> <ConditionGroup> <Condition name="StartCondition" delay="0" conditionEdge="rising"> <ByEntityCondition> <TriggeringEntities triggeringEntitiesRule="any"> <EntityRef entityRef="hero"/> </TriggeringEntities> <EntityCondition> <RelativeDistanceCondition entityRef="adversary" relativeDistanceType="cartesianDistance" value="40.0" freespace="false" rule="lessThan"/> </EntityCondition> </ByEntityCondition> </Condition> </ConditionGroup> </StartTrigger> </Event> <Event name="AdversaryChangesLane" priority="overwrite"> <Action name="AdversaryChangesLane"> <PrivateAction> <LateralAction> <LaneChangeAction> <LaneChangeActionDynamics dynamicsShape="linear" value="25" dynamicsDimension="distance"/> <LaneChangeTarget> <RelativeTargetLane entityRef="adversary" value="-1"/> </LaneChangeTarget> </LaneChangeAction> </LateralAction> </PrivateAction> </Action> <StartTrigger> <ConditionGroup> <Condition name="AfterAdversaryAccelerates" delay="0" conditionEdge="rising"> <ByValueCondition> <StoryboardElementStateCondition storyboardElementType="action" storyboardElementRef="AdversaryAccelerates" state="completeState"/> </ByValueCondition> </Condition> </ConditionGroup> </StartTrigger> </Event> </Maneuver> </ManeuverGroup> <StartTrigger> <ConditionGroup> <Condition name="OverallStartCondition" delay="0" conditionEdge="rising"> <ByEntityCondition> <TriggeringEntities triggeringEntitiesRule="any"> <EntityRef entityRef="hero"/> </TriggeringEntities> <EntityCondition> <TraveledDistanceCondition value="1.0"/> </EntityCondition> </ByEntityCondition> </Condition> <Condition name="StartTime" delay="0" conditionEdge="rising"> <ByValueCondition> <SimulationTimeCondition value="0" rule="equalTo"/> </ByValueCondition> </Condition> </ConditionGroup> </StartTrigger> <StopTrigger> <ConditionGroup> <Condition name="EndCondition" delay="0" conditionEdge="rising"> <ByEntityCondition> <TriggeringEntities triggeringEntitiesRule="any"> <EntityRef entityRef="hero"/> </TriggeringEntities> <EntityCondition> <TraveledDistanceCondition value="200.0"/> </EntityCondition> </ByEntityCondition> </Condition> </ConditionGroup> </StopTrigger> </Act> </Story> <StopTrigger> <ConditionGroup> <Condition name="criteria_RunningStopTest" delay="0" conditionEdge="rising"> <ByValueCondition> <ParameterCondition parameterRef="" value="" rule="lessThan"/> </ByValueCondition> </Condition> <Condition name="criteria_RunningRedLightTest" delay="0" conditionEdge="rising"> <ByValueCondition> <ParameterCondition parameterRef="" value="" rule="lessThan"/> </ByValueCondition> </Condition> <Condition name="criteria_WrongLaneTest" delay="0" conditionEdge="rising"> <ByValueCondition> <ParameterCondition parameterRef="" value="" rule="lessThan"/> </ByValueCondition> </Condition> <Condition name="criteria_OnSidewalkTest" delay="0" conditionEdge="rising"> <ByValueCondition> <ParameterCondition parameterRef="" value="" rule="lessThan"/> </ByValueCondition> </Condition> <Condition name="criteria_KeepLaneTest" delay="0" conditionEdge="rising"> <ByValueCondition> <ParameterCondition parameterRef="" value="" rule="lessThan"/> </ByValueCondition> </Condition> <Condition name="criteria_CollisionTest" delay="0" conditionEdge="rising"> <ByValueCondition> <ParameterCondition parameterRef="" value="" rule="lessThan"/> </ByValueCondition> </Condition> <Condition name="criteria_DrivenDistanceTest" delay="0" conditionEdge="rising"> <ByValueCondition> <ParameterCondition parameterRef="distance_success" value="100" rule="lessThan"/> </ByValueCondition> </Condition> </ConditionGroup> </StopTrigger> </Storyboard> </OpenSCENARIO> ```
i would like to order you to remove pedestrian actor named pedestrian_w_transform_18020? ``` <?xml version="1.0" ?> <OpenSCENARIO> <FileHeader revMajor="1" revMinor="0" date="2020-03-24T12:00:00" description="CARLA:LaneChangeSimple" author=""/> <ParameterDeclarations/> <CatalogLocations/> <RoadNetwork> <LogicFile filepath="Town04"/> <SceneGraphFile filepath=""/> </RoadNetwork> <Entities> <ScenarioObject name="hero"> <Vehicle name="vehicle.tesla.model3" vehicleCategory="car"> <ParameterDeclarations/> <Performance maxSpeed="69.444" maxAcceleration="200" maxDeceleration="10.0"/> <BoundingBox> <Center x="1.5" y="0.0" z="0.9"/> <Dimensions width="2.1" length="4.5" height="1.8"/> </BoundingBox> <Axles> <FrontAxle maxSteering="0.5" wheelDiameter="0.6" trackWidth="1.8" positionX="3.1" positionZ="0.3"/> <RearAxle maxSteering="0.0" wheelDiameter="0.6" trackWidth="1.8" positionX="0.0" positionZ="0.3"/> </Axles> <Properties> <Property name="type" value="ego_vehicle"/> </Properties> </Vehicle> </ScenarioObject> <ScenarioObject name="adversary"> <Vehicle name="vehicle.lincoln.mkz_2017" vehicleCategory="car"> <ParameterDeclarations/> <Performance maxSpeed="69.444" maxAcceleration="200" maxDeceleration="10.0"/> <BoundingBox> <Center x="1.5" y="0.0" z="0.9"/> <Dimensions width="2.1" length="4.5" height="1.8"/> </BoundingBox> <Axles> <FrontAxle maxSteering="0.5" wheelDiameter="0.6" trackWidth="1.8" positionX="3.1" positionZ="0.3"/> <RearAxle maxSteering="0.0" wheelDiameter="0.6" trackWidth="1.8" positionX="0.0" positionZ="0.3"/> </Axles> <Properties> <Property name="type" value="simulation"/> </Properties> </Vehicle> </ScenarioObject> <ScenarioObject name="standing"> <Vehicle name="vehicle.volkswagen.t2" vehicleCategory="car"> <ParameterDeclarations/> <Performance maxSpeed="69.444" maxAcceleration="200" maxDeceleration="10.0"/> <BoundingBox> <Center x="1.5" y="0.0" z="0.9"/> <Dimensions width="2.1" length="4.5" height="1.8"/> </BoundingBox> <Axles> <FrontAxle maxSteering="0.5" wheelDiameter="0.6" trackWidth="1.8" positionX="3.1" positionZ="0.3"/> <RearAxle maxSteering="0.0" wheelDiameter="0.6" trackWidth="1.8" positionX="0.0" positionZ="0.3"/> </Axles> <Properties> <Property name="type" value="simulation"/> </Properties> </Vehicle> </ScenarioObject> <ScenarioObject name="pedestrian_close_to_hero_18019"> <Pedestrian model="walker.pedestrian.0001" mass="80" name="walker.pedestrian.0001" pedestrianCategory="pedestrian"> <ParameterDeclarations/> <BoundingBox> <Center x="1.5" y="0.0" z="0.9"/> <Dimensions width="2" length="2" height="2"/> </BoundingBox> <Properties> <Property name="type" value="simulation"/> </Properties> </Pedestrian> </ScenarioObject> <ScenarioObject name="pedestrian_w_transform_18020"> <Pedestrian model="walker.pedestrian.0001" mass="80" name="walker.pedestrian.0001" pedestrianCategory="pedestrian"> <ParameterDeclarations/> <BoundingBox> <Center x="1.5" y="0.0" z="0.9"/> <Dimensions width="2" length="2" height="2"/> </BoundingBox> <Properties> <Property name="type" value="simulation"/> </Properties> </Pedestrian> </ScenarioObject> <ScenarioObject name="pedestrian_close_to_standing_18021"> <Pedestrian model="walker.pedestrian.0001" mass="80" name="walker.pedestrian.0001" pedestrianCategory="pedestrian"> <ParameterDeclarations/> <BoundingBox> <Center x="1.5" y="0.0" z="0.9"/> <Dimensions width="2" length="2" height="2"/> </BoundingBox> <Properties> <Property name="type" value="simulation"/> </Properties> </Pedestrian> </ScenarioObject> <ScenarioObject name="pedestrian_close_to_adversary_18023"> <Pedestrian model="walker.pedestrian.0001" mass="80" name="walker.pedestrian.0001" pedestrianCategory="pedestrian"> <ParameterDeclarations/> <BoundingBox> <Center x="1.5" y="0.0" z="0.9"/> <Dimensions width="2" length="2" height="2"/> </BoundingBox> <Properties> <Property name="type" value="simulation"/> </Properties> </Pedestrian> </ScenarioObject> <ScenarioObject name="pedestrian_close_to_hero_18024"> <Pedestrian model="walker.pedestrian.0001" mass="80" name="walker.pedestrian.0001" pedestrianCategory="pedestrian"> <ParameterDeclarations/> <BoundingBox> <Center x="1.5" y="0.0" z="0.9"/> <Dimensions width="2" length="2" height="2"/> </BoundingBox> <Properties> <Property name="type" value="simulation"/> </Properties> </Pedestrian> </ScenarioObject> <ScenarioObject name="pedestrian_w_transform_18025"> <Pedestrian model="walker.pedestrian.0001" mass="80" name="walker.pedestrian.0001" pedestrianCategory="pedestrian"> <ParameterDeclarations/> <BoundingBox> <Center x="1.5" y="0.0" z="0.9"/> <Dimensions width="2" length="2" height="2"/> </BoundingBox> <Properties> <Property name="type" value="simulation"/> </Properties> </Pedestrian> </ScenarioObject> </Entities> <Storyboard> <Init> <Actions> <GlobalAction> <EnvironmentAction> <Environment name="Environment1"> <TimeOfDay animation="false" dateTime="2019-06-25T12:00:00"/> <Weather cloudState="free"> <Sun intensity="0.85" azimuth="0" elevation="1.31"/> <Fog visualRange="100000.0"/> <Precipitation precipitationType="dry" intensity="0.0"/> </Weather> <RoadCondition frictionScaleFactor="1.0"/> </Environment> </EnvironmentAction> </GlobalAction> <Private entityRef="hero"> <PrivateAction> <TeleportAction> <Position> <WorldPosition x="-9.4" y="-152.8" z="0.5" h="1.57079632679"/> </Position> </TeleportAction> </PrivateAction> <PrivateAction> <ControllerAction> <AssignControllerAction> <Controller name="HeroAgent"> <Properties> <Property name="module" value="external_control"/> </Properties> </Controller> </AssignControllerAction> <OverrideControllerValueAction> <Throttle value="0" active="false"/> <Brake value="0" active="false"/> <Clutch value="0" active="false"/> <ParkingBrake value="0" active="false"/> <SteeringWheel value="0" active="false"/> <Gear number="0" active="false"/> </OverrideControllerValueAction> </ControllerAction> </PrivateAction> </Private> <Private entityRef="adversary"> <PrivateAction> <TeleportAction> <Position> <WorldPosition x="-9.4" y="-71.0" z="0.5" h="1.57079632679"/> </Position> </TeleportAction> </PrivateAction> </Private> <Private entityRef="standing"> <PrivateAction> <TeleportAction> <Position> <WorldPosition x="-8.2" y="29.2" z="0.5" h="1.57079632679"/> </Position> </TeleportAction> </PrivateAction> </Private> <Private entityRef="pedestrian_close_to_hero_18019"> <PrivateAction> <TeleportAction> <Position> <WorldPosition x="0.5294919013977051" y="-150.5009307861328" z="0.0014286803780123591"/> </Position> </TeleportAction> </PrivateAction> </Private> <Private entityRef="pedestrian_w_transform_18020"> <PrivateAction> <TeleportAction> <Position> <WorldPosition x="-74.0193099975586" y="48.49234390258789" z="0.5"/> </Position> </TeleportAction> </PrivateAction> </Private> <Private entityRef="pedestrian_close_to_standing_18021"> <PrivateAction> <TeleportAction> <Position> <WorldPosition x="-14.514132499694824" y="26.078996658325195" z="0.0030741882510483265"/> </Position> </TeleportAction> </PrivateAction> </Private> <Private entityRef="pedestrian_close_to_adversary_18023"> <PrivateAction> <TeleportAction> <Position> <WorldPosition x="-16.20298194885254" y="-74.83879852294922" z="0.03381320834159851"/> </Position> </TeleportAction> </PrivateAction> </Private> <Private entityRef="pedestrian_close_to_hero_18024"> <PrivateAction> <TeleportAction> <Position> <WorldPosition x="-10.515909194946289" y="-148.41873168945312" z="0.0014286803780123591"/> </Position> </TeleportAction> </PrivateAction> </Private> <Private entityRef="pedestrian_w_transform_18025"> <PrivateAction> <TeleportAction> <Position> <WorldPosition x="-62.0006103515625" y="96.13455200195312" z="0.5"/> </Position> </TeleportAction> </PrivateAction> </Private> </Actions> </Init> <Story name="MyStory"> <Act name="Behavior"> <ManeuverGroup maximumExecutionCount="1" name="ManeuverSequence"> <Actors selectTriggeringEntities="false"> <EntityRef entityRef="adversary"/> </Actors> <Maneuver name="LaneChangeSimpleManeuver"> <Event name="AdversaryAccelerates" priority="overwrite"> <Action name="AdversaryAccelerates"> <PrivateAction> <LongitudinalAction> <SpeedAction> <SpeedActionDynamics dynamicsShape="step" value="50" dynamicsDimension="distance"/> <SpeedActionTarget> <AbsoluteTargetSpeed value="5.0"/> </SpeedActionTarget> </SpeedAction> </LongitudinalAction> </PrivateAction> </Action> <StartTrigger> <ConditionGroup> <Condition name="StartCondition" delay="0" conditionEdge="rising"> <ByEntityCondition> <TriggeringEntities triggeringEntitiesRule="any"> <EntityRef entityRef="hero"/> </TriggeringEntities> <EntityCondition> <RelativeDistanceCondition entityRef="adversary" relativeDistanceType="cartesianDistance" value="40.0" freespace="false" rule="lessThan"/> </EntityCondition> </ByEntityCondition> </Condition> </ConditionGroup> </StartTrigger> </Event> <Event name="AdversaryChangesLane" priority="overwrite"> <Action name="AdversaryChangesLane"> <PrivateAction> <LateralAction> <LaneChangeAction> <LaneChangeActionDynamics dynamicsShape="linear" value="25" dynamicsDimension="distance"/> <LaneChangeTarget> <RelativeTargetLane entityRef="adversary" value="-1"/> </LaneChangeTarget> </LaneChangeAction> </LateralAction> </PrivateAction> </Action> <StartTrigger> <ConditionGroup> <Condition name="AfterAdversaryAccelerates" delay="0" conditionEdge="rising"> <ByValueCondition> <StoryboardElementStateCondition storyboardElementType="action" storyboardElementRef="AdversaryAccelerates" state="completeState"/> </ByValueCondition> </Condition> </ConditionGroup> </StartTrigger> </Event> </Maneuver> </ManeuverGroup> <StartTrigger> <ConditionGroup> <Condition name="OverallStartCondition" delay="0" conditionEdge="rising"> <ByEntityCondition> <TriggeringEntities triggeringEntitiesRule="any"> <EntityRef entityRef="hero"/> </TriggeringEntities> <EntityCondition> <TraveledDistanceCondition value="1.0"/> </EntityCondition> </ByEntityCondition> </Condition> <Condition name="StartTime" delay="0" conditionEdge="rising"> <ByValueCondition> <SimulationTimeCondition value="0" rule="equalTo"/> </ByValueCondition> </Condition> </ConditionGroup> </StartTrigger> <StopTrigger> <ConditionGroup> <Condition name="EndCondition" delay="0" conditionEdge="rising"> <ByEntityCondition> <TriggeringEntities triggeringEntitiesRule="any"> <EntityRef entityRef="hero"/> </TriggeringEntities> <EntityCondition> <TraveledDistanceCondition value="200.0"/> </EntityCondition> </ByEntityCondition> </Condition> </ConditionGroup> </StopTrigger> </Act> </Story> <StopTrigger> <ConditionGroup> <Condition name="criteria_RunningStopTest" delay="0" conditionEdge="rising"> <ByValueCondition> <ParameterCondition parameterRef="" value="" rule="lessThan"/> </ByValueCondition> </Condition> <Condition name="criteria_RunningRedLightTest" delay="0" conditionEdge="rising"> <ByValueCondition> <ParameterCondition parameterRef="" value="" rule="lessThan"/> </ByValueCondition> </Condition> <Condition name="criteria_WrongLaneTest" delay="0" conditionEdge="rising"> <ByValueCondition> <ParameterCondition parameterRef="" value="" rule="lessThan"/> </ByValueCondition> </Condition> <Condition name="criteria_OnSidewalkTest" delay="0" conditionEdge="rising"> <ByValueCondition> <ParameterCondition parameterRef="" value="" rule="lessThan"/> </ByValueCondition> </Condition> <Condition name="criteria_KeepLaneTest" delay="0" conditionEdge="rising"> <ByValueCondition> <ParameterCondition parameterRef="" value="" rule="lessThan"/> </ByValueCondition> </Condition> <Condition name="criteria_CollisionTest" delay="0" conditionEdge="rising"> <ByValueCondition> <ParameterCondition parameterRef="" value="" rule="lessThan"/> </ByValueCondition> </Condition> <Condition name="criteria_DrivenDistanceTest" delay="0" conditionEdge="rising"> <ByValueCondition> <ParameterCondition parameterRef="distance_success" value="100" rule="lessThan"/> </ByValueCondition> </Condition> </ConditionGroup> </StopTrigger> </Storyboard> </OpenSCENARIO> ```
Here is the result: ``` <?xml version="1.0" ?> <OpenSCENARIO> <FileHeader revMajor="1" revMinor="0" date="2020-03-24T12:00:00" description="CARLA:LaneChangeSimple" author=""/> <ParameterDeclarations/> <CatalogLocations/> <RoadNetwork> <LogicFile filepath="Town04"/> <SceneGraphFile filepath=""/> </RoadNetwork> <Entities> <ScenarioObject name="hero"> <Vehicle name="vehicle.tesla.model3" vehicleCategory="car"> <ParameterDeclarations/> <Performance maxSpeed="69.444" maxAcceleration="200" maxDeceleration="10.0"/> <BoundingBox> <Center x="1.5" y="0.0" z="0.9"/> <Dimensions width="2.1" length="4.5" height="1.8"/> </BoundingBox> <Axles> <FrontAxle maxSteering="0.5" wheelDiameter="0.6" trackWidth="1.8" positionX="3.1" positionZ="0.3"/> <RearAxle maxSteering="0.0" wheelDiameter="0.6" trackWidth="1.8" positionX="0.0" positionZ="0.3"/> </Axles> <Properties> <Property name="type" value="ego_vehicle"/> </Properties> </Vehicle> </ScenarioObject> <ScenarioObject name="adversary"> <Vehicle name="vehicle.lincoln.mkz_2017" vehicleCategory="car"> <ParameterDeclarations/> <Performance maxSpeed="69.444" maxAcceleration="200" maxDeceleration="10.0"/> <BoundingBox> <Center x="1.5" y="0.0" z="0.9"/> <Dimensions width="2.1" length="4.5" height="1.8"/> </BoundingBox> <Axles> <FrontAxle maxSteering="0.5" wheelDiameter="0.6" trackWidth="1.8" positionX="3.1" positionZ="0.3"/> <RearAxle maxSteering="0.0" wheelDiameter="0.6" trackWidth="1.8" positionX="0.0" positionZ="0.3"/> </Axles> <Properties> <Property name="type" value="simulation"/> </Properties> </Vehicle> </ScenarioObject> <ScenarioObject name="standing"> <Vehicle name="vehicle.volkswagen.t2" vehicleCategory="car"> <ParameterDeclarations/> <Performance maxSpeed="69.444" maxAcceleration="200" maxDeceleration="10.0"/> <BoundingBox> <Center x="1.5" y="0.0" z="0.9"/> <Dimensions width="2.1" length="4.5" height="1.8"/> </BoundingBox> <Axles> <FrontAxle maxSteering="0.5" wheelDiameter="0.6" trackWidth="1.8" positionX="3.1" positionZ="0.3"/> <RearAxle maxSteering="0.0" wheelDiameter="0.6" trackWidth="1.8" positionX="0.0" positionZ="0.3"/> </Axles> <Properties> <Property name="type" value="simulation"/> </Properties> </Vehicle> </ScenarioObject> <ScenarioObject name="pedestrian_close_to_hero_18019"> <Pedestrian model="walker.pedestrian.0001" mass="80" name="walker.pedestrian.0001" pedestrianCategory="pedestrian"> <ParameterDeclarations/> <BoundingBox> <Center x="1.5" y="0.0" z="0.9"/> <Dimensions width="2" length="2" height="2"/> </BoundingBox> <Properties> <Property name="type" value="simulation"/> </Properties> </Pedestrian> </ScenarioObject> <ScenarioObject name="pedestrian_close_to_standing_18021"> <Pedestrian model="walker.pedestrian.0001" mass="80" name="walker.pedestrian.0001" pedestrianCategory="pedestrian"> <ParameterDeclarations/> <BoundingBox> <Center x="1.5" y="0.0" z="0.9"/> <Dimensions width="2" length="2" height="2"/> </BoundingBox> <Properties> <Property name="type" value="simulation"/> </Properties> </Pedestrian> </ScenarioObject> <ScenarioObject name="pedestrian_close_to_adversary_18023"> <Pedestrian model="walker.pedestrian.0001" mass="80" name="walker.pedestrian.0001" pedestrianCategory="pedestrian"> <ParameterDeclarations/> <BoundingBox> <Center x="1.5" y="0.0" z="0.9"/> <Dimensions width="2" length="2" height="2"/> </BoundingBox> <Properties> <Property name="type" value="simulation"/> </Properties> </Pedestrian> </ScenarioObject> <ScenarioObject name="pedestrian_close_to_hero_18024"> <Pedestrian model="walker.pedestrian.0001" mass="80" name="walker.pedestrian.0001" pedestrianCategory="pedestrian"> <ParameterDeclarations/> <BoundingBox> <Center x="1.5" y="0.0" z="0.9"/> <Dimensions width="2" length="2" height="2"/> </BoundingBox> <Properties> <Property name="type" value="simulation"/> </Properties> </Pedestrian> </ScenarioObject> <ScenarioObject name="pedestrian_w_transform_18025"> <Pedestrian model="walker.pedestrian.0001" mass="80" name="walker.pedestrian.0001" pedestrianCategory="pedestrian"> <ParameterDeclarations/> <BoundingBox> <Center x="1.5" y="0.0" z="0.9"/> <Dimensions width="2" length="2" height="2"/> </BoundingBox> <Properties> <Property name="type" value="simulation"/> </Properties> </Pedestrian> </ScenarioObject> </Entities> <Storyboard> <Init> <Actions> <GlobalAction> <EnvironmentAction> <Environment name="Environment1"> <TimeOfDay animation="false" dateTime="2019-06-25T12:00:00"/> <Weather cloudState="free"> <Sun intensity="0.85" azimuth="0" elevation="1.31"/> <Fog visualRange="100000.0"/> <Precipitation precipitationType="dry" intensity="0.0"/> </Weather> <RoadCondition frictionScaleFactor="1.0"/> </Environment> </EnvironmentAction> </GlobalAction> <Private entityRef="hero"> <PrivateAction> <TeleportAction> <Position> <WorldPosition x="-9.4" y="-152.8" z="0.5" h="1.57079632679"/> </Position> </TeleportAction> </PrivateAction> <PrivateAction> <ControllerAction> <AssignControllerAction> <Controller name="HeroAgent"> <Properties> <Property name="module" value="external_control"/> </Properties> </Controller> </AssignControllerAction> <OverrideControllerValueAction> <Throttle value="0" active="false"/> <Brake value="0" active="false"/> <Clutch value="0" active="false"/> <ParkingBrake value="0" active="false"/> <SteeringWheel value="0" active="false"/> <Gear number="0" active="false"/> </OverrideControllerValueAction> </ControllerAction> </PrivateAction> </Private> <Private entityRef="adversary"> <PrivateAction> <TeleportAction> <Position> <WorldPosition x="-9.4" y="-71.0" z="0.5" h="1.57079632679"/> </Position> </TeleportAction> </PrivateAction> </Private> <Private entityRef="standing"> <PrivateAction> <TeleportAction> <Position> <WorldPosition x="-8.2" y="29.2" z="0.5" h="1.57079632679"/> </Position> </TeleportAction> </PrivateAction> </Private> <Private entityRef="pedestrian_close_to_hero_18019"> <PrivateAction> <TeleportAction> <Position> <WorldPosition x="0.5294919013977051" y="-150.5009307861328" z="0.0014286803780123591"/> </Position> </TeleportAction> </PrivateAction> </Private> <Private entityRef="pedestrian_close_to_standing_18021"> <PrivateAction> <TeleportAction> <Position> <WorldPosition x="-14.514132499694824" y="26.078996658325195" z="0.0030741882510483265"/> </Position> </TeleportAction> </PrivateAction> </Private> <Private entityRef="pedestrian_close_to_adversary_18023"> <PrivateAction> <TeleportAction> <Position> <WorldPosition x="-16.20298194885254" y="-74.83879852294922" z="0.03381320834159851"/> </Position> </TeleportAction> </PrivateAction> </Private> <Private entityRef="pedestrian_close_to_hero_18024"> <PrivateAction> <TeleportAction> <Position> <WorldPosition x="-10.515909194946289" y="-148.41873168945312" z="0.0014286803780123591"/> </Position> </TeleportAction> </PrivateAction> </Private> <Private entityRef="pedestrian_w_transform_18025"> <PrivateAction> <TeleportAction> <Position> <WorldPosition x="-62.0006103515625" y="96.13455200195312" z="0.5"/> </Position> </TeleportAction> </PrivateAction> </Private> </Actions> </Init> <Story name="MyStory"> <Act name="Behavior"> <ManeuverGroup maximumExecutionCount="1" name="ManeuverSequence"> <Actors selectTriggeringEntities="false"> <EntityRef entityRef="adversary"/> </Actors> <Maneuver name="LaneChangeSimpleManeuver"> <Event name="AdversaryAccelerates" priority="overwrite"> <Action name="AdversaryAccelerates"> <PrivateAction> <LongitudinalAction> <SpeedAction> <SpeedActionDynamics dynamicsShape="step" value="50" dynamicsDimension="distance"/> <SpeedActionTarget> <AbsoluteTargetSpeed value="5.0"/> </SpeedActionTarget> </SpeedAction> </LongitudinalAction> </PrivateAction> </Action> <StartTrigger> <ConditionGroup> <Condition name="StartCondition" delay="0" conditionEdge="rising"> <ByEntityCondition> <TriggeringEntities triggeringEntitiesRule="any"> <EntityRef entityRef="hero"/> </TriggeringEntities> <EntityCondition> <RelativeDistanceCondition entityRef="adversary" relativeDistanceType="cartesianDistance" value="40.0" freespace="false" rule="lessThan"/> </EntityCondition> </ByEntityCondition> </Condition> </ConditionGroup> </StartTrigger> </Event> <Event name="AdversaryChangesLane" priority="overwrite"> <Action name="AdversaryChangesLane"> <PrivateAction> <LateralAction> <LaneChangeAction> <LaneChangeActionDynamics dynamicsShape="linear" value="25" dynamicsDimension="distance"/> <LaneChangeTarget> <RelativeTargetLane entityRef="adversary" value="-1"/> </LaneChangeTarget> </LaneChangeAction> </LateralAction> </PrivateAction> </Action> <StartTrigger> <ConditionGroup> <Condition name="AfterAdversaryAccelerates" delay="0" conditionEdge="rising"> <ByValueCondition> <StoryboardElementStateCondition storyboardElementType="action" storyboardElementRef="AdversaryAccelerates" state="completeState"/> </ByValueCondition> </Condition> </ConditionGroup> </StartTrigger> </Event> </Maneuver> </ManeuverGroup> <StartTrigger> <ConditionGroup> <Condition name="OverallStartCondition" delay="0" conditionEdge="rising"> <ByEntityCondition> <TriggeringEntities triggeringEntitiesRule="any"> <EntityRef entityRef="hero"/> </TriggeringEntities> <EntityCondition> <TraveledDistanceCondition value="1.0"/> </EntityCondition> </ByEntityCondition> </Condition> <Condition name="StartTime" delay="0" conditionEdge="rising"> <ByValueCondition> <SimulationTimeCondition value="0" rule="equalTo"/> </ByValueCondition> </Condition> </ConditionGroup> </StartTrigger> <StopTrigger> <ConditionGroup> <Condition name="EndCondition" delay="0" conditionEdge="rising"> <ByEntityCondition> <TriggeringEntities triggeringEntitiesRule="any"> <EntityRef entityRef="hero"/> </TriggeringEntities> <EntityCondition> <TraveledDistanceCondition value="200.0"/> </EntityCondition> </ByEntityCondition> </Condition> </ConditionGroup> </StopTrigger> </Act> </Story> <StopTrigger> <ConditionGroup> <Condition name="criteria_RunningStopTest" delay="0" conditionEdge="rising"> <ByValueCondition> <ParameterCondition parameterRef="" value="" rule="lessThan"/> </ByValueCondition> </Condition> <Condition name="criteria_RunningRedLightTest" delay="0" conditionEdge="rising"> <ByValueCondition> <ParameterCondition parameterRef="" value="" rule="lessThan"/> </ByValueCondition> </Condition> <Condition name="criteria_WrongLaneTest" delay="0" conditionEdge="rising"> <ByValueCondition> <ParameterCondition parameterRef="" value="" rule="lessThan"/> </ByValueCondition> </Condition> <Condition name="criteria_OnSidewalkTest" delay="0" conditionEdge="rising"> <ByValueCondition> <ParameterCondition parameterRef="" value="" rule="lessThan"/> </ByValueCondition> </Condition> <Condition name="criteria_KeepLaneTest" delay="0" conditionEdge="rising"> <ByValueCondition> <ParameterCondition parameterRef="" value="" rule="lessThan"/> </ByValueCondition> </Condition> <Condition name="criteria_CollisionTest" delay="0" conditionEdge="rising"> <ByValueCondition> <ParameterCondition parameterRef="" value="" rule="lessThan"/> </ByValueCondition> </Condition> <Condition name="criteria_DrivenDistanceTest" delay="0" conditionEdge="rising"> <ByValueCondition> <ParameterCondition parameterRef="distance_success" value="100" rule="lessThan"/> </ByValueCondition> </Condition> </ConditionGroup> </StopTrigger> </Storyboard> </OpenSCENARIO> ```
i would like you to add pedestrian close to adversary? ``` <?xml version="1.0" ?> <OpenSCENARIO> <FileHeader revMajor="1" revMinor="0" date="2020-03-24T12:00:00" description="CARLA:LaneChangeSimple" author=""/> <ParameterDeclarations/> <CatalogLocations/> <RoadNetwork> <LogicFile filepath="Town04"/> <SceneGraphFile filepath=""/> </RoadNetwork> <Entities> <ScenarioObject name="hero"> <Vehicle name="vehicle.tesla.model3" vehicleCategory="car"> <ParameterDeclarations/> <Performance maxSpeed="69.444" maxAcceleration="200" maxDeceleration="10.0"/> <BoundingBox> <Center x="1.5" y="0.0" z="0.9"/> <Dimensions width="2.1" length="4.5" height="1.8"/> </BoundingBox> <Axles> <FrontAxle maxSteering="0.5" wheelDiameter="0.6" trackWidth="1.8" positionX="3.1" positionZ="0.3"/> <RearAxle maxSteering="0.0" wheelDiameter="0.6" trackWidth="1.8" positionX="0.0" positionZ="0.3"/> </Axles> <Properties> <Property name="type" value="ego_vehicle"/> </Properties> </Vehicle> </ScenarioObject> <ScenarioObject name="adversary"> <Vehicle name="vehicle.lincoln.mkz_2017" vehicleCategory="car"> <ParameterDeclarations/> <Performance maxSpeed="69.444" maxAcceleration="200" maxDeceleration="10.0"/> <BoundingBox> <Center x="1.5" y="0.0" z="0.9"/> <Dimensions width="2.1" length="4.5" height="1.8"/> </BoundingBox> <Axles> <FrontAxle maxSteering="0.5" wheelDiameter="0.6" trackWidth="1.8" positionX="3.1" positionZ="0.3"/> <RearAxle maxSteering="0.0" wheelDiameter="0.6" trackWidth="1.8" positionX="0.0" positionZ="0.3"/> </Axles> <Properties> <Property name="type" value="simulation"/> </Properties> </Vehicle> </ScenarioObject> <ScenarioObject name="standing"> <Vehicle name="vehicle.volkswagen.t2" vehicleCategory="car"> <ParameterDeclarations/> <Performance maxSpeed="69.444" maxAcceleration="200" maxDeceleration="10.0"/> <BoundingBox> <Center x="1.5" y="0.0" z="0.9"/> <Dimensions width="2.1" length="4.5" height="1.8"/> </BoundingBox> <Axles> <FrontAxle maxSteering="0.5" wheelDiameter="0.6" trackWidth="1.8" positionX="3.1" positionZ="0.3"/> <RearAxle maxSteering="0.0" wheelDiameter="0.6" trackWidth="1.8" positionX="0.0" positionZ="0.3"/> </Axles> <Properties> <Property name="type" value="simulation"/> </Properties> </Vehicle> </ScenarioObject> </Entities> <Storyboard> <Init> <Actions> <GlobalAction> <EnvironmentAction> <Environment name="Environment1"> <TimeOfDay animation="false" dateTime="2019-06-25T12:00:00"/> <Weather cloudState="free"> <Sun intensity="0.85" azimuth="0" elevation="1.31"/> <Fog visualRange="100000.0"/> <Precipitation precipitationType="dry" intensity="0.0"/> </Weather> <RoadCondition frictionScaleFactor="1.0"/> </Environment> </EnvironmentAction> </GlobalAction> <Private entityRef="hero"> <PrivateAction> <TeleportAction> <Position> <WorldPosition x="-9.4" y="-152.8" z="0.5" h="1.57079632679"/> </Position> </TeleportAction> </PrivateAction> <PrivateAction> <ControllerAction> <AssignControllerAction> <Controller name="HeroAgent"> <Properties> <Property name="module" value="external_control"/> </Properties> </Controller> </AssignControllerAction> <OverrideControllerValueAction> <Throttle value="0" active="false"/> <Brake value="0" active="false"/> <Clutch value="0" active="false"/> <ParkingBrake value="0" active="false"/> <SteeringWheel value="0" active="false"/> <Gear number="0" active="false"/> </OverrideControllerValueAction> </ControllerAction> </PrivateAction> </Private> <Private entityRef="adversary"> <PrivateAction> <TeleportAction> <Position> <WorldPosition x="-9.4" y="-71.0" z="0.5" h="1.57079632679"/> </Position> </TeleportAction> </PrivateAction> </Private> <Private entityRef="standing"> <PrivateAction> <TeleportAction> <Position> <WorldPosition x="-8.2" y="29.2" z="0.5" h="1.57079632679"/> </Position> </TeleportAction> </PrivateAction> </Private> </Actions> </Init> <Story name="MyStory"> <Act name="Behavior"> <ManeuverGroup maximumExecutionCount="1" name="ManeuverSequence"> <Actors selectTriggeringEntities="false"> <EntityRef entityRef="adversary"/> </Actors> <Maneuver name="LaneChangeSimpleManeuver"> <Event name="AdversaryAccelerates" priority="overwrite"> <Action name="AdversaryAccelerates"> <PrivateAction> <LongitudinalAction> <SpeedAction> <SpeedActionDynamics dynamicsShape="step" value="50" dynamicsDimension="distance"/> <SpeedActionTarget> <AbsoluteTargetSpeed value="5.0"/> </SpeedActionTarget> </SpeedAction> </LongitudinalAction> </PrivateAction> </Action> <StartTrigger> <ConditionGroup> <Condition name="StartCondition" delay="0" conditionEdge="rising"> <ByEntityCondition> <TriggeringEntities triggeringEntitiesRule="any"> <EntityRef entityRef="hero"/> </TriggeringEntities> <EntityCondition> <RelativeDistanceCondition entityRef="adversary" relativeDistanceType="cartesianDistance" value="40.0" freespace="false" rule="lessThan"/> </EntityCondition> </ByEntityCondition> </Condition> </ConditionGroup> </StartTrigger> </Event> <Event name="AdversaryChangesLane" priority="overwrite"> <Action name="AdversaryChangesLane"> <PrivateAction> <LateralAction> <LaneChangeAction> <LaneChangeActionDynamics dynamicsShape="linear" value="25" dynamicsDimension="distance"/> <LaneChangeTarget> <RelativeTargetLane entityRef="adversary" value="-1"/> </LaneChangeTarget> </LaneChangeAction> </LateralAction> </PrivateAction> </Action> <StartTrigger> <ConditionGroup> <Condition name="AfterAdversaryAccelerates" delay="0" conditionEdge="rising"> <ByValueCondition> <StoryboardElementStateCondition storyboardElementType="action" storyboardElementRef="AdversaryAccelerates" state="completeState"/> </ByValueCondition> </Condition> </ConditionGroup> </StartTrigger> </Event> </Maneuver> </ManeuverGroup> <StartTrigger> <ConditionGroup> <Condition name="OverallStartCondition" delay="0" conditionEdge="rising"> <ByEntityCondition> <TriggeringEntities triggeringEntitiesRule="any"> <EntityRef entityRef="hero"/> </TriggeringEntities> <EntityCondition> <TraveledDistanceCondition value="1.0"/> </EntityCondition> </ByEntityCondition> </Condition> <Condition name="StartTime" delay="0" conditionEdge="rising"> <ByValueCondition> <SimulationTimeCondition value="0" rule="equalTo"/> </ByValueCondition> </Condition> </ConditionGroup> </StartTrigger> <StopTrigger> <ConditionGroup> <Condition name="EndCondition" delay="0" conditionEdge="rising"> <ByEntityCondition> <TriggeringEntities triggeringEntitiesRule="any"> <EntityRef entityRef="hero"/> </TriggeringEntities> <EntityCondition> <TraveledDistanceCondition value="200.0"/> </EntityCondition> </ByEntityCondition> </Condition> </ConditionGroup> </StopTrigger> </Act> </Story> <StopTrigger> <ConditionGroup> <Condition name="criteria_RunningStopTest" delay="0" conditionEdge="rising"> <ByValueCondition> <ParameterCondition parameterRef="" value="" rule="lessThan"/> </ByValueCondition> </Condition> <Condition name="criteria_RunningRedLightTest" delay="0" conditionEdge="rising"> <ByValueCondition> <ParameterCondition parameterRef="" value="" rule="lessThan"/> </ByValueCondition> </Condition> <Condition name="criteria_WrongLaneTest" delay="0" conditionEdge="rising"> <ByValueCondition> <ParameterCondition parameterRef="" value="" rule="lessThan"/> </ByValueCondition> </Condition> <Condition name="criteria_OnSidewalkTest" delay="0" conditionEdge="rising"> <ByValueCondition> <ParameterCondition parameterRef="" value="" rule="lessThan"/> </ByValueCondition> </Condition> <Condition name="criteria_KeepLaneTest" delay="0" conditionEdge="rising"> <ByValueCondition> <ParameterCondition parameterRef="" value="" rule="lessThan"/> </ByValueCondition> </Condition> <Condition name="criteria_CollisionTest" delay="0" conditionEdge="rising"> <ByValueCondition> <ParameterCondition parameterRef="" value="" rule="lessThan"/> </ByValueCondition> </Condition> <Condition name="criteria_DrivenDistanceTest" delay="0" conditionEdge="rising"> <ByValueCondition> <ParameterCondition parameterRef="distance_success" value="100" rule="lessThan"/> </ByValueCondition> </Condition> </ConditionGroup> </StopTrigger> </Storyboard> </OpenSCENARIO> ```
Here is the result: ``` <?xml version="1.0" ?> <OpenSCENARIO> <FileHeader revMajor="1" revMinor="0" date="2020-03-24T12:00:00" description="CARLA:LaneChangeSimple" author=""/> <ParameterDeclarations/> <CatalogLocations/> <RoadNetwork> <LogicFile filepath="Town04"/> <SceneGraphFile filepath=""/> </RoadNetwork> <Entities> <ScenarioObject name="hero"> <Vehicle name="vehicle.tesla.model3" vehicleCategory="car"> <ParameterDeclarations/> <Performance maxSpeed="69.444" maxAcceleration="200" maxDeceleration="10.0"/> <BoundingBox> <Center x="1.5" y="0.0" z="0.9"/> <Dimensions width="2.1" length="4.5" height="1.8"/> </BoundingBox> <Axles> <FrontAxle maxSteering="0.5" wheelDiameter="0.6" trackWidth="1.8" positionX="3.1" positionZ="0.3"/> <RearAxle maxSteering="0.0" wheelDiameter="0.6" trackWidth="1.8" positionX="0.0" positionZ="0.3"/> </Axles> <Properties> <Property name="type" value="ego_vehicle"/> </Properties> </Vehicle> </ScenarioObject> <ScenarioObject name="adversary"> <Vehicle name="vehicle.lincoln.mkz_2017" vehicleCategory="car"> <ParameterDeclarations/> <Performance maxSpeed="69.444" maxAcceleration="200" maxDeceleration="10.0"/> <BoundingBox> <Center x="1.5" y="0.0" z="0.9"/> <Dimensions width="2.1" length="4.5" height="1.8"/> </BoundingBox> <Axles> <FrontAxle maxSteering="0.5" wheelDiameter="0.6" trackWidth="1.8" positionX="3.1" positionZ="0.3"/> <RearAxle maxSteering="0.0" wheelDiameter="0.6" trackWidth="1.8" positionX="0.0" positionZ="0.3"/> </Axles> <Properties> <Property name="type" value="simulation"/> </Properties> </Vehicle> </ScenarioObject> <ScenarioObject name="standing"> <Vehicle name="vehicle.volkswagen.t2" vehicleCategory="car"> <ParameterDeclarations/> <Performance maxSpeed="69.444" maxAcceleration="200" maxDeceleration="10.0"/> <BoundingBox> <Center x="1.5" y="0.0" z="0.9"/> <Dimensions width="2.1" length="4.5" height="1.8"/> </BoundingBox> <Axles> <FrontAxle maxSteering="0.5" wheelDiameter="0.6" trackWidth="1.8" positionX="3.1" positionZ="0.3"/> <RearAxle maxSteering="0.0" wheelDiameter="0.6" trackWidth="1.8" positionX="0.0" positionZ="0.3"/> </Axles> <Properties> <Property name="type" value="simulation"/> </Properties> </Vehicle> </ScenarioObject> <ScenarioObject name="pedestrian_close_to_adversary_2920"> <Pedestrian model="walker.pedestrian.0001" mass="80" name="walker.pedestrian.0001" pedestrianCategory="pedestrian"> <ParameterDeclarations/> <BoundingBox> <Center x="1.5" y="0.0" z="0.9"/> <Dimensions width="2" length="2" height="2"/> </BoundingBox> <Properties> <Property name="type" value="simulation"/> </Properties> </Pedestrian> </ScenarioObject> </Entities> <Storyboard> <Init> <Actions> <GlobalAction> <EnvironmentAction> <Environment name="Environment1"> <TimeOfDay animation="false" dateTime="2019-06-25T12:00:00"/> <Weather cloudState="free"> <Sun intensity="0.85" azimuth="0" elevation="1.31"/> <Fog visualRange="100000.0"/> <Precipitation precipitationType="dry" intensity="0.0"/> </Weather> <RoadCondition frictionScaleFactor="1.0"/> </Environment> </EnvironmentAction> </GlobalAction> <Private entityRef="hero"> <PrivateAction> <TeleportAction> <Position> <WorldPosition x="-9.4" y="-152.8" z="0.5" h="1.57079632679"/> </Position> </TeleportAction> </PrivateAction> <PrivateAction> <ControllerAction> <AssignControllerAction> <Controller name="HeroAgent"> <Properties> <Property name="module" value="external_control"/> </Properties> </Controller> </AssignControllerAction> <OverrideControllerValueAction> <Throttle value="0" active="false"/> <Brake value="0" active="false"/> <Clutch value="0" active="false"/> <ParkingBrake value="0" active="false"/> <SteeringWheel value="0" active="false"/> <Gear number="0" active="false"/> </OverrideControllerValueAction> </ControllerAction> </PrivateAction> </Private> <Private entityRef="adversary"> <PrivateAction> <TeleportAction> <Position> <WorldPosition x="-9.4" y="-71.0" z="0.5" h="1.57079632679"/> </Position> </TeleportAction> </PrivateAction> </Private> <Private entityRef="standing"> <PrivateAction> <TeleportAction> <Position> <WorldPosition x="-8.2" y="29.2" z="0.5" h="1.57079632679"/> </Position> </TeleportAction> </PrivateAction> </Private> <Private entityRef="pedestrian_close_to_adversary_2920"> <PrivateAction> <TeleportAction> <Position> <WorldPosition x="-4.813758850097656" y="-70.54711151123047" z="0.03383602201938629"/> </Position> </TeleportAction> </PrivateAction> </Private> </Actions> </Init> <Story name="MyStory"> <Act name="Behavior"> <ManeuverGroup maximumExecutionCount="1" name="ManeuverSequence"> <Actors selectTriggeringEntities="false"> <EntityRef entityRef="adversary"/> </Actors> <Maneuver name="LaneChangeSimpleManeuver"> <Event name="AdversaryAccelerates" priority="overwrite"> <Action name="AdversaryAccelerates"> <PrivateAction> <LongitudinalAction> <SpeedAction> <SpeedActionDynamics dynamicsShape="step" value="50" dynamicsDimension="distance"/> <SpeedActionTarget> <AbsoluteTargetSpeed value="5.0"/> </SpeedActionTarget> </SpeedAction> </LongitudinalAction> </PrivateAction> </Action> <StartTrigger> <ConditionGroup> <Condition name="StartCondition" delay="0" conditionEdge="rising"> <ByEntityCondition> <TriggeringEntities triggeringEntitiesRule="any"> <EntityRef entityRef="hero"/> </TriggeringEntities> <EntityCondition> <RelativeDistanceCondition entityRef="adversary" relativeDistanceType="cartesianDistance" value="40.0" freespace="false" rule="lessThan"/> </EntityCondition> </ByEntityCondition> </Condition> </ConditionGroup> </StartTrigger> </Event> <Event name="AdversaryChangesLane" priority="overwrite"> <Action name="AdversaryChangesLane"> <PrivateAction> <LateralAction> <LaneChangeAction> <LaneChangeActionDynamics dynamicsShape="linear" value="25" dynamicsDimension="distance"/> <LaneChangeTarget> <RelativeTargetLane entityRef="adversary" value="-1"/> </LaneChangeTarget> </LaneChangeAction> </LateralAction> </PrivateAction> </Action> <StartTrigger> <ConditionGroup> <Condition name="AfterAdversaryAccelerates" delay="0" conditionEdge="rising"> <ByValueCondition> <StoryboardElementStateCondition storyboardElementType="action" storyboardElementRef="AdversaryAccelerates" state="completeState"/> </ByValueCondition> </Condition> </ConditionGroup> </StartTrigger> </Event> </Maneuver> </ManeuverGroup> <StartTrigger> <ConditionGroup> <Condition name="OverallStartCondition" delay="0" conditionEdge="rising"> <ByEntityCondition> <TriggeringEntities triggeringEntitiesRule="any"> <EntityRef entityRef="hero"/> </TriggeringEntities> <EntityCondition> <TraveledDistanceCondition value="1.0"/> </EntityCondition> </ByEntityCondition> </Condition> <Condition name="StartTime" delay="0" conditionEdge="rising"> <ByValueCondition> <SimulationTimeCondition value="0" rule="equalTo"/> </ByValueCondition> </Condition> </ConditionGroup> </StartTrigger> <StopTrigger> <ConditionGroup> <Condition name="EndCondition" delay="0" conditionEdge="rising"> <ByEntityCondition> <TriggeringEntities triggeringEntitiesRule="any"> <EntityRef entityRef="hero"/> </TriggeringEntities> <EntityCondition> <TraveledDistanceCondition value="200.0"/> </EntityCondition> </ByEntityCondition> </Condition> </ConditionGroup> </StopTrigger> </Act> </Story> <StopTrigger> <ConditionGroup> <Condition name="criteria_RunningStopTest" delay="0" conditionEdge="rising"> <ByValueCondition> <ParameterCondition parameterRef="" value="" rule="lessThan"/> </ByValueCondition> </Condition> <Condition name="criteria_RunningRedLightTest" delay="0" conditionEdge="rising"> <ByValueCondition> <ParameterCondition parameterRef="" value="" rule="lessThan"/> </ByValueCondition> </Condition> <Condition name="criteria_WrongLaneTest" delay="0" conditionEdge="rising"> <ByValueCondition> <ParameterCondition parameterRef="" value="" rule="lessThan"/> </ByValueCondition> </Condition> <Condition name="criteria_OnSidewalkTest" delay="0" conditionEdge="rising"> <ByValueCondition> <ParameterCondition parameterRef="" value="" rule="lessThan"/> </ByValueCondition> </Condition> <Condition name="criteria_KeepLaneTest" delay="0" conditionEdge="rising"> <ByValueCondition> <ParameterCondition parameterRef="" value="" rule="lessThan"/> </ByValueCondition> </Condition> <Condition name="criteria_CollisionTest" delay="0" conditionEdge="rising"> <ByValueCondition> <ParameterCondition parameterRef="" value="" rule="lessThan"/> </ByValueCondition> </Condition> <Condition name="criteria_DrivenDistanceTest" delay="0" conditionEdge="rising"> <ByValueCondition> <ParameterCondition parameterRef="distance_success" value="100" rule="lessThan"/> </ByValueCondition> </Condition> </ConditionGroup> </StopTrigger> </Storyboard> </OpenSCENARIO> ```
i want you to add pedestrian close to hero? ``` <?xml version="1.0" ?> <OpenSCENARIO> <FileHeader revMajor="1" revMinor="0" date="2020-03-24T12:00:00" description="CARLA:LaneChangeSimple" author=""/> <ParameterDeclarations/> <CatalogLocations/> <RoadNetwork> <LogicFile filepath="Town04"/> <SceneGraphFile filepath=""/> </RoadNetwork> <Entities> <ScenarioObject name="hero"> <Vehicle name="vehicle.tesla.model3" vehicleCategory="car"> <ParameterDeclarations/> <Performance maxSpeed="69.444" maxAcceleration="200" maxDeceleration="10.0"/> <BoundingBox> <Center x="1.5" y="0.0" z="0.9"/> <Dimensions width="2.1" length="4.5" height="1.8"/> </BoundingBox> <Axles> <FrontAxle maxSteering="0.5" wheelDiameter="0.6" trackWidth="1.8" positionX="3.1" positionZ="0.3"/> <RearAxle maxSteering="0.0" wheelDiameter="0.6" trackWidth="1.8" positionX="0.0" positionZ="0.3"/> </Axles> <Properties> <Property name="type" value="ego_vehicle"/> </Properties> </Vehicle> </ScenarioObject> <ScenarioObject name="adversary"> <Vehicle name="vehicle.lincoln.mkz_2017" vehicleCategory="car"> <ParameterDeclarations/> <Performance maxSpeed="69.444" maxAcceleration="200" maxDeceleration="10.0"/> <BoundingBox> <Center x="1.5" y="0.0" z="0.9"/> <Dimensions width="2.1" length="4.5" height="1.8"/> </BoundingBox> <Axles> <FrontAxle maxSteering="0.5" wheelDiameter="0.6" trackWidth="1.8" positionX="3.1" positionZ="0.3"/> <RearAxle maxSteering="0.0" wheelDiameter="0.6" trackWidth="1.8" positionX="0.0" positionZ="0.3"/> </Axles> <Properties> <Property name="type" value="simulation"/> </Properties> </Vehicle> </ScenarioObject> <ScenarioObject name="standing"> <Vehicle name="vehicle.volkswagen.t2" vehicleCategory="car"> <ParameterDeclarations/> <Performance maxSpeed="69.444" maxAcceleration="200" maxDeceleration="10.0"/> <BoundingBox> <Center x="1.5" y="0.0" z="0.9"/> <Dimensions width="2.1" length="4.5" height="1.8"/> </BoundingBox> <Axles> <FrontAxle maxSteering="0.5" wheelDiameter="0.6" trackWidth="1.8" positionX="3.1" positionZ="0.3"/> <RearAxle maxSteering="0.0" wheelDiameter="0.6" trackWidth="1.8" positionX="0.0" positionZ="0.3"/> </Axles> <Properties> <Property name="type" value="simulation"/> </Properties> </Vehicle> </ScenarioObject> <ScenarioObject name="pedestrian_close_to_hero_20395"> <Pedestrian model="walker.pedestrian.0001" mass="80" name="walker.pedestrian.0001" pedestrianCategory="pedestrian"> <ParameterDeclarations/> <BoundingBox> <Center x="1.5" y="0.0" z="0.9"/> <Dimensions width="2" length="2" height="2"/> </BoundingBox> <Properties> <Property name="type" value="simulation"/> </Properties> </Pedestrian> </ScenarioObject> <ScenarioObject name="pedestrian_close_to_adversary_20396"> <Pedestrian model="walker.pedestrian.0001" mass="80" name="walker.pedestrian.0001" pedestrianCategory="pedestrian"> <ParameterDeclarations/> <BoundingBox> <Center x="1.5" y="0.0" z="0.9"/> <Dimensions width="2" length="2" height="2"/> </BoundingBox> <Properties> <Property name="type" value="simulation"/> </Properties> </Pedestrian> </ScenarioObject> <ScenarioObject name="pedestrian_close_to_adversary_20397"> <Pedestrian model="walker.pedestrian.0001" mass="80" name="walker.pedestrian.0001" pedestrianCategory="pedestrian"> <ParameterDeclarations/> <BoundingBox> <Center x="1.5" y="0.0" z="0.9"/> <Dimensions width="2" length="2" height="2"/> </BoundingBox> <Properties> <Property name="type" value="simulation"/> </Properties> </Pedestrian> </ScenarioObject> <ScenarioObject name="pedestrian_w_transform_20398"> <Pedestrian model="walker.pedestrian.0001" mass="80" name="walker.pedestrian.0001" pedestrianCategory="pedestrian"> <ParameterDeclarations/> <BoundingBox> <Center x="1.5" y="0.0" z="0.9"/> <Dimensions width="2" length="2" height="2"/> </BoundingBox> <Properties> <Property name="type" value="simulation"/> </Properties> </Pedestrian> </ScenarioObject> <ScenarioObject name="pedestrian_w_transform_20399"> <Pedestrian model="walker.pedestrian.0001" mass="80" name="walker.pedestrian.0001" pedestrianCategory="pedestrian"> <ParameterDeclarations/> <BoundingBox> <Center x="1.5" y="0.0" z="0.9"/> <Dimensions width="2" length="2" height="2"/> </BoundingBox> <Properties> <Property name="type" value="simulation"/> </Properties> </Pedestrian> </ScenarioObject> <ScenarioObject name="pedestrian_close_to_adversary_20400"> <Pedestrian model="walker.pedestrian.0001" mass="80" name="walker.pedestrian.0001" pedestrianCategory="pedestrian"> <ParameterDeclarations/> <BoundingBox> <Center x="1.5" y="0.0" z="0.9"/> <Dimensions width="2" length="2" height="2"/> </BoundingBox> <Properties> <Property name="type" value="simulation"/> </Properties> </Pedestrian> </ScenarioObject> <ScenarioObject name="pedestrian_close_to_hero_20401"> <Pedestrian model="walker.pedestrian.0001" mass="80" name="walker.pedestrian.0001" pedestrianCategory="pedestrian"> <ParameterDeclarations/> <BoundingBox> <Center x="1.5" y="0.0" z="0.9"/> <Dimensions width="2" length="2" height="2"/> </BoundingBox> <Properties> <Property name="type" value="simulation"/> </Properties> </Pedestrian> </ScenarioObject> <ScenarioObject name="pedestrian_close_to_hero_20402"> <Pedestrian model="walker.pedestrian.0001" mass="80" name="walker.pedestrian.0001" pedestrianCategory="pedestrian"> <ParameterDeclarations/> <BoundingBox> <Center x="1.5" y="0.0" z="0.9"/> <Dimensions width="2" length="2" height="2"/> </BoundingBox> <Properties> <Property name="type" value="simulation"/> </Properties> </Pedestrian> </ScenarioObject> <ScenarioObject name="pedestrian_close_to_standing_20403"> <Pedestrian model="walker.pedestrian.0001" mass="80" name="walker.pedestrian.0001" pedestrianCategory="pedestrian"> <ParameterDeclarations/> <BoundingBox> <Center x="1.5" y="0.0" z="0.9"/> <Dimensions width="2" length="2" height="2"/> </BoundingBox> <Properties> <Property name="type" value="simulation"/> </Properties> </Pedestrian> </ScenarioObject> <ScenarioObject name="pedestrian_close_to_hero_20404"> <Pedestrian model="walker.pedestrian.0001" mass="80" name="walker.pedestrian.0001" pedestrianCategory="pedestrian"> <ParameterDeclarations/> <BoundingBox> <Center x="1.5" y="0.0" z="0.9"/> <Dimensions width="2" length="2" height="2"/> </BoundingBox> <Properties> <Property name="type" value="simulation"/> </Properties> </Pedestrian> </ScenarioObject> <ScenarioObject name="pedestrian_w_transform_20405"> <Pedestrian model="walker.pedestrian.0001" mass="80" name="walker.pedestrian.0001" pedestrianCategory="pedestrian"> <ParameterDeclarations/> <BoundingBox> <Center x="1.5" y="0.0" z="0.9"/> <Dimensions width="2" length="2" height="2"/> </BoundingBox> <Properties> <Property name="type" value="simulation"/> </Properties> </Pedestrian> </ScenarioObject> <ScenarioObject name="pedestrian_close_to_standing_20406"> <Pedestrian model="walker.pedestrian.0001" mass="80" name="walker.pedestrian.0001" pedestrianCategory="pedestrian"> <ParameterDeclarations/> <BoundingBox> <Center x="1.5" y="0.0" z="0.9"/> <Dimensions width="2" length="2" height="2"/> </BoundingBox> <Properties> <Property name="type" value="simulation"/> </Properties> </Pedestrian> </ScenarioObject> <ScenarioObject name="pedestrian_w_transform_20407"> <Pedestrian model="walker.pedestrian.0001" mass="80" name="walker.pedestrian.0001" pedestrianCategory="pedestrian"> <ParameterDeclarations/> <BoundingBox> <Center x="1.5" y="0.0" z="0.9"/> <Dimensions width="2" length="2" height="2"/> </BoundingBox> <Properties> <Property name="type" value="simulation"/> </Properties> </Pedestrian> </ScenarioObject> <ScenarioObject name="pedestrian_close_to_hero_20408"> <Pedestrian model="walker.pedestrian.0001" mass="80" name="walker.pedestrian.0001" pedestrianCategory="pedestrian"> <ParameterDeclarations/> <BoundingBox> <Center x="1.5" y="0.0" z="0.9"/> <Dimensions width="2" length="2" height="2"/> </BoundingBox> <Properties> <Property name="type" value="simulation"/> </Properties> </Pedestrian> </ScenarioObject> <ScenarioObject name="pedestrian_w_transform_20410"> <Pedestrian model="walker.pedestrian.0001" mass="80" name="walker.pedestrian.0001" pedestrianCategory="pedestrian"> <ParameterDeclarations/> <BoundingBox> <Center x="1.5" y="0.0" z="0.9"/> <Dimensions width="2" length="2" height="2"/> </BoundingBox> <Properties> <Property name="type" value="simulation"/> </Properties> </Pedestrian> </ScenarioObject> <ScenarioObject name="pedestrian_close_to_hero_20411"> <Pedestrian model="walker.pedestrian.0001" mass="80" name="walker.pedestrian.0001" pedestrianCategory="pedestrian"> <ParameterDeclarations/> <BoundingBox> <Center x="1.5" y="0.0" z="0.9"/> <Dimensions width="2" length="2" height="2"/> </BoundingBox> <Properties> <Property name="type" value="simulation"/> </Properties> </Pedestrian> </ScenarioObject> <ScenarioObject name="pedestrian_w_transform_20412"> <Pedestrian model="walker.pedestrian.0001" mass="80" name="walker.pedestrian.0001" pedestrianCategory="pedestrian"> <ParameterDeclarations/> <BoundingBox> <Center x="1.5" y="0.0" z="0.9"/> <Dimensions width="2" length="2" height="2"/> </BoundingBox> <Properties> <Property name="type" value="simulation"/> </Properties> </Pedestrian> </ScenarioObject> <ScenarioObject name="pedestrian_close_to_hero_20413"> <Pedestrian model="walker.pedestrian.0001" mass="80" name="walker.pedestrian.0001" pedestrianCategory="pedestrian"> <ParameterDeclarations/> <BoundingBox> <Center x="1.5" y="0.0" z="0.9"/> <Dimensions width="2" length="2" height="2"/> </BoundingBox> <Properties> <Property name="type" value="simulation"/> </Properties> </Pedestrian> </ScenarioObject> <ScenarioObject name="pedestrian_close_to_adversary_20414"> <Pedestrian model="walker.pedestrian.0001" mass="80" name="walker.pedestrian.0001" pedestrianCategory="pedestrian"> <ParameterDeclarations/> <BoundingBox> <Center x="1.5" y="0.0" z="0.9"/> <Dimensions width="2" length="2" height="2"/> </BoundingBox> <Properties> <Property name="type" value="simulation"/> </Properties> </Pedestrian> </ScenarioObject> <ScenarioObject name="pedestrian_w_transform_20415"> <Pedestrian model="walker.pedestrian.0001" mass="80" name="walker.pedestrian.0001" pedestrianCategory="pedestrian"> <ParameterDeclarations/> <BoundingBox> <Center x="1.5" y="0.0" z="0.9"/> <Dimensions width="2" length="2" height="2"/> </BoundingBox> <Properties> <Property name="type" value="simulation"/> </Properties> </Pedestrian> </ScenarioObject> </Entities> <Storyboard> <Init> <Actions> <GlobalAction> <EnvironmentAction> <Environment name="Environment1"> <TimeOfDay animation="false" dateTime="2019-06-25T12:00:00"/> <Weather cloudState="free"> <Sun intensity="0.85" azimuth="0" elevation="1.31"/> <Fog visualRange="100000.0"/> <Precipitation precipitationType="dry" intensity="0.0"/> </Weather> <RoadCondition frictionScaleFactor="1.0"/> </Environment> </EnvironmentAction> </GlobalAction> <Private entityRef="hero"> <PrivateAction> <TeleportAction> <Position> <WorldPosition x="-9.4" y="-152.8" z="0.5" h="1.57079632679"/> </Position> </TeleportAction> </PrivateAction> <PrivateAction> <ControllerAction> <AssignControllerAction> <Controller name="HeroAgent"> <Properties> <Property name="module" value="external_control"/> </Properties> </Controller> </AssignControllerAction> <OverrideControllerValueAction> <Throttle value="0" active="false"/> <Brake value="0" active="false"/> <Clutch value="0" active="false"/> <ParkingBrake value="0" active="false"/> <SteeringWheel value="0" active="false"/> <Gear number="0" active="false"/> </OverrideControllerValueAction> </ControllerAction> </PrivateAction> </Private> <Private entityRef="adversary"> <PrivateAction> <TeleportAction> <Position> <WorldPosition x="-9.4" y="-71.0" z="0.5" h="1.57079632679"/> </Position> </TeleportAction> </PrivateAction> </Private> <Private entityRef="standing"> <PrivateAction> <TeleportAction> <Position> <WorldPosition x="-8.2" y="29.2" z="0.5" h="1.57079632679"/> </Position> </TeleportAction> </PrivateAction> </Private> <Private entityRef="pedestrian_close_to_hero_20395"> <PrivateAction> <TeleportAction> <Position> <WorldPosition x="-1.763743281364441" y="-149.13499450683594" z="0.0014286803780123591"/> </Position> </TeleportAction> </PrivateAction> </Private> <Private entityRef="pedestrian_close_to_adversary_20396"> <PrivateAction> <TeleportAction> <Position> <WorldPosition x="-15.109185218811035" y="-62.29167556762695" z="0.03382888808846474"/> </Position> </TeleportAction> </PrivateAction> </Private> <Private entityRef="pedestrian_close_to_adversary_20397"> <PrivateAction> <TeleportAction> <Position> <WorldPosition x="-5.75895357131958" y="-74.20217895507812" z="0.03382221236824989"/> </Position> </TeleportAction> </PrivateAction> </Private> <Private entityRef="pedestrian_w_transform_20398"> <PrivateAction> <TeleportAction> <Position> <WorldPosition x="-59.85515213012695" y="26.31020164489746" z="0.5"/> </Position> </TeleportAction> </PrivateAction> </Private> <Private entityRef="pedestrian_w_transform_20399"> <PrivateAction> <TeleportAction> <Position> <WorldPosition x="44.28317642211914" y="44.713260650634766" z="0.5"/> </Position> </TeleportAction> </PrivateAction> </Private> <Private entityRef="pedestrian_close_to_adversary_20400"> <PrivateAction> <TeleportAction> <Position> <WorldPosition x="-13.442427635192871" y="-75.73033142089844" z="0.033818893134593964"/> </Position> </TeleportAction> </PrivateAction> </Private> <Private entityRef="pedestrian_close_to_hero_20401"> <PrivateAction> <TeleportAction> <Position> <WorldPosition x="-6.8209123611450195" y="-144.547607421875" z="0.0014286803780123591"/> </Position> </TeleportAction> </PrivateAction> </Private> <Private entityRef="pedestrian_close_to_hero_20402"> <PrivateAction> <TeleportAction> <Position> <WorldPosition x="-19.196453094482422" y="-147.3751678466797" z="0.0014286803780123591"/> </Position> </TeleportAction> </PrivateAction> </Private> <Private entityRef="pedestrian_close_to_standing_20403"> <PrivateAction> <TeleportAction> <Position> <WorldPosition x="-4.837296009063721" y="22.513853073120117" z="0.0030148315709084272"/> </Position> </TeleportAction> </PrivateAction> </Private> <Private entityRef="pedestrian_close_to_hero_20404"> <PrivateAction> <TeleportAction> <Position> <WorldPosition x="-6.572630882263184" y="-145.9904022216797" z="0.0014286803780123591"/> </Position> </TeleportAction> </PrivateAction> </Private> <Private entityRef="pedestrian_w_transform_20405"> <PrivateAction> <TeleportAction> <Position> <WorldPosition x="-35.008155822753906" y="75.5495376586914" z="0.5"/> </Position> </TeleportAction> </PrivateAction> </Private> <Private entityRef="pedestrian_close_to_standing_20406"> <PrivateAction> <TeleportAction> <Position> <WorldPosition x="-6.995419979095459" y="19.974679946899414" z="0.003042373573407531"/> </Position> </TeleportAction> </PrivateAction> </Private> <Private entityRef="pedestrian_w_transform_20407"> <PrivateAction> <TeleportAction> <Position> <WorldPosition x="2.179565191268921" y="97.7751235961914" z="0.5"/> </Position> </TeleportAction> </PrivateAction> </Private> <Private entityRef="pedestrian_close_to_hero_20408"> <PrivateAction> <TeleportAction> <Position> <WorldPosition x="-6.892094135284424" y="-139.63575744628906" z="0.0014286803780123591"/> </Position> </TeleportAction> </PrivateAction> </Private> <Private entityRef="pedestrian_w_transform_20410"> <PrivateAction> <TeleportAction> <Position> <WorldPosition x="81.88756561279297" y="57.83958053588867" z="0.5"/> </Position> </TeleportAction> </PrivateAction> </Private> <Private entityRef="pedestrian_close_to_hero_20411"> <PrivateAction> <TeleportAction> <Position> <WorldPosition x="-17.621416091918945" y="-148.34388732910156" z="0.0014286803780123591"/> </Position> </TeleportAction> </PrivateAction> </Private> <Private entityRef="pedestrian_w_transform_20412"> <PrivateAction> <TeleportAction> <Position> <WorldPosition x="-12.177910804748535" y="40.1225471496582" z="0.5"/> </Position> </TeleportAction> </PrivateAction> </Private> <Private entityRef="pedestrian_close_to_hero_20413"> <PrivateAction> <TeleportAction> <Position> <WorldPosition x="-3.147972583770752" y="-159.16734313964844" z="0.0014286803780123591"/> </Position> </TeleportAction> </PrivateAction> </Private> <Private entityRef="pedestrian_close_to_adversary_20414"> <PrivateAction> <TeleportAction> <Position> <WorldPosition x="-9.173391342163086" y="-58.867313385009766" z="0.03377696871757507"/> </Position> </TeleportAction> </PrivateAction> </Private> <Private entityRef="pedestrian_w_transform_20415"> <PrivateAction> <TeleportAction> <Position> <WorldPosition x="-40.207977294921875" y="-22.113155364990234" z="0.5"/> </Position> </TeleportAction> </PrivateAction> </Private> </Actions> </Init> <Story name="MyStory"> <Act name="Behavior"> <ManeuverGroup maximumExecutionCount="1" name="ManeuverSequence"> <Actors selectTriggeringEntities="false"> <EntityRef entityRef="adversary"/> </Actors> <Maneuver name="LaneChangeSimpleManeuver"> <Event name="AdversaryAccelerates" priority="overwrite"> <Action name="AdversaryAccelerates"> <PrivateAction> <LongitudinalAction> <SpeedAction> <SpeedActionDynamics dynamicsShape="step" value="50" dynamicsDimension="distance"/> <SpeedActionTarget> <AbsoluteTargetSpeed value="5.0"/> </SpeedActionTarget> </SpeedAction> </LongitudinalAction> </PrivateAction> </Action> <StartTrigger> <ConditionGroup> <Condition name="StartCondition" delay="0" conditionEdge="rising"> <ByEntityCondition> <TriggeringEntities triggeringEntitiesRule="any"> <EntityRef entityRef="hero"/> </TriggeringEntities> <EntityCondition> <RelativeDistanceCondition entityRef="adversary" relativeDistanceType="cartesianDistance" value="40.0" freespace="false" rule="lessThan"/> </EntityCondition> </ByEntityCondition> </Condition> </ConditionGroup> </StartTrigger> </Event> <Event name="AdversaryChangesLane" priority="overwrite"> <Action name="AdversaryChangesLane"> <PrivateAction> <LateralAction> <LaneChangeAction> <LaneChangeActionDynamics dynamicsShape="linear" value="25" dynamicsDimension="distance"/> <LaneChangeTarget> <RelativeTargetLane entityRef="adversary" value="-1"/> </LaneChangeTarget> </LaneChangeAction> </LateralAction> </PrivateAction> </Action> <StartTrigger> <ConditionGroup> <Condition name="AfterAdversaryAccelerates" delay="0" conditionEdge="rising"> <ByValueCondition> <StoryboardElementStateCondition storyboardElementType="action" storyboardElementRef="AdversaryAccelerates" state="completeState"/> </ByValueCondition> </Condition> </ConditionGroup> </StartTrigger> </Event> </Maneuver> </ManeuverGroup> <StartTrigger> <ConditionGroup> <Condition name="OverallStartCondition" delay="0" conditionEdge="rising"> <ByEntityCondition> <TriggeringEntities triggeringEntitiesRule="any"> <EntityRef entityRef="hero"/> </TriggeringEntities> <EntityCondition> <TraveledDistanceCondition value="1.0"/> </EntityCondition> </ByEntityCondition> </Condition> <Condition name="StartTime" delay="0" conditionEdge="rising"> <ByValueCondition> <SimulationTimeCondition value="0" rule="equalTo"/> </ByValueCondition> </Condition> </ConditionGroup> </StartTrigger> <StopTrigger> <ConditionGroup> <Condition name="EndCondition" delay="0" conditionEdge="rising"> <ByEntityCondition> <TriggeringEntities triggeringEntitiesRule="any"> <EntityRef entityRef="hero"/> </TriggeringEntities> <EntityCondition> <TraveledDistanceCondition value="200.0"/> </EntityCondition> </ByEntityCondition> </Condition> </ConditionGroup> </StopTrigger> </Act> </Story> <StopTrigger> <ConditionGroup> <Condition name="criteria_RunningStopTest" delay="0" conditionEdge="rising"> <ByValueCondition> <ParameterCondition parameterRef="" value="" rule="lessThan"/> </ByValueCondition> </Condition> <Condition name="criteria_RunningRedLightTest" delay="0" conditionEdge="rising"> <ByValueCondition> <ParameterCondition parameterRef="" value="" rule="lessThan"/> </ByValueCondition> </Condition> <Condition name="criteria_WrongLaneTest" delay="0" conditionEdge="rising"> <ByValueCondition> <ParameterCondition parameterRef="" value="" rule="lessThan"/> </ByValueCondition> </Condition> <Condition name="criteria_OnSidewalkTest" delay="0" conditionEdge="rising"> <ByValueCondition> <ParameterCondition parameterRef="" value="" rule="lessThan"/> </ByValueCondition> </Condition> <Condition name="criteria_KeepLaneTest" delay="0" conditionEdge="rising"> <ByValueCondition> <ParameterCondition parameterRef="" value="" rule="lessThan"/> </ByValueCondition> </Condition> <Condition name="criteria_CollisionTest" delay="0" conditionEdge="rising"> <ByValueCondition> <ParameterCondition parameterRef="" value="" rule="lessThan"/> </ByValueCondition> </Condition> <Condition name="criteria_DrivenDistanceTest" delay="0" conditionEdge="rising"> <ByValueCondition> <ParameterCondition parameterRef="distance_success" value="100" rule="lessThan"/> </ByValueCondition> </Condition> </ConditionGroup> </StopTrigger> </Storyboard> </OpenSCENARIO> ```
Here is the result: ``` <?xml version="1.0" ?> <OpenSCENARIO> <FileHeader revMajor="1" revMinor="0" date="2020-03-24T12:00:00" description="CARLA:LaneChangeSimple" author=""/> <ParameterDeclarations/> <CatalogLocations/> <RoadNetwork> <LogicFile filepath="Town04"/> <SceneGraphFile filepath=""/> </RoadNetwork> <Entities> <ScenarioObject name="hero"> <Vehicle name="vehicle.tesla.model3" vehicleCategory="car"> <ParameterDeclarations/> <Performance maxSpeed="69.444" maxAcceleration="200" maxDeceleration="10.0"/> <BoundingBox> <Center x="1.5" y="0.0" z="0.9"/> <Dimensions width="2.1" length="4.5" height="1.8"/> </BoundingBox> <Axles> <FrontAxle maxSteering="0.5" wheelDiameter="0.6" trackWidth="1.8" positionX="3.1" positionZ="0.3"/> <RearAxle maxSteering="0.0" wheelDiameter="0.6" trackWidth="1.8" positionX="0.0" positionZ="0.3"/> </Axles> <Properties> <Property name="type" value="ego_vehicle"/> </Properties> </Vehicle> </ScenarioObject> <ScenarioObject name="adversary"> <Vehicle name="vehicle.lincoln.mkz_2017" vehicleCategory="car"> <ParameterDeclarations/> <Performance maxSpeed="69.444" maxAcceleration="200" maxDeceleration="10.0"/> <BoundingBox> <Center x="1.5" y="0.0" z="0.9"/> <Dimensions width="2.1" length="4.5" height="1.8"/> </BoundingBox> <Axles> <FrontAxle maxSteering="0.5" wheelDiameter="0.6" trackWidth="1.8" positionX="3.1" positionZ="0.3"/> <RearAxle maxSteering="0.0" wheelDiameter="0.6" trackWidth="1.8" positionX="0.0" positionZ="0.3"/> </Axles> <Properties> <Property name="type" value="simulation"/> </Properties> </Vehicle> </ScenarioObject> <ScenarioObject name="standing"> <Vehicle name="vehicle.volkswagen.t2" vehicleCategory="car"> <ParameterDeclarations/> <Performance maxSpeed="69.444" maxAcceleration="200" maxDeceleration="10.0"/> <BoundingBox> <Center x="1.5" y="0.0" z="0.9"/> <Dimensions width="2.1" length="4.5" height="1.8"/> </BoundingBox> <Axles> <FrontAxle maxSteering="0.5" wheelDiameter="0.6" trackWidth="1.8" positionX="3.1" positionZ="0.3"/> <RearAxle maxSteering="0.0" wheelDiameter="0.6" trackWidth="1.8" positionX="0.0" positionZ="0.3"/> </Axles> <Properties> <Property name="type" value="simulation"/> </Properties> </Vehicle> </ScenarioObject> <ScenarioObject name="pedestrian_close_to_hero_20395"> <Pedestrian model="walker.pedestrian.0001" mass="80" name="walker.pedestrian.0001" pedestrianCategory="pedestrian"> <ParameterDeclarations/> <BoundingBox> <Center x="1.5" y="0.0" z="0.9"/> <Dimensions width="2" length="2" height="2"/> </BoundingBox> <Properties> <Property name="type" value="simulation"/> </Properties> </Pedestrian> </ScenarioObject> <ScenarioObject name="pedestrian_close_to_adversary_20396"> <Pedestrian model="walker.pedestrian.0001" mass="80" name="walker.pedestrian.0001" pedestrianCategory="pedestrian"> <ParameterDeclarations/> <BoundingBox> <Center x="1.5" y="0.0" z="0.9"/> <Dimensions width="2" length="2" height="2"/> </BoundingBox> <Properties> <Property name="type" value="simulation"/> </Properties> </Pedestrian> </ScenarioObject> <ScenarioObject name="pedestrian_close_to_adversary_20397"> <Pedestrian model="walker.pedestrian.0001" mass="80" name="walker.pedestrian.0001" pedestrianCategory="pedestrian"> <ParameterDeclarations/> <BoundingBox> <Center x="1.5" y="0.0" z="0.9"/> <Dimensions width="2" length="2" height="2"/> </BoundingBox> <Properties> <Property name="type" value="simulation"/> </Properties> </Pedestrian> </ScenarioObject> <ScenarioObject name="pedestrian_w_transform_20398"> <Pedestrian model="walker.pedestrian.0001" mass="80" name="walker.pedestrian.0001" pedestrianCategory="pedestrian"> <ParameterDeclarations/> <BoundingBox> <Center x="1.5" y="0.0" z="0.9"/> <Dimensions width="2" length="2" height="2"/> </BoundingBox> <Properties> <Property name="type" value="simulation"/> </Properties> </Pedestrian> </ScenarioObject> <ScenarioObject name="pedestrian_w_transform_20399"> <Pedestrian model="walker.pedestrian.0001" mass="80" name="walker.pedestrian.0001" pedestrianCategory="pedestrian"> <ParameterDeclarations/> <BoundingBox> <Center x="1.5" y="0.0" z="0.9"/> <Dimensions width="2" length="2" height="2"/> </BoundingBox> <Properties> <Property name="type" value="simulation"/> </Properties> </Pedestrian> </ScenarioObject> <ScenarioObject name="pedestrian_close_to_adversary_20400"> <Pedestrian model="walker.pedestrian.0001" mass="80" name="walker.pedestrian.0001" pedestrianCategory="pedestrian"> <ParameterDeclarations/> <BoundingBox> <Center x="1.5" y="0.0" z="0.9"/> <Dimensions width="2" length="2" height="2"/> </BoundingBox> <Properties> <Property name="type" value="simulation"/> </Properties> </Pedestrian> </ScenarioObject> <ScenarioObject name="pedestrian_close_to_hero_20401"> <Pedestrian model="walker.pedestrian.0001" mass="80" name="walker.pedestrian.0001" pedestrianCategory="pedestrian"> <ParameterDeclarations/> <BoundingBox> <Center x="1.5" y="0.0" z="0.9"/> <Dimensions width="2" length="2" height="2"/> </BoundingBox> <Properties> <Property name="type" value="simulation"/> </Properties> </Pedestrian> </ScenarioObject> <ScenarioObject name="pedestrian_close_to_hero_20402"> <Pedestrian model="walker.pedestrian.0001" mass="80" name="walker.pedestrian.0001" pedestrianCategory="pedestrian"> <ParameterDeclarations/> <BoundingBox> <Center x="1.5" y="0.0" z="0.9"/> <Dimensions width="2" length="2" height="2"/> </BoundingBox> <Properties> <Property name="type" value="simulation"/> </Properties> </Pedestrian> </ScenarioObject> <ScenarioObject name="pedestrian_close_to_standing_20403"> <Pedestrian model="walker.pedestrian.0001" mass="80" name="walker.pedestrian.0001" pedestrianCategory="pedestrian"> <ParameterDeclarations/> <BoundingBox> <Center x="1.5" y="0.0" z="0.9"/> <Dimensions width="2" length="2" height="2"/> </BoundingBox> <Properties> <Property name="type" value="simulation"/> </Properties> </Pedestrian> </ScenarioObject> <ScenarioObject name="pedestrian_close_to_hero_20404"> <Pedestrian model="walker.pedestrian.0001" mass="80" name="walker.pedestrian.0001" pedestrianCategory="pedestrian"> <ParameterDeclarations/> <BoundingBox> <Center x="1.5" y="0.0" z="0.9"/> <Dimensions width="2" length="2" height="2"/> </BoundingBox> <Properties> <Property name="type" value="simulation"/> </Properties> </Pedestrian> </ScenarioObject> <ScenarioObject name="pedestrian_w_transform_20405"> <Pedestrian model="walker.pedestrian.0001" mass="80" name="walker.pedestrian.0001" pedestrianCategory="pedestrian"> <ParameterDeclarations/> <BoundingBox> <Center x="1.5" y="0.0" z="0.9"/> <Dimensions width="2" length="2" height="2"/> </BoundingBox> <Properties> <Property name="type" value="simulation"/> </Properties> </Pedestrian> </ScenarioObject> <ScenarioObject name="pedestrian_close_to_standing_20406"> <Pedestrian model="walker.pedestrian.0001" mass="80" name="walker.pedestrian.0001" pedestrianCategory="pedestrian"> <ParameterDeclarations/> <BoundingBox> <Center x="1.5" y="0.0" z="0.9"/> <Dimensions width="2" length="2" height="2"/> </BoundingBox> <Properties> <Property name="type" value="simulation"/> </Properties> </Pedestrian> </ScenarioObject> <ScenarioObject name="pedestrian_w_transform_20407"> <Pedestrian model="walker.pedestrian.0001" mass="80" name="walker.pedestrian.0001" pedestrianCategory="pedestrian"> <ParameterDeclarations/> <BoundingBox> <Center x="1.5" y="0.0" z="0.9"/> <Dimensions width="2" length="2" height="2"/> </BoundingBox> <Properties> <Property name="type" value="simulation"/> </Properties> </Pedestrian> </ScenarioObject> <ScenarioObject name="pedestrian_close_to_hero_20408"> <Pedestrian model="walker.pedestrian.0001" mass="80" name="walker.pedestrian.0001" pedestrianCategory="pedestrian"> <ParameterDeclarations/> <BoundingBox> <Center x="1.5" y="0.0" z="0.9"/> <Dimensions width="2" length="2" height="2"/> </BoundingBox> <Properties> <Property name="type" value="simulation"/> </Properties> </Pedestrian> </ScenarioObject> <ScenarioObject name="pedestrian_w_transform_20410"> <Pedestrian model="walker.pedestrian.0001" mass="80" name="walker.pedestrian.0001" pedestrianCategory="pedestrian"> <ParameterDeclarations/> <BoundingBox> <Center x="1.5" y="0.0" z="0.9"/> <Dimensions width="2" length="2" height="2"/> </BoundingBox> <Properties> <Property name="type" value="simulation"/> </Properties> </Pedestrian> </ScenarioObject> <ScenarioObject name="pedestrian_close_to_hero_20411"> <Pedestrian model="walker.pedestrian.0001" mass="80" name="walker.pedestrian.0001" pedestrianCategory="pedestrian"> <ParameterDeclarations/> <BoundingBox> <Center x="1.5" y="0.0" z="0.9"/> <Dimensions width="2" length="2" height="2"/> </BoundingBox> <Properties> <Property name="type" value="simulation"/> </Properties> </Pedestrian> </ScenarioObject> <ScenarioObject name="pedestrian_w_transform_20412"> <Pedestrian model="walker.pedestrian.0001" mass="80" name="walker.pedestrian.0001" pedestrianCategory="pedestrian"> <ParameterDeclarations/> <BoundingBox> <Center x="1.5" y="0.0" z="0.9"/> <Dimensions width="2" length="2" height="2"/> </BoundingBox> <Properties> <Property name="type" value="simulation"/> </Properties> </Pedestrian> </ScenarioObject> <ScenarioObject name="pedestrian_close_to_hero_20413"> <Pedestrian model="walker.pedestrian.0001" mass="80" name="walker.pedestrian.0001" pedestrianCategory="pedestrian"> <ParameterDeclarations/> <BoundingBox> <Center x="1.5" y="0.0" z="0.9"/> <Dimensions width="2" length="2" height="2"/> </BoundingBox> <Properties> <Property name="type" value="simulation"/> </Properties> </Pedestrian> </ScenarioObject> <ScenarioObject name="pedestrian_close_to_adversary_20414"> <Pedestrian model="walker.pedestrian.0001" mass="80" name="walker.pedestrian.0001" pedestrianCategory="pedestrian"> <ParameterDeclarations/> <BoundingBox> <Center x="1.5" y="0.0" z="0.9"/> <Dimensions width="2" length="2" height="2"/> </BoundingBox> <Properties> <Property name="type" value="simulation"/> </Properties> </Pedestrian> </ScenarioObject> <ScenarioObject name="pedestrian_w_transform_20415"> <Pedestrian model="walker.pedestrian.0001" mass="80" name="walker.pedestrian.0001" pedestrianCategory="pedestrian"> <ParameterDeclarations/> <BoundingBox> <Center x="1.5" y="0.0" z="0.9"/> <Dimensions width="2" length="2" height="2"/> </BoundingBox> <Properties> <Property name="type" value="simulation"/> </Properties> </Pedestrian> </ScenarioObject> <ScenarioObject name="pedestrian_close_to_hero_20416"> <Pedestrian model="walker.pedestrian.0001" mass="80" name="walker.pedestrian.0001" pedestrianCategory="pedestrian"> <ParameterDeclarations/> <BoundingBox> <Center x="1.5" y="0.0" z="0.9"/> <Dimensions width="2" length="2" height="2"/> </BoundingBox> <Properties> <Property name="type" value="simulation"/> </Properties> </Pedestrian> </ScenarioObject> </Entities> <Storyboard> <Init> <Actions> <GlobalAction> <EnvironmentAction> <Environment name="Environment1"> <TimeOfDay animation="false" dateTime="2019-06-25T12:00:00"/> <Weather cloudState="free"> <Sun intensity="0.85" azimuth="0" elevation="1.31"/> <Fog visualRange="100000.0"/> <Precipitation precipitationType="dry" intensity="0.0"/> </Weather> <RoadCondition frictionScaleFactor="1.0"/> </Environment> </EnvironmentAction> </GlobalAction> <Private entityRef="hero"> <PrivateAction> <TeleportAction> <Position> <WorldPosition x="-9.4" y="-152.8" z="0.5" h="1.57079632679"/> </Position> </TeleportAction> </PrivateAction> <PrivateAction> <ControllerAction> <AssignControllerAction> <Controller name="HeroAgent"> <Properties> <Property name="module" value="external_control"/> </Properties> </Controller> </AssignControllerAction> <OverrideControllerValueAction> <Throttle value="0" active="false"/> <Brake value="0" active="false"/> <Clutch value="0" active="false"/> <ParkingBrake value="0" active="false"/> <SteeringWheel value="0" active="false"/> <Gear number="0" active="false"/> </OverrideControllerValueAction> </ControllerAction> </PrivateAction> </Private> <Private entityRef="adversary"> <PrivateAction> <TeleportAction> <Position> <WorldPosition x="-9.4" y="-71.0" z="0.5" h="1.57079632679"/> </Position> </TeleportAction> </PrivateAction> </Private> <Private entityRef="standing"> <PrivateAction> <TeleportAction> <Position> <WorldPosition x="-8.2" y="29.2" z="0.5" h="1.57079632679"/> </Position> </TeleportAction> </PrivateAction> </Private> <Private entityRef="pedestrian_close_to_hero_20395"> <PrivateAction> <TeleportAction> <Position> <WorldPosition x="-1.763743281364441" y="-149.13499450683594" z="0.0014286803780123591"/> </Position> </TeleportAction> </PrivateAction> </Private> <Private entityRef="pedestrian_close_to_adversary_20396"> <PrivateAction> <TeleportAction> <Position> <WorldPosition x="-15.109185218811035" y="-62.29167556762695" z="0.03382888808846474"/> </Position> </TeleportAction> </PrivateAction> </Private> <Private entityRef="pedestrian_close_to_adversary_20397"> <PrivateAction> <TeleportAction> <Position> <WorldPosition x="-5.75895357131958" y="-74.20217895507812" z="0.03382221236824989"/> </Position> </TeleportAction> </PrivateAction> </Private> <Private entityRef="pedestrian_w_transform_20398"> <PrivateAction> <TeleportAction> <Position> <WorldPosition x="-59.85515213012695" y="26.31020164489746" z="0.5"/> </Position> </TeleportAction> </PrivateAction> </Private> <Private entityRef="pedestrian_w_transform_20399"> <PrivateAction> <TeleportAction> <Position> <WorldPosition x="44.28317642211914" y="44.713260650634766" z="0.5"/> </Position> </TeleportAction> </PrivateAction> </Private> <Private entityRef="pedestrian_close_to_adversary_20400"> <PrivateAction> <TeleportAction> <Position> <WorldPosition x="-13.442427635192871" y="-75.73033142089844" z="0.033818893134593964"/> </Position> </TeleportAction> </PrivateAction> </Private> <Private entityRef="pedestrian_close_to_hero_20401"> <PrivateAction> <TeleportAction> <Position> <WorldPosition x="-6.8209123611450195" y="-144.547607421875" z="0.0014286803780123591"/> </Position> </TeleportAction> </PrivateAction> </Private> <Private entityRef="pedestrian_close_to_hero_20402"> <PrivateAction> <TeleportAction> <Position> <WorldPosition x="-19.196453094482422" y="-147.3751678466797" z="0.0014286803780123591"/> </Position> </TeleportAction> </PrivateAction> </Private> <Private entityRef="pedestrian_close_to_standing_20403"> <PrivateAction> <TeleportAction> <Position> <WorldPosition x="-4.837296009063721" y="22.513853073120117" z="0.0030148315709084272"/> </Position> </TeleportAction> </PrivateAction> </Private> <Private entityRef="pedestrian_close_to_hero_20404"> <PrivateAction> <TeleportAction> <Position> <WorldPosition x="-6.572630882263184" y="-145.9904022216797" z="0.0014286803780123591"/> </Position> </TeleportAction> </PrivateAction> </Private> <Private entityRef="pedestrian_w_transform_20405"> <PrivateAction> <TeleportAction> <Position> <WorldPosition x="-35.008155822753906" y="75.5495376586914" z="0.5"/> </Position> </TeleportAction> </PrivateAction> </Private> <Private entityRef="pedestrian_close_to_standing_20406"> <PrivateAction> <TeleportAction> <Position> <WorldPosition x="-6.995419979095459" y="19.974679946899414" z="0.003042373573407531"/> </Position> </TeleportAction> </PrivateAction> </Private> <Private entityRef="pedestrian_w_transform_20407"> <PrivateAction> <TeleportAction> <Position> <WorldPosition x="2.179565191268921" y="97.7751235961914" z="0.5"/> </Position> </TeleportAction> </PrivateAction> </Private> <Private entityRef="pedestrian_close_to_hero_20408"> <PrivateAction> <TeleportAction> <Position> <WorldPosition x="-6.892094135284424" y="-139.63575744628906" z="0.0014286803780123591"/> </Position> </TeleportAction> </PrivateAction> </Private> <Private entityRef="pedestrian_w_transform_20410"> <PrivateAction> <TeleportAction> <Position> <WorldPosition x="81.88756561279297" y="57.83958053588867" z="0.5"/> </Position> </TeleportAction> </PrivateAction> </Private> <Private entityRef="pedestrian_close_to_hero_20411"> <PrivateAction> <TeleportAction> <Position> <WorldPosition x="-17.621416091918945" y="-148.34388732910156" z="0.0014286803780123591"/> </Position> </TeleportAction> </PrivateAction> </Private> <Private entityRef="pedestrian_w_transform_20412"> <PrivateAction> <TeleportAction> <Position> <WorldPosition x="-12.177910804748535" y="40.1225471496582" z="0.5"/> </Position> </TeleportAction> </PrivateAction> </Private> <Private entityRef="pedestrian_close_to_hero_20413"> <PrivateAction> <TeleportAction> <Position> <WorldPosition x="-3.147972583770752" y="-159.16734313964844" z="0.0014286803780123591"/> </Position> </TeleportAction> </PrivateAction> </Private> <Private entityRef="pedestrian_close_to_adversary_20414"> <PrivateAction> <TeleportAction> <Position> <WorldPosition x="-9.173391342163086" y="-58.867313385009766" z="0.03377696871757507"/> </Position> </TeleportAction> </PrivateAction> </Private> <Private entityRef="pedestrian_w_transform_20415"> <PrivateAction> <TeleportAction> <Position> <WorldPosition x="-40.207977294921875" y="-22.113155364990234" z="0.5"/> </Position> </TeleportAction> </PrivateAction> </Private> <Private entityRef="pedestrian_close_to_hero_20416"> <PrivateAction> <TeleportAction> <Position> <WorldPosition x="-5.229761123657227" y="-162.63577270507812" z="0.0014286803780123591"/> </Position> </TeleportAction> </PrivateAction> </Private> </Actions> </Init> <Story name="MyStory"> <Act name="Behavior"> <ManeuverGroup maximumExecutionCount="1" name="ManeuverSequence"> <Actors selectTriggeringEntities="false"> <EntityRef entityRef="adversary"/> </Actors> <Maneuver name="LaneChangeSimpleManeuver"> <Event name="AdversaryAccelerates" priority="overwrite"> <Action name="AdversaryAccelerates"> <PrivateAction> <LongitudinalAction> <SpeedAction> <SpeedActionDynamics dynamicsShape="step" value="50" dynamicsDimension="distance"/> <SpeedActionTarget> <AbsoluteTargetSpeed value="5.0"/> </SpeedActionTarget> </SpeedAction> </LongitudinalAction> </PrivateAction> </Action> <StartTrigger> <ConditionGroup> <Condition name="StartCondition" delay="0" conditionEdge="rising"> <ByEntityCondition> <TriggeringEntities triggeringEntitiesRule="any"> <EntityRef entityRef="hero"/> </TriggeringEntities> <EntityCondition> <RelativeDistanceCondition entityRef="adversary" relativeDistanceType="cartesianDistance" value="40.0" freespace="false" rule="lessThan"/> </EntityCondition> </ByEntityCondition> </Condition> </ConditionGroup> </StartTrigger> </Event> <Event name="AdversaryChangesLane" priority="overwrite"> <Action name="AdversaryChangesLane"> <PrivateAction> <LateralAction> <LaneChangeAction> <LaneChangeActionDynamics dynamicsShape="linear" value="25" dynamicsDimension="distance"/> <LaneChangeTarget> <RelativeTargetLane entityRef="adversary" value="-1"/> </LaneChangeTarget> </LaneChangeAction> </LateralAction> </PrivateAction> </Action> <StartTrigger> <ConditionGroup> <Condition name="AfterAdversaryAccelerates" delay="0" conditionEdge="rising"> <ByValueCondition> <StoryboardElementStateCondition storyboardElementType="action" storyboardElementRef="AdversaryAccelerates" state="completeState"/> </ByValueCondition> </Condition> </ConditionGroup> </StartTrigger> </Event> </Maneuver> </ManeuverGroup> <StartTrigger> <ConditionGroup> <Condition name="OverallStartCondition" delay="0" conditionEdge="rising"> <ByEntityCondition> <TriggeringEntities triggeringEntitiesRule="any"> <EntityRef entityRef="hero"/> </TriggeringEntities> <EntityCondition> <TraveledDistanceCondition value="1.0"/> </EntityCondition> </ByEntityCondition> </Condition> <Condition name="StartTime" delay="0" conditionEdge="rising"> <ByValueCondition> <SimulationTimeCondition value="0" rule="equalTo"/> </ByValueCondition> </Condition> </ConditionGroup> </StartTrigger> <StopTrigger> <ConditionGroup> <Condition name="EndCondition" delay="0" conditionEdge="rising"> <ByEntityCondition> <TriggeringEntities triggeringEntitiesRule="any"> <EntityRef entityRef="hero"/> </TriggeringEntities> <EntityCondition> <TraveledDistanceCondition value="200.0"/> </EntityCondition> </ByEntityCondition> </Condition> </ConditionGroup> </StopTrigger> </Act> </Story> <StopTrigger> <ConditionGroup> <Condition name="criteria_RunningStopTest" delay="0" conditionEdge="rising"> <ByValueCondition> <ParameterCondition parameterRef="" value="" rule="lessThan"/> </ByValueCondition> </Condition> <Condition name="criteria_RunningRedLightTest" delay="0" conditionEdge="rising"> <ByValueCondition> <ParameterCondition parameterRef="" value="" rule="lessThan"/> </ByValueCondition> </Condition> <Condition name="criteria_WrongLaneTest" delay="0" conditionEdge="rising"> <ByValueCondition> <ParameterCondition parameterRef="" value="" rule="lessThan"/> </ByValueCondition> </Condition> <Condition name="criteria_OnSidewalkTest" delay="0" conditionEdge="rising"> <ByValueCondition> <ParameterCondition parameterRef="" value="" rule="lessThan"/> </ByValueCondition> </Condition> <Condition name="criteria_KeepLaneTest" delay="0" conditionEdge="rising"> <ByValueCondition> <ParameterCondition parameterRef="" value="" rule="lessThan"/> </ByValueCondition> </Condition> <Condition name="criteria_CollisionTest" delay="0" conditionEdge="rising"> <ByValueCondition> <ParameterCondition parameterRef="" value="" rule="lessThan"/> </ByValueCondition> </Condition> <Condition name="criteria_DrivenDistanceTest" delay="0" conditionEdge="rising"> <ByValueCondition> <ParameterCondition parameterRef="distance_success" value="100" rule="lessThan"/> </ByValueCondition> </Condition> </ConditionGroup> </StopTrigger> </Storyboard> </OpenSCENARIO> ```
i would like to command you to add pedestrian at location (-94.92, 29.8, 0.5)? ``` <?xml version="1.0" ?> <OpenSCENARIO> <FileHeader revMajor="1" revMinor="0" date="2020-03-24T12:00:00" description="CARLA:LaneChangeSimple" author=""/> <ParameterDeclarations/> <CatalogLocations/> <RoadNetwork> <LogicFile filepath="Town04"/> <SceneGraphFile filepath=""/> </RoadNetwork> <Entities> <ScenarioObject name="hero"> <Vehicle name="vehicle.tesla.model3" vehicleCategory="car"> <ParameterDeclarations/> <Performance maxSpeed="69.444" maxAcceleration="200" maxDeceleration="10.0"/> <BoundingBox> <Center x="1.5" y="0.0" z="0.9"/> <Dimensions width="2.1" length="4.5" height="1.8"/> </BoundingBox> <Axles> <FrontAxle maxSteering="0.5" wheelDiameter="0.6" trackWidth="1.8" positionX="3.1" positionZ="0.3"/> <RearAxle maxSteering="0.0" wheelDiameter="0.6" trackWidth="1.8" positionX="0.0" positionZ="0.3"/> </Axles> <Properties> <Property name="type" value="ego_vehicle"/> </Properties> </Vehicle> </ScenarioObject> <ScenarioObject name="adversary"> <Vehicle name="vehicle.lincoln.mkz_2017" vehicleCategory="car"> <ParameterDeclarations/> <Performance maxSpeed="69.444" maxAcceleration="200" maxDeceleration="10.0"/> <BoundingBox> <Center x="1.5" y="0.0" z="0.9"/> <Dimensions width="2.1" length="4.5" height="1.8"/> </BoundingBox> <Axles> <FrontAxle maxSteering="0.5" wheelDiameter="0.6" trackWidth="1.8" positionX="3.1" positionZ="0.3"/> <RearAxle maxSteering="0.0" wheelDiameter="0.6" trackWidth="1.8" positionX="0.0" positionZ="0.3"/> </Axles> <Properties> <Property name="type" value="simulation"/> </Properties> </Vehicle> </ScenarioObject> <ScenarioObject name="standing"> <Vehicle name="vehicle.volkswagen.t2" vehicleCategory="car"> <ParameterDeclarations/> <Performance maxSpeed="69.444" maxAcceleration="200" maxDeceleration="10.0"/> <BoundingBox> <Center x="1.5" y="0.0" z="0.9"/> <Dimensions width="2.1" length="4.5" height="1.8"/> </BoundingBox> <Axles> <FrontAxle maxSteering="0.5" wheelDiameter="0.6" trackWidth="1.8" positionX="3.1" positionZ="0.3"/> <RearAxle maxSteering="0.0" wheelDiameter="0.6" trackWidth="1.8" positionX="0.0" positionZ="0.3"/> </Axles> <Properties> <Property name="type" value="simulation"/> </Properties> </Vehicle> </ScenarioObject> <ScenarioObject name="pedestrian_close_to_hero_20860"> <Pedestrian model="walker.pedestrian.0001" mass="80" name="walker.pedestrian.0001" pedestrianCategory="pedestrian"> <ParameterDeclarations/> <BoundingBox> <Center x="1.5" y="0.0" z="0.9"/> <Dimensions width="2" length="2" height="2"/> </BoundingBox> <Properties> <Property name="type" value="simulation"/> </Properties> </Pedestrian> </ScenarioObject> <ScenarioObject name="pedestrian_w_transform_20861"> <Pedestrian model="walker.pedestrian.0001" mass="80" name="walker.pedestrian.0001" pedestrianCategory="pedestrian"> <ParameterDeclarations/> <BoundingBox> <Center x="1.5" y="0.0" z="0.9"/> <Dimensions width="2" length="2" height="2"/> </BoundingBox> <Properties> <Property name="type" value="simulation"/> </Properties> </Pedestrian> </ScenarioObject> </Entities> <Storyboard> <Init> <Actions> <GlobalAction> <EnvironmentAction> <Environment name="Environment1"> <TimeOfDay animation="false" dateTime="2019-06-25T12:00:00"/> <Weather cloudState="free"> <Sun intensity="0.85" azimuth="0" elevation="1.31"/> <Fog visualRange="100000.0"/> <Precipitation precipitationType="dry" intensity="0.0"/> </Weather> <RoadCondition frictionScaleFactor="1.0"/> </Environment> </EnvironmentAction> </GlobalAction> <Private entityRef="hero"> <PrivateAction> <TeleportAction> <Position> <WorldPosition x="-9.4" y="-152.8" z="0.5" h="1.57079632679"/> </Position> </TeleportAction> </PrivateAction> <PrivateAction> <ControllerAction> <AssignControllerAction> <Controller name="HeroAgent"> <Properties> <Property name="module" value="external_control"/> </Properties> </Controller> </AssignControllerAction> <OverrideControllerValueAction> <Throttle value="0" active="false"/> <Brake value="0" active="false"/> <Clutch value="0" active="false"/> <ParkingBrake value="0" active="false"/> <SteeringWheel value="0" active="false"/> <Gear number="0" active="false"/> </OverrideControllerValueAction> </ControllerAction> </PrivateAction> </Private> <Private entityRef="adversary"> <PrivateAction> <TeleportAction> <Position> <WorldPosition x="-9.4" y="-71.0" z="0.5" h="1.57079632679"/> </Position> </TeleportAction> </PrivateAction> </Private> <Private entityRef="standing"> <PrivateAction> <TeleportAction> <Position> <WorldPosition x="-8.2" y="29.2" z="0.5" h="1.57079632679"/> </Position> </TeleportAction> </PrivateAction> </Private> <Private entityRef="pedestrian_close_to_hero_20860"> <PrivateAction> <TeleportAction> <Position> <WorldPosition x="-5.292752742767334" y="-157.23587036132812" z="0.0014286803780123591"/> </Position> </TeleportAction> </PrivateAction> </Private> <Private entityRef="pedestrian_w_transform_20861"> <PrivateAction> <TeleportAction> <Position> <WorldPosition x="-68.20599365234375" y="-96.60189819335938" z="0.5"/> </Position> </TeleportAction> </PrivateAction> </Private> </Actions> </Init> <Story name="MyStory"> <Act name="Behavior"> <ManeuverGroup maximumExecutionCount="1" name="ManeuverSequence"> <Actors selectTriggeringEntities="false"> <EntityRef entityRef="adversary"/> </Actors> <Maneuver name="LaneChangeSimpleManeuver"> <Event name="AdversaryAccelerates" priority="overwrite"> <Action name="AdversaryAccelerates"> <PrivateAction> <LongitudinalAction> <SpeedAction> <SpeedActionDynamics dynamicsShape="step" value="50" dynamicsDimension="distance"/> <SpeedActionTarget> <AbsoluteTargetSpeed value="5.0"/> </SpeedActionTarget> </SpeedAction> </LongitudinalAction> </PrivateAction> </Action> <StartTrigger> <ConditionGroup> <Condition name="StartCondition" delay="0" conditionEdge="rising"> <ByEntityCondition> <TriggeringEntities triggeringEntitiesRule="any"> <EntityRef entityRef="hero"/> </TriggeringEntities> <EntityCondition> <RelativeDistanceCondition entityRef="adversary" relativeDistanceType="cartesianDistance" value="40.0" freespace="false" rule="lessThan"/> </EntityCondition> </ByEntityCondition> </Condition> </ConditionGroup> </StartTrigger> </Event> <Event name="AdversaryChangesLane" priority="overwrite"> <Action name="AdversaryChangesLane"> <PrivateAction> <LateralAction> <LaneChangeAction> <LaneChangeActionDynamics dynamicsShape="linear" value="25" dynamicsDimension="distance"/> <LaneChangeTarget> <RelativeTargetLane entityRef="adversary" value="-1"/> </LaneChangeTarget> </LaneChangeAction> </LateralAction> </PrivateAction> </Action> <StartTrigger> <ConditionGroup> <Condition name="AfterAdversaryAccelerates" delay="0" conditionEdge="rising"> <ByValueCondition> <StoryboardElementStateCondition storyboardElementType="action" storyboardElementRef="AdversaryAccelerates" state="completeState"/> </ByValueCondition> </Condition> </ConditionGroup> </StartTrigger> </Event> </Maneuver> </ManeuverGroup> <StartTrigger> <ConditionGroup> <Condition name="OverallStartCondition" delay="0" conditionEdge="rising"> <ByEntityCondition> <TriggeringEntities triggeringEntitiesRule="any"> <EntityRef entityRef="hero"/> </TriggeringEntities> <EntityCondition> <TraveledDistanceCondition value="1.0"/> </EntityCondition> </ByEntityCondition> </Condition> <Condition name="StartTime" delay="0" conditionEdge="rising"> <ByValueCondition> <SimulationTimeCondition value="0" rule="equalTo"/> </ByValueCondition> </Condition> </ConditionGroup> </StartTrigger> <StopTrigger> <ConditionGroup> <Condition name="EndCondition" delay="0" conditionEdge="rising"> <ByEntityCondition> <TriggeringEntities triggeringEntitiesRule="any"> <EntityRef entityRef="hero"/> </TriggeringEntities> <EntityCondition> <TraveledDistanceCondition value="200.0"/> </EntityCondition> </ByEntityCondition> </Condition> </ConditionGroup> </StopTrigger> </Act> </Story> <StopTrigger> <ConditionGroup> <Condition name="criteria_RunningStopTest" delay="0" conditionEdge="rising"> <ByValueCondition> <ParameterCondition parameterRef="" value="" rule="lessThan"/> </ByValueCondition> </Condition> <Condition name="criteria_RunningRedLightTest" delay="0" conditionEdge="rising"> <ByValueCondition> <ParameterCondition parameterRef="" value="" rule="lessThan"/> </ByValueCondition> </Condition> <Condition name="criteria_WrongLaneTest" delay="0" conditionEdge="rising"> <ByValueCondition> <ParameterCondition parameterRef="" value="" rule="lessThan"/> </ByValueCondition> </Condition> <Condition name="criteria_OnSidewalkTest" delay="0" conditionEdge="rising"> <ByValueCondition> <ParameterCondition parameterRef="" value="" rule="lessThan"/> </ByValueCondition> </Condition> <Condition name="criteria_KeepLaneTest" delay="0" conditionEdge="rising"> <ByValueCondition> <ParameterCondition parameterRef="" value="" rule="lessThan"/> </ByValueCondition> </Condition> <Condition name="criteria_CollisionTest" delay="0" conditionEdge="rising"> <ByValueCondition> <ParameterCondition parameterRef="" value="" rule="lessThan"/> </ByValueCondition> </Condition> <Condition name="criteria_DrivenDistanceTest" delay="0" conditionEdge="rising"> <ByValueCondition> <ParameterCondition parameterRef="distance_success" value="100" rule="lessThan"/> </ByValueCondition> </Condition> </ConditionGroup> </StopTrigger> </Storyboard> </OpenSCENARIO> ```
Here is the result: ``` <?xml version="1.0" ?> <OpenSCENARIO> <FileHeader revMajor="1" revMinor="0" date="2020-03-24T12:00:00" description="CARLA:LaneChangeSimple" author=""/> <ParameterDeclarations/> <CatalogLocations/> <RoadNetwork> <LogicFile filepath="Town04"/> <SceneGraphFile filepath=""/> </RoadNetwork> <Entities> <ScenarioObject name="hero"> <Vehicle name="vehicle.tesla.model3" vehicleCategory="car"> <ParameterDeclarations/> <Performance maxSpeed="69.444" maxAcceleration="200" maxDeceleration="10.0"/> <BoundingBox> <Center x="1.5" y="0.0" z="0.9"/> <Dimensions width="2.1" length="4.5" height="1.8"/> </BoundingBox> <Axles> <FrontAxle maxSteering="0.5" wheelDiameter="0.6" trackWidth="1.8" positionX="3.1" positionZ="0.3"/> <RearAxle maxSteering="0.0" wheelDiameter="0.6" trackWidth="1.8" positionX="0.0" positionZ="0.3"/> </Axles> <Properties> <Property name="type" value="ego_vehicle"/> </Properties> </Vehicle> </ScenarioObject> <ScenarioObject name="adversary"> <Vehicle name="vehicle.lincoln.mkz_2017" vehicleCategory="car"> <ParameterDeclarations/> <Performance maxSpeed="69.444" maxAcceleration="200" maxDeceleration="10.0"/> <BoundingBox> <Center x="1.5" y="0.0" z="0.9"/> <Dimensions width="2.1" length="4.5" height="1.8"/> </BoundingBox> <Axles> <FrontAxle maxSteering="0.5" wheelDiameter="0.6" trackWidth="1.8" positionX="3.1" positionZ="0.3"/> <RearAxle maxSteering="0.0" wheelDiameter="0.6" trackWidth="1.8" positionX="0.0" positionZ="0.3"/> </Axles> <Properties> <Property name="type" value="simulation"/> </Properties> </Vehicle> </ScenarioObject> <ScenarioObject name="standing"> <Vehicle name="vehicle.volkswagen.t2" vehicleCategory="car"> <ParameterDeclarations/> <Performance maxSpeed="69.444" maxAcceleration="200" maxDeceleration="10.0"/> <BoundingBox> <Center x="1.5" y="0.0" z="0.9"/> <Dimensions width="2.1" length="4.5" height="1.8"/> </BoundingBox> <Axles> <FrontAxle maxSteering="0.5" wheelDiameter="0.6" trackWidth="1.8" positionX="3.1" positionZ="0.3"/> <RearAxle maxSteering="0.0" wheelDiameter="0.6" trackWidth="1.8" positionX="0.0" positionZ="0.3"/> </Axles> <Properties> <Property name="type" value="simulation"/> </Properties> </Vehicle> </ScenarioObject> <ScenarioObject name="pedestrian_close_to_hero_20860"> <Pedestrian model="walker.pedestrian.0001" mass="80" name="walker.pedestrian.0001" pedestrianCategory="pedestrian"> <ParameterDeclarations/> <BoundingBox> <Center x="1.5" y="0.0" z="0.9"/> <Dimensions width="2" length="2" height="2"/> </BoundingBox> <Properties> <Property name="type" value="simulation"/> </Properties> </Pedestrian> </ScenarioObject> <ScenarioObject name="pedestrian_w_transform_20861"> <Pedestrian model="walker.pedestrian.0001" mass="80" name="walker.pedestrian.0001" pedestrianCategory="pedestrian"> <ParameterDeclarations/> <BoundingBox> <Center x="1.5" y="0.0" z="0.9"/> <Dimensions width="2" length="2" height="2"/> </BoundingBox> <Properties> <Property name="type" value="simulation"/> </Properties> </Pedestrian> </ScenarioObject> <ScenarioObject name="pedestrian_w_transform_20862"> <Pedestrian model="walker.pedestrian.0001" mass="80" name="walker.pedestrian.0001" pedestrianCategory="pedestrian"> <ParameterDeclarations/> <BoundingBox> <Center x="1.5" y="0.0" z="0.9"/> <Dimensions width="2" length="2" height="2"/> </BoundingBox> <Properties> <Property name="type" value="simulation"/> </Properties> </Pedestrian> </ScenarioObject> </Entities> <Storyboard> <Init> <Actions> <GlobalAction> <EnvironmentAction> <Environment name="Environment1"> <TimeOfDay animation="false" dateTime="2019-06-25T12:00:00"/> <Weather cloudState="free"> <Sun intensity="0.85" azimuth="0" elevation="1.31"/> <Fog visualRange="100000.0"/> <Precipitation precipitationType="dry" intensity="0.0"/> </Weather> <RoadCondition frictionScaleFactor="1.0"/> </Environment> </EnvironmentAction> </GlobalAction> <Private entityRef="hero"> <PrivateAction> <TeleportAction> <Position> <WorldPosition x="-9.4" y="-152.8" z="0.5" h="1.57079632679"/> </Position> </TeleportAction> </PrivateAction> <PrivateAction> <ControllerAction> <AssignControllerAction> <Controller name="HeroAgent"> <Properties> <Property name="module" value="external_control"/> </Properties> </Controller> </AssignControllerAction> <OverrideControllerValueAction> <Throttle value="0" active="false"/> <Brake value="0" active="false"/> <Clutch value="0" active="false"/> <ParkingBrake value="0" active="false"/> <SteeringWheel value="0" active="false"/> <Gear number="0" active="false"/> </OverrideControllerValueAction> </ControllerAction> </PrivateAction> </Private> <Private entityRef="adversary"> <PrivateAction> <TeleportAction> <Position> <WorldPosition x="-9.4" y="-71.0" z="0.5" h="1.57079632679"/> </Position> </TeleportAction> </PrivateAction> </Private> <Private entityRef="standing"> <PrivateAction> <TeleportAction> <Position> <WorldPosition x="-8.2" y="29.2" z="0.5" h="1.57079632679"/> </Position> </TeleportAction> </PrivateAction> </Private> <Private entityRef="pedestrian_close_to_hero_20860"> <PrivateAction> <TeleportAction> <Position> <WorldPosition x="-5.292752742767334" y="-157.23587036132812" z="0.0014286803780123591"/> </Position> </TeleportAction> </PrivateAction> </Private> <Private entityRef="pedestrian_w_transform_20861"> <PrivateAction> <TeleportAction> <Position> <WorldPosition x="-68.20599365234375" y="-96.60189819335938" z="0.5"/> </Position> </TeleportAction> </PrivateAction> </Private> <Private entityRef="pedestrian_w_transform_20862"> <PrivateAction> <TeleportAction> <Position> <WorldPosition x="-94.91527557373047" y="29.79668426513672" z="0.5"/> </Position> </TeleportAction> </PrivateAction> </Private> </Actions> </Init> <Story name="MyStory"> <Act name="Behavior"> <ManeuverGroup maximumExecutionCount="1" name="ManeuverSequence"> <Actors selectTriggeringEntities="false"> <EntityRef entityRef="adversary"/> </Actors> <Maneuver name="LaneChangeSimpleManeuver"> <Event name="AdversaryAccelerates" priority="overwrite"> <Action name="AdversaryAccelerates"> <PrivateAction> <LongitudinalAction> <SpeedAction> <SpeedActionDynamics dynamicsShape="step" value="50" dynamicsDimension="distance"/> <SpeedActionTarget> <AbsoluteTargetSpeed value="5.0"/> </SpeedActionTarget> </SpeedAction> </LongitudinalAction> </PrivateAction> </Action> <StartTrigger> <ConditionGroup> <Condition name="StartCondition" delay="0" conditionEdge="rising"> <ByEntityCondition> <TriggeringEntities triggeringEntitiesRule="any"> <EntityRef entityRef="hero"/> </TriggeringEntities> <EntityCondition> <RelativeDistanceCondition entityRef="adversary" relativeDistanceType="cartesianDistance" value="40.0" freespace="false" rule="lessThan"/> </EntityCondition> </ByEntityCondition> </Condition> </ConditionGroup> </StartTrigger> </Event> <Event name="AdversaryChangesLane" priority="overwrite"> <Action name="AdversaryChangesLane"> <PrivateAction> <LateralAction> <LaneChangeAction> <LaneChangeActionDynamics dynamicsShape="linear" value="25" dynamicsDimension="distance"/> <LaneChangeTarget> <RelativeTargetLane entityRef="adversary" value="-1"/> </LaneChangeTarget> </LaneChangeAction> </LateralAction> </PrivateAction> </Action> <StartTrigger> <ConditionGroup> <Condition name="AfterAdversaryAccelerates" delay="0" conditionEdge="rising"> <ByValueCondition> <StoryboardElementStateCondition storyboardElementType="action" storyboardElementRef="AdversaryAccelerates" state="completeState"/> </ByValueCondition> </Condition> </ConditionGroup> </StartTrigger> </Event> </Maneuver> </ManeuverGroup> <StartTrigger> <ConditionGroup> <Condition name="OverallStartCondition" delay="0" conditionEdge="rising"> <ByEntityCondition> <TriggeringEntities triggeringEntitiesRule="any"> <EntityRef entityRef="hero"/> </TriggeringEntities> <EntityCondition> <TraveledDistanceCondition value="1.0"/> </EntityCondition> </ByEntityCondition> </Condition> <Condition name="StartTime" delay="0" conditionEdge="rising"> <ByValueCondition> <SimulationTimeCondition value="0" rule="equalTo"/> </ByValueCondition> </Condition> </ConditionGroup> </StartTrigger> <StopTrigger> <ConditionGroup> <Condition name="EndCondition" delay="0" conditionEdge="rising"> <ByEntityCondition> <TriggeringEntities triggeringEntitiesRule="any"> <EntityRef entityRef="hero"/> </TriggeringEntities> <EntityCondition> <TraveledDistanceCondition value="200.0"/> </EntityCondition> </ByEntityCondition> </Condition> </ConditionGroup> </StopTrigger> </Act> </Story> <StopTrigger> <ConditionGroup> <Condition name="criteria_RunningStopTest" delay="0" conditionEdge="rising"> <ByValueCondition> <ParameterCondition parameterRef="" value="" rule="lessThan"/> </ByValueCondition> </Condition> <Condition name="criteria_RunningRedLightTest" delay="0" conditionEdge="rising"> <ByValueCondition> <ParameterCondition parameterRef="" value="" rule="lessThan"/> </ByValueCondition> </Condition> <Condition name="criteria_WrongLaneTest" delay="0" conditionEdge="rising"> <ByValueCondition> <ParameterCondition parameterRef="" value="" rule="lessThan"/> </ByValueCondition> </Condition> <Condition name="criteria_OnSidewalkTest" delay="0" conditionEdge="rising"> <ByValueCondition> <ParameterCondition parameterRef="" value="" rule="lessThan"/> </ByValueCondition> </Condition> <Condition name="criteria_KeepLaneTest" delay="0" conditionEdge="rising"> <ByValueCondition> <ParameterCondition parameterRef="" value="" rule="lessThan"/> </ByValueCondition> </Condition> <Condition name="criteria_CollisionTest" delay="0" conditionEdge="rising"> <ByValueCondition> <ParameterCondition parameterRef="" value="" rule="lessThan"/> </ByValueCondition> </Condition> <Condition name="criteria_DrivenDistanceTest" delay="0" conditionEdge="rising"> <ByValueCondition> <ParameterCondition parameterRef="distance_success" value="100" rule="lessThan"/> </ByValueCondition> </Condition> </ConditionGroup> </StopTrigger> </Storyboard> </OpenSCENARIO> ```
i would like to tell you to remove pedestrian close to hero? ``` <?xml version="1.0" ?> <OpenSCENARIO> <FileHeader revMajor="1" revMinor="0" date="2020-03-24T12:00:00" description="CARLA:LaneChangeSimple" author=""/> <ParameterDeclarations/> <CatalogLocations/> <RoadNetwork> <LogicFile filepath="Town04"/> <SceneGraphFile filepath=""/> </RoadNetwork> <Entities> <ScenarioObject name="hero"> <Vehicle name="vehicle.tesla.model3" vehicleCategory="car"> <ParameterDeclarations/> <Performance maxSpeed="69.444" maxAcceleration="200" maxDeceleration="10.0"/> <BoundingBox> <Center x="1.5" y="0.0" z="0.9"/> <Dimensions width="2.1" length="4.5" height="1.8"/> </BoundingBox> <Axles> <FrontAxle maxSteering="0.5" wheelDiameter="0.6" trackWidth="1.8" positionX="3.1" positionZ="0.3"/> <RearAxle maxSteering="0.0" wheelDiameter="0.6" trackWidth="1.8" positionX="0.0" positionZ="0.3"/> </Axles> <Properties> <Property name="type" value="ego_vehicle"/> </Properties> </Vehicle> </ScenarioObject> <ScenarioObject name="adversary"> <Vehicle name="vehicle.lincoln.mkz_2017" vehicleCategory="car"> <ParameterDeclarations/> <Performance maxSpeed="69.444" maxAcceleration="200" maxDeceleration="10.0"/> <BoundingBox> <Center x="1.5" y="0.0" z="0.9"/> <Dimensions width="2.1" length="4.5" height="1.8"/> </BoundingBox> <Axles> <FrontAxle maxSteering="0.5" wheelDiameter="0.6" trackWidth="1.8" positionX="3.1" positionZ="0.3"/> <RearAxle maxSteering="0.0" wheelDiameter="0.6" trackWidth="1.8" positionX="0.0" positionZ="0.3"/> </Axles> <Properties> <Property name="type" value="simulation"/> </Properties> </Vehicle> </ScenarioObject> <ScenarioObject name="standing"> <Vehicle name="vehicle.volkswagen.t2" vehicleCategory="car"> <ParameterDeclarations/> <Performance maxSpeed="69.444" maxAcceleration="200" maxDeceleration="10.0"/> <BoundingBox> <Center x="1.5" y="0.0" z="0.9"/> <Dimensions width="2.1" length="4.5" height="1.8"/> </BoundingBox> <Axles> <FrontAxle maxSteering="0.5" wheelDiameter="0.6" trackWidth="1.8" positionX="3.1" positionZ="0.3"/> <RearAxle maxSteering="0.0" wheelDiameter="0.6" trackWidth="1.8" positionX="0.0" positionZ="0.3"/> </Axles> <Properties> <Property name="type" value="simulation"/> </Properties> </Vehicle> </ScenarioObject> <ScenarioObject name="pedestrian_close_to_standing_23610"> <Pedestrian model="walker.pedestrian.0001" mass="80" name="walker.pedestrian.0001" pedestrianCategory="pedestrian"> <ParameterDeclarations/> <BoundingBox> <Center x="1.5" y="0.0" z="0.9"/> <Dimensions width="2" length="2" height="2"/> </BoundingBox> <Properties> <Property name="type" value="simulation"/> </Properties> </Pedestrian> </ScenarioObject> <ScenarioObject name="pedestrian_w_transform_23611"> <Pedestrian model="walker.pedestrian.0001" mass="80" name="walker.pedestrian.0001" pedestrianCategory="pedestrian"> <ParameterDeclarations/> <BoundingBox> <Center x="1.5" y="0.0" z="0.9"/> <Dimensions width="2" length="2" height="2"/> </BoundingBox> <Properties> <Property name="type" value="simulation"/> </Properties> </Pedestrian> </ScenarioObject> <ScenarioObject name="pedestrian_w_transform_23612"> <Pedestrian model="walker.pedestrian.0001" mass="80" name="walker.pedestrian.0001" pedestrianCategory="pedestrian"> <ParameterDeclarations/> <BoundingBox> <Center x="1.5" y="0.0" z="0.9"/> <Dimensions width="2" length="2" height="2"/> </BoundingBox> <Properties> <Property name="type" value="simulation"/> </Properties> </Pedestrian> </ScenarioObject> <ScenarioObject name="pedestrian_w_transform_23613"> <Pedestrian model="walker.pedestrian.0001" mass="80" name="walker.pedestrian.0001" pedestrianCategory="pedestrian"> <ParameterDeclarations/> <BoundingBox> <Center x="1.5" y="0.0" z="0.9"/> <Dimensions width="2" length="2" height="2"/> </BoundingBox> <Properties> <Property name="type" value="simulation"/> </Properties> </Pedestrian> </ScenarioObject> <ScenarioObject name="pedestrian_close_to_adversary_23615"> <Pedestrian model="walker.pedestrian.0001" mass="80" name="walker.pedestrian.0001" pedestrianCategory="pedestrian"> <ParameterDeclarations/> <BoundingBox> <Center x="1.5" y="0.0" z="0.9"/> <Dimensions width="2" length="2" height="2"/> </BoundingBox> <Properties> <Property name="type" value="simulation"/> </Properties> </Pedestrian> </ScenarioObject> <ScenarioObject name="pedestrian_w_transform_23616"> <Pedestrian model="walker.pedestrian.0001" mass="80" name="walker.pedestrian.0001" pedestrianCategory="pedestrian"> <ParameterDeclarations/> <BoundingBox> <Center x="1.5" y="0.0" z="0.9"/> <Dimensions width="2" length="2" height="2"/> </BoundingBox> <Properties> <Property name="type" value="simulation"/> </Properties> </Pedestrian> </ScenarioObject> <ScenarioObject name="pedestrian_close_to_adversary_23617"> <Pedestrian model="walker.pedestrian.0001" mass="80" name="walker.pedestrian.0001" pedestrianCategory="pedestrian"> <ParameterDeclarations/> <BoundingBox> <Center x="1.5" y="0.0" z="0.9"/> <Dimensions width="2" length="2" height="2"/> </BoundingBox> <Properties> <Property name="type" value="simulation"/> </Properties> </Pedestrian> </ScenarioObject> <ScenarioObject name="pedestrian_close_to_adversary_23618"> <Pedestrian model="walker.pedestrian.0001" mass="80" name="walker.pedestrian.0001" pedestrianCategory="pedestrian"> <ParameterDeclarations/> <BoundingBox> <Center x="1.5" y="0.0" z="0.9"/> <Dimensions width="2" length="2" height="2"/> </BoundingBox> <Properties> <Property name="type" value="simulation"/> </Properties> </Pedestrian> </ScenarioObject> <ScenarioObject name="pedestrian_close_to_adversary_23620"> <Pedestrian model="walker.pedestrian.0001" mass="80" name="walker.pedestrian.0001" pedestrianCategory="pedestrian"> <ParameterDeclarations/> <BoundingBox> <Center x="1.5" y="0.0" z="0.9"/> <Dimensions width="2" length="2" height="2"/> </BoundingBox> <Properties> <Property name="type" value="simulation"/> </Properties> </Pedestrian> </ScenarioObject> <ScenarioObject name="pedestrian_w_transform_23621"> <Pedestrian model="walker.pedestrian.0001" mass="80" name="walker.pedestrian.0001" pedestrianCategory="pedestrian"> <ParameterDeclarations/> <BoundingBox> <Center x="1.5" y="0.0" z="0.9"/> <Dimensions width="2" length="2" height="2"/> </BoundingBox> <Properties> <Property name="type" value="simulation"/> </Properties> </Pedestrian> </ScenarioObject> <ScenarioObject name="pedestrian_close_to_adversary_23622"> <Pedestrian model="walker.pedestrian.0001" mass="80" name="walker.pedestrian.0001" pedestrianCategory="pedestrian"> <ParameterDeclarations/> <BoundingBox> <Center x="1.5" y="0.0" z="0.9"/> <Dimensions width="2" length="2" height="2"/> </BoundingBox> <Properties> <Property name="type" value="simulation"/> </Properties> </Pedestrian> </ScenarioObject> <ScenarioObject name="pedestrian_w_transform_23623"> <Pedestrian model="walker.pedestrian.0001" mass="80" name="walker.pedestrian.0001" pedestrianCategory="pedestrian"> <ParameterDeclarations/> <BoundingBox> <Center x="1.5" y="0.0" z="0.9"/> <Dimensions width="2" length="2" height="2"/> </BoundingBox> <Properties> <Property name="type" value="simulation"/> </Properties> </Pedestrian> </ScenarioObject> <ScenarioObject name="pedestrian_close_to_standing_23624"> <Pedestrian model="walker.pedestrian.0001" mass="80" name="walker.pedestrian.0001" pedestrianCategory="pedestrian"> <ParameterDeclarations/> <BoundingBox> <Center x="1.5" y="0.0" z="0.9"/> <Dimensions width="2" length="2" height="2"/> </BoundingBox> <Properties> <Property name="type" value="simulation"/> </Properties> </Pedestrian> </ScenarioObject> <ScenarioObject name="pedestrian_close_to_standing_23626"> <Pedestrian model="walker.pedestrian.0001" mass="80" name="walker.pedestrian.0001" pedestrianCategory="pedestrian"> <ParameterDeclarations/> <BoundingBox> <Center x="1.5" y="0.0" z="0.9"/> <Dimensions width="2" length="2" height="2"/> </BoundingBox> <Properties> <Property name="type" value="simulation"/> </Properties> </Pedestrian> </ScenarioObject> <ScenarioObject name="pedestrian_w_transform_23627"> <Pedestrian model="walker.pedestrian.0001" mass="80" name="walker.pedestrian.0001" pedestrianCategory="pedestrian"> <ParameterDeclarations/> <BoundingBox> <Center x="1.5" y="0.0" z="0.9"/> <Dimensions width="2" length="2" height="2"/> </BoundingBox> <Properties> <Property name="type" value="simulation"/> </Properties> </Pedestrian> </ScenarioObject> <ScenarioObject name="pedestrian_close_to_hero_23629"> <Pedestrian model="walker.pedestrian.0001" mass="80" name="walker.pedestrian.0001" pedestrianCategory="pedestrian"> <ParameterDeclarations/> <BoundingBox> <Center x="1.5" y="0.0" z="0.9"/> <Dimensions width="2" length="2" height="2"/> </BoundingBox> <Properties> <Property name="type" value="simulation"/> </Properties> </Pedestrian> </ScenarioObject> <ScenarioObject name="pedestrian_close_to_hero_23630"> <Pedestrian model="walker.pedestrian.0001" mass="80" name="walker.pedestrian.0001" pedestrianCategory="pedestrian"> <ParameterDeclarations/> <BoundingBox> <Center x="1.5" y="0.0" z="0.9"/> <Dimensions width="2" length="2" height="2"/> </BoundingBox> <Properties> <Property name="type" value="simulation"/> </Properties> </Pedestrian> </ScenarioObject> <ScenarioObject name="pedestrian_w_transform_23631"> <Pedestrian model="walker.pedestrian.0001" mass="80" name="walker.pedestrian.0001" pedestrianCategory="pedestrian"> <ParameterDeclarations/> <BoundingBox> <Center x="1.5" y="0.0" z="0.9"/> <Dimensions width="2" length="2" height="2"/> </BoundingBox> <Properties> <Property name="type" value="simulation"/> </Properties> </Pedestrian> </ScenarioObject> <ScenarioObject name="pedestrian_w_transform_23632"> <Pedestrian model="walker.pedestrian.0001" mass="80" name="walker.pedestrian.0001" pedestrianCategory="pedestrian"> <ParameterDeclarations/> <BoundingBox> <Center x="1.5" y="0.0" z="0.9"/> <Dimensions width="2" length="2" height="2"/> </BoundingBox> <Properties> <Property name="type" value="simulation"/> </Properties> </Pedestrian> </ScenarioObject> <ScenarioObject name="pedestrian_close_to_standing_23633"> <Pedestrian model="walker.pedestrian.0001" mass="80" name="walker.pedestrian.0001" pedestrianCategory="pedestrian"> <ParameterDeclarations/> <BoundingBox> <Center x="1.5" y="0.0" z="0.9"/> <Dimensions width="2" length="2" height="2"/> </BoundingBox> <Properties> <Property name="type" value="simulation"/> </Properties> </Pedestrian> </ScenarioObject> <ScenarioObject name="pedestrian_close_to_hero_23634"> <Pedestrian model="walker.pedestrian.0001" mass="80" name="walker.pedestrian.0001" pedestrianCategory="pedestrian"> <ParameterDeclarations/> <BoundingBox> <Center x="1.5" y="0.0" z="0.9"/> <Dimensions width="2" length="2" height="2"/> </BoundingBox> <Properties> <Property name="type" value="simulation"/> </Properties> </Pedestrian> </ScenarioObject> </Entities> <Storyboard> <Init> <Actions> <GlobalAction> <EnvironmentAction> <Environment name="Environment1"> <TimeOfDay animation="false" dateTime="2019-06-25T12:00:00"/> <Weather cloudState="free"> <Sun intensity="0.85" azimuth="0" elevation="1.31"/> <Fog visualRange="100000.0"/> <Precipitation precipitationType="dry" intensity="0.0"/> </Weather> <RoadCondition frictionScaleFactor="1.0"/> </Environment> </EnvironmentAction> </GlobalAction> <Private entityRef="hero"> <PrivateAction> <TeleportAction> <Position> <WorldPosition x="-9.4" y="-152.8" z="0.5" h="1.57079632679"/> </Position> </TeleportAction> </PrivateAction> <PrivateAction> <ControllerAction> <AssignControllerAction> <Controller name="HeroAgent"> <Properties> <Property name="module" value="external_control"/> </Properties> </Controller> </AssignControllerAction> <OverrideControllerValueAction> <Throttle value="0" active="false"/> <Brake value="0" active="false"/> <Clutch value="0" active="false"/> <ParkingBrake value="0" active="false"/> <SteeringWheel value="0" active="false"/> <Gear number="0" active="false"/> </OverrideControllerValueAction> </ControllerAction> </PrivateAction> </Private> <Private entityRef="adversary"> <PrivateAction> <TeleportAction> <Position> <WorldPosition x="-9.4" y="-71.0" z="0.5" h="1.57079632679"/> </Position> </TeleportAction> </PrivateAction> </Private> <Private entityRef="standing"> <PrivateAction> <TeleportAction> <Position> <WorldPosition x="-8.2" y="29.2" z="0.5" h="1.57079632679"/> </Position> </TeleportAction> </PrivateAction> </Private> <Private entityRef="pedestrian_close_to_standing_23610"> <PrivateAction> <TeleportAction> <Position> <WorldPosition x="-1.1688766479492188" y="38.05409240722656" z="0.003047790378332138"/> </Position> </TeleportAction> </PrivateAction> </Private> <Private entityRef="pedestrian_w_transform_23611"> <PrivateAction> <TeleportAction> <Position> <WorldPosition x="-42.59181594848633" y="69.8123779296875" z="0.5"/> </Position> </TeleportAction> </PrivateAction> </Private> <Private entityRef="pedestrian_w_transform_23612"> <PrivateAction> <TeleportAction> <Position> <WorldPosition x="41.92447280883789" y="3.0899863243103027" z="0.5"/> </Position> </TeleportAction> </PrivateAction> </Private> <Private entityRef="pedestrian_w_transform_23613"> <PrivateAction> <TeleportAction> <Position> <WorldPosition x="91.8099594116211" y="25.931968688964844" z="0.5"/> </Position> </TeleportAction> </PrivateAction> </Private> <Private entityRef="pedestrian_close_to_adversary_23615"> <PrivateAction> <TeleportAction> <Position> <WorldPosition x="-17.227861404418945" y="-63.581298828125" z="0.033730581402778625"/> </Position> </TeleportAction> </PrivateAction> </Private> <Private entityRef="pedestrian_w_transform_23616"> <PrivateAction> <TeleportAction> <Position> <WorldPosition x="-2.017961025238037" y="96.37212371826172" z="0.5"/> </Position> </TeleportAction> </PrivateAction> </Private> <Private entityRef="pedestrian_close_to_adversary_23617"> <PrivateAction> <TeleportAction> <Position> <WorldPosition x="-18.3725528717041" y="-75.95295715332031" z="0.03379882872104645"/> </Position> </TeleportAction> </PrivateAction> </Private> <Private entityRef="pedestrian_close_to_adversary_23618"> <PrivateAction> <TeleportAction> <Position> <WorldPosition x="-12.365626335144043" y="-71.82447052001953" z="0.03376670926809311"/> </Position> </TeleportAction> </PrivateAction> </Private> <Private entityRef="pedestrian_close_to_adversary_23620"> <PrivateAction> <TeleportAction> <Position> <WorldPosition x="-6.121890068054199" y="-65.78962707519531" z="0.03380763903260231"/> </Position> </TeleportAction> </PrivateAction> </Private> <Private entityRef="pedestrian_w_transform_23621"> <PrivateAction> <TeleportAction> <Position> <WorldPosition x="-95.6327133178711" y="-86.37643432617188" z="0.5"/> </Position> </TeleportAction> </PrivateAction> </Private> <Private entityRef="pedestrian_close_to_adversary_23622"> <PrivateAction> <TeleportAction> <Position> <WorldPosition x="-14.472325325012207" y="-62.84711456298828" z="0.03380412980914116"/> </Position> </TeleportAction> </PrivateAction> </Private> <Private entityRef="pedestrian_w_transform_23623"> <PrivateAction> <TeleportAction> <Position> <WorldPosition x="-21.011838912963867" y="68.21895599365234" z="0.5"/> </Position> </TeleportAction> </PrivateAction> </Private> <Private entityRef="pedestrian_close_to_standing_23624"> <PrivateAction> <TeleportAction> <Position> <WorldPosition x="-9.375011444091797" y="34.960426330566406" z="0.0030627441592514515"/> </Position> </TeleportAction> </PrivateAction> </Private> <Private entityRef="pedestrian_close_to_standing_23626"> <PrivateAction> <TeleportAction> <Position> <WorldPosition x="-18.179767608642578" y="27.42601776123047" z="0.003077011089771986"/> </Position> </TeleportAction> </PrivateAction> </Private> <Private entityRef="pedestrian_w_transform_23627"> <PrivateAction> <TeleportAction> <Position> <WorldPosition x="-36.17826843261719" y="34.12981414794922" z="0.5"/> </Position> </TeleportAction> </PrivateAction> </Private> <Private entityRef="pedestrian_close_to_hero_23629"> <PrivateAction> <TeleportAction> <Position> <WorldPosition x="-17.10345458984375" y="-155.2736358642578" z="0.0014286803780123591"/> </Position> </TeleportAction> </PrivateAction> </Private> <Private entityRef="pedestrian_close_to_hero_23630"> <PrivateAction> <TeleportAction> <Position> <WorldPosition x="-1.9797961711883545" y="-154.47662353515625" z="0.0014286803780123591"/> </Position> </TeleportAction> </PrivateAction> </Private> <Private entityRef="pedestrian_w_transform_23631"> <PrivateAction> <TeleportAction> <Position> <WorldPosition x="47.09370040893555" y="21.205537796020508" z="0.5"/> </Position> </TeleportAction> </PrivateAction> </Private> <Private entityRef="pedestrian_w_transform_23632"> <PrivateAction> <TeleportAction> <Position> <WorldPosition x="-22.276031494140625" y="-5.787530899047852" z="0.5"/> </Position> </TeleportAction> </PrivateAction> </Private> <Private entityRef="pedestrian_close_to_standing_23633"> <PrivateAction> <TeleportAction> <Position> <WorldPosition x="-14.726526260375977" y="34.34583282470703" z="0.003066482488065958"/> </Position> </TeleportAction> </PrivateAction> </Private> <Private entityRef="pedestrian_close_to_hero_23634"> <PrivateAction> <TeleportAction> <Position> <WorldPosition x="-12.062705993652344" y="-150.82867431640625" z="0.0014286803780123591"/> </Position> </TeleportAction> </PrivateAction> </Private> </Actions> </Init> <Story name="MyStory"> <Act name="Behavior"> <ManeuverGroup maximumExecutionCount="1" name="ManeuverSequence"> <Actors selectTriggeringEntities="false"> <EntityRef entityRef="adversary"/> </Actors> <Maneuver name="LaneChangeSimpleManeuver"> <Event name="AdversaryAccelerates" priority="overwrite"> <Action name="AdversaryAccelerates"> <PrivateAction> <LongitudinalAction> <SpeedAction> <SpeedActionDynamics dynamicsShape="step" value="50" dynamicsDimension="distance"/> <SpeedActionTarget> <AbsoluteTargetSpeed value="5.0"/> </SpeedActionTarget> </SpeedAction> </LongitudinalAction> </PrivateAction> </Action> <StartTrigger> <ConditionGroup> <Condition name="StartCondition" delay="0" conditionEdge="rising"> <ByEntityCondition> <TriggeringEntities triggeringEntitiesRule="any"> <EntityRef entityRef="hero"/> </TriggeringEntities> <EntityCondition> <RelativeDistanceCondition entityRef="adversary" relativeDistanceType="cartesianDistance" value="40.0" freespace="false" rule="lessThan"/> </EntityCondition> </ByEntityCondition> </Condition> </ConditionGroup> </StartTrigger> </Event> <Event name="AdversaryChangesLane" priority="overwrite"> <Action name="AdversaryChangesLane"> <PrivateAction> <LateralAction> <LaneChangeAction> <LaneChangeActionDynamics dynamicsShape="linear" value="25" dynamicsDimension="distance"/> <LaneChangeTarget> <RelativeTargetLane entityRef="adversary" value="-1"/> </LaneChangeTarget> </LaneChangeAction> </LateralAction> </PrivateAction> </Action> <StartTrigger> <ConditionGroup> <Condition name="AfterAdversaryAccelerates" delay="0" conditionEdge="rising"> <ByValueCondition> <StoryboardElementStateCondition storyboardElementType="action" storyboardElementRef="AdversaryAccelerates" state="completeState"/> </ByValueCondition> </Condition> </ConditionGroup> </StartTrigger> </Event> </Maneuver> </ManeuverGroup> <StartTrigger> <ConditionGroup> <Condition name="OverallStartCondition" delay="0" conditionEdge="rising"> <ByEntityCondition> <TriggeringEntities triggeringEntitiesRule="any"> <EntityRef entityRef="hero"/> </TriggeringEntities> <EntityCondition> <TraveledDistanceCondition value="1.0"/> </EntityCondition> </ByEntityCondition> </Condition> <Condition name="StartTime" delay="0" conditionEdge="rising"> <ByValueCondition> <SimulationTimeCondition value="0" rule="equalTo"/> </ByValueCondition> </Condition> </ConditionGroup> </StartTrigger> <StopTrigger> <ConditionGroup> <Condition name="EndCondition" delay="0" conditionEdge="rising"> <ByEntityCondition> <TriggeringEntities triggeringEntitiesRule="any"> <EntityRef entityRef="hero"/> </TriggeringEntities> <EntityCondition> <TraveledDistanceCondition value="200.0"/> </EntityCondition> </ByEntityCondition> </Condition> </ConditionGroup> </StopTrigger> </Act> </Story> <StopTrigger> <ConditionGroup> <Condition name="criteria_RunningStopTest" delay="0" conditionEdge="rising"> <ByValueCondition> <ParameterCondition parameterRef="" value="" rule="lessThan"/> </ByValueCondition> </Condition> <Condition name="criteria_RunningRedLightTest" delay="0" conditionEdge="rising"> <ByValueCondition> <ParameterCondition parameterRef="" value="" rule="lessThan"/> </ByValueCondition> </Condition> <Condition name="criteria_WrongLaneTest" delay="0" conditionEdge="rising"> <ByValueCondition> <ParameterCondition parameterRef="" value="" rule="lessThan"/> </ByValueCondition> </Condition> <Condition name="criteria_OnSidewalkTest" delay="0" conditionEdge="rising"> <ByValueCondition> <ParameterCondition parameterRef="" value="" rule="lessThan"/> </ByValueCondition> </Condition> <Condition name="criteria_KeepLaneTest" delay="0" conditionEdge="rising"> <ByValueCondition> <ParameterCondition parameterRef="" value="" rule="lessThan"/> </ByValueCondition> </Condition> <Condition name="criteria_CollisionTest" delay="0" conditionEdge="rising"> <ByValueCondition> <ParameterCondition parameterRef="" value="" rule="lessThan"/> </ByValueCondition> </Condition> <Condition name="criteria_DrivenDistanceTest" delay="0" conditionEdge="rising"> <ByValueCondition> <ParameterCondition parameterRef="distance_success" value="100" rule="lessThan"/> </ByValueCondition> </Condition> </ConditionGroup> </StopTrigger> </Storyboard> </OpenSCENARIO> ```
Here is the result: ``` <?xml version="1.0" ?> <OpenSCENARIO> <FileHeader revMajor="1" revMinor="0" date="2020-03-24T12:00:00" description="CARLA:LaneChangeSimple" author=""/> <ParameterDeclarations/> <CatalogLocations/> <RoadNetwork> <LogicFile filepath="Town04"/> <SceneGraphFile filepath=""/> </RoadNetwork> <Entities> <ScenarioObject name="hero"> <Vehicle name="vehicle.tesla.model3" vehicleCategory="car"> <ParameterDeclarations/> <Performance maxSpeed="69.444" maxAcceleration="200" maxDeceleration="10.0"/> <BoundingBox> <Center x="1.5" y="0.0" z="0.9"/> <Dimensions width="2.1" length="4.5" height="1.8"/> </BoundingBox> <Axles> <FrontAxle maxSteering="0.5" wheelDiameter="0.6" trackWidth="1.8" positionX="3.1" positionZ="0.3"/> <RearAxle maxSteering="0.0" wheelDiameter="0.6" trackWidth="1.8" positionX="0.0" positionZ="0.3"/> </Axles> <Properties> <Property name="type" value="ego_vehicle"/> </Properties> </Vehicle> </ScenarioObject> <ScenarioObject name="adversary"> <Vehicle name="vehicle.lincoln.mkz_2017" vehicleCategory="car"> <ParameterDeclarations/> <Performance maxSpeed="69.444" maxAcceleration="200" maxDeceleration="10.0"/> <BoundingBox> <Center x="1.5" y="0.0" z="0.9"/> <Dimensions width="2.1" length="4.5" height="1.8"/> </BoundingBox> <Axles> <FrontAxle maxSteering="0.5" wheelDiameter="0.6" trackWidth="1.8" positionX="3.1" positionZ="0.3"/> <RearAxle maxSteering="0.0" wheelDiameter="0.6" trackWidth="1.8" positionX="0.0" positionZ="0.3"/> </Axles> <Properties> <Property name="type" value="simulation"/> </Properties> </Vehicle> </ScenarioObject> <ScenarioObject name="standing"> <Vehicle name="vehicle.volkswagen.t2" vehicleCategory="car"> <ParameterDeclarations/> <Performance maxSpeed="69.444" maxAcceleration="200" maxDeceleration="10.0"/> <BoundingBox> <Center x="1.5" y="0.0" z="0.9"/> <Dimensions width="2.1" length="4.5" height="1.8"/> </BoundingBox> <Axles> <FrontAxle maxSteering="0.5" wheelDiameter="0.6" trackWidth="1.8" positionX="3.1" positionZ="0.3"/> <RearAxle maxSteering="0.0" wheelDiameter="0.6" trackWidth="1.8" positionX="0.0" positionZ="0.3"/> </Axles> <Properties> <Property name="type" value="simulation"/> </Properties> </Vehicle> </ScenarioObject> <ScenarioObject name="pedestrian_close_to_standing_23610"> <Pedestrian model="walker.pedestrian.0001" mass="80" name="walker.pedestrian.0001" pedestrianCategory="pedestrian"> <ParameterDeclarations/> <BoundingBox> <Center x="1.5" y="0.0" z="0.9"/> <Dimensions width="2" length="2" height="2"/> </BoundingBox> <Properties> <Property name="type" value="simulation"/> </Properties> </Pedestrian> </ScenarioObject> <ScenarioObject name="pedestrian_w_transform_23611"> <Pedestrian model="walker.pedestrian.0001" mass="80" name="walker.pedestrian.0001" pedestrianCategory="pedestrian"> <ParameterDeclarations/> <BoundingBox> <Center x="1.5" y="0.0" z="0.9"/> <Dimensions width="2" length="2" height="2"/> </BoundingBox> <Properties> <Property name="type" value="simulation"/> </Properties> </Pedestrian> </ScenarioObject> <ScenarioObject name="pedestrian_w_transform_23612"> <Pedestrian model="walker.pedestrian.0001" mass="80" name="walker.pedestrian.0001" pedestrianCategory="pedestrian"> <ParameterDeclarations/> <BoundingBox> <Center x="1.5" y="0.0" z="0.9"/> <Dimensions width="2" length="2" height="2"/> </BoundingBox> <Properties> <Property name="type" value="simulation"/> </Properties> </Pedestrian> </ScenarioObject> <ScenarioObject name="pedestrian_w_transform_23613"> <Pedestrian model="walker.pedestrian.0001" mass="80" name="walker.pedestrian.0001" pedestrianCategory="pedestrian"> <ParameterDeclarations/> <BoundingBox> <Center x="1.5" y="0.0" z="0.9"/> <Dimensions width="2" length="2" height="2"/> </BoundingBox> <Properties> <Property name="type" value="simulation"/> </Properties> </Pedestrian> </ScenarioObject> <ScenarioObject name="pedestrian_close_to_adversary_23615"> <Pedestrian model="walker.pedestrian.0001" mass="80" name="walker.pedestrian.0001" pedestrianCategory="pedestrian"> <ParameterDeclarations/> <BoundingBox> <Center x="1.5" y="0.0" z="0.9"/> <Dimensions width="2" length="2" height="2"/> </BoundingBox> <Properties> <Property name="type" value="simulation"/> </Properties> </Pedestrian> </ScenarioObject> <ScenarioObject name="pedestrian_w_transform_23616"> <Pedestrian model="walker.pedestrian.0001" mass="80" name="walker.pedestrian.0001" pedestrianCategory="pedestrian"> <ParameterDeclarations/> <BoundingBox> <Center x="1.5" y="0.0" z="0.9"/> <Dimensions width="2" length="2" height="2"/> </BoundingBox> <Properties> <Property name="type" value="simulation"/> </Properties> </Pedestrian> </ScenarioObject> <ScenarioObject name="pedestrian_close_to_adversary_23617"> <Pedestrian model="walker.pedestrian.0001" mass="80" name="walker.pedestrian.0001" pedestrianCategory="pedestrian"> <ParameterDeclarations/> <BoundingBox> <Center x="1.5" y="0.0" z="0.9"/> <Dimensions width="2" length="2" height="2"/> </BoundingBox> <Properties> <Property name="type" value="simulation"/> </Properties> </Pedestrian> </ScenarioObject> <ScenarioObject name="pedestrian_close_to_adversary_23618"> <Pedestrian model="walker.pedestrian.0001" mass="80" name="walker.pedestrian.0001" pedestrianCategory="pedestrian"> <ParameterDeclarations/> <BoundingBox> <Center x="1.5" y="0.0" z="0.9"/> <Dimensions width="2" length="2" height="2"/> </BoundingBox> <Properties> <Property name="type" value="simulation"/> </Properties> </Pedestrian> </ScenarioObject> <ScenarioObject name="pedestrian_close_to_adversary_23620"> <Pedestrian model="walker.pedestrian.0001" mass="80" name="walker.pedestrian.0001" pedestrianCategory="pedestrian"> <ParameterDeclarations/> <BoundingBox> <Center x="1.5" y="0.0" z="0.9"/> <Dimensions width="2" length="2" height="2"/> </BoundingBox> <Properties> <Property name="type" value="simulation"/> </Properties> </Pedestrian> </ScenarioObject> <ScenarioObject name="pedestrian_w_transform_23621"> <Pedestrian model="walker.pedestrian.0001" mass="80" name="walker.pedestrian.0001" pedestrianCategory="pedestrian"> <ParameterDeclarations/> <BoundingBox> <Center x="1.5" y="0.0" z="0.9"/> <Dimensions width="2" length="2" height="2"/> </BoundingBox> <Properties> <Property name="type" value="simulation"/> </Properties> </Pedestrian> </ScenarioObject> <ScenarioObject name="pedestrian_close_to_adversary_23622"> <Pedestrian model="walker.pedestrian.0001" mass="80" name="walker.pedestrian.0001" pedestrianCategory="pedestrian"> <ParameterDeclarations/> <BoundingBox> <Center x="1.5" y="0.0" z="0.9"/> <Dimensions width="2" length="2" height="2"/> </BoundingBox> <Properties> <Property name="type" value="simulation"/> </Properties> </Pedestrian> </ScenarioObject> <ScenarioObject name="pedestrian_w_transform_23623"> <Pedestrian model="walker.pedestrian.0001" mass="80" name="walker.pedestrian.0001" pedestrianCategory="pedestrian"> <ParameterDeclarations/> <BoundingBox> <Center x="1.5" y="0.0" z="0.9"/> <Dimensions width="2" length="2" height="2"/> </BoundingBox> <Properties> <Property name="type" value="simulation"/> </Properties> </Pedestrian> </ScenarioObject> <ScenarioObject name="pedestrian_close_to_standing_23624"> <Pedestrian model="walker.pedestrian.0001" mass="80" name="walker.pedestrian.0001" pedestrianCategory="pedestrian"> <ParameterDeclarations/> <BoundingBox> <Center x="1.5" y="0.0" z="0.9"/> <Dimensions width="2" length="2" height="2"/> </BoundingBox> <Properties> <Property name="type" value="simulation"/> </Properties> </Pedestrian> </ScenarioObject> <ScenarioObject name="pedestrian_close_to_standing_23626"> <Pedestrian model="walker.pedestrian.0001" mass="80" name="walker.pedestrian.0001" pedestrianCategory="pedestrian"> <ParameterDeclarations/> <BoundingBox> <Center x="1.5" y="0.0" z="0.9"/> <Dimensions width="2" length="2" height="2"/> </BoundingBox> <Properties> <Property name="type" value="simulation"/> </Properties> </Pedestrian> </ScenarioObject> <ScenarioObject name="pedestrian_w_transform_23627"> <Pedestrian model="walker.pedestrian.0001" mass="80" name="walker.pedestrian.0001" pedestrianCategory="pedestrian"> <ParameterDeclarations/> <BoundingBox> <Center x="1.5" y="0.0" z="0.9"/> <Dimensions width="2" length="2" height="2"/> </BoundingBox> <Properties> <Property name="type" value="simulation"/> </Properties> </Pedestrian> </ScenarioObject> <ScenarioObject name="pedestrian_close_to_hero_23629"> <Pedestrian model="walker.pedestrian.0001" mass="80" name="walker.pedestrian.0001" pedestrianCategory="pedestrian"> <ParameterDeclarations/> <BoundingBox> <Center x="1.5" y="0.0" z="0.9"/> <Dimensions width="2" length="2" height="2"/> </BoundingBox> <Properties> <Property name="type" value="simulation"/> </Properties> </Pedestrian> </ScenarioObject> <ScenarioObject name="pedestrian_close_to_hero_23630"> <Pedestrian model="walker.pedestrian.0001" mass="80" name="walker.pedestrian.0001" pedestrianCategory="pedestrian"> <ParameterDeclarations/> <BoundingBox> <Center x="1.5" y="0.0" z="0.9"/> <Dimensions width="2" length="2" height="2"/> </BoundingBox> <Properties> <Property name="type" value="simulation"/> </Properties> </Pedestrian> </ScenarioObject> <ScenarioObject name="pedestrian_w_transform_23631"> <Pedestrian model="walker.pedestrian.0001" mass="80" name="walker.pedestrian.0001" pedestrianCategory="pedestrian"> <ParameterDeclarations/> <BoundingBox> <Center x="1.5" y="0.0" z="0.9"/> <Dimensions width="2" length="2" height="2"/> </BoundingBox> <Properties> <Property name="type" value="simulation"/> </Properties> </Pedestrian> </ScenarioObject> <ScenarioObject name="pedestrian_w_transform_23632"> <Pedestrian model="walker.pedestrian.0001" mass="80" name="walker.pedestrian.0001" pedestrianCategory="pedestrian"> <ParameterDeclarations/> <BoundingBox> <Center x="1.5" y="0.0" z="0.9"/> <Dimensions width="2" length="2" height="2"/> </BoundingBox> <Properties> <Property name="type" value="simulation"/> </Properties> </Pedestrian> </ScenarioObject> <ScenarioObject name="pedestrian_close_to_standing_23633"> <Pedestrian model="walker.pedestrian.0001" mass="80" name="walker.pedestrian.0001" pedestrianCategory="pedestrian"> <ParameterDeclarations/> <BoundingBox> <Center x="1.5" y="0.0" z="0.9"/> <Dimensions width="2" length="2" height="2"/> </BoundingBox> <Properties> <Property name="type" value="simulation"/> </Properties> </Pedestrian> </ScenarioObject> </Entities> <Storyboard> <Init> <Actions> <GlobalAction> <EnvironmentAction> <Environment name="Environment1"> <TimeOfDay animation="false" dateTime="2019-06-25T12:00:00"/> <Weather cloudState="free"> <Sun intensity="0.85" azimuth="0" elevation="1.31"/> <Fog visualRange="100000.0"/> <Precipitation precipitationType="dry" intensity="0.0"/> </Weather> <RoadCondition frictionScaleFactor="1.0"/> </Environment> </EnvironmentAction> </GlobalAction> <Private entityRef="hero"> <PrivateAction> <TeleportAction> <Position> <WorldPosition x="-9.4" y="-152.8" z="0.5" h="1.57079632679"/> </Position> </TeleportAction> </PrivateAction> <PrivateAction> <ControllerAction> <AssignControllerAction> <Controller name="HeroAgent"> <Properties> <Property name="module" value="external_control"/> </Properties> </Controller> </AssignControllerAction> <OverrideControllerValueAction> <Throttle value="0" active="false"/> <Brake value="0" active="false"/> <Clutch value="0" active="false"/> <ParkingBrake value="0" active="false"/> <SteeringWheel value="0" active="false"/> <Gear number="0" active="false"/> </OverrideControllerValueAction> </ControllerAction> </PrivateAction> </Private> <Private entityRef="adversary"> <PrivateAction> <TeleportAction> <Position> <WorldPosition x="-9.4" y="-71.0" z="0.5" h="1.57079632679"/> </Position> </TeleportAction> </PrivateAction> </Private> <Private entityRef="standing"> <PrivateAction> <TeleportAction> <Position> <WorldPosition x="-8.2" y="29.2" z="0.5" h="1.57079632679"/> </Position> </TeleportAction> </PrivateAction> </Private> <Private entityRef="pedestrian_close_to_standing_23610"> <PrivateAction> <TeleportAction> <Position> <WorldPosition x="-1.1688766479492188" y="38.05409240722656" z="0.003047790378332138"/> </Position> </TeleportAction> </PrivateAction> </Private> <Private entityRef="pedestrian_w_transform_23611"> <PrivateAction> <TeleportAction> <Position> <WorldPosition x="-42.59181594848633" y="69.8123779296875" z="0.5"/> </Position> </TeleportAction> </PrivateAction> </Private> <Private entityRef="pedestrian_w_transform_23612"> <PrivateAction> <TeleportAction> <Position> <WorldPosition x="41.92447280883789" y="3.0899863243103027" z="0.5"/> </Position> </TeleportAction> </PrivateAction> </Private> <Private entityRef="pedestrian_w_transform_23613"> <PrivateAction> <TeleportAction> <Position> <WorldPosition x="91.8099594116211" y="25.931968688964844" z="0.5"/> </Position> </TeleportAction> </PrivateAction> </Private> <Private entityRef="pedestrian_close_to_adversary_23615"> <PrivateAction> <TeleportAction> <Position> <WorldPosition x="-17.227861404418945" y="-63.581298828125" z="0.033730581402778625"/> </Position> </TeleportAction> </PrivateAction> </Private> <Private entityRef="pedestrian_w_transform_23616"> <PrivateAction> <TeleportAction> <Position> <WorldPosition x="-2.017961025238037" y="96.37212371826172" z="0.5"/> </Position> </TeleportAction> </PrivateAction> </Private> <Private entityRef="pedestrian_close_to_adversary_23617"> <PrivateAction> <TeleportAction> <Position> <WorldPosition x="-18.3725528717041" y="-75.95295715332031" z="0.03379882872104645"/> </Position> </TeleportAction> </PrivateAction> </Private> <Private entityRef="pedestrian_close_to_adversary_23618"> <PrivateAction> <TeleportAction> <Position> <WorldPosition x="-12.365626335144043" y="-71.82447052001953" z="0.03376670926809311"/> </Position> </TeleportAction> </PrivateAction> </Private> <Private entityRef="pedestrian_close_to_adversary_23620"> <PrivateAction> <TeleportAction> <Position> <WorldPosition x="-6.121890068054199" y="-65.78962707519531" z="0.03380763903260231"/> </Position> </TeleportAction> </PrivateAction> </Private> <Private entityRef="pedestrian_w_transform_23621"> <PrivateAction> <TeleportAction> <Position> <WorldPosition x="-95.6327133178711" y="-86.37643432617188" z="0.5"/> </Position> </TeleportAction> </PrivateAction> </Private> <Private entityRef="pedestrian_close_to_adversary_23622"> <PrivateAction> <TeleportAction> <Position> <WorldPosition x="-14.472325325012207" y="-62.84711456298828" z="0.03380412980914116"/> </Position> </TeleportAction> </PrivateAction> </Private> <Private entityRef="pedestrian_w_transform_23623"> <PrivateAction> <TeleportAction> <Position> <WorldPosition x="-21.011838912963867" y="68.21895599365234" z="0.5"/> </Position> </TeleportAction> </PrivateAction> </Private> <Private entityRef="pedestrian_close_to_standing_23624"> <PrivateAction> <TeleportAction> <Position> <WorldPosition x="-9.375011444091797" y="34.960426330566406" z="0.0030627441592514515"/> </Position> </TeleportAction> </PrivateAction> </Private> <Private entityRef="pedestrian_close_to_standing_23626"> <PrivateAction> <TeleportAction> <Position> <WorldPosition x="-18.179767608642578" y="27.42601776123047" z="0.003077011089771986"/> </Position> </TeleportAction> </PrivateAction> </Private> <Private entityRef="pedestrian_w_transform_23627"> <PrivateAction> <TeleportAction> <Position> <WorldPosition x="-36.17826843261719" y="34.12981414794922" z="0.5"/> </Position> </TeleportAction> </PrivateAction> </Private> <Private entityRef="pedestrian_close_to_hero_23629"> <PrivateAction> <TeleportAction> <Position> <WorldPosition x="-17.10345458984375" y="-155.2736358642578" z="0.0014286803780123591"/> </Position> </TeleportAction> </PrivateAction> </Private> <Private entityRef="pedestrian_close_to_hero_23630"> <PrivateAction> <TeleportAction> <Position> <WorldPosition x="-1.9797961711883545" y="-154.47662353515625" z="0.0014286803780123591"/> </Position> </TeleportAction> </PrivateAction> </Private> <Private entityRef="pedestrian_w_transform_23631"> <PrivateAction> <TeleportAction> <Position> <WorldPosition x="47.09370040893555" y="21.205537796020508" z="0.5"/> </Position> </TeleportAction> </PrivateAction> </Private> <Private entityRef="pedestrian_w_transform_23632"> <PrivateAction> <TeleportAction> <Position> <WorldPosition x="-22.276031494140625" y="-5.787530899047852" z="0.5"/> </Position> </TeleportAction> </PrivateAction> </Private> <Private entityRef="pedestrian_close_to_standing_23633"> <PrivateAction> <TeleportAction> <Position> <WorldPosition x="-14.726526260375977" y="34.34583282470703" z="0.003066482488065958"/> </Position> </TeleportAction> </PrivateAction> </Private> </Actions> </Init> <Story name="MyStory"> <Act name="Behavior"> <ManeuverGroup maximumExecutionCount="1" name="ManeuverSequence"> <Actors selectTriggeringEntities="false"> <EntityRef entityRef="adversary"/> </Actors> <Maneuver name="LaneChangeSimpleManeuver"> <Event name="AdversaryAccelerates" priority="overwrite"> <Action name="AdversaryAccelerates"> <PrivateAction> <LongitudinalAction> <SpeedAction> <SpeedActionDynamics dynamicsShape="step" value="50" dynamicsDimension="distance"/> <SpeedActionTarget> <AbsoluteTargetSpeed value="5.0"/> </SpeedActionTarget> </SpeedAction> </LongitudinalAction> </PrivateAction> </Action> <StartTrigger> <ConditionGroup> <Condition name="StartCondition" delay="0" conditionEdge="rising"> <ByEntityCondition> <TriggeringEntities triggeringEntitiesRule="any"> <EntityRef entityRef="hero"/> </TriggeringEntities> <EntityCondition> <RelativeDistanceCondition entityRef="adversary" relativeDistanceType="cartesianDistance" value="40.0" freespace="false" rule="lessThan"/> </EntityCondition> </ByEntityCondition> </Condition> </ConditionGroup> </StartTrigger> </Event> <Event name="AdversaryChangesLane" priority="overwrite"> <Action name="AdversaryChangesLane"> <PrivateAction> <LateralAction> <LaneChangeAction> <LaneChangeActionDynamics dynamicsShape="linear" value="25" dynamicsDimension="distance"/> <LaneChangeTarget> <RelativeTargetLane entityRef="adversary" value="-1"/> </LaneChangeTarget> </LaneChangeAction> </LateralAction> </PrivateAction> </Action> <StartTrigger> <ConditionGroup> <Condition name="AfterAdversaryAccelerates" delay="0" conditionEdge="rising"> <ByValueCondition> <StoryboardElementStateCondition storyboardElementType="action" storyboardElementRef="AdversaryAccelerates" state="completeState"/> </ByValueCondition> </Condition> </ConditionGroup> </StartTrigger> </Event> </Maneuver> </ManeuverGroup> <StartTrigger> <ConditionGroup> <Condition name="OverallStartCondition" delay="0" conditionEdge="rising"> <ByEntityCondition> <TriggeringEntities triggeringEntitiesRule="any"> <EntityRef entityRef="hero"/> </TriggeringEntities> <EntityCondition> <TraveledDistanceCondition value="1.0"/> </EntityCondition> </ByEntityCondition> </Condition> <Condition name="StartTime" delay="0" conditionEdge="rising"> <ByValueCondition> <SimulationTimeCondition value="0" rule="equalTo"/> </ByValueCondition> </Condition> </ConditionGroup> </StartTrigger> <StopTrigger> <ConditionGroup> <Condition name="EndCondition" delay="0" conditionEdge="rising"> <ByEntityCondition> <TriggeringEntities triggeringEntitiesRule="any"> <EntityRef entityRef="hero"/> </TriggeringEntities> <EntityCondition> <TraveledDistanceCondition value="200.0"/> </EntityCondition> </ByEntityCondition> </Condition> </ConditionGroup> </StopTrigger> </Act> </Story> <StopTrigger> <ConditionGroup> <Condition name="criteria_RunningStopTest" delay="0" conditionEdge="rising"> <ByValueCondition> <ParameterCondition parameterRef="" value="" rule="lessThan"/> </ByValueCondition> </Condition> <Condition name="criteria_RunningRedLightTest" delay="0" conditionEdge="rising"> <ByValueCondition> <ParameterCondition parameterRef="" value="" rule="lessThan"/> </ByValueCondition> </Condition> <Condition name="criteria_WrongLaneTest" delay="0" conditionEdge="rising"> <ByValueCondition> <ParameterCondition parameterRef="" value="" rule="lessThan"/> </ByValueCondition> </Condition> <Condition name="criteria_OnSidewalkTest" delay="0" conditionEdge="rising"> <ByValueCondition> <ParameterCondition parameterRef="" value="" rule="lessThan"/> </ByValueCondition> </Condition> <Condition name="criteria_KeepLaneTest" delay="0" conditionEdge="rising"> <ByValueCondition> <ParameterCondition parameterRef="" value="" rule="lessThan"/> </ByValueCondition> </Condition> <Condition name="criteria_CollisionTest" delay="0" conditionEdge="rising"> <ByValueCondition> <ParameterCondition parameterRef="" value="" rule="lessThan"/> </ByValueCondition> </Condition> <Condition name="criteria_DrivenDistanceTest" delay="0" conditionEdge="rising"> <ByValueCondition> <ParameterCondition parameterRef="distance_success" value="100" rule="lessThan"/> </ByValueCondition> </Condition> </ConditionGroup> </StopTrigger> </Storyboard> </OpenSCENARIO> ```
i want you to add pedestrian close to standing? ``` <?xml version="1.0" ?> <OpenSCENARIO> <FileHeader revMajor="1" revMinor="0" date="2020-03-24T12:00:00" description="CARLA:LaneChangeSimple" author=""/> <ParameterDeclarations/> <CatalogLocations/> <RoadNetwork> <LogicFile filepath="Town04"/> <SceneGraphFile filepath=""/> </RoadNetwork> <Entities> <ScenarioObject name="hero"> <Vehicle name="vehicle.tesla.model3" vehicleCategory="car"> <ParameterDeclarations/> <Performance maxSpeed="69.444" maxAcceleration="200" maxDeceleration="10.0"/> <BoundingBox> <Center x="1.5" y="0.0" z="0.9"/> <Dimensions width="2.1" length="4.5" height="1.8"/> </BoundingBox> <Axles> <FrontAxle maxSteering="0.5" wheelDiameter="0.6" trackWidth="1.8" positionX="3.1" positionZ="0.3"/> <RearAxle maxSteering="0.0" wheelDiameter="0.6" trackWidth="1.8" positionX="0.0" positionZ="0.3"/> </Axles> <Properties> <Property name="type" value="ego_vehicle"/> </Properties> </Vehicle> </ScenarioObject> <ScenarioObject name="adversary"> <Vehicle name="vehicle.lincoln.mkz_2017" vehicleCategory="car"> <ParameterDeclarations/> <Performance maxSpeed="69.444" maxAcceleration="200" maxDeceleration="10.0"/> <BoundingBox> <Center x="1.5" y="0.0" z="0.9"/> <Dimensions width="2.1" length="4.5" height="1.8"/> </BoundingBox> <Axles> <FrontAxle maxSteering="0.5" wheelDiameter="0.6" trackWidth="1.8" positionX="3.1" positionZ="0.3"/> <RearAxle maxSteering="0.0" wheelDiameter="0.6" trackWidth="1.8" positionX="0.0" positionZ="0.3"/> </Axles> <Properties> <Property name="type" value="simulation"/> </Properties> </Vehicle> </ScenarioObject> <ScenarioObject name="standing"> <Vehicle name="vehicle.volkswagen.t2" vehicleCategory="car"> <ParameterDeclarations/> <Performance maxSpeed="69.444" maxAcceleration="200" maxDeceleration="10.0"/> <BoundingBox> <Center x="1.5" y="0.0" z="0.9"/> <Dimensions width="2.1" length="4.5" height="1.8"/> </BoundingBox> <Axles> <FrontAxle maxSteering="0.5" wheelDiameter="0.6" trackWidth="1.8" positionX="3.1" positionZ="0.3"/> <RearAxle maxSteering="0.0" wheelDiameter="0.6" trackWidth="1.8" positionX="0.0" positionZ="0.3"/> </Axles> <Properties> <Property name="type" value="simulation"/> </Properties> </Vehicle> </ScenarioObject> <ScenarioObject name="pedestrian_close_to_hero_17355"> <Pedestrian model="walker.pedestrian.0001" mass="80" name="walker.pedestrian.0001" pedestrianCategory="pedestrian"> <ParameterDeclarations/> <BoundingBox> <Center x="1.5" y="0.0" z="0.9"/> <Dimensions width="2" length="2" height="2"/> </BoundingBox> <Properties> <Property name="type" value="simulation"/> </Properties> </Pedestrian> </ScenarioObject> </Entities> <Storyboard> <Init> <Actions> <GlobalAction> <EnvironmentAction> <Environment name="Environment1"> <TimeOfDay animation="false" dateTime="2019-06-25T12:00:00"/> <Weather cloudState="free"> <Sun intensity="0.85" azimuth="0" elevation="1.31"/> <Fog visualRange="100000.0"/> <Precipitation precipitationType="dry" intensity="0.0"/> </Weather> <RoadCondition frictionScaleFactor="1.0"/> </Environment> </EnvironmentAction> </GlobalAction> <Private entityRef="hero"> <PrivateAction> <TeleportAction> <Position> <WorldPosition x="-9.4" y="-152.8" z="0.5" h="1.57079632679"/> </Position> </TeleportAction> </PrivateAction> <PrivateAction> <ControllerAction> <AssignControllerAction> <Controller name="HeroAgent"> <Properties> <Property name="module" value="external_control"/> </Properties> </Controller> </AssignControllerAction> <OverrideControllerValueAction> <Throttle value="0" active="false"/> <Brake value="0" active="false"/> <Clutch value="0" active="false"/> <ParkingBrake value="0" active="false"/> <SteeringWheel value="0" active="false"/> <Gear number="0" active="false"/> </OverrideControllerValueAction> </ControllerAction> </PrivateAction> </Private> <Private entityRef="adversary"> <PrivateAction> <TeleportAction> <Position> <WorldPosition x="-9.4" y="-71.0" z="0.5" h="1.57079632679"/> </Position> </TeleportAction> </PrivateAction> </Private> <Private entityRef="standing"> <PrivateAction> <TeleportAction> <Position> <WorldPosition x="-8.2" y="29.2" z="0.5" h="1.57079632679"/> </Position> </TeleportAction> </PrivateAction> </Private> <Private entityRef="pedestrian_close_to_hero_17355"> <PrivateAction> <TeleportAction> <Position> <WorldPosition x="-17.779903411865234" y="-161.78855895996094" z="0.0014286803780123591"/> </Position> </TeleportAction> </PrivateAction> </Private> </Actions> </Init> <Story name="MyStory"> <Act name="Behavior"> <ManeuverGroup maximumExecutionCount="1" name="ManeuverSequence"> <Actors selectTriggeringEntities="false"> <EntityRef entityRef="adversary"/> </Actors> <Maneuver name="LaneChangeSimpleManeuver"> <Event name="AdversaryAccelerates" priority="overwrite"> <Action name="AdversaryAccelerates"> <PrivateAction> <LongitudinalAction> <SpeedAction> <SpeedActionDynamics dynamicsShape="step" value="50" dynamicsDimension="distance"/> <SpeedActionTarget> <AbsoluteTargetSpeed value="5.0"/> </SpeedActionTarget> </SpeedAction> </LongitudinalAction> </PrivateAction> </Action> <StartTrigger> <ConditionGroup> <Condition name="StartCondition" delay="0" conditionEdge="rising"> <ByEntityCondition> <TriggeringEntities triggeringEntitiesRule="any"> <EntityRef entityRef="hero"/> </TriggeringEntities> <EntityCondition> <RelativeDistanceCondition entityRef="adversary" relativeDistanceType="cartesianDistance" value="40.0" freespace="false" rule="lessThan"/> </EntityCondition> </ByEntityCondition> </Condition> </ConditionGroup> </StartTrigger> </Event> <Event name="AdversaryChangesLane" priority="overwrite"> <Action name="AdversaryChangesLane"> <PrivateAction> <LateralAction> <LaneChangeAction> <LaneChangeActionDynamics dynamicsShape="linear" value="25" dynamicsDimension="distance"/> <LaneChangeTarget> <RelativeTargetLane entityRef="adversary" value="-1"/> </LaneChangeTarget> </LaneChangeAction> </LateralAction> </PrivateAction> </Action> <StartTrigger> <ConditionGroup> <Condition name="AfterAdversaryAccelerates" delay="0" conditionEdge="rising"> <ByValueCondition> <StoryboardElementStateCondition storyboardElementType="action" storyboardElementRef="AdversaryAccelerates" state="completeState"/> </ByValueCondition> </Condition> </ConditionGroup> </StartTrigger> </Event> </Maneuver> </ManeuverGroup> <StartTrigger> <ConditionGroup> <Condition name="OverallStartCondition" delay="0" conditionEdge="rising"> <ByEntityCondition> <TriggeringEntities triggeringEntitiesRule="any"> <EntityRef entityRef="hero"/> </TriggeringEntities> <EntityCondition> <TraveledDistanceCondition value="1.0"/> </EntityCondition> </ByEntityCondition> </Condition> <Condition name="StartTime" delay="0" conditionEdge="rising"> <ByValueCondition> <SimulationTimeCondition value="0" rule="equalTo"/> </ByValueCondition> </Condition> </ConditionGroup> </StartTrigger> <StopTrigger> <ConditionGroup> <Condition name="EndCondition" delay="0" conditionEdge="rising"> <ByEntityCondition> <TriggeringEntities triggeringEntitiesRule="any"> <EntityRef entityRef="hero"/> </TriggeringEntities> <EntityCondition> <TraveledDistanceCondition value="200.0"/> </EntityCondition> </ByEntityCondition> </Condition> </ConditionGroup> </StopTrigger> </Act> </Story> <StopTrigger> <ConditionGroup> <Condition name="criteria_RunningStopTest" delay="0" conditionEdge="rising"> <ByValueCondition> <ParameterCondition parameterRef="" value="" rule="lessThan"/> </ByValueCondition> </Condition> <Condition name="criteria_RunningRedLightTest" delay="0" conditionEdge="rising"> <ByValueCondition> <ParameterCondition parameterRef="" value="" rule="lessThan"/> </ByValueCondition> </Condition> <Condition name="criteria_WrongLaneTest" delay="0" conditionEdge="rising"> <ByValueCondition> <ParameterCondition parameterRef="" value="" rule="lessThan"/> </ByValueCondition> </Condition> <Condition name="criteria_OnSidewalkTest" delay="0" conditionEdge="rising"> <ByValueCondition> <ParameterCondition parameterRef="" value="" rule="lessThan"/> </ByValueCondition> </Condition> <Condition name="criteria_KeepLaneTest" delay="0" conditionEdge="rising"> <ByValueCondition> <ParameterCondition parameterRef="" value="" rule="lessThan"/> </ByValueCondition> </Condition> <Condition name="criteria_CollisionTest" delay="0" conditionEdge="rising"> <ByValueCondition> <ParameterCondition parameterRef="" value="" rule="lessThan"/> </ByValueCondition> </Condition> <Condition name="criteria_DrivenDistanceTest" delay="0" conditionEdge="rising"> <ByValueCondition> <ParameterCondition parameterRef="distance_success" value="100" rule="lessThan"/> </ByValueCondition> </Condition> </ConditionGroup> </StopTrigger> </Storyboard> </OpenSCENARIO> ```
Here is the result: ``` <?xml version="1.0" ?> <OpenSCENARIO> <FileHeader revMajor="1" revMinor="0" date="2020-03-24T12:00:00" description="CARLA:LaneChangeSimple" author=""/> <ParameterDeclarations/> <CatalogLocations/> <RoadNetwork> <LogicFile filepath="Town04"/> <SceneGraphFile filepath=""/> </RoadNetwork> <Entities> <ScenarioObject name="hero"> <Vehicle name="vehicle.tesla.model3" vehicleCategory="car"> <ParameterDeclarations/> <Performance maxSpeed="69.444" maxAcceleration="200" maxDeceleration="10.0"/> <BoundingBox> <Center x="1.5" y="0.0" z="0.9"/> <Dimensions width="2.1" length="4.5" height="1.8"/> </BoundingBox> <Axles> <FrontAxle maxSteering="0.5" wheelDiameter="0.6" trackWidth="1.8" positionX="3.1" positionZ="0.3"/> <RearAxle maxSteering="0.0" wheelDiameter="0.6" trackWidth="1.8" positionX="0.0" positionZ="0.3"/> </Axles> <Properties> <Property name="type" value="ego_vehicle"/> </Properties> </Vehicle> </ScenarioObject> <ScenarioObject name="adversary"> <Vehicle name="vehicle.lincoln.mkz_2017" vehicleCategory="car"> <ParameterDeclarations/> <Performance maxSpeed="69.444" maxAcceleration="200" maxDeceleration="10.0"/> <BoundingBox> <Center x="1.5" y="0.0" z="0.9"/> <Dimensions width="2.1" length="4.5" height="1.8"/> </BoundingBox> <Axles> <FrontAxle maxSteering="0.5" wheelDiameter="0.6" trackWidth="1.8" positionX="3.1" positionZ="0.3"/> <RearAxle maxSteering="0.0" wheelDiameter="0.6" trackWidth="1.8" positionX="0.0" positionZ="0.3"/> </Axles> <Properties> <Property name="type" value="simulation"/> </Properties> </Vehicle> </ScenarioObject> <ScenarioObject name="standing"> <Vehicle name="vehicle.volkswagen.t2" vehicleCategory="car"> <ParameterDeclarations/> <Performance maxSpeed="69.444" maxAcceleration="200" maxDeceleration="10.0"/> <BoundingBox> <Center x="1.5" y="0.0" z="0.9"/> <Dimensions width="2.1" length="4.5" height="1.8"/> </BoundingBox> <Axles> <FrontAxle maxSteering="0.5" wheelDiameter="0.6" trackWidth="1.8" positionX="3.1" positionZ="0.3"/> <RearAxle maxSteering="0.0" wheelDiameter="0.6" trackWidth="1.8" positionX="0.0" positionZ="0.3"/> </Axles> <Properties> <Property name="type" value="simulation"/> </Properties> </Vehicle> </ScenarioObject> <ScenarioObject name="pedestrian_close_to_hero_17355"> <Pedestrian model="walker.pedestrian.0001" mass="80" name="walker.pedestrian.0001" pedestrianCategory="pedestrian"> <ParameterDeclarations/> <BoundingBox> <Center x="1.5" y="0.0" z="0.9"/> <Dimensions width="2" length="2" height="2"/> </BoundingBox> <Properties> <Property name="type" value="simulation"/> </Properties> </Pedestrian> </ScenarioObject> <ScenarioObject name="pedestrian_close_to_standing_17356"> <Pedestrian model="walker.pedestrian.0001" mass="80" name="walker.pedestrian.0001" pedestrianCategory="pedestrian"> <ParameterDeclarations/> <BoundingBox> <Center x="1.5" y="0.0" z="0.9"/> <Dimensions width="2" length="2" height="2"/> </BoundingBox> <Properties> <Property name="type" value="simulation"/> </Properties> </Pedestrian> </ScenarioObject> </Entities> <Storyboard> <Init> <Actions> <GlobalAction> <EnvironmentAction> <Environment name="Environment1"> <TimeOfDay animation="false" dateTime="2019-06-25T12:00:00"/> <Weather cloudState="free"> <Sun intensity="0.85" azimuth="0" elevation="1.31"/> <Fog visualRange="100000.0"/> <Precipitation precipitationType="dry" intensity="0.0"/> </Weather> <RoadCondition frictionScaleFactor="1.0"/> </Environment> </EnvironmentAction> </GlobalAction> <Private entityRef="hero"> <PrivateAction> <TeleportAction> <Position> <WorldPosition x="-9.4" y="-152.8" z="0.5" h="1.57079632679"/> </Position> </TeleportAction> </PrivateAction> <PrivateAction> <ControllerAction> <AssignControllerAction> <Controller name="HeroAgent"> <Properties> <Property name="module" value="external_control"/> </Properties> </Controller> </AssignControllerAction> <OverrideControllerValueAction> <Throttle value="0" active="false"/> <Brake value="0" active="false"/> <Clutch value="0" active="false"/> <ParkingBrake value="0" active="false"/> <SteeringWheel value="0" active="false"/> <Gear number="0" active="false"/> </OverrideControllerValueAction> </ControllerAction> </PrivateAction> </Private> <Private entityRef="adversary"> <PrivateAction> <TeleportAction> <Position> <WorldPosition x="-9.4" y="-71.0" z="0.5" h="1.57079632679"/> </Position> </TeleportAction> </PrivateAction> </Private> <Private entityRef="standing"> <PrivateAction> <TeleportAction> <Position> <WorldPosition x="-8.2" y="29.2" z="0.5" h="1.57079632679"/> </Position> </TeleportAction> </PrivateAction> </Private> <Private entityRef="pedestrian_close_to_hero_17355"> <PrivateAction> <TeleportAction> <Position> <WorldPosition x="-17.779903411865234" y="-161.78855895996094" z="0.0014286803780123591"/> </Position> </TeleportAction> </PrivateAction> </Private> <Private entityRef="pedestrian_close_to_standing_17356"> <PrivateAction> <TeleportAction> <Position> <WorldPosition x="-16.857852935791016" y="31.478464126586914" z="0.0030574798583984375"/> </Position> </TeleportAction> </PrivateAction> </Private> </Actions> </Init> <Story name="MyStory"> <Act name="Behavior"> <ManeuverGroup maximumExecutionCount="1" name="ManeuverSequence"> <Actors selectTriggeringEntities="false"> <EntityRef entityRef="adversary"/> </Actors> <Maneuver name="LaneChangeSimpleManeuver"> <Event name="AdversaryAccelerates" priority="overwrite"> <Action name="AdversaryAccelerates"> <PrivateAction> <LongitudinalAction> <SpeedAction> <SpeedActionDynamics dynamicsShape="step" value="50" dynamicsDimension="distance"/> <SpeedActionTarget> <AbsoluteTargetSpeed value="5.0"/> </SpeedActionTarget> </SpeedAction> </LongitudinalAction> </PrivateAction> </Action> <StartTrigger> <ConditionGroup> <Condition name="StartCondition" delay="0" conditionEdge="rising"> <ByEntityCondition> <TriggeringEntities triggeringEntitiesRule="any"> <EntityRef entityRef="hero"/> </TriggeringEntities> <EntityCondition> <RelativeDistanceCondition entityRef="adversary" relativeDistanceType="cartesianDistance" value="40.0" freespace="false" rule="lessThan"/> </EntityCondition> </ByEntityCondition> </Condition> </ConditionGroup> </StartTrigger> </Event> <Event name="AdversaryChangesLane" priority="overwrite"> <Action name="AdversaryChangesLane"> <PrivateAction> <LateralAction> <LaneChangeAction> <LaneChangeActionDynamics dynamicsShape="linear" value="25" dynamicsDimension="distance"/> <LaneChangeTarget> <RelativeTargetLane entityRef="adversary" value="-1"/> </LaneChangeTarget> </LaneChangeAction> </LateralAction> </PrivateAction> </Action> <StartTrigger> <ConditionGroup> <Condition name="AfterAdversaryAccelerates" delay="0" conditionEdge="rising"> <ByValueCondition> <StoryboardElementStateCondition storyboardElementType="action" storyboardElementRef="AdversaryAccelerates" state="completeState"/> </ByValueCondition> </Condition> </ConditionGroup> </StartTrigger> </Event> </Maneuver> </ManeuverGroup> <StartTrigger> <ConditionGroup> <Condition name="OverallStartCondition" delay="0" conditionEdge="rising"> <ByEntityCondition> <TriggeringEntities triggeringEntitiesRule="any"> <EntityRef entityRef="hero"/> </TriggeringEntities> <EntityCondition> <TraveledDistanceCondition value="1.0"/> </EntityCondition> </ByEntityCondition> </Condition> <Condition name="StartTime" delay="0" conditionEdge="rising"> <ByValueCondition> <SimulationTimeCondition value="0" rule="equalTo"/> </ByValueCondition> </Condition> </ConditionGroup> </StartTrigger> <StopTrigger> <ConditionGroup> <Condition name="EndCondition" delay="0" conditionEdge="rising"> <ByEntityCondition> <TriggeringEntities triggeringEntitiesRule="any"> <EntityRef entityRef="hero"/> </TriggeringEntities> <EntityCondition> <TraveledDistanceCondition value="200.0"/> </EntityCondition> </ByEntityCondition> </Condition> </ConditionGroup> </StopTrigger> </Act> </Story> <StopTrigger> <ConditionGroup> <Condition name="criteria_RunningStopTest" delay="0" conditionEdge="rising"> <ByValueCondition> <ParameterCondition parameterRef="" value="" rule="lessThan"/> </ByValueCondition> </Condition> <Condition name="criteria_RunningRedLightTest" delay="0" conditionEdge="rising"> <ByValueCondition> <ParameterCondition parameterRef="" value="" rule="lessThan"/> </ByValueCondition> </Condition> <Condition name="criteria_WrongLaneTest" delay="0" conditionEdge="rising"> <ByValueCondition> <ParameterCondition parameterRef="" value="" rule="lessThan"/> </ByValueCondition> </Condition> <Condition name="criteria_OnSidewalkTest" delay="0" conditionEdge="rising"> <ByValueCondition> <ParameterCondition parameterRef="" value="" rule="lessThan"/> </ByValueCondition> </Condition> <Condition name="criteria_KeepLaneTest" delay="0" conditionEdge="rising"> <ByValueCondition> <ParameterCondition parameterRef="" value="" rule="lessThan"/> </ByValueCondition> </Condition> <Condition name="criteria_CollisionTest" delay="0" conditionEdge="rising"> <ByValueCondition> <ParameterCondition parameterRef="" value="" rule="lessThan"/> </ByValueCondition> </Condition> <Condition name="criteria_DrivenDistanceTest" delay="0" conditionEdge="rising"> <ByValueCondition> <ParameterCondition parameterRef="distance_success" value="100" rule="lessThan"/> </ByValueCondition> </Condition> </ConditionGroup> </StopTrigger> </Storyboard> </OpenSCENARIO> ```
i would like you to display remove pedestrian actor named pedestrian_w_transform_23251? ``` <?xml version="1.0" ?> <OpenSCENARIO> <FileHeader revMajor="1" revMinor="0" date="2020-03-24T12:00:00" description="CARLA:LaneChangeSimple" author=""/> <ParameterDeclarations/> <CatalogLocations/> <RoadNetwork> <LogicFile filepath="Town04"/> <SceneGraphFile filepath=""/> </RoadNetwork> <Entities> <ScenarioObject name="hero"> <Vehicle name="vehicle.tesla.model3" vehicleCategory="car"> <ParameterDeclarations/> <Performance maxSpeed="69.444" maxAcceleration="200" maxDeceleration="10.0"/> <BoundingBox> <Center x="1.5" y="0.0" z="0.9"/> <Dimensions width="2.1" length="4.5" height="1.8"/> </BoundingBox> <Axles> <FrontAxle maxSteering="0.5" wheelDiameter="0.6" trackWidth="1.8" positionX="3.1" positionZ="0.3"/> <RearAxle maxSteering="0.0" wheelDiameter="0.6" trackWidth="1.8" positionX="0.0" positionZ="0.3"/> </Axles> <Properties> <Property name="type" value="ego_vehicle"/> </Properties> </Vehicle> </ScenarioObject> <ScenarioObject name="adversary"> <Vehicle name="vehicle.lincoln.mkz_2017" vehicleCategory="car"> <ParameterDeclarations/> <Performance maxSpeed="69.444" maxAcceleration="200" maxDeceleration="10.0"/> <BoundingBox> <Center x="1.5" y="0.0" z="0.9"/> <Dimensions width="2.1" length="4.5" height="1.8"/> </BoundingBox> <Axles> <FrontAxle maxSteering="0.5" wheelDiameter="0.6" trackWidth="1.8" positionX="3.1" positionZ="0.3"/> <RearAxle maxSteering="0.0" wheelDiameter="0.6" trackWidth="1.8" positionX="0.0" positionZ="0.3"/> </Axles> <Properties> <Property name="type" value="simulation"/> </Properties> </Vehicle> </ScenarioObject> <ScenarioObject name="standing"> <Vehicle name="vehicle.volkswagen.t2" vehicleCategory="car"> <ParameterDeclarations/> <Performance maxSpeed="69.444" maxAcceleration="200" maxDeceleration="10.0"/> <BoundingBox> <Center x="1.5" y="0.0" z="0.9"/> <Dimensions width="2.1" length="4.5" height="1.8"/> </BoundingBox> <Axles> <FrontAxle maxSteering="0.5" wheelDiameter="0.6" trackWidth="1.8" positionX="3.1" positionZ="0.3"/> <RearAxle maxSteering="0.0" wheelDiameter="0.6" trackWidth="1.8" positionX="0.0" positionZ="0.3"/> </Axles> <Properties> <Property name="type" value="simulation"/> </Properties> </Vehicle> </ScenarioObject> <ScenarioObject name="pedestrian_close_to_adversary_23243"> <Pedestrian model="walker.pedestrian.0001" mass="80" name="walker.pedestrian.0001" pedestrianCategory="pedestrian"> <ParameterDeclarations/> <BoundingBox> <Center x="1.5" y="0.0" z="0.9"/> <Dimensions width="2" length="2" height="2"/> </BoundingBox> <Properties> <Property name="type" value="simulation"/> </Properties> </Pedestrian> </ScenarioObject> <ScenarioObject name="pedestrian_close_to_adversary_23244"> <Pedestrian model="walker.pedestrian.0001" mass="80" name="walker.pedestrian.0001" pedestrianCategory="pedestrian"> <ParameterDeclarations/> <BoundingBox> <Center x="1.5" y="0.0" z="0.9"/> <Dimensions width="2" length="2" height="2"/> </BoundingBox> <Properties> <Property name="type" value="simulation"/> </Properties> </Pedestrian> </ScenarioObject> <ScenarioObject name="pedestrian_w_transform_23245"> <Pedestrian model="walker.pedestrian.0001" mass="80" name="walker.pedestrian.0001" pedestrianCategory="pedestrian"> <ParameterDeclarations/> <BoundingBox> <Center x="1.5" y="0.0" z="0.9"/> <Dimensions width="2" length="2" height="2"/> </BoundingBox> <Properties> <Property name="type" value="simulation"/> </Properties> </Pedestrian> </ScenarioObject> <ScenarioObject name="pedestrian_close_to_standing_23247"> <Pedestrian model="walker.pedestrian.0001" mass="80" name="walker.pedestrian.0001" pedestrianCategory="pedestrian"> <ParameterDeclarations/> <BoundingBox> <Center x="1.5" y="0.0" z="0.9"/> <Dimensions width="2" length="2" height="2"/> </BoundingBox> <Properties> <Property name="type" value="simulation"/> </Properties> </Pedestrian> </ScenarioObject> <ScenarioObject name="pedestrian_w_transform_23248"> <Pedestrian model="walker.pedestrian.0001" mass="80" name="walker.pedestrian.0001" pedestrianCategory="pedestrian"> <ParameterDeclarations/> <BoundingBox> <Center x="1.5" y="0.0" z="0.9"/> <Dimensions width="2" length="2" height="2"/> </BoundingBox> <Properties> <Property name="type" value="simulation"/> </Properties> </Pedestrian> </ScenarioObject> <ScenarioObject name="pedestrian_w_transform_23249"> <Pedestrian model="walker.pedestrian.0001" mass="80" name="walker.pedestrian.0001" pedestrianCategory="pedestrian"> <ParameterDeclarations/> <BoundingBox> <Center x="1.5" y="0.0" z="0.9"/> <Dimensions width="2" length="2" height="2"/> </BoundingBox> <Properties> <Property name="type" value="simulation"/> </Properties> </Pedestrian> </ScenarioObject> <ScenarioObject name="pedestrian_w_transform_23250"> <Pedestrian model="walker.pedestrian.0001" mass="80" name="walker.pedestrian.0001" pedestrianCategory="pedestrian"> <ParameterDeclarations/> <BoundingBox> <Center x="1.5" y="0.0" z="0.9"/> <Dimensions width="2" length="2" height="2"/> </BoundingBox> <Properties> <Property name="type" value="simulation"/> </Properties> </Pedestrian> </ScenarioObject> <ScenarioObject name="pedestrian_w_transform_23251"> <Pedestrian model="walker.pedestrian.0001" mass="80" name="walker.pedestrian.0001" pedestrianCategory="pedestrian"> <ParameterDeclarations/> <BoundingBox> <Center x="1.5" y="0.0" z="0.9"/> <Dimensions width="2" length="2" height="2"/> </BoundingBox> <Properties> <Property name="type" value="simulation"/> </Properties> </Pedestrian> </ScenarioObject> </Entities> <Storyboard> <Init> <Actions> <GlobalAction> <EnvironmentAction> <Environment name="Environment1"> <TimeOfDay animation="false" dateTime="2019-06-25T12:00:00"/> <Weather cloudState="free"> <Sun intensity="0.85" azimuth="0" elevation="1.31"/> <Fog visualRange="100000.0"/> <Precipitation precipitationType="dry" intensity="0.0"/> </Weather> <RoadCondition frictionScaleFactor="1.0"/> </Environment> </EnvironmentAction> </GlobalAction> <Private entityRef="hero"> <PrivateAction> <TeleportAction> <Position> <WorldPosition x="-9.4" y="-152.8" z="0.5" h="1.57079632679"/> </Position> </TeleportAction> </PrivateAction> <PrivateAction> <ControllerAction> <AssignControllerAction> <Controller name="HeroAgent"> <Properties> <Property name="module" value="external_control"/> </Properties> </Controller> </AssignControllerAction> <OverrideControllerValueAction> <Throttle value="0" active="false"/> <Brake value="0" active="false"/> <Clutch value="0" active="false"/> <ParkingBrake value="0" active="false"/> <SteeringWheel value="0" active="false"/> <Gear number="0" active="false"/> </OverrideControllerValueAction> </ControllerAction> </PrivateAction> </Private> <Private entityRef="adversary"> <PrivateAction> <TeleportAction> <Position> <WorldPosition x="-9.4" y="-71.0" z="0.5" h="1.57079632679"/> </Position> </TeleportAction> </PrivateAction> </Private> <Private entityRef="standing"> <PrivateAction> <TeleportAction> <Position> <WorldPosition x="-8.2" y="29.2" z="0.5" h="1.57079632679"/> </Position> </TeleportAction> </PrivateAction> </Private> <Private entityRef="pedestrian_close_to_adversary_23243"> <PrivateAction> <TeleportAction> <Position> <WorldPosition x="-9.96872615814209" y="-81.403564453125" z="0.03381149098277092"/> </Position> </TeleportAction> </PrivateAction> </Private> <Private entityRef="pedestrian_close_to_adversary_23244"> <PrivateAction> <TeleportAction> <Position> <WorldPosition x="-25.62291145324707" y="-68.32229614257812" z="0.03378284350037575"/> </Position> </TeleportAction> </PrivateAction> </Private> <Private entityRef="pedestrian_w_transform_23245"> <PrivateAction> <TeleportAction> <Position> <WorldPosition x="-55.374542236328125" y="25.837881088256836" z="0.5"/> </Position> </TeleportAction> </PrivateAction> </Private> <Private entityRef="pedestrian_close_to_standing_23247"> <PrivateAction> <TeleportAction> <Position> <WorldPosition x="-1.1008613109588623" y="22.44008445739746" z="0.00306186662055552"/> </Position> </TeleportAction> </PrivateAction> </Private> <Private entityRef="pedestrian_w_transform_23248"> <PrivateAction> <TeleportAction> <Position> <WorldPosition x="94.99951934814453" y="-3.617108106613159" z="0.5"/> </Position> </TeleportAction> </PrivateAction> </Private> <Private entityRef="pedestrian_w_transform_23249"> <PrivateAction> <TeleportAction> <Position> <WorldPosition x="-6.295916557312012" y="36.156837463378906" z="0.5"/> </Position> </TeleportAction> </PrivateAction> </Private> <Private entityRef="pedestrian_w_transform_23250"> <PrivateAction> <TeleportAction> <Position> <WorldPosition x="-58.86332321166992" y="-50.50445556640625" z="0.5"/> </Position> </TeleportAction> </PrivateAction> </Private> <Private entityRef="pedestrian_w_transform_23251"> <PrivateAction> <TeleportAction> <Position> <WorldPosition x="-22.245525360107422" y="-8.879667282104492" z="0.5"/> </Position> </TeleportAction> </PrivateAction> </Private> </Actions> </Init> <Story name="MyStory"> <Act name="Behavior"> <ManeuverGroup maximumExecutionCount="1" name="ManeuverSequence"> <Actors selectTriggeringEntities="false"> <EntityRef entityRef="adversary"/> </Actors> <Maneuver name="LaneChangeSimpleManeuver"> <Event name="AdversaryAccelerates" priority="overwrite"> <Action name="AdversaryAccelerates"> <PrivateAction> <LongitudinalAction> <SpeedAction> <SpeedActionDynamics dynamicsShape="step" value="50" dynamicsDimension="distance"/> <SpeedActionTarget> <AbsoluteTargetSpeed value="5.0"/> </SpeedActionTarget> </SpeedAction> </LongitudinalAction> </PrivateAction> </Action> <StartTrigger> <ConditionGroup> <Condition name="StartCondition" delay="0" conditionEdge="rising"> <ByEntityCondition> <TriggeringEntities triggeringEntitiesRule="any"> <EntityRef entityRef="hero"/> </TriggeringEntities> <EntityCondition> <RelativeDistanceCondition entityRef="adversary" relativeDistanceType="cartesianDistance" value="40.0" freespace="false" rule="lessThan"/> </EntityCondition> </ByEntityCondition> </Condition> </ConditionGroup> </StartTrigger> </Event> <Event name="AdversaryChangesLane" priority="overwrite"> <Action name="AdversaryChangesLane"> <PrivateAction> <LateralAction> <LaneChangeAction> <LaneChangeActionDynamics dynamicsShape="linear" value="25" dynamicsDimension="distance"/> <LaneChangeTarget> <RelativeTargetLane entityRef="adversary" value="-1"/> </LaneChangeTarget> </LaneChangeAction> </LateralAction> </PrivateAction> </Action> <StartTrigger> <ConditionGroup> <Condition name="AfterAdversaryAccelerates" delay="0" conditionEdge="rising"> <ByValueCondition> <StoryboardElementStateCondition storyboardElementType="action" storyboardElementRef="AdversaryAccelerates" state="completeState"/> </ByValueCondition> </Condition> </ConditionGroup> </StartTrigger> </Event> </Maneuver> </ManeuverGroup> <StartTrigger> <ConditionGroup> <Condition name="OverallStartCondition" delay="0" conditionEdge="rising"> <ByEntityCondition> <TriggeringEntities triggeringEntitiesRule="any"> <EntityRef entityRef="hero"/> </TriggeringEntities> <EntityCondition> <TraveledDistanceCondition value="1.0"/> </EntityCondition> </ByEntityCondition> </Condition> <Condition name="StartTime" delay="0" conditionEdge="rising"> <ByValueCondition> <SimulationTimeCondition value="0" rule="equalTo"/> </ByValueCondition> </Condition> </ConditionGroup> </StartTrigger> <StopTrigger> <ConditionGroup> <Condition name="EndCondition" delay="0" conditionEdge="rising"> <ByEntityCondition> <TriggeringEntities triggeringEntitiesRule="any"> <EntityRef entityRef="hero"/> </TriggeringEntities> <EntityCondition> <TraveledDistanceCondition value="200.0"/> </EntityCondition> </ByEntityCondition> </Condition> </ConditionGroup> </StopTrigger> </Act> </Story> <StopTrigger> <ConditionGroup> <Condition name="criteria_RunningStopTest" delay="0" conditionEdge="rising"> <ByValueCondition> <ParameterCondition parameterRef="" value="" rule="lessThan"/> </ByValueCondition> </Condition> <Condition name="criteria_RunningRedLightTest" delay="0" conditionEdge="rising"> <ByValueCondition> <ParameterCondition parameterRef="" value="" rule="lessThan"/> </ByValueCondition> </Condition> <Condition name="criteria_WrongLaneTest" delay="0" conditionEdge="rising"> <ByValueCondition> <ParameterCondition parameterRef="" value="" rule="lessThan"/> </ByValueCondition> </Condition> <Condition name="criteria_OnSidewalkTest" delay="0" conditionEdge="rising"> <ByValueCondition> <ParameterCondition parameterRef="" value="" rule="lessThan"/> </ByValueCondition> </Condition> <Condition name="criteria_KeepLaneTest" delay="0" conditionEdge="rising"> <ByValueCondition> <ParameterCondition parameterRef="" value="" rule="lessThan"/> </ByValueCondition> </Condition> <Condition name="criteria_CollisionTest" delay="0" conditionEdge="rising"> <ByValueCondition> <ParameterCondition parameterRef="" value="" rule="lessThan"/> </ByValueCondition> </Condition> <Condition name="criteria_DrivenDistanceTest" delay="0" conditionEdge="rising"> <ByValueCondition> <ParameterCondition parameterRef="distance_success" value="100" rule="lessThan"/> </ByValueCondition> </Condition> </ConditionGroup> </StopTrigger> </Storyboard> </OpenSCENARIO> ```
Here is the result: ``` <?xml version="1.0" ?> <OpenSCENARIO> <FileHeader revMajor="1" revMinor="0" date="2020-03-24T12:00:00" description="CARLA:LaneChangeSimple" author=""/> <ParameterDeclarations/> <CatalogLocations/> <RoadNetwork> <LogicFile filepath="Town04"/> <SceneGraphFile filepath=""/> </RoadNetwork> <Entities> <ScenarioObject name="hero"> <Vehicle name="vehicle.tesla.model3" vehicleCategory="car"> <ParameterDeclarations/> <Performance maxSpeed="69.444" maxAcceleration="200" maxDeceleration="10.0"/> <BoundingBox> <Center x="1.5" y="0.0" z="0.9"/> <Dimensions width="2.1" length="4.5" height="1.8"/> </BoundingBox> <Axles> <FrontAxle maxSteering="0.5" wheelDiameter="0.6" trackWidth="1.8" positionX="3.1" positionZ="0.3"/> <RearAxle maxSteering="0.0" wheelDiameter="0.6" trackWidth="1.8" positionX="0.0" positionZ="0.3"/> </Axles> <Properties> <Property name="type" value="ego_vehicle"/> </Properties> </Vehicle> </ScenarioObject> <ScenarioObject name="adversary"> <Vehicle name="vehicle.lincoln.mkz_2017" vehicleCategory="car"> <ParameterDeclarations/> <Performance maxSpeed="69.444" maxAcceleration="200" maxDeceleration="10.0"/> <BoundingBox> <Center x="1.5" y="0.0" z="0.9"/> <Dimensions width="2.1" length="4.5" height="1.8"/> </BoundingBox> <Axles> <FrontAxle maxSteering="0.5" wheelDiameter="0.6" trackWidth="1.8" positionX="3.1" positionZ="0.3"/> <RearAxle maxSteering="0.0" wheelDiameter="0.6" trackWidth="1.8" positionX="0.0" positionZ="0.3"/> </Axles> <Properties> <Property name="type" value="simulation"/> </Properties> </Vehicle> </ScenarioObject> <ScenarioObject name="standing"> <Vehicle name="vehicle.volkswagen.t2" vehicleCategory="car"> <ParameterDeclarations/> <Performance maxSpeed="69.444" maxAcceleration="200" maxDeceleration="10.0"/> <BoundingBox> <Center x="1.5" y="0.0" z="0.9"/> <Dimensions width="2.1" length="4.5" height="1.8"/> </BoundingBox> <Axles> <FrontAxle maxSteering="0.5" wheelDiameter="0.6" trackWidth="1.8" positionX="3.1" positionZ="0.3"/> <RearAxle maxSteering="0.0" wheelDiameter="0.6" trackWidth="1.8" positionX="0.0" positionZ="0.3"/> </Axles> <Properties> <Property name="type" value="simulation"/> </Properties> </Vehicle> </ScenarioObject> <ScenarioObject name="pedestrian_close_to_adversary_23243"> <Pedestrian model="walker.pedestrian.0001" mass="80" name="walker.pedestrian.0001" pedestrianCategory="pedestrian"> <ParameterDeclarations/> <BoundingBox> <Center x="1.5" y="0.0" z="0.9"/> <Dimensions width="2" length="2" height="2"/> </BoundingBox> <Properties> <Property name="type" value="simulation"/> </Properties> </Pedestrian> </ScenarioObject> <ScenarioObject name="pedestrian_close_to_adversary_23244"> <Pedestrian model="walker.pedestrian.0001" mass="80" name="walker.pedestrian.0001" pedestrianCategory="pedestrian"> <ParameterDeclarations/> <BoundingBox> <Center x="1.5" y="0.0" z="0.9"/> <Dimensions width="2" length="2" height="2"/> </BoundingBox> <Properties> <Property name="type" value="simulation"/> </Properties> </Pedestrian> </ScenarioObject> <ScenarioObject name="pedestrian_w_transform_23245"> <Pedestrian model="walker.pedestrian.0001" mass="80" name="walker.pedestrian.0001" pedestrianCategory="pedestrian"> <ParameterDeclarations/> <BoundingBox> <Center x="1.5" y="0.0" z="0.9"/> <Dimensions width="2" length="2" height="2"/> </BoundingBox> <Properties> <Property name="type" value="simulation"/> </Properties> </Pedestrian> </ScenarioObject> <ScenarioObject name="pedestrian_close_to_standing_23247"> <Pedestrian model="walker.pedestrian.0001" mass="80" name="walker.pedestrian.0001" pedestrianCategory="pedestrian"> <ParameterDeclarations/> <BoundingBox> <Center x="1.5" y="0.0" z="0.9"/> <Dimensions width="2" length="2" height="2"/> </BoundingBox> <Properties> <Property name="type" value="simulation"/> </Properties> </Pedestrian> </ScenarioObject> <ScenarioObject name="pedestrian_w_transform_23248"> <Pedestrian model="walker.pedestrian.0001" mass="80" name="walker.pedestrian.0001" pedestrianCategory="pedestrian"> <ParameterDeclarations/> <BoundingBox> <Center x="1.5" y="0.0" z="0.9"/> <Dimensions width="2" length="2" height="2"/> </BoundingBox> <Properties> <Property name="type" value="simulation"/> </Properties> </Pedestrian> </ScenarioObject> <ScenarioObject name="pedestrian_w_transform_23249"> <Pedestrian model="walker.pedestrian.0001" mass="80" name="walker.pedestrian.0001" pedestrianCategory="pedestrian"> <ParameterDeclarations/> <BoundingBox> <Center x="1.5" y="0.0" z="0.9"/> <Dimensions width="2" length="2" height="2"/> </BoundingBox> <Properties> <Property name="type" value="simulation"/> </Properties> </Pedestrian> </ScenarioObject> <ScenarioObject name="pedestrian_w_transform_23250"> <Pedestrian model="walker.pedestrian.0001" mass="80" name="walker.pedestrian.0001" pedestrianCategory="pedestrian"> <ParameterDeclarations/> <BoundingBox> <Center x="1.5" y="0.0" z="0.9"/> <Dimensions width="2" length="2" height="2"/> </BoundingBox> <Properties> <Property name="type" value="simulation"/> </Properties> </Pedestrian> </ScenarioObject> </Entities> <Storyboard> <Init> <Actions> <GlobalAction> <EnvironmentAction> <Environment name="Environment1"> <TimeOfDay animation="false" dateTime="2019-06-25T12:00:00"/> <Weather cloudState="free"> <Sun intensity="0.85" azimuth="0" elevation="1.31"/> <Fog visualRange="100000.0"/> <Precipitation precipitationType="dry" intensity="0.0"/> </Weather> <RoadCondition frictionScaleFactor="1.0"/> </Environment> </EnvironmentAction> </GlobalAction> <Private entityRef="hero"> <PrivateAction> <TeleportAction> <Position> <WorldPosition x="-9.4" y="-152.8" z="0.5" h="1.57079632679"/> </Position> </TeleportAction> </PrivateAction> <PrivateAction> <ControllerAction> <AssignControllerAction> <Controller name="HeroAgent"> <Properties> <Property name="module" value="external_control"/> </Properties> </Controller> </AssignControllerAction> <OverrideControllerValueAction> <Throttle value="0" active="false"/> <Brake value="0" active="false"/> <Clutch value="0" active="false"/> <ParkingBrake value="0" active="false"/> <SteeringWheel value="0" active="false"/> <Gear number="0" active="false"/> </OverrideControllerValueAction> </ControllerAction> </PrivateAction> </Private> <Private entityRef="adversary"> <PrivateAction> <TeleportAction> <Position> <WorldPosition x="-9.4" y="-71.0" z="0.5" h="1.57079632679"/> </Position> </TeleportAction> </PrivateAction> </Private> <Private entityRef="standing"> <PrivateAction> <TeleportAction> <Position> <WorldPosition x="-8.2" y="29.2" z="0.5" h="1.57079632679"/> </Position> </TeleportAction> </PrivateAction> </Private> <Private entityRef="pedestrian_close_to_adversary_23243"> <PrivateAction> <TeleportAction> <Position> <WorldPosition x="-9.96872615814209" y="-81.403564453125" z="0.03381149098277092"/> </Position> </TeleportAction> </PrivateAction> </Private> <Private entityRef="pedestrian_close_to_adversary_23244"> <PrivateAction> <TeleportAction> <Position> <WorldPosition x="-25.62291145324707" y="-68.32229614257812" z="0.03378284350037575"/> </Position> </TeleportAction> </PrivateAction> </Private> <Private entityRef="pedestrian_w_transform_23245"> <PrivateAction> <TeleportAction> <Position> <WorldPosition x="-55.374542236328125" y="25.837881088256836" z="0.5"/> </Position> </TeleportAction> </PrivateAction> </Private> <Private entityRef="pedestrian_close_to_standing_23247"> <PrivateAction> <TeleportAction> <Position> <WorldPosition x="-1.1008613109588623" y="22.44008445739746" z="0.00306186662055552"/> </Position> </TeleportAction> </PrivateAction> </Private> <Private entityRef="pedestrian_w_transform_23248"> <PrivateAction> <TeleportAction> <Position> <WorldPosition x="94.99951934814453" y="-3.617108106613159" z="0.5"/> </Position> </TeleportAction> </PrivateAction> </Private> <Private entityRef="pedestrian_w_transform_23249"> <PrivateAction> <TeleportAction> <Position> <WorldPosition x="-6.295916557312012" y="36.156837463378906" z="0.5"/> </Position> </TeleportAction> </PrivateAction> </Private> <Private entityRef="pedestrian_w_transform_23250"> <PrivateAction> <TeleportAction> <Position> <WorldPosition x="-58.86332321166992" y="-50.50445556640625" z="0.5"/> </Position> </TeleportAction> </PrivateAction> </Private> </Actions> </Init> <Story name="MyStory"> <Act name="Behavior"> <ManeuverGroup maximumExecutionCount="1" name="ManeuverSequence"> <Actors selectTriggeringEntities="false"> <EntityRef entityRef="adversary"/> </Actors> <Maneuver name="LaneChangeSimpleManeuver"> <Event name="AdversaryAccelerates" priority="overwrite"> <Action name="AdversaryAccelerates"> <PrivateAction> <LongitudinalAction> <SpeedAction> <SpeedActionDynamics dynamicsShape="step" value="50" dynamicsDimension="distance"/> <SpeedActionTarget> <AbsoluteTargetSpeed value="5.0"/> </SpeedActionTarget> </SpeedAction> </LongitudinalAction> </PrivateAction> </Action> <StartTrigger> <ConditionGroup> <Condition name="StartCondition" delay="0" conditionEdge="rising"> <ByEntityCondition> <TriggeringEntities triggeringEntitiesRule="any"> <EntityRef entityRef="hero"/> </TriggeringEntities> <EntityCondition> <RelativeDistanceCondition entityRef="adversary" relativeDistanceType="cartesianDistance" value="40.0" freespace="false" rule="lessThan"/> </EntityCondition> </ByEntityCondition> </Condition> </ConditionGroup> </StartTrigger> </Event> <Event name="AdversaryChangesLane" priority="overwrite"> <Action name="AdversaryChangesLane"> <PrivateAction> <LateralAction> <LaneChangeAction> <LaneChangeActionDynamics dynamicsShape="linear" value="25" dynamicsDimension="distance"/> <LaneChangeTarget> <RelativeTargetLane entityRef="adversary" value="-1"/> </LaneChangeTarget> </LaneChangeAction> </LateralAction> </PrivateAction> </Action> <StartTrigger> <ConditionGroup> <Condition name="AfterAdversaryAccelerates" delay="0" conditionEdge="rising"> <ByValueCondition> <StoryboardElementStateCondition storyboardElementType="action" storyboardElementRef="AdversaryAccelerates" state="completeState"/> </ByValueCondition> </Condition> </ConditionGroup> </StartTrigger> </Event> </Maneuver> </ManeuverGroup> <StartTrigger> <ConditionGroup> <Condition name="OverallStartCondition" delay="0" conditionEdge="rising"> <ByEntityCondition> <TriggeringEntities triggeringEntitiesRule="any"> <EntityRef entityRef="hero"/> </TriggeringEntities> <EntityCondition> <TraveledDistanceCondition value="1.0"/> </EntityCondition> </ByEntityCondition> </Condition> <Condition name="StartTime" delay="0" conditionEdge="rising"> <ByValueCondition> <SimulationTimeCondition value="0" rule="equalTo"/> </ByValueCondition> </Condition> </ConditionGroup> </StartTrigger> <StopTrigger> <ConditionGroup> <Condition name="EndCondition" delay="0" conditionEdge="rising"> <ByEntityCondition> <TriggeringEntities triggeringEntitiesRule="any"> <EntityRef entityRef="hero"/> </TriggeringEntities> <EntityCondition> <TraveledDistanceCondition value="200.0"/> </EntityCondition> </ByEntityCondition> </Condition> </ConditionGroup> </StopTrigger> </Act> </Story> <StopTrigger> <ConditionGroup> <Condition name="criteria_RunningStopTest" delay="0" conditionEdge="rising"> <ByValueCondition> <ParameterCondition parameterRef="" value="" rule="lessThan"/> </ByValueCondition> </Condition> <Condition name="criteria_RunningRedLightTest" delay="0" conditionEdge="rising"> <ByValueCondition> <ParameterCondition parameterRef="" value="" rule="lessThan"/> </ByValueCondition> </Condition> <Condition name="criteria_WrongLaneTest" delay="0" conditionEdge="rising"> <ByValueCondition> <ParameterCondition parameterRef="" value="" rule="lessThan"/> </ByValueCondition> </Condition> <Condition name="criteria_OnSidewalkTest" delay="0" conditionEdge="rising"> <ByValueCondition> <ParameterCondition parameterRef="" value="" rule="lessThan"/> </ByValueCondition> </Condition> <Condition name="criteria_KeepLaneTest" delay="0" conditionEdge="rising"> <ByValueCondition> <ParameterCondition parameterRef="" value="" rule="lessThan"/> </ByValueCondition> </Condition> <Condition name="criteria_CollisionTest" delay="0" conditionEdge="rising"> <ByValueCondition> <ParameterCondition parameterRef="" value="" rule="lessThan"/> </ByValueCondition> </Condition> <Condition name="criteria_DrivenDistanceTest" delay="0" conditionEdge="rising"> <ByValueCondition> <ParameterCondition parameterRef="distance_success" value="100" rule="lessThan"/> </ByValueCondition> </Condition> </ConditionGroup> </StopTrigger> </Storyboard> </OpenSCENARIO> ```
i would like to instruct you to add pedestrian close to standing? ``` <?xml version="1.0" ?> <OpenSCENARIO> <FileHeader revMajor="1" revMinor="0" date="2020-03-24T12:00:00" description="CARLA:LaneChangeSimple" author=""/> <ParameterDeclarations/> <CatalogLocations/> <RoadNetwork> <LogicFile filepath="Town04"/> <SceneGraphFile filepath=""/> </RoadNetwork> <Entities> <ScenarioObject name="hero"> <Vehicle name="vehicle.tesla.model3" vehicleCategory="car"> <ParameterDeclarations/> <Performance maxSpeed="69.444" maxAcceleration="200" maxDeceleration="10.0"/> <BoundingBox> <Center x="1.5" y="0.0" z="0.9"/> <Dimensions width="2.1" length="4.5" height="1.8"/> </BoundingBox> <Axles> <FrontAxle maxSteering="0.5" wheelDiameter="0.6" trackWidth="1.8" positionX="3.1" positionZ="0.3"/> <RearAxle maxSteering="0.0" wheelDiameter="0.6" trackWidth="1.8" positionX="0.0" positionZ="0.3"/> </Axles> <Properties> <Property name="type" value="ego_vehicle"/> </Properties> </Vehicle> </ScenarioObject> <ScenarioObject name="adversary"> <Vehicle name="vehicle.lincoln.mkz_2017" vehicleCategory="car"> <ParameterDeclarations/> <Performance maxSpeed="69.444" maxAcceleration="200" maxDeceleration="10.0"/> <BoundingBox> <Center x="1.5" y="0.0" z="0.9"/> <Dimensions width="2.1" length="4.5" height="1.8"/> </BoundingBox> <Axles> <FrontAxle maxSteering="0.5" wheelDiameter="0.6" trackWidth="1.8" positionX="3.1" positionZ="0.3"/> <RearAxle maxSteering="0.0" wheelDiameter="0.6" trackWidth="1.8" positionX="0.0" positionZ="0.3"/> </Axles> <Properties> <Property name="type" value="simulation"/> </Properties> </Vehicle> </ScenarioObject> <ScenarioObject name="standing"> <Vehicle name="vehicle.volkswagen.t2" vehicleCategory="car"> <ParameterDeclarations/> <Performance maxSpeed="69.444" maxAcceleration="200" maxDeceleration="10.0"/> <BoundingBox> <Center x="1.5" y="0.0" z="0.9"/> <Dimensions width="2.1" length="4.5" height="1.8"/> </BoundingBox> <Axles> <FrontAxle maxSteering="0.5" wheelDiameter="0.6" trackWidth="1.8" positionX="3.1" positionZ="0.3"/> <RearAxle maxSteering="0.0" wheelDiameter="0.6" trackWidth="1.8" positionX="0.0" positionZ="0.3"/> </Axles> <Properties> <Property name="type" value="simulation"/> </Properties> </Vehicle> </ScenarioObject> <ScenarioObject name="pedestrian_close_to_hero_21245"> <Pedestrian model="walker.pedestrian.0001" mass="80" name="walker.pedestrian.0001" pedestrianCategory="pedestrian"> <ParameterDeclarations/> <BoundingBox> <Center x="1.5" y="0.0" z="0.9"/> <Dimensions width="2" length="2" height="2"/> </BoundingBox> <Properties> <Property name="type" value="simulation"/> </Properties> </Pedestrian> </ScenarioObject> <ScenarioObject name="pedestrian_close_to_standing_21246"> <Pedestrian model="walker.pedestrian.0001" mass="80" name="walker.pedestrian.0001" pedestrianCategory="pedestrian"> <ParameterDeclarations/> <BoundingBox> <Center x="1.5" y="0.0" z="0.9"/> <Dimensions width="2" length="2" height="2"/> </BoundingBox> <Properties> <Property name="type" value="simulation"/> </Properties> </Pedestrian> </ScenarioObject> <ScenarioObject name="pedestrian_w_transform_21247"> <Pedestrian model="walker.pedestrian.0001" mass="80" name="walker.pedestrian.0001" pedestrianCategory="pedestrian"> <ParameterDeclarations/> <BoundingBox> <Center x="1.5" y="0.0" z="0.9"/> <Dimensions width="2" length="2" height="2"/> </BoundingBox> <Properties> <Property name="type" value="simulation"/> </Properties> </Pedestrian> </ScenarioObject> <ScenarioObject name="pedestrian_close_to_standing_21248"> <Pedestrian model="walker.pedestrian.0001" mass="80" name="walker.pedestrian.0001" pedestrianCategory="pedestrian"> <ParameterDeclarations/> <BoundingBox> <Center x="1.5" y="0.0" z="0.9"/> <Dimensions width="2" length="2" height="2"/> </BoundingBox> <Properties> <Property name="type" value="simulation"/> </Properties> </Pedestrian> </ScenarioObject> <ScenarioObject name="pedestrian_w_transform_21249"> <Pedestrian model="walker.pedestrian.0001" mass="80" name="walker.pedestrian.0001" pedestrianCategory="pedestrian"> <ParameterDeclarations/> <BoundingBox> <Center x="1.5" y="0.0" z="0.9"/> <Dimensions width="2" length="2" height="2"/> </BoundingBox> <Properties> <Property name="type" value="simulation"/> </Properties> </Pedestrian> </ScenarioObject> <ScenarioObject name="pedestrian_close_to_hero_21250"> <Pedestrian model="walker.pedestrian.0001" mass="80" name="walker.pedestrian.0001" pedestrianCategory="pedestrian"> <ParameterDeclarations/> <BoundingBox> <Center x="1.5" y="0.0" z="0.9"/> <Dimensions width="2" length="2" height="2"/> </BoundingBox> <Properties> <Property name="type" value="simulation"/> </Properties> </Pedestrian> </ScenarioObject> <ScenarioObject name="pedestrian_w_transform_21251"> <Pedestrian model="walker.pedestrian.0001" mass="80" name="walker.pedestrian.0001" pedestrianCategory="pedestrian"> <ParameterDeclarations/> <BoundingBox> <Center x="1.5" y="0.0" z="0.9"/> <Dimensions width="2" length="2" height="2"/> </BoundingBox> <Properties> <Property name="type" value="simulation"/> </Properties> </Pedestrian> </ScenarioObject> <ScenarioObject name="pedestrian_close_to_standing_21252"> <Pedestrian model="walker.pedestrian.0001" mass="80" name="walker.pedestrian.0001" pedestrianCategory="pedestrian"> <ParameterDeclarations/> <BoundingBox> <Center x="1.5" y="0.0" z="0.9"/> <Dimensions width="2" length="2" height="2"/> </BoundingBox> <Properties> <Property name="type" value="simulation"/> </Properties> </Pedestrian> </ScenarioObject> <ScenarioObject name="pedestrian_close_to_adversary_21253"> <Pedestrian model="walker.pedestrian.0001" mass="80" name="walker.pedestrian.0001" pedestrianCategory="pedestrian"> <ParameterDeclarations/> <BoundingBox> <Center x="1.5" y="0.0" z="0.9"/> <Dimensions width="2" length="2" height="2"/> </BoundingBox> <Properties> <Property name="type" value="simulation"/> </Properties> </Pedestrian> </ScenarioObject> <ScenarioObject name="pedestrian_w_transform_21254"> <Pedestrian model="walker.pedestrian.0001" mass="80" name="walker.pedestrian.0001" pedestrianCategory="pedestrian"> <ParameterDeclarations/> <BoundingBox> <Center x="1.5" y="0.0" z="0.9"/> <Dimensions width="2" length="2" height="2"/> </BoundingBox> <Properties> <Property name="type" value="simulation"/> </Properties> </Pedestrian> </ScenarioObject> <ScenarioObject name="pedestrian_w_transform_21255"> <Pedestrian model="walker.pedestrian.0001" mass="80" name="walker.pedestrian.0001" pedestrianCategory="pedestrian"> <ParameterDeclarations/> <BoundingBox> <Center x="1.5" y="0.0" z="0.9"/> <Dimensions width="2" length="2" height="2"/> </BoundingBox> <Properties> <Property name="type" value="simulation"/> </Properties> </Pedestrian> </ScenarioObject> <ScenarioObject name="pedestrian_w_transform_21256"> <Pedestrian model="walker.pedestrian.0001" mass="80" name="walker.pedestrian.0001" pedestrianCategory="pedestrian"> <ParameterDeclarations/> <BoundingBox> <Center x="1.5" y="0.0" z="0.9"/> <Dimensions width="2" length="2" height="2"/> </BoundingBox> <Properties> <Property name="type" value="simulation"/> </Properties> </Pedestrian> </ScenarioObject> <ScenarioObject name="pedestrian_w_transform_21257"> <Pedestrian model="walker.pedestrian.0001" mass="80" name="walker.pedestrian.0001" pedestrianCategory="pedestrian"> <ParameterDeclarations/> <BoundingBox> <Center x="1.5" y="0.0" z="0.9"/> <Dimensions width="2" length="2" height="2"/> </BoundingBox> <Properties> <Property name="type" value="simulation"/> </Properties> </Pedestrian> </ScenarioObject> <ScenarioObject name="pedestrian_w_transform_21258"> <Pedestrian model="walker.pedestrian.0001" mass="80" name="walker.pedestrian.0001" pedestrianCategory="pedestrian"> <ParameterDeclarations/> <BoundingBox> <Center x="1.5" y="0.0" z="0.9"/> <Dimensions width="2" length="2" height="2"/> </BoundingBox> <Properties> <Property name="type" value="simulation"/> </Properties> </Pedestrian> </ScenarioObject> <ScenarioObject name="pedestrian_close_to_adversary_21259"> <Pedestrian model="walker.pedestrian.0001" mass="80" name="walker.pedestrian.0001" pedestrianCategory="pedestrian"> <ParameterDeclarations/> <BoundingBox> <Center x="1.5" y="0.0" z="0.9"/> <Dimensions width="2" length="2" height="2"/> </BoundingBox> <Properties> <Property name="type" value="simulation"/> </Properties> </Pedestrian> </ScenarioObject> <ScenarioObject name="pedestrian_close_to_hero_21260"> <Pedestrian model="walker.pedestrian.0001" mass="80" name="walker.pedestrian.0001" pedestrianCategory="pedestrian"> <ParameterDeclarations/> <BoundingBox> <Center x="1.5" y="0.0" z="0.9"/> <Dimensions width="2" length="2" height="2"/> </BoundingBox> <Properties> <Property name="type" value="simulation"/> </Properties> </Pedestrian> </ScenarioObject> <ScenarioObject name="pedestrian_w_transform_21261"> <Pedestrian model="walker.pedestrian.0001" mass="80" name="walker.pedestrian.0001" pedestrianCategory="pedestrian"> <ParameterDeclarations/> <BoundingBox> <Center x="1.5" y="0.0" z="0.9"/> <Dimensions width="2" length="2" height="2"/> </BoundingBox> <Properties> <Property name="type" value="simulation"/> </Properties> </Pedestrian> </ScenarioObject> <ScenarioObject name="pedestrian_close_to_hero_21262"> <Pedestrian model="walker.pedestrian.0001" mass="80" name="walker.pedestrian.0001" pedestrianCategory="pedestrian"> <ParameterDeclarations/> <BoundingBox> <Center x="1.5" y="0.0" z="0.9"/> <Dimensions width="2" length="2" height="2"/> </BoundingBox> <Properties> <Property name="type" value="simulation"/> </Properties> </Pedestrian> </ScenarioObject> </Entities> <Storyboard> <Init> <Actions> <GlobalAction> <EnvironmentAction> <Environment name="Environment1"> <TimeOfDay animation="false" dateTime="2019-06-25T12:00:00"/> <Weather cloudState="free"> <Sun intensity="0.85" azimuth="0" elevation="1.31"/> <Fog visualRange="100000.0"/> <Precipitation precipitationType="dry" intensity="0.0"/> </Weather> <RoadCondition frictionScaleFactor="1.0"/> </Environment> </EnvironmentAction> </GlobalAction> <Private entityRef="hero"> <PrivateAction> <TeleportAction> <Position> <WorldPosition x="-9.4" y="-152.8" z="0.5" h="1.57079632679"/> </Position> </TeleportAction> </PrivateAction> <PrivateAction> <ControllerAction> <AssignControllerAction> <Controller name="HeroAgent"> <Properties> <Property name="module" value="external_control"/> </Properties> </Controller> </AssignControllerAction> <OverrideControllerValueAction> <Throttle value="0" active="false"/> <Brake value="0" active="false"/> <Clutch value="0" active="false"/> <ParkingBrake value="0" active="false"/> <SteeringWheel value="0" active="false"/> <Gear number="0" active="false"/> </OverrideControllerValueAction> </ControllerAction> </PrivateAction> </Private> <Private entityRef="adversary"> <PrivateAction> <TeleportAction> <Position> <WorldPosition x="-9.4" y="-71.0" z="0.5" h="1.57079632679"/> </Position> </TeleportAction> </PrivateAction> </Private> <Private entityRef="standing"> <PrivateAction> <TeleportAction> <Position> <WorldPosition x="-8.2" y="29.2" z="0.5" h="1.57079632679"/> </Position> </TeleportAction> </PrivateAction> </Private> <Private entityRef="pedestrian_close_to_hero_21245"> <PrivateAction> <TeleportAction> <Position> <WorldPosition x="-16.62484359741211" y="-152.27069091796875" z="0.0014286803780123591"/> </Position> </TeleportAction> </PrivateAction> </Private> <Private entityRef="pedestrian_close_to_standing_21246"> <PrivateAction> <TeleportAction> <Position> <WorldPosition x="-15.32859992980957" y="20.17607307434082" z="0.003063850337639451"/> </Position> </TeleportAction> </PrivateAction> </Private> <Private entityRef="pedestrian_w_transform_21247"> <PrivateAction> <TeleportAction> <Position> <WorldPosition x="-65.31803131103516" y="-0.42768990993499756" z="0.5"/> </Position> </TeleportAction> </PrivateAction> </Private> <Private entityRef="pedestrian_close_to_standing_21248"> <PrivateAction> <TeleportAction> <Position> <WorldPosition x="-10.164189338684082" y="21.3061466217041" z="0.0030965805053710938"/> </Position> </TeleportAction> </PrivateAction> </Private> <Private entityRef="pedestrian_w_transform_21249"> <PrivateAction> <TeleportAction> <Position> <WorldPosition x="-66.16831970214844" y="-80.18405151367188" z="0.5"/> </Position> </TeleportAction> </PrivateAction> </Private> <Private entityRef="pedestrian_close_to_hero_21250"> <PrivateAction> <TeleportAction> <Position> <WorldPosition x="-3.7196342945098877" y="-150.99789428710938" z="0.0014286803780123591"/> </Position> </TeleportAction> </PrivateAction> </Private> <Private entityRef="pedestrian_w_transform_21251"> <PrivateAction> <TeleportAction> <Position> <WorldPosition x="27.765012741088867" y="14.327739715576172" z="0.5"/> </Position> </TeleportAction> </PrivateAction> </Private> <Private entityRef="pedestrian_close_to_standing_21252"> <PrivateAction> <TeleportAction> <Position> <WorldPosition x="-9.09019947052002" y="38.968650817871094" z="0.003054122906178236"/> </Position> </TeleportAction> </PrivateAction> </Private> <Private entityRef="pedestrian_close_to_adversary_21253"> <PrivateAction> <TeleportAction> <Position> <WorldPosition x="-17.188735961914062" y="-69.01065826416016" z="0.03382934629917145"/> </Position> </TeleportAction> </PrivateAction> </Private> <Private entityRef="pedestrian_w_transform_21254"> <PrivateAction> <TeleportAction> <Position> <WorldPosition x="47.31914520263672" y="72.17413330078125" z="0.5"/> </Position> </TeleportAction> </PrivateAction> </Private> <Private entityRef="pedestrian_w_transform_21255"> <PrivateAction> <TeleportAction> <Position> <WorldPosition x="12.629236221313477" y="-94.89556884765625" z="0.5"/> </Position> </TeleportAction> </PrivateAction> </Private> <Private entityRef="pedestrian_w_transform_21256"> <PrivateAction> <TeleportAction> <Position> <WorldPosition x="-62.18190002441406" y="49.49654769897461" z="0.5"/> </Position> </TeleportAction> </PrivateAction> </Private> <Private entityRef="pedestrian_w_transform_21257"> <PrivateAction> <TeleportAction> <Position> <WorldPosition x="84.06773376464844" y="76.0119857788086" z="0.5"/> </Position> </TeleportAction> </PrivateAction> </Private> <Private entityRef="pedestrian_w_transform_21258"> <PrivateAction> <TeleportAction> <Position> <WorldPosition x="68.39799499511719" y="-44.719276428222656" z="0.5"/> </Position> </TeleportAction> </PrivateAction> </Private> <Private entityRef="pedestrian_close_to_adversary_21259"> <PrivateAction> <TeleportAction> <Position> <WorldPosition x="-15.581379890441895" y="-80.5667495727539" z="0.03384342044591904"/> </Position> </TeleportAction> </PrivateAction> </Private> <Private entityRef="pedestrian_close_to_hero_21260"> <PrivateAction> <TeleportAction> <Position> <WorldPosition x="-16.714797973632812" y="-146.16734313964844" z="0.0014286803780123591"/> </Position> </TeleportAction> </PrivateAction> </Private> <Private entityRef="pedestrian_w_transform_21261"> <PrivateAction> <TeleportAction> <Position> <WorldPosition x="-19.133710861206055" y="74.55682373046875" z="0.5"/> </Position> </TeleportAction> </PrivateAction> </Private> <Private entityRef="pedestrian_close_to_hero_21262"> <PrivateAction> <TeleportAction> <Position> <WorldPosition x="4.757015228271484" y="-163.0381317138672" z="0.0014286803780123591"/> </Position> </TeleportAction> </PrivateAction> </Private> </Actions> </Init> <Story name="MyStory"> <Act name="Behavior"> <ManeuverGroup maximumExecutionCount="1" name="ManeuverSequence"> <Actors selectTriggeringEntities="false"> <EntityRef entityRef="adversary"/> </Actors> <Maneuver name="LaneChangeSimpleManeuver"> <Event name="AdversaryAccelerates" priority="overwrite"> <Action name="AdversaryAccelerates"> <PrivateAction> <LongitudinalAction> <SpeedAction> <SpeedActionDynamics dynamicsShape="step" value="50" dynamicsDimension="distance"/> <SpeedActionTarget> <AbsoluteTargetSpeed value="5.0"/> </SpeedActionTarget> </SpeedAction> </LongitudinalAction> </PrivateAction> </Action> <StartTrigger> <ConditionGroup> <Condition name="StartCondition" delay="0" conditionEdge="rising"> <ByEntityCondition> <TriggeringEntities triggeringEntitiesRule="any"> <EntityRef entityRef="hero"/> </TriggeringEntities> <EntityCondition> <RelativeDistanceCondition entityRef="adversary" relativeDistanceType="cartesianDistance" value="40.0" freespace="false" rule="lessThan"/> </EntityCondition> </ByEntityCondition> </Condition> </ConditionGroup> </StartTrigger> </Event> <Event name="AdversaryChangesLane" priority="overwrite"> <Action name="AdversaryChangesLane"> <PrivateAction> <LateralAction> <LaneChangeAction> <LaneChangeActionDynamics dynamicsShape="linear" value="25" dynamicsDimension="distance"/> <LaneChangeTarget> <RelativeTargetLane entityRef="adversary" value="-1"/> </LaneChangeTarget> </LaneChangeAction> </LateralAction> </PrivateAction> </Action> <StartTrigger> <ConditionGroup> <Condition name="AfterAdversaryAccelerates" delay="0" conditionEdge="rising"> <ByValueCondition> <StoryboardElementStateCondition storyboardElementType="action" storyboardElementRef="AdversaryAccelerates" state="completeState"/> </ByValueCondition> </Condition> </ConditionGroup> </StartTrigger> </Event> </Maneuver> </ManeuverGroup> <StartTrigger> <ConditionGroup> <Condition name="OverallStartCondition" delay="0" conditionEdge="rising"> <ByEntityCondition> <TriggeringEntities triggeringEntitiesRule="any"> <EntityRef entityRef="hero"/> </TriggeringEntities> <EntityCondition> <TraveledDistanceCondition value="1.0"/> </EntityCondition> </ByEntityCondition> </Condition> <Condition name="StartTime" delay="0" conditionEdge="rising"> <ByValueCondition> <SimulationTimeCondition value="0" rule="equalTo"/> </ByValueCondition> </Condition> </ConditionGroup> </StartTrigger> <StopTrigger> <ConditionGroup> <Condition name="EndCondition" delay="0" conditionEdge="rising"> <ByEntityCondition> <TriggeringEntities triggeringEntitiesRule="any"> <EntityRef entityRef="hero"/> </TriggeringEntities> <EntityCondition> <TraveledDistanceCondition value="200.0"/> </EntityCondition> </ByEntityCondition> </Condition> </ConditionGroup> </StopTrigger> </Act> </Story> <StopTrigger> <ConditionGroup> <Condition name="criteria_RunningStopTest" delay="0" conditionEdge="rising"> <ByValueCondition> <ParameterCondition parameterRef="" value="" rule="lessThan"/> </ByValueCondition> </Condition> <Condition name="criteria_RunningRedLightTest" delay="0" conditionEdge="rising"> <ByValueCondition> <ParameterCondition parameterRef="" value="" rule="lessThan"/> </ByValueCondition> </Condition> <Condition name="criteria_WrongLaneTest" delay="0" conditionEdge="rising"> <ByValueCondition> <ParameterCondition parameterRef="" value="" rule="lessThan"/> </ByValueCondition> </Condition> <Condition name="criteria_OnSidewalkTest" delay="0" conditionEdge="rising"> <ByValueCondition> <ParameterCondition parameterRef="" value="" rule="lessThan"/> </ByValueCondition> </Condition> <Condition name="criteria_KeepLaneTest" delay="0" conditionEdge="rising"> <ByValueCondition> <ParameterCondition parameterRef="" value="" rule="lessThan"/> </ByValueCondition> </Condition> <Condition name="criteria_CollisionTest" delay="0" conditionEdge="rising"> <ByValueCondition> <ParameterCondition parameterRef="" value="" rule="lessThan"/> </ByValueCondition> </Condition> <Condition name="criteria_DrivenDistanceTest" delay="0" conditionEdge="rising"> <ByValueCondition> <ParameterCondition parameterRef="distance_success" value="100" rule="lessThan"/> </ByValueCondition> </Condition> </ConditionGroup> </StopTrigger> </Storyboard> </OpenSCENARIO> ```
Here is the result: ``` <?xml version="1.0" ?> <OpenSCENARIO> <FileHeader revMajor="1" revMinor="0" date="2020-03-24T12:00:00" description="CARLA:LaneChangeSimple" author=""/> <ParameterDeclarations/> <CatalogLocations/> <RoadNetwork> <LogicFile filepath="Town04"/> <SceneGraphFile filepath=""/> </RoadNetwork> <Entities> <ScenarioObject name="hero"> <Vehicle name="vehicle.tesla.model3" vehicleCategory="car"> <ParameterDeclarations/> <Performance maxSpeed="69.444" maxAcceleration="200" maxDeceleration="10.0"/> <BoundingBox> <Center x="1.5" y="0.0" z="0.9"/> <Dimensions width="2.1" length="4.5" height="1.8"/> </BoundingBox> <Axles> <FrontAxle maxSteering="0.5" wheelDiameter="0.6" trackWidth="1.8" positionX="3.1" positionZ="0.3"/> <RearAxle maxSteering="0.0" wheelDiameter="0.6" trackWidth="1.8" positionX="0.0" positionZ="0.3"/> </Axles> <Properties> <Property name="type" value="ego_vehicle"/> </Properties> </Vehicle> </ScenarioObject> <ScenarioObject name="adversary"> <Vehicle name="vehicle.lincoln.mkz_2017" vehicleCategory="car"> <ParameterDeclarations/> <Performance maxSpeed="69.444" maxAcceleration="200" maxDeceleration="10.0"/> <BoundingBox> <Center x="1.5" y="0.0" z="0.9"/> <Dimensions width="2.1" length="4.5" height="1.8"/> </BoundingBox> <Axles> <FrontAxle maxSteering="0.5" wheelDiameter="0.6" trackWidth="1.8" positionX="3.1" positionZ="0.3"/> <RearAxle maxSteering="0.0" wheelDiameter="0.6" trackWidth="1.8" positionX="0.0" positionZ="0.3"/> </Axles> <Properties> <Property name="type" value="simulation"/> </Properties> </Vehicle> </ScenarioObject> <ScenarioObject name="standing"> <Vehicle name="vehicle.volkswagen.t2" vehicleCategory="car"> <ParameterDeclarations/> <Performance maxSpeed="69.444" maxAcceleration="200" maxDeceleration="10.0"/> <BoundingBox> <Center x="1.5" y="0.0" z="0.9"/> <Dimensions width="2.1" length="4.5" height="1.8"/> </BoundingBox> <Axles> <FrontAxle maxSteering="0.5" wheelDiameter="0.6" trackWidth="1.8" positionX="3.1" positionZ="0.3"/> <RearAxle maxSteering="0.0" wheelDiameter="0.6" trackWidth="1.8" positionX="0.0" positionZ="0.3"/> </Axles> <Properties> <Property name="type" value="simulation"/> </Properties> </Vehicle> </ScenarioObject> <ScenarioObject name="pedestrian_close_to_hero_21245"> <Pedestrian model="walker.pedestrian.0001" mass="80" name="walker.pedestrian.0001" pedestrianCategory="pedestrian"> <ParameterDeclarations/> <BoundingBox> <Center x="1.5" y="0.0" z="0.9"/> <Dimensions width="2" length="2" height="2"/> </BoundingBox> <Properties> <Property name="type" value="simulation"/> </Properties> </Pedestrian> </ScenarioObject> <ScenarioObject name="pedestrian_close_to_standing_21246"> <Pedestrian model="walker.pedestrian.0001" mass="80" name="walker.pedestrian.0001" pedestrianCategory="pedestrian"> <ParameterDeclarations/> <BoundingBox> <Center x="1.5" y="0.0" z="0.9"/> <Dimensions width="2" length="2" height="2"/> </BoundingBox> <Properties> <Property name="type" value="simulation"/> </Properties> </Pedestrian> </ScenarioObject> <ScenarioObject name="pedestrian_w_transform_21247"> <Pedestrian model="walker.pedestrian.0001" mass="80" name="walker.pedestrian.0001" pedestrianCategory="pedestrian"> <ParameterDeclarations/> <BoundingBox> <Center x="1.5" y="0.0" z="0.9"/> <Dimensions width="2" length="2" height="2"/> </BoundingBox> <Properties> <Property name="type" value="simulation"/> </Properties> </Pedestrian> </ScenarioObject> <ScenarioObject name="pedestrian_close_to_standing_21248"> <Pedestrian model="walker.pedestrian.0001" mass="80" name="walker.pedestrian.0001" pedestrianCategory="pedestrian"> <ParameterDeclarations/> <BoundingBox> <Center x="1.5" y="0.0" z="0.9"/> <Dimensions width="2" length="2" height="2"/> </BoundingBox> <Properties> <Property name="type" value="simulation"/> </Properties> </Pedestrian> </ScenarioObject> <ScenarioObject name="pedestrian_w_transform_21249"> <Pedestrian model="walker.pedestrian.0001" mass="80" name="walker.pedestrian.0001" pedestrianCategory="pedestrian"> <ParameterDeclarations/> <BoundingBox> <Center x="1.5" y="0.0" z="0.9"/> <Dimensions width="2" length="2" height="2"/> </BoundingBox> <Properties> <Property name="type" value="simulation"/> </Properties> </Pedestrian> </ScenarioObject> <ScenarioObject name="pedestrian_close_to_hero_21250"> <Pedestrian model="walker.pedestrian.0001" mass="80" name="walker.pedestrian.0001" pedestrianCategory="pedestrian"> <ParameterDeclarations/> <BoundingBox> <Center x="1.5" y="0.0" z="0.9"/> <Dimensions width="2" length="2" height="2"/> </BoundingBox> <Properties> <Property name="type" value="simulation"/> </Properties> </Pedestrian> </ScenarioObject> <ScenarioObject name="pedestrian_w_transform_21251"> <Pedestrian model="walker.pedestrian.0001" mass="80" name="walker.pedestrian.0001" pedestrianCategory="pedestrian"> <ParameterDeclarations/> <BoundingBox> <Center x="1.5" y="0.0" z="0.9"/> <Dimensions width="2" length="2" height="2"/> </BoundingBox> <Properties> <Property name="type" value="simulation"/> </Properties> </Pedestrian> </ScenarioObject> <ScenarioObject name="pedestrian_close_to_standing_21252"> <Pedestrian model="walker.pedestrian.0001" mass="80" name="walker.pedestrian.0001" pedestrianCategory="pedestrian"> <ParameterDeclarations/> <BoundingBox> <Center x="1.5" y="0.0" z="0.9"/> <Dimensions width="2" length="2" height="2"/> </BoundingBox> <Properties> <Property name="type" value="simulation"/> </Properties> </Pedestrian> </ScenarioObject> <ScenarioObject name="pedestrian_close_to_adversary_21253"> <Pedestrian model="walker.pedestrian.0001" mass="80" name="walker.pedestrian.0001" pedestrianCategory="pedestrian"> <ParameterDeclarations/> <BoundingBox> <Center x="1.5" y="0.0" z="0.9"/> <Dimensions width="2" length="2" height="2"/> </BoundingBox> <Properties> <Property name="type" value="simulation"/> </Properties> </Pedestrian> </ScenarioObject> <ScenarioObject name="pedestrian_w_transform_21254"> <Pedestrian model="walker.pedestrian.0001" mass="80" name="walker.pedestrian.0001" pedestrianCategory="pedestrian"> <ParameterDeclarations/> <BoundingBox> <Center x="1.5" y="0.0" z="0.9"/> <Dimensions width="2" length="2" height="2"/> </BoundingBox> <Properties> <Property name="type" value="simulation"/> </Properties> </Pedestrian> </ScenarioObject> <ScenarioObject name="pedestrian_w_transform_21255"> <Pedestrian model="walker.pedestrian.0001" mass="80" name="walker.pedestrian.0001" pedestrianCategory="pedestrian"> <ParameterDeclarations/> <BoundingBox> <Center x="1.5" y="0.0" z="0.9"/> <Dimensions width="2" length="2" height="2"/> </BoundingBox> <Properties> <Property name="type" value="simulation"/> </Properties> </Pedestrian> </ScenarioObject> <ScenarioObject name="pedestrian_w_transform_21256"> <Pedestrian model="walker.pedestrian.0001" mass="80" name="walker.pedestrian.0001" pedestrianCategory="pedestrian"> <ParameterDeclarations/> <BoundingBox> <Center x="1.5" y="0.0" z="0.9"/> <Dimensions width="2" length="2" height="2"/> </BoundingBox> <Properties> <Property name="type" value="simulation"/> </Properties> </Pedestrian> </ScenarioObject> <ScenarioObject name="pedestrian_w_transform_21257"> <Pedestrian model="walker.pedestrian.0001" mass="80" name="walker.pedestrian.0001" pedestrianCategory="pedestrian"> <ParameterDeclarations/> <BoundingBox> <Center x="1.5" y="0.0" z="0.9"/> <Dimensions width="2" length="2" height="2"/> </BoundingBox> <Properties> <Property name="type" value="simulation"/> </Properties> </Pedestrian> </ScenarioObject> <ScenarioObject name="pedestrian_w_transform_21258"> <Pedestrian model="walker.pedestrian.0001" mass="80" name="walker.pedestrian.0001" pedestrianCategory="pedestrian"> <ParameterDeclarations/> <BoundingBox> <Center x="1.5" y="0.0" z="0.9"/> <Dimensions width="2" length="2" height="2"/> </BoundingBox> <Properties> <Property name="type" value="simulation"/> </Properties> </Pedestrian> </ScenarioObject> <ScenarioObject name="pedestrian_close_to_adversary_21259"> <Pedestrian model="walker.pedestrian.0001" mass="80" name="walker.pedestrian.0001" pedestrianCategory="pedestrian"> <ParameterDeclarations/> <BoundingBox> <Center x="1.5" y="0.0" z="0.9"/> <Dimensions width="2" length="2" height="2"/> </BoundingBox> <Properties> <Property name="type" value="simulation"/> </Properties> </Pedestrian> </ScenarioObject> <ScenarioObject name="pedestrian_close_to_hero_21260"> <Pedestrian model="walker.pedestrian.0001" mass="80" name="walker.pedestrian.0001" pedestrianCategory="pedestrian"> <ParameterDeclarations/> <BoundingBox> <Center x="1.5" y="0.0" z="0.9"/> <Dimensions width="2" length="2" height="2"/> </BoundingBox> <Properties> <Property name="type" value="simulation"/> </Properties> </Pedestrian> </ScenarioObject> <ScenarioObject name="pedestrian_w_transform_21261"> <Pedestrian model="walker.pedestrian.0001" mass="80" name="walker.pedestrian.0001" pedestrianCategory="pedestrian"> <ParameterDeclarations/> <BoundingBox> <Center x="1.5" y="0.0" z="0.9"/> <Dimensions width="2" length="2" height="2"/> </BoundingBox> <Properties> <Property name="type" value="simulation"/> </Properties> </Pedestrian> </ScenarioObject> <ScenarioObject name="pedestrian_close_to_hero_21262"> <Pedestrian model="walker.pedestrian.0001" mass="80" name="walker.pedestrian.0001" pedestrianCategory="pedestrian"> <ParameterDeclarations/> <BoundingBox> <Center x="1.5" y="0.0" z="0.9"/> <Dimensions width="2" length="2" height="2"/> </BoundingBox> <Properties> <Property name="type" value="simulation"/> </Properties> </Pedestrian> </ScenarioObject> <ScenarioObject name="pedestrian_close_to_standing_21263"> <Pedestrian model="walker.pedestrian.0001" mass="80" name="walker.pedestrian.0001" pedestrianCategory="pedestrian"> <ParameterDeclarations/> <BoundingBox> <Center x="1.5" y="0.0" z="0.9"/> <Dimensions width="2" length="2" height="2"/> </BoundingBox> <Properties> <Property name="type" value="simulation"/> </Properties> </Pedestrian> </ScenarioObject> </Entities> <Storyboard> <Init> <Actions> <GlobalAction> <EnvironmentAction> <Environment name="Environment1"> <TimeOfDay animation="false" dateTime="2019-06-25T12:00:00"/> <Weather cloudState="free"> <Sun intensity="0.85" azimuth="0" elevation="1.31"/> <Fog visualRange="100000.0"/> <Precipitation precipitationType="dry" intensity="0.0"/> </Weather> <RoadCondition frictionScaleFactor="1.0"/> </Environment> </EnvironmentAction> </GlobalAction> <Private entityRef="hero"> <PrivateAction> <TeleportAction> <Position> <WorldPosition x="-9.4" y="-152.8" z="0.5" h="1.57079632679"/> </Position> </TeleportAction> </PrivateAction> <PrivateAction> <ControllerAction> <AssignControllerAction> <Controller name="HeroAgent"> <Properties> <Property name="module" value="external_control"/> </Properties> </Controller> </AssignControllerAction> <OverrideControllerValueAction> <Throttle value="0" active="false"/> <Brake value="0" active="false"/> <Clutch value="0" active="false"/> <ParkingBrake value="0" active="false"/> <SteeringWheel value="0" active="false"/> <Gear number="0" active="false"/> </OverrideControllerValueAction> </ControllerAction> </PrivateAction> </Private> <Private entityRef="adversary"> <PrivateAction> <TeleportAction> <Position> <WorldPosition x="-9.4" y="-71.0" z="0.5" h="1.57079632679"/> </Position> </TeleportAction> </PrivateAction> </Private> <Private entityRef="standing"> <PrivateAction> <TeleportAction> <Position> <WorldPosition x="-8.2" y="29.2" z="0.5" h="1.57079632679"/> </Position> </TeleportAction> </PrivateAction> </Private> <Private entityRef="pedestrian_close_to_hero_21245"> <PrivateAction> <TeleportAction> <Position> <WorldPosition x="-16.62484359741211" y="-152.27069091796875" z="0.0014286803780123591"/> </Position> </TeleportAction> </PrivateAction> </Private> <Private entityRef="pedestrian_close_to_standing_21246"> <PrivateAction> <TeleportAction> <Position> <WorldPosition x="-15.32859992980957" y="20.17607307434082" z="0.003063850337639451"/> </Position> </TeleportAction> </PrivateAction> </Private> <Private entityRef="pedestrian_w_transform_21247"> <PrivateAction> <TeleportAction> <Position> <WorldPosition x="-65.31803131103516" y="-0.42768990993499756" z="0.5"/> </Position> </TeleportAction> </PrivateAction> </Private> <Private entityRef="pedestrian_close_to_standing_21248"> <PrivateAction> <TeleportAction> <Position> <WorldPosition x="-10.164189338684082" y="21.3061466217041" z="0.0030965805053710938"/> </Position> </TeleportAction> </PrivateAction> </Private> <Private entityRef="pedestrian_w_transform_21249"> <PrivateAction> <TeleportAction> <Position> <WorldPosition x="-66.16831970214844" y="-80.18405151367188" z="0.5"/> </Position> </TeleportAction> </PrivateAction> </Private> <Private entityRef="pedestrian_close_to_hero_21250"> <PrivateAction> <TeleportAction> <Position> <WorldPosition x="-3.7196342945098877" y="-150.99789428710938" z="0.0014286803780123591"/> </Position> </TeleportAction> </PrivateAction> </Private> <Private entityRef="pedestrian_w_transform_21251"> <PrivateAction> <TeleportAction> <Position> <WorldPosition x="27.765012741088867" y="14.327739715576172" z="0.5"/> </Position> </TeleportAction> </PrivateAction> </Private> <Private entityRef="pedestrian_close_to_standing_21252"> <PrivateAction> <TeleportAction> <Position> <WorldPosition x="-9.09019947052002" y="38.968650817871094" z="0.003054122906178236"/> </Position> </TeleportAction> </PrivateAction> </Private> <Private entityRef="pedestrian_close_to_adversary_21253"> <PrivateAction> <TeleportAction> <Position> <WorldPosition x="-17.188735961914062" y="-69.01065826416016" z="0.03382934629917145"/> </Position> </TeleportAction> </PrivateAction> </Private> <Private entityRef="pedestrian_w_transform_21254"> <PrivateAction> <TeleportAction> <Position> <WorldPosition x="47.31914520263672" y="72.17413330078125" z="0.5"/> </Position> </TeleportAction> </PrivateAction> </Private> <Private entityRef="pedestrian_w_transform_21255"> <PrivateAction> <TeleportAction> <Position> <WorldPosition x="12.629236221313477" y="-94.89556884765625" z="0.5"/> </Position> </TeleportAction> </PrivateAction> </Private> <Private entityRef="pedestrian_w_transform_21256"> <PrivateAction> <TeleportAction> <Position> <WorldPosition x="-62.18190002441406" y="49.49654769897461" z="0.5"/> </Position> </TeleportAction> </PrivateAction> </Private> <Private entityRef="pedestrian_w_transform_21257"> <PrivateAction> <TeleportAction> <Position> <WorldPosition x="84.06773376464844" y="76.0119857788086" z="0.5"/> </Position> </TeleportAction> </PrivateAction> </Private> <Private entityRef="pedestrian_w_transform_21258"> <PrivateAction> <TeleportAction> <Position> <WorldPosition x="68.39799499511719" y="-44.719276428222656" z="0.5"/> </Position> </TeleportAction> </PrivateAction> </Private> <Private entityRef="pedestrian_close_to_adversary_21259"> <PrivateAction> <TeleportAction> <Position> <WorldPosition x="-15.581379890441895" y="-80.5667495727539" z="0.03384342044591904"/> </Position> </TeleportAction> </PrivateAction> </Private> <Private entityRef="pedestrian_close_to_hero_21260"> <PrivateAction> <TeleportAction> <Position> <WorldPosition x="-16.714797973632812" y="-146.16734313964844" z="0.0014286803780123591"/> </Position> </TeleportAction> </PrivateAction> </Private> <Private entityRef="pedestrian_w_transform_21261"> <PrivateAction> <TeleportAction> <Position> <WorldPosition x="-19.133710861206055" y="74.55682373046875" z="0.5"/> </Position> </TeleportAction> </PrivateAction> </Private> <Private entityRef="pedestrian_close_to_hero_21262"> <PrivateAction> <TeleportAction> <Position> <WorldPosition x="4.757015228271484" y="-163.0381317138672" z="0.0014286803780123591"/> </Position> </TeleportAction> </PrivateAction> </Private> <Private entityRef="pedestrian_close_to_standing_21263"> <PrivateAction> <TeleportAction> <Position> <WorldPosition x="-5.8342108726501465" y="27.260696411132812" z="0.0030574798583984375"/> </Position> </TeleportAction> </PrivateAction> </Private> </Actions> </Init> <Story name="MyStory"> <Act name="Behavior"> <ManeuverGroup maximumExecutionCount="1" name="ManeuverSequence"> <Actors selectTriggeringEntities="false"> <EntityRef entityRef="adversary"/> </Actors> <Maneuver name="LaneChangeSimpleManeuver"> <Event name="AdversaryAccelerates" priority="overwrite"> <Action name="AdversaryAccelerates"> <PrivateAction> <LongitudinalAction> <SpeedAction> <SpeedActionDynamics dynamicsShape="step" value="50" dynamicsDimension="distance"/> <SpeedActionTarget> <AbsoluteTargetSpeed value="5.0"/> </SpeedActionTarget> </SpeedAction> </LongitudinalAction> </PrivateAction> </Action> <StartTrigger> <ConditionGroup> <Condition name="StartCondition" delay="0" conditionEdge="rising"> <ByEntityCondition> <TriggeringEntities triggeringEntitiesRule="any"> <EntityRef entityRef="hero"/> </TriggeringEntities> <EntityCondition> <RelativeDistanceCondition entityRef="adversary" relativeDistanceType="cartesianDistance" value="40.0" freespace="false" rule="lessThan"/> </EntityCondition> </ByEntityCondition> </Condition> </ConditionGroup> </StartTrigger> </Event> <Event name="AdversaryChangesLane" priority="overwrite"> <Action name="AdversaryChangesLane"> <PrivateAction> <LateralAction> <LaneChangeAction> <LaneChangeActionDynamics dynamicsShape="linear" value="25" dynamicsDimension="distance"/> <LaneChangeTarget> <RelativeTargetLane entityRef="adversary" value="-1"/> </LaneChangeTarget> </LaneChangeAction> </LateralAction> </PrivateAction> </Action> <StartTrigger> <ConditionGroup> <Condition name="AfterAdversaryAccelerates" delay="0" conditionEdge="rising"> <ByValueCondition> <StoryboardElementStateCondition storyboardElementType="action" storyboardElementRef="AdversaryAccelerates" state="completeState"/> </ByValueCondition> </Condition> </ConditionGroup> </StartTrigger> </Event> </Maneuver> </ManeuverGroup> <StartTrigger> <ConditionGroup> <Condition name="OverallStartCondition" delay="0" conditionEdge="rising"> <ByEntityCondition> <TriggeringEntities triggeringEntitiesRule="any"> <EntityRef entityRef="hero"/> </TriggeringEntities> <EntityCondition> <TraveledDistanceCondition value="1.0"/> </EntityCondition> </ByEntityCondition> </Condition> <Condition name="StartTime" delay="0" conditionEdge="rising"> <ByValueCondition> <SimulationTimeCondition value="0" rule="equalTo"/> </ByValueCondition> </Condition> </ConditionGroup> </StartTrigger> <StopTrigger> <ConditionGroup> <Condition name="EndCondition" delay="0" conditionEdge="rising"> <ByEntityCondition> <TriggeringEntities triggeringEntitiesRule="any"> <EntityRef entityRef="hero"/> </TriggeringEntities> <EntityCondition> <TraveledDistanceCondition value="200.0"/> </EntityCondition> </ByEntityCondition> </Condition> </ConditionGroup> </StopTrigger> </Act> </Story> <StopTrigger> <ConditionGroup> <Condition name="criteria_RunningStopTest" delay="0" conditionEdge="rising"> <ByValueCondition> <ParameterCondition parameterRef="" value="" rule="lessThan"/> </ByValueCondition> </Condition> <Condition name="criteria_RunningRedLightTest" delay="0" conditionEdge="rising"> <ByValueCondition> <ParameterCondition parameterRef="" value="" rule="lessThan"/> </ByValueCondition> </Condition> <Condition name="criteria_WrongLaneTest" delay="0" conditionEdge="rising"> <ByValueCondition> <ParameterCondition parameterRef="" value="" rule="lessThan"/> </ByValueCondition> </Condition> <Condition name="criteria_OnSidewalkTest" delay="0" conditionEdge="rising"> <ByValueCondition> <ParameterCondition parameterRef="" value="" rule="lessThan"/> </ByValueCondition> </Condition> <Condition name="criteria_KeepLaneTest" delay="0" conditionEdge="rising"> <ByValueCondition> <ParameterCondition parameterRef="" value="" rule="lessThan"/> </ByValueCondition> </Condition> <Condition name="criteria_CollisionTest" delay="0" conditionEdge="rising"> <ByValueCondition> <ParameterCondition parameterRef="" value="" rule="lessThan"/> </ByValueCondition> </Condition> <Condition name="criteria_DrivenDistanceTest" delay="0" conditionEdge="rising"> <ByValueCondition> <ParameterCondition parameterRef="distance_success" value="100" rule="lessThan"/> </ByValueCondition> </Condition> </ConditionGroup> </StopTrigger> </Storyboard> </OpenSCENARIO> ```
i would like to guide you to add pedestrian at location (29.76, 58.51, 0.5)? ``` <?xml version="1.0" ?> <OpenSCENARIO> <FileHeader revMajor="1" revMinor="0" date="2020-03-24T12:00:00" description="CARLA:LaneChangeSimple" author=""/> <ParameterDeclarations/> <CatalogLocations/> <RoadNetwork> <LogicFile filepath="Town04"/> <SceneGraphFile filepath=""/> </RoadNetwork> <Entities> <ScenarioObject name="hero"> <Vehicle name="vehicle.tesla.model3" vehicleCategory="car"> <ParameterDeclarations/> <Performance maxSpeed="69.444" maxAcceleration="200" maxDeceleration="10.0"/> <BoundingBox> <Center x="1.5" y="0.0" z="0.9"/> <Dimensions width="2.1" length="4.5" height="1.8"/> </BoundingBox> <Axles> <FrontAxle maxSteering="0.5" wheelDiameter="0.6" trackWidth="1.8" positionX="3.1" positionZ="0.3"/> <RearAxle maxSteering="0.0" wheelDiameter="0.6" trackWidth="1.8" positionX="0.0" positionZ="0.3"/> </Axles> <Properties> <Property name="type" value="ego_vehicle"/> </Properties> </Vehicle> </ScenarioObject> <ScenarioObject name="adversary"> <Vehicle name="vehicle.lincoln.mkz_2017" vehicleCategory="car"> <ParameterDeclarations/> <Performance maxSpeed="69.444" maxAcceleration="200" maxDeceleration="10.0"/> <BoundingBox> <Center x="1.5" y="0.0" z="0.9"/> <Dimensions width="2.1" length="4.5" height="1.8"/> </BoundingBox> <Axles> <FrontAxle maxSteering="0.5" wheelDiameter="0.6" trackWidth="1.8" positionX="3.1" positionZ="0.3"/> <RearAxle maxSteering="0.0" wheelDiameter="0.6" trackWidth="1.8" positionX="0.0" positionZ="0.3"/> </Axles> <Properties> <Property name="type" value="simulation"/> </Properties> </Vehicle> </ScenarioObject> <ScenarioObject name="standing"> <Vehicle name="vehicle.volkswagen.t2" vehicleCategory="car"> <ParameterDeclarations/> <Performance maxSpeed="69.444" maxAcceleration="200" maxDeceleration="10.0"/> <BoundingBox> <Center x="1.5" y="0.0" z="0.9"/> <Dimensions width="2.1" length="4.5" height="1.8"/> </BoundingBox> <Axles> <FrontAxle maxSteering="0.5" wheelDiameter="0.6" trackWidth="1.8" positionX="3.1" positionZ="0.3"/> <RearAxle maxSteering="0.0" wheelDiameter="0.6" trackWidth="1.8" positionX="0.0" positionZ="0.3"/> </Axles> <Properties> <Property name="type" value="simulation"/> </Properties> </Vehicle> </ScenarioObject> <ScenarioObject name="pedestrian_close_to_hero_17167"> <Pedestrian model="walker.pedestrian.0001" mass="80" name="walker.pedestrian.0001" pedestrianCategory="pedestrian"> <ParameterDeclarations/> <BoundingBox> <Center x="1.5" y="0.0" z="0.9"/> <Dimensions width="2" length="2" height="2"/> </BoundingBox> <Properties> <Property name="type" value="simulation"/> </Properties> </Pedestrian> </ScenarioObject> <ScenarioObject name="pedestrian_close_to_standing_17168"> <Pedestrian model="walker.pedestrian.0001" mass="80" name="walker.pedestrian.0001" pedestrianCategory="pedestrian"> <ParameterDeclarations/> <BoundingBox> <Center x="1.5" y="0.0" z="0.9"/> <Dimensions width="2" length="2" height="2"/> </BoundingBox> <Properties> <Property name="type" value="simulation"/> </Properties> </Pedestrian> </ScenarioObject> <ScenarioObject name="pedestrian_close_to_adversary_17169"> <Pedestrian model="walker.pedestrian.0001" mass="80" name="walker.pedestrian.0001" pedestrianCategory="pedestrian"> <ParameterDeclarations/> <BoundingBox> <Center x="1.5" y="0.0" z="0.9"/> <Dimensions width="2" length="2" height="2"/> </BoundingBox> <Properties> <Property name="type" value="simulation"/> </Properties> </Pedestrian> </ScenarioObject> <ScenarioObject name="pedestrian_w_transform_17170"> <Pedestrian model="walker.pedestrian.0001" mass="80" name="walker.pedestrian.0001" pedestrianCategory="pedestrian"> <ParameterDeclarations/> <BoundingBox> <Center x="1.5" y="0.0" z="0.9"/> <Dimensions width="2" length="2" height="2"/> </BoundingBox> <Properties> <Property name="type" value="simulation"/> </Properties> </Pedestrian> </ScenarioObject> <ScenarioObject name="pedestrian_close_to_adversary_17171"> <Pedestrian model="walker.pedestrian.0001" mass="80" name="walker.pedestrian.0001" pedestrianCategory="pedestrian"> <ParameterDeclarations/> <BoundingBox> <Center x="1.5" y="0.0" z="0.9"/> <Dimensions width="2" length="2" height="2"/> </BoundingBox> <Properties> <Property name="type" value="simulation"/> </Properties> </Pedestrian> </ScenarioObject> <ScenarioObject name="pedestrian_w_transform_17172"> <Pedestrian model="walker.pedestrian.0001" mass="80" name="walker.pedestrian.0001" pedestrianCategory="pedestrian"> <ParameterDeclarations/> <BoundingBox> <Center x="1.5" y="0.0" z="0.9"/> <Dimensions width="2" length="2" height="2"/> </BoundingBox> <Properties> <Property name="type" value="simulation"/> </Properties> </Pedestrian> </ScenarioObject> <ScenarioObject name="pedestrian_close_to_standing_17173"> <Pedestrian model="walker.pedestrian.0001" mass="80" name="walker.pedestrian.0001" pedestrianCategory="pedestrian"> <ParameterDeclarations/> <BoundingBox> <Center x="1.5" y="0.0" z="0.9"/> <Dimensions width="2" length="2" height="2"/> </BoundingBox> <Properties> <Property name="type" value="simulation"/> </Properties> </Pedestrian> </ScenarioObject> </Entities> <Storyboard> <Init> <Actions> <GlobalAction> <EnvironmentAction> <Environment name="Environment1"> <TimeOfDay animation="false" dateTime="2019-06-25T12:00:00"/> <Weather cloudState="free"> <Sun intensity="0.85" azimuth="0" elevation="1.31"/> <Fog visualRange="100000.0"/> <Precipitation precipitationType="dry" intensity="0.0"/> </Weather> <RoadCondition frictionScaleFactor="1.0"/> </Environment> </EnvironmentAction> </GlobalAction> <Private entityRef="hero"> <PrivateAction> <TeleportAction> <Position> <WorldPosition x="-9.4" y="-152.8" z="0.5" h="1.57079632679"/> </Position> </TeleportAction> </PrivateAction> <PrivateAction> <ControllerAction> <AssignControllerAction> <Controller name="HeroAgent"> <Properties> <Property name="module" value="external_control"/> </Properties> </Controller> </AssignControllerAction> <OverrideControllerValueAction> <Throttle value="0" active="false"/> <Brake value="0" active="false"/> <Clutch value="0" active="false"/> <ParkingBrake value="0" active="false"/> <SteeringWheel value="0" active="false"/> <Gear number="0" active="false"/> </OverrideControllerValueAction> </ControllerAction> </PrivateAction> </Private> <Private entityRef="adversary"> <PrivateAction> <TeleportAction> <Position> <WorldPosition x="-9.4" y="-71.0" z="0.5" h="1.57079632679"/> </Position> </TeleportAction> </PrivateAction> </Private> <Private entityRef="standing"> <PrivateAction> <TeleportAction> <Position> <WorldPosition x="-8.2" y="29.2" z="0.5" h="1.57079632679"/> </Position> </TeleportAction> </PrivateAction> </Private> <Private entityRef="pedestrian_close_to_hero_17167"> <PrivateAction> <TeleportAction> <Position> <WorldPosition x="-5.13878870010376" y="-161.44558715820312" z="0.0014286803780123591"/> </Position> </TeleportAction> </PrivateAction> </Private> <Private entityRef="pedestrian_close_to_standing_17168"> <PrivateAction> <TeleportAction> <Position> <WorldPosition x="-2.3626224994659424" y="25.179182052612305" z="0.0030314635951071978"/> </Position> </TeleportAction> </PrivateAction> </Private> <Private entityRef="pedestrian_close_to_adversary_17169"> <PrivateAction> <TeleportAction> <Position> <WorldPosition x="-15.892876625061035" y="-69.8821792602539" z="0.033816106617450714"/> </Position> </TeleportAction> </PrivateAction> </Private> <Private entityRef="pedestrian_w_transform_17170"> <PrivateAction> <TeleportAction> <Position> <WorldPosition x="-77.47218322753906" y="20.731618881225586" z="0.5"/> </Position> </TeleportAction> </PrivateAction> </Private> <Private entityRef="pedestrian_close_to_adversary_17171"> <PrivateAction> <TeleportAction> <Position> <WorldPosition x="-9.447009086608887" y="-65.03599548339844" z="0.03377128392457962"/> </Position> </TeleportAction> </PrivateAction> </Private> <Private entityRef="pedestrian_w_transform_17172"> <PrivateAction> <TeleportAction> <Position> <WorldPosition x="-87.35868835449219" y="10.974936485290527" z="0.5"/> </Position> </TeleportAction> </PrivateAction> </Private> <Private entityRef="pedestrian_close_to_standing_17173"> <PrivateAction> <TeleportAction> <Position> <WorldPosition x="-12.790728569030762" y="26.270551681518555" z="0.0030665588565170765"/> </Position> </TeleportAction> </PrivateAction> </Private> </Actions> </Init> <Story name="MyStory"> <Act name="Behavior"> <ManeuverGroup maximumExecutionCount="1" name="ManeuverSequence"> <Actors selectTriggeringEntities="false"> <EntityRef entityRef="adversary"/> </Actors> <Maneuver name="LaneChangeSimpleManeuver"> <Event name="AdversaryAccelerates" priority="overwrite"> <Action name="AdversaryAccelerates"> <PrivateAction> <LongitudinalAction> <SpeedAction> <SpeedActionDynamics dynamicsShape="step" value="50" dynamicsDimension="distance"/> <SpeedActionTarget> <AbsoluteTargetSpeed value="5.0"/> </SpeedActionTarget> </SpeedAction> </LongitudinalAction> </PrivateAction> </Action> <StartTrigger> <ConditionGroup> <Condition name="StartCondition" delay="0" conditionEdge="rising"> <ByEntityCondition> <TriggeringEntities triggeringEntitiesRule="any"> <EntityRef entityRef="hero"/> </TriggeringEntities> <EntityCondition> <RelativeDistanceCondition entityRef="adversary" relativeDistanceType="cartesianDistance" value="40.0" freespace="false" rule="lessThan"/> </EntityCondition> </ByEntityCondition> </Condition> </ConditionGroup> </StartTrigger> </Event> <Event name="AdversaryChangesLane" priority="overwrite"> <Action name="AdversaryChangesLane"> <PrivateAction> <LateralAction> <LaneChangeAction> <LaneChangeActionDynamics dynamicsShape="linear" value="25" dynamicsDimension="distance"/> <LaneChangeTarget> <RelativeTargetLane entityRef="adversary" value="-1"/> </LaneChangeTarget> </LaneChangeAction> </LateralAction> </PrivateAction> </Action> <StartTrigger> <ConditionGroup> <Condition name="AfterAdversaryAccelerates" delay="0" conditionEdge="rising"> <ByValueCondition> <StoryboardElementStateCondition storyboardElementType="action" storyboardElementRef="AdversaryAccelerates" state="completeState"/> </ByValueCondition> </Condition> </ConditionGroup> </StartTrigger> </Event> </Maneuver> </ManeuverGroup> <StartTrigger> <ConditionGroup> <Condition name="OverallStartCondition" delay="0" conditionEdge="rising"> <ByEntityCondition> <TriggeringEntities triggeringEntitiesRule="any"> <EntityRef entityRef="hero"/> </TriggeringEntities> <EntityCondition> <TraveledDistanceCondition value="1.0"/> </EntityCondition> </ByEntityCondition> </Condition> <Condition name="StartTime" delay="0" conditionEdge="rising"> <ByValueCondition> <SimulationTimeCondition value="0" rule="equalTo"/> </ByValueCondition> </Condition> </ConditionGroup> </StartTrigger> <StopTrigger> <ConditionGroup> <Condition name="EndCondition" delay="0" conditionEdge="rising"> <ByEntityCondition> <TriggeringEntities triggeringEntitiesRule="any"> <EntityRef entityRef="hero"/> </TriggeringEntities> <EntityCondition> <TraveledDistanceCondition value="200.0"/> </EntityCondition> </ByEntityCondition> </Condition> </ConditionGroup> </StopTrigger> </Act> </Story> <StopTrigger> <ConditionGroup> <Condition name="criteria_RunningStopTest" delay="0" conditionEdge="rising"> <ByValueCondition> <ParameterCondition parameterRef="" value="" rule="lessThan"/> </ByValueCondition> </Condition> <Condition name="criteria_RunningRedLightTest" delay="0" conditionEdge="rising"> <ByValueCondition> <ParameterCondition parameterRef="" value="" rule="lessThan"/> </ByValueCondition> </Condition> <Condition name="criteria_WrongLaneTest" delay="0" conditionEdge="rising"> <ByValueCondition> <ParameterCondition parameterRef="" value="" rule="lessThan"/> </ByValueCondition> </Condition> <Condition name="criteria_OnSidewalkTest" delay="0" conditionEdge="rising"> <ByValueCondition> <ParameterCondition parameterRef="" value="" rule="lessThan"/> </ByValueCondition> </Condition> <Condition name="criteria_KeepLaneTest" delay="0" conditionEdge="rising"> <ByValueCondition> <ParameterCondition parameterRef="" value="" rule="lessThan"/> </ByValueCondition> </Condition> <Condition name="criteria_CollisionTest" delay="0" conditionEdge="rising"> <ByValueCondition> <ParameterCondition parameterRef="" value="" rule="lessThan"/> </ByValueCondition> </Condition> <Condition name="criteria_DrivenDistanceTest" delay="0" conditionEdge="rising"> <ByValueCondition> <ParameterCondition parameterRef="distance_success" value="100" rule="lessThan"/> </ByValueCondition> </Condition> </ConditionGroup> </StopTrigger> </Storyboard> </OpenSCENARIO> ```
Here is the result: ``` <?xml version="1.0" ?> <OpenSCENARIO> <FileHeader revMajor="1" revMinor="0" date="2020-03-24T12:00:00" description="CARLA:LaneChangeSimple" author=""/> <ParameterDeclarations/> <CatalogLocations/> <RoadNetwork> <LogicFile filepath="Town04"/> <SceneGraphFile filepath=""/> </RoadNetwork> <Entities> <ScenarioObject name="hero"> <Vehicle name="vehicle.tesla.model3" vehicleCategory="car"> <ParameterDeclarations/> <Performance maxSpeed="69.444" maxAcceleration="200" maxDeceleration="10.0"/> <BoundingBox> <Center x="1.5" y="0.0" z="0.9"/> <Dimensions width="2.1" length="4.5" height="1.8"/> </BoundingBox> <Axles> <FrontAxle maxSteering="0.5" wheelDiameter="0.6" trackWidth="1.8" positionX="3.1" positionZ="0.3"/> <RearAxle maxSteering="0.0" wheelDiameter="0.6" trackWidth="1.8" positionX="0.0" positionZ="0.3"/> </Axles> <Properties> <Property name="type" value="ego_vehicle"/> </Properties> </Vehicle> </ScenarioObject> <ScenarioObject name="adversary"> <Vehicle name="vehicle.lincoln.mkz_2017" vehicleCategory="car"> <ParameterDeclarations/> <Performance maxSpeed="69.444" maxAcceleration="200" maxDeceleration="10.0"/> <BoundingBox> <Center x="1.5" y="0.0" z="0.9"/> <Dimensions width="2.1" length="4.5" height="1.8"/> </BoundingBox> <Axles> <FrontAxle maxSteering="0.5" wheelDiameter="0.6" trackWidth="1.8" positionX="3.1" positionZ="0.3"/> <RearAxle maxSteering="0.0" wheelDiameter="0.6" trackWidth="1.8" positionX="0.0" positionZ="0.3"/> </Axles> <Properties> <Property name="type" value="simulation"/> </Properties> </Vehicle> </ScenarioObject> <ScenarioObject name="standing"> <Vehicle name="vehicle.volkswagen.t2" vehicleCategory="car"> <ParameterDeclarations/> <Performance maxSpeed="69.444" maxAcceleration="200" maxDeceleration="10.0"/> <BoundingBox> <Center x="1.5" y="0.0" z="0.9"/> <Dimensions width="2.1" length="4.5" height="1.8"/> </BoundingBox> <Axles> <FrontAxle maxSteering="0.5" wheelDiameter="0.6" trackWidth="1.8" positionX="3.1" positionZ="0.3"/> <RearAxle maxSteering="0.0" wheelDiameter="0.6" trackWidth="1.8" positionX="0.0" positionZ="0.3"/> </Axles> <Properties> <Property name="type" value="simulation"/> </Properties> </Vehicle> </ScenarioObject> <ScenarioObject name="pedestrian_close_to_hero_17167"> <Pedestrian model="walker.pedestrian.0001" mass="80" name="walker.pedestrian.0001" pedestrianCategory="pedestrian"> <ParameterDeclarations/> <BoundingBox> <Center x="1.5" y="0.0" z="0.9"/> <Dimensions width="2" length="2" height="2"/> </BoundingBox> <Properties> <Property name="type" value="simulation"/> </Properties> </Pedestrian> </ScenarioObject> <ScenarioObject name="pedestrian_close_to_standing_17168"> <Pedestrian model="walker.pedestrian.0001" mass="80" name="walker.pedestrian.0001" pedestrianCategory="pedestrian"> <ParameterDeclarations/> <BoundingBox> <Center x="1.5" y="0.0" z="0.9"/> <Dimensions width="2" length="2" height="2"/> </BoundingBox> <Properties> <Property name="type" value="simulation"/> </Properties> </Pedestrian> </ScenarioObject> <ScenarioObject name="pedestrian_close_to_adversary_17169"> <Pedestrian model="walker.pedestrian.0001" mass="80" name="walker.pedestrian.0001" pedestrianCategory="pedestrian"> <ParameterDeclarations/> <BoundingBox> <Center x="1.5" y="0.0" z="0.9"/> <Dimensions width="2" length="2" height="2"/> </BoundingBox> <Properties> <Property name="type" value="simulation"/> </Properties> </Pedestrian> </ScenarioObject> <ScenarioObject name="pedestrian_w_transform_17170"> <Pedestrian model="walker.pedestrian.0001" mass="80" name="walker.pedestrian.0001" pedestrianCategory="pedestrian"> <ParameterDeclarations/> <BoundingBox> <Center x="1.5" y="0.0" z="0.9"/> <Dimensions width="2" length="2" height="2"/> </BoundingBox> <Properties> <Property name="type" value="simulation"/> </Properties> </Pedestrian> </ScenarioObject> <ScenarioObject name="pedestrian_close_to_adversary_17171"> <Pedestrian model="walker.pedestrian.0001" mass="80" name="walker.pedestrian.0001" pedestrianCategory="pedestrian"> <ParameterDeclarations/> <BoundingBox> <Center x="1.5" y="0.0" z="0.9"/> <Dimensions width="2" length="2" height="2"/> </BoundingBox> <Properties> <Property name="type" value="simulation"/> </Properties> </Pedestrian> </ScenarioObject> <ScenarioObject name="pedestrian_w_transform_17172"> <Pedestrian model="walker.pedestrian.0001" mass="80" name="walker.pedestrian.0001" pedestrianCategory="pedestrian"> <ParameterDeclarations/> <BoundingBox> <Center x="1.5" y="0.0" z="0.9"/> <Dimensions width="2" length="2" height="2"/> </BoundingBox> <Properties> <Property name="type" value="simulation"/> </Properties> </Pedestrian> </ScenarioObject> <ScenarioObject name="pedestrian_close_to_standing_17173"> <Pedestrian model="walker.pedestrian.0001" mass="80" name="walker.pedestrian.0001" pedestrianCategory="pedestrian"> <ParameterDeclarations/> <BoundingBox> <Center x="1.5" y="0.0" z="0.9"/> <Dimensions width="2" length="2" height="2"/> </BoundingBox> <Properties> <Property name="type" value="simulation"/> </Properties> </Pedestrian> </ScenarioObject> <ScenarioObject name="pedestrian_w_transform_17174"> <Pedestrian model="walker.pedestrian.0001" mass="80" name="walker.pedestrian.0001" pedestrianCategory="pedestrian"> <ParameterDeclarations/> <BoundingBox> <Center x="1.5" y="0.0" z="0.9"/> <Dimensions width="2" length="2" height="2"/> </BoundingBox> <Properties> <Property name="type" value="simulation"/> </Properties> </Pedestrian> </ScenarioObject> </Entities> <Storyboard> <Init> <Actions> <GlobalAction> <EnvironmentAction> <Environment name="Environment1"> <TimeOfDay animation="false" dateTime="2019-06-25T12:00:00"/> <Weather cloudState="free"> <Sun intensity="0.85" azimuth="0" elevation="1.31"/> <Fog visualRange="100000.0"/> <Precipitation precipitationType="dry" intensity="0.0"/> </Weather> <RoadCondition frictionScaleFactor="1.0"/> </Environment> </EnvironmentAction> </GlobalAction> <Private entityRef="hero"> <PrivateAction> <TeleportAction> <Position> <WorldPosition x="-9.4" y="-152.8" z="0.5" h="1.57079632679"/> </Position> </TeleportAction> </PrivateAction> <PrivateAction> <ControllerAction> <AssignControllerAction> <Controller name="HeroAgent"> <Properties> <Property name="module" value="external_control"/> </Properties> </Controller> </AssignControllerAction> <OverrideControllerValueAction> <Throttle value="0" active="false"/> <Brake value="0" active="false"/> <Clutch value="0" active="false"/> <ParkingBrake value="0" active="false"/> <SteeringWheel value="0" active="false"/> <Gear number="0" active="false"/> </OverrideControllerValueAction> </ControllerAction> </PrivateAction> </Private> <Private entityRef="adversary"> <PrivateAction> <TeleportAction> <Position> <WorldPosition x="-9.4" y="-71.0" z="0.5" h="1.57079632679"/> </Position> </TeleportAction> </PrivateAction> </Private> <Private entityRef="standing"> <PrivateAction> <TeleportAction> <Position> <WorldPosition x="-8.2" y="29.2" z="0.5" h="1.57079632679"/> </Position> </TeleportAction> </PrivateAction> </Private> <Private entityRef="pedestrian_close_to_hero_17167"> <PrivateAction> <TeleportAction> <Position> <WorldPosition x="-5.13878870010376" y="-161.44558715820312" z="0.0014286803780123591"/> </Position> </TeleportAction> </PrivateAction> </Private> <Private entityRef="pedestrian_close_to_standing_17168"> <PrivateAction> <TeleportAction> <Position> <WorldPosition x="-2.3626224994659424" y="25.179182052612305" z="0.0030314635951071978"/> </Position> </TeleportAction> </PrivateAction> </Private> <Private entityRef="pedestrian_close_to_adversary_17169"> <PrivateAction> <TeleportAction> <Position> <WorldPosition x="-15.892876625061035" y="-69.8821792602539" z="0.033816106617450714"/> </Position> </TeleportAction> </PrivateAction> </Private> <Private entityRef="pedestrian_w_transform_17170"> <PrivateAction> <TeleportAction> <Position> <WorldPosition x="-77.47218322753906" y="20.731618881225586" z="0.5"/> </Position> </TeleportAction> </PrivateAction> </Private> <Private entityRef="pedestrian_close_to_adversary_17171"> <PrivateAction> <TeleportAction> <Position> <WorldPosition x="-9.447009086608887" y="-65.03599548339844" z="0.03377128392457962"/> </Position> </TeleportAction> </PrivateAction> </Private> <Private entityRef="pedestrian_w_transform_17172"> <PrivateAction> <TeleportAction> <Position> <WorldPosition x="-87.35868835449219" y="10.974936485290527" z="0.5"/> </Position> </TeleportAction> </PrivateAction> </Private> <Private entityRef="pedestrian_close_to_standing_17173"> <PrivateAction> <TeleportAction> <Position> <WorldPosition x="-12.790728569030762" y="26.270551681518555" z="0.0030665588565170765"/> </Position> </TeleportAction> </PrivateAction> </Private> <Private entityRef="pedestrian_w_transform_17174"> <PrivateAction> <TeleportAction> <Position> <WorldPosition x="29.763076782226562" y="58.50606155395508" z="0.5"/> </Position> </TeleportAction> </PrivateAction> </Private> </Actions> </Init> <Story name="MyStory"> <Act name="Behavior"> <ManeuverGroup maximumExecutionCount="1" name="ManeuverSequence"> <Actors selectTriggeringEntities="false"> <EntityRef entityRef="adversary"/> </Actors> <Maneuver name="LaneChangeSimpleManeuver"> <Event name="AdversaryAccelerates" priority="overwrite"> <Action name="AdversaryAccelerates"> <PrivateAction> <LongitudinalAction> <SpeedAction> <SpeedActionDynamics dynamicsShape="step" value="50" dynamicsDimension="distance"/> <SpeedActionTarget> <AbsoluteTargetSpeed value="5.0"/> </SpeedActionTarget> </SpeedAction> </LongitudinalAction> </PrivateAction> </Action> <StartTrigger> <ConditionGroup> <Condition name="StartCondition" delay="0" conditionEdge="rising"> <ByEntityCondition> <TriggeringEntities triggeringEntitiesRule="any"> <EntityRef entityRef="hero"/> </TriggeringEntities> <EntityCondition> <RelativeDistanceCondition entityRef="adversary" relativeDistanceType="cartesianDistance" value="40.0" freespace="false" rule="lessThan"/> </EntityCondition> </ByEntityCondition> </Condition> </ConditionGroup> </StartTrigger> </Event> <Event name="AdversaryChangesLane" priority="overwrite"> <Action name="AdversaryChangesLane"> <PrivateAction> <LateralAction> <LaneChangeAction> <LaneChangeActionDynamics dynamicsShape="linear" value="25" dynamicsDimension="distance"/> <LaneChangeTarget> <RelativeTargetLane entityRef="adversary" value="-1"/> </LaneChangeTarget> </LaneChangeAction> </LateralAction> </PrivateAction> </Action> <StartTrigger> <ConditionGroup> <Condition name="AfterAdversaryAccelerates" delay="0" conditionEdge="rising"> <ByValueCondition> <StoryboardElementStateCondition storyboardElementType="action" storyboardElementRef="AdversaryAccelerates" state="completeState"/> </ByValueCondition> </Condition> </ConditionGroup> </StartTrigger> </Event> </Maneuver> </ManeuverGroup> <StartTrigger> <ConditionGroup> <Condition name="OverallStartCondition" delay="0" conditionEdge="rising"> <ByEntityCondition> <TriggeringEntities triggeringEntitiesRule="any"> <EntityRef entityRef="hero"/> </TriggeringEntities> <EntityCondition> <TraveledDistanceCondition value="1.0"/> </EntityCondition> </ByEntityCondition> </Condition> <Condition name="StartTime" delay="0" conditionEdge="rising"> <ByValueCondition> <SimulationTimeCondition value="0" rule="equalTo"/> </ByValueCondition> </Condition> </ConditionGroup> </StartTrigger> <StopTrigger> <ConditionGroup> <Condition name="EndCondition" delay="0" conditionEdge="rising"> <ByEntityCondition> <TriggeringEntities triggeringEntitiesRule="any"> <EntityRef entityRef="hero"/> </TriggeringEntities> <EntityCondition> <TraveledDistanceCondition value="200.0"/> </EntityCondition> </ByEntityCondition> </Condition> </ConditionGroup> </StopTrigger> </Act> </Story> <StopTrigger> <ConditionGroup> <Condition name="criteria_RunningStopTest" delay="0" conditionEdge="rising"> <ByValueCondition> <ParameterCondition parameterRef="" value="" rule="lessThan"/> </ByValueCondition> </Condition> <Condition name="criteria_RunningRedLightTest" delay="0" conditionEdge="rising"> <ByValueCondition> <ParameterCondition parameterRef="" value="" rule="lessThan"/> </ByValueCondition> </Condition> <Condition name="criteria_WrongLaneTest" delay="0" conditionEdge="rising"> <ByValueCondition> <ParameterCondition parameterRef="" value="" rule="lessThan"/> </ByValueCondition> </Condition> <Condition name="criteria_OnSidewalkTest" delay="0" conditionEdge="rising"> <ByValueCondition> <ParameterCondition parameterRef="" value="" rule="lessThan"/> </ByValueCondition> </Condition> <Condition name="criteria_KeepLaneTest" delay="0" conditionEdge="rising"> <ByValueCondition> <ParameterCondition parameterRef="" value="" rule="lessThan"/> </ByValueCondition> </Condition> <Condition name="criteria_CollisionTest" delay="0" conditionEdge="rising"> <ByValueCondition> <ParameterCondition parameterRef="" value="" rule="lessThan"/> </ByValueCondition> </Condition> <Condition name="criteria_DrivenDistanceTest" delay="0" conditionEdge="rising"> <ByValueCondition> <ParameterCondition parameterRef="distance_success" value="100" rule="lessThan"/> </ByValueCondition> </Condition> </ConditionGroup> </StopTrigger> </Storyboard> </OpenSCENARIO> ```
i need you to remove pedestrian actor named pedestrian_close_to_standing_3365? ``` <?xml version="1.0" ?> <OpenSCENARIO> <FileHeader revMajor="1" revMinor="0" date="2020-03-24T12:00:00" description="CARLA:LaneChangeSimple" author=""/> <ParameterDeclarations/> <CatalogLocations/> <RoadNetwork> <LogicFile filepath="Town04"/> <SceneGraphFile filepath=""/> </RoadNetwork> <Entities> <ScenarioObject name="hero"> <Vehicle name="vehicle.tesla.model3" vehicleCategory="car"> <ParameterDeclarations/> <Performance maxSpeed="69.444" maxAcceleration="200" maxDeceleration="10.0"/> <BoundingBox> <Center x="1.5" y="0.0" z="0.9"/> <Dimensions width="2.1" length="4.5" height="1.8"/> </BoundingBox> <Axles> <FrontAxle maxSteering="0.5" wheelDiameter="0.6" trackWidth="1.8" positionX="3.1" positionZ="0.3"/> <RearAxle maxSteering="0.0" wheelDiameter="0.6" trackWidth="1.8" positionX="0.0" positionZ="0.3"/> </Axles> <Properties> <Property name="type" value="ego_vehicle"/> </Properties> </Vehicle> </ScenarioObject> <ScenarioObject name="adversary"> <Vehicle name="vehicle.lincoln.mkz_2017" vehicleCategory="car"> <ParameterDeclarations/> <Performance maxSpeed="69.444" maxAcceleration="200" maxDeceleration="10.0"/> <BoundingBox> <Center x="1.5" y="0.0" z="0.9"/> <Dimensions width="2.1" length="4.5" height="1.8"/> </BoundingBox> <Axles> <FrontAxle maxSteering="0.5" wheelDiameter="0.6" trackWidth="1.8" positionX="3.1" positionZ="0.3"/> <RearAxle maxSteering="0.0" wheelDiameter="0.6" trackWidth="1.8" positionX="0.0" positionZ="0.3"/> </Axles> <Properties> <Property name="type" value="simulation"/> </Properties> </Vehicle> </ScenarioObject> <ScenarioObject name="standing"> <Vehicle name="vehicle.volkswagen.t2" vehicleCategory="car"> <ParameterDeclarations/> <Performance maxSpeed="69.444" maxAcceleration="200" maxDeceleration="10.0"/> <BoundingBox> <Center x="1.5" y="0.0" z="0.9"/> <Dimensions width="2.1" length="4.5" height="1.8"/> </BoundingBox> <Axles> <FrontAxle maxSteering="0.5" wheelDiameter="0.6" trackWidth="1.8" positionX="3.1" positionZ="0.3"/> <RearAxle maxSteering="0.0" wheelDiameter="0.6" trackWidth="1.8" positionX="0.0" positionZ="0.3"/> </Axles> <Properties> <Property name="type" value="simulation"/> </Properties> </Vehicle> </ScenarioObject> <ScenarioObject name="pedestrian_close_to_standing_3361"> <Pedestrian model="walker.pedestrian.0001" mass="80" name="walker.pedestrian.0001" pedestrianCategory="pedestrian"> <ParameterDeclarations/> <BoundingBox> <Center x="1.5" y="0.0" z="0.9"/> <Dimensions width="2" length="2" height="2"/> </BoundingBox> <Properties> <Property name="type" value="simulation"/> </Properties> </Pedestrian> </ScenarioObject> <ScenarioObject name="pedestrian_w_transform_3362"> <Pedestrian model="walker.pedestrian.0001" mass="80" name="walker.pedestrian.0001" pedestrianCategory="pedestrian"> <ParameterDeclarations/> <BoundingBox> <Center x="1.5" y="0.0" z="0.9"/> <Dimensions width="2" length="2" height="2"/> </BoundingBox> <Properties> <Property name="type" value="simulation"/> </Properties> </Pedestrian> </ScenarioObject> <ScenarioObject name="pedestrian_close_to_standing_3364"> <Pedestrian model="walker.pedestrian.0001" mass="80" name="walker.pedestrian.0001" pedestrianCategory="pedestrian"> <ParameterDeclarations/> <BoundingBox> <Center x="1.5" y="0.0" z="0.9"/> <Dimensions width="2" length="2" height="2"/> </BoundingBox> <Properties> <Property name="type" value="simulation"/> </Properties> </Pedestrian> </ScenarioObject> <ScenarioObject name="pedestrian_close_to_standing_3365"> <Pedestrian model="walker.pedestrian.0001" mass="80" name="walker.pedestrian.0001" pedestrianCategory="pedestrian"> <ParameterDeclarations/> <BoundingBox> <Center x="1.5" y="0.0" z="0.9"/> <Dimensions width="2" length="2" height="2"/> </BoundingBox> <Properties> <Property name="type" value="simulation"/> </Properties> </Pedestrian> </ScenarioObject> <ScenarioObject name="pedestrian_close_to_standing_3366"> <Pedestrian model="walker.pedestrian.0001" mass="80" name="walker.pedestrian.0001" pedestrianCategory="pedestrian"> <ParameterDeclarations/> <BoundingBox> <Center x="1.5" y="0.0" z="0.9"/> <Dimensions width="2" length="2" height="2"/> </BoundingBox> <Properties> <Property name="type" value="simulation"/> </Properties> </Pedestrian> </ScenarioObject> <ScenarioObject name="pedestrian_close_to_standing_3368"> <Pedestrian model="walker.pedestrian.0001" mass="80" name="walker.pedestrian.0001" pedestrianCategory="pedestrian"> <ParameterDeclarations/> <BoundingBox> <Center x="1.5" y="0.0" z="0.9"/> <Dimensions width="2" length="2" height="2"/> </BoundingBox> <Properties> <Property name="type" value="simulation"/> </Properties> </Pedestrian> </ScenarioObject> <ScenarioObject name="pedestrian_w_transform_3369"> <Pedestrian model="walker.pedestrian.0001" mass="80" name="walker.pedestrian.0001" pedestrianCategory="pedestrian"> <ParameterDeclarations/> <BoundingBox> <Center x="1.5" y="0.0" z="0.9"/> <Dimensions width="2" length="2" height="2"/> </BoundingBox> <Properties> <Property name="type" value="simulation"/> </Properties> </Pedestrian> </ScenarioObject> <ScenarioObject name="pedestrian_w_transform_3370"> <Pedestrian model="walker.pedestrian.0001" mass="80" name="walker.pedestrian.0001" pedestrianCategory="pedestrian"> <ParameterDeclarations/> <BoundingBox> <Center x="1.5" y="0.0" z="0.9"/> <Dimensions width="2" length="2" height="2"/> </BoundingBox> <Properties> <Property name="type" value="simulation"/> </Properties> </Pedestrian> </ScenarioObject> <ScenarioObject name="pedestrian_w_transform_3371"> <Pedestrian model="walker.pedestrian.0001" mass="80" name="walker.pedestrian.0001" pedestrianCategory="pedestrian"> <ParameterDeclarations/> <BoundingBox> <Center x="1.5" y="0.0" z="0.9"/> <Dimensions width="2" length="2" height="2"/> </BoundingBox> <Properties> <Property name="type" value="simulation"/> </Properties> </Pedestrian> </ScenarioObject> <ScenarioObject name="pedestrian_close_to_standing_3375"> <Pedestrian model="walker.pedestrian.0001" mass="80" name="walker.pedestrian.0001" pedestrianCategory="pedestrian"> <ParameterDeclarations/> <BoundingBox> <Center x="1.5" y="0.0" z="0.9"/> <Dimensions width="2" length="2" height="2"/> </BoundingBox> <Properties> <Property name="type" value="simulation"/> </Properties> </Pedestrian> </ScenarioObject> <ScenarioObject name="pedestrian_close_to_standing_3376"> <Pedestrian model="walker.pedestrian.0001" mass="80" name="walker.pedestrian.0001" pedestrianCategory="pedestrian"> <ParameterDeclarations/> <BoundingBox> <Center x="1.5" y="0.0" z="0.9"/> <Dimensions width="2" length="2" height="2"/> </BoundingBox> <Properties> <Property name="type" value="simulation"/> </Properties> </Pedestrian> </ScenarioObject> <ScenarioObject name="pedestrian_close_to_standing_3377"> <Pedestrian model="walker.pedestrian.0001" mass="80" name="walker.pedestrian.0001" pedestrianCategory="pedestrian"> <ParameterDeclarations/> <BoundingBox> <Center x="1.5" y="0.0" z="0.9"/> <Dimensions width="2" length="2" height="2"/> </BoundingBox> <Properties> <Property name="type" value="simulation"/> </Properties> </Pedestrian> </ScenarioObject> </Entities> <Storyboard> <Init> <Actions> <GlobalAction> <EnvironmentAction> <Environment name="Environment1"> <TimeOfDay animation="false" dateTime="2019-06-25T12:00:00"/> <Weather cloudState="free"> <Sun intensity="0.85" azimuth="0" elevation="1.31"/> <Fog visualRange="100000.0"/> <Precipitation precipitationType="dry" intensity="0.0"/> </Weather> <RoadCondition frictionScaleFactor="1.0"/> </Environment> </EnvironmentAction> </GlobalAction> <Private entityRef="hero"> <PrivateAction> <TeleportAction> <Position> <WorldPosition x="-9.4" y="-152.8" z="0.5" h="1.57079632679"/> </Position> </TeleportAction> </PrivateAction> <PrivateAction> <ControllerAction> <AssignControllerAction> <Controller name="HeroAgent"> <Properties> <Property name="module" value="external_control"/> </Properties> </Controller> </AssignControllerAction> <OverrideControllerValueAction> <Throttle value="0" active="false"/> <Brake value="0" active="false"/> <Clutch value="0" active="false"/> <ParkingBrake value="0" active="false"/> <SteeringWheel value="0" active="false"/> <Gear number="0" active="false"/> </OverrideControllerValueAction> </ControllerAction> </PrivateAction> </Private> <Private entityRef="adversary"> <PrivateAction> <TeleportAction> <Position> <WorldPosition x="-9.4" y="-71.0" z="0.5" h="1.57079632679"/> </Position> </TeleportAction> </PrivateAction> </Private> <Private entityRef="standing"> <PrivateAction> <TeleportAction> <Position> <WorldPosition x="-8.2" y="29.2" z="0.5" h="1.57079632679"/> </Position> </TeleportAction> </PrivateAction> </Private> <Private entityRef="pedestrian_close_to_standing_3361"> <PrivateAction> <TeleportAction> <Position> <WorldPosition x="-15.615845680236816" y="38.52350997924805" z="0.00304412841796875"/> </Position> </TeleportAction> </PrivateAction> </Private> <Private entityRef="pedestrian_w_transform_3362"> <PrivateAction> <TeleportAction> <Position> <WorldPosition x="34.216712951660156" y="-6.89963436126709" z="0.5"/> </Position> </TeleportAction> </PrivateAction> </Private> <Private entityRef="pedestrian_close_to_standing_3364"> <PrivateAction> <TeleportAction> <Position> <WorldPosition x="-13.007133483886719" y="36.92377853393555" z="0.0030540083535015583"/> </Position> </TeleportAction> </PrivateAction> </Private> <Private entityRef="pedestrian_close_to_standing_3365"> <PrivateAction> <TeleportAction> <Position> <WorldPosition x="-8.704306602478027" y="22.14383888244629" z="0.0030418012756854296"/> </Position> </TeleportAction> </PrivateAction> </Private> <Private entityRef="pedestrian_close_to_standing_3366"> <PrivateAction> <TeleportAction> <Position> <WorldPosition x="-14.88916301727295" y="33.51082992553711" z="0.0030428695026785135"/> </Position> </TeleportAction> </PrivateAction> </Private> <Private entityRef="pedestrian_close_to_standing_3368"> <PrivateAction> <TeleportAction> <Position> <WorldPosition x="1.0131511688232422" y="29.154726028442383" z="0.003040962154045701"/> </Position> </TeleportAction> </PrivateAction> </Private> <Private entityRef="pedestrian_w_transform_3369"> <PrivateAction> <TeleportAction> <Position> <WorldPosition x="63.62738037109375" y="92.22660064697266" z="0.5"/> </Position> </TeleportAction> </PrivateAction> </Private> <Private entityRef="pedestrian_w_transform_3370"> <PrivateAction> <TeleportAction> <Position> <WorldPosition x="-71.02729797363281" y="89.11495971679688" z="0.5"/> </Position> </TeleportAction> </PrivateAction> </Private> <Private entityRef="pedestrian_w_transform_3371"> <PrivateAction> <TeleportAction> <Position> <WorldPosition x="-56.62437057495117" y="73.44317626953125" z="0.5"/> </Position> </TeleportAction> </PrivateAction> </Private> <Private entityRef="pedestrian_close_to_standing_3375"> <PrivateAction> <TeleportAction> <Position> <WorldPosition x="-3.7351746559143066" y="30.273366928100586" z="0.00302684772759676"/> </Position> </TeleportAction> </PrivateAction> </Private> <Private entityRef="pedestrian_close_to_standing_3376"> <PrivateAction> <TeleportAction> <Position> <WorldPosition x="-11.116610527038574" y="22.969804763793945" z="0.003043022006750107"/> </Position> </TeleportAction> </PrivateAction> </Private> <Private entityRef="pedestrian_close_to_standing_3377"> <PrivateAction> <TeleportAction> <Position> <WorldPosition x="-6.434802532196045" y="35.791011810302734" z="0.003046874888241291"/> </Position> </TeleportAction> </PrivateAction> </Private> </Actions> </Init> <Story name="MyStory"> <Act name="Behavior"> <ManeuverGroup maximumExecutionCount="1" name="ManeuverSequence"> <Actors selectTriggeringEntities="false"> <EntityRef entityRef="adversary"/> </Actors> <Maneuver name="LaneChangeSimpleManeuver"> <Event name="AdversaryAccelerates" priority="overwrite"> <Action name="AdversaryAccelerates"> <PrivateAction> <LongitudinalAction> <SpeedAction> <SpeedActionDynamics dynamicsShape="step" value="50" dynamicsDimension="distance"/> <SpeedActionTarget> <AbsoluteTargetSpeed value="5.0"/> </SpeedActionTarget> </SpeedAction> </LongitudinalAction> </PrivateAction> </Action> <StartTrigger> <ConditionGroup> <Condition name="StartCondition" delay="0" conditionEdge="rising"> <ByEntityCondition> <TriggeringEntities triggeringEntitiesRule="any"> <EntityRef entityRef="hero"/> </TriggeringEntities> <EntityCondition> <RelativeDistanceCondition entityRef="adversary" relativeDistanceType="cartesianDistance" value="40.0" freespace="false" rule="lessThan"/> </EntityCondition> </ByEntityCondition> </Condition> </ConditionGroup> </StartTrigger> </Event> <Event name="AdversaryChangesLane" priority="overwrite"> <Action name="AdversaryChangesLane"> <PrivateAction> <LateralAction> <LaneChangeAction> <LaneChangeActionDynamics dynamicsShape="linear" value="25" dynamicsDimension="distance"/> <LaneChangeTarget> <RelativeTargetLane entityRef="adversary" value="-1"/> </LaneChangeTarget> </LaneChangeAction> </LateralAction> </PrivateAction> </Action> <StartTrigger> <ConditionGroup> <Condition name="AfterAdversaryAccelerates" delay="0" conditionEdge="rising"> <ByValueCondition> <StoryboardElementStateCondition storyboardElementType="action" storyboardElementRef="AdversaryAccelerates" state="completeState"/> </ByValueCondition> </Condition> </ConditionGroup> </StartTrigger> </Event> </Maneuver> </ManeuverGroup> <StartTrigger> <ConditionGroup> <Condition name="OverallStartCondition" delay="0" conditionEdge="rising"> <ByEntityCondition> <TriggeringEntities triggeringEntitiesRule="any"> <EntityRef entityRef="hero"/> </TriggeringEntities> <EntityCondition> <TraveledDistanceCondition value="1.0"/> </EntityCondition> </ByEntityCondition> </Condition> <Condition name="StartTime" delay="0" conditionEdge="rising"> <ByValueCondition> <SimulationTimeCondition value="0" rule="equalTo"/> </ByValueCondition> </Condition> </ConditionGroup> </StartTrigger> <StopTrigger> <ConditionGroup> <Condition name="EndCondition" delay="0" conditionEdge="rising"> <ByEntityCondition> <TriggeringEntities triggeringEntitiesRule="any"> <EntityRef entityRef="hero"/> </TriggeringEntities> <EntityCondition> <TraveledDistanceCondition value="200.0"/> </EntityCondition> </ByEntityCondition> </Condition> </ConditionGroup> </StopTrigger> </Act> </Story> <StopTrigger> <ConditionGroup> <Condition name="criteria_RunningStopTest" delay="0" conditionEdge="rising"> <ByValueCondition> <ParameterCondition parameterRef="" value="" rule="lessThan"/> </ByValueCondition> </Condition> <Condition name="criteria_RunningRedLightTest" delay="0" conditionEdge="rising"> <ByValueCondition> <ParameterCondition parameterRef="" value="" rule="lessThan"/> </ByValueCondition> </Condition> <Condition name="criteria_WrongLaneTest" delay="0" conditionEdge="rising"> <ByValueCondition> <ParameterCondition parameterRef="" value="" rule="lessThan"/> </ByValueCondition> </Condition> <Condition name="criteria_OnSidewalkTest" delay="0" conditionEdge="rising"> <ByValueCondition> <ParameterCondition parameterRef="" value="" rule="lessThan"/> </ByValueCondition> </Condition> <Condition name="criteria_KeepLaneTest" delay="0" conditionEdge="rising"> <ByValueCondition> <ParameterCondition parameterRef="" value="" rule="lessThan"/> </ByValueCondition> </Condition> <Condition name="criteria_CollisionTest" delay="0" conditionEdge="rising"> <ByValueCondition> <ParameterCondition parameterRef="" value="" rule="lessThan"/> </ByValueCondition> </Condition> <Condition name="criteria_DrivenDistanceTest" delay="0" conditionEdge="rising"> <ByValueCondition> <ParameterCondition parameterRef="distance_success" value="100" rule="lessThan"/> </ByValueCondition> </Condition> </ConditionGroup> </StopTrigger> </Storyboard> </OpenSCENARIO> ```
Here is the result: ``` <?xml version="1.0" ?> <OpenSCENARIO> <FileHeader revMajor="1" revMinor="0" date="2020-03-24T12:00:00" description="CARLA:LaneChangeSimple" author=""/> <ParameterDeclarations/> <CatalogLocations/> <RoadNetwork> <LogicFile filepath="Town04"/> <SceneGraphFile filepath=""/> </RoadNetwork> <Entities> <ScenarioObject name="hero"> <Vehicle name="vehicle.tesla.model3" vehicleCategory="car"> <ParameterDeclarations/> <Performance maxSpeed="69.444" maxAcceleration="200" maxDeceleration="10.0"/> <BoundingBox> <Center x="1.5" y="0.0" z="0.9"/> <Dimensions width="2.1" length="4.5" height="1.8"/> </BoundingBox> <Axles> <FrontAxle maxSteering="0.5" wheelDiameter="0.6" trackWidth="1.8" positionX="3.1" positionZ="0.3"/> <RearAxle maxSteering="0.0" wheelDiameter="0.6" trackWidth="1.8" positionX="0.0" positionZ="0.3"/> </Axles> <Properties> <Property name="type" value="ego_vehicle"/> </Properties> </Vehicle> </ScenarioObject> <ScenarioObject name="adversary"> <Vehicle name="vehicle.lincoln.mkz_2017" vehicleCategory="car"> <ParameterDeclarations/> <Performance maxSpeed="69.444" maxAcceleration="200" maxDeceleration="10.0"/> <BoundingBox> <Center x="1.5" y="0.0" z="0.9"/> <Dimensions width="2.1" length="4.5" height="1.8"/> </BoundingBox> <Axles> <FrontAxle maxSteering="0.5" wheelDiameter="0.6" trackWidth="1.8" positionX="3.1" positionZ="0.3"/> <RearAxle maxSteering="0.0" wheelDiameter="0.6" trackWidth="1.8" positionX="0.0" positionZ="0.3"/> </Axles> <Properties> <Property name="type" value="simulation"/> </Properties> </Vehicle> </ScenarioObject> <ScenarioObject name="standing"> <Vehicle name="vehicle.volkswagen.t2" vehicleCategory="car"> <ParameterDeclarations/> <Performance maxSpeed="69.444" maxAcceleration="200" maxDeceleration="10.0"/> <BoundingBox> <Center x="1.5" y="0.0" z="0.9"/> <Dimensions width="2.1" length="4.5" height="1.8"/> </BoundingBox> <Axles> <FrontAxle maxSteering="0.5" wheelDiameter="0.6" trackWidth="1.8" positionX="3.1" positionZ="0.3"/> <RearAxle maxSteering="0.0" wheelDiameter="0.6" trackWidth="1.8" positionX="0.0" positionZ="0.3"/> </Axles> <Properties> <Property name="type" value="simulation"/> </Properties> </Vehicle> </ScenarioObject> <ScenarioObject name="pedestrian_close_to_standing_3361"> <Pedestrian model="walker.pedestrian.0001" mass="80" name="walker.pedestrian.0001" pedestrianCategory="pedestrian"> <ParameterDeclarations/> <BoundingBox> <Center x="1.5" y="0.0" z="0.9"/> <Dimensions width="2" length="2" height="2"/> </BoundingBox> <Properties> <Property name="type" value="simulation"/> </Properties> </Pedestrian> </ScenarioObject> <ScenarioObject name="pedestrian_w_transform_3362"> <Pedestrian model="walker.pedestrian.0001" mass="80" name="walker.pedestrian.0001" pedestrianCategory="pedestrian"> <ParameterDeclarations/> <BoundingBox> <Center x="1.5" y="0.0" z="0.9"/> <Dimensions width="2" length="2" height="2"/> </BoundingBox> <Properties> <Property name="type" value="simulation"/> </Properties> </Pedestrian> </ScenarioObject> <ScenarioObject name="pedestrian_close_to_standing_3364"> <Pedestrian model="walker.pedestrian.0001" mass="80" name="walker.pedestrian.0001" pedestrianCategory="pedestrian"> <ParameterDeclarations/> <BoundingBox> <Center x="1.5" y="0.0" z="0.9"/> <Dimensions width="2" length="2" height="2"/> </BoundingBox> <Properties> <Property name="type" value="simulation"/> </Properties> </Pedestrian> </ScenarioObject> <ScenarioObject name="pedestrian_close_to_standing_3366"> <Pedestrian model="walker.pedestrian.0001" mass="80" name="walker.pedestrian.0001" pedestrianCategory="pedestrian"> <ParameterDeclarations/> <BoundingBox> <Center x="1.5" y="0.0" z="0.9"/> <Dimensions width="2" length="2" height="2"/> </BoundingBox> <Properties> <Property name="type" value="simulation"/> </Properties> </Pedestrian> </ScenarioObject> <ScenarioObject name="pedestrian_close_to_standing_3368"> <Pedestrian model="walker.pedestrian.0001" mass="80" name="walker.pedestrian.0001" pedestrianCategory="pedestrian"> <ParameterDeclarations/> <BoundingBox> <Center x="1.5" y="0.0" z="0.9"/> <Dimensions width="2" length="2" height="2"/> </BoundingBox> <Properties> <Property name="type" value="simulation"/> </Properties> </Pedestrian> </ScenarioObject> <ScenarioObject name="pedestrian_w_transform_3369"> <Pedestrian model="walker.pedestrian.0001" mass="80" name="walker.pedestrian.0001" pedestrianCategory="pedestrian"> <ParameterDeclarations/> <BoundingBox> <Center x="1.5" y="0.0" z="0.9"/> <Dimensions width="2" length="2" height="2"/> </BoundingBox> <Properties> <Property name="type" value="simulation"/> </Properties> </Pedestrian> </ScenarioObject> <ScenarioObject name="pedestrian_w_transform_3370"> <Pedestrian model="walker.pedestrian.0001" mass="80" name="walker.pedestrian.0001" pedestrianCategory="pedestrian"> <ParameterDeclarations/> <BoundingBox> <Center x="1.5" y="0.0" z="0.9"/> <Dimensions width="2" length="2" height="2"/> </BoundingBox> <Properties> <Property name="type" value="simulation"/> </Properties> </Pedestrian> </ScenarioObject> <ScenarioObject name="pedestrian_w_transform_3371"> <Pedestrian model="walker.pedestrian.0001" mass="80" name="walker.pedestrian.0001" pedestrianCategory="pedestrian"> <ParameterDeclarations/> <BoundingBox> <Center x="1.5" y="0.0" z="0.9"/> <Dimensions width="2" length="2" height="2"/> </BoundingBox> <Properties> <Property name="type" value="simulation"/> </Properties> </Pedestrian> </ScenarioObject> <ScenarioObject name="pedestrian_close_to_standing_3375"> <Pedestrian model="walker.pedestrian.0001" mass="80" name="walker.pedestrian.0001" pedestrianCategory="pedestrian"> <ParameterDeclarations/> <BoundingBox> <Center x="1.5" y="0.0" z="0.9"/> <Dimensions width="2" length="2" height="2"/> </BoundingBox> <Properties> <Property name="type" value="simulation"/> </Properties> </Pedestrian> </ScenarioObject> <ScenarioObject name="pedestrian_close_to_standing_3376"> <Pedestrian model="walker.pedestrian.0001" mass="80" name="walker.pedestrian.0001" pedestrianCategory="pedestrian"> <ParameterDeclarations/> <BoundingBox> <Center x="1.5" y="0.0" z="0.9"/> <Dimensions width="2" length="2" height="2"/> </BoundingBox> <Properties> <Property name="type" value="simulation"/> </Properties> </Pedestrian> </ScenarioObject> <ScenarioObject name="pedestrian_close_to_standing_3377"> <Pedestrian model="walker.pedestrian.0001" mass="80" name="walker.pedestrian.0001" pedestrianCategory="pedestrian"> <ParameterDeclarations/> <BoundingBox> <Center x="1.5" y="0.0" z="0.9"/> <Dimensions width="2" length="2" height="2"/> </BoundingBox> <Properties> <Property name="type" value="simulation"/> </Properties> </Pedestrian> </ScenarioObject> </Entities> <Storyboard> <Init> <Actions> <GlobalAction> <EnvironmentAction> <Environment name="Environment1"> <TimeOfDay animation="false" dateTime="2019-06-25T12:00:00"/> <Weather cloudState="free"> <Sun intensity="0.85" azimuth="0" elevation="1.31"/> <Fog visualRange="100000.0"/> <Precipitation precipitationType="dry" intensity="0.0"/> </Weather> <RoadCondition frictionScaleFactor="1.0"/> </Environment> </EnvironmentAction> </GlobalAction> <Private entityRef="hero"> <PrivateAction> <TeleportAction> <Position> <WorldPosition x="-9.4" y="-152.8" z="0.5" h="1.57079632679"/> </Position> </TeleportAction> </PrivateAction> <PrivateAction> <ControllerAction> <AssignControllerAction> <Controller name="HeroAgent"> <Properties> <Property name="module" value="external_control"/> </Properties> </Controller> </AssignControllerAction> <OverrideControllerValueAction> <Throttle value="0" active="false"/> <Brake value="0" active="false"/> <Clutch value="0" active="false"/> <ParkingBrake value="0" active="false"/> <SteeringWheel value="0" active="false"/> <Gear number="0" active="false"/> </OverrideControllerValueAction> </ControllerAction> </PrivateAction> </Private> <Private entityRef="adversary"> <PrivateAction> <TeleportAction> <Position> <WorldPosition x="-9.4" y="-71.0" z="0.5" h="1.57079632679"/> </Position> </TeleportAction> </PrivateAction> </Private> <Private entityRef="standing"> <PrivateAction> <TeleportAction> <Position> <WorldPosition x="-8.2" y="29.2" z="0.5" h="1.57079632679"/> </Position> </TeleportAction> </PrivateAction> </Private> <Private entityRef="pedestrian_close_to_standing_3361"> <PrivateAction> <TeleportAction> <Position> <WorldPosition x="-15.615845680236816" y="38.52350997924805" z="0.00304412841796875"/> </Position> </TeleportAction> </PrivateAction> </Private> <Private entityRef="pedestrian_w_transform_3362"> <PrivateAction> <TeleportAction> <Position> <WorldPosition x="34.216712951660156" y="-6.89963436126709" z="0.5"/> </Position> </TeleportAction> </PrivateAction> </Private> <Private entityRef="pedestrian_close_to_standing_3364"> <PrivateAction> <TeleportAction> <Position> <WorldPosition x="-13.007133483886719" y="36.92377853393555" z="0.0030540083535015583"/> </Position> </TeleportAction> </PrivateAction> </Private> <Private entityRef="pedestrian_close_to_standing_3366"> <PrivateAction> <TeleportAction> <Position> <WorldPosition x="-14.88916301727295" y="33.51082992553711" z="0.0030428695026785135"/> </Position> </TeleportAction> </PrivateAction> </Private> <Private entityRef="pedestrian_close_to_standing_3368"> <PrivateAction> <TeleportAction> <Position> <WorldPosition x="1.0131511688232422" y="29.154726028442383" z="0.003040962154045701"/> </Position> </TeleportAction> </PrivateAction> </Private> <Private entityRef="pedestrian_w_transform_3369"> <PrivateAction> <TeleportAction> <Position> <WorldPosition x="63.62738037109375" y="92.22660064697266" z="0.5"/> </Position> </TeleportAction> </PrivateAction> </Private> <Private entityRef="pedestrian_w_transform_3370"> <PrivateAction> <TeleportAction> <Position> <WorldPosition x="-71.02729797363281" y="89.11495971679688" z="0.5"/> </Position> </TeleportAction> </PrivateAction> </Private> <Private entityRef="pedestrian_w_transform_3371"> <PrivateAction> <TeleportAction> <Position> <WorldPosition x="-56.62437057495117" y="73.44317626953125" z="0.5"/> </Position> </TeleportAction> </PrivateAction> </Private> <Private entityRef="pedestrian_close_to_standing_3375"> <PrivateAction> <TeleportAction> <Position> <WorldPosition x="-3.7351746559143066" y="30.273366928100586" z="0.00302684772759676"/> </Position> </TeleportAction> </PrivateAction> </Private> <Private entityRef="pedestrian_close_to_standing_3376"> <PrivateAction> <TeleportAction> <Position> <WorldPosition x="-11.116610527038574" y="22.969804763793945" z="0.003043022006750107"/> </Position> </TeleportAction> </PrivateAction> </Private> <Private entityRef="pedestrian_close_to_standing_3377"> <PrivateAction> <TeleportAction> <Position> <WorldPosition x="-6.434802532196045" y="35.791011810302734" z="0.003046874888241291"/> </Position> </TeleportAction> </PrivateAction> </Private> </Actions> </Init> <Story name="MyStory"> <Act name="Behavior"> <ManeuverGroup maximumExecutionCount="1" name="ManeuverSequence"> <Actors selectTriggeringEntities="false"> <EntityRef entityRef="adversary"/> </Actors> <Maneuver name="LaneChangeSimpleManeuver"> <Event name="AdversaryAccelerates" priority="overwrite"> <Action name="AdversaryAccelerates"> <PrivateAction> <LongitudinalAction> <SpeedAction> <SpeedActionDynamics dynamicsShape="step" value="50" dynamicsDimension="distance"/> <SpeedActionTarget> <AbsoluteTargetSpeed value="5.0"/> </SpeedActionTarget> </SpeedAction> </LongitudinalAction> </PrivateAction> </Action> <StartTrigger> <ConditionGroup> <Condition name="StartCondition" delay="0" conditionEdge="rising"> <ByEntityCondition> <TriggeringEntities triggeringEntitiesRule="any"> <EntityRef entityRef="hero"/> </TriggeringEntities> <EntityCondition> <RelativeDistanceCondition entityRef="adversary" relativeDistanceType="cartesianDistance" value="40.0" freespace="false" rule="lessThan"/> </EntityCondition> </ByEntityCondition> </Condition> </ConditionGroup> </StartTrigger> </Event> <Event name="AdversaryChangesLane" priority="overwrite"> <Action name="AdversaryChangesLane"> <PrivateAction> <LateralAction> <LaneChangeAction> <LaneChangeActionDynamics dynamicsShape="linear" value="25" dynamicsDimension="distance"/> <LaneChangeTarget> <RelativeTargetLane entityRef="adversary" value="-1"/> </LaneChangeTarget> </LaneChangeAction> </LateralAction> </PrivateAction> </Action> <StartTrigger> <ConditionGroup> <Condition name="AfterAdversaryAccelerates" delay="0" conditionEdge="rising"> <ByValueCondition> <StoryboardElementStateCondition storyboardElementType="action" storyboardElementRef="AdversaryAccelerates" state="completeState"/> </ByValueCondition> </Condition> </ConditionGroup> </StartTrigger> </Event> </Maneuver> </ManeuverGroup> <StartTrigger> <ConditionGroup> <Condition name="OverallStartCondition" delay="0" conditionEdge="rising"> <ByEntityCondition> <TriggeringEntities triggeringEntitiesRule="any"> <EntityRef entityRef="hero"/> </TriggeringEntities> <EntityCondition> <TraveledDistanceCondition value="1.0"/> </EntityCondition> </ByEntityCondition> </Condition> <Condition name="StartTime" delay="0" conditionEdge="rising"> <ByValueCondition> <SimulationTimeCondition value="0" rule="equalTo"/> </ByValueCondition> </Condition> </ConditionGroup> </StartTrigger> <StopTrigger> <ConditionGroup> <Condition name="EndCondition" delay="0" conditionEdge="rising"> <ByEntityCondition> <TriggeringEntities triggeringEntitiesRule="any"> <EntityRef entityRef="hero"/> </TriggeringEntities> <EntityCondition> <TraveledDistanceCondition value="200.0"/> </EntityCondition> </ByEntityCondition> </Condition> </ConditionGroup> </StopTrigger> </Act> </Story> <StopTrigger> <ConditionGroup> <Condition name="criteria_RunningStopTest" delay="0" conditionEdge="rising"> <ByValueCondition> <ParameterCondition parameterRef="" value="" rule="lessThan"/> </ByValueCondition> </Condition> <Condition name="criteria_RunningRedLightTest" delay="0" conditionEdge="rising"> <ByValueCondition> <ParameterCondition parameterRef="" value="" rule="lessThan"/> </ByValueCondition> </Condition> <Condition name="criteria_WrongLaneTest" delay="0" conditionEdge="rising"> <ByValueCondition> <ParameterCondition parameterRef="" value="" rule="lessThan"/> </ByValueCondition> </Condition> <Condition name="criteria_OnSidewalkTest" delay="0" conditionEdge="rising"> <ByValueCondition> <ParameterCondition parameterRef="" value="" rule="lessThan"/> </ByValueCondition> </Condition> <Condition name="criteria_KeepLaneTest" delay="0" conditionEdge="rising"> <ByValueCondition> <ParameterCondition parameterRef="" value="" rule="lessThan"/> </ByValueCondition> </Condition> <Condition name="criteria_CollisionTest" delay="0" conditionEdge="rising"> <ByValueCondition> <ParameterCondition parameterRef="" value="" rule="lessThan"/> </ByValueCondition> </Condition> <Condition name="criteria_DrivenDistanceTest" delay="0" conditionEdge="rising"> <ByValueCondition> <ParameterCondition parameterRef="distance_success" value="100" rule="lessThan"/> </ByValueCondition> </Condition> </ConditionGroup> </StopTrigger> </Storyboard> </OpenSCENARIO> ```
would you remove pedestrian actor named pedestrian_close_to_adversary_14485? ``` <?xml version="1.0" ?> <OpenSCENARIO> <FileHeader revMajor="1" revMinor="0" date="2020-03-24T12:00:00" description="CARLA:LaneChangeSimple" author=""/> <ParameterDeclarations/> <CatalogLocations/> <RoadNetwork> <LogicFile filepath="Town04"/> <SceneGraphFile filepath=""/> </RoadNetwork> <Entities> <ScenarioObject name="hero"> <Vehicle name="vehicle.tesla.model3" vehicleCategory="car"> <ParameterDeclarations/> <Performance maxSpeed="69.444" maxAcceleration="200" maxDeceleration="10.0"/> <BoundingBox> <Center x="1.5" y="0.0" z="0.9"/> <Dimensions width="2.1" length="4.5" height="1.8"/> </BoundingBox> <Axles> <FrontAxle maxSteering="0.5" wheelDiameter="0.6" trackWidth="1.8" positionX="3.1" positionZ="0.3"/> <RearAxle maxSteering="0.0" wheelDiameter="0.6" trackWidth="1.8" positionX="0.0" positionZ="0.3"/> </Axles> <Properties> <Property name="type" value="ego_vehicle"/> </Properties> </Vehicle> </ScenarioObject> <ScenarioObject name="adversary"> <Vehicle name="vehicle.lincoln.mkz_2017" vehicleCategory="car"> <ParameterDeclarations/> <Performance maxSpeed="69.444" maxAcceleration="200" maxDeceleration="10.0"/> <BoundingBox> <Center x="1.5" y="0.0" z="0.9"/> <Dimensions width="2.1" length="4.5" height="1.8"/> </BoundingBox> <Axles> <FrontAxle maxSteering="0.5" wheelDiameter="0.6" trackWidth="1.8" positionX="3.1" positionZ="0.3"/> <RearAxle maxSteering="0.0" wheelDiameter="0.6" trackWidth="1.8" positionX="0.0" positionZ="0.3"/> </Axles> <Properties> <Property name="type" value="simulation"/> </Properties> </Vehicle> </ScenarioObject> <ScenarioObject name="standing"> <Vehicle name="vehicle.volkswagen.t2" vehicleCategory="car"> <ParameterDeclarations/> <Performance maxSpeed="69.444" maxAcceleration="200" maxDeceleration="10.0"/> <BoundingBox> <Center x="1.5" y="0.0" z="0.9"/> <Dimensions width="2.1" length="4.5" height="1.8"/> </BoundingBox> <Axles> <FrontAxle maxSteering="0.5" wheelDiameter="0.6" trackWidth="1.8" positionX="3.1" positionZ="0.3"/> <RearAxle maxSteering="0.0" wheelDiameter="0.6" trackWidth="1.8" positionX="0.0" positionZ="0.3"/> </Axles> <Properties> <Property name="type" value="simulation"/> </Properties> </Vehicle> </ScenarioObject> <ScenarioObject name="pedestrian_close_to_hero_14474"> <Pedestrian model="walker.pedestrian.0001" mass="80" name="walker.pedestrian.0001" pedestrianCategory="pedestrian"> <ParameterDeclarations/> <BoundingBox> <Center x="1.5" y="0.0" z="0.9"/> <Dimensions width="2" length="2" height="2"/> </BoundingBox> <Properties> <Property name="type" value="simulation"/> </Properties> </Pedestrian> </ScenarioObject> <ScenarioObject name="pedestrian_close_to_standing_14475"> <Pedestrian model="walker.pedestrian.0001" mass="80" name="walker.pedestrian.0001" pedestrianCategory="pedestrian"> <ParameterDeclarations/> <BoundingBox> <Center x="1.5" y="0.0" z="0.9"/> <Dimensions width="2" length="2" height="2"/> </BoundingBox> <Properties> <Property name="type" value="simulation"/> </Properties> </Pedestrian> </ScenarioObject> <ScenarioObject name="pedestrian_close_to_adversary_14476"> <Pedestrian model="walker.pedestrian.0001" mass="80" name="walker.pedestrian.0001" pedestrianCategory="pedestrian"> <ParameterDeclarations/> <BoundingBox> <Center x="1.5" y="0.0" z="0.9"/> <Dimensions width="2" length="2" height="2"/> </BoundingBox> <Properties> <Property name="type" value="simulation"/> </Properties> </Pedestrian> </ScenarioObject> <ScenarioObject name="pedestrian_w_transform_14477"> <Pedestrian model="walker.pedestrian.0001" mass="80" name="walker.pedestrian.0001" pedestrianCategory="pedestrian"> <ParameterDeclarations/> <BoundingBox> <Center x="1.5" y="0.0" z="0.9"/> <Dimensions width="2" length="2" height="2"/> </BoundingBox> <Properties> <Property name="type" value="simulation"/> </Properties> </Pedestrian> </ScenarioObject> <ScenarioObject name="pedestrian_w_transform_14478"> <Pedestrian model="walker.pedestrian.0001" mass="80" name="walker.pedestrian.0001" pedestrianCategory="pedestrian"> <ParameterDeclarations/> <BoundingBox> <Center x="1.5" y="0.0" z="0.9"/> <Dimensions width="2" length="2" height="2"/> </BoundingBox> <Properties> <Property name="type" value="simulation"/> </Properties> </Pedestrian> </ScenarioObject> <ScenarioObject name="pedestrian_close_to_standing_14479"> <Pedestrian model="walker.pedestrian.0001" mass="80" name="walker.pedestrian.0001" pedestrianCategory="pedestrian"> <ParameterDeclarations/> <BoundingBox> <Center x="1.5" y="0.0" z="0.9"/> <Dimensions width="2" length="2" height="2"/> </BoundingBox> <Properties> <Property name="type" value="simulation"/> </Properties> </Pedestrian> </ScenarioObject> <ScenarioObject name="pedestrian_w_transform_14480"> <Pedestrian model="walker.pedestrian.0001" mass="80" name="walker.pedestrian.0001" pedestrianCategory="pedestrian"> <ParameterDeclarations/> <BoundingBox> <Center x="1.5" y="0.0" z="0.9"/> <Dimensions width="2" length="2" height="2"/> </BoundingBox> <Properties> <Property name="type" value="simulation"/> </Properties> </Pedestrian> </ScenarioObject> <ScenarioObject name="pedestrian_w_transform_14481"> <Pedestrian model="walker.pedestrian.0001" mass="80" name="walker.pedestrian.0001" pedestrianCategory="pedestrian"> <ParameterDeclarations/> <BoundingBox> <Center x="1.5" y="0.0" z="0.9"/> <Dimensions width="2" length="2" height="2"/> </BoundingBox> <Properties> <Property name="type" value="simulation"/> </Properties> </Pedestrian> </ScenarioObject> <ScenarioObject name="pedestrian_w_transform_14482"> <Pedestrian model="walker.pedestrian.0001" mass="80" name="walker.pedestrian.0001" pedestrianCategory="pedestrian"> <ParameterDeclarations/> <BoundingBox> <Center x="1.5" y="0.0" z="0.9"/> <Dimensions width="2" length="2" height="2"/> </BoundingBox> <Properties> <Property name="type" value="simulation"/> </Properties> </Pedestrian> </ScenarioObject> <ScenarioObject name="pedestrian_close_to_hero_14483"> <Pedestrian model="walker.pedestrian.0001" mass="80" name="walker.pedestrian.0001" pedestrianCategory="pedestrian"> <ParameterDeclarations/> <BoundingBox> <Center x="1.5" y="0.0" z="0.9"/> <Dimensions width="2" length="2" height="2"/> </BoundingBox> <Properties> <Property name="type" value="simulation"/> </Properties> </Pedestrian> </ScenarioObject> <ScenarioObject name="pedestrian_close_to_adversary_14484"> <Pedestrian model="walker.pedestrian.0001" mass="80" name="walker.pedestrian.0001" pedestrianCategory="pedestrian"> <ParameterDeclarations/> <BoundingBox> <Center x="1.5" y="0.0" z="0.9"/> <Dimensions width="2" length="2" height="2"/> </BoundingBox> <Properties> <Property name="type" value="simulation"/> </Properties> </Pedestrian> </ScenarioObject> <ScenarioObject name="pedestrian_close_to_adversary_14485"> <Pedestrian model="walker.pedestrian.0001" mass="80" name="walker.pedestrian.0001" pedestrianCategory="pedestrian"> <ParameterDeclarations/> <BoundingBox> <Center x="1.5" y="0.0" z="0.9"/> <Dimensions width="2" length="2" height="2"/> </BoundingBox> <Properties> <Property name="type" value="simulation"/> </Properties> </Pedestrian> </ScenarioObject> <ScenarioObject name="pedestrian_w_transform_14487"> <Pedestrian model="walker.pedestrian.0001" mass="80" name="walker.pedestrian.0001" pedestrianCategory="pedestrian"> <ParameterDeclarations/> <BoundingBox> <Center x="1.5" y="0.0" z="0.9"/> <Dimensions width="2" length="2" height="2"/> </BoundingBox> <Properties> <Property name="type" value="simulation"/> </Properties> </Pedestrian> </ScenarioObject> <ScenarioObject name="pedestrian_w_transform_14488"> <Pedestrian model="walker.pedestrian.0001" mass="80" name="walker.pedestrian.0001" pedestrianCategory="pedestrian"> <ParameterDeclarations/> <BoundingBox> <Center x="1.5" y="0.0" z="0.9"/> <Dimensions width="2" length="2" height="2"/> </BoundingBox> <Properties> <Property name="type" value="simulation"/> </Properties> </Pedestrian> </ScenarioObject> <ScenarioObject name="pedestrian_w_transform_14490"> <Pedestrian model="walker.pedestrian.0001" mass="80" name="walker.pedestrian.0001" pedestrianCategory="pedestrian"> <ParameterDeclarations/> <BoundingBox> <Center x="1.5" y="0.0" z="0.9"/> <Dimensions width="2" length="2" height="2"/> </BoundingBox> <Properties> <Property name="type" value="simulation"/> </Properties> </Pedestrian> </ScenarioObject> <ScenarioObject name="pedestrian_close_to_hero_14491"> <Pedestrian model="walker.pedestrian.0001" mass="80" name="walker.pedestrian.0001" pedestrianCategory="pedestrian"> <ParameterDeclarations/> <BoundingBox> <Center x="1.5" y="0.0" z="0.9"/> <Dimensions width="2" length="2" height="2"/> </BoundingBox> <Properties> <Property name="type" value="simulation"/> </Properties> </Pedestrian> </ScenarioObject> <ScenarioObject name="pedestrian_w_transform_14493"> <Pedestrian model="walker.pedestrian.0001" mass="80" name="walker.pedestrian.0001" pedestrianCategory="pedestrian"> <ParameterDeclarations/> <BoundingBox> <Center x="1.5" y="0.0" z="0.9"/> <Dimensions width="2" length="2" height="2"/> </BoundingBox> <Properties> <Property name="type" value="simulation"/> </Properties> </Pedestrian> </ScenarioObject> <ScenarioObject name="pedestrian_close_to_adversary_14494"> <Pedestrian model="walker.pedestrian.0001" mass="80" name="walker.pedestrian.0001" pedestrianCategory="pedestrian"> <ParameterDeclarations/> <BoundingBox> <Center x="1.5" y="0.0" z="0.9"/> <Dimensions width="2" length="2" height="2"/> </BoundingBox> <Properties> <Property name="type" value="simulation"/> </Properties> </Pedestrian> </ScenarioObject> <ScenarioObject name="pedestrian_close_to_adversary_14496"> <Pedestrian model="walker.pedestrian.0001" mass="80" name="walker.pedestrian.0001" pedestrianCategory="pedestrian"> <ParameterDeclarations/> <BoundingBox> <Center x="1.5" y="0.0" z="0.9"/> <Dimensions width="2" length="2" height="2"/> </BoundingBox> <Properties> <Property name="type" value="simulation"/> </Properties> </Pedestrian> </ScenarioObject> <ScenarioObject name="pedestrian_w_transform_14500"> <Pedestrian model="walker.pedestrian.0001" mass="80" name="walker.pedestrian.0001" pedestrianCategory="pedestrian"> <ParameterDeclarations/> <BoundingBox> <Center x="1.5" y="0.0" z="0.9"/> <Dimensions width="2" length="2" height="2"/> </BoundingBox> <Properties> <Property name="type" value="simulation"/> </Properties> </Pedestrian> </ScenarioObject> <ScenarioObject name="pedestrian_w_transform_14501"> <Pedestrian model="walker.pedestrian.0001" mass="80" name="walker.pedestrian.0001" pedestrianCategory="pedestrian"> <ParameterDeclarations/> <BoundingBox> <Center x="1.5" y="0.0" z="0.9"/> <Dimensions width="2" length="2" height="2"/> </BoundingBox> <Properties> <Property name="type" value="simulation"/> </Properties> </Pedestrian> </ScenarioObject> <ScenarioObject name="pedestrian_close_to_hero_14503"> <Pedestrian model="walker.pedestrian.0001" mass="80" name="walker.pedestrian.0001" pedestrianCategory="pedestrian"> <ParameterDeclarations/> <BoundingBox> <Center x="1.5" y="0.0" z="0.9"/> <Dimensions width="2" length="2" height="2"/> </BoundingBox> <Properties> <Property name="type" value="simulation"/> </Properties> </Pedestrian> </ScenarioObject> </Entities> <Storyboard> <Init> <Actions> <GlobalAction> <EnvironmentAction> <Environment name="Environment1"> <TimeOfDay animation="false" dateTime="2019-06-25T12:00:00"/> <Weather cloudState="free"> <Sun intensity="0.85" azimuth="0" elevation="1.31"/> <Fog visualRange="100000.0"/> <Precipitation precipitationType="dry" intensity="0.0"/> </Weather> <RoadCondition frictionScaleFactor="1.0"/> </Environment> </EnvironmentAction> </GlobalAction> <Private entityRef="hero"> <PrivateAction> <TeleportAction> <Position> <WorldPosition x="-9.4" y="-152.8" z="0.5" h="1.57079632679"/> </Position> </TeleportAction> </PrivateAction> <PrivateAction> <ControllerAction> <AssignControllerAction> <Controller name="HeroAgent"> <Properties> <Property name="module" value="external_control"/> </Properties> </Controller> </AssignControllerAction> <OverrideControllerValueAction> <Throttle value="0" active="false"/> <Brake value="0" active="false"/> <Clutch value="0" active="false"/> <ParkingBrake value="0" active="false"/> <SteeringWheel value="0" active="false"/> <Gear number="0" active="false"/> </OverrideControllerValueAction> </ControllerAction> </PrivateAction> </Private> <Private entityRef="adversary"> <PrivateAction> <TeleportAction> <Position> <WorldPosition x="-9.4" y="-71.0" z="0.5" h="1.57079632679"/> </Position> </TeleportAction> </PrivateAction> </Private> <Private entityRef="standing"> <PrivateAction> <TeleportAction> <Position> <WorldPosition x="-8.2" y="29.2" z="0.5" h="1.57079632679"/> </Position> </TeleportAction> </PrivateAction> </Private> <Private entityRef="pedestrian_close_to_hero_14474"> <PrivateAction> <TeleportAction> <Position> <WorldPosition x="1.0057679414749146" y="-141.4271697998047" z="0.0014286803780123591"/> </Position> </TeleportAction> </PrivateAction> </Private> <Private entityRef="pedestrian_close_to_standing_14475"> <PrivateAction> <TeleportAction> <Position> <WorldPosition x="-1.6014927625656128" y="29.30148696899414" z="0.0030340575613081455"/> </Position> </TeleportAction> </PrivateAction> </Private> <Private entityRef="pedestrian_close_to_adversary_14476"> <PrivateAction> <TeleportAction> <Position> <WorldPosition x="-6.931623458862305" y="-75.04182434082031" z="0.03378769010305405"/> </Position> </TeleportAction> </PrivateAction> </Private> <Private entityRef="pedestrian_w_transform_14477"> <PrivateAction> <TeleportAction> <Position> <WorldPosition x="41.24903106689453" y="-16.880529403686523" z="0.5"/> </Position> </TeleportAction> </PrivateAction> </Private> <Private entityRef="pedestrian_w_transform_14478"> <PrivateAction> <TeleportAction> <Position> <WorldPosition x="63.11258316040039" y="64.23025512695312" z="0.5"/> </Position> </TeleportAction> </PrivateAction> </Private> <Private entityRef="pedestrian_close_to_standing_14479"> <PrivateAction> <TeleportAction> <Position> <WorldPosition x="0.378988653421402" y="29.674278259277344" z="0.0030528258066624403"/> </Position> </TeleportAction> </PrivateAction> </Private> <Private entityRef="pedestrian_w_transform_14480"> <PrivateAction> <TeleportAction> <Position> <WorldPosition x="84.3624267578125" y="61.396728515625" z="0.5"/> </Position> </TeleportAction> </PrivateAction> </Private> <Private entityRef="pedestrian_w_transform_14481"> <PrivateAction> <TeleportAction> <Position> <WorldPosition x="-84.3160400390625" y="18.846986770629883" z="0.5"/> </Position> </TeleportAction> </PrivateAction> </Private> <Private entityRef="pedestrian_w_transform_14482"> <PrivateAction> <TeleportAction> <Position> <WorldPosition x="-46.61594009399414" y="-5.487327575683594" z="0.5"/> </Position> </TeleportAction> </PrivateAction> </Private> <Private entityRef="pedestrian_close_to_hero_14483"> <PrivateAction> <TeleportAction> <Position> <WorldPosition x="0.5203758478164673" y="-149.10986328125" z="0.0014286803780123591"/> </Position> </TeleportAction> </PrivateAction> </Private> <Private entityRef="pedestrian_close_to_adversary_14484"> <PrivateAction> <TeleportAction> <Position> <WorldPosition x="-16.672100067138672" y="-74.61062622070312" z="0.03371826186776161"/> </Position> </TeleportAction> </PrivateAction> </Private> <Private entityRef="pedestrian_close_to_adversary_14485"> <PrivateAction> <TeleportAction> <Position> <WorldPosition x="-1.5868858098983765" y="-58.84675979614258" z="0.03378509357571602"/> </Position> </TeleportAction> </PrivateAction> </Private> <Private entityRef="pedestrian_w_transform_14487"> <PrivateAction> <TeleportAction> <Position> <WorldPosition x="-77.17435455322266" y="-50.04877853393555" z="0.5"/> </Position> </TeleportAction> </PrivateAction> </Private> <Private entityRef="pedestrian_w_transform_14488"> <PrivateAction> <TeleportAction> <Position> <WorldPosition x="-49.54345703125" y="90.08142852783203" z="0.5"/> </Position> </TeleportAction> </PrivateAction> </Private> <Private entityRef="pedestrian_w_transform_14490"> <PrivateAction> <TeleportAction> <Position> <WorldPosition x="-74.33090209960938" y="-87.78778839111328" z="0.5"/> </Position> </TeleportAction> </PrivateAction> </Private> <Private entityRef="pedestrian_close_to_hero_14491"> <PrivateAction> <TeleportAction> <Position> <WorldPosition x="-13.398877143859863" y="-147.64581298828125" z="0.0014286803780123591"/> </Position> </TeleportAction> </PrivateAction> </Private> <Private entityRef="pedestrian_w_transform_14493"> <PrivateAction> <TeleportAction> <Position> <WorldPosition x="69.68093872070312" y="-8.45222282409668" z="0.5"/> </Position> </TeleportAction> </PrivateAction> </Private> <Private entityRef="pedestrian_close_to_adversary_14494"> <PrivateAction> <TeleportAction> <Position> <WorldPosition x="-19.21448516845703" y="-80.56375885009766" z="0.033818166702985764"/> </Position> </TeleportAction> </PrivateAction> </Private> <Private entityRef="pedestrian_close_to_adversary_14496"> <PrivateAction> <TeleportAction> <Position> <WorldPosition x="-1.3787835836410522" y="-68.14875030517578" z="0.03381282836198807"/> </Position> </TeleportAction> </PrivateAction> </Private> <Private entityRef="pedestrian_w_transform_14500"> <PrivateAction> <TeleportAction> <Position> <WorldPosition x="60.562625885009766" y="76.55858612060547" z="0.5"/> </Position> </TeleportAction> </PrivateAction> </Private> <Private entityRef="pedestrian_w_transform_14501"> <PrivateAction> <TeleportAction> <Position> <WorldPosition x="-10.937418937683105" y="-90.25655364990234" z="0.5"/> </Position> </TeleportAction> </PrivateAction> </Private> <Private entityRef="pedestrian_close_to_hero_14503"> <PrivateAction> <TeleportAction> <Position> <WorldPosition x="-8.857202529907227" y="-146.8178253173828" z="0.0014286803780123591"/> </Position> </TeleportAction> </PrivateAction> </Private> </Actions> </Init> <Story name="MyStory"> <Act name="Behavior"> <ManeuverGroup maximumExecutionCount="1" name="ManeuverSequence"> <Actors selectTriggeringEntities="false"> <EntityRef entityRef="adversary"/> </Actors> <Maneuver name="LaneChangeSimpleManeuver"> <Event name="AdversaryAccelerates" priority="overwrite"> <Action name="AdversaryAccelerates"> <PrivateAction> <LongitudinalAction> <SpeedAction> <SpeedActionDynamics dynamicsShape="step" value="50" dynamicsDimension="distance"/> <SpeedActionTarget> <AbsoluteTargetSpeed value="5.0"/> </SpeedActionTarget> </SpeedAction> </LongitudinalAction> </PrivateAction> </Action> <StartTrigger> <ConditionGroup> <Condition name="StartCondition" delay="0" conditionEdge="rising"> <ByEntityCondition> <TriggeringEntities triggeringEntitiesRule="any"> <EntityRef entityRef="hero"/> </TriggeringEntities> <EntityCondition> <RelativeDistanceCondition entityRef="adversary" relativeDistanceType="cartesianDistance" value="40.0" freespace="false" rule="lessThan"/> </EntityCondition> </ByEntityCondition> </Condition> </ConditionGroup> </StartTrigger> </Event> <Event name="AdversaryChangesLane" priority="overwrite"> <Action name="AdversaryChangesLane"> <PrivateAction> <LateralAction> <LaneChangeAction> <LaneChangeActionDynamics dynamicsShape="linear" value="25" dynamicsDimension="distance"/> <LaneChangeTarget> <RelativeTargetLane entityRef="adversary" value="-1"/> </LaneChangeTarget> </LaneChangeAction> </LateralAction> </PrivateAction> </Action> <StartTrigger> <ConditionGroup> <Condition name="AfterAdversaryAccelerates" delay="0" conditionEdge="rising"> <ByValueCondition> <StoryboardElementStateCondition storyboardElementType="action" storyboardElementRef="AdversaryAccelerates" state="completeState"/> </ByValueCondition> </Condition> </ConditionGroup> </StartTrigger> </Event> </Maneuver> </ManeuverGroup> <StartTrigger> <ConditionGroup> <Condition name="OverallStartCondition" delay="0" conditionEdge="rising"> <ByEntityCondition> <TriggeringEntities triggeringEntitiesRule="any"> <EntityRef entityRef="hero"/> </TriggeringEntities> <EntityCondition> <TraveledDistanceCondition value="1.0"/> </EntityCondition> </ByEntityCondition> </Condition> <Condition name="StartTime" delay="0" conditionEdge="rising"> <ByValueCondition> <SimulationTimeCondition value="0" rule="equalTo"/> </ByValueCondition> </Condition> </ConditionGroup> </StartTrigger> <StopTrigger> <ConditionGroup> <Condition name="EndCondition" delay="0" conditionEdge="rising"> <ByEntityCondition> <TriggeringEntities triggeringEntitiesRule="any"> <EntityRef entityRef="hero"/> </TriggeringEntities> <EntityCondition> <TraveledDistanceCondition value="200.0"/> </EntityCondition> </ByEntityCondition> </Condition> </ConditionGroup> </StopTrigger> </Act> </Story> <StopTrigger> <ConditionGroup> <Condition name="criteria_RunningStopTest" delay="0" conditionEdge="rising"> <ByValueCondition> <ParameterCondition parameterRef="" value="" rule="lessThan"/> </ByValueCondition> </Condition> <Condition name="criteria_RunningRedLightTest" delay="0" conditionEdge="rising"> <ByValueCondition> <ParameterCondition parameterRef="" value="" rule="lessThan"/> </ByValueCondition> </Condition> <Condition name="criteria_WrongLaneTest" delay="0" conditionEdge="rising"> <ByValueCondition> <ParameterCondition parameterRef="" value="" rule="lessThan"/> </ByValueCondition> </Condition> <Condition name="criteria_OnSidewalkTest" delay="0" conditionEdge="rising"> <ByValueCondition> <ParameterCondition parameterRef="" value="" rule="lessThan"/> </ByValueCondition> </Condition> <Condition name="criteria_KeepLaneTest" delay="0" conditionEdge="rising"> <ByValueCondition> <ParameterCondition parameterRef="" value="" rule="lessThan"/> </ByValueCondition> </Condition> <Condition name="criteria_CollisionTest" delay="0" conditionEdge="rising"> <ByValueCondition> <ParameterCondition parameterRef="" value="" rule="lessThan"/> </ByValueCondition> </Condition> <Condition name="criteria_DrivenDistanceTest" delay="0" conditionEdge="rising"> <ByValueCondition> <ParameterCondition parameterRef="distance_success" value="100" rule="lessThan"/> </ByValueCondition> </Condition> </ConditionGroup> </StopTrigger> </Storyboard> </OpenSCENARIO> ```
Here is the result: ``` <?xml version="1.0" ?> <OpenSCENARIO> <FileHeader revMajor="1" revMinor="0" date="2020-03-24T12:00:00" description="CARLA:LaneChangeSimple" author=""/> <ParameterDeclarations/> <CatalogLocations/> <RoadNetwork> <LogicFile filepath="Town04"/> <SceneGraphFile filepath=""/> </RoadNetwork> <Entities> <ScenarioObject name="hero"> <Vehicle name="vehicle.tesla.model3" vehicleCategory="car"> <ParameterDeclarations/> <Performance maxSpeed="69.444" maxAcceleration="200" maxDeceleration="10.0"/> <BoundingBox> <Center x="1.5" y="0.0" z="0.9"/> <Dimensions width="2.1" length="4.5" height="1.8"/> </BoundingBox> <Axles> <FrontAxle maxSteering="0.5" wheelDiameter="0.6" trackWidth="1.8" positionX="3.1" positionZ="0.3"/> <RearAxle maxSteering="0.0" wheelDiameter="0.6" trackWidth="1.8" positionX="0.0" positionZ="0.3"/> </Axles> <Properties> <Property name="type" value="ego_vehicle"/> </Properties> </Vehicle> </ScenarioObject> <ScenarioObject name="adversary"> <Vehicle name="vehicle.lincoln.mkz_2017" vehicleCategory="car"> <ParameterDeclarations/> <Performance maxSpeed="69.444" maxAcceleration="200" maxDeceleration="10.0"/> <BoundingBox> <Center x="1.5" y="0.0" z="0.9"/> <Dimensions width="2.1" length="4.5" height="1.8"/> </BoundingBox> <Axles> <FrontAxle maxSteering="0.5" wheelDiameter="0.6" trackWidth="1.8" positionX="3.1" positionZ="0.3"/> <RearAxle maxSteering="0.0" wheelDiameter="0.6" trackWidth="1.8" positionX="0.0" positionZ="0.3"/> </Axles> <Properties> <Property name="type" value="simulation"/> </Properties> </Vehicle> </ScenarioObject> <ScenarioObject name="standing"> <Vehicle name="vehicle.volkswagen.t2" vehicleCategory="car"> <ParameterDeclarations/> <Performance maxSpeed="69.444" maxAcceleration="200" maxDeceleration="10.0"/> <BoundingBox> <Center x="1.5" y="0.0" z="0.9"/> <Dimensions width="2.1" length="4.5" height="1.8"/> </BoundingBox> <Axles> <FrontAxle maxSteering="0.5" wheelDiameter="0.6" trackWidth="1.8" positionX="3.1" positionZ="0.3"/> <RearAxle maxSteering="0.0" wheelDiameter="0.6" trackWidth="1.8" positionX="0.0" positionZ="0.3"/> </Axles> <Properties> <Property name="type" value="simulation"/> </Properties> </Vehicle> </ScenarioObject> <ScenarioObject name="pedestrian_close_to_hero_14474"> <Pedestrian model="walker.pedestrian.0001" mass="80" name="walker.pedestrian.0001" pedestrianCategory="pedestrian"> <ParameterDeclarations/> <BoundingBox> <Center x="1.5" y="0.0" z="0.9"/> <Dimensions width="2" length="2" height="2"/> </BoundingBox> <Properties> <Property name="type" value="simulation"/> </Properties> </Pedestrian> </ScenarioObject> <ScenarioObject name="pedestrian_close_to_standing_14475"> <Pedestrian model="walker.pedestrian.0001" mass="80" name="walker.pedestrian.0001" pedestrianCategory="pedestrian"> <ParameterDeclarations/> <BoundingBox> <Center x="1.5" y="0.0" z="0.9"/> <Dimensions width="2" length="2" height="2"/> </BoundingBox> <Properties> <Property name="type" value="simulation"/> </Properties> </Pedestrian> </ScenarioObject> <ScenarioObject name="pedestrian_close_to_adversary_14476"> <Pedestrian model="walker.pedestrian.0001" mass="80" name="walker.pedestrian.0001" pedestrianCategory="pedestrian"> <ParameterDeclarations/> <BoundingBox> <Center x="1.5" y="0.0" z="0.9"/> <Dimensions width="2" length="2" height="2"/> </BoundingBox> <Properties> <Property name="type" value="simulation"/> </Properties> </Pedestrian> </ScenarioObject> <ScenarioObject name="pedestrian_w_transform_14477"> <Pedestrian model="walker.pedestrian.0001" mass="80" name="walker.pedestrian.0001" pedestrianCategory="pedestrian"> <ParameterDeclarations/> <BoundingBox> <Center x="1.5" y="0.0" z="0.9"/> <Dimensions width="2" length="2" height="2"/> </BoundingBox> <Properties> <Property name="type" value="simulation"/> </Properties> </Pedestrian> </ScenarioObject> <ScenarioObject name="pedestrian_w_transform_14478"> <Pedestrian model="walker.pedestrian.0001" mass="80" name="walker.pedestrian.0001" pedestrianCategory="pedestrian"> <ParameterDeclarations/> <BoundingBox> <Center x="1.5" y="0.0" z="0.9"/> <Dimensions width="2" length="2" height="2"/> </BoundingBox> <Properties> <Property name="type" value="simulation"/> </Properties> </Pedestrian> </ScenarioObject> <ScenarioObject name="pedestrian_close_to_standing_14479"> <Pedestrian model="walker.pedestrian.0001" mass="80" name="walker.pedestrian.0001" pedestrianCategory="pedestrian"> <ParameterDeclarations/> <BoundingBox> <Center x="1.5" y="0.0" z="0.9"/> <Dimensions width="2" length="2" height="2"/> </BoundingBox> <Properties> <Property name="type" value="simulation"/> </Properties> </Pedestrian> </ScenarioObject> <ScenarioObject name="pedestrian_w_transform_14480"> <Pedestrian model="walker.pedestrian.0001" mass="80" name="walker.pedestrian.0001" pedestrianCategory="pedestrian"> <ParameterDeclarations/> <BoundingBox> <Center x="1.5" y="0.0" z="0.9"/> <Dimensions width="2" length="2" height="2"/> </BoundingBox> <Properties> <Property name="type" value="simulation"/> </Properties> </Pedestrian> </ScenarioObject> <ScenarioObject name="pedestrian_w_transform_14481"> <Pedestrian model="walker.pedestrian.0001" mass="80" name="walker.pedestrian.0001" pedestrianCategory="pedestrian"> <ParameterDeclarations/> <BoundingBox> <Center x="1.5" y="0.0" z="0.9"/> <Dimensions width="2" length="2" height="2"/> </BoundingBox> <Properties> <Property name="type" value="simulation"/> </Properties> </Pedestrian> </ScenarioObject> <ScenarioObject name="pedestrian_w_transform_14482"> <Pedestrian model="walker.pedestrian.0001" mass="80" name="walker.pedestrian.0001" pedestrianCategory="pedestrian"> <ParameterDeclarations/> <BoundingBox> <Center x="1.5" y="0.0" z="0.9"/> <Dimensions width="2" length="2" height="2"/> </BoundingBox> <Properties> <Property name="type" value="simulation"/> </Properties> </Pedestrian> </ScenarioObject> <ScenarioObject name="pedestrian_close_to_hero_14483"> <Pedestrian model="walker.pedestrian.0001" mass="80" name="walker.pedestrian.0001" pedestrianCategory="pedestrian"> <ParameterDeclarations/> <BoundingBox> <Center x="1.5" y="0.0" z="0.9"/> <Dimensions width="2" length="2" height="2"/> </BoundingBox> <Properties> <Property name="type" value="simulation"/> </Properties> </Pedestrian> </ScenarioObject> <ScenarioObject name="pedestrian_close_to_adversary_14484"> <Pedestrian model="walker.pedestrian.0001" mass="80" name="walker.pedestrian.0001" pedestrianCategory="pedestrian"> <ParameterDeclarations/> <BoundingBox> <Center x="1.5" y="0.0" z="0.9"/> <Dimensions width="2" length="2" height="2"/> </BoundingBox> <Properties> <Property name="type" value="simulation"/> </Properties> </Pedestrian> </ScenarioObject> <ScenarioObject name="pedestrian_w_transform_14487"> <Pedestrian model="walker.pedestrian.0001" mass="80" name="walker.pedestrian.0001" pedestrianCategory="pedestrian"> <ParameterDeclarations/> <BoundingBox> <Center x="1.5" y="0.0" z="0.9"/> <Dimensions width="2" length="2" height="2"/> </BoundingBox> <Properties> <Property name="type" value="simulation"/> </Properties> </Pedestrian> </ScenarioObject> <ScenarioObject name="pedestrian_w_transform_14488"> <Pedestrian model="walker.pedestrian.0001" mass="80" name="walker.pedestrian.0001" pedestrianCategory="pedestrian"> <ParameterDeclarations/> <BoundingBox> <Center x="1.5" y="0.0" z="0.9"/> <Dimensions width="2" length="2" height="2"/> </BoundingBox> <Properties> <Property name="type" value="simulation"/> </Properties> </Pedestrian> </ScenarioObject> <ScenarioObject name="pedestrian_w_transform_14490"> <Pedestrian model="walker.pedestrian.0001" mass="80" name="walker.pedestrian.0001" pedestrianCategory="pedestrian"> <ParameterDeclarations/> <BoundingBox> <Center x="1.5" y="0.0" z="0.9"/> <Dimensions width="2" length="2" height="2"/> </BoundingBox> <Properties> <Property name="type" value="simulation"/> </Properties> </Pedestrian> </ScenarioObject> <ScenarioObject name="pedestrian_close_to_hero_14491"> <Pedestrian model="walker.pedestrian.0001" mass="80" name="walker.pedestrian.0001" pedestrianCategory="pedestrian"> <ParameterDeclarations/> <BoundingBox> <Center x="1.5" y="0.0" z="0.9"/> <Dimensions width="2" length="2" height="2"/> </BoundingBox> <Properties> <Property name="type" value="simulation"/> </Properties> </Pedestrian> </ScenarioObject> <ScenarioObject name="pedestrian_w_transform_14493"> <Pedestrian model="walker.pedestrian.0001" mass="80" name="walker.pedestrian.0001" pedestrianCategory="pedestrian"> <ParameterDeclarations/> <BoundingBox> <Center x="1.5" y="0.0" z="0.9"/> <Dimensions width="2" length="2" height="2"/> </BoundingBox> <Properties> <Property name="type" value="simulation"/> </Properties> </Pedestrian> </ScenarioObject> <ScenarioObject name="pedestrian_close_to_adversary_14494"> <Pedestrian model="walker.pedestrian.0001" mass="80" name="walker.pedestrian.0001" pedestrianCategory="pedestrian"> <ParameterDeclarations/> <BoundingBox> <Center x="1.5" y="0.0" z="0.9"/> <Dimensions width="2" length="2" height="2"/> </BoundingBox> <Properties> <Property name="type" value="simulation"/> </Properties> </Pedestrian> </ScenarioObject> <ScenarioObject name="pedestrian_close_to_adversary_14496"> <Pedestrian model="walker.pedestrian.0001" mass="80" name="walker.pedestrian.0001" pedestrianCategory="pedestrian"> <ParameterDeclarations/> <BoundingBox> <Center x="1.5" y="0.0" z="0.9"/> <Dimensions width="2" length="2" height="2"/> </BoundingBox> <Properties> <Property name="type" value="simulation"/> </Properties> </Pedestrian> </ScenarioObject> <ScenarioObject name="pedestrian_w_transform_14500"> <Pedestrian model="walker.pedestrian.0001" mass="80" name="walker.pedestrian.0001" pedestrianCategory="pedestrian"> <ParameterDeclarations/> <BoundingBox> <Center x="1.5" y="0.0" z="0.9"/> <Dimensions width="2" length="2" height="2"/> </BoundingBox> <Properties> <Property name="type" value="simulation"/> </Properties> </Pedestrian> </ScenarioObject> <ScenarioObject name="pedestrian_w_transform_14501"> <Pedestrian model="walker.pedestrian.0001" mass="80" name="walker.pedestrian.0001" pedestrianCategory="pedestrian"> <ParameterDeclarations/> <BoundingBox> <Center x="1.5" y="0.0" z="0.9"/> <Dimensions width="2" length="2" height="2"/> </BoundingBox> <Properties> <Property name="type" value="simulation"/> </Properties> </Pedestrian> </ScenarioObject> <ScenarioObject name="pedestrian_close_to_hero_14503"> <Pedestrian model="walker.pedestrian.0001" mass="80" name="walker.pedestrian.0001" pedestrianCategory="pedestrian"> <ParameterDeclarations/> <BoundingBox> <Center x="1.5" y="0.0" z="0.9"/> <Dimensions width="2" length="2" height="2"/> </BoundingBox> <Properties> <Property name="type" value="simulation"/> </Properties> </Pedestrian> </ScenarioObject> </Entities> <Storyboard> <Init> <Actions> <GlobalAction> <EnvironmentAction> <Environment name="Environment1"> <TimeOfDay animation="false" dateTime="2019-06-25T12:00:00"/> <Weather cloudState="free"> <Sun intensity="0.85" azimuth="0" elevation="1.31"/> <Fog visualRange="100000.0"/> <Precipitation precipitationType="dry" intensity="0.0"/> </Weather> <RoadCondition frictionScaleFactor="1.0"/> </Environment> </EnvironmentAction> </GlobalAction> <Private entityRef="hero"> <PrivateAction> <TeleportAction> <Position> <WorldPosition x="-9.4" y="-152.8" z="0.5" h="1.57079632679"/> </Position> </TeleportAction> </PrivateAction> <PrivateAction> <ControllerAction> <AssignControllerAction> <Controller name="HeroAgent"> <Properties> <Property name="module" value="external_control"/> </Properties> </Controller> </AssignControllerAction> <OverrideControllerValueAction> <Throttle value="0" active="false"/> <Brake value="0" active="false"/> <Clutch value="0" active="false"/> <ParkingBrake value="0" active="false"/> <SteeringWheel value="0" active="false"/> <Gear number="0" active="false"/> </OverrideControllerValueAction> </ControllerAction> </PrivateAction> </Private> <Private entityRef="adversary"> <PrivateAction> <TeleportAction> <Position> <WorldPosition x="-9.4" y="-71.0" z="0.5" h="1.57079632679"/> </Position> </TeleportAction> </PrivateAction> </Private> <Private entityRef="standing"> <PrivateAction> <TeleportAction> <Position> <WorldPosition x="-8.2" y="29.2" z="0.5" h="1.57079632679"/> </Position> </TeleportAction> </PrivateAction> </Private> <Private entityRef="pedestrian_close_to_hero_14474"> <PrivateAction> <TeleportAction> <Position> <WorldPosition x="1.0057679414749146" y="-141.4271697998047" z="0.0014286803780123591"/> </Position> </TeleportAction> </PrivateAction> </Private> <Private entityRef="pedestrian_close_to_standing_14475"> <PrivateAction> <TeleportAction> <Position> <WorldPosition x="-1.6014927625656128" y="29.30148696899414" z="0.0030340575613081455"/> </Position> </TeleportAction> </PrivateAction> </Private> <Private entityRef="pedestrian_close_to_adversary_14476"> <PrivateAction> <TeleportAction> <Position> <WorldPosition x="-6.931623458862305" y="-75.04182434082031" z="0.03378769010305405"/> </Position> </TeleportAction> </PrivateAction> </Private> <Private entityRef="pedestrian_w_transform_14477"> <PrivateAction> <TeleportAction> <Position> <WorldPosition x="41.24903106689453" y="-16.880529403686523" z="0.5"/> </Position> </TeleportAction> </PrivateAction> </Private> <Private entityRef="pedestrian_w_transform_14478"> <PrivateAction> <TeleportAction> <Position> <WorldPosition x="63.11258316040039" y="64.23025512695312" z="0.5"/> </Position> </TeleportAction> </PrivateAction> </Private> <Private entityRef="pedestrian_close_to_standing_14479"> <PrivateAction> <TeleportAction> <Position> <WorldPosition x="0.378988653421402" y="29.674278259277344" z="0.0030528258066624403"/> </Position> </TeleportAction> </PrivateAction> </Private> <Private entityRef="pedestrian_w_transform_14480"> <PrivateAction> <TeleportAction> <Position> <WorldPosition x="84.3624267578125" y="61.396728515625" z="0.5"/> </Position> </TeleportAction> </PrivateAction> </Private> <Private entityRef="pedestrian_w_transform_14481"> <PrivateAction> <TeleportAction> <Position> <WorldPosition x="-84.3160400390625" y="18.846986770629883" z="0.5"/> </Position> </TeleportAction> </PrivateAction> </Private> <Private entityRef="pedestrian_w_transform_14482"> <PrivateAction> <TeleportAction> <Position> <WorldPosition x="-46.61594009399414" y="-5.487327575683594" z="0.5"/> </Position> </TeleportAction> </PrivateAction> </Private> <Private entityRef="pedestrian_close_to_hero_14483"> <PrivateAction> <TeleportAction> <Position> <WorldPosition x="0.5203758478164673" y="-149.10986328125" z="0.0014286803780123591"/> </Position> </TeleportAction> </PrivateAction> </Private> <Private entityRef="pedestrian_close_to_adversary_14484"> <PrivateAction> <TeleportAction> <Position> <WorldPosition x="-16.672100067138672" y="-74.61062622070312" z="0.03371826186776161"/> </Position> </TeleportAction> </PrivateAction> </Private> <Private entityRef="pedestrian_w_transform_14487"> <PrivateAction> <TeleportAction> <Position> <WorldPosition x="-77.17435455322266" y="-50.04877853393555" z="0.5"/> </Position> </TeleportAction> </PrivateAction> </Private> <Private entityRef="pedestrian_w_transform_14488"> <PrivateAction> <TeleportAction> <Position> <WorldPosition x="-49.54345703125" y="90.08142852783203" z="0.5"/> </Position> </TeleportAction> </PrivateAction> </Private> <Private entityRef="pedestrian_w_transform_14490"> <PrivateAction> <TeleportAction> <Position> <WorldPosition x="-74.33090209960938" y="-87.78778839111328" z="0.5"/> </Position> </TeleportAction> </PrivateAction> </Private> <Private entityRef="pedestrian_close_to_hero_14491"> <PrivateAction> <TeleportAction> <Position> <WorldPosition x="-13.398877143859863" y="-147.64581298828125" z="0.0014286803780123591"/> </Position> </TeleportAction> </PrivateAction> </Private> <Private entityRef="pedestrian_w_transform_14493"> <PrivateAction> <TeleportAction> <Position> <WorldPosition x="69.68093872070312" y="-8.45222282409668" z="0.5"/> </Position> </TeleportAction> </PrivateAction> </Private> <Private entityRef="pedestrian_close_to_adversary_14494"> <PrivateAction> <TeleportAction> <Position> <WorldPosition x="-19.21448516845703" y="-80.56375885009766" z="0.033818166702985764"/> </Position> </TeleportAction> </PrivateAction> </Private> <Private entityRef="pedestrian_close_to_adversary_14496"> <PrivateAction> <TeleportAction> <Position> <WorldPosition x="-1.3787835836410522" y="-68.14875030517578" z="0.03381282836198807"/> </Position> </TeleportAction> </PrivateAction> </Private> <Private entityRef="pedestrian_w_transform_14500"> <PrivateAction> <TeleportAction> <Position> <WorldPosition x="60.562625885009766" y="76.55858612060547" z="0.5"/> </Position> </TeleportAction> </PrivateAction> </Private> <Private entityRef="pedestrian_w_transform_14501"> <PrivateAction> <TeleportAction> <Position> <WorldPosition x="-10.937418937683105" y="-90.25655364990234" z="0.5"/> </Position> </TeleportAction> </PrivateAction> </Private> <Private entityRef="pedestrian_close_to_hero_14503"> <PrivateAction> <TeleportAction> <Position> <WorldPosition x="-8.857202529907227" y="-146.8178253173828" z="0.0014286803780123591"/> </Position> </TeleportAction> </PrivateAction> </Private> </Actions> </Init> <Story name="MyStory"> <Act name="Behavior"> <ManeuverGroup maximumExecutionCount="1" name="ManeuverSequence"> <Actors selectTriggeringEntities="false"> <EntityRef entityRef="adversary"/> </Actors> <Maneuver name="LaneChangeSimpleManeuver"> <Event name="AdversaryAccelerates" priority="overwrite"> <Action name="AdversaryAccelerates"> <PrivateAction> <LongitudinalAction> <SpeedAction> <SpeedActionDynamics dynamicsShape="step" value="50" dynamicsDimension="distance"/> <SpeedActionTarget> <AbsoluteTargetSpeed value="5.0"/> </SpeedActionTarget> </SpeedAction> </LongitudinalAction> </PrivateAction> </Action> <StartTrigger> <ConditionGroup> <Condition name="StartCondition" delay="0" conditionEdge="rising"> <ByEntityCondition> <TriggeringEntities triggeringEntitiesRule="any"> <EntityRef entityRef="hero"/> </TriggeringEntities> <EntityCondition> <RelativeDistanceCondition entityRef="adversary" relativeDistanceType="cartesianDistance" value="40.0" freespace="false" rule="lessThan"/> </EntityCondition> </ByEntityCondition> </Condition> </ConditionGroup> </StartTrigger> </Event> <Event name="AdversaryChangesLane" priority="overwrite"> <Action name="AdversaryChangesLane"> <PrivateAction> <LateralAction> <LaneChangeAction> <LaneChangeActionDynamics dynamicsShape="linear" value="25" dynamicsDimension="distance"/> <LaneChangeTarget> <RelativeTargetLane entityRef="adversary" value="-1"/> </LaneChangeTarget> </LaneChangeAction> </LateralAction> </PrivateAction> </Action> <StartTrigger> <ConditionGroup> <Condition name="AfterAdversaryAccelerates" delay="0" conditionEdge="rising"> <ByValueCondition> <StoryboardElementStateCondition storyboardElementType="action" storyboardElementRef="AdversaryAccelerates" state="completeState"/> </ByValueCondition> </Condition> </ConditionGroup> </StartTrigger> </Event> </Maneuver> </ManeuverGroup> <StartTrigger> <ConditionGroup> <Condition name="OverallStartCondition" delay="0" conditionEdge="rising"> <ByEntityCondition> <TriggeringEntities triggeringEntitiesRule="any"> <EntityRef entityRef="hero"/> </TriggeringEntities> <EntityCondition> <TraveledDistanceCondition value="1.0"/> </EntityCondition> </ByEntityCondition> </Condition> <Condition name="StartTime" delay="0" conditionEdge="rising"> <ByValueCondition> <SimulationTimeCondition value="0" rule="equalTo"/> </ByValueCondition> </Condition> </ConditionGroup> </StartTrigger> <StopTrigger> <ConditionGroup> <Condition name="EndCondition" delay="0" conditionEdge="rising"> <ByEntityCondition> <TriggeringEntities triggeringEntitiesRule="any"> <EntityRef entityRef="hero"/> </TriggeringEntities> <EntityCondition> <TraveledDistanceCondition value="200.0"/> </EntityCondition> </ByEntityCondition> </Condition> </ConditionGroup> </StopTrigger> </Act> </Story> <StopTrigger> <ConditionGroup> <Condition name="criteria_RunningStopTest" delay="0" conditionEdge="rising"> <ByValueCondition> <ParameterCondition parameterRef="" value="" rule="lessThan"/> </ByValueCondition> </Condition> <Condition name="criteria_RunningRedLightTest" delay="0" conditionEdge="rising"> <ByValueCondition> <ParameterCondition parameterRef="" value="" rule="lessThan"/> </ByValueCondition> </Condition> <Condition name="criteria_WrongLaneTest" delay="0" conditionEdge="rising"> <ByValueCondition> <ParameterCondition parameterRef="" value="" rule="lessThan"/> </ByValueCondition> </Condition> <Condition name="criteria_OnSidewalkTest" delay="0" conditionEdge="rising"> <ByValueCondition> <ParameterCondition parameterRef="" value="" rule="lessThan"/> </ByValueCondition> </Condition> <Condition name="criteria_KeepLaneTest" delay="0" conditionEdge="rising"> <ByValueCondition> <ParameterCondition parameterRef="" value="" rule="lessThan"/> </ByValueCondition> </Condition> <Condition name="criteria_CollisionTest" delay="0" conditionEdge="rising"> <ByValueCondition> <ParameterCondition parameterRef="" value="" rule="lessThan"/> </ByValueCondition> </Condition> <Condition name="criteria_DrivenDistanceTest" delay="0" conditionEdge="rising"> <ByValueCondition> <ParameterCondition parameterRef="distance_success" value="100" rule="lessThan"/> </ByValueCondition> </Condition> </ConditionGroup> </StopTrigger> </Storyboard> </OpenSCENARIO> ```
add pedestrian at location (96.96, 8.52, 0.5)? ``` <?xml version="1.0" ?> <OpenSCENARIO> <FileHeader revMajor="1" revMinor="0" date="2020-03-24T12:00:00" description="CARLA:LaneChangeSimple" author=""/> <ParameterDeclarations/> <CatalogLocations/> <RoadNetwork> <LogicFile filepath="Town04"/> <SceneGraphFile filepath=""/> </RoadNetwork> <Entities> <ScenarioObject name="hero"> <Vehicle name="vehicle.tesla.model3" vehicleCategory="car"> <ParameterDeclarations/> <Performance maxSpeed="69.444" maxAcceleration="200" maxDeceleration="10.0"/> <BoundingBox> <Center x="1.5" y="0.0" z="0.9"/> <Dimensions width="2.1" length="4.5" height="1.8"/> </BoundingBox> <Axles> <FrontAxle maxSteering="0.5" wheelDiameter="0.6" trackWidth="1.8" positionX="3.1" positionZ="0.3"/> <RearAxle maxSteering="0.0" wheelDiameter="0.6" trackWidth="1.8" positionX="0.0" positionZ="0.3"/> </Axles> <Properties> <Property name="type" value="ego_vehicle"/> </Properties> </Vehicle> </ScenarioObject> <ScenarioObject name="adversary"> <Vehicle name="vehicle.lincoln.mkz_2017" vehicleCategory="car"> <ParameterDeclarations/> <Performance maxSpeed="69.444" maxAcceleration="200" maxDeceleration="10.0"/> <BoundingBox> <Center x="1.5" y="0.0" z="0.9"/> <Dimensions width="2.1" length="4.5" height="1.8"/> </BoundingBox> <Axles> <FrontAxle maxSteering="0.5" wheelDiameter="0.6" trackWidth="1.8" positionX="3.1" positionZ="0.3"/> <RearAxle maxSteering="0.0" wheelDiameter="0.6" trackWidth="1.8" positionX="0.0" positionZ="0.3"/> </Axles> <Properties> <Property name="type" value="simulation"/> </Properties> </Vehicle> </ScenarioObject> <ScenarioObject name="standing"> <Vehicle name="vehicle.volkswagen.t2" vehicleCategory="car"> <ParameterDeclarations/> <Performance maxSpeed="69.444" maxAcceleration="200" maxDeceleration="10.0"/> <BoundingBox> <Center x="1.5" y="0.0" z="0.9"/> <Dimensions width="2.1" length="4.5" height="1.8"/> </BoundingBox> <Axles> <FrontAxle maxSteering="0.5" wheelDiameter="0.6" trackWidth="1.8" positionX="3.1" positionZ="0.3"/> <RearAxle maxSteering="0.0" wheelDiameter="0.6" trackWidth="1.8" positionX="0.0" positionZ="0.3"/> </Axles> <Properties> <Property name="type" value="simulation"/> </Properties> </Vehicle> </ScenarioObject> <ScenarioObject name="pedestrian_close_to_hero_22312"> <Pedestrian model="walker.pedestrian.0001" mass="80" name="walker.pedestrian.0001" pedestrianCategory="pedestrian"> <ParameterDeclarations/> <BoundingBox> <Center x="1.5" y="0.0" z="0.9"/> <Dimensions width="2" length="2" height="2"/> </BoundingBox> <Properties> <Property name="type" value="simulation"/> </Properties> </Pedestrian> </ScenarioObject> <ScenarioObject name="pedestrian_w_transform_22313"> <Pedestrian model="walker.pedestrian.0001" mass="80" name="walker.pedestrian.0001" pedestrianCategory="pedestrian"> <ParameterDeclarations/> <BoundingBox> <Center x="1.5" y="0.0" z="0.9"/> <Dimensions width="2" length="2" height="2"/> </BoundingBox> <Properties> <Property name="type" value="simulation"/> </Properties> </Pedestrian> </ScenarioObject> <ScenarioObject name="pedestrian_w_transform_22314"> <Pedestrian model="walker.pedestrian.0001" mass="80" name="walker.pedestrian.0001" pedestrianCategory="pedestrian"> <ParameterDeclarations/> <BoundingBox> <Center x="1.5" y="0.0" z="0.9"/> <Dimensions width="2" length="2" height="2"/> </BoundingBox> <Properties> <Property name="type" value="simulation"/> </Properties> </Pedestrian> </ScenarioObject> <ScenarioObject name="pedestrian_close_to_standing_22315"> <Pedestrian model="walker.pedestrian.0001" mass="80" name="walker.pedestrian.0001" pedestrianCategory="pedestrian"> <ParameterDeclarations/> <BoundingBox> <Center x="1.5" y="0.0" z="0.9"/> <Dimensions width="2" length="2" height="2"/> </BoundingBox> <Properties> <Property name="type" value="simulation"/> </Properties> </Pedestrian> </ScenarioObject> <ScenarioObject name="pedestrian_close_to_hero_22316"> <Pedestrian model="walker.pedestrian.0001" mass="80" name="walker.pedestrian.0001" pedestrianCategory="pedestrian"> <ParameterDeclarations/> <BoundingBox> <Center x="1.5" y="0.0" z="0.9"/> <Dimensions width="2" length="2" height="2"/> </BoundingBox> <Properties> <Property name="type" value="simulation"/> </Properties> </Pedestrian> </ScenarioObject> <ScenarioObject name="pedestrian_w_transform_22317"> <Pedestrian model="walker.pedestrian.0001" mass="80" name="walker.pedestrian.0001" pedestrianCategory="pedestrian"> <ParameterDeclarations/> <BoundingBox> <Center x="1.5" y="0.0" z="0.9"/> <Dimensions width="2" length="2" height="2"/> </BoundingBox> <Properties> <Property name="type" value="simulation"/> </Properties> </Pedestrian> </ScenarioObject> <ScenarioObject name="pedestrian_w_transform_22318"> <Pedestrian model="walker.pedestrian.0001" mass="80" name="walker.pedestrian.0001" pedestrianCategory="pedestrian"> <ParameterDeclarations/> <BoundingBox> <Center x="1.5" y="0.0" z="0.9"/> <Dimensions width="2" length="2" height="2"/> </BoundingBox> <Properties> <Property name="type" value="simulation"/> </Properties> </Pedestrian> </ScenarioObject> <ScenarioObject name="pedestrian_w_transform_22319"> <Pedestrian model="walker.pedestrian.0001" mass="80" name="walker.pedestrian.0001" pedestrianCategory="pedestrian"> <ParameterDeclarations/> <BoundingBox> <Center x="1.5" y="0.0" z="0.9"/> <Dimensions width="2" length="2" height="2"/> </BoundingBox> <Properties> <Property name="type" value="simulation"/> </Properties> </Pedestrian> </ScenarioObject> <ScenarioObject name="pedestrian_close_to_standing_22320"> <Pedestrian model="walker.pedestrian.0001" mass="80" name="walker.pedestrian.0001" pedestrianCategory="pedestrian"> <ParameterDeclarations/> <BoundingBox> <Center x="1.5" y="0.0" z="0.9"/> <Dimensions width="2" length="2" height="2"/> </BoundingBox> <Properties> <Property name="type" value="simulation"/> </Properties> </Pedestrian> </ScenarioObject> <ScenarioObject name="pedestrian_close_to_standing_22321"> <Pedestrian model="walker.pedestrian.0001" mass="80" name="walker.pedestrian.0001" pedestrianCategory="pedestrian"> <ParameterDeclarations/> <BoundingBox> <Center x="1.5" y="0.0" z="0.9"/> <Dimensions width="2" length="2" height="2"/> </BoundingBox> <Properties> <Property name="type" value="simulation"/> </Properties> </Pedestrian> </ScenarioObject> <ScenarioObject name="pedestrian_w_transform_22322"> <Pedestrian model="walker.pedestrian.0001" mass="80" name="walker.pedestrian.0001" pedestrianCategory="pedestrian"> <ParameterDeclarations/> <BoundingBox> <Center x="1.5" y="0.0" z="0.9"/> <Dimensions width="2" length="2" height="2"/> </BoundingBox> <Properties> <Property name="type" value="simulation"/> </Properties> </Pedestrian> </ScenarioObject> <ScenarioObject name="pedestrian_w_transform_22323"> <Pedestrian model="walker.pedestrian.0001" mass="80" name="walker.pedestrian.0001" pedestrianCategory="pedestrian"> <ParameterDeclarations/> <BoundingBox> <Center x="1.5" y="0.0" z="0.9"/> <Dimensions width="2" length="2" height="2"/> </BoundingBox> <Properties> <Property name="type" value="simulation"/> </Properties> </Pedestrian> </ScenarioObject> <ScenarioObject name="pedestrian_close_to_hero_22324"> <Pedestrian model="walker.pedestrian.0001" mass="80" name="walker.pedestrian.0001" pedestrianCategory="pedestrian"> <ParameterDeclarations/> <BoundingBox> <Center x="1.5" y="0.0" z="0.9"/> <Dimensions width="2" length="2" height="2"/> </BoundingBox> <Properties> <Property name="type" value="simulation"/> </Properties> </Pedestrian> </ScenarioObject> <ScenarioObject name="pedestrian_close_to_standing_22325"> <Pedestrian model="walker.pedestrian.0001" mass="80" name="walker.pedestrian.0001" pedestrianCategory="pedestrian"> <ParameterDeclarations/> <BoundingBox> <Center x="1.5" y="0.0" z="0.9"/> <Dimensions width="2" length="2" height="2"/> </BoundingBox> <Properties> <Property name="type" value="simulation"/> </Properties> </Pedestrian> </ScenarioObject> <ScenarioObject name="pedestrian_close_to_standing_22326"> <Pedestrian model="walker.pedestrian.0001" mass="80" name="walker.pedestrian.0001" pedestrianCategory="pedestrian"> <ParameterDeclarations/> <BoundingBox> <Center x="1.5" y="0.0" z="0.9"/> <Dimensions width="2" length="2" height="2"/> </BoundingBox> <Properties> <Property name="type" value="simulation"/> </Properties> </Pedestrian> </ScenarioObject> <ScenarioObject name="pedestrian_w_transform_22327"> <Pedestrian model="walker.pedestrian.0001" mass="80" name="walker.pedestrian.0001" pedestrianCategory="pedestrian"> <ParameterDeclarations/> <BoundingBox> <Center x="1.5" y="0.0" z="0.9"/> <Dimensions width="2" length="2" height="2"/> </BoundingBox> <Properties> <Property name="type" value="simulation"/> </Properties> </Pedestrian> </ScenarioObject> </Entities> <Storyboard> <Init> <Actions> <GlobalAction> <EnvironmentAction> <Environment name="Environment1"> <TimeOfDay animation="false" dateTime="2019-06-25T12:00:00"/> <Weather cloudState="free"> <Sun intensity="0.85" azimuth="0" elevation="1.31"/> <Fog visualRange="100000.0"/> <Precipitation precipitationType="dry" intensity="0.0"/> </Weather> <RoadCondition frictionScaleFactor="1.0"/> </Environment> </EnvironmentAction> </GlobalAction> <Private entityRef="hero"> <PrivateAction> <TeleportAction> <Position> <WorldPosition x="-9.4" y="-152.8" z="0.5" h="1.57079632679"/> </Position> </TeleportAction> </PrivateAction> <PrivateAction> <ControllerAction> <AssignControllerAction> <Controller name="HeroAgent"> <Properties> <Property name="module" value="external_control"/> </Properties> </Controller> </AssignControllerAction> <OverrideControllerValueAction> <Throttle value="0" active="false"/> <Brake value="0" active="false"/> <Clutch value="0" active="false"/> <ParkingBrake value="0" active="false"/> <SteeringWheel value="0" active="false"/> <Gear number="0" active="false"/> </OverrideControllerValueAction> </ControllerAction> </PrivateAction> </Private> <Private entityRef="adversary"> <PrivateAction> <TeleportAction> <Position> <WorldPosition x="-9.4" y="-71.0" z="0.5" h="1.57079632679"/> </Position> </TeleportAction> </PrivateAction> </Private> <Private entityRef="standing"> <PrivateAction> <TeleportAction> <Position> <WorldPosition x="-8.2" y="29.2" z="0.5" h="1.57079632679"/> </Position> </TeleportAction> </PrivateAction> </Private> <Private entityRef="pedestrian_close_to_hero_22312"> <PrivateAction> <TeleportAction> <Position> <WorldPosition x="-3.5592947006225586" y="-152.28897094726562" z="0.0014286803780123591"/> </Position> </TeleportAction> </PrivateAction> </Private> <Private entityRef="pedestrian_w_transform_22313"> <PrivateAction> <TeleportAction> <Position> <WorldPosition x="76.44083404541016" y="-45.2336311340332" z="0.5"/> </Position> </TeleportAction> </PrivateAction> </Private> <Private entityRef="pedestrian_w_transform_22314"> <PrivateAction> <TeleportAction> <Position> <WorldPosition x="61.08929443359375" y="66.85436248779297" z="0.5"/> </Position> </TeleportAction> </PrivateAction> </Private> <Private entityRef="pedestrian_close_to_standing_22315"> <PrivateAction> <TeleportAction> <Position> <WorldPosition x="-14.977783203125" y="32.36625671386719" z="0.0030440902337431908"/> </Position> </TeleportAction> </PrivateAction> </Private> <Private entityRef="pedestrian_close_to_hero_22316"> <PrivateAction> <TeleportAction> <Position> <WorldPosition x="-5.955357074737549" y="-160.82679748535156" z="0.0014286803780123591"/> </Position> </TeleportAction> </PrivateAction> </Private> <Private entityRef="pedestrian_w_transform_22317"> <PrivateAction> <TeleportAction> <Position> <WorldPosition x="87.87495422363281" y="2.6312601566314697" z="0.5"/> </Position> </TeleportAction> </PrivateAction> </Private> <Private entityRef="pedestrian_w_transform_22318"> <PrivateAction> <TeleportAction> <Position> <WorldPosition x="-41.97370910644531" y="50.734527587890625" z="0.5"/> </Position> </TeleportAction> </PrivateAction> </Private> <Private entityRef="pedestrian_w_transform_22319"> <PrivateAction> <TeleportAction> <Position> <WorldPosition x="56.64495086669922" y="-98.30899810791016" z="0.5"/> </Position> </TeleportAction> </PrivateAction> </Private> <Private entityRef="pedestrian_close_to_standing_22320"> <PrivateAction> <TeleportAction> <Position> <WorldPosition x="-11.105751991271973" y="39.054630279541016" z="0.0030258940532803535"/> </Position> </TeleportAction> </PrivateAction> </Private> <Private entityRef="pedestrian_close_to_standing_22321"> <PrivateAction> <TeleportAction> <Position> <WorldPosition x="-8.515600204467773" y="24.81248664855957" z="0.003021850483492017"/> </Position> </TeleportAction> </PrivateAction> </Private> <Private entityRef="pedestrian_w_transform_22322"> <PrivateAction> <TeleportAction> <Position> <WorldPosition x="-45.0340690612793" y="92.00672149658203" z="0.5"/> </Position> </TeleportAction> </PrivateAction> </Private> <Private entityRef="pedestrian_w_transform_22323"> <PrivateAction> <TeleportAction> <Position> <WorldPosition x="-60.516422271728516" y="-81.06587219238281" z="0.5"/> </Position> </TeleportAction> </PrivateAction> </Private> <Private entityRef="pedestrian_close_to_hero_22324"> <PrivateAction> <TeleportAction> <Position> <WorldPosition x="-16.825544357299805" y="-145.5976104736328" z="0.0014286803780123591"/> </Position> </TeleportAction> </PrivateAction> </Private> <Private entityRef="pedestrian_close_to_standing_22325"> <PrivateAction> <TeleportAction> <Position> <WorldPosition x="-15.53736686706543" y="29.395606994628906" z="0.00304973591119051"/> </Position> </TeleportAction> </PrivateAction> </Private> <Private entityRef="pedestrian_close_to_standing_22326"> <PrivateAction> <TeleportAction> <Position> <WorldPosition x="-10.503854751586914" y="27.55170249938965" z="0.0030540083535015583"/> </Position> </TeleportAction> </PrivateAction> </Private> <Private entityRef="pedestrian_w_transform_22327"> <PrivateAction> <TeleportAction> <Position> <WorldPosition x="-93.69062805175781" y="91.358642578125" z="0.5"/> </Position> </TeleportAction> </PrivateAction> </Private> </Actions> </Init> <Story name="MyStory"> <Act name="Behavior"> <ManeuverGroup maximumExecutionCount="1" name="ManeuverSequence"> <Actors selectTriggeringEntities="false"> <EntityRef entityRef="adversary"/> </Actors> <Maneuver name="LaneChangeSimpleManeuver"> <Event name="AdversaryAccelerates" priority="overwrite"> <Action name="AdversaryAccelerates"> <PrivateAction> <LongitudinalAction> <SpeedAction> <SpeedActionDynamics dynamicsShape="step" value="50" dynamicsDimension="distance"/> <SpeedActionTarget> <AbsoluteTargetSpeed value="5.0"/> </SpeedActionTarget> </SpeedAction> </LongitudinalAction> </PrivateAction> </Action> <StartTrigger> <ConditionGroup> <Condition name="StartCondition" delay="0" conditionEdge="rising"> <ByEntityCondition> <TriggeringEntities triggeringEntitiesRule="any"> <EntityRef entityRef="hero"/> </TriggeringEntities> <EntityCondition> <RelativeDistanceCondition entityRef="adversary" relativeDistanceType="cartesianDistance" value="40.0" freespace="false" rule="lessThan"/> </EntityCondition> </ByEntityCondition> </Condition> </ConditionGroup> </StartTrigger> </Event> <Event name="AdversaryChangesLane" priority="overwrite"> <Action name="AdversaryChangesLane"> <PrivateAction> <LateralAction> <LaneChangeAction> <LaneChangeActionDynamics dynamicsShape="linear" value="25" dynamicsDimension="distance"/> <LaneChangeTarget> <RelativeTargetLane entityRef="adversary" value="-1"/> </LaneChangeTarget> </LaneChangeAction> </LateralAction> </PrivateAction> </Action> <StartTrigger> <ConditionGroup> <Condition name="AfterAdversaryAccelerates" delay="0" conditionEdge="rising"> <ByValueCondition> <StoryboardElementStateCondition storyboardElementType="action" storyboardElementRef="AdversaryAccelerates" state="completeState"/> </ByValueCondition> </Condition> </ConditionGroup> </StartTrigger> </Event> </Maneuver> </ManeuverGroup> <StartTrigger> <ConditionGroup> <Condition name="OverallStartCondition" delay="0" conditionEdge="rising"> <ByEntityCondition> <TriggeringEntities triggeringEntitiesRule="any"> <EntityRef entityRef="hero"/> </TriggeringEntities> <EntityCondition> <TraveledDistanceCondition value="1.0"/> </EntityCondition> </ByEntityCondition> </Condition> <Condition name="StartTime" delay="0" conditionEdge="rising"> <ByValueCondition> <SimulationTimeCondition value="0" rule="equalTo"/> </ByValueCondition> </Condition> </ConditionGroup> </StartTrigger> <StopTrigger> <ConditionGroup> <Condition name="EndCondition" delay="0" conditionEdge="rising"> <ByEntityCondition> <TriggeringEntities triggeringEntitiesRule="any"> <EntityRef entityRef="hero"/> </TriggeringEntities> <EntityCondition> <TraveledDistanceCondition value="200.0"/> </EntityCondition> </ByEntityCondition> </Condition> </ConditionGroup> </StopTrigger> </Act> </Story> <StopTrigger> <ConditionGroup> <Condition name="criteria_RunningStopTest" delay="0" conditionEdge="rising"> <ByValueCondition> <ParameterCondition parameterRef="" value="" rule="lessThan"/> </ByValueCondition> </Condition> <Condition name="criteria_RunningRedLightTest" delay="0" conditionEdge="rising"> <ByValueCondition> <ParameterCondition parameterRef="" value="" rule="lessThan"/> </ByValueCondition> </Condition> <Condition name="criteria_WrongLaneTest" delay="0" conditionEdge="rising"> <ByValueCondition> <ParameterCondition parameterRef="" value="" rule="lessThan"/> </ByValueCondition> </Condition> <Condition name="criteria_OnSidewalkTest" delay="0" conditionEdge="rising"> <ByValueCondition> <ParameterCondition parameterRef="" value="" rule="lessThan"/> </ByValueCondition> </Condition> <Condition name="criteria_KeepLaneTest" delay="0" conditionEdge="rising"> <ByValueCondition> <ParameterCondition parameterRef="" value="" rule="lessThan"/> </ByValueCondition> </Condition> <Condition name="criteria_CollisionTest" delay="0" conditionEdge="rising"> <ByValueCondition> <ParameterCondition parameterRef="" value="" rule="lessThan"/> </ByValueCondition> </Condition> <Condition name="criteria_DrivenDistanceTest" delay="0" conditionEdge="rising"> <ByValueCondition> <ParameterCondition parameterRef="distance_success" value="100" rule="lessThan"/> </ByValueCondition> </Condition> </ConditionGroup> </StopTrigger> </Storyboard> </OpenSCENARIO> ```
Here is the result: ``` <?xml version="1.0" ?> <OpenSCENARIO> <FileHeader revMajor="1" revMinor="0" date="2020-03-24T12:00:00" description="CARLA:LaneChangeSimple" author=""/> <ParameterDeclarations/> <CatalogLocations/> <RoadNetwork> <LogicFile filepath="Town04"/> <SceneGraphFile filepath=""/> </RoadNetwork> <Entities> <ScenarioObject name="hero"> <Vehicle name="vehicle.tesla.model3" vehicleCategory="car"> <ParameterDeclarations/> <Performance maxSpeed="69.444" maxAcceleration="200" maxDeceleration="10.0"/> <BoundingBox> <Center x="1.5" y="0.0" z="0.9"/> <Dimensions width="2.1" length="4.5" height="1.8"/> </BoundingBox> <Axles> <FrontAxle maxSteering="0.5" wheelDiameter="0.6" trackWidth="1.8" positionX="3.1" positionZ="0.3"/> <RearAxle maxSteering="0.0" wheelDiameter="0.6" trackWidth="1.8" positionX="0.0" positionZ="0.3"/> </Axles> <Properties> <Property name="type" value="ego_vehicle"/> </Properties> </Vehicle> </ScenarioObject> <ScenarioObject name="adversary"> <Vehicle name="vehicle.lincoln.mkz_2017" vehicleCategory="car"> <ParameterDeclarations/> <Performance maxSpeed="69.444" maxAcceleration="200" maxDeceleration="10.0"/> <BoundingBox> <Center x="1.5" y="0.0" z="0.9"/> <Dimensions width="2.1" length="4.5" height="1.8"/> </BoundingBox> <Axles> <FrontAxle maxSteering="0.5" wheelDiameter="0.6" trackWidth="1.8" positionX="3.1" positionZ="0.3"/> <RearAxle maxSteering="0.0" wheelDiameter="0.6" trackWidth="1.8" positionX="0.0" positionZ="0.3"/> </Axles> <Properties> <Property name="type" value="simulation"/> </Properties> </Vehicle> </ScenarioObject> <ScenarioObject name="standing"> <Vehicle name="vehicle.volkswagen.t2" vehicleCategory="car"> <ParameterDeclarations/> <Performance maxSpeed="69.444" maxAcceleration="200" maxDeceleration="10.0"/> <BoundingBox> <Center x="1.5" y="0.0" z="0.9"/> <Dimensions width="2.1" length="4.5" height="1.8"/> </BoundingBox> <Axles> <FrontAxle maxSteering="0.5" wheelDiameter="0.6" trackWidth="1.8" positionX="3.1" positionZ="0.3"/> <RearAxle maxSteering="0.0" wheelDiameter="0.6" trackWidth="1.8" positionX="0.0" positionZ="0.3"/> </Axles> <Properties> <Property name="type" value="simulation"/> </Properties> </Vehicle> </ScenarioObject> <ScenarioObject name="pedestrian_close_to_hero_22312"> <Pedestrian model="walker.pedestrian.0001" mass="80" name="walker.pedestrian.0001" pedestrianCategory="pedestrian"> <ParameterDeclarations/> <BoundingBox> <Center x="1.5" y="0.0" z="0.9"/> <Dimensions width="2" length="2" height="2"/> </BoundingBox> <Properties> <Property name="type" value="simulation"/> </Properties> </Pedestrian> </ScenarioObject> <ScenarioObject name="pedestrian_w_transform_22313"> <Pedestrian model="walker.pedestrian.0001" mass="80" name="walker.pedestrian.0001" pedestrianCategory="pedestrian"> <ParameterDeclarations/> <BoundingBox> <Center x="1.5" y="0.0" z="0.9"/> <Dimensions width="2" length="2" height="2"/> </BoundingBox> <Properties> <Property name="type" value="simulation"/> </Properties> </Pedestrian> </ScenarioObject> <ScenarioObject name="pedestrian_w_transform_22314"> <Pedestrian model="walker.pedestrian.0001" mass="80" name="walker.pedestrian.0001" pedestrianCategory="pedestrian"> <ParameterDeclarations/> <BoundingBox> <Center x="1.5" y="0.0" z="0.9"/> <Dimensions width="2" length="2" height="2"/> </BoundingBox> <Properties> <Property name="type" value="simulation"/> </Properties> </Pedestrian> </ScenarioObject> <ScenarioObject name="pedestrian_close_to_standing_22315"> <Pedestrian model="walker.pedestrian.0001" mass="80" name="walker.pedestrian.0001" pedestrianCategory="pedestrian"> <ParameterDeclarations/> <BoundingBox> <Center x="1.5" y="0.0" z="0.9"/> <Dimensions width="2" length="2" height="2"/> </BoundingBox> <Properties> <Property name="type" value="simulation"/> </Properties> </Pedestrian> </ScenarioObject> <ScenarioObject name="pedestrian_close_to_hero_22316"> <Pedestrian model="walker.pedestrian.0001" mass="80" name="walker.pedestrian.0001" pedestrianCategory="pedestrian"> <ParameterDeclarations/> <BoundingBox> <Center x="1.5" y="0.0" z="0.9"/> <Dimensions width="2" length="2" height="2"/> </BoundingBox> <Properties> <Property name="type" value="simulation"/> </Properties> </Pedestrian> </ScenarioObject> <ScenarioObject name="pedestrian_w_transform_22317"> <Pedestrian model="walker.pedestrian.0001" mass="80" name="walker.pedestrian.0001" pedestrianCategory="pedestrian"> <ParameterDeclarations/> <BoundingBox> <Center x="1.5" y="0.0" z="0.9"/> <Dimensions width="2" length="2" height="2"/> </BoundingBox> <Properties> <Property name="type" value="simulation"/> </Properties> </Pedestrian> </ScenarioObject> <ScenarioObject name="pedestrian_w_transform_22318"> <Pedestrian model="walker.pedestrian.0001" mass="80" name="walker.pedestrian.0001" pedestrianCategory="pedestrian"> <ParameterDeclarations/> <BoundingBox> <Center x="1.5" y="0.0" z="0.9"/> <Dimensions width="2" length="2" height="2"/> </BoundingBox> <Properties> <Property name="type" value="simulation"/> </Properties> </Pedestrian> </ScenarioObject> <ScenarioObject name="pedestrian_w_transform_22319"> <Pedestrian model="walker.pedestrian.0001" mass="80" name="walker.pedestrian.0001" pedestrianCategory="pedestrian"> <ParameterDeclarations/> <BoundingBox> <Center x="1.5" y="0.0" z="0.9"/> <Dimensions width="2" length="2" height="2"/> </BoundingBox> <Properties> <Property name="type" value="simulation"/> </Properties> </Pedestrian> </ScenarioObject> <ScenarioObject name="pedestrian_close_to_standing_22320"> <Pedestrian model="walker.pedestrian.0001" mass="80" name="walker.pedestrian.0001" pedestrianCategory="pedestrian"> <ParameterDeclarations/> <BoundingBox> <Center x="1.5" y="0.0" z="0.9"/> <Dimensions width="2" length="2" height="2"/> </BoundingBox> <Properties> <Property name="type" value="simulation"/> </Properties> </Pedestrian> </ScenarioObject> <ScenarioObject name="pedestrian_close_to_standing_22321"> <Pedestrian model="walker.pedestrian.0001" mass="80" name="walker.pedestrian.0001" pedestrianCategory="pedestrian"> <ParameterDeclarations/> <BoundingBox> <Center x="1.5" y="0.0" z="0.9"/> <Dimensions width="2" length="2" height="2"/> </BoundingBox> <Properties> <Property name="type" value="simulation"/> </Properties> </Pedestrian> </ScenarioObject> <ScenarioObject name="pedestrian_w_transform_22322"> <Pedestrian model="walker.pedestrian.0001" mass="80" name="walker.pedestrian.0001" pedestrianCategory="pedestrian"> <ParameterDeclarations/> <BoundingBox> <Center x="1.5" y="0.0" z="0.9"/> <Dimensions width="2" length="2" height="2"/> </BoundingBox> <Properties> <Property name="type" value="simulation"/> </Properties> </Pedestrian> </ScenarioObject> <ScenarioObject name="pedestrian_w_transform_22323"> <Pedestrian model="walker.pedestrian.0001" mass="80" name="walker.pedestrian.0001" pedestrianCategory="pedestrian"> <ParameterDeclarations/> <BoundingBox> <Center x="1.5" y="0.0" z="0.9"/> <Dimensions width="2" length="2" height="2"/> </BoundingBox> <Properties> <Property name="type" value="simulation"/> </Properties> </Pedestrian> </ScenarioObject> <ScenarioObject name="pedestrian_close_to_hero_22324"> <Pedestrian model="walker.pedestrian.0001" mass="80" name="walker.pedestrian.0001" pedestrianCategory="pedestrian"> <ParameterDeclarations/> <BoundingBox> <Center x="1.5" y="0.0" z="0.9"/> <Dimensions width="2" length="2" height="2"/> </BoundingBox> <Properties> <Property name="type" value="simulation"/> </Properties> </Pedestrian> </ScenarioObject> <ScenarioObject name="pedestrian_close_to_standing_22325"> <Pedestrian model="walker.pedestrian.0001" mass="80" name="walker.pedestrian.0001" pedestrianCategory="pedestrian"> <ParameterDeclarations/> <BoundingBox> <Center x="1.5" y="0.0" z="0.9"/> <Dimensions width="2" length="2" height="2"/> </BoundingBox> <Properties> <Property name="type" value="simulation"/> </Properties> </Pedestrian> </ScenarioObject> <ScenarioObject name="pedestrian_close_to_standing_22326"> <Pedestrian model="walker.pedestrian.0001" mass="80" name="walker.pedestrian.0001" pedestrianCategory="pedestrian"> <ParameterDeclarations/> <BoundingBox> <Center x="1.5" y="0.0" z="0.9"/> <Dimensions width="2" length="2" height="2"/> </BoundingBox> <Properties> <Property name="type" value="simulation"/> </Properties> </Pedestrian> </ScenarioObject> <ScenarioObject name="pedestrian_w_transform_22327"> <Pedestrian model="walker.pedestrian.0001" mass="80" name="walker.pedestrian.0001" pedestrianCategory="pedestrian"> <ParameterDeclarations/> <BoundingBox> <Center x="1.5" y="0.0" z="0.9"/> <Dimensions width="2" length="2" height="2"/> </BoundingBox> <Properties> <Property name="type" value="simulation"/> </Properties> </Pedestrian> </ScenarioObject> <ScenarioObject name="pedestrian_w_transform_22328"> <Pedestrian model="walker.pedestrian.0001" mass="80" name="walker.pedestrian.0001" pedestrianCategory="pedestrian"> <ParameterDeclarations/> <BoundingBox> <Center x="1.5" y="0.0" z="0.9"/> <Dimensions width="2" length="2" height="2"/> </BoundingBox> <Properties> <Property name="type" value="simulation"/> </Properties> </Pedestrian> </ScenarioObject> </Entities> <Storyboard> <Init> <Actions> <GlobalAction> <EnvironmentAction> <Environment name="Environment1"> <TimeOfDay animation="false" dateTime="2019-06-25T12:00:00"/> <Weather cloudState="free"> <Sun intensity="0.85" azimuth="0" elevation="1.31"/> <Fog visualRange="100000.0"/> <Precipitation precipitationType="dry" intensity="0.0"/> </Weather> <RoadCondition frictionScaleFactor="1.0"/> </Environment> </EnvironmentAction> </GlobalAction> <Private entityRef="hero"> <PrivateAction> <TeleportAction> <Position> <WorldPosition x="-9.4" y="-152.8" z="0.5" h="1.57079632679"/> </Position> </TeleportAction> </PrivateAction> <PrivateAction> <ControllerAction> <AssignControllerAction> <Controller name="HeroAgent"> <Properties> <Property name="module" value="external_control"/> </Properties> </Controller> </AssignControllerAction> <OverrideControllerValueAction> <Throttle value="0" active="false"/> <Brake value="0" active="false"/> <Clutch value="0" active="false"/> <ParkingBrake value="0" active="false"/> <SteeringWheel value="0" active="false"/> <Gear number="0" active="false"/> </OverrideControllerValueAction> </ControllerAction> </PrivateAction> </Private> <Private entityRef="adversary"> <PrivateAction> <TeleportAction> <Position> <WorldPosition x="-9.4" y="-71.0" z="0.5" h="1.57079632679"/> </Position> </TeleportAction> </PrivateAction> </Private> <Private entityRef="standing"> <PrivateAction> <TeleportAction> <Position> <WorldPosition x="-8.2" y="29.2" z="0.5" h="1.57079632679"/> </Position> </TeleportAction> </PrivateAction> </Private> <Private entityRef="pedestrian_close_to_hero_22312"> <PrivateAction> <TeleportAction> <Position> <WorldPosition x="-3.5592947006225586" y="-152.28897094726562" z="0.0014286803780123591"/> </Position> </TeleportAction> </PrivateAction> </Private> <Private entityRef="pedestrian_w_transform_22313"> <PrivateAction> <TeleportAction> <Position> <WorldPosition x="76.44083404541016" y="-45.2336311340332" z="0.5"/> </Position> </TeleportAction> </PrivateAction> </Private> <Private entityRef="pedestrian_w_transform_22314"> <PrivateAction> <TeleportAction> <Position> <WorldPosition x="61.08929443359375" y="66.85436248779297" z="0.5"/> </Position> </TeleportAction> </PrivateAction> </Private> <Private entityRef="pedestrian_close_to_standing_22315"> <PrivateAction> <TeleportAction> <Position> <WorldPosition x="-14.977783203125" y="32.36625671386719" z="0.0030440902337431908"/> </Position> </TeleportAction> </PrivateAction> </Private> <Private entityRef="pedestrian_close_to_hero_22316"> <PrivateAction> <TeleportAction> <Position> <WorldPosition x="-5.955357074737549" y="-160.82679748535156" z="0.0014286803780123591"/> </Position> </TeleportAction> </PrivateAction> </Private> <Private entityRef="pedestrian_w_transform_22317"> <PrivateAction> <TeleportAction> <Position> <WorldPosition x="87.87495422363281" y="2.6312601566314697" z="0.5"/> </Position> </TeleportAction> </PrivateAction> </Private> <Private entityRef="pedestrian_w_transform_22318"> <PrivateAction> <TeleportAction> <Position> <WorldPosition x="-41.97370910644531" y="50.734527587890625" z="0.5"/> </Position> </TeleportAction> </PrivateAction> </Private> <Private entityRef="pedestrian_w_transform_22319"> <PrivateAction> <TeleportAction> <Position> <WorldPosition x="56.64495086669922" y="-98.30899810791016" z="0.5"/> </Position> </TeleportAction> </PrivateAction> </Private> <Private entityRef="pedestrian_close_to_standing_22320"> <PrivateAction> <TeleportAction> <Position> <WorldPosition x="-11.105751991271973" y="39.054630279541016" z="0.0030258940532803535"/> </Position> </TeleportAction> </PrivateAction> </Private> <Private entityRef="pedestrian_close_to_standing_22321"> <PrivateAction> <TeleportAction> <Position> <WorldPosition x="-8.515600204467773" y="24.81248664855957" z="0.003021850483492017"/> </Position> </TeleportAction> </PrivateAction> </Private> <Private entityRef="pedestrian_w_transform_22322"> <PrivateAction> <TeleportAction> <Position> <WorldPosition x="-45.0340690612793" y="92.00672149658203" z="0.5"/> </Position> </TeleportAction> </PrivateAction> </Private> <Private entityRef="pedestrian_w_transform_22323"> <PrivateAction> <TeleportAction> <Position> <WorldPosition x="-60.516422271728516" y="-81.06587219238281" z="0.5"/> </Position> </TeleportAction> </PrivateAction> </Private> <Private entityRef="pedestrian_close_to_hero_22324"> <PrivateAction> <TeleportAction> <Position> <WorldPosition x="-16.825544357299805" y="-145.5976104736328" z="0.0014286803780123591"/> </Position> </TeleportAction> </PrivateAction> </Private> <Private entityRef="pedestrian_close_to_standing_22325"> <PrivateAction> <TeleportAction> <Position> <WorldPosition x="-15.53736686706543" y="29.395606994628906" z="0.00304973591119051"/> </Position> </TeleportAction> </PrivateAction> </Private> <Private entityRef="pedestrian_close_to_standing_22326"> <PrivateAction> <TeleportAction> <Position> <WorldPosition x="-10.503854751586914" y="27.55170249938965" z="0.0030540083535015583"/> </Position> </TeleportAction> </PrivateAction> </Private> <Private entityRef="pedestrian_w_transform_22327"> <PrivateAction> <TeleportAction> <Position> <WorldPosition x="-93.69062805175781" y="91.358642578125" z="0.5"/> </Position> </TeleportAction> </PrivateAction> </Private> <Private entityRef="pedestrian_w_transform_22328"> <PrivateAction> <TeleportAction> <Position> <WorldPosition x="96.96090698242188" y="8.523127555847168" z="0.5"/> </Position> </TeleportAction> </PrivateAction> </Private> </Actions> </Init> <Story name="MyStory"> <Act name="Behavior"> <ManeuverGroup maximumExecutionCount="1" name="ManeuverSequence"> <Actors selectTriggeringEntities="false"> <EntityRef entityRef="adversary"/> </Actors> <Maneuver name="LaneChangeSimpleManeuver"> <Event name="AdversaryAccelerates" priority="overwrite"> <Action name="AdversaryAccelerates"> <PrivateAction> <LongitudinalAction> <SpeedAction> <SpeedActionDynamics dynamicsShape="step" value="50" dynamicsDimension="distance"/> <SpeedActionTarget> <AbsoluteTargetSpeed value="5.0"/> </SpeedActionTarget> </SpeedAction> </LongitudinalAction> </PrivateAction> </Action> <StartTrigger> <ConditionGroup> <Condition name="StartCondition" delay="0" conditionEdge="rising"> <ByEntityCondition> <TriggeringEntities triggeringEntitiesRule="any"> <EntityRef entityRef="hero"/> </TriggeringEntities> <EntityCondition> <RelativeDistanceCondition entityRef="adversary" relativeDistanceType="cartesianDistance" value="40.0" freespace="false" rule="lessThan"/> </EntityCondition> </ByEntityCondition> </Condition> </ConditionGroup> </StartTrigger> </Event> <Event name="AdversaryChangesLane" priority="overwrite"> <Action name="AdversaryChangesLane"> <PrivateAction> <LateralAction> <LaneChangeAction> <LaneChangeActionDynamics dynamicsShape="linear" value="25" dynamicsDimension="distance"/> <LaneChangeTarget> <RelativeTargetLane entityRef="adversary" value="-1"/> </LaneChangeTarget> </LaneChangeAction> </LateralAction> </PrivateAction> </Action> <StartTrigger> <ConditionGroup> <Condition name="AfterAdversaryAccelerates" delay="0" conditionEdge="rising"> <ByValueCondition> <StoryboardElementStateCondition storyboardElementType="action" storyboardElementRef="AdversaryAccelerates" state="completeState"/> </ByValueCondition> </Condition> </ConditionGroup> </StartTrigger> </Event> </Maneuver> </ManeuverGroup> <StartTrigger> <ConditionGroup> <Condition name="OverallStartCondition" delay="0" conditionEdge="rising"> <ByEntityCondition> <TriggeringEntities triggeringEntitiesRule="any"> <EntityRef entityRef="hero"/> </TriggeringEntities> <EntityCondition> <TraveledDistanceCondition value="1.0"/> </EntityCondition> </ByEntityCondition> </Condition> <Condition name="StartTime" delay="0" conditionEdge="rising"> <ByValueCondition> <SimulationTimeCondition value="0" rule="equalTo"/> </ByValueCondition> </Condition> </ConditionGroup> </StartTrigger> <StopTrigger> <ConditionGroup> <Condition name="EndCondition" delay="0" conditionEdge="rising"> <ByEntityCondition> <TriggeringEntities triggeringEntitiesRule="any"> <EntityRef entityRef="hero"/> </TriggeringEntities> <EntityCondition> <TraveledDistanceCondition value="200.0"/> </EntityCondition> </ByEntityCondition> </Condition> </ConditionGroup> </StopTrigger> </Act> </Story> <StopTrigger> <ConditionGroup> <Condition name="criteria_RunningStopTest" delay="0" conditionEdge="rising"> <ByValueCondition> <ParameterCondition parameterRef="" value="" rule="lessThan"/> </ByValueCondition> </Condition> <Condition name="criteria_RunningRedLightTest" delay="0" conditionEdge="rising"> <ByValueCondition> <ParameterCondition parameterRef="" value="" rule="lessThan"/> </ByValueCondition> </Condition> <Condition name="criteria_WrongLaneTest" delay="0" conditionEdge="rising"> <ByValueCondition> <ParameterCondition parameterRef="" value="" rule="lessThan"/> </ByValueCondition> </Condition> <Condition name="criteria_OnSidewalkTest" delay="0" conditionEdge="rising"> <ByValueCondition> <ParameterCondition parameterRef="" value="" rule="lessThan"/> </ByValueCondition> </Condition> <Condition name="criteria_KeepLaneTest" delay="0" conditionEdge="rising"> <ByValueCondition> <ParameterCondition parameterRef="" value="" rule="lessThan"/> </ByValueCondition> </Condition> <Condition name="criteria_CollisionTest" delay="0" conditionEdge="rising"> <ByValueCondition> <ParameterCondition parameterRef="" value="" rule="lessThan"/> </ByValueCondition> </Condition> <Condition name="criteria_DrivenDistanceTest" delay="0" conditionEdge="rising"> <ByValueCondition> <ParameterCondition parameterRef="distance_success" value="100" rule="lessThan"/> </ByValueCondition> </Condition> </ConditionGroup> </StopTrigger> </Storyboard> </OpenSCENARIO> ```
would you remove pedestrian actor named pedestrian_w_transform_6786? ``` <?xml version="1.0" ?> <OpenSCENARIO> <FileHeader revMajor="1" revMinor="0" date="2020-03-24T12:00:00" description="CARLA:LaneChangeSimple" author=""/> <ParameterDeclarations/> <CatalogLocations/> <RoadNetwork> <LogicFile filepath="Town04"/> <SceneGraphFile filepath=""/> </RoadNetwork> <Entities> <ScenarioObject name="hero"> <Vehicle name="vehicle.tesla.model3" vehicleCategory="car"> <ParameterDeclarations/> <Performance maxSpeed="69.444" maxAcceleration="200" maxDeceleration="10.0"/> <BoundingBox> <Center x="1.5" y="0.0" z="0.9"/> <Dimensions width="2.1" length="4.5" height="1.8"/> </BoundingBox> <Axles> <FrontAxle maxSteering="0.5" wheelDiameter="0.6" trackWidth="1.8" positionX="3.1" positionZ="0.3"/> <RearAxle maxSteering="0.0" wheelDiameter="0.6" trackWidth="1.8" positionX="0.0" positionZ="0.3"/> </Axles> <Properties> <Property name="type" value="ego_vehicle"/> </Properties> </Vehicle> </ScenarioObject> <ScenarioObject name="adversary"> <Vehicle name="vehicle.lincoln.mkz_2017" vehicleCategory="car"> <ParameterDeclarations/> <Performance maxSpeed="69.444" maxAcceleration="200" maxDeceleration="10.0"/> <BoundingBox> <Center x="1.5" y="0.0" z="0.9"/> <Dimensions width="2.1" length="4.5" height="1.8"/> </BoundingBox> <Axles> <FrontAxle maxSteering="0.5" wheelDiameter="0.6" trackWidth="1.8" positionX="3.1" positionZ="0.3"/> <RearAxle maxSteering="0.0" wheelDiameter="0.6" trackWidth="1.8" positionX="0.0" positionZ="0.3"/> </Axles> <Properties> <Property name="type" value="simulation"/> </Properties> </Vehicle> </ScenarioObject> <ScenarioObject name="standing"> <Vehicle name="vehicle.volkswagen.t2" vehicleCategory="car"> <ParameterDeclarations/> <Performance maxSpeed="69.444" maxAcceleration="200" maxDeceleration="10.0"/> <BoundingBox> <Center x="1.5" y="0.0" z="0.9"/> <Dimensions width="2.1" length="4.5" height="1.8"/> </BoundingBox> <Axles> <FrontAxle maxSteering="0.5" wheelDiameter="0.6" trackWidth="1.8" positionX="3.1" positionZ="0.3"/> <RearAxle maxSteering="0.0" wheelDiameter="0.6" trackWidth="1.8" positionX="0.0" positionZ="0.3"/> </Axles> <Properties> <Property name="type" value="simulation"/> </Properties> </Vehicle> </ScenarioObject> <ScenarioObject name="pedestrian_close_to_adversary_6761"> <Pedestrian model="walker.pedestrian.0001" mass="80" name="walker.pedestrian.0001" pedestrianCategory="pedestrian"> <ParameterDeclarations/> <BoundingBox> <Center x="1.5" y="0.0" z="0.9"/> <Dimensions width="2" length="2" height="2"/> </BoundingBox> <Properties> <Property name="type" value="simulation"/> </Properties> </Pedestrian> </ScenarioObject> <ScenarioObject name="pedestrian_w_transform_6763"> <Pedestrian model="walker.pedestrian.0001" mass="80" name="walker.pedestrian.0001" pedestrianCategory="pedestrian"> <ParameterDeclarations/> <BoundingBox> <Center x="1.5" y="0.0" z="0.9"/> <Dimensions width="2" length="2" height="2"/> </BoundingBox> <Properties> <Property name="type" value="simulation"/> </Properties> </Pedestrian> </ScenarioObject> <ScenarioObject name="pedestrian_close_to_adversary_6764"> <Pedestrian model="walker.pedestrian.0001" mass="80" name="walker.pedestrian.0001" pedestrianCategory="pedestrian"> <ParameterDeclarations/> <BoundingBox> <Center x="1.5" y="0.0" z="0.9"/> <Dimensions width="2" length="2" height="2"/> </BoundingBox> <Properties> <Property name="type" value="simulation"/> </Properties> </Pedestrian> </ScenarioObject> <ScenarioObject name="pedestrian_w_transform_6765"> <Pedestrian model="walker.pedestrian.0001" mass="80" name="walker.pedestrian.0001" pedestrianCategory="pedestrian"> <ParameterDeclarations/> <BoundingBox> <Center x="1.5" y="0.0" z="0.9"/> <Dimensions width="2" length="2" height="2"/> </BoundingBox> <Properties> <Property name="type" value="simulation"/> </Properties> </Pedestrian> </ScenarioObject> <ScenarioObject name="pedestrian_w_transform_6766"> <Pedestrian model="walker.pedestrian.0001" mass="80" name="walker.pedestrian.0001" pedestrianCategory="pedestrian"> <ParameterDeclarations/> <BoundingBox> <Center x="1.5" y="0.0" z="0.9"/> <Dimensions width="2" length="2" height="2"/> </BoundingBox> <Properties> <Property name="type" value="simulation"/> </Properties> </Pedestrian> </ScenarioObject> <ScenarioObject name="pedestrian_close_to_adversary_6767"> <Pedestrian model="walker.pedestrian.0001" mass="80" name="walker.pedestrian.0001" pedestrianCategory="pedestrian"> <ParameterDeclarations/> <BoundingBox> <Center x="1.5" y="0.0" z="0.9"/> <Dimensions width="2" length="2" height="2"/> </BoundingBox> <Properties> <Property name="type" value="simulation"/> </Properties> </Pedestrian> </ScenarioObject> <ScenarioObject name="pedestrian_close_to_standing_6768"> <Pedestrian model="walker.pedestrian.0001" mass="80" name="walker.pedestrian.0001" pedestrianCategory="pedestrian"> <ParameterDeclarations/> <BoundingBox> <Center x="1.5" y="0.0" z="0.9"/> <Dimensions width="2" length="2" height="2"/> </BoundingBox> <Properties> <Property name="type" value="simulation"/> </Properties> </Pedestrian> </ScenarioObject> <ScenarioObject name="pedestrian_w_transform_6769"> <Pedestrian model="walker.pedestrian.0001" mass="80" name="walker.pedestrian.0001" pedestrianCategory="pedestrian"> <ParameterDeclarations/> <BoundingBox> <Center x="1.5" y="0.0" z="0.9"/> <Dimensions width="2" length="2" height="2"/> </BoundingBox> <Properties> <Property name="type" value="simulation"/> </Properties> </Pedestrian> </ScenarioObject> <ScenarioObject name="pedestrian_w_transform_6770"> <Pedestrian model="walker.pedestrian.0001" mass="80" name="walker.pedestrian.0001" pedestrianCategory="pedestrian"> <ParameterDeclarations/> <BoundingBox> <Center x="1.5" y="0.0" z="0.9"/> <Dimensions width="2" length="2" height="2"/> </BoundingBox> <Properties> <Property name="type" value="simulation"/> </Properties> </Pedestrian> </ScenarioObject> <ScenarioObject name="pedestrian_close_to_hero_6772"> <Pedestrian model="walker.pedestrian.0001" mass="80" name="walker.pedestrian.0001" pedestrianCategory="pedestrian"> <ParameterDeclarations/> <BoundingBox> <Center x="1.5" y="0.0" z="0.9"/> <Dimensions width="2" length="2" height="2"/> </BoundingBox> <Properties> <Property name="type" value="simulation"/> </Properties> </Pedestrian> </ScenarioObject> <ScenarioObject name="pedestrian_close_to_standing_6773"> <Pedestrian model="walker.pedestrian.0001" mass="80" name="walker.pedestrian.0001" pedestrianCategory="pedestrian"> <ParameterDeclarations/> <BoundingBox> <Center x="1.5" y="0.0" z="0.9"/> <Dimensions width="2" length="2" height="2"/> </BoundingBox> <Properties> <Property name="type" value="simulation"/> </Properties> </Pedestrian> </ScenarioObject> <ScenarioObject name="pedestrian_w_transform_6774"> <Pedestrian model="walker.pedestrian.0001" mass="80" name="walker.pedestrian.0001" pedestrianCategory="pedestrian"> <ParameterDeclarations/> <BoundingBox> <Center x="1.5" y="0.0" z="0.9"/> <Dimensions width="2" length="2" height="2"/> </BoundingBox> <Properties> <Property name="type" value="simulation"/> </Properties> </Pedestrian> </ScenarioObject> <ScenarioObject name="pedestrian_close_to_adversary_6775"> <Pedestrian model="walker.pedestrian.0001" mass="80" name="walker.pedestrian.0001" pedestrianCategory="pedestrian"> <ParameterDeclarations/> <BoundingBox> <Center x="1.5" y="0.0" z="0.9"/> <Dimensions width="2" length="2" height="2"/> </BoundingBox> <Properties> <Property name="type" value="simulation"/> </Properties> </Pedestrian> </ScenarioObject> <ScenarioObject name="pedestrian_close_to_hero_6776"> <Pedestrian model="walker.pedestrian.0001" mass="80" name="walker.pedestrian.0001" pedestrianCategory="pedestrian"> <ParameterDeclarations/> <BoundingBox> <Center x="1.5" y="0.0" z="0.9"/> <Dimensions width="2" length="2" height="2"/> </BoundingBox> <Properties> <Property name="type" value="simulation"/> </Properties> </Pedestrian> </ScenarioObject> <ScenarioObject name="pedestrian_close_to_hero_6777"> <Pedestrian model="walker.pedestrian.0001" mass="80" name="walker.pedestrian.0001" pedestrianCategory="pedestrian"> <ParameterDeclarations/> <BoundingBox> <Center x="1.5" y="0.0" z="0.9"/> <Dimensions width="2" length="2" height="2"/> </BoundingBox> <Properties> <Property name="type" value="simulation"/> </Properties> </Pedestrian> </ScenarioObject> <ScenarioObject name="pedestrian_w_transform_6778"> <Pedestrian model="walker.pedestrian.0001" mass="80" name="walker.pedestrian.0001" pedestrianCategory="pedestrian"> <ParameterDeclarations/> <BoundingBox> <Center x="1.5" y="0.0" z="0.9"/> <Dimensions width="2" length="2" height="2"/> </BoundingBox> <Properties> <Property name="type" value="simulation"/> </Properties> </Pedestrian> </ScenarioObject> <ScenarioObject name="pedestrian_close_to_standing_6779"> <Pedestrian model="walker.pedestrian.0001" mass="80" name="walker.pedestrian.0001" pedestrianCategory="pedestrian"> <ParameterDeclarations/> <BoundingBox> <Center x="1.5" y="0.0" z="0.9"/> <Dimensions width="2" length="2" height="2"/> </BoundingBox> <Properties> <Property name="type" value="simulation"/> </Properties> </Pedestrian> </ScenarioObject> <ScenarioObject name="pedestrian_close_to_adversary_6780"> <Pedestrian model="walker.pedestrian.0001" mass="80" name="walker.pedestrian.0001" pedestrianCategory="pedestrian"> <ParameterDeclarations/> <BoundingBox> <Center x="1.5" y="0.0" z="0.9"/> <Dimensions width="2" length="2" height="2"/> </BoundingBox> <Properties> <Property name="type" value="simulation"/> </Properties> </Pedestrian> </ScenarioObject> <ScenarioObject name="pedestrian_w_transform_6783"> <Pedestrian model="walker.pedestrian.0001" mass="80" name="walker.pedestrian.0001" pedestrianCategory="pedestrian"> <ParameterDeclarations/> <BoundingBox> <Center x="1.5" y="0.0" z="0.9"/> <Dimensions width="2" length="2" height="2"/> </BoundingBox> <Properties> <Property name="type" value="simulation"/> </Properties> </Pedestrian> </ScenarioObject> <ScenarioObject name="pedestrian_w_transform_6784"> <Pedestrian model="walker.pedestrian.0001" mass="80" name="walker.pedestrian.0001" pedestrianCategory="pedestrian"> <ParameterDeclarations/> <BoundingBox> <Center x="1.5" y="0.0" z="0.9"/> <Dimensions width="2" length="2" height="2"/> </BoundingBox> <Properties> <Property name="type" value="simulation"/> </Properties> </Pedestrian> </ScenarioObject> <ScenarioObject name="pedestrian_close_to_standing_6785"> <Pedestrian model="walker.pedestrian.0001" mass="80" name="walker.pedestrian.0001" pedestrianCategory="pedestrian"> <ParameterDeclarations/> <BoundingBox> <Center x="1.5" y="0.0" z="0.9"/> <Dimensions width="2" length="2" height="2"/> </BoundingBox> <Properties> <Property name="type" value="simulation"/> </Properties> </Pedestrian> </ScenarioObject> <ScenarioObject name="pedestrian_w_transform_6786"> <Pedestrian model="walker.pedestrian.0001" mass="80" name="walker.pedestrian.0001" pedestrianCategory="pedestrian"> <ParameterDeclarations/> <BoundingBox> <Center x="1.5" y="0.0" z="0.9"/> <Dimensions width="2" length="2" height="2"/> </BoundingBox> <Properties> <Property name="type" value="simulation"/> </Properties> </Pedestrian> </ScenarioObject> <ScenarioObject name="pedestrian_close_to_hero_6787"> <Pedestrian model="walker.pedestrian.0001" mass="80" name="walker.pedestrian.0001" pedestrianCategory="pedestrian"> <ParameterDeclarations/> <BoundingBox> <Center x="1.5" y="0.0" z="0.9"/> <Dimensions width="2" length="2" height="2"/> </BoundingBox> <Properties> <Property name="type" value="simulation"/> </Properties> </Pedestrian> </ScenarioObject> <ScenarioObject name="pedestrian_close_to_standing_6788"> <Pedestrian model="walker.pedestrian.0001" mass="80" name="walker.pedestrian.0001" pedestrianCategory="pedestrian"> <ParameterDeclarations/> <BoundingBox> <Center x="1.5" y="0.0" z="0.9"/> <Dimensions width="2" length="2" height="2"/> </BoundingBox> <Properties> <Property name="type" value="simulation"/> </Properties> </Pedestrian> </ScenarioObject> <ScenarioObject name="pedestrian_close_to_hero_6790"> <Pedestrian model="walker.pedestrian.0001" mass="80" name="walker.pedestrian.0001" pedestrianCategory="pedestrian"> <ParameterDeclarations/> <BoundingBox> <Center x="1.5" y="0.0" z="0.9"/> <Dimensions width="2" length="2" height="2"/> </BoundingBox> <Properties> <Property name="type" value="simulation"/> </Properties> </Pedestrian> </ScenarioObject> </Entities> <Storyboard> <Init> <Actions> <GlobalAction> <EnvironmentAction> <Environment name="Environment1"> <TimeOfDay animation="false" dateTime="2019-06-25T12:00:00"/> <Weather cloudState="free"> <Sun intensity="0.85" azimuth="0" elevation="1.31"/> <Fog visualRange="100000.0"/> <Precipitation precipitationType="dry" intensity="0.0"/> </Weather> <RoadCondition frictionScaleFactor="1.0"/> </Environment> </EnvironmentAction> </GlobalAction> <Private entityRef="hero"> <PrivateAction> <TeleportAction> <Position> <WorldPosition x="-9.4" y="-152.8" z="0.5" h="1.57079632679"/> </Position> </TeleportAction> </PrivateAction> <PrivateAction> <ControllerAction> <AssignControllerAction> <Controller name="HeroAgent"> <Properties> <Property name="module" value="external_control"/> </Properties> </Controller> </AssignControllerAction> <OverrideControllerValueAction> <Throttle value="0" active="false"/> <Brake value="0" active="false"/> <Clutch value="0" active="false"/> <ParkingBrake value="0" active="false"/> <SteeringWheel value="0" active="false"/> <Gear number="0" active="false"/> </OverrideControllerValueAction> </ControllerAction> </PrivateAction> </Private> <Private entityRef="adversary"> <PrivateAction> <TeleportAction> <Position> <WorldPosition x="-9.4" y="-71.0" z="0.5" h="1.57079632679"/> </Position> </TeleportAction> </PrivateAction> </Private> <Private entityRef="standing"> <PrivateAction> <TeleportAction> <Position> <WorldPosition x="-8.2" y="29.2" z="0.5" h="1.57079632679"/> </Position> </TeleportAction> </PrivateAction> </Private> <Private entityRef="pedestrian_close_to_adversary_6761"> <PrivateAction> <TeleportAction> <Position> <WorldPosition x="2.4460108280181885" y="-67.28922271728516" z="0.0338037870824337"/> </Position> </TeleportAction> </PrivateAction> </Private> <Private entityRef="pedestrian_w_transform_6763"> <PrivateAction> <TeleportAction> <Position> <WorldPosition x="-28.855592727661133" y="-87.71188354492188" z="0.5"/> </Position> </TeleportAction> </PrivateAction> </Private> <Private entityRef="pedestrian_close_to_adversary_6764"> <PrivateAction> <TeleportAction> <Position> <WorldPosition x="-10.085835456848145" y="-64.40291595458984" z="0.033770788460969925"/> </Position> </TeleportAction> </PrivateAction> </Private> <Private entityRef="pedestrian_w_transform_6765"> <PrivateAction> <TeleportAction> <Position> <WorldPosition x="52.94699478149414" y="-38.580020904541016" z="0.5"/> </Position> </TeleportAction> </PrivateAction> </Private> <Private entityRef="pedestrian_w_transform_6766"> <PrivateAction> <TeleportAction> <Position> <WorldPosition x="32.27488327026367" y="6.192735195159912" z="0.5"/> </Position> </TeleportAction> </PrivateAction> </Private> <Private entityRef="pedestrian_close_to_adversary_6767"> <PrivateAction> <TeleportAction> <Position> <WorldPosition x="-4.862687110900879" y="-58.81227111816406" z="0.03377334401011467"/> </Position> </TeleportAction> </PrivateAction> </Private> <Private entityRef="pedestrian_close_to_standing_6768"> <PrivateAction> <TeleportAction> <Position> <WorldPosition x="0.7054691910743713" y="32.82971954345703" z="0.003039131173864007"/> </Position> </TeleportAction> </PrivateAction> </Private> <Private entityRef="pedestrian_w_transform_6769"> <PrivateAction> <TeleportAction> <Position> <WorldPosition x="-20.053640365600586" y="-85.25825500488281" z="0.5"/> </Position> </TeleportAction> </PrivateAction> </Private> <Private entityRef="pedestrian_w_transform_6770"> <PrivateAction> <TeleportAction> <Position> <WorldPosition x="-73.05460357666016" y="-31.622434616088867" z="0.5"/> </Position> </TeleportAction> </PrivateAction> </Private> <Private entityRef="pedestrian_close_to_hero_6772"> <PrivateAction> <TeleportAction> <Position> <WorldPosition x="-16.678110122680664" y="-143.1956787109375" z="0.0014286803780123591"/> </Position> </TeleportAction> </PrivateAction> </Private> <Private entityRef="pedestrian_close_to_standing_6773"> <PrivateAction> <TeleportAction> <Position> <WorldPosition x="-8.940803527832031" y="33.434730529785156" z="0.0030155563727021217"/> </Position> </TeleportAction> </PrivateAction> </Private> <Private entityRef="pedestrian_w_transform_6774"> <PrivateAction> <TeleportAction> <Position> <WorldPosition x="-58.9252815246582" y="31.036502838134766" z="0.5"/> </Position> </TeleportAction> </PrivateAction> </Private> <Private entityRef="pedestrian_close_to_adversary_6775"> <PrivateAction> <TeleportAction> <Position> <WorldPosition x="-2.3624260425567627" y="-76.34788513183594" z="0.03377395495772362"/> </Position> </TeleportAction> </PrivateAction> </Private> <Private entityRef="pedestrian_close_to_hero_6776"> <PrivateAction> <TeleportAction> <Position> <WorldPosition x="-9.805150032043457" y="-157.0419464111328" z="0.0014286803780123591"/> </Position> </TeleportAction> </PrivateAction> </Private> <Private entityRef="pedestrian_close_to_hero_6777"> <PrivateAction> <TeleportAction> <Position> <WorldPosition x="-14.458284378051758" y="-155.74583435058594" z="0.0014286803780123591"/> </Position> </TeleportAction> </PrivateAction> </Private> <Private entityRef="pedestrian_w_transform_6778"> <PrivateAction> <TeleportAction> <Position> <WorldPosition x="-68.21623229980469" y="-1.6754944324493408" z="0.5"/> </Position> </TeleportAction> </PrivateAction> </Private> <Private entityRef="pedestrian_close_to_standing_6779"> <PrivateAction> <TeleportAction> <Position> <WorldPosition x="-16.171998977661133" y="20.401519775390625" z="0.0030505370814353228"/> </Position> </TeleportAction> </PrivateAction> </Private> <Private entityRef="pedestrian_close_to_adversary_6780"> <PrivateAction> <TeleportAction> <Position> <WorldPosition x="-9.48734188079834" y="-84.05396270751953" z="0.03379058837890625"/> </Position> </TeleportAction> </PrivateAction> </Private> <Private entityRef="pedestrian_w_transform_6783"> <PrivateAction> <TeleportAction> <Position> <WorldPosition x="33.67890167236328" y="73.6740951538086" z="0.5"/> </Position> </TeleportAction> </PrivateAction> </Private> <Private entityRef="pedestrian_w_transform_6784"> <PrivateAction> <TeleportAction> <Position> <WorldPosition x="-34.722843170166016" y="38.07624816894531" z="0.5"/> </Position> </TeleportAction> </PrivateAction> </Private> <Private entityRef="pedestrian_close_to_standing_6785"> <PrivateAction> <TeleportAction> <Position> <WorldPosition x="6.787264823913574" y="35.1697998046875" z="0.0030185317154973745"/> </Position> </TeleportAction> </PrivateAction> </Private> <Private entityRef="pedestrian_w_transform_6786"> <PrivateAction> <TeleportAction> <Position> <WorldPosition x="-36.78573226928711" y="53.54045867919922" z="0.5"/> </Position> </TeleportAction> </PrivateAction> </Private> <Private entityRef="pedestrian_close_to_hero_6787"> <PrivateAction> <TeleportAction> <Position> <WorldPosition x="-6.313998222351074" y="-159.75576782226562" z="0.0014286803780123591"/> </Position> </TeleportAction> </PrivateAction> </Private> <Private entityRef="pedestrian_close_to_standing_6788"> <PrivateAction> <TeleportAction> <Position> <WorldPosition x="-11.519769668579102" y="35.422237396240234" z="0.0030181503389030695"/> </Position> </TeleportAction> </PrivateAction> </Private> <Private entityRef="pedestrian_close_to_hero_6790"> <PrivateAction> <TeleportAction> <Position> <WorldPosition x="-12.788920402526855" y="-145.66604614257812" z="0.0014286803780123591"/> </Position> </TeleportAction> </PrivateAction> </Private> </Actions> </Init> <Story name="MyStory"> <Act name="Behavior"> <ManeuverGroup maximumExecutionCount="1" name="ManeuverSequence"> <Actors selectTriggeringEntities="false"> <EntityRef entityRef="adversary"/> </Actors> <Maneuver name="LaneChangeSimpleManeuver"> <Event name="AdversaryAccelerates" priority="overwrite"> <Action name="AdversaryAccelerates"> <PrivateAction> <LongitudinalAction> <SpeedAction> <SpeedActionDynamics dynamicsShape="step" value="50" dynamicsDimension="distance"/> <SpeedActionTarget> <AbsoluteTargetSpeed value="5.0"/> </SpeedActionTarget> </SpeedAction> </LongitudinalAction> </PrivateAction> </Action> <StartTrigger> <ConditionGroup> <Condition name="StartCondition" delay="0" conditionEdge="rising"> <ByEntityCondition> <TriggeringEntities triggeringEntitiesRule="any"> <EntityRef entityRef="hero"/> </TriggeringEntities> <EntityCondition> <RelativeDistanceCondition entityRef="adversary" relativeDistanceType="cartesianDistance" value="40.0" freespace="false" rule="lessThan"/> </EntityCondition> </ByEntityCondition> </Condition> </ConditionGroup> </StartTrigger> </Event> <Event name="AdversaryChangesLane" priority="overwrite"> <Action name="AdversaryChangesLane"> <PrivateAction> <LateralAction> <LaneChangeAction> <LaneChangeActionDynamics dynamicsShape="linear" value="25" dynamicsDimension="distance"/> <LaneChangeTarget> <RelativeTargetLane entityRef="adversary" value="-1"/> </LaneChangeTarget> </LaneChangeAction> </LateralAction> </PrivateAction> </Action> <StartTrigger> <ConditionGroup> <Condition name="AfterAdversaryAccelerates" delay="0" conditionEdge="rising"> <ByValueCondition> <StoryboardElementStateCondition storyboardElementType="action" storyboardElementRef="AdversaryAccelerates" state="completeState"/> </ByValueCondition> </Condition> </ConditionGroup> </StartTrigger> </Event> </Maneuver> </ManeuverGroup> <StartTrigger> <ConditionGroup> <Condition name="OverallStartCondition" delay="0" conditionEdge="rising"> <ByEntityCondition> <TriggeringEntities triggeringEntitiesRule="any"> <EntityRef entityRef="hero"/> </TriggeringEntities> <EntityCondition> <TraveledDistanceCondition value="1.0"/> </EntityCondition> </ByEntityCondition> </Condition> <Condition name="StartTime" delay="0" conditionEdge="rising"> <ByValueCondition> <SimulationTimeCondition value="0" rule="equalTo"/> </ByValueCondition> </Condition> </ConditionGroup> </StartTrigger> <StopTrigger> <ConditionGroup> <Condition name="EndCondition" delay="0" conditionEdge="rising"> <ByEntityCondition> <TriggeringEntities triggeringEntitiesRule="any"> <EntityRef entityRef="hero"/> </TriggeringEntities> <EntityCondition> <TraveledDistanceCondition value="200.0"/> </EntityCondition> </ByEntityCondition> </Condition> </ConditionGroup> </StopTrigger> </Act> </Story> <StopTrigger> <ConditionGroup> <Condition name="criteria_RunningStopTest" delay="0" conditionEdge="rising"> <ByValueCondition> <ParameterCondition parameterRef="" value="" rule="lessThan"/> </ByValueCondition> </Condition> <Condition name="criteria_RunningRedLightTest" delay="0" conditionEdge="rising"> <ByValueCondition> <ParameterCondition parameterRef="" value="" rule="lessThan"/> </ByValueCondition> </Condition> <Condition name="criteria_WrongLaneTest" delay="0" conditionEdge="rising"> <ByValueCondition> <ParameterCondition parameterRef="" value="" rule="lessThan"/> </ByValueCondition> </Condition> <Condition name="criteria_OnSidewalkTest" delay="0" conditionEdge="rising"> <ByValueCondition> <ParameterCondition parameterRef="" value="" rule="lessThan"/> </ByValueCondition> </Condition> <Condition name="criteria_KeepLaneTest" delay="0" conditionEdge="rising"> <ByValueCondition> <ParameterCondition parameterRef="" value="" rule="lessThan"/> </ByValueCondition> </Condition> <Condition name="criteria_CollisionTest" delay="0" conditionEdge="rising"> <ByValueCondition> <ParameterCondition parameterRef="" value="" rule="lessThan"/> </ByValueCondition> </Condition> <Condition name="criteria_DrivenDistanceTest" delay="0" conditionEdge="rising"> <ByValueCondition> <ParameterCondition parameterRef="distance_success" value="100" rule="lessThan"/> </ByValueCondition> </Condition> </ConditionGroup> </StopTrigger> </Storyboard> </OpenSCENARIO> ```
Here is the result: ``` <?xml version="1.0" ?> <OpenSCENARIO> <FileHeader revMajor="1" revMinor="0" date="2020-03-24T12:00:00" description="CARLA:LaneChangeSimple" author=""/> <ParameterDeclarations/> <CatalogLocations/> <RoadNetwork> <LogicFile filepath="Town04"/> <SceneGraphFile filepath=""/> </RoadNetwork> <Entities> <ScenarioObject name="hero"> <Vehicle name="vehicle.tesla.model3" vehicleCategory="car"> <ParameterDeclarations/> <Performance maxSpeed="69.444" maxAcceleration="200" maxDeceleration="10.0"/> <BoundingBox> <Center x="1.5" y="0.0" z="0.9"/> <Dimensions width="2.1" length="4.5" height="1.8"/> </BoundingBox> <Axles> <FrontAxle maxSteering="0.5" wheelDiameter="0.6" trackWidth="1.8" positionX="3.1" positionZ="0.3"/> <RearAxle maxSteering="0.0" wheelDiameter="0.6" trackWidth="1.8" positionX="0.0" positionZ="0.3"/> </Axles> <Properties> <Property name="type" value="ego_vehicle"/> </Properties> </Vehicle> </ScenarioObject> <ScenarioObject name="adversary"> <Vehicle name="vehicle.lincoln.mkz_2017" vehicleCategory="car"> <ParameterDeclarations/> <Performance maxSpeed="69.444" maxAcceleration="200" maxDeceleration="10.0"/> <BoundingBox> <Center x="1.5" y="0.0" z="0.9"/> <Dimensions width="2.1" length="4.5" height="1.8"/> </BoundingBox> <Axles> <FrontAxle maxSteering="0.5" wheelDiameter="0.6" trackWidth="1.8" positionX="3.1" positionZ="0.3"/> <RearAxle maxSteering="0.0" wheelDiameter="0.6" trackWidth="1.8" positionX="0.0" positionZ="0.3"/> </Axles> <Properties> <Property name="type" value="simulation"/> </Properties> </Vehicle> </ScenarioObject> <ScenarioObject name="standing"> <Vehicle name="vehicle.volkswagen.t2" vehicleCategory="car"> <ParameterDeclarations/> <Performance maxSpeed="69.444" maxAcceleration="200" maxDeceleration="10.0"/> <BoundingBox> <Center x="1.5" y="0.0" z="0.9"/> <Dimensions width="2.1" length="4.5" height="1.8"/> </BoundingBox> <Axles> <FrontAxle maxSteering="0.5" wheelDiameter="0.6" trackWidth="1.8" positionX="3.1" positionZ="0.3"/> <RearAxle maxSteering="0.0" wheelDiameter="0.6" trackWidth="1.8" positionX="0.0" positionZ="0.3"/> </Axles> <Properties> <Property name="type" value="simulation"/> </Properties> </Vehicle> </ScenarioObject> <ScenarioObject name="pedestrian_close_to_adversary_6761"> <Pedestrian model="walker.pedestrian.0001" mass="80" name="walker.pedestrian.0001" pedestrianCategory="pedestrian"> <ParameterDeclarations/> <BoundingBox> <Center x="1.5" y="0.0" z="0.9"/> <Dimensions width="2" length="2" height="2"/> </BoundingBox> <Properties> <Property name="type" value="simulation"/> </Properties> </Pedestrian> </ScenarioObject> <ScenarioObject name="pedestrian_w_transform_6763"> <Pedestrian model="walker.pedestrian.0001" mass="80" name="walker.pedestrian.0001" pedestrianCategory="pedestrian"> <ParameterDeclarations/> <BoundingBox> <Center x="1.5" y="0.0" z="0.9"/> <Dimensions width="2" length="2" height="2"/> </BoundingBox> <Properties> <Property name="type" value="simulation"/> </Properties> </Pedestrian> </ScenarioObject> <ScenarioObject name="pedestrian_close_to_adversary_6764"> <Pedestrian model="walker.pedestrian.0001" mass="80" name="walker.pedestrian.0001" pedestrianCategory="pedestrian"> <ParameterDeclarations/> <BoundingBox> <Center x="1.5" y="0.0" z="0.9"/> <Dimensions width="2" length="2" height="2"/> </BoundingBox> <Properties> <Property name="type" value="simulation"/> </Properties> </Pedestrian> </ScenarioObject> <ScenarioObject name="pedestrian_w_transform_6765"> <Pedestrian model="walker.pedestrian.0001" mass="80" name="walker.pedestrian.0001" pedestrianCategory="pedestrian"> <ParameterDeclarations/> <BoundingBox> <Center x="1.5" y="0.0" z="0.9"/> <Dimensions width="2" length="2" height="2"/> </BoundingBox> <Properties> <Property name="type" value="simulation"/> </Properties> </Pedestrian> </ScenarioObject> <ScenarioObject name="pedestrian_w_transform_6766"> <Pedestrian model="walker.pedestrian.0001" mass="80" name="walker.pedestrian.0001" pedestrianCategory="pedestrian"> <ParameterDeclarations/> <BoundingBox> <Center x="1.5" y="0.0" z="0.9"/> <Dimensions width="2" length="2" height="2"/> </BoundingBox> <Properties> <Property name="type" value="simulation"/> </Properties> </Pedestrian> </ScenarioObject> <ScenarioObject name="pedestrian_close_to_adversary_6767"> <Pedestrian model="walker.pedestrian.0001" mass="80" name="walker.pedestrian.0001" pedestrianCategory="pedestrian"> <ParameterDeclarations/> <BoundingBox> <Center x="1.5" y="0.0" z="0.9"/> <Dimensions width="2" length="2" height="2"/> </BoundingBox> <Properties> <Property name="type" value="simulation"/> </Properties> </Pedestrian> </ScenarioObject> <ScenarioObject name="pedestrian_close_to_standing_6768"> <Pedestrian model="walker.pedestrian.0001" mass="80" name="walker.pedestrian.0001" pedestrianCategory="pedestrian"> <ParameterDeclarations/> <BoundingBox> <Center x="1.5" y="0.0" z="0.9"/> <Dimensions width="2" length="2" height="2"/> </BoundingBox> <Properties> <Property name="type" value="simulation"/> </Properties> </Pedestrian> </ScenarioObject> <ScenarioObject name="pedestrian_w_transform_6769"> <Pedestrian model="walker.pedestrian.0001" mass="80" name="walker.pedestrian.0001" pedestrianCategory="pedestrian"> <ParameterDeclarations/> <BoundingBox> <Center x="1.5" y="0.0" z="0.9"/> <Dimensions width="2" length="2" height="2"/> </BoundingBox> <Properties> <Property name="type" value="simulation"/> </Properties> </Pedestrian> </ScenarioObject> <ScenarioObject name="pedestrian_w_transform_6770"> <Pedestrian model="walker.pedestrian.0001" mass="80" name="walker.pedestrian.0001" pedestrianCategory="pedestrian"> <ParameterDeclarations/> <BoundingBox> <Center x="1.5" y="0.0" z="0.9"/> <Dimensions width="2" length="2" height="2"/> </BoundingBox> <Properties> <Property name="type" value="simulation"/> </Properties> </Pedestrian> </ScenarioObject> <ScenarioObject name="pedestrian_close_to_hero_6772"> <Pedestrian model="walker.pedestrian.0001" mass="80" name="walker.pedestrian.0001" pedestrianCategory="pedestrian"> <ParameterDeclarations/> <BoundingBox> <Center x="1.5" y="0.0" z="0.9"/> <Dimensions width="2" length="2" height="2"/> </BoundingBox> <Properties> <Property name="type" value="simulation"/> </Properties> </Pedestrian> </ScenarioObject> <ScenarioObject name="pedestrian_close_to_standing_6773"> <Pedestrian model="walker.pedestrian.0001" mass="80" name="walker.pedestrian.0001" pedestrianCategory="pedestrian"> <ParameterDeclarations/> <BoundingBox> <Center x="1.5" y="0.0" z="0.9"/> <Dimensions width="2" length="2" height="2"/> </BoundingBox> <Properties> <Property name="type" value="simulation"/> </Properties> </Pedestrian> </ScenarioObject> <ScenarioObject name="pedestrian_w_transform_6774"> <Pedestrian model="walker.pedestrian.0001" mass="80" name="walker.pedestrian.0001" pedestrianCategory="pedestrian"> <ParameterDeclarations/> <BoundingBox> <Center x="1.5" y="0.0" z="0.9"/> <Dimensions width="2" length="2" height="2"/> </BoundingBox> <Properties> <Property name="type" value="simulation"/> </Properties> </Pedestrian> </ScenarioObject> <ScenarioObject name="pedestrian_close_to_adversary_6775"> <Pedestrian model="walker.pedestrian.0001" mass="80" name="walker.pedestrian.0001" pedestrianCategory="pedestrian"> <ParameterDeclarations/> <BoundingBox> <Center x="1.5" y="0.0" z="0.9"/> <Dimensions width="2" length="2" height="2"/> </BoundingBox> <Properties> <Property name="type" value="simulation"/> </Properties> </Pedestrian> </ScenarioObject> <ScenarioObject name="pedestrian_close_to_hero_6776"> <Pedestrian model="walker.pedestrian.0001" mass="80" name="walker.pedestrian.0001" pedestrianCategory="pedestrian"> <ParameterDeclarations/> <BoundingBox> <Center x="1.5" y="0.0" z="0.9"/> <Dimensions width="2" length="2" height="2"/> </BoundingBox> <Properties> <Property name="type" value="simulation"/> </Properties> </Pedestrian> </ScenarioObject> <ScenarioObject name="pedestrian_close_to_hero_6777"> <Pedestrian model="walker.pedestrian.0001" mass="80" name="walker.pedestrian.0001" pedestrianCategory="pedestrian"> <ParameterDeclarations/> <BoundingBox> <Center x="1.5" y="0.0" z="0.9"/> <Dimensions width="2" length="2" height="2"/> </BoundingBox> <Properties> <Property name="type" value="simulation"/> </Properties> </Pedestrian> </ScenarioObject> <ScenarioObject name="pedestrian_w_transform_6778"> <Pedestrian model="walker.pedestrian.0001" mass="80" name="walker.pedestrian.0001" pedestrianCategory="pedestrian"> <ParameterDeclarations/> <BoundingBox> <Center x="1.5" y="0.0" z="0.9"/> <Dimensions width="2" length="2" height="2"/> </BoundingBox> <Properties> <Property name="type" value="simulation"/> </Properties> </Pedestrian> </ScenarioObject> <ScenarioObject name="pedestrian_close_to_standing_6779"> <Pedestrian model="walker.pedestrian.0001" mass="80" name="walker.pedestrian.0001" pedestrianCategory="pedestrian"> <ParameterDeclarations/> <BoundingBox> <Center x="1.5" y="0.0" z="0.9"/> <Dimensions width="2" length="2" height="2"/> </BoundingBox> <Properties> <Property name="type" value="simulation"/> </Properties> </Pedestrian> </ScenarioObject> <ScenarioObject name="pedestrian_close_to_adversary_6780"> <Pedestrian model="walker.pedestrian.0001" mass="80" name="walker.pedestrian.0001" pedestrianCategory="pedestrian"> <ParameterDeclarations/> <BoundingBox> <Center x="1.5" y="0.0" z="0.9"/> <Dimensions width="2" length="2" height="2"/> </BoundingBox> <Properties> <Property name="type" value="simulation"/> </Properties> </Pedestrian> </ScenarioObject> <ScenarioObject name="pedestrian_w_transform_6783"> <Pedestrian model="walker.pedestrian.0001" mass="80" name="walker.pedestrian.0001" pedestrianCategory="pedestrian"> <ParameterDeclarations/> <BoundingBox> <Center x="1.5" y="0.0" z="0.9"/> <Dimensions width="2" length="2" height="2"/> </BoundingBox> <Properties> <Property name="type" value="simulation"/> </Properties> </Pedestrian> </ScenarioObject> <ScenarioObject name="pedestrian_w_transform_6784"> <Pedestrian model="walker.pedestrian.0001" mass="80" name="walker.pedestrian.0001" pedestrianCategory="pedestrian"> <ParameterDeclarations/> <BoundingBox> <Center x="1.5" y="0.0" z="0.9"/> <Dimensions width="2" length="2" height="2"/> </BoundingBox> <Properties> <Property name="type" value="simulation"/> </Properties> </Pedestrian> </ScenarioObject> <ScenarioObject name="pedestrian_close_to_standing_6785"> <Pedestrian model="walker.pedestrian.0001" mass="80" name="walker.pedestrian.0001" pedestrianCategory="pedestrian"> <ParameterDeclarations/> <BoundingBox> <Center x="1.5" y="0.0" z="0.9"/> <Dimensions width="2" length="2" height="2"/> </BoundingBox> <Properties> <Property name="type" value="simulation"/> </Properties> </Pedestrian> </ScenarioObject> <ScenarioObject name="pedestrian_close_to_hero_6787"> <Pedestrian model="walker.pedestrian.0001" mass="80" name="walker.pedestrian.0001" pedestrianCategory="pedestrian"> <ParameterDeclarations/> <BoundingBox> <Center x="1.5" y="0.0" z="0.9"/> <Dimensions width="2" length="2" height="2"/> </BoundingBox> <Properties> <Property name="type" value="simulation"/> </Properties> </Pedestrian> </ScenarioObject> <ScenarioObject name="pedestrian_close_to_standing_6788"> <Pedestrian model="walker.pedestrian.0001" mass="80" name="walker.pedestrian.0001" pedestrianCategory="pedestrian"> <ParameterDeclarations/> <BoundingBox> <Center x="1.5" y="0.0" z="0.9"/> <Dimensions width="2" length="2" height="2"/> </BoundingBox> <Properties> <Property name="type" value="simulation"/> </Properties> </Pedestrian> </ScenarioObject> <ScenarioObject name="pedestrian_close_to_hero_6790"> <Pedestrian model="walker.pedestrian.0001" mass="80" name="walker.pedestrian.0001" pedestrianCategory="pedestrian"> <ParameterDeclarations/> <BoundingBox> <Center x="1.5" y="0.0" z="0.9"/> <Dimensions width="2" length="2" height="2"/> </BoundingBox> <Properties> <Property name="type" value="simulation"/> </Properties> </Pedestrian> </ScenarioObject> </Entities> <Storyboard> <Init> <Actions> <GlobalAction> <EnvironmentAction> <Environment name="Environment1"> <TimeOfDay animation="false" dateTime="2019-06-25T12:00:00"/> <Weather cloudState="free"> <Sun intensity="0.85" azimuth="0" elevation="1.31"/> <Fog visualRange="100000.0"/> <Precipitation precipitationType="dry" intensity="0.0"/> </Weather> <RoadCondition frictionScaleFactor="1.0"/> </Environment> </EnvironmentAction> </GlobalAction> <Private entityRef="hero"> <PrivateAction> <TeleportAction> <Position> <WorldPosition x="-9.4" y="-152.8" z="0.5" h="1.57079632679"/> </Position> </TeleportAction> </PrivateAction> <PrivateAction> <ControllerAction> <AssignControllerAction> <Controller name="HeroAgent"> <Properties> <Property name="module" value="external_control"/> </Properties> </Controller> </AssignControllerAction> <OverrideControllerValueAction> <Throttle value="0" active="false"/> <Brake value="0" active="false"/> <Clutch value="0" active="false"/> <ParkingBrake value="0" active="false"/> <SteeringWheel value="0" active="false"/> <Gear number="0" active="false"/> </OverrideControllerValueAction> </ControllerAction> </PrivateAction> </Private> <Private entityRef="adversary"> <PrivateAction> <TeleportAction> <Position> <WorldPosition x="-9.4" y="-71.0" z="0.5" h="1.57079632679"/> </Position> </TeleportAction> </PrivateAction> </Private> <Private entityRef="standing"> <PrivateAction> <TeleportAction> <Position> <WorldPosition x="-8.2" y="29.2" z="0.5" h="1.57079632679"/> </Position> </TeleportAction> </PrivateAction> </Private> <Private entityRef="pedestrian_close_to_adversary_6761"> <PrivateAction> <TeleportAction> <Position> <WorldPosition x="2.4460108280181885" y="-67.28922271728516" z="0.0338037870824337"/> </Position> </TeleportAction> </PrivateAction> </Private> <Private entityRef="pedestrian_w_transform_6763"> <PrivateAction> <TeleportAction> <Position> <WorldPosition x="-28.855592727661133" y="-87.71188354492188" z="0.5"/> </Position> </TeleportAction> </PrivateAction> </Private> <Private entityRef="pedestrian_close_to_adversary_6764"> <PrivateAction> <TeleportAction> <Position> <WorldPosition x="-10.085835456848145" y="-64.40291595458984" z="0.033770788460969925"/> </Position> </TeleportAction> </PrivateAction> </Private> <Private entityRef="pedestrian_w_transform_6765"> <PrivateAction> <TeleportAction> <Position> <WorldPosition x="52.94699478149414" y="-38.580020904541016" z="0.5"/> </Position> </TeleportAction> </PrivateAction> </Private> <Private entityRef="pedestrian_w_transform_6766"> <PrivateAction> <TeleportAction> <Position> <WorldPosition x="32.27488327026367" y="6.192735195159912" z="0.5"/> </Position> </TeleportAction> </PrivateAction> </Private> <Private entityRef="pedestrian_close_to_adversary_6767"> <PrivateAction> <TeleportAction> <Position> <WorldPosition x="-4.862687110900879" y="-58.81227111816406" z="0.03377334401011467"/> </Position> </TeleportAction> </PrivateAction> </Private> <Private entityRef="pedestrian_close_to_standing_6768"> <PrivateAction> <TeleportAction> <Position> <WorldPosition x="0.7054691910743713" y="32.82971954345703" z="0.003039131173864007"/> </Position> </TeleportAction> </PrivateAction> </Private> <Private entityRef="pedestrian_w_transform_6769"> <PrivateAction> <TeleportAction> <Position> <WorldPosition x="-20.053640365600586" y="-85.25825500488281" z="0.5"/> </Position> </TeleportAction> </PrivateAction> </Private> <Private entityRef="pedestrian_w_transform_6770"> <PrivateAction> <TeleportAction> <Position> <WorldPosition x="-73.05460357666016" y="-31.622434616088867" z="0.5"/> </Position> </TeleportAction> </PrivateAction> </Private> <Private entityRef="pedestrian_close_to_hero_6772"> <PrivateAction> <TeleportAction> <Position> <WorldPosition x="-16.678110122680664" y="-143.1956787109375" z="0.0014286803780123591"/> </Position> </TeleportAction> </PrivateAction> </Private> <Private entityRef="pedestrian_close_to_standing_6773"> <PrivateAction> <TeleportAction> <Position> <WorldPosition x="-8.940803527832031" y="33.434730529785156" z="0.0030155563727021217"/> </Position> </TeleportAction> </PrivateAction> </Private> <Private entityRef="pedestrian_w_transform_6774"> <PrivateAction> <TeleportAction> <Position> <WorldPosition x="-58.9252815246582" y="31.036502838134766" z="0.5"/> </Position> </TeleportAction> </PrivateAction> </Private> <Private entityRef="pedestrian_close_to_adversary_6775"> <PrivateAction> <TeleportAction> <Position> <WorldPosition x="-2.3624260425567627" y="-76.34788513183594" z="0.03377395495772362"/> </Position> </TeleportAction> </PrivateAction> </Private> <Private entityRef="pedestrian_close_to_hero_6776"> <PrivateAction> <TeleportAction> <Position> <WorldPosition x="-9.805150032043457" y="-157.0419464111328" z="0.0014286803780123591"/> </Position> </TeleportAction> </PrivateAction> </Private> <Private entityRef="pedestrian_close_to_hero_6777"> <PrivateAction> <TeleportAction> <Position> <WorldPosition x="-14.458284378051758" y="-155.74583435058594" z="0.0014286803780123591"/> </Position> </TeleportAction> </PrivateAction> </Private> <Private entityRef="pedestrian_w_transform_6778"> <PrivateAction> <TeleportAction> <Position> <WorldPosition x="-68.21623229980469" y="-1.6754944324493408" z="0.5"/> </Position> </TeleportAction> </PrivateAction> </Private> <Private entityRef="pedestrian_close_to_standing_6779"> <PrivateAction> <TeleportAction> <Position> <WorldPosition x="-16.171998977661133" y="20.401519775390625" z="0.0030505370814353228"/> </Position> </TeleportAction> </PrivateAction> </Private> <Private entityRef="pedestrian_close_to_adversary_6780"> <PrivateAction> <TeleportAction> <Position> <WorldPosition x="-9.48734188079834" y="-84.05396270751953" z="0.03379058837890625"/> </Position> </TeleportAction> </PrivateAction> </Private> <Private entityRef="pedestrian_w_transform_6783"> <PrivateAction> <TeleportAction> <Position> <WorldPosition x="33.67890167236328" y="73.6740951538086" z="0.5"/> </Position> </TeleportAction> </PrivateAction> </Private> <Private entityRef="pedestrian_w_transform_6784"> <PrivateAction> <TeleportAction> <Position> <WorldPosition x="-34.722843170166016" y="38.07624816894531" z="0.5"/> </Position> </TeleportAction> </PrivateAction> </Private> <Private entityRef="pedestrian_close_to_standing_6785"> <PrivateAction> <TeleportAction> <Position> <WorldPosition x="6.787264823913574" y="35.1697998046875" z="0.0030185317154973745"/> </Position> </TeleportAction> </PrivateAction> </Private> <Private entityRef="pedestrian_close_to_hero_6787"> <PrivateAction> <TeleportAction> <Position> <WorldPosition x="-6.313998222351074" y="-159.75576782226562" z="0.0014286803780123591"/> </Position> </TeleportAction> </PrivateAction> </Private> <Private entityRef="pedestrian_close_to_standing_6788"> <PrivateAction> <TeleportAction> <Position> <WorldPosition x="-11.519769668579102" y="35.422237396240234" z="0.0030181503389030695"/> </Position> </TeleportAction> </PrivateAction> </Private> <Private entityRef="pedestrian_close_to_hero_6790"> <PrivateAction> <TeleportAction> <Position> <WorldPosition x="-12.788920402526855" y="-145.66604614257812" z="0.0014286803780123591"/> </Position> </TeleportAction> </PrivateAction> </Private> </Actions> </Init> <Story name="MyStory"> <Act name="Behavior"> <ManeuverGroup maximumExecutionCount="1" name="ManeuverSequence"> <Actors selectTriggeringEntities="false"> <EntityRef entityRef="adversary"/> </Actors> <Maneuver name="LaneChangeSimpleManeuver"> <Event name="AdversaryAccelerates" priority="overwrite"> <Action name="AdversaryAccelerates"> <PrivateAction> <LongitudinalAction> <SpeedAction> <SpeedActionDynamics dynamicsShape="step" value="50" dynamicsDimension="distance"/> <SpeedActionTarget> <AbsoluteTargetSpeed value="5.0"/> </SpeedActionTarget> </SpeedAction> </LongitudinalAction> </PrivateAction> </Action> <StartTrigger> <ConditionGroup> <Condition name="StartCondition" delay="0" conditionEdge="rising"> <ByEntityCondition> <TriggeringEntities triggeringEntitiesRule="any"> <EntityRef entityRef="hero"/> </TriggeringEntities> <EntityCondition> <RelativeDistanceCondition entityRef="adversary" relativeDistanceType="cartesianDistance" value="40.0" freespace="false" rule="lessThan"/> </EntityCondition> </ByEntityCondition> </Condition> </ConditionGroup> </StartTrigger> </Event> <Event name="AdversaryChangesLane" priority="overwrite"> <Action name="AdversaryChangesLane"> <PrivateAction> <LateralAction> <LaneChangeAction> <LaneChangeActionDynamics dynamicsShape="linear" value="25" dynamicsDimension="distance"/> <LaneChangeTarget> <RelativeTargetLane entityRef="adversary" value="-1"/> </LaneChangeTarget> </LaneChangeAction> </LateralAction> </PrivateAction> </Action> <StartTrigger> <ConditionGroup> <Condition name="AfterAdversaryAccelerates" delay="0" conditionEdge="rising"> <ByValueCondition> <StoryboardElementStateCondition storyboardElementType="action" storyboardElementRef="AdversaryAccelerates" state="completeState"/> </ByValueCondition> </Condition> </ConditionGroup> </StartTrigger> </Event> </Maneuver> </ManeuverGroup> <StartTrigger> <ConditionGroup> <Condition name="OverallStartCondition" delay="0" conditionEdge="rising"> <ByEntityCondition> <TriggeringEntities triggeringEntitiesRule="any"> <EntityRef entityRef="hero"/> </TriggeringEntities> <EntityCondition> <TraveledDistanceCondition value="1.0"/> </EntityCondition> </ByEntityCondition> </Condition> <Condition name="StartTime" delay="0" conditionEdge="rising"> <ByValueCondition> <SimulationTimeCondition value="0" rule="equalTo"/> </ByValueCondition> </Condition> </ConditionGroup> </StartTrigger> <StopTrigger> <ConditionGroup> <Condition name="EndCondition" delay="0" conditionEdge="rising"> <ByEntityCondition> <TriggeringEntities triggeringEntitiesRule="any"> <EntityRef entityRef="hero"/> </TriggeringEntities> <EntityCondition> <TraveledDistanceCondition value="200.0"/> </EntityCondition> </ByEntityCondition> </Condition> </ConditionGroup> </StopTrigger> </Act> </Story> <StopTrigger> <ConditionGroup> <Condition name="criteria_RunningStopTest" delay="0" conditionEdge="rising"> <ByValueCondition> <ParameterCondition parameterRef="" value="" rule="lessThan"/> </ByValueCondition> </Condition> <Condition name="criteria_RunningRedLightTest" delay="0" conditionEdge="rising"> <ByValueCondition> <ParameterCondition parameterRef="" value="" rule="lessThan"/> </ByValueCondition> </Condition> <Condition name="criteria_WrongLaneTest" delay="0" conditionEdge="rising"> <ByValueCondition> <ParameterCondition parameterRef="" value="" rule="lessThan"/> </ByValueCondition> </Condition> <Condition name="criteria_OnSidewalkTest" delay="0" conditionEdge="rising"> <ByValueCondition> <ParameterCondition parameterRef="" value="" rule="lessThan"/> </ByValueCondition> </Condition> <Condition name="criteria_KeepLaneTest" delay="0" conditionEdge="rising"> <ByValueCondition> <ParameterCondition parameterRef="" value="" rule="lessThan"/> </ByValueCondition> </Condition> <Condition name="criteria_CollisionTest" delay="0" conditionEdge="rising"> <ByValueCondition> <ParameterCondition parameterRef="" value="" rule="lessThan"/> </ByValueCondition> </Condition> <Condition name="criteria_DrivenDistanceTest" delay="0" conditionEdge="rising"> <ByValueCondition> <ParameterCondition parameterRef="distance_success" value="100" rule="lessThan"/> </ByValueCondition> </Condition> </ConditionGroup> </StopTrigger> </Storyboard> </OpenSCENARIO> ```
i would like to order you to add pedestrian close to hero? ``` <?xml version="1.0" ?> <OpenSCENARIO> <FileHeader revMajor="1" revMinor="0" date="2020-03-24T12:00:00" description="CARLA:LaneChangeSimple" author=""/> <ParameterDeclarations/> <CatalogLocations/> <RoadNetwork> <LogicFile filepath="Town04"/> <SceneGraphFile filepath=""/> </RoadNetwork> <Entities> <ScenarioObject name="hero"> <Vehicle name="vehicle.tesla.model3" vehicleCategory="car"> <ParameterDeclarations/> <Performance maxSpeed="69.444" maxAcceleration="200" maxDeceleration="10.0"/> <BoundingBox> <Center x="1.5" y="0.0" z="0.9"/> <Dimensions width="2.1" length="4.5" height="1.8"/> </BoundingBox> <Axles> <FrontAxle maxSteering="0.5" wheelDiameter="0.6" trackWidth="1.8" positionX="3.1" positionZ="0.3"/> <RearAxle maxSteering="0.0" wheelDiameter="0.6" trackWidth="1.8" positionX="0.0" positionZ="0.3"/> </Axles> <Properties> <Property name="type" value="ego_vehicle"/> </Properties> </Vehicle> </ScenarioObject> <ScenarioObject name="adversary"> <Vehicle name="vehicle.lincoln.mkz_2017" vehicleCategory="car"> <ParameterDeclarations/> <Performance maxSpeed="69.444" maxAcceleration="200" maxDeceleration="10.0"/> <BoundingBox> <Center x="1.5" y="0.0" z="0.9"/> <Dimensions width="2.1" length="4.5" height="1.8"/> </BoundingBox> <Axles> <FrontAxle maxSteering="0.5" wheelDiameter="0.6" trackWidth="1.8" positionX="3.1" positionZ="0.3"/> <RearAxle maxSteering="0.0" wheelDiameter="0.6" trackWidth="1.8" positionX="0.0" positionZ="0.3"/> </Axles> <Properties> <Property name="type" value="simulation"/> </Properties> </Vehicle> </ScenarioObject> <ScenarioObject name="standing"> <Vehicle name="vehicle.volkswagen.t2" vehicleCategory="car"> <ParameterDeclarations/> <Performance maxSpeed="69.444" maxAcceleration="200" maxDeceleration="10.0"/> <BoundingBox> <Center x="1.5" y="0.0" z="0.9"/> <Dimensions width="2.1" length="4.5" height="1.8"/> </BoundingBox> <Axles> <FrontAxle maxSteering="0.5" wheelDiameter="0.6" trackWidth="1.8" positionX="3.1" positionZ="0.3"/> <RearAxle maxSteering="0.0" wheelDiameter="0.6" trackWidth="1.8" positionX="0.0" positionZ="0.3"/> </Axles> <Properties> <Property name="type" value="simulation"/> </Properties> </Vehicle> </ScenarioObject> </Entities> <Storyboard> <Init> <Actions> <GlobalAction> <EnvironmentAction> <Environment name="Environment1"> <TimeOfDay animation="false" dateTime="2019-06-25T12:00:00"/> <Weather cloudState="free"> <Sun intensity="0.85" azimuth="0" elevation="1.31"/> <Fog visualRange="100000.0"/> <Precipitation precipitationType="dry" intensity="0.0"/> </Weather> <RoadCondition frictionScaleFactor="1.0"/> </Environment> </EnvironmentAction> </GlobalAction> <Private entityRef="hero"> <PrivateAction> <TeleportAction> <Position> <WorldPosition x="-9.4" y="-152.8" z="0.5" h="1.57079632679"/> </Position> </TeleportAction> </PrivateAction> <PrivateAction> <ControllerAction> <AssignControllerAction> <Controller name="HeroAgent"> <Properties> <Property name="module" value="external_control"/> </Properties> </Controller> </AssignControllerAction> <OverrideControllerValueAction> <Throttle value="0" active="false"/> <Brake value="0" active="false"/> <Clutch value="0" active="false"/> <ParkingBrake value="0" active="false"/> <SteeringWheel value="0" active="false"/> <Gear number="0" active="false"/> </OverrideControllerValueAction> </ControllerAction> </PrivateAction> </Private> <Private entityRef="adversary"> <PrivateAction> <TeleportAction> <Position> <WorldPosition x="-9.4" y="-71.0" z="0.5" h="1.57079632679"/> </Position> </TeleportAction> </PrivateAction> </Private> <Private entityRef="standing"> <PrivateAction> <TeleportAction> <Position> <WorldPosition x="-8.2" y="29.2" z="0.5" h="1.57079632679"/> </Position> </TeleportAction> </PrivateAction> </Private> </Actions> </Init> <Story name="MyStory"> <Act name="Behavior"> <ManeuverGroup maximumExecutionCount="1" name="ManeuverSequence"> <Actors selectTriggeringEntities="false"> <EntityRef entityRef="adversary"/> </Actors> <Maneuver name="LaneChangeSimpleManeuver"> <Event name="AdversaryAccelerates" priority="overwrite"> <Action name="AdversaryAccelerates"> <PrivateAction> <LongitudinalAction> <SpeedAction> <SpeedActionDynamics dynamicsShape="step" value="50" dynamicsDimension="distance"/> <SpeedActionTarget> <AbsoluteTargetSpeed value="5.0"/> </SpeedActionTarget> </SpeedAction> </LongitudinalAction> </PrivateAction> </Action> <StartTrigger> <ConditionGroup> <Condition name="StartCondition" delay="0" conditionEdge="rising"> <ByEntityCondition> <TriggeringEntities triggeringEntitiesRule="any"> <EntityRef entityRef="hero"/> </TriggeringEntities> <EntityCondition> <RelativeDistanceCondition entityRef="adversary" relativeDistanceType="cartesianDistance" value="40.0" freespace="false" rule="lessThan"/> </EntityCondition> </ByEntityCondition> </Condition> </ConditionGroup> </StartTrigger> </Event> <Event name="AdversaryChangesLane" priority="overwrite"> <Action name="AdversaryChangesLane"> <PrivateAction> <LateralAction> <LaneChangeAction> <LaneChangeActionDynamics dynamicsShape="linear" value="25" dynamicsDimension="distance"/> <LaneChangeTarget> <RelativeTargetLane entityRef="adversary" value="-1"/> </LaneChangeTarget> </LaneChangeAction> </LateralAction> </PrivateAction> </Action> <StartTrigger> <ConditionGroup> <Condition name="AfterAdversaryAccelerates" delay="0" conditionEdge="rising"> <ByValueCondition> <StoryboardElementStateCondition storyboardElementType="action" storyboardElementRef="AdversaryAccelerates" state="completeState"/> </ByValueCondition> </Condition> </ConditionGroup> </StartTrigger> </Event> </Maneuver> </ManeuverGroup> <StartTrigger> <ConditionGroup> <Condition name="OverallStartCondition" delay="0" conditionEdge="rising"> <ByEntityCondition> <TriggeringEntities triggeringEntitiesRule="any"> <EntityRef entityRef="hero"/> </TriggeringEntities> <EntityCondition> <TraveledDistanceCondition value="1.0"/> </EntityCondition> </ByEntityCondition> </Condition> <Condition name="StartTime" delay="0" conditionEdge="rising"> <ByValueCondition> <SimulationTimeCondition value="0" rule="equalTo"/> </ByValueCondition> </Condition> </ConditionGroup> </StartTrigger> <StopTrigger> <ConditionGroup> <Condition name="EndCondition" delay="0" conditionEdge="rising"> <ByEntityCondition> <TriggeringEntities triggeringEntitiesRule="any"> <EntityRef entityRef="hero"/> </TriggeringEntities> <EntityCondition> <TraveledDistanceCondition value="200.0"/> </EntityCondition> </ByEntityCondition> </Condition> </ConditionGroup> </StopTrigger> </Act> </Story> <StopTrigger> <ConditionGroup> <Condition name="criteria_RunningStopTest" delay="0" conditionEdge="rising"> <ByValueCondition> <ParameterCondition parameterRef="" value="" rule="lessThan"/> </ByValueCondition> </Condition> <Condition name="criteria_RunningRedLightTest" delay="0" conditionEdge="rising"> <ByValueCondition> <ParameterCondition parameterRef="" value="" rule="lessThan"/> </ByValueCondition> </Condition> <Condition name="criteria_WrongLaneTest" delay="0" conditionEdge="rising"> <ByValueCondition> <ParameterCondition parameterRef="" value="" rule="lessThan"/> </ByValueCondition> </Condition> <Condition name="criteria_OnSidewalkTest" delay="0" conditionEdge="rising"> <ByValueCondition> <ParameterCondition parameterRef="" value="" rule="lessThan"/> </ByValueCondition> </Condition> <Condition name="criteria_KeepLaneTest" delay="0" conditionEdge="rising"> <ByValueCondition> <ParameterCondition parameterRef="" value="" rule="lessThan"/> </ByValueCondition> </Condition> <Condition name="criteria_CollisionTest" delay="0" conditionEdge="rising"> <ByValueCondition> <ParameterCondition parameterRef="" value="" rule="lessThan"/> </ByValueCondition> </Condition> <Condition name="criteria_DrivenDistanceTest" delay="0" conditionEdge="rising"> <ByValueCondition> <ParameterCondition parameterRef="distance_success" value="100" rule="lessThan"/> </ByValueCondition> </Condition> </ConditionGroup> </StopTrigger> </Storyboard> </OpenSCENARIO> ```
Here is the result: ``` <?xml version="1.0" ?> <OpenSCENARIO> <FileHeader revMajor="1" revMinor="0" date="2020-03-24T12:00:00" description="CARLA:LaneChangeSimple" author=""/> <ParameterDeclarations/> <CatalogLocations/> <RoadNetwork> <LogicFile filepath="Town04"/> <SceneGraphFile filepath=""/> </RoadNetwork> <Entities> <ScenarioObject name="hero"> <Vehicle name="vehicle.tesla.model3" vehicleCategory="car"> <ParameterDeclarations/> <Performance maxSpeed="69.444" maxAcceleration="200" maxDeceleration="10.0"/> <BoundingBox> <Center x="1.5" y="0.0" z="0.9"/> <Dimensions width="2.1" length="4.5" height="1.8"/> </BoundingBox> <Axles> <FrontAxle maxSteering="0.5" wheelDiameter="0.6" trackWidth="1.8" positionX="3.1" positionZ="0.3"/> <RearAxle maxSteering="0.0" wheelDiameter="0.6" trackWidth="1.8" positionX="0.0" positionZ="0.3"/> </Axles> <Properties> <Property name="type" value="ego_vehicle"/> </Properties> </Vehicle> </ScenarioObject> <ScenarioObject name="adversary"> <Vehicle name="vehicle.lincoln.mkz_2017" vehicleCategory="car"> <ParameterDeclarations/> <Performance maxSpeed="69.444" maxAcceleration="200" maxDeceleration="10.0"/> <BoundingBox> <Center x="1.5" y="0.0" z="0.9"/> <Dimensions width="2.1" length="4.5" height="1.8"/> </BoundingBox> <Axles> <FrontAxle maxSteering="0.5" wheelDiameter="0.6" trackWidth="1.8" positionX="3.1" positionZ="0.3"/> <RearAxle maxSteering="0.0" wheelDiameter="0.6" trackWidth="1.8" positionX="0.0" positionZ="0.3"/> </Axles> <Properties> <Property name="type" value="simulation"/> </Properties> </Vehicle> </ScenarioObject> <ScenarioObject name="standing"> <Vehicle name="vehicle.volkswagen.t2" vehicleCategory="car"> <ParameterDeclarations/> <Performance maxSpeed="69.444" maxAcceleration="200" maxDeceleration="10.0"/> <BoundingBox> <Center x="1.5" y="0.0" z="0.9"/> <Dimensions width="2.1" length="4.5" height="1.8"/> </BoundingBox> <Axles> <FrontAxle maxSteering="0.5" wheelDiameter="0.6" trackWidth="1.8" positionX="3.1" positionZ="0.3"/> <RearAxle maxSteering="0.0" wheelDiameter="0.6" trackWidth="1.8" positionX="0.0" positionZ="0.3"/> </Axles> <Properties> <Property name="type" value="simulation"/> </Properties> </Vehicle> </ScenarioObject> <ScenarioObject name="pedestrian_close_to_hero_23851"> <Pedestrian model="walker.pedestrian.0001" mass="80" name="walker.pedestrian.0001" pedestrianCategory="pedestrian"> <ParameterDeclarations/> <BoundingBox> <Center x="1.5" y="0.0" z="0.9"/> <Dimensions width="2" length="2" height="2"/> </BoundingBox> <Properties> <Property name="type" value="simulation"/> </Properties> </Pedestrian> </ScenarioObject> </Entities> <Storyboard> <Init> <Actions> <GlobalAction> <EnvironmentAction> <Environment name="Environment1"> <TimeOfDay animation="false" dateTime="2019-06-25T12:00:00"/> <Weather cloudState="free"> <Sun intensity="0.85" azimuth="0" elevation="1.31"/> <Fog visualRange="100000.0"/> <Precipitation precipitationType="dry" intensity="0.0"/> </Weather> <RoadCondition frictionScaleFactor="1.0"/> </Environment> </EnvironmentAction> </GlobalAction> <Private entityRef="hero"> <PrivateAction> <TeleportAction> <Position> <WorldPosition x="-9.4" y="-152.8" z="0.5" h="1.57079632679"/> </Position> </TeleportAction> </PrivateAction> <PrivateAction> <ControllerAction> <AssignControllerAction> <Controller name="HeroAgent"> <Properties> <Property name="module" value="external_control"/> </Properties> </Controller> </AssignControllerAction> <OverrideControllerValueAction> <Throttle value="0" active="false"/> <Brake value="0" active="false"/> <Clutch value="0" active="false"/> <ParkingBrake value="0" active="false"/> <SteeringWheel value="0" active="false"/> <Gear number="0" active="false"/> </OverrideControllerValueAction> </ControllerAction> </PrivateAction> </Private> <Private entityRef="adversary"> <PrivateAction> <TeleportAction> <Position> <WorldPosition x="-9.4" y="-71.0" z="0.5" h="1.57079632679"/> </Position> </TeleportAction> </PrivateAction> </Private> <Private entityRef="standing"> <PrivateAction> <TeleportAction> <Position> <WorldPosition x="-8.2" y="29.2" z="0.5" h="1.57079632679"/> </Position> </TeleportAction> </PrivateAction> </Private> <Private entityRef="pedestrian_close_to_hero_23851"> <PrivateAction> <TeleportAction> <Position> <WorldPosition x="-16.04694175720215" y="-134.90838623046875" z="0.0014286803780123591"/> </Position> </TeleportAction> </PrivateAction> </Private> </Actions> </Init> <Story name="MyStory"> <Act name="Behavior"> <ManeuverGroup maximumExecutionCount="1" name="ManeuverSequence"> <Actors selectTriggeringEntities="false"> <EntityRef entityRef="adversary"/> </Actors> <Maneuver name="LaneChangeSimpleManeuver"> <Event name="AdversaryAccelerates" priority="overwrite"> <Action name="AdversaryAccelerates"> <PrivateAction> <LongitudinalAction> <SpeedAction> <SpeedActionDynamics dynamicsShape="step" value="50" dynamicsDimension="distance"/> <SpeedActionTarget> <AbsoluteTargetSpeed value="5.0"/> </SpeedActionTarget> </SpeedAction> </LongitudinalAction> </PrivateAction> </Action> <StartTrigger> <ConditionGroup> <Condition name="StartCondition" delay="0" conditionEdge="rising"> <ByEntityCondition> <TriggeringEntities triggeringEntitiesRule="any"> <EntityRef entityRef="hero"/> </TriggeringEntities> <EntityCondition> <RelativeDistanceCondition entityRef="adversary" relativeDistanceType="cartesianDistance" value="40.0" freespace="false" rule="lessThan"/> </EntityCondition> </ByEntityCondition> </Condition> </ConditionGroup> </StartTrigger> </Event> <Event name="AdversaryChangesLane" priority="overwrite"> <Action name="AdversaryChangesLane"> <PrivateAction> <LateralAction> <LaneChangeAction> <LaneChangeActionDynamics dynamicsShape="linear" value="25" dynamicsDimension="distance"/> <LaneChangeTarget> <RelativeTargetLane entityRef="adversary" value="-1"/> </LaneChangeTarget> </LaneChangeAction> </LateralAction> </PrivateAction> </Action> <StartTrigger> <ConditionGroup> <Condition name="AfterAdversaryAccelerates" delay="0" conditionEdge="rising"> <ByValueCondition> <StoryboardElementStateCondition storyboardElementType="action" storyboardElementRef="AdversaryAccelerates" state="completeState"/> </ByValueCondition> </Condition> </ConditionGroup> </StartTrigger> </Event> </Maneuver> </ManeuverGroup> <StartTrigger> <ConditionGroup> <Condition name="OverallStartCondition" delay="0" conditionEdge="rising"> <ByEntityCondition> <TriggeringEntities triggeringEntitiesRule="any"> <EntityRef entityRef="hero"/> </TriggeringEntities> <EntityCondition> <TraveledDistanceCondition value="1.0"/> </EntityCondition> </ByEntityCondition> </Condition> <Condition name="StartTime" delay="0" conditionEdge="rising"> <ByValueCondition> <SimulationTimeCondition value="0" rule="equalTo"/> </ByValueCondition> </Condition> </ConditionGroup> </StartTrigger> <StopTrigger> <ConditionGroup> <Condition name="EndCondition" delay="0" conditionEdge="rising"> <ByEntityCondition> <TriggeringEntities triggeringEntitiesRule="any"> <EntityRef entityRef="hero"/> </TriggeringEntities> <EntityCondition> <TraveledDistanceCondition value="200.0"/> </EntityCondition> </ByEntityCondition> </Condition> </ConditionGroup> </StopTrigger> </Act> </Story> <StopTrigger> <ConditionGroup> <Condition name="criteria_RunningStopTest" delay="0" conditionEdge="rising"> <ByValueCondition> <ParameterCondition parameterRef="" value="" rule="lessThan"/> </ByValueCondition> </Condition> <Condition name="criteria_RunningRedLightTest" delay="0" conditionEdge="rising"> <ByValueCondition> <ParameterCondition parameterRef="" value="" rule="lessThan"/> </ByValueCondition> </Condition> <Condition name="criteria_WrongLaneTest" delay="0" conditionEdge="rising"> <ByValueCondition> <ParameterCondition parameterRef="" value="" rule="lessThan"/> </ByValueCondition> </Condition> <Condition name="criteria_OnSidewalkTest" delay="0" conditionEdge="rising"> <ByValueCondition> <ParameterCondition parameterRef="" value="" rule="lessThan"/> </ByValueCondition> </Condition> <Condition name="criteria_KeepLaneTest" delay="0" conditionEdge="rising"> <ByValueCondition> <ParameterCondition parameterRef="" value="" rule="lessThan"/> </ByValueCondition> </Condition> <Condition name="criteria_CollisionTest" delay="0" conditionEdge="rising"> <ByValueCondition> <ParameterCondition parameterRef="" value="" rule="lessThan"/> </ByValueCondition> </Condition> <Condition name="criteria_DrivenDistanceTest" delay="0" conditionEdge="rising"> <ByValueCondition> <ParameterCondition parameterRef="distance_success" value="100" rule="lessThan"/> </ByValueCondition> </Condition> </ConditionGroup> </StopTrigger> </Storyboard> </OpenSCENARIO> ```
i want you to add pedestrian at location (-91.41, 47.21, 0.5)? ``` <?xml version="1.0" ?> <OpenSCENARIO> <FileHeader revMajor="1" revMinor="0" date="2020-03-24T12:00:00" description="CARLA:LaneChangeSimple" author=""/> <ParameterDeclarations/> <CatalogLocations/> <RoadNetwork> <LogicFile filepath="Town04"/> <SceneGraphFile filepath=""/> </RoadNetwork> <Entities> <ScenarioObject name="hero"> <Vehicle name="vehicle.tesla.model3" vehicleCategory="car"> <ParameterDeclarations/> <Performance maxSpeed="69.444" maxAcceleration="200" maxDeceleration="10.0"/> <BoundingBox> <Center x="1.5" y="0.0" z="0.9"/> <Dimensions width="2.1" length="4.5" height="1.8"/> </BoundingBox> <Axles> <FrontAxle maxSteering="0.5" wheelDiameter="0.6" trackWidth="1.8" positionX="3.1" positionZ="0.3"/> <RearAxle maxSteering="0.0" wheelDiameter="0.6" trackWidth="1.8" positionX="0.0" positionZ="0.3"/> </Axles> <Properties> <Property name="type" value="ego_vehicle"/> </Properties> </Vehicle> </ScenarioObject> <ScenarioObject name="adversary"> <Vehicle name="vehicle.lincoln.mkz_2017" vehicleCategory="car"> <ParameterDeclarations/> <Performance maxSpeed="69.444" maxAcceleration="200" maxDeceleration="10.0"/> <BoundingBox> <Center x="1.5" y="0.0" z="0.9"/> <Dimensions width="2.1" length="4.5" height="1.8"/> </BoundingBox> <Axles> <FrontAxle maxSteering="0.5" wheelDiameter="0.6" trackWidth="1.8" positionX="3.1" positionZ="0.3"/> <RearAxle maxSteering="0.0" wheelDiameter="0.6" trackWidth="1.8" positionX="0.0" positionZ="0.3"/> </Axles> <Properties> <Property name="type" value="simulation"/> </Properties> </Vehicle> </ScenarioObject> <ScenarioObject name="standing"> <Vehicle name="vehicle.volkswagen.t2" vehicleCategory="car"> <ParameterDeclarations/> <Performance maxSpeed="69.444" maxAcceleration="200" maxDeceleration="10.0"/> <BoundingBox> <Center x="1.5" y="0.0" z="0.9"/> <Dimensions width="2.1" length="4.5" height="1.8"/> </BoundingBox> <Axles> <FrontAxle maxSteering="0.5" wheelDiameter="0.6" trackWidth="1.8" positionX="3.1" positionZ="0.3"/> <RearAxle maxSteering="0.0" wheelDiameter="0.6" trackWidth="1.8" positionX="0.0" positionZ="0.3"/> </Axles> <Properties> <Property name="type" value="simulation"/> </Properties> </Vehicle> </ScenarioObject> <ScenarioObject name="pedestrian_close_to_adversary_12545"> <Pedestrian model="walker.pedestrian.0001" mass="80" name="walker.pedestrian.0001" pedestrianCategory="pedestrian"> <ParameterDeclarations/> <BoundingBox> <Center x="1.5" y="0.0" z="0.9"/> <Dimensions width="2" length="2" height="2"/> </BoundingBox> <Properties> <Property name="type" value="simulation"/> </Properties> </Pedestrian> </ScenarioObject> <ScenarioObject name="pedestrian_w_transform_12546"> <Pedestrian model="walker.pedestrian.0001" mass="80" name="walker.pedestrian.0001" pedestrianCategory="pedestrian"> <ParameterDeclarations/> <BoundingBox> <Center x="1.5" y="0.0" z="0.9"/> <Dimensions width="2" length="2" height="2"/> </BoundingBox> <Properties> <Property name="type" value="simulation"/> </Properties> </Pedestrian> </ScenarioObject> </Entities> <Storyboard> <Init> <Actions> <GlobalAction> <EnvironmentAction> <Environment name="Environment1"> <TimeOfDay animation="false" dateTime="2019-06-25T12:00:00"/> <Weather cloudState="free"> <Sun intensity="0.85" azimuth="0" elevation="1.31"/> <Fog visualRange="100000.0"/> <Precipitation precipitationType="dry" intensity="0.0"/> </Weather> <RoadCondition frictionScaleFactor="1.0"/> </Environment> </EnvironmentAction> </GlobalAction> <Private entityRef="hero"> <PrivateAction> <TeleportAction> <Position> <WorldPosition x="-9.4" y="-152.8" z="0.5" h="1.57079632679"/> </Position> </TeleportAction> </PrivateAction> <PrivateAction> <ControllerAction> <AssignControllerAction> <Controller name="HeroAgent"> <Properties> <Property name="module" value="external_control"/> </Properties> </Controller> </AssignControllerAction> <OverrideControllerValueAction> <Throttle value="0" active="false"/> <Brake value="0" active="false"/> <Clutch value="0" active="false"/> <ParkingBrake value="0" active="false"/> <SteeringWheel value="0" active="false"/> <Gear number="0" active="false"/> </OverrideControllerValueAction> </ControllerAction> </PrivateAction> </Private> <Private entityRef="adversary"> <PrivateAction> <TeleportAction> <Position> <WorldPosition x="-9.4" y="-71.0" z="0.5" h="1.57079632679"/> </Position> </TeleportAction> </PrivateAction> </Private> <Private entityRef="standing"> <PrivateAction> <TeleportAction> <Position> <WorldPosition x="-8.2" y="29.2" z="0.5" h="1.57079632679"/> </Position> </TeleportAction> </PrivateAction> </Private> <Private entityRef="pedestrian_close_to_adversary_12545"> <PrivateAction> <TeleportAction> <Position> <WorldPosition x="-19.247098922729492" y="-55.03504180908203" z="0.03375476598739624"/> </Position> </TeleportAction> </PrivateAction> </Private> <Private entityRef="pedestrian_w_transform_12546"> <PrivateAction> <TeleportAction> <Position> <WorldPosition x="-54.372276306152344" y="-40.12731170654297" z="0.5"/> </Position> </TeleportAction> </PrivateAction> </Private> </Actions> </Init> <Story name="MyStory"> <Act name="Behavior"> <ManeuverGroup maximumExecutionCount="1" name="ManeuverSequence"> <Actors selectTriggeringEntities="false"> <EntityRef entityRef="adversary"/> </Actors> <Maneuver name="LaneChangeSimpleManeuver"> <Event name="AdversaryAccelerates" priority="overwrite"> <Action name="AdversaryAccelerates"> <PrivateAction> <LongitudinalAction> <SpeedAction> <SpeedActionDynamics dynamicsShape="step" value="50" dynamicsDimension="distance"/> <SpeedActionTarget> <AbsoluteTargetSpeed value="5.0"/> </SpeedActionTarget> </SpeedAction> </LongitudinalAction> </PrivateAction> </Action> <StartTrigger> <ConditionGroup> <Condition name="StartCondition" delay="0" conditionEdge="rising"> <ByEntityCondition> <TriggeringEntities triggeringEntitiesRule="any"> <EntityRef entityRef="hero"/> </TriggeringEntities> <EntityCondition> <RelativeDistanceCondition entityRef="adversary" relativeDistanceType="cartesianDistance" value="40.0" freespace="false" rule="lessThan"/> </EntityCondition> </ByEntityCondition> </Condition> </ConditionGroup> </StartTrigger> </Event> <Event name="AdversaryChangesLane" priority="overwrite"> <Action name="AdversaryChangesLane"> <PrivateAction> <LateralAction> <LaneChangeAction> <LaneChangeActionDynamics dynamicsShape="linear" value="25" dynamicsDimension="distance"/> <LaneChangeTarget> <RelativeTargetLane entityRef="adversary" value="-1"/> </LaneChangeTarget> </LaneChangeAction> </LateralAction> </PrivateAction> </Action> <StartTrigger> <ConditionGroup> <Condition name="AfterAdversaryAccelerates" delay="0" conditionEdge="rising"> <ByValueCondition> <StoryboardElementStateCondition storyboardElementType="action" storyboardElementRef="AdversaryAccelerates" state="completeState"/> </ByValueCondition> </Condition> </ConditionGroup> </StartTrigger> </Event> </Maneuver> </ManeuverGroup> <StartTrigger> <ConditionGroup> <Condition name="OverallStartCondition" delay="0" conditionEdge="rising"> <ByEntityCondition> <TriggeringEntities triggeringEntitiesRule="any"> <EntityRef entityRef="hero"/> </TriggeringEntities> <EntityCondition> <TraveledDistanceCondition value="1.0"/> </EntityCondition> </ByEntityCondition> </Condition> <Condition name="StartTime" delay="0" conditionEdge="rising"> <ByValueCondition> <SimulationTimeCondition value="0" rule="equalTo"/> </ByValueCondition> </Condition> </ConditionGroup> </StartTrigger> <StopTrigger> <ConditionGroup> <Condition name="EndCondition" delay="0" conditionEdge="rising"> <ByEntityCondition> <TriggeringEntities triggeringEntitiesRule="any"> <EntityRef entityRef="hero"/> </TriggeringEntities> <EntityCondition> <TraveledDistanceCondition value="200.0"/> </EntityCondition> </ByEntityCondition> </Condition> </ConditionGroup> </StopTrigger> </Act> </Story> <StopTrigger> <ConditionGroup> <Condition name="criteria_RunningStopTest" delay="0" conditionEdge="rising"> <ByValueCondition> <ParameterCondition parameterRef="" value="" rule="lessThan"/> </ByValueCondition> </Condition> <Condition name="criteria_RunningRedLightTest" delay="0" conditionEdge="rising"> <ByValueCondition> <ParameterCondition parameterRef="" value="" rule="lessThan"/> </ByValueCondition> </Condition> <Condition name="criteria_WrongLaneTest" delay="0" conditionEdge="rising"> <ByValueCondition> <ParameterCondition parameterRef="" value="" rule="lessThan"/> </ByValueCondition> </Condition> <Condition name="criteria_OnSidewalkTest" delay="0" conditionEdge="rising"> <ByValueCondition> <ParameterCondition parameterRef="" value="" rule="lessThan"/> </ByValueCondition> </Condition> <Condition name="criteria_KeepLaneTest" delay="0" conditionEdge="rising"> <ByValueCondition> <ParameterCondition parameterRef="" value="" rule="lessThan"/> </ByValueCondition> </Condition> <Condition name="criteria_CollisionTest" delay="0" conditionEdge="rising"> <ByValueCondition> <ParameterCondition parameterRef="" value="" rule="lessThan"/> </ByValueCondition> </Condition> <Condition name="criteria_DrivenDistanceTest" delay="0" conditionEdge="rising"> <ByValueCondition> <ParameterCondition parameterRef="distance_success" value="100" rule="lessThan"/> </ByValueCondition> </Condition> </ConditionGroup> </StopTrigger> </Storyboard> </OpenSCENARIO> ```
Here is the result: ``` <?xml version="1.0" ?> <OpenSCENARIO> <FileHeader revMajor="1" revMinor="0" date="2020-03-24T12:00:00" description="CARLA:LaneChangeSimple" author=""/> <ParameterDeclarations/> <CatalogLocations/> <RoadNetwork> <LogicFile filepath="Town04"/> <SceneGraphFile filepath=""/> </RoadNetwork> <Entities> <ScenarioObject name="hero"> <Vehicle name="vehicle.tesla.model3" vehicleCategory="car"> <ParameterDeclarations/> <Performance maxSpeed="69.444" maxAcceleration="200" maxDeceleration="10.0"/> <BoundingBox> <Center x="1.5" y="0.0" z="0.9"/> <Dimensions width="2.1" length="4.5" height="1.8"/> </BoundingBox> <Axles> <FrontAxle maxSteering="0.5" wheelDiameter="0.6" trackWidth="1.8" positionX="3.1" positionZ="0.3"/> <RearAxle maxSteering="0.0" wheelDiameter="0.6" trackWidth="1.8" positionX="0.0" positionZ="0.3"/> </Axles> <Properties> <Property name="type" value="ego_vehicle"/> </Properties> </Vehicle> </ScenarioObject> <ScenarioObject name="adversary"> <Vehicle name="vehicle.lincoln.mkz_2017" vehicleCategory="car"> <ParameterDeclarations/> <Performance maxSpeed="69.444" maxAcceleration="200" maxDeceleration="10.0"/> <BoundingBox> <Center x="1.5" y="0.0" z="0.9"/> <Dimensions width="2.1" length="4.5" height="1.8"/> </BoundingBox> <Axles> <FrontAxle maxSteering="0.5" wheelDiameter="0.6" trackWidth="1.8" positionX="3.1" positionZ="0.3"/> <RearAxle maxSteering="0.0" wheelDiameter="0.6" trackWidth="1.8" positionX="0.0" positionZ="0.3"/> </Axles> <Properties> <Property name="type" value="simulation"/> </Properties> </Vehicle> </ScenarioObject> <ScenarioObject name="standing"> <Vehicle name="vehicle.volkswagen.t2" vehicleCategory="car"> <ParameterDeclarations/> <Performance maxSpeed="69.444" maxAcceleration="200" maxDeceleration="10.0"/> <BoundingBox> <Center x="1.5" y="0.0" z="0.9"/> <Dimensions width="2.1" length="4.5" height="1.8"/> </BoundingBox> <Axles> <FrontAxle maxSteering="0.5" wheelDiameter="0.6" trackWidth="1.8" positionX="3.1" positionZ="0.3"/> <RearAxle maxSteering="0.0" wheelDiameter="0.6" trackWidth="1.8" positionX="0.0" positionZ="0.3"/> </Axles> <Properties> <Property name="type" value="simulation"/> </Properties> </Vehicle> </ScenarioObject> <ScenarioObject name="pedestrian_close_to_adversary_12545"> <Pedestrian model="walker.pedestrian.0001" mass="80" name="walker.pedestrian.0001" pedestrianCategory="pedestrian"> <ParameterDeclarations/> <BoundingBox> <Center x="1.5" y="0.0" z="0.9"/> <Dimensions width="2" length="2" height="2"/> </BoundingBox> <Properties> <Property name="type" value="simulation"/> </Properties> </Pedestrian> </ScenarioObject> <ScenarioObject name="pedestrian_w_transform_12546"> <Pedestrian model="walker.pedestrian.0001" mass="80" name="walker.pedestrian.0001" pedestrianCategory="pedestrian"> <ParameterDeclarations/> <BoundingBox> <Center x="1.5" y="0.0" z="0.9"/> <Dimensions width="2" length="2" height="2"/> </BoundingBox> <Properties> <Property name="type" value="simulation"/> </Properties> </Pedestrian> </ScenarioObject> <ScenarioObject name="pedestrian_w_transform_12548"> <Pedestrian model="walker.pedestrian.0001" mass="80" name="walker.pedestrian.0001" pedestrianCategory="pedestrian"> <ParameterDeclarations/> <BoundingBox> <Center x="1.5" y="0.0" z="0.9"/> <Dimensions width="2" length="2" height="2"/> </BoundingBox> <Properties> <Property name="type" value="simulation"/> </Properties> </Pedestrian> </ScenarioObject> </Entities> <Storyboard> <Init> <Actions> <GlobalAction> <EnvironmentAction> <Environment name="Environment1"> <TimeOfDay animation="false" dateTime="2019-06-25T12:00:00"/> <Weather cloudState="free"> <Sun intensity="0.85" azimuth="0" elevation="1.31"/> <Fog visualRange="100000.0"/> <Precipitation precipitationType="dry" intensity="0.0"/> </Weather> <RoadCondition frictionScaleFactor="1.0"/> </Environment> </EnvironmentAction> </GlobalAction> <Private entityRef="hero"> <PrivateAction> <TeleportAction> <Position> <WorldPosition x="-9.4" y="-152.8" z="0.5" h="1.57079632679"/> </Position> </TeleportAction> </PrivateAction> <PrivateAction> <ControllerAction> <AssignControllerAction> <Controller name="HeroAgent"> <Properties> <Property name="module" value="external_control"/> </Properties> </Controller> </AssignControllerAction> <OverrideControllerValueAction> <Throttle value="0" active="false"/> <Brake value="0" active="false"/> <Clutch value="0" active="false"/> <ParkingBrake value="0" active="false"/> <SteeringWheel value="0" active="false"/> <Gear number="0" active="false"/> </OverrideControllerValueAction> </ControllerAction> </PrivateAction> </Private> <Private entityRef="adversary"> <PrivateAction> <TeleportAction> <Position> <WorldPosition x="-9.4" y="-71.0" z="0.5" h="1.57079632679"/> </Position> </TeleportAction> </PrivateAction> </Private> <Private entityRef="standing"> <PrivateAction> <TeleportAction> <Position> <WorldPosition x="-8.2" y="29.2" z="0.5" h="1.57079632679"/> </Position> </TeleportAction> </PrivateAction> </Private> <Private entityRef="pedestrian_close_to_adversary_12545"> <PrivateAction> <TeleportAction> <Position> <WorldPosition x="-19.247098922729492" y="-55.03504180908203" z="0.03375476598739624"/> </Position> </TeleportAction> </PrivateAction> </Private> <Private entityRef="pedestrian_w_transform_12546"> <PrivateAction> <TeleportAction> <Position> <WorldPosition x="-54.372276306152344" y="-40.12731170654297" z="0.5"/> </Position> </TeleportAction> </PrivateAction> </Private> <Private entityRef="pedestrian_w_transform_12548"> <PrivateAction> <TeleportAction> <Position> <WorldPosition x="-91.41333770751953" y="47.21260070800781" z="0.5"/> </Position> </TeleportAction> </PrivateAction> </Private> </Actions> </Init> <Story name="MyStory"> <Act name="Behavior"> <ManeuverGroup maximumExecutionCount="1" name="ManeuverSequence"> <Actors selectTriggeringEntities="false"> <EntityRef entityRef="adversary"/> </Actors> <Maneuver name="LaneChangeSimpleManeuver"> <Event name="AdversaryAccelerates" priority="overwrite"> <Action name="AdversaryAccelerates"> <PrivateAction> <LongitudinalAction> <SpeedAction> <SpeedActionDynamics dynamicsShape="step" value="50" dynamicsDimension="distance"/> <SpeedActionTarget> <AbsoluteTargetSpeed value="5.0"/> </SpeedActionTarget> </SpeedAction> </LongitudinalAction> </PrivateAction> </Action> <StartTrigger> <ConditionGroup> <Condition name="StartCondition" delay="0" conditionEdge="rising"> <ByEntityCondition> <TriggeringEntities triggeringEntitiesRule="any"> <EntityRef entityRef="hero"/> </TriggeringEntities> <EntityCondition> <RelativeDistanceCondition entityRef="adversary" relativeDistanceType="cartesianDistance" value="40.0" freespace="false" rule="lessThan"/> </EntityCondition> </ByEntityCondition> </Condition> </ConditionGroup> </StartTrigger> </Event> <Event name="AdversaryChangesLane" priority="overwrite"> <Action name="AdversaryChangesLane"> <PrivateAction> <LateralAction> <LaneChangeAction> <LaneChangeActionDynamics dynamicsShape="linear" value="25" dynamicsDimension="distance"/> <LaneChangeTarget> <RelativeTargetLane entityRef="adversary" value="-1"/> </LaneChangeTarget> </LaneChangeAction> </LateralAction> </PrivateAction> </Action> <StartTrigger> <ConditionGroup> <Condition name="AfterAdversaryAccelerates" delay="0" conditionEdge="rising"> <ByValueCondition> <StoryboardElementStateCondition storyboardElementType="action" storyboardElementRef="AdversaryAccelerates" state="completeState"/> </ByValueCondition> </Condition> </ConditionGroup> </StartTrigger> </Event> </Maneuver> </ManeuverGroup> <StartTrigger> <ConditionGroup> <Condition name="OverallStartCondition" delay="0" conditionEdge="rising"> <ByEntityCondition> <TriggeringEntities triggeringEntitiesRule="any"> <EntityRef entityRef="hero"/> </TriggeringEntities> <EntityCondition> <TraveledDistanceCondition value="1.0"/> </EntityCondition> </ByEntityCondition> </Condition> <Condition name="StartTime" delay="0" conditionEdge="rising"> <ByValueCondition> <SimulationTimeCondition value="0" rule="equalTo"/> </ByValueCondition> </Condition> </ConditionGroup> </StartTrigger> <StopTrigger> <ConditionGroup> <Condition name="EndCondition" delay="0" conditionEdge="rising"> <ByEntityCondition> <TriggeringEntities triggeringEntitiesRule="any"> <EntityRef entityRef="hero"/> </TriggeringEntities> <EntityCondition> <TraveledDistanceCondition value="200.0"/> </EntityCondition> </ByEntityCondition> </Condition> </ConditionGroup> </StopTrigger> </Act> </Story> <StopTrigger> <ConditionGroup> <Condition name="criteria_RunningStopTest" delay="0" conditionEdge="rising"> <ByValueCondition> <ParameterCondition parameterRef="" value="" rule="lessThan"/> </ByValueCondition> </Condition> <Condition name="criteria_RunningRedLightTest" delay="0" conditionEdge="rising"> <ByValueCondition> <ParameterCondition parameterRef="" value="" rule="lessThan"/> </ByValueCondition> </Condition> <Condition name="criteria_WrongLaneTest" delay="0" conditionEdge="rising"> <ByValueCondition> <ParameterCondition parameterRef="" value="" rule="lessThan"/> </ByValueCondition> </Condition> <Condition name="criteria_OnSidewalkTest" delay="0" conditionEdge="rising"> <ByValueCondition> <ParameterCondition parameterRef="" value="" rule="lessThan"/> </ByValueCondition> </Condition> <Condition name="criteria_KeepLaneTest" delay="0" conditionEdge="rising"> <ByValueCondition> <ParameterCondition parameterRef="" value="" rule="lessThan"/> </ByValueCondition> </Condition> <Condition name="criteria_CollisionTest" delay="0" conditionEdge="rising"> <ByValueCondition> <ParameterCondition parameterRef="" value="" rule="lessThan"/> </ByValueCondition> </Condition> <Condition name="criteria_DrivenDistanceTest" delay="0" conditionEdge="rising"> <ByValueCondition> <ParameterCondition parameterRef="distance_success" value="100" rule="lessThan"/> </ByValueCondition> </Condition> </ConditionGroup> </StopTrigger> </Storyboard> </OpenSCENARIO> ```
add pedestrian close to adversary? ``` <?xml version="1.0" ?> <OpenSCENARIO> <FileHeader revMajor="1" revMinor="0" date="2020-03-24T12:00:00" description="CARLA:LaneChangeSimple" author=""/> <ParameterDeclarations/> <CatalogLocations/> <RoadNetwork> <LogicFile filepath="Town04"/> <SceneGraphFile filepath=""/> </RoadNetwork> <Entities> <ScenarioObject name="hero"> <Vehicle name="vehicle.tesla.model3" vehicleCategory="car"> <ParameterDeclarations/> <Performance maxSpeed="69.444" maxAcceleration="200" maxDeceleration="10.0"/> <BoundingBox> <Center x="1.5" y="0.0" z="0.9"/> <Dimensions width="2.1" length="4.5" height="1.8"/> </BoundingBox> <Axles> <FrontAxle maxSteering="0.5" wheelDiameter="0.6" trackWidth="1.8" positionX="3.1" positionZ="0.3"/> <RearAxle maxSteering="0.0" wheelDiameter="0.6" trackWidth="1.8" positionX="0.0" positionZ="0.3"/> </Axles> <Properties> <Property name="type" value="ego_vehicle"/> </Properties> </Vehicle> </ScenarioObject> <ScenarioObject name="adversary"> <Vehicle name="vehicle.lincoln.mkz_2017" vehicleCategory="car"> <ParameterDeclarations/> <Performance maxSpeed="69.444" maxAcceleration="200" maxDeceleration="10.0"/> <BoundingBox> <Center x="1.5" y="0.0" z="0.9"/> <Dimensions width="2.1" length="4.5" height="1.8"/> </BoundingBox> <Axles> <FrontAxle maxSteering="0.5" wheelDiameter="0.6" trackWidth="1.8" positionX="3.1" positionZ="0.3"/> <RearAxle maxSteering="0.0" wheelDiameter="0.6" trackWidth="1.8" positionX="0.0" positionZ="0.3"/> </Axles> <Properties> <Property name="type" value="simulation"/> </Properties> </Vehicle> </ScenarioObject> <ScenarioObject name="standing"> <Vehicle name="vehicle.volkswagen.t2" vehicleCategory="car"> <ParameterDeclarations/> <Performance maxSpeed="69.444" maxAcceleration="200" maxDeceleration="10.0"/> <BoundingBox> <Center x="1.5" y="0.0" z="0.9"/> <Dimensions width="2.1" length="4.5" height="1.8"/> </BoundingBox> <Axles> <FrontAxle maxSteering="0.5" wheelDiameter="0.6" trackWidth="1.8" positionX="3.1" positionZ="0.3"/> <RearAxle maxSteering="0.0" wheelDiameter="0.6" trackWidth="1.8" positionX="0.0" positionZ="0.3"/> </Axles> <Properties> <Property name="type" value="simulation"/> </Properties> </Vehicle> </ScenarioObject> <ScenarioObject name="pedestrian_close_to_hero_6703"> <Pedestrian model="walker.pedestrian.0001" mass="80" name="walker.pedestrian.0001" pedestrianCategory="pedestrian"> <ParameterDeclarations/> <BoundingBox> <Center x="1.5" y="0.0" z="0.9"/> <Dimensions width="2" length="2" height="2"/> </BoundingBox> <Properties> <Property name="type" value="simulation"/> </Properties> </Pedestrian> </ScenarioObject> <ScenarioObject name="pedestrian_close_to_hero_6705"> <Pedestrian model="walker.pedestrian.0001" mass="80" name="walker.pedestrian.0001" pedestrianCategory="pedestrian"> <ParameterDeclarations/> <BoundingBox> <Center x="1.5" y="0.0" z="0.9"/> <Dimensions width="2" length="2" height="2"/> </BoundingBox> <Properties> <Property name="type" value="simulation"/> </Properties> </Pedestrian> </ScenarioObject> <ScenarioObject name="pedestrian_w_transform_6706"> <Pedestrian model="walker.pedestrian.0001" mass="80" name="walker.pedestrian.0001" pedestrianCategory="pedestrian"> <ParameterDeclarations/> <BoundingBox> <Center x="1.5" y="0.0" z="0.9"/> <Dimensions width="2" length="2" height="2"/> </BoundingBox> <Properties> <Property name="type" value="simulation"/> </Properties> </Pedestrian> </ScenarioObject> <ScenarioObject name="pedestrian_close_to_standing_6707"> <Pedestrian model="walker.pedestrian.0001" mass="80" name="walker.pedestrian.0001" pedestrianCategory="pedestrian"> <ParameterDeclarations/> <BoundingBox> <Center x="1.5" y="0.0" z="0.9"/> <Dimensions width="2" length="2" height="2"/> </BoundingBox> <Properties> <Property name="type" value="simulation"/> </Properties> </Pedestrian> </ScenarioObject> <ScenarioObject name="pedestrian_w_transform_6708"> <Pedestrian model="walker.pedestrian.0001" mass="80" name="walker.pedestrian.0001" pedestrianCategory="pedestrian"> <ParameterDeclarations/> <BoundingBox> <Center x="1.5" y="0.0" z="0.9"/> <Dimensions width="2" length="2" height="2"/> </BoundingBox> <Properties> <Property name="type" value="simulation"/> </Properties> </Pedestrian> </ScenarioObject> <ScenarioObject name="pedestrian_w_transform_6709"> <Pedestrian model="walker.pedestrian.0001" mass="80" name="walker.pedestrian.0001" pedestrianCategory="pedestrian"> <ParameterDeclarations/> <BoundingBox> <Center x="1.5" y="0.0" z="0.9"/> <Dimensions width="2" length="2" height="2"/> </BoundingBox> <Properties> <Property name="type" value="simulation"/> </Properties> </Pedestrian> </ScenarioObject> </Entities> <Storyboard> <Init> <Actions> <GlobalAction> <EnvironmentAction> <Environment name="Environment1"> <TimeOfDay animation="false" dateTime="2019-06-25T12:00:00"/> <Weather cloudState="free"> <Sun intensity="0.85" azimuth="0" elevation="1.31"/> <Fog visualRange="100000.0"/> <Precipitation precipitationType="dry" intensity="0.0"/> </Weather> <RoadCondition frictionScaleFactor="1.0"/> </Environment> </EnvironmentAction> </GlobalAction> <Private entityRef="hero"> <PrivateAction> <TeleportAction> <Position> <WorldPosition x="-9.4" y="-152.8" z="0.5" h="1.57079632679"/> </Position> </TeleportAction> </PrivateAction> <PrivateAction> <ControllerAction> <AssignControllerAction> <Controller name="HeroAgent"> <Properties> <Property name="module" value="external_control"/> </Properties> </Controller> </AssignControllerAction> <OverrideControllerValueAction> <Throttle value="0" active="false"/> <Brake value="0" active="false"/> <Clutch value="0" active="false"/> <ParkingBrake value="0" active="false"/> <SteeringWheel value="0" active="false"/> <Gear number="0" active="false"/> </OverrideControllerValueAction> </ControllerAction> </PrivateAction> </Private> <Private entityRef="adversary"> <PrivateAction> <TeleportAction> <Position> <WorldPosition x="-9.4" y="-71.0" z="0.5" h="1.57079632679"/> </Position> </TeleportAction> </PrivateAction> </Private> <Private entityRef="standing"> <PrivateAction> <TeleportAction> <Position> <WorldPosition x="-8.2" y="29.2" z="0.5" h="1.57079632679"/> </Position> </TeleportAction> </PrivateAction> </Private> <Private entityRef="pedestrian_close_to_hero_6703"> <PrivateAction> <TeleportAction> <Position> <WorldPosition x="-16.835281372070312" y="-160.52671813964844" z="0.0014286803780123591"/> </Position> </TeleportAction> </PrivateAction> </Private> <Private entityRef="pedestrian_close_to_hero_6705"> <PrivateAction> <TeleportAction> <Position> <WorldPosition x="-8.17014217376709" y="-151.26524353027344" z="0.0014286803780123591"/> </Position> </TeleportAction> </PrivateAction> </Private> <Private entityRef="pedestrian_w_transform_6706"> <PrivateAction> <TeleportAction> <Position> <WorldPosition x="-4.394046783447266" y="98.23787689208984" z="0.5"/> </Position> </TeleportAction> </PrivateAction> </Private> <Private entityRef="pedestrian_close_to_standing_6707"> <PrivateAction> <TeleportAction> <Position> <WorldPosition x="0.7676860690116882" y="19.951679229736328" z="0.0030501175206154585"/> </Position> </TeleportAction> </PrivateAction> </Private> <Private entityRef="pedestrian_w_transform_6708"> <PrivateAction> <TeleportAction> <Position> <WorldPosition x="1.3837774991989136" y="-83.04444122314453" z="0.5"/> </Position> </TeleportAction> </PrivateAction> </Private> <Private entityRef="pedestrian_w_transform_6709"> <PrivateAction> <TeleportAction> <Position> <WorldPosition x="67.2651596069336" y="-33.47517013549805" z="0.5"/> </Position> </TeleportAction> </PrivateAction> </Private> </Actions> </Init> <Story name="MyStory"> <Act name="Behavior"> <ManeuverGroup maximumExecutionCount="1" name="ManeuverSequence"> <Actors selectTriggeringEntities="false"> <EntityRef entityRef="adversary"/> </Actors> <Maneuver name="LaneChangeSimpleManeuver"> <Event name="AdversaryAccelerates" priority="overwrite"> <Action name="AdversaryAccelerates"> <PrivateAction> <LongitudinalAction> <SpeedAction> <SpeedActionDynamics dynamicsShape="step" value="50" dynamicsDimension="distance"/> <SpeedActionTarget> <AbsoluteTargetSpeed value="5.0"/> </SpeedActionTarget> </SpeedAction> </LongitudinalAction> </PrivateAction> </Action> <StartTrigger> <ConditionGroup> <Condition name="StartCondition" delay="0" conditionEdge="rising"> <ByEntityCondition> <TriggeringEntities triggeringEntitiesRule="any"> <EntityRef entityRef="hero"/> </TriggeringEntities> <EntityCondition> <RelativeDistanceCondition entityRef="adversary" relativeDistanceType="cartesianDistance" value="40.0" freespace="false" rule="lessThan"/> </EntityCondition> </ByEntityCondition> </Condition> </ConditionGroup> </StartTrigger> </Event> <Event name="AdversaryChangesLane" priority="overwrite"> <Action name="AdversaryChangesLane"> <PrivateAction> <LateralAction> <LaneChangeAction> <LaneChangeActionDynamics dynamicsShape="linear" value="25" dynamicsDimension="distance"/> <LaneChangeTarget> <RelativeTargetLane entityRef="adversary" value="-1"/> </LaneChangeTarget> </LaneChangeAction> </LateralAction> </PrivateAction> </Action> <StartTrigger> <ConditionGroup> <Condition name="AfterAdversaryAccelerates" delay="0" conditionEdge="rising"> <ByValueCondition> <StoryboardElementStateCondition storyboardElementType="action" storyboardElementRef="AdversaryAccelerates" state="completeState"/> </ByValueCondition> </Condition> </ConditionGroup> </StartTrigger> </Event> </Maneuver> </ManeuverGroup> <StartTrigger> <ConditionGroup> <Condition name="OverallStartCondition" delay="0" conditionEdge="rising"> <ByEntityCondition> <TriggeringEntities triggeringEntitiesRule="any"> <EntityRef entityRef="hero"/> </TriggeringEntities> <EntityCondition> <TraveledDistanceCondition value="1.0"/> </EntityCondition> </ByEntityCondition> </Condition> <Condition name="StartTime" delay="0" conditionEdge="rising"> <ByValueCondition> <SimulationTimeCondition value="0" rule="equalTo"/> </ByValueCondition> </Condition> </ConditionGroup> </StartTrigger> <StopTrigger> <ConditionGroup> <Condition name="EndCondition" delay="0" conditionEdge="rising"> <ByEntityCondition> <TriggeringEntities triggeringEntitiesRule="any"> <EntityRef entityRef="hero"/> </TriggeringEntities> <EntityCondition> <TraveledDistanceCondition value="200.0"/> </EntityCondition> </ByEntityCondition> </Condition> </ConditionGroup> </StopTrigger> </Act> </Story> <StopTrigger> <ConditionGroup> <Condition name="criteria_RunningStopTest" delay="0" conditionEdge="rising"> <ByValueCondition> <ParameterCondition parameterRef="" value="" rule="lessThan"/> </ByValueCondition> </Condition> <Condition name="criteria_RunningRedLightTest" delay="0" conditionEdge="rising"> <ByValueCondition> <ParameterCondition parameterRef="" value="" rule="lessThan"/> </ByValueCondition> </Condition> <Condition name="criteria_WrongLaneTest" delay="0" conditionEdge="rising"> <ByValueCondition> <ParameterCondition parameterRef="" value="" rule="lessThan"/> </ByValueCondition> </Condition> <Condition name="criteria_OnSidewalkTest" delay="0" conditionEdge="rising"> <ByValueCondition> <ParameterCondition parameterRef="" value="" rule="lessThan"/> </ByValueCondition> </Condition> <Condition name="criteria_KeepLaneTest" delay="0" conditionEdge="rising"> <ByValueCondition> <ParameterCondition parameterRef="" value="" rule="lessThan"/> </ByValueCondition> </Condition> <Condition name="criteria_CollisionTest" delay="0" conditionEdge="rising"> <ByValueCondition> <ParameterCondition parameterRef="" value="" rule="lessThan"/> </ByValueCondition> </Condition> <Condition name="criteria_DrivenDistanceTest" delay="0" conditionEdge="rising"> <ByValueCondition> <ParameterCondition parameterRef="distance_success" value="100" rule="lessThan"/> </ByValueCondition> </Condition> </ConditionGroup> </StopTrigger> </Storyboard> </OpenSCENARIO> ```
Here is the result: ``` <?xml version="1.0" ?> <OpenSCENARIO> <FileHeader revMajor="1" revMinor="0" date="2020-03-24T12:00:00" description="CARLA:LaneChangeSimple" author=""/> <ParameterDeclarations/> <CatalogLocations/> <RoadNetwork> <LogicFile filepath="Town04"/> <SceneGraphFile filepath=""/> </RoadNetwork> <Entities> <ScenarioObject name="hero"> <Vehicle name="vehicle.tesla.model3" vehicleCategory="car"> <ParameterDeclarations/> <Performance maxSpeed="69.444" maxAcceleration="200" maxDeceleration="10.0"/> <BoundingBox> <Center x="1.5" y="0.0" z="0.9"/> <Dimensions width="2.1" length="4.5" height="1.8"/> </BoundingBox> <Axles> <FrontAxle maxSteering="0.5" wheelDiameter="0.6" trackWidth="1.8" positionX="3.1" positionZ="0.3"/> <RearAxle maxSteering="0.0" wheelDiameter="0.6" trackWidth="1.8" positionX="0.0" positionZ="0.3"/> </Axles> <Properties> <Property name="type" value="ego_vehicle"/> </Properties> </Vehicle> </ScenarioObject> <ScenarioObject name="adversary"> <Vehicle name="vehicle.lincoln.mkz_2017" vehicleCategory="car"> <ParameterDeclarations/> <Performance maxSpeed="69.444" maxAcceleration="200" maxDeceleration="10.0"/> <BoundingBox> <Center x="1.5" y="0.0" z="0.9"/> <Dimensions width="2.1" length="4.5" height="1.8"/> </BoundingBox> <Axles> <FrontAxle maxSteering="0.5" wheelDiameter="0.6" trackWidth="1.8" positionX="3.1" positionZ="0.3"/> <RearAxle maxSteering="0.0" wheelDiameter="0.6" trackWidth="1.8" positionX="0.0" positionZ="0.3"/> </Axles> <Properties> <Property name="type" value="simulation"/> </Properties> </Vehicle> </ScenarioObject> <ScenarioObject name="standing"> <Vehicle name="vehicle.volkswagen.t2" vehicleCategory="car"> <ParameterDeclarations/> <Performance maxSpeed="69.444" maxAcceleration="200" maxDeceleration="10.0"/> <BoundingBox> <Center x="1.5" y="0.0" z="0.9"/> <Dimensions width="2.1" length="4.5" height="1.8"/> </BoundingBox> <Axles> <FrontAxle maxSteering="0.5" wheelDiameter="0.6" trackWidth="1.8" positionX="3.1" positionZ="0.3"/> <RearAxle maxSteering="0.0" wheelDiameter="0.6" trackWidth="1.8" positionX="0.0" positionZ="0.3"/> </Axles> <Properties> <Property name="type" value="simulation"/> </Properties> </Vehicle> </ScenarioObject> <ScenarioObject name="pedestrian_close_to_hero_6703"> <Pedestrian model="walker.pedestrian.0001" mass="80" name="walker.pedestrian.0001" pedestrianCategory="pedestrian"> <ParameterDeclarations/> <BoundingBox> <Center x="1.5" y="0.0" z="0.9"/> <Dimensions width="2" length="2" height="2"/> </BoundingBox> <Properties> <Property name="type" value="simulation"/> </Properties> </Pedestrian> </ScenarioObject> <ScenarioObject name="pedestrian_close_to_hero_6705"> <Pedestrian model="walker.pedestrian.0001" mass="80" name="walker.pedestrian.0001" pedestrianCategory="pedestrian"> <ParameterDeclarations/> <BoundingBox> <Center x="1.5" y="0.0" z="0.9"/> <Dimensions width="2" length="2" height="2"/> </BoundingBox> <Properties> <Property name="type" value="simulation"/> </Properties> </Pedestrian> </ScenarioObject> <ScenarioObject name="pedestrian_w_transform_6706"> <Pedestrian model="walker.pedestrian.0001" mass="80" name="walker.pedestrian.0001" pedestrianCategory="pedestrian"> <ParameterDeclarations/> <BoundingBox> <Center x="1.5" y="0.0" z="0.9"/> <Dimensions width="2" length="2" height="2"/> </BoundingBox> <Properties> <Property name="type" value="simulation"/> </Properties> </Pedestrian> </ScenarioObject> <ScenarioObject name="pedestrian_close_to_standing_6707"> <Pedestrian model="walker.pedestrian.0001" mass="80" name="walker.pedestrian.0001" pedestrianCategory="pedestrian"> <ParameterDeclarations/> <BoundingBox> <Center x="1.5" y="0.0" z="0.9"/> <Dimensions width="2" length="2" height="2"/> </BoundingBox> <Properties> <Property name="type" value="simulation"/> </Properties> </Pedestrian> </ScenarioObject> <ScenarioObject name="pedestrian_w_transform_6708"> <Pedestrian model="walker.pedestrian.0001" mass="80" name="walker.pedestrian.0001" pedestrianCategory="pedestrian"> <ParameterDeclarations/> <BoundingBox> <Center x="1.5" y="0.0" z="0.9"/> <Dimensions width="2" length="2" height="2"/> </BoundingBox> <Properties> <Property name="type" value="simulation"/> </Properties> </Pedestrian> </ScenarioObject> <ScenarioObject name="pedestrian_w_transform_6709"> <Pedestrian model="walker.pedestrian.0001" mass="80" name="walker.pedestrian.0001" pedestrianCategory="pedestrian"> <ParameterDeclarations/> <BoundingBox> <Center x="1.5" y="0.0" z="0.9"/> <Dimensions width="2" length="2" height="2"/> </BoundingBox> <Properties> <Property name="type" value="simulation"/> </Properties> </Pedestrian> </ScenarioObject> <ScenarioObject name="pedestrian_close_to_adversary_6710"> <Pedestrian model="walker.pedestrian.0001" mass="80" name="walker.pedestrian.0001" pedestrianCategory="pedestrian"> <ParameterDeclarations/> <BoundingBox> <Center x="1.5" y="0.0" z="0.9"/> <Dimensions width="2" length="2" height="2"/> </BoundingBox> <Properties> <Property name="type" value="simulation"/> </Properties> </Pedestrian> </ScenarioObject> </Entities> <Storyboard> <Init> <Actions> <GlobalAction> <EnvironmentAction> <Environment name="Environment1"> <TimeOfDay animation="false" dateTime="2019-06-25T12:00:00"/> <Weather cloudState="free"> <Sun intensity="0.85" azimuth="0" elevation="1.31"/> <Fog visualRange="100000.0"/> <Precipitation precipitationType="dry" intensity="0.0"/> </Weather> <RoadCondition frictionScaleFactor="1.0"/> </Environment> </EnvironmentAction> </GlobalAction> <Private entityRef="hero"> <PrivateAction> <TeleportAction> <Position> <WorldPosition x="-9.4" y="-152.8" z="0.5" h="1.57079632679"/> </Position> </TeleportAction> </PrivateAction> <PrivateAction> <ControllerAction> <AssignControllerAction> <Controller name="HeroAgent"> <Properties> <Property name="module" value="external_control"/> </Properties> </Controller> </AssignControllerAction> <OverrideControllerValueAction> <Throttle value="0" active="false"/> <Brake value="0" active="false"/> <Clutch value="0" active="false"/> <ParkingBrake value="0" active="false"/> <SteeringWheel value="0" active="false"/> <Gear number="0" active="false"/> </OverrideControllerValueAction> </ControllerAction> </PrivateAction> </Private> <Private entityRef="adversary"> <PrivateAction> <TeleportAction> <Position> <WorldPosition x="-9.4" y="-71.0" z="0.5" h="1.57079632679"/> </Position> </TeleportAction> </PrivateAction> </Private> <Private entityRef="standing"> <PrivateAction> <TeleportAction> <Position> <WorldPosition x="-8.2" y="29.2" z="0.5" h="1.57079632679"/> </Position> </TeleportAction> </PrivateAction> </Private> <Private entityRef="pedestrian_close_to_hero_6703"> <PrivateAction> <TeleportAction> <Position> <WorldPosition x="-16.835281372070312" y="-160.52671813964844" z="0.0014286803780123591"/> </Position> </TeleportAction> </PrivateAction> </Private> <Private entityRef="pedestrian_close_to_hero_6705"> <PrivateAction> <TeleportAction> <Position> <WorldPosition x="-8.17014217376709" y="-151.26524353027344" z="0.0014286803780123591"/> </Position> </TeleportAction> </PrivateAction> </Private> <Private entityRef="pedestrian_w_transform_6706"> <PrivateAction> <TeleportAction> <Position> <WorldPosition x="-4.394046783447266" y="98.23787689208984" z="0.5"/> </Position> </TeleportAction> </PrivateAction> </Private> <Private entityRef="pedestrian_close_to_standing_6707"> <PrivateAction> <TeleportAction> <Position> <WorldPosition x="0.7676860690116882" y="19.951679229736328" z="0.0030501175206154585"/> </Position> </TeleportAction> </PrivateAction> </Private> <Private entityRef="pedestrian_w_transform_6708"> <PrivateAction> <TeleportAction> <Position> <WorldPosition x="1.3837774991989136" y="-83.04444122314453" z="0.5"/> </Position> </TeleportAction> </PrivateAction> </Private> <Private entityRef="pedestrian_w_transform_6709"> <PrivateAction> <TeleportAction> <Position> <WorldPosition x="67.2651596069336" y="-33.47517013549805" z="0.5"/> </Position> </TeleportAction> </PrivateAction> </Private> <Private entityRef="pedestrian_close_to_adversary_6710"> <PrivateAction> <TeleportAction> <Position> <WorldPosition x="-6.144371509552002" y="-64.07666015625" z="0.03375595062971115"/> </Position> </TeleportAction> </PrivateAction> </Private> </Actions> </Init> <Story name="MyStory"> <Act name="Behavior"> <ManeuverGroup maximumExecutionCount="1" name="ManeuverSequence"> <Actors selectTriggeringEntities="false"> <EntityRef entityRef="adversary"/> </Actors> <Maneuver name="LaneChangeSimpleManeuver"> <Event name="AdversaryAccelerates" priority="overwrite"> <Action name="AdversaryAccelerates"> <PrivateAction> <LongitudinalAction> <SpeedAction> <SpeedActionDynamics dynamicsShape="step" value="50" dynamicsDimension="distance"/> <SpeedActionTarget> <AbsoluteTargetSpeed value="5.0"/> </SpeedActionTarget> </SpeedAction> </LongitudinalAction> </PrivateAction> </Action> <StartTrigger> <ConditionGroup> <Condition name="StartCondition" delay="0" conditionEdge="rising"> <ByEntityCondition> <TriggeringEntities triggeringEntitiesRule="any"> <EntityRef entityRef="hero"/> </TriggeringEntities> <EntityCondition> <RelativeDistanceCondition entityRef="adversary" relativeDistanceType="cartesianDistance" value="40.0" freespace="false" rule="lessThan"/> </EntityCondition> </ByEntityCondition> </Condition> </ConditionGroup> </StartTrigger> </Event> <Event name="AdversaryChangesLane" priority="overwrite"> <Action name="AdversaryChangesLane"> <PrivateAction> <LateralAction> <LaneChangeAction> <LaneChangeActionDynamics dynamicsShape="linear" value="25" dynamicsDimension="distance"/> <LaneChangeTarget> <RelativeTargetLane entityRef="adversary" value="-1"/> </LaneChangeTarget> </LaneChangeAction> </LateralAction> </PrivateAction> </Action> <StartTrigger> <ConditionGroup> <Condition name="AfterAdversaryAccelerates" delay="0" conditionEdge="rising"> <ByValueCondition> <StoryboardElementStateCondition storyboardElementType="action" storyboardElementRef="AdversaryAccelerates" state="completeState"/> </ByValueCondition> </Condition> </ConditionGroup> </StartTrigger> </Event> </Maneuver> </ManeuverGroup> <StartTrigger> <ConditionGroup> <Condition name="OverallStartCondition" delay="0" conditionEdge="rising"> <ByEntityCondition> <TriggeringEntities triggeringEntitiesRule="any"> <EntityRef entityRef="hero"/> </TriggeringEntities> <EntityCondition> <TraveledDistanceCondition value="1.0"/> </EntityCondition> </ByEntityCondition> </Condition> <Condition name="StartTime" delay="0" conditionEdge="rising"> <ByValueCondition> <SimulationTimeCondition value="0" rule="equalTo"/> </ByValueCondition> </Condition> </ConditionGroup> </StartTrigger> <StopTrigger> <ConditionGroup> <Condition name="EndCondition" delay="0" conditionEdge="rising"> <ByEntityCondition> <TriggeringEntities triggeringEntitiesRule="any"> <EntityRef entityRef="hero"/> </TriggeringEntities> <EntityCondition> <TraveledDistanceCondition value="200.0"/> </EntityCondition> </ByEntityCondition> </Condition> </ConditionGroup> </StopTrigger> </Act> </Story> <StopTrigger> <ConditionGroup> <Condition name="criteria_RunningStopTest" delay="0" conditionEdge="rising"> <ByValueCondition> <ParameterCondition parameterRef="" value="" rule="lessThan"/> </ByValueCondition> </Condition> <Condition name="criteria_RunningRedLightTest" delay="0" conditionEdge="rising"> <ByValueCondition> <ParameterCondition parameterRef="" value="" rule="lessThan"/> </ByValueCondition> </Condition> <Condition name="criteria_WrongLaneTest" delay="0" conditionEdge="rising"> <ByValueCondition> <ParameterCondition parameterRef="" value="" rule="lessThan"/> </ByValueCondition> </Condition> <Condition name="criteria_OnSidewalkTest" delay="0" conditionEdge="rising"> <ByValueCondition> <ParameterCondition parameterRef="" value="" rule="lessThan"/> </ByValueCondition> </Condition> <Condition name="criteria_KeepLaneTest" delay="0" conditionEdge="rising"> <ByValueCondition> <ParameterCondition parameterRef="" value="" rule="lessThan"/> </ByValueCondition> </Condition> <Condition name="criteria_CollisionTest" delay="0" conditionEdge="rising"> <ByValueCondition> <ParameterCondition parameterRef="" value="" rule="lessThan"/> </ByValueCondition> </Condition> <Condition name="criteria_DrivenDistanceTest" delay="0" conditionEdge="rising"> <ByValueCondition> <ParameterCondition parameterRef="distance_success" value="100" rule="lessThan"/> </ByValueCondition> </Condition> </ConditionGroup> </StopTrigger> </Storyboard> </OpenSCENARIO> ```
please add pedestrian close to standing? ``` <?xml version="1.0" ?> <OpenSCENARIO> <FileHeader revMajor="1" revMinor="0" date="2020-03-24T12:00:00" description="CARLA:LaneChangeSimple" author=""/> <ParameterDeclarations/> <CatalogLocations/> <RoadNetwork> <LogicFile filepath="Town04"/> <SceneGraphFile filepath=""/> </RoadNetwork> <Entities> <ScenarioObject name="hero"> <Vehicle name="vehicle.tesla.model3" vehicleCategory="car"> <ParameterDeclarations/> <Performance maxSpeed="69.444" maxAcceleration="200" maxDeceleration="10.0"/> <BoundingBox> <Center x="1.5" y="0.0" z="0.9"/> <Dimensions width="2.1" length="4.5" height="1.8"/> </BoundingBox> <Axles> <FrontAxle maxSteering="0.5" wheelDiameter="0.6" trackWidth="1.8" positionX="3.1" positionZ="0.3"/> <RearAxle maxSteering="0.0" wheelDiameter="0.6" trackWidth="1.8" positionX="0.0" positionZ="0.3"/> </Axles> <Properties> <Property name="type" value="ego_vehicle"/> </Properties> </Vehicle> </ScenarioObject> <ScenarioObject name="adversary"> <Vehicle name="vehicle.lincoln.mkz_2017" vehicleCategory="car"> <ParameterDeclarations/> <Performance maxSpeed="69.444" maxAcceleration="200" maxDeceleration="10.0"/> <BoundingBox> <Center x="1.5" y="0.0" z="0.9"/> <Dimensions width="2.1" length="4.5" height="1.8"/> </BoundingBox> <Axles> <FrontAxle maxSteering="0.5" wheelDiameter="0.6" trackWidth="1.8" positionX="3.1" positionZ="0.3"/> <RearAxle maxSteering="0.0" wheelDiameter="0.6" trackWidth="1.8" positionX="0.0" positionZ="0.3"/> </Axles> <Properties> <Property name="type" value="simulation"/> </Properties> </Vehicle> </ScenarioObject> <ScenarioObject name="standing"> <Vehicle name="vehicle.volkswagen.t2" vehicleCategory="car"> <ParameterDeclarations/> <Performance maxSpeed="69.444" maxAcceleration="200" maxDeceleration="10.0"/> <BoundingBox> <Center x="1.5" y="0.0" z="0.9"/> <Dimensions width="2.1" length="4.5" height="1.8"/> </BoundingBox> <Axles> <FrontAxle maxSteering="0.5" wheelDiameter="0.6" trackWidth="1.8" positionX="3.1" positionZ="0.3"/> <RearAxle maxSteering="0.0" wheelDiameter="0.6" trackWidth="1.8" positionX="0.0" positionZ="0.3"/> </Axles> <Properties> <Property name="type" value="simulation"/> </Properties> </Vehicle> </ScenarioObject> </Entities> <Storyboard> <Init> <Actions> <GlobalAction> <EnvironmentAction> <Environment name="Environment1"> <TimeOfDay animation="false" dateTime="2019-06-25T12:00:00"/> <Weather cloudState="free"> <Sun intensity="0.85" azimuth="0" elevation="1.31"/> <Fog visualRange="100000.0"/> <Precipitation precipitationType="dry" intensity="0.0"/> </Weather> <RoadCondition frictionScaleFactor="1.0"/> </Environment> </EnvironmentAction> </GlobalAction> <Private entityRef="hero"> <PrivateAction> <TeleportAction> <Position> <WorldPosition x="-9.4" y="-152.8" z="0.5" h="1.57079632679"/> </Position> </TeleportAction> </PrivateAction> <PrivateAction> <ControllerAction> <AssignControllerAction> <Controller name="HeroAgent"> <Properties> <Property name="module" value="external_control"/> </Properties> </Controller> </AssignControllerAction> <OverrideControllerValueAction> <Throttle value="0" active="false"/> <Brake value="0" active="false"/> <Clutch value="0" active="false"/> <ParkingBrake value="0" active="false"/> <SteeringWheel value="0" active="false"/> <Gear number="0" active="false"/> </OverrideControllerValueAction> </ControllerAction> </PrivateAction> </Private> <Private entityRef="adversary"> <PrivateAction> <TeleportAction> <Position> <WorldPosition x="-9.4" y="-71.0" z="0.5" h="1.57079632679"/> </Position> </TeleportAction> </PrivateAction> </Private> <Private entityRef="standing"> <PrivateAction> <TeleportAction> <Position> <WorldPosition x="-8.2" y="29.2" z="0.5" h="1.57079632679"/> </Position> </TeleportAction> </PrivateAction> </Private> </Actions> </Init> <Story name="MyStory"> <Act name="Behavior"> <ManeuverGroup maximumExecutionCount="1" name="ManeuverSequence"> <Actors selectTriggeringEntities="false"> <EntityRef entityRef="adversary"/> </Actors> <Maneuver name="LaneChangeSimpleManeuver"> <Event name="AdversaryAccelerates" priority="overwrite"> <Action name="AdversaryAccelerates"> <PrivateAction> <LongitudinalAction> <SpeedAction> <SpeedActionDynamics dynamicsShape="step" value="50" dynamicsDimension="distance"/> <SpeedActionTarget> <AbsoluteTargetSpeed value="5.0"/> </SpeedActionTarget> </SpeedAction> </LongitudinalAction> </PrivateAction> </Action> <StartTrigger> <ConditionGroup> <Condition name="StartCondition" delay="0" conditionEdge="rising"> <ByEntityCondition> <TriggeringEntities triggeringEntitiesRule="any"> <EntityRef entityRef="hero"/> </TriggeringEntities> <EntityCondition> <RelativeDistanceCondition entityRef="adversary" relativeDistanceType="cartesianDistance" value="40.0" freespace="false" rule="lessThan"/> </EntityCondition> </ByEntityCondition> </Condition> </ConditionGroup> </StartTrigger> </Event> <Event name="AdversaryChangesLane" priority="overwrite"> <Action name="AdversaryChangesLane"> <PrivateAction> <LateralAction> <LaneChangeAction> <LaneChangeActionDynamics dynamicsShape="linear" value="25" dynamicsDimension="distance"/> <LaneChangeTarget> <RelativeTargetLane entityRef="adversary" value="-1"/> </LaneChangeTarget> </LaneChangeAction> </LateralAction> </PrivateAction> </Action> <StartTrigger> <ConditionGroup> <Condition name="AfterAdversaryAccelerates" delay="0" conditionEdge="rising"> <ByValueCondition> <StoryboardElementStateCondition storyboardElementType="action" storyboardElementRef="AdversaryAccelerates" state="completeState"/> </ByValueCondition> </Condition> </ConditionGroup> </StartTrigger> </Event> </Maneuver> </ManeuverGroup> <StartTrigger> <ConditionGroup> <Condition name="OverallStartCondition" delay="0" conditionEdge="rising"> <ByEntityCondition> <TriggeringEntities triggeringEntitiesRule="any"> <EntityRef entityRef="hero"/> </TriggeringEntities> <EntityCondition> <TraveledDistanceCondition value="1.0"/> </EntityCondition> </ByEntityCondition> </Condition> <Condition name="StartTime" delay="0" conditionEdge="rising"> <ByValueCondition> <SimulationTimeCondition value="0" rule="equalTo"/> </ByValueCondition> </Condition> </ConditionGroup> </StartTrigger> <StopTrigger> <ConditionGroup> <Condition name="EndCondition" delay="0" conditionEdge="rising"> <ByEntityCondition> <TriggeringEntities triggeringEntitiesRule="any"> <EntityRef entityRef="hero"/> </TriggeringEntities> <EntityCondition> <TraveledDistanceCondition value="200.0"/> </EntityCondition> </ByEntityCondition> </Condition> </ConditionGroup> </StopTrigger> </Act> </Story> <StopTrigger> <ConditionGroup> <Condition name="criteria_RunningStopTest" delay="0" conditionEdge="rising"> <ByValueCondition> <ParameterCondition parameterRef="" value="" rule="lessThan"/> </ByValueCondition> </Condition> <Condition name="criteria_RunningRedLightTest" delay="0" conditionEdge="rising"> <ByValueCondition> <ParameterCondition parameterRef="" value="" rule="lessThan"/> </ByValueCondition> </Condition> <Condition name="criteria_WrongLaneTest" delay="0" conditionEdge="rising"> <ByValueCondition> <ParameterCondition parameterRef="" value="" rule="lessThan"/> </ByValueCondition> </Condition> <Condition name="criteria_OnSidewalkTest" delay="0" conditionEdge="rising"> <ByValueCondition> <ParameterCondition parameterRef="" value="" rule="lessThan"/> </ByValueCondition> </Condition> <Condition name="criteria_KeepLaneTest" delay="0" conditionEdge="rising"> <ByValueCondition> <ParameterCondition parameterRef="" value="" rule="lessThan"/> </ByValueCondition> </Condition> <Condition name="criteria_CollisionTest" delay="0" conditionEdge="rising"> <ByValueCondition> <ParameterCondition parameterRef="" value="" rule="lessThan"/> </ByValueCondition> </Condition> <Condition name="criteria_DrivenDistanceTest" delay="0" conditionEdge="rising"> <ByValueCondition> <ParameterCondition parameterRef="distance_success" value="100" rule="lessThan"/> </ByValueCondition> </Condition> </ConditionGroup> </StopTrigger> </Storyboard> </OpenSCENARIO> ```
Here is the result: ``` <?xml version="1.0" ?> <OpenSCENARIO> <FileHeader revMajor="1" revMinor="0" date="2020-03-24T12:00:00" description="CARLA:LaneChangeSimple" author=""/> <ParameterDeclarations/> <CatalogLocations/> <RoadNetwork> <LogicFile filepath="Town04"/> <SceneGraphFile filepath=""/> </RoadNetwork> <Entities> <ScenarioObject name="hero"> <Vehicle name="vehicle.tesla.model3" vehicleCategory="car"> <ParameterDeclarations/> <Performance maxSpeed="69.444" maxAcceleration="200" maxDeceleration="10.0"/> <BoundingBox> <Center x="1.5" y="0.0" z="0.9"/> <Dimensions width="2.1" length="4.5" height="1.8"/> </BoundingBox> <Axles> <FrontAxle maxSteering="0.5" wheelDiameter="0.6" trackWidth="1.8" positionX="3.1" positionZ="0.3"/> <RearAxle maxSteering="0.0" wheelDiameter="0.6" trackWidth="1.8" positionX="0.0" positionZ="0.3"/> </Axles> <Properties> <Property name="type" value="ego_vehicle"/> </Properties> </Vehicle> </ScenarioObject> <ScenarioObject name="adversary"> <Vehicle name="vehicle.lincoln.mkz_2017" vehicleCategory="car"> <ParameterDeclarations/> <Performance maxSpeed="69.444" maxAcceleration="200" maxDeceleration="10.0"/> <BoundingBox> <Center x="1.5" y="0.0" z="0.9"/> <Dimensions width="2.1" length="4.5" height="1.8"/> </BoundingBox> <Axles> <FrontAxle maxSteering="0.5" wheelDiameter="0.6" trackWidth="1.8" positionX="3.1" positionZ="0.3"/> <RearAxle maxSteering="0.0" wheelDiameter="0.6" trackWidth="1.8" positionX="0.0" positionZ="0.3"/> </Axles> <Properties> <Property name="type" value="simulation"/> </Properties> </Vehicle> </ScenarioObject> <ScenarioObject name="standing"> <Vehicle name="vehicle.volkswagen.t2" vehicleCategory="car"> <ParameterDeclarations/> <Performance maxSpeed="69.444" maxAcceleration="200" maxDeceleration="10.0"/> <BoundingBox> <Center x="1.5" y="0.0" z="0.9"/> <Dimensions width="2.1" length="4.5" height="1.8"/> </BoundingBox> <Axles> <FrontAxle maxSteering="0.5" wheelDiameter="0.6" trackWidth="1.8" positionX="3.1" positionZ="0.3"/> <RearAxle maxSteering="0.0" wheelDiameter="0.6" trackWidth="1.8" positionX="0.0" positionZ="0.3"/> </Axles> <Properties> <Property name="type" value="simulation"/> </Properties> </Vehicle> </ScenarioObject> <ScenarioObject name="pedestrian_close_to_standing_11196"> <Pedestrian model="walker.pedestrian.0001" mass="80" name="walker.pedestrian.0001" pedestrianCategory="pedestrian"> <ParameterDeclarations/> <BoundingBox> <Center x="1.5" y="0.0" z="0.9"/> <Dimensions width="2" length="2" height="2"/> </BoundingBox> <Properties> <Property name="type" value="simulation"/> </Properties> </Pedestrian> </ScenarioObject> </Entities> <Storyboard> <Init> <Actions> <GlobalAction> <EnvironmentAction> <Environment name="Environment1"> <TimeOfDay animation="false" dateTime="2019-06-25T12:00:00"/> <Weather cloudState="free"> <Sun intensity="0.85" azimuth="0" elevation="1.31"/> <Fog visualRange="100000.0"/> <Precipitation precipitationType="dry" intensity="0.0"/> </Weather> <RoadCondition frictionScaleFactor="1.0"/> </Environment> </EnvironmentAction> </GlobalAction> <Private entityRef="hero"> <PrivateAction> <TeleportAction> <Position> <WorldPosition x="-9.4" y="-152.8" z="0.5" h="1.57079632679"/> </Position> </TeleportAction> </PrivateAction> <PrivateAction> <ControllerAction> <AssignControllerAction> <Controller name="HeroAgent"> <Properties> <Property name="module" value="external_control"/> </Properties> </Controller> </AssignControllerAction> <OverrideControllerValueAction> <Throttle value="0" active="false"/> <Brake value="0" active="false"/> <Clutch value="0" active="false"/> <ParkingBrake value="0" active="false"/> <SteeringWheel value="0" active="false"/> <Gear number="0" active="false"/> </OverrideControllerValueAction> </ControllerAction> </PrivateAction> </Private> <Private entityRef="adversary"> <PrivateAction> <TeleportAction> <Position> <WorldPosition x="-9.4" y="-71.0" z="0.5" h="1.57079632679"/> </Position> </TeleportAction> </PrivateAction> </Private> <Private entityRef="standing"> <PrivateAction> <TeleportAction> <Position> <WorldPosition x="-8.2" y="29.2" z="0.5" h="1.57079632679"/> </Position> </TeleportAction> </PrivateAction> </Private> <Private entityRef="pedestrian_close_to_standing_11196"> <PrivateAction> <TeleportAction> <Position> <WorldPosition x="-2.588085412979126" y="39.01926803588867" z="0.0030502318404614925"/> </Position> </TeleportAction> </PrivateAction> </Private> </Actions> </Init> <Story name="MyStory"> <Act name="Behavior"> <ManeuverGroup maximumExecutionCount="1" name="ManeuverSequence"> <Actors selectTriggeringEntities="false"> <EntityRef entityRef="adversary"/> </Actors> <Maneuver name="LaneChangeSimpleManeuver"> <Event name="AdversaryAccelerates" priority="overwrite"> <Action name="AdversaryAccelerates"> <PrivateAction> <LongitudinalAction> <SpeedAction> <SpeedActionDynamics dynamicsShape="step" value="50" dynamicsDimension="distance"/> <SpeedActionTarget> <AbsoluteTargetSpeed value="5.0"/> </SpeedActionTarget> </SpeedAction> </LongitudinalAction> </PrivateAction> </Action> <StartTrigger> <ConditionGroup> <Condition name="StartCondition" delay="0" conditionEdge="rising"> <ByEntityCondition> <TriggeringEntities triggeringEntitiesRule="any"> <EntityRef entityRef="hero"/> </TriggeringEntities> <EntityCondition> <RelativeDistanceCondition entityRef="adversary" relativeDistanceType="cartesianDistance" value="40.0" freespace="false" rule="lessThan"/> </EntityCondition> </ByEntityCondition> </Condition> </ConditionGroup> </StartTrigger> </Event> <Event name="AdversaryChangesLane" priority="overwrite"> <Action name="AdversaryChangesLane"> <PrivateAction> <LateralAction> <LaneChangeAction> <LaneChangeActionDynamics dynamicsShape="linear" value="25" dynamicsDimension="distance"/> <LaneChangeTarget> <RelativeTargetLane entityRef="adversary" value="-1"/> </LaneChangeTarget> </LaneChangeAction> </LateralAction> </PrivateAction> </Action> <StartTrigger> <ConditionGroup> <Condition name="AfterAdversaryAccelerates" delay="0" conditionEdge="rising"> <ByValueCondition> <StoryboardElementStateCondition storyboardElementType="action" storyboardElementRef="AdversaryAccelerates" state="completeState"/> </ByValueCondition> </Condition> </ConditionGroup> </StartTrigger> </Event> </Maneuver> </ManeuverGroup> <StartTrigger> <ConditionGroup> <Condition name="OverallStartCondition" delay="0" conditionEdge="rising"> <ByEntityCondition> <TriggeringEntities triggeringEntitiesRule="any"> <EntityRef entityRef="hero"/> </TriggeringEntities> <EntityCondition> <TraveledDistanceCondition value="1.0"/> </EntityCondition> </ByEntityCondition> </Condition> <Condition name="StartTime" delay="0" conditionEdge="rising"> <ByValueCondition> <SimulationTimeCondition value="0" rule="equalTo"/> </ByValueCondition> </Condition> </ConditionGroup> </StartTrigger> <StopTrigger> <ConditionGroup> <Condition name="EndCondition" delay="0" conditionEdge="rising"> <ByEntityCondition> <TriggeringEntities triggeringEntitiesRule="any"> <EntityRef entityRef="hero"/> </TriggeringEntities> <EntityCondition> <TraveledDistanceCondition value="200.0"/> </EntityCondition> </ByEntityCondition> </Condition> </ConditionGroup> </StopTrigger> </Act> </Story> <StopTrigger> <ConditionGroup> <Condition name="criteria_RunningStopTest" delay="0" conditionEdge="rising"> <ByValueCondition> <ParameterCondition parameterRef="" value="" rule="lessThan"/> </ByValueCondition> </Condition> <Condition name="criteria_RunningRedLightTest" delay="0" conditionEdge="rising"> <ByValueCondition> <ParameterCondition parameterRef="" value="" rule="lessThan"/> </ByValueCondition> </Condition> <Condition name="criteria_WrongLaneTest" delay="0" conditionEdge="rising"> <ByValueCondition> <ParameterCondition parameterRef="" value="" rule="lessThan"/> </ByValueCondition> </Condition> <Condition name="criteria_OnSidewalkTest" delay="0" conditionEdge="rising"> <ByValueCondition> <ParameterCondition parameterRef="" value="" rule="lessThan"/> </ByValueCondition> </Condition> <Condition name="criteria_KeepLaneTest" delay="0" conditionEdge="rising"> <ByValueCondition> <ParameterCondition parameterRef="" value="" rule="lessThan"/> </ByValueCondition> </Condition> <Condition name="criteria_CollisionTest" delay="0" conditionEdge="rising"> <ByValueCondition> <ParameterCondition parameterRef="" value="" rule="lessThan"/> </ByValueCondition> </Condition> <Condition name="criteria_DrivenDistanceTest" delay="0" conditionEdge="rising"> <ByValueCondition> <ParameterCondition parameterRef="distance_success" value="100" rule="lessThan"/> </ByValueCondition> </Condition> </ConditionGroup> </StopTrigger> </Storyboard> </OpenSCENARIO> ```
please remove pedestrian close to adversary? ``` <?xml version="1.0" ?> <OpenSCENARIO> <FileHeader revMajor="1" revMinor="0" date="2020-03-24T12:00:00" description="CARLA:LaneChangeSimple" author=""/> <ParameterDeclarations/> <CatalogLocations/> <RoadNetwork> <LogicFile filepath="Town04"/> <SceneGraphFile filepath=""/> </RoadNetwork> <Entities> <ScenarioObject name="hero"> <Vehicle name="vehicle.tesla.model3" vehicleCategory="car"> <ParameterDeclarations/> <Performance maxSpeed="69.444" maxAcceleration="200" maxDeceleration="10.0"/> <BoundingBox> <Center x="1.5" y="0.0" z="0.9"/> <Dimensions width="2.1" length="4.5" height="1.8"/> </BoundingBox> <Axles> <FrontAxle maxSteering="0.5" wheelDiameter="0.6" trackWidth="1.8" positionX="3.1" positionZ="0.3"/> <RearAxle maxSteering="0.0" wheelDiameter="0.6" trackWidth="1.8" positionX="0.0" positionZ="0.3"/> </Axles> <Properties> <Property name="type" value="ego_vehicle"/> </Properties> </Vehicle> </ScenarioObject> <ScenarioObject name="adversary"> <Vehicle name="vehicle.lincoln.mkz_2017" vehicleCategory="car"> <ParameterDeclarations/> <Performance maxSpeed="69.444" maxAcceleration="200" maxDeceleration="10.0"/> <BoundingBox> <Center x="1.5" y="0.0" z="0.9"/> <Dimensions width="2.1" length="4.5" height="1.8"/> </BoundingBox> <Axles> <FrontAxle maxSteering="0.5" wheelDiameter="0.6" trackWidth="1.8" positionX="3.1" positionZ="0.3"/> <RearAxle maxSteering="0.0" wheelDiameter="0.6" trackWidth="1.8" positionX="0.0" positionZ="0.3"/> </Axles> <Properties> <Property name="type" value="simulation"/> </Properties> </Vehicle> </ScenarioObject> <ScenarioObject name="standing"> <Vehicle name="vehicle.volkswagen.t2" vehicleCategory="car"> <ParameterDeclarations/> <Performance maxSpeed="69.444" maxAcceleration="200" maxDeceleration="10.0"/> <BoundingBox> <Center x="1.5" y="0.0" z="0.9"/> <Dimensions width="2.1" length="4.5" height="1.8"/> </BoundingBox> <Axles> <FrontAxle maxSteering="0.5" wheelDiameter="0.6" trackWidth="1.8" positionX="3.1" positionZ="0.3"/> <RearAxle maxSteering="0.0" wheelDiameter="0.6" trackWidth="1.8" positionX="0.0" positionZ="0.3"/> </Axles> <Properties> <Property name="type" value="simulation"/> </Properties> </Vehicle> </ScenarioObject> <ScenarioObject name="pedestrian_close_to_standing_13625"> <Pedestrian model="walker.pedestrian.0001" mass="80" name="walker.pedestrian.0001" pedestrianCategory="pedestrian"> <ParameterDeclarations/> <BoundingBox> <Center x="1.5" y="0.0" z="0.9"/> <Dimensions width="2" length="2" height="2"/> </BoundingBox> <Properties> <Property name="type" value="simulation"/> </Properties> </Pedestrian> </ScenarioObject> <ScenarioObject name="pedestrian_w_transform_13626"> <Pedestrian model="walker.pedestrian.0001" mass="80" name="walker.pedestrian.0001" pedestrianCategory="pedestrian"> <ParameterDeclarations/> <BoundingBox> <Center x="1.5" y="0.0" z="0.9"/> <Dimensions width="2" length="2" height="2"/> </BoundingBox> <Properties> <Property name="type" value="simulation"/> </Properties> </Pedestrian> </ScenarioObject> <ScenarioObject name="pedestrian_close_to_adversary_13627"> <Pedestrian model="walker.pedestrian.0001" mass="80" name="walker.pedestrian.0001" pedestrianCategory="pedestrian"> <ParameterDeclarations/> <BoundingBox> <Center x="1.5" y="0.0" z="0.9"/> <Dimensions width="2" length="2" height="2"/> </BoundingBox> <Properties> <Property name="type" value="simulation"/> </Properties> </Pedestrian> </ScenarioObject> <ScenarioObject name="pedestrian_w_transform_13628"> <Pedestrian model="walker.pedestrian.0001" mass="80" name="walker.pedestrian.0001" pedestrianCategory="pedestrian"> <ParameterDeclarations/> <BoundingBox> <Center x="1.5" y="0.0" z="0.9"/> <Dimensions width="2" length="2" height="2"/> </BoundingBox> <Properties> <Property name="type" value="simulation"/> </Properties> </Pedestrian> </ScenarioObject> <ScenarioObject name="pedestrian_w_transform_13630"> <Pedestrian model="walker.pedestrian.0001" mass="80" name="walker.pedestrian.0001" pedestrianCategory="pedestrian"> <ParameterDeclarations/> <BoundingBox> <Center x="1.5" y="0.0" z="0.9"/> <Dimensions width="2" length="2" height="2"/> </BoundingBox> <Properties> <Property name="type" value="simulation"/> </Properties> </Pedestrian> </ScenarioObject> <ScenarioObject name="pedestrian_close_to_standing_13632"> <Pedestrian model="walker.pedestrian.0001" mass="80" name="walker.pedestrian.0001" pedestrianCategory="pedestrian"> <ParameterDeclarations/> <BoundingBox> <Center x="1.5" y="0.0" z="0.9"/> <Dimensions width="2" length="2" height="2"/> </BoundingBox> <Properties> <Property name="type" value="simulation"/> </Properties> </Pedestrian> </ScenarioObject> <ScenarioObject name="pedestrian_w_transform_13633"> <Pedestrian model="walker.pedestrian.0001" mass="80" name="walker.pedestrian.0001" pedestrianCategory="pedestrian"> <ParameterDeclarations/> <BoundingBox> <Center x="1.5" y="0.0" z="0.9"/> <Dimensions width="2" length="2" height="2"/> </BoundingBox> <Properties> <Property name="type" value="simulation"/> </Properties> </Pedestrian> </ScenarioObject> <ScenarioObject name="pedestrian_w_transform_13635"> <Pedestrian model="walker.pedestrian.0001" mass="80" name="walker.pedestrian.0001" pedestrianCategory="pedestrian"> <ParameterDeclarations/> <BoundingBox> <Center x="1.5" y="0.0" z="0.9"/> <Dimensions width="2" length="2" height="2"/> </BoundingBox> <Properties> <Property name="type" value="simulation"/> </Properties> </Pedestrian> </ScenarioObject> <ScenarioObject name="pedestrian_w_transform_13637"> <Pedestrian model="walker.pedestrian.0001" mass="80" name="walker.pedestrian.0001" pedestrianCategory="pedestrian"> <ParameterDeclarations/> <BoundingBox> <Center x="1.5" y="0.0" z="0.9"/> <Dimensions width="2" length="2" height="2"/> </BoundingBox> <Properties> <Property name="type" value="simulation"/> </Properties> </Pedestrian> </ScenarioObject> <ScenarioObject name="pedestrian_w_transform_13644"> <Pedestrian model="walker.pedestrian.0001" mass="80" name="walker.pedestrian.0001" pedestrianCategory="pedestrian"> <ParameterDeclarations/> <BoundingBox> <Center x="1.5" y="0.0" z="0.9"/> <Dimensions width="2" length="2" height="2"/> </BoundingBox> <Properties> <Property name="type" value="simulation"/> </Properties> </Pedestrian> </ScenarioObject> <ScenarioObject name="pedestrian_w_transform_13648"> <Pedestrian model="walker.pedestrian.0001" mass="80" name="walker.pedestrian.0001" pedestrianCategory="pedestrian"> <ParameterDeclarations/> <BoundingBox> <Center x="1.5" y="0.0" z="0.9"/> <Dimensions width="2" length="2" height="2"/> </BoundingBox> <Properties> <Property name="type" value="simulation"/> </Properties> </Pedestrian> </ScenarioObject> <ScenarioObject name="pedestrian_w_transform_13649"> <Pedestrian model="walker.pedestrian.0001" mass="80" name="walker.pedestrian.0001" pedestrianCategory="pedestrian"> <ParameterDeclarations/> <BoundingBox> <Center x="1.5" y="0.0" z="0.9"/> <Dimensions width="2" length="2" height="2"/> </BoundingBox> <Properties> <Property name="type" value="simulation"/> </Properties> </Pedestrian> </ScenarioObject> <ScenarioObject name="pedestrian_close_to_standing_13651"> <Pedestrian model="walker.pedestrian.0001" mass="80" name="walker.pedestrian.0001" pedestrianCategory="pedestrian"> <ParameterDeclarations/> <BoundingBox> <Center x="1.5" y="0.0" z="0.9"/> <Dimensions width="2" length="2" height="2"/> </BoundingBox> <Properties> <Property name="type" value="simulation"/> </Properties> </Pedestrian> </ScenarioObject> <ScenarioObject name="pedestrian_w_transform_13653"> <Pedestrian model="walker.pedestrian.0001" mass="80" name="walker.pedestrian.0001" pedestrianCategory="pedestrian"> <ParameterDeclarations/> <BoundingBox> <Center x="1.5" y="0.0" z="0.9"/> <Dimensions width="2" length="2" height="2"/> </BoundingBox> <Properties> <Property name="type" value="simulation"/> </Properties> </Pedestrian> </ScenarioObject> </Entities> <Storyboard> <Init> <Actions> <GlobalAction> <EnvironmentAction> <Environment name="Environment1"> <TimeOfDay animation="false" dateTime="2019-06-25T12:00:00"/> <Weather cloudState="free"> <Sun intensity="0.85" azimuth="0" elevation="1.31"/> <Fog visualRange="100000.0"/> <Precipitation precipitationType="dry" intensity="0.0"/> </Weather> <RoadCondition frictionScaleFactor="1.0"/> </Environment> </EnvironmentAction> </GlobalAction> <Private entityRef="hero"> <PrivateAction> <TeleportAction> <Position> <WorldPosition x="-9.4" y="-152.8" z="0.5" h="1.57079632679"/> </Position> </TeleportAction> </PrivateAction> <PrivateAction> <ControllerAction> <AssignControllerAction> <Controller name="HeroAgent"> <Properties> <Property name="module" value="external_control"/> </Properties> </Controller> </AssignControllerAction> <OverrideControllerValueAction> <Throttle value="0" active="false"/> <Brake value="0" active="false"/> <Clutch value="0" active="false"/> <ParkingBrake value="0" active="false"/> <SteeringWheel value="0" active="false"/> <Gear number="0" active="false"/> </OverrideControllerValueAction> </ControllerAction> </PrivateAction> </Private> <Private entityRef="adversary"> <PrivateAction> <TeleportAction> <Position> <WorldPosition x="-9.4" y="-71.0" z="0.5" h="1.57079632679"/> </Position> </TeleportAction> </PrivateAction> </Private> <Private entityRef="standing"> <PrivateAction> <TeleportAction> <Position> <WorldPosition x="-8.2" y="29.2" z="0.5" h="1.57079632679"/> </Position> </TeleportAction> </PrivateAction> </Private> <Private entityRef="pedestrian_close_to_standing_13625"> <PrivateAction> <TeleportAction> <Position> <WorldPosition x="1.3795617818832397" y="22.604949951171875" z="0.0030449675396084785"/> </Position> </TeleportAction> </PrivateAction> </Private> <Private entityRef="pedestrian_w_transform_13626"> <PrivateAction> <TeleportAction> <Position> <WorldPosition x="-60.04685592651367" y="75.0499267578125" z="0.5"/> </Position> </TeleportAction> </PrivateAction> </Private> <Private entityRef="pedestrian_close_to_adversary_13627"> <PrivateAction> <TeleportAction> <Position> <WorldPosition x="-5.147885322570801" y="-71.72452545166016" z="0.03382011502981186"/> </Position> </TeleportAction> </PrivateAction> </Private> <Private entityRef="pedestrian_w_transform_13628"> <PrivateAction> <TeleportAction> <Position> <WorldPosition x="74.9113998413086" y="96.78118896484375" z="0.5"/> </Position> </TeleportAction> </PrivateAction> </Private> <Private entityRef="pedestrian_w_transform_13630"> <PrivateAction> <TeleportAction> <Position> <WorldPosition x="93.8006362915039" y="-90.12284851074219" z="0.5"/> </Position> </TeleportAction> </PrivateAction> </Private> <Private entityRef="pedestrian_close_to_standing_13632"> <PrivateAction> <TeleportAction> <Position> <WorldPosition x="1.6990553140640259" y="19.529218673706055" z="0.003050918458029628"/> </Position> </TeleportAction> </PrivateAction> </Private> <Private entityRef="pedestrian_w_transform_13633"> <PrivateAction> <TeleportAction> <Position> <WorldPosition x="37.12168884277344" y="91.5466537475586" z="0.5"/> </Position> </TeleportAction> </PrivateAction> </Private> <Private entityRef="pedestrian_w_transform_13635"> <PrivateAction> <TeleportAction> <Position> <WorldPosition x="-75.07857513427734" y="78.59193420410156" z="0.5"/> </Position> </TeleportAction> </PrivateAction> </Private> <Private entityRef="pedestrian_w_transform_13637"> <PrivateAction> <TeleportAction> <Position> <WorldPosition x="-79.37142944335938" y="8.377928733825684" z="0.5"/> </Position> </TeleportAction> </PrivateAction> </Private> <Private entityRef="pedestrian_w_transform_13644"> <PrivateAction> <TeleportAction> <Position> <WorldPosition x="-87.03056335449219" y="87.81918334960938" z="0.5"/> </Position> </TeleportAction> </PrivateAction> </Private> <Private entityRef="pedestrian_w_transform_13648"> <PrivateAction> <TeleportAction> <Position> <WorldPosition x="4.283260822296143" y="71.09105682373047" z="0.5"/> </Position> </TeleportAction> </PrivateAction> </Private> <Private entityRef="pedestrian_w_transform_13649"> <PrivateAction> <TeleportAction> <Position> <WorldPosition x="80.57421875" y="36.48859405517578" z="0.5"/> </Position> </TeleportAction> </PrivateAction> </Private> <Private entityRef="pedestrian_close_to_standing_13651"> <PrivateAction> <TeleportAction> <Position> <WorldPosition x="-2.066331624984741" y="43.602012634277344" z="0.0029802322387695312"/> </Position> </TeleportAction> </PrivateAction> </Private> <Private entityRef="pedestrian_w_transform_13653"> <PrivateAction> <TeleportAction> <Position> <WorldPosition x="36.320167541503906" y="-95.55661010742188" z="0.5"/> </Position> </TeleportAction> </PrivateAction> </Private> </Actions> </Init> <Story name="MyStory"> <Act name="Behavior"> <ManeuverGroup maximumExecutionCount="1" name="ManeuverSequence"> <Actors selectTriggeringEntities="false"> <EntityRef entityRef="adversary"/> </Actors> <Maneuver name="LaneChangeSimpleManeuver"> <Event name="AdversaryAccelerates" priority="overwrite"> <Action name="AdversaryAccelerates"> <PrivateAction> <LongitudinalAction> <SpeedAction> <SpeedActionDynamics dynamicsShape="step" value="50" dynamicsDimension="distance"/> <SpeedActionTarget> <AbsoluteTargetSpeed value="5.0"/> </SpeedActionTarget> </SpeedAction> </LongitudinalAction> </PrivateAction> </Action> <StartTrigger> <ConditionGroup> <Condition name="StartCondition" delay="0" conditionEdge="rising"> <ByEntityCondition> <TriggeringEntities triggeringEntitiesRule="any"> <EntityRef entityRef="hero"/> </TriggeringEntities> <EntityCondition> <RelativeDistanceCondition entityRef="adversary" relativeDistanceType="cartesianDistance" value="40.0" freespace="false" rule="lessThan"/> </EntityCondition> </ByEntityCondition> </Condition> </ConditionGroup> </StartTrigger> </Event> <Event name="AdversaryChangesLane" priority="overwrite"> <Action name="AdversaryChangesLane"> <PrivateAction> <LateralAction> <LaneChangeAction> <LaneChangeActionDynamics dynamicsShape="linear" value="25" dynamicsDimension="distance"/> <LaneChangeTarget> <RelativeTargetLane entityRef="adversary" value="-1"/> </LaneChangeTarget> </LaneChangeAction> </LateralAction> </PrivateAction> </Action> <StartTrigger> <ConditionGroup> <Condition name="AfterAdversaryAccelerates" delay="0" conditionEdge="rising"> <ByValueCondition> <StoryboardElementStateCondition storyboardElementType="action" storyboardElementRef="AdversaryAccelerates" state="completeState"/> </ByValueCondition> </Condition> </ConditionGroup> </StartTrigger> </Event> </Maneuver> </ManeuverGroup> <StartTrigger> <ConditionGroup> <Condition name="OverallStartCondition" delay="0" conditionEdge="rising"> <ByEntityCondition> <TriggeringEntities triggeringEntitiesRule="any"> <EntityRef entityRef="hero"/> </TriggeringEntities> <EntityCondition> <TraveledDistanceCondition value="1.0"/> </EntityCondition> </ByEntityCondition> </Condition> <Condition name="StartTime" delay="0" conditionEdge="rising"> <ByValueCondition> <SimulationTimeCondition value="0" rule="equalTo"/> </ByValueCondition> </Condition> </ConditionGroup> </StartTrigger> <StopTrigger> <ConditionGroup> <Condition name="EndCondition" delay="0" conditionEdge="rising"> <ByEntityCondition> <TriggeringEntities triggeringEntitiesRule="any"> <EntityRef entityRef="hero"/> </TriggeringEntities> <EntityCondition> <TraveledDistanceCondition value="200.0"/> </EntityCondition> </ByEntityCondition> </Condition> </ConditionGroup> </StopTrigger> </Act> </Story> <StopTrigger> <ConditionGroup> <Condition name="criteria_RunningStopTest" delay="0" conditionEdge="rising"> <ByValueCondition> <ParameterCondition parameterRef="" value="" rule="lessThan"/> </ByValueCondition> </Condition> <Condition name="criteria_RunningRedLightTest" delay="0" conditionEdge="rising"> <ByValueCondition> <ParameterCondition parameterRef="" value="" rule="lessThan"/> </ByValueCondition> </Condition> <Condition name="criteria_WrongLaneTest" delay="0" conditionEdge="rising"> <ByValueCondition> <ParameterCondition parameterRef="" value="" rule="lessThan"/> </ByValueCondition> </Condition> <Condition name="criteria_OnSidewalkTest" delay="0" conditionEdge="rising"> <ByValueCondition> <ParameterCondition parameterRef="" value="" rule="lessThan"/> </ByValueCondition> </Condition> <Condition name="criteria_KeepLaneTest" delay="0" conditionEdge="rising"> <ByValueCondition> <ParameterCondition parameterRef="" value="" rule="lessThan"/> </ByValueCondition> </Condition> <Condition name="criteria_CollisionTest" delay="0" conditionEdge="rising"> <ByValueCondition> <ParameterCondition parameterRef="" value="" rule="lessThan"/> </ByValueCondition> </Condition> <Condition name="criteria_DrivenDistanceTest" delay="0" conditionEdge="rising"> <ByValueCondition> <ParameterCondition parameterRef="distance_success" value="100" rule="lessThan"/> </ByValueCondition> </Condition> </ConditionGroup> </StopTrigger> </Storyboard> </OpenSCENARIO> ```
Here is the result: ``` <?xml version="1.0" ?> <OpenSCENARIO> <FileHeader revMajor="1" revMinor="0" date="2020-03-24T12:00:00" description="CARLA:LaneChangeSimple" author=""/> <ParameterDeclarations/> <CatalogLocations/> <RoadNetwork> <LogicFile filepath="Town04"/> <SceneGraphFile filepath=""/> </RoadNetwork> <Entities> <ScenarioObject name="hero"> <Vehicle name="vehicle.tesla.model3" vehicleCategory="car"> <ParameterDeclarations/> <Performance maxSpeed="69.444" maxAcceleration="200" maxDeceleration="10.0"/> <BoundingBox> <Center x="1.5" y="0.0" z="0.9"/> <Dimensions width="2.1" length="4.5" height="1.8"/> </BoundingBox> <Axles> <FrontAxle maxSteering="0.5" wheelDiameter="0.6" trackWidth="1.8" positionX="3.1" positionZ="0.3"/> <RearAxle maxSteering="0.0" wheelDiameter="0.6" trackWidth="1.8" positionX="0.0" positionZ="0.3"/> </Axles> <Properties> <Property name="type" value="ego_vehicle"/> </Properties> </Vehicle> </ScenarioObject> <ScenarioObject name="adversary"> <Vehicle name="vehicle.lincoln.mkz_2017" vehicleCategory="car"> <ParameterDeclarations/> <Performance maxSpeed="69.444" maxAcceleration="200" maxDeceleration="10.0"/> <BoundingBox> <Center x="1.5" y="0.0" z="0.9"/> <Dimensions width="2.1" length="4.5" height="1.8"/> </BoundingBox> <Axles> <FrontAxle maxSteering="0.5" wheelDiameter="0.6" trackWidth="1.8" positionX="3.1" positionZ="0.3"/> <RearAxle maxSteering="0.0" wheelDiameter="0.6" trackWidth="1.8" positionX="0.0" positionZ="0.3"/> </Axles> <Properties> <Property name="type" value="simulation"/> </Properties> </Vehicle> </ScenarioObject> <ScenarioObject name="standing"> <Vehicle name="vehicle.volkswagen.t2" vehicleCategory="car"> <ParameterDeclarations/> <Performance maxSpeed="69.444" maxAcceleration="200" maxDeceleration="10.0"/> <BoundingBox> <Center x="1.5" y="0.0" z="0.9"/> <Dimensions width="2.1" length="4.5" height="1.8"/> </BoundingBox> <Axles> <FrontAxle maxSteering="0.5" wheelDiameter="0.6" trackWidth="1.8" positionX="3.1" positionZ="0.3"/> <RearAxle maxSteering="0.0" wheelDiameter="0.6" trackWidth="1.8" positionX="0.0" positionZ="0.3"/> </Axles> <Properties> <Property name="type" value="simulation"/> </Properties> </Vehicle> </ScenarioObject> <ScenarioObject name="pedestrian_close_to_standing_13625"> <Pedestrian model="walker.pedestrian.0001" mass="80" name="walker.pedestrian.0001" pedestrianCategory="pedestrian"> <ParameterDeclarations/> <BoundingBox> <Center x="1.5" y="0.0" z="0.9"/> <Dimensions width="2" length="2" height="2"/> </BoundingBox> <Properties> <Property name="type" value="simulation"/> </Properties> </Pedestrian> </ScenarioObject> <ScenarioObject name="pedestrian_w_transform_13626"> <Pedestrian model="walker.pedestrian.0001" mass="80" name="walker.pedestrian.0001" pedestrianCategory="pedestrian"> <ParameterDeclarations/> <BoundingBox> <Center x="1.5" y="0.0" z="0.9"/> <Dimensions width="2" length="2" height="2"/> </BoundingBox> <Properties> <Property name="type" value="simulation"/> </Properties> </Pedestrian> </ScenarioObject> <ScenarioObject name="pedestrian_w_transform_13628"> <Pedestrian model="walker.pedestrian.0001" mass="80" name="walker.pedestrian.0001" pedestrianCategory="pedestrian"> <ParameterDeclarations/> <BoundingBox> <Center x="1.5" y="0.0" z="0.9"/> <Dimensions width="2" length="2" height="2"/> </BoundingBox> <Properties> <Property name="type" value="simulation"/> </Properties> </Pedestrian> </ScenarioObject> <ScenarioObject name="pedestrian_w_transform_13630"> <Pedestrian model="walker.pedestrian.0001" mass="80" name="walker.pedestrian.0001" pedestrianCategory="pedestrian"> <ParameterDeclarations/> <BoundingBox> <Center x="1.5" y="0.0" z="0.9"/> <Dimensions width="2" length="2" height="2"/> </BoundingBox> <Properties> <Property name="type" value="simulation"/> </Properties> </Pedestrian> </ScenarioObject> <ScenarioObject name="pedestrian_close_to_standing_13632"> <Pedestrian model="walker.pedestrian.0001" mass="80" name="walker.pedestrian.0001" pedestrianCategory="pedestrian"> <ParameterDeclarations/> <BoundingBox> <Center x="1.5" y="0.0" z="0.9"/> <Dimensions width="2" length="2" height="2"/> </BoundingBox> <Properties> <Property name="type" value="simulation"/> </Properties> </Pedestrian> </ScenarioObject> <ScenarioObject name="pedestrian_w_transform_13633"> <Pedestrian model="walker.pedestrian.0001" mass="80" name="walker.pedestrian.0001" pedestrianCategory="pedestrian"> <ParameterDeclarations/> <BoundingBox> <Center x="1.5" y="0.0" z="0.9"/> <Dimensions width="2" length="2" height="2"/> </BoundingBox> <Properties> <Property name="type" value="simulation"/> </Properties> </Pedestrian> </ScenarioObject> <ScenarioObject name="pedestrian_w_transform_13635"> <Pedestrian model="walker.pedestrian.0001" mass="80" name="walker.pedestrian.0001" pedestrianCategory="pedestrian"> <ParameterDeclarations/> <BoundingBox> <Center x="1.5" y="0.0" z="0.9"/> <Dimensions width="2" length="2" height="2"/> </BoundingBox> <Properties> <Property name="type" value="simulation"/> </Properties> </Pedestrian> </ScenarioObject> <ScenarioObject name="pedestrian_w_transform_13637"> <Pedestrian model="walker.pedestrian.0001" mass="80" name="walker.pedestrian.0001" pedestrianCategory="pedestrian"> <ParameterDeclarations/> <BoundingBox> <Center x="1.5" y="0.0" z="0.9"/> <Dimensions width="2" length="2" height="2"/> </BoundingBox> <Properties> <Property name="type" value="simulation"/> </Properties> </Pedestrian> </ScenarioObject> <ScenarioObject name="pedestrian_w_transform_13644"> <Pedestrian model="walker.pedestrian.0001" mass="80" name="walker.pedestrian.0001" pedestrianCategory="pedestrian"> <ParameterDeclarations/> <BoundingBox> <Center x="1.5" y="0.0" z="0.9"/> <Dimensions width="2" length="2" height="2"/> </BoundingBox> <Properties> <Property name="type" value="simulation"/> </Properties> </Pedestrian> </ScenarioObject> <ScenarioObject name="pedestrian_w_transform_13648"> <Pedestrian model="walker.pedestrian.0001" mass="80" name="walker.pedestrian.0001" pedestrianCategory="pedestrian"> <ParameterDeclarations/> <BoundingBox> <Center x="1.5" y="0.0" z="0.9"/> <Dimensions width="2" length="2" height="2"/> </BoundingBox> <Properties> <Property name="type" value="simulation"/> </Properties> </Pedestrian> </ScenarioObject> <ScenarioObject name="pedestrian_w_transform_13649"> <Pedestrian model="walker.pedestrian.0001" mass="80" name="walker.pedestrian.0001" pedestrianCategory="pedestrian"> <ParameterDeclarations/> <BoundingBox> <Center x="1.5" y="0.0" z="0.9"/> <Dimensions width="2" length="2" height="2"/> </BoundingBox> <Properties> <Property name="type" value="simulation"/> </Properties> </Pedestrian> </ScenarioObject> <ScenarioObject name="pedestrian_close_to_standing_13651"> <Pedestrian model="walker.pedestrian.0001" mass="80" name="walker.pedestrian.0001" pedestrianCategory="pedestrian"> <ParameterDeclarations/> <BoundingBox> <Center x="1.5" y="0.0" z="0.9"/> <Dimensions width="2" length="2" height="2"/> </BoundingBox> <Properties> <Property name="type" value="simulation"/> </Properties> </Pedestrian> </ScenarioObject> <ScenarioObject name="pedestrian_w_transform_13653"> <Pedestrian model="walker.pedestrian.0001" mass="80" name="walker.pedestrian.0001" pedestrianCategory="pedestrian"> <ParameterDeclarations/> <BoundingBox> <Center x="1.5" y="0.0" z="0.9"/> <Dimensions width="2" length="2" height="2"/> </BoundingBox> <Properties> <Property name="type" value="simulation"/> </Properties> </Pedestrian> </ScenarioObject> </Entities> <Storyboard> <Init> <Actions> <GlobalAction> <EnvironmentAction> <Environment name="Environment1"> <TimeOfDay animation="false" dateTime="2019-06-25T12:00:00"/> <Weather cloudState="free"> <Sun intensity="0.85" azimuth="0" elevation="1.31"/> <Fog visualRange="100000.0"/> <Precipitation precipitationType="dry" intensity="0.0"/> </Weather> <RoadCondition frictionScaleFactor="1.0"/> </Environment> </EnvironmentAction> </GlobalAction> <Private entityRef="hero"> <PrivateAction> <TeleportAction> <Position> <WorldPosition x="-9.4" y="-152.8" z="0.5" h="1.57079632679"/> </Position> </TeleportAction> </PrivateAction> <PrivateAction> <ControllerAction> <AssignControllerAction> <Controller name="HeroAgent"> <Properties> <Property name="module" value="external_control"/> </Properties> </Controller> </AssignControllerAction> <OverrideControllerValueAction> <Throttle value="0" active="false"/> <Brake value="0" active="false"/> <Clutch value="0" active="false"/> <ParkingBrake value="0" active="false"/> <SteeringWheel value="0" active="false"/> <Gear number="0" active="false"/> </OverrideControllerValueAction> </ControllerAction> </PrivateAction> </Private> <Private entityRef="adversary"> <PrivateAction> <TeleportAction> <Position> <WorldPosition x="-9.4" y="-71.0" z="0.5" h="1.57079632679"/> </Position> </TeleportAction> </PrivateAction> </Private> <Private entityRef="standing"> <PrivateAction> <TeleportAction> <Position> <WorldPosition x="-8.2" y="29.2" z="0.5" h="1.57079632679"/> </Position> </TeleportAction> </PrivateAction> </Private> <Private entityRef="pedestrian_close_to_standing_13625"> <PrivateAction> <TeleportAction> <Position> <WorldPosition x="1.3795617818832397" y="22.604949951171875" z="0.0030449675396084785"/> </Position> </TeleportAction> </PrivateAction> </Private> <Private entityRef="pedestrian_w_transform_13626"> <PrivateAction> <TeleportAction> <Position> <WorldPosition x="-60.04685592651367" y="75.0499267578125" z="0.5"/> </Position> </TeleportAction> </PrivateAction> </Private> <Private entityRef="pedestrian_w_transform_13628"> <PrivateAction> <TeleportAction> <Position> <WorldPosition x="74.9113998413086" y="96.78118896484375" z="0.5"/> </Position> </TeleportAction> </PrivateAction> </Private> <Private entityRef="pedestrian_w_transform_13630"> <PrivateAction> <TeleportAction> <Position> <WorldPosition x="93.8006362915039" y="-90.12284851074219" z="0.5"/> </Position> </TeleportAction> </PrivateAction> </Private> <Private entityRef="pedestrian_close_to_standing_13632"> <PrivateAction> <TeleportAction> <Position> <WorldPosition x="1.6990553140640259" y="19.529218673706055" z="0.003050918458029628"/> </Position> </TeleportAction> </PrivateAction> </Private> <Private entityRef="pedestrian_w_transform_13633"> <PrivateAction> <TeleportAction> <Position> <WorldPosition x="37.12168884277344" y="91.5466537475586" z="0.5"/> </Position> </TeleportAction> </PrivateAction> </Private> <Private entityRef="pedestrian_w_transform_13635"> <PrivateAction> <TeleportAction> <Position> <WorldPosition x="-75.07857513427734" y="78.59193420410156" z="0.5"/> </Position> </TeleportAction> </PrivateAction> </Private> <Private entityRef="pedestrian_w_transform_13637"> <PrivateAction> <TeleportAction> <Position> <WorldPosition x="-79.37142944335938" y="8.377928733825684" z="0.5"/> </Position> </TeleportAction> </PrivateAction> </Private> <Private entityRef="pedestrian_w_transform_13644"> <PrivateAction> <TeleportAction> <Position> <WorldPosition x="-87.03056335449219" y="87.81918334960938" z="0.5"/> </Position> </TeleportAction> </PrivateAction> </Private> <Private entityRef="pedestrian_w_transform_13648"> <PrivateAction> <TeleportAction> <Position> <WorldPosition x="4.283260822296143" y="71.09105682373047" z="0.5"/> </Position> </TeleportAction> </PrivateAction> </Private> <Private entityRef="pedestrian_w_transform_13649"> <PrivateAction> <TeleportAction> <Position> <WorldPosition x="80.57421875" y="36.48859405517578" z="0.5"/> </Position> </TeleportAction> </PrivateAction> </Private> <Private entityRef="pedestrian_close_to_standing_13651"> <PrivateAction> <TeleportAction> <Position> <WorldPosition x="-2.066331624984741" y="43.602012634277344" z="0.0029802322387695312"/> </Position> </TeleportAction> </PrivateAction> </Private> <Private entityRef="pedestrian_w_transform_13653"> <PrivateAction> <TeleportAction> <Position> <WorldPosition x="36.320167541503906" y="-95.55661010742188" z="0.5"/> </Position> </TeleportAction> </PrivateAction> </Private> </Actions> </Init> <Story name="MyStory"> <Act name="Behavior"> <ManeuverGroup maximumExecutionCount="1" name="ManeuverSequence"> <Actors selectTriggeringEntities="false"> <EntityRef entityRef="adversary"/> </Actors> <Maneuver name="LaneChangeSimpleManeuver"> <Event name="AdversaryAccelerates" priority="overwrite"> <Action name="AdversaryAccelerates"> <PrivateAction> <LongitudinalAction> <SpeedAction> <SpeedActionDynamics dynamicsShape="step" value="50" dynamicsDimension="distance"/> <SpeedActionTarget> <AbsoluteTargetSpeed value="5.0"/> </SpeedActionTarget> </SpeedAction> </LongitudinalAction> </PrivateAction> </Action> <StartTrigger> <ConditionGroup> <Condition name="StartCondition" delay="0" conditionEdge="rising"> <ByEntityCondition> <TriggeringEntities triggeringEntitiesRule="any"> <EntityRef entityRef="hero"/> </TriggeringEntities> <EntityCondition> <RelativeDistanceCondition entityRef="adversary" relativeDistanceType="cartesianDistance" value="40.0" freespace="false" rule="lessThan"/> </EntityCondition> </ByEntityCondition> </Condition> </ConditionGroup> </StartTrigger> </Event> <Event name="AdversaryChangesLane" priority="overwrite"> <Action name="AdversaryChangesLane"> <PrivateAction> <LateralAction> <LaneChangeAction> <LaneChangeActionDynamics dynamicsShape="linear" value="25" dynamicsDimension="distance"/> <LaneChangeTarget> <RelativeTargetLane entityRef="adversary" value="-1"/> </LaneChangeTarget> </LaneChangeAction> </LateralAction> </PrivateAction> </Action> <StartTrigger> <ConditionGroup> <Condition name="AfterAdversaryAccelerates" delay="0" conditionEdge="rising"> <ByValueCondition> <StoryboardElementStateCondition storyboardElementType="action" storyboardElementRef="AdversaryAccelerates" state="completeState"/> </ByValueCondition> </Condition> </ConditionGroup> </StartTrigger> </Event> </Maneuver> </ManeuverGroup> <StartTrigger> <ConditionGroup> <Condition name="OverallStartCondition" delay="0" conditionEdge="rising"> <ByEntityCondition> <TriggeringEntities triggeringEntitiesRule="any"> <EntityRef entityRef="hero"/> </TriggeringEntities> <EntityCondition> <TraveledDistanceCondition value="1.0"/> </EntityCondition> </ByEntityCondition> </Condition> <Condition name="StartTime" delay="0" conditionEdge="rising"> <ByValueCondition> <SimulationTimeCondition value="0" rule="equalTo"/> </ByValueCondition> </Condition> </ConditionGroup> </StartTrigger> <StopTrigger> <ConditionGroup> <Condition name="EndCondition" delay="0" conditionEdge="rising"> <ByEntityCondition> <TriggeringEntities triggeringEntitiesRule="any"> <EntityRef entityRef="hero"/> </TriggeringEntities> <EntityCondition> <TraveledDistanceCondition value="200.0"/> </EntityCondition> </ByEntityCondition> </Condition> </ConditionGroup> </StopTrigger> </Act> </Story> <StopTrigger> <ConditionGroup> <Condition name="criteria_RunningStopTest" delay="0" conditionEdge="rising"> <ByValueCondition> <ParameterCondition parameterRef="" value="" rule="lessThan"/> </ByValueCondition> </Condition> <Condition name="criteria_RunningRedLightTest" delay="0" conditionEdge="rising"> <ByValueCondition> <ParameterCondition parameterRef="" value="" rule="lessThan"/> </ByValueCondition> </Condition> <Condition name="criteria_WrongLaneTest" delay="0" conditionEdge="rising"> <ByValueCondition> <ParameterCondition parameterRef="" value="" rule="lessThan"/> </ByValueCondition> </Condition> <Condition name="criteria_OnSidewalkTest" delay="0" conditionEdge="rising"> <ByValueCondition> <ParameterCondition parameterRef="" value="" rule="lessThan"/> </ByValueCondition> </Condition> <Condition name="criteria_KeepLaneTest" delay="0" conditionEdge="rising"> <ByValueCondition> <ParameterCondition parameterRef="" value="" rule="lessThan"/> </ByValueCondition> </Condition> <Condition name="criteria_CollisionTest" delay="0" conditionEdge="rising"> <ByValueCondition> <ParameterCondition parameterRef="" value="" rule="lessThan"/> </ByValueCondition> </Condition> <Condition name="criteria_DrivenDistanceTest" delay="0" conditionEdge="rising"> <ByValueCondition> <ParameterCondition parameterRef="distance_success" value="100" rule="lessThan"/> </ByValueCondition> </Condition> </ConditionGroup> </StopTrigger> </Storyboard> </OpenSCENARIO> ```
i would like you to add pedestrian at location (-44.74, 84.31, 0.5)? ``` <?xml version="1.0" ?> <OpenSCENARIO> <FileHeader revMajor="1" revMinor="0" date="2020-03-24T12:00:00" description="CARLA:LaneChangeSimple" author=""/> <ParameterDeclarations/> <CatalogLocations/> <RoadNetwork> <LogicFile filepath="Town04"/> <SceneGraphFile filepath=""/> </RoadNetwork> <Entities> <ScenarioObject name="hero"> <Vehicle name="vehicle.tesla.model3" vehicleCategory="car"> <ParameterDeclarations/> <Performance maxSpeed="69.444" maxAcceleration="200" maxDeceleration="10.0"/> <BoundingBox> <Center x="1.5" y="0.0" z="0.9"/> <Dimensions width="2.1" length="4.5" height="1.8"/> </BoundingBox> <Axles> <FrontAxle maxSteering="0.5" wheelDiameter="0.6" trackWidth="1.8" positionX="3.1" positionZ="0.3"/> <RearAxle maxSteering="0.0" wheelDiameter="0.6" trackWidth="1.8" positionX="0.0" positionZ="0.3"/> </Axles> <Properties> <Property name="type" value="ego_vehicle"/> </Properties> </Vehicle> </ScenarioObject> <ScenarioObject name="adversary"> <Vehicle name="vehicle.lincoln.mkz_2017" vehicleCategory="car"> <ParameterDeclarations/> <Performance maxSpeed="69.444" maxAcceleration="200" maxDeceleration="10.0"/> <BoundingBox> <Center x="1.5" y="0.0" z="0.9"/> <Dimensions width="2.1" length="4.5" height="1.8"/> </BoundingBox> <Axles> <FrontAxle maxSteering="0.5" wheelDiameter="0.6" trackWidth="1.8" positionX="3.1" positionZ="0.3"/> <RearAxle maxSteering="0.0" wheelDiameter="0.6" trackWidth="1.8" positionX="0.0" positionZ="0.3"/> </Axles> <Properties> <Property name="type" value="simulation"/> </Properties> </Vehicle> </ScenarioObject> <ScenarioObject name="standing"> <Vehicle name="vehicle.volkswagen.t2" vehicleCategory="car"> <ParameterDeclarations/> <Performance maxSpeed="69.444" maxAcceleration="200" maxDeceleration="10.0"/> <BoundingBox> <Center x="1.5" y="0.0" z="0.9"/> <Dimensions width="2.1" length="4.5" height="1.8"/> </BoundingBox> <Axles> <FrontAxle maxSteering="0.5" wheelDiameter="0.6" trackWidth="1.8" positionX="3.1" positionZ="0.3"/> <RearAxle maxSteering="0.0" wheelDiameter="0.6" trackWidth="1.8" positionX="0.0" positionZ="0.3"/> </Axles> <Properties> <Property name="type" value="simulation"/> </Properties> </Vehicle> </ScenarioObject> <ScenarioObject name="pedestrian_close_to_standing_2291"> <Pedestrian model="walker.pedestrian.0001" mass="80" name="walker.pedestrian.0001" pedestrianCategory="pedestrian"> <ParameterDeclarations/> <BoundingBox> <Center x="1.5" y="0.0" z="0.9"/> <Dimensions width="2" length="2" height="2"/> </BoundingBox> <Properties> <Property name="type" value="simulation"/> </Properties> </Pedestrian> </ScenarioObject> <ScenarioObject name="pedestrian_close_to_hero_2292"> <Pedestrian model="walker.pedestrian.0001" mass="80" name="walker.pedestrian.0001" pedestrianCategory="pedestrian"> <ParameterDeclarations/> <BoundingBox> <Center x="1.5" y="0.0" z="0.9"/> <Dimensions width="2" length="2" height="2"/> </BoundingBox> <Properties> <Property name="type" value="simulation"/> </Properties> </Pedestrian> </ScenarioObject> <ScenarioObject name="pedestrian_w_transform_2293"> <Pedestrian model="walker.pedestrian.0001" mass="80" name="walker.pedestrian.0001" pedestrianCategory="pedestrian"> <ParameterDeclarations/> <BoundingBox> <Center x="1.5" y="0.0" z="0.9"/> <Dimensions width="2" length="2" height="2"/> </BoundingBox> <Properties> <Property name="type" value="simulation"/> </Properties> </Pedestrian> </ScenarioObject> <ScenarioObject name="pedestrian_w_transform_2294"> <Pedestrian model="walker.pedestrian.0001" mass="80" name="walker.pedestrian.0001" pedestrianCategory="pedestrian"> <ParameterDeclarations/> <BoundingBox> <Center x="1.5" y="0.0" z="0.9"/> <Dimensions width="2" length="2" height="2"/> </BoundingBox> <Properties> <Property name="type" value="simulation"/> </Properties> </Pedestrian> </ScenarioObject> <ScenarioObject name="pedestrian_close_to_adversary_2295"> <Pedestrian model="walker.pedestrian.0001" mass="80" name="walker.pedestrian.0001" pedestrianCategory="pedestrian"> <ParameterDeclarations/> <BoundingBox> <Center x="1.5" y="0.0" z="0.9"/> <Dimensions width="2" length="2" height="2"/> </BoundingBox> <Properties> <Property name="type" value="simulation"/> </Properties> </Pedestrian> </ScenarioObject> <ScenarioObject name="pedestrian_close_to_adversary_2296"> <Pedestrian model="walker.pedestrian.0001" mass="80" name="walker.pedestrian.0001" pedestrianCategory="pedestrian"> <ParameterDeclarations/> <BoundingBox> <Center x="1.5" y="0.0" z="0.9"/> <Dimensions width="2" length="2" height="2"/> </BoundingBox> <Properties> <Property name="type" value="simulation"/> </Properties> </Pedestrian> </ScenarioObject> <ScenarioObject name="pedestrian_close_to_hero_2297"> <Pedestrian model="walker.pedestrian.0001" mass="80" name="walker.pedestrian.0001" pedestrianCategory="pedestrian"> <ParameterDeclarations/> <BoundingBox> <Center x="1.5" y="0.0" z="0.9"/> <Dimensions width="2" length="2" height="2"/> </BoundingBox> <Properties> <Property name="type" value="simulation"/> </Properties> </Pedestrian> </ScenarioObject> <ScenarioObject name="pedestrian_w_transform_2299"> <Pedestrian model="walker.pedestrian.0001" mass="80" name="walker.pedestrian.0001" pedestrianCategory="pedestrian"> <ParameterDeclarations/> <BoundingBox> <Center x="1.5" y="0.0" z="0.9"/> <Dimensions width="2" length="2" height="2"/> </BoundingBox> <Properties> <Property name="type" value="simulation"/> </Properties> </Pedestrian> </ScenarioObject> <ScenarioObject name="pedestrian_close_to_adversary_2300"> <Pedestrian model="walker.pedestrian.0001" mass="80" name="walker.pedestrian.0001" pedestrianCategory="pedestrian"> <ParameterDeclarations/> <BoundingBox> <Center x="1.5" y="0.0" z="0.9"/> <Dimensions width="2" length="2" height="2"/> </BoundingBox> <Properties> <Property name="type" value="simulation"/> </Properties> </Pedestrian> </ScenarioObject> <ScenarioObject name="pedestrian_close_to_standing_2301"> <Pedestrian model="walker.pedestrian.0001" mass="80" name="walker.pedestrian.0001" pedestrianCategory="pedestrian"> <ParameterDeclarations/> <BoundingBox> <Center x="1.5" y="0.0" z="0.9"/> <Dimensions width="2" length="2" height="2"/> </BoundingBox> <Properties> <Property name="type" value="simulation"/> </Properties> </Pedestrian> </ScenarioObject> <ScenarioObject name="pedestrian_close_to_hero_2302"> <Pedestrian model="walker.pedestrian.0001" mass="80" name="walker.pedestrian.0001" pedestrianCategory="pedestrian"> <ParameterDeclarations/> <BoundingBox> <Center x="1.5" y="0.0" z="0.9"/> <Dimensions width="2" length="2" height="2"/> </BoundingBox> <Properties> <Property name="type" value="simulation"/> </Properties> </Pedestrian> </ScenarioObject> <ScenarioObject name="pedestrian_close_to_hero_2303"> <Pedestrian model="walker.pedestrian.0001" mass="80" name="walker.pedestrian.0001" pedestrianCategory="pedestrian"> <ParameterDeclarations/> <BoundingBox> <Center x="1.5" y="0.0" z="0.9"/> <Dimensions width="2" length="2" height="2"/> </BoundingBox> <Properties> <Property name="type" value="simulation"/> </Properties> </Pedestrian> </ScenarioObject> <ScenarioObject name="pedestrian_w_transform_2304"> <Pedestrian model="walker.pedestrian.0001" mass="80" name="walker.pedestrian.0001" pedestrianCategory="pedestrian"> <ParameterDeclarations/> <BoundingBox> <Center x="1.5" y="0.0" z="0.9"/> <Dimensions width="2" length="2" height="2"/> </BoundingBox> <Properties> <Property name="type" value="simulation"/> </Properties> </Pedestrian> </ScenarioObject> <ScenarioObject name="pedestrian_w_transform_2305"> <Pedestrian model="walker.pedestrian.0001" mass="80" name="walker.pedestrian.0001" pedestrianCategory="pedestrian"> <ParameterDeclarations/> <BoundingBox> <Center x="1.5" y="0.0" z="0.9"/> <Dimensions width="2" length="2" height="2"/> </BoundingBox> <Properties> <Property name="type" value="simulation"/> </Properties> </Pedestrian> </ScenarioObject> <ScenarioObject name="pedestrian_w_transform_2306"> <Pedestrian model="walker.pedestrian.0001" mass="80" name="walker.pedestrian.0001" pedestrianCategory="pedestrian"> <ParameterDeclarations/> <BoundingBox> <Center x="1.5" y="0.0" z="0.9"/> <Dimensions width="2" length="2" height="2"/> </BoundingBox> <Properties> <Property name="type" value="simulation"/> </Properties> </Pedestrian> </ScenarioObject> </Entities> <Storyboard> <Init> <Actions> <GlobalAction> <EnvironmentAction> <Environment name="Environment1"> <TimeOfDay animation="false" dateTime="2019-06-25T12:00:00"/> <Weather cloudState="free"> <Sun intensity="0.85" azimuth="0" elevation="1.31"/> <Fog visualRange="100000.0"/> <Precipitation precipitationType="dry" intensity="0.0"/> </Weather> <RoadCondition frictionScaleFactor="1.0"/> </Environment> </EnvironmentAction> </GlobalAction> <Private entityRef="hero"> <PrivateAction> <TeleportAction> <Position> <WorldPosition x="-9.4" y="-152.8" z="0.5" h="1.57079632679"/> </Position> </TeleportAction> </PrivateAction> <PrivateAction> <ControllerAction> <AssignControllerAction> <Controller name="HeroAgent"> <Properties> <Property name="module" value="external_control"/> </Properties> </Controller> </AssignControllerAction> <OverrideControllerValueAction> <Throttle value="0" active="false"/> <Brake value="0" active="false"/> <Clutch value="0" active="false"/> <ParkingBrake value="0" active="false"/> <SteeringWheel value="0" active="false"/> <Gear number="0" active="false"/> </OverrideControllerValueAction> </ControllerAction> </PrivateAction> </Private> <Private entityRef="adversary"> <PrivateAction> <TeleportAction> <Position> <WorldPosition x="-9.4" y="-71.0" z="0.5" h="1.57079632679"/> </Position> </TeleportAction> </PrivateAction> </Private> <Private entityRef="standing"> <PrivateAction> <TeleportAction> <Position> <WorldPosition x="-8.2" y="29.2" z="0.5" h="1.57079632679"/> </Position> </TeleportAction> </PrivateAction> </Private> <Private entityRef="pedestrian_close_to_standing_2291"> <PrivateAction> <TeleportAction> <Position> <WorldPosition x="-5.943880081176758" y="31.093189239501953" z="0.0030714033637195826"/> </Position> </TeleportAction> </PrivateAction> </Private> <Private entityRef="pedestrian_close_to_hero_2292"> <PrivateAction> <TeleportAction> <Position> <WorldPosition x="-11.49874496459961" y="-151.44085693359375" z="0.0014286803780123591"/> </Position> </TeleportAction> </PrivateAction> </Private> <Private entityRef="pedestrian_w_transform_2293"> <PrivateAction> <TeleportAction> <Position> <WorldPosition x="-91.77790069580078" y="-48.53946304321289" z="0.5"/> </Position> </TeleportAction> </PrivateAction> </Private> <Private entityRef="pedestrian_w_transform_2294"> <PrivateAction> <TeleportAction> <Position> <WorldPosition x="-7.79125452041626" y="-34.212982177734375" z="0.5"/> </Position> </TeleportAction> </PrivateAction> </Private> <Private entityRef="pedestrian_close_to_adversary_2295"> <PrivateAction> <TeleportAction> <Position> <WorldPosition x="-9.284587860107422" y="-78.36416625976562" z="0.03378303349018097"/> </Position> </TeleportAction> </PrivateAction> </Private> <Private entityRef="pedestrian_close_to_adversary_2296"> <PrivateAction> <TeleportAction> <Position> <WorldPosition x="-17.995019912719727" y="-68.75142669677734" z="0.03379607945680618"/> </Position> </TeleportAction> </PrivateAction> </Private> <Private entityRef="pedestrian_close_to_hero_2297"> <PrivateAction> <TeleportAction> <Position> <WorldPosition x="-10.324201583862305" y="-146.77597045898438" z="0.0014286803780123591"/> </Position> </TeleportAction> </PrivateAction> </Private> <Private entityRef="pedestrian_w_transform_2299"> <PrivateAction> <TeleportAction> <Position> <WorldPosition x="88.15410614013672" y="4.056343078613281" z="0.5"/> </Position> </TeleportAction> </PrivateAction> </Private> <Private entityRef="pedestrian_close_to_adversary_2300"> <PrivateAction> <TeleportAction> <Position> <WorldPosition x="-1.9599002599716187" y="-68.49847412109375" z="0.03381462022662163"/> </Position> </TeleportAction> </PrivateAction> </Private> <Private entityRef="pedestrian_close_to_standing_2301"> <PrivateAction> <TeleportAction> <Position> <WorldPosition x="-1.6592037677764893" y="19.938596725463867" z="0.003079376183450222"/> </Position> </TeleportAction> </PrivateAction> </Private> <Private entityRef="pedestrian_close_to_hero_2302"> <PrivateAction> <TeleportAction> <Position> <WorldPosition x="2.1684885025024414" y="-151.1518096923828" z="0.0014286803780123591"/> </Position> </TeleportAction> </PrivateAction> </Private> <Private entityRef="pedestrian_close_to_hero_2303"> <PrivateAction> <TeleportAction> <Position> <WorldPosition x="0.4292650818824768" y="-160.03965759277344" z="0.0014286803780123591"/> </Position> </TeleportAction> </PrivateAction> </Private> <Private entityRef="pedestrian_w_transform_2304"> <PrivateAction> <TeleportAction> <Position> <WorldPosition x="81.48070526123047" y="-35.158939361572266" z="0.5"/> </Position> </TeleportAction> </PrivateAction> </Private> <Private entityRef="pedestrian_w_transform_2305"> <PrivateAction> <TeleportAction> <Position> <WorldPosition x="36.828163146972656" y="-80.38890075683594" z="0.5"/> </Position> </TeleportAction> </PrivateAction> </Private> <Private entityRef="pedestrian_w_transform_2306"> <PrivateAction> <TeleportAction> <Position> <WorldPosition x="53.10529708862305" y="26.820924758911133" z="0.5"/> </Position> </TeleportAction> </PrivateAction> </Private> </Actions> </Init> <Story name="MyStory"> <Act name="Behavior"> <ManeuverGroup maximumExecutionCount="1" name="ManeuverSequence"> <Actors selectTriggeringEntities="false"> <EntityRef entityRef="adversary"/> </Actors> <Maneuver name="LaneChangeSimpleManeuver"> <Event name="AdversaryAccelerates" priority="overwrite"> <Action name="AdversaryAccelerates"> <PrivateAction> <LongitudinalAction> <SpeedAction> <SpeedActionDynamics dynamicsShape="step" value="50" dynamicsDimension="distance"/> <SpeedActionTarget> <AbsoluteTargetSpeed value="5.0"/> </SpeedActionTarget> </SpeedAction> </LongitudinalAction> </PrivateAction> </Action> <StartTrigger> <ConditionGroup> <Condition name="StartCondition" delay="0" conditionEdge="rising"> <ByEntityCondition> <TriggeringEntities triggeringEntitiesRule="any"> <EntityRef entityRef="hero"/> </TriggeringEntities> <EntityCondition> <RelativeDistanceCondition entityRef="adversary" relativeDistanceType="cartesianDistance" value="40.0" freespace="false" rule="lessThan"/> </EntityCondition> </ByEntityCondition> </Condition> </ConditionGroup> </StartTrigger> </Event> <Event name="AdversaryChangesLane" priority="overwrite"> <Action name="AdversaryChangesLane"> <PrivateAction> <LateralAction> <LaneChangeAction> <LaneChangeActionDynamics dynamicsShape="linear" value="25" dynamicsDimension="distance"/> <LaneChangeTarget> <RelativeTargetLane entityRef="adversary" value="-1"/> </LaneChangeTarget> </LaneChangeAction> </LateralAction> </PrivateAction> </Action> <StartTrigger> <ConditionGroup> <Condition name="AfterAdversaryAccelerates" delay="0" conditionEdge="rising"> <ByValueCondition> <StoryboardElementStateCondition storyboardElementType="action" storyboardElementRef="AdversaryAccelerates" state="completeState"/> </ByValueCondition> </Condition> </ConditionGroup> </StartTrigger> </Event> </Maneuver> </ManeuverGroup> <StartTrigger> <ConditionGroup> <Condition name="OverallStartCondition" delay="0" conditionEdge="rising"> <ByEntityCondition> <TriggeringEntities triggeringEntitiesRule="any"> <EntityRef entityRef="hero"/> </TriggeringEntities> <EntityCondition> <TraveledDistanceCondition value="1.0"/> </EntityCondition> </ByEntityCondition> </Condition> <Condition name="StartTime" delay="0" conditionEdge="rising"> <ByValueCondition> <SimulationTimeCondition value="0" rule="equalTo"/> </ByValueCondition> </Condition> </ConditionGroup> </StartTrigger> <StopTrigger> <ConditionGroup> <Condition name="EndCondition" delay="0" conditionEdge="rising"> <ByEntityCondition> <TriggeringEntities triggeringEntitiesRule="any"> <EntityRef entityRef="hero"/> </TriggeringEntities> <EntityCondition> <TraveledDistanceCondition value="200.0"/> </EntityCondition> </ByEntityCondition> </Condition> </ConditionGroup> </StopTrigger> </Act> </Story> <StopTrigger> <ConditionGroup> <Condition name="criteria_RunningStopTest" delay="0" conditionEdge="rising"> <ByValueCondition> <ParameterCondition parameterRef="" value="" rule="lessThan"/> </ByValueCondition> </Condition> <Condition name="criteria_RunningRedLightTest" delay="0" conditionEdge="rising"> <ByValueCondition> <ParameterCondition parameterRef="" value="" rule="lessThan"/> </ByValueCondition> </Condition> <Condition name="criteria_WrongLaneTest" delay="0" conditionEdge="rising"> <ByValueCondition> <ParameterCondition parameterRef="" value="" rule="lessThan"/> </ByValueCondition> </Condition> <Condition name="criteria_OnSidewalkTest" delay="0" conditionEdge="rising"> <ByValueCondition> <ParameterCondition parameterRef="" value="" rule="lessThan"/> </ByValueCondition> </Condition> <Condition name="criteria_KeepLaneTest" delay="0" conditionEdge="rising"> <ByValueCondition> <ParameterCondition parameterRef="" value="" rule="lessThan"/> </ByValueCondition> </Condition> <Condition name="criteria_CollisionTest" delay="0" conditionEdge="rising"> <ByValueCondition> <ParameterCondition parameterRef="" value="" rule="lessThan"/> </ByValueCondition> </Condition> <Condition name="criteria_DrivenDistanceTest" delay="0" conditionEdge="rising"> <ByValueCondition> <ParameterCondition parameterRef="distance_success" value="100" rule="lessThan"/> </ByValueCondition> </Condition> </ConditionGroup> </StopTrigger> </Storyboard> </OpenSCENARIO> ```
Here is the result: ``` <?xml version="1.0" ?> <OpenSCENARIO> <FileHeader revMajor="1" revMinor="0" date="2020-03-24T12:00:00" description="CARLA:LaneChangeSimple" author=""/> <ParameterDeclarations/> <CatalogLocations/> <RoadNetwork> <LogicFile filepath="Town04"/> <SceneGraphFile filepath=""/> </RoadNetwork> <Entities> <ScenarioObject name="hero"> <Vehicle name="vehicle.tesla.model3" vehicleCategory="car"> <ParameterDeclarations/> <Performance maxSpeed="69.444" maxAcceleration="200" maxDeceleration="10.0"/> <BoundingBox> <Center x="1.5" y="0.0" z="0.9"/> <Dimensions width="2.1" length="4.5" height="1.8"/> </BoundingBox> <Axles> <FrontAxle maxSteering="0.5" wheelDiameter="0.6" trackWidth="1.8" positionX="3.1" positionZ="0.3"/> <RearAxle maxSteering="0.0" wheelDiameter="0.6" trackWidth="1.8" positionX="0.0" positionZ="0.3"/> </Axles> <Properties> <Property name="type" value="ego_vehicle"/> </Properties> </Vehicle> </ScenarioObject> <ScenarioObject name="adversary"> <Vehicle name="vehicle.lincoln.mkz_2017" vehicleCategory="car"> <ParameterDeclarations/> <Performance maxSpeed="69.444" maxAcceleration="200" maxDeceleration="10.0"/> <BoundingBox> <Center x="1.5" y="0.0" z="0.9"/> <Dimensions width="2.1" length="4.5" height="1.8"/> </BoundingBox> <Axles> <FrontAxle maxSteering="0.5" wheelDiameter="0.6" trackWidth="1.8" positionX="3.1" positionZ="0.3"/> <RearAxle maxSteering="0.0" wheelDiameter="0.6" trackWidth="1.8" positionX="0.0" positionZ="0.3"/> </Axles> <Properties> <Property name="type" value="simulation"/> </Properties> </Vehicle> </ScenarioObject> <ScenarioObject name="standing"> <Vehicle name="vehicle.volkswagen.t2" vehicleCategory="car"> <ParameterDeclarations/> <Performance maxSpeed="69.444" maxAcceleration="200" maxDeceleration="10.0"/> <BoundingBox> <Center x="1.5" y="0.0" z="0.9"/> <Dimensions width="2.1" length="4.5" height="1.8"/> </BoundingBox> <Axles> <FrontAxle maxSteering="0.5" wheelDiameter="0.6" trackWidth="1.8" positionX="3.1" positionZ="0.3"/> <RearAxle maxSteering="0.0" wheelDiameter="0.6" trackWidth="1.8" positionX="0.0" positionZ="0.3"/> </Axles> <Properties> <Property name="type" value="simulation"/> </Properties> </Vehicle> </ScenarioObject> <ScenarioObject name="pedestrian_close_to_standing_2291"> <Pedestrian model="walker.pedestrian.0001" mass="80" name="walker.pedestrian.0001" pedestrianCategory="pedestrian"> <ParameterDeclarations/> <BoundingBox> <Center x="1.5" y="0.0" z="0.9"/> <Dimensions width="2" length="2" height="2"/> </BoundingBox> <Properties> <Property name="type" value="simulation"/> </Properties> </Pedestrian> </ScenarioObject> <ScenarioObject name="pedestrian_close_to_hero_2292"> <Pedestrian model="walker.pedestrian.0001" mass="80" name="walker.pedestrian.0001" pedestrianCategory="pedestrian"> <ParameterDeclarations/> <BoundingBox> <Center x="1.5" y="0.0" z="0.9"/> <Dimensions width="2" length="2" height="2"/> </BoundingBox> <Properties> <Property name="type" value="simulation"/> </Properties> </Pedestrian> </ScenarioObject> <ScenarioObject name="pedestrian_w_transform_2293"> <Pedestrian model="walker.pedestrian.0001" mass="80" name="walker.pedestrian.0001" pedestrianCategory="pedestrian"> <ParameterDeclarations/> <BoundingBox> <Center x="1.5" y="0.0" z="0.9"/> <Dimensions width="2" length="2" height="2"/> </BoundingBox> <Properties> <Property name="type" value="simulation"/> </Properties> </Pedestrian> </ScenarioObject> <ScenarioObject name="pedestrian_w_transform_2294"> <Pedestrian model="walker.pedestrian.0001" mass="80" name="walker.pedestrian.0001" pedestrianCategory="pedestrian"> <ParameterDeclarations/> <BoundingBox> <Center x="1.5" y="0.0" z="0.9"/> <Dimensions width="2" length="2" height="2"/> </BoundingBox> <Properties> <Property name="type" value="simulation"/> </Properties> </Pedestrian> </ScenarioObject> <ScenarioObject name="pedestrian_close_to_adversary_2295"> <Pedestrian model="walker.pedestrian.0001" mass="80" name="walker.pedestrian.0001" pedestrianCategory="pedestrian"> <ParameterDeclarations/> <BoundingBox> <Center x="1.5" y="0.0" z="0.9"/> <Dimensions width="2" length="2" height="2"/> </BoundingBox> <Properties> <Property name="type" value="simulation"/> </Properties> </Pedestrian> </ScenarioObject> <ScenarioObject name="pedestrian_close_to_adversary_2296"> <Pedestrian model="walker.pedestrian.0001" mass="80" name="walker.pedestrian.0001" pedestrianCategory="pedestrian"> <ParameterDeclarations/> <BoundingBox> <Center x="1.5" y="0.0" z="0.9"/> <Dimensions width="2" length="2" height="2"/> </BoundingBox> <Properties> <Property name="type" value="simulation"/> </Properties> </Pedestrian> </ScenarioObject> <ScenarioObject name="pedestrian_close_to_hero_2297"> <Pedestrian model="walker.pedestrian.0001" mass="80" name="walker.pedestrian.0001" pedestrianCategory="pedestrian"> <ParameterDeclarations/> <BoundingBox> <Center x="1.5" y="0.0" z="0.9"/> <Dimensions width="2" length="2" height="2"/> </BoundingBox> <Properties> <Property name="type" value="simulation"/> </Properties> </Pedestrian> </ScenarioObject> <ScenarioObject name="pedestrian_w_transform_2299"> <Pedestrian model="walker.pedestrian.0001" mass="80" name="walker.pedestrian.0001" pedestrianCategory="pedestrian"> <ParameterDeclarations/> <BoundingBox> <Center x="1.5" y="0.0" z="0.9"/> <Dimensions width="2" length="2" height="2"/> </BoundingBox> <Properties> <Property name="type" value="simulation"/> </Properties> </Pedestrian> </ScenarioObject> <ScenarioObject name="pedestrian_close_to_adversary_2300"> <Pedestrian model="walker.pedestrian.0001" mass="80" name="walker.pedestrian.0001" pedestrianCategory="pedestrian"> <ParameterDeclarations/> <BoundingBox> <Center x="1.5" y="0.0" z="0.9"/> <Dimensions width="2" length="2" height="2"/> </BoundingBox> <Properties> <Property name="type" value="simulation"/> </Properties> </Pedestrian> </ScenarioObject> <ScenarioObject name="pedestrian_close_to_standing_2301"> <Pedestrian model="walker.pedestrian.0001" mass="80" name="walker.pedestrian.0001" pedestrianCategory="pedestrian"> <ParameterDeclarations/> <BoundingBox> <Center x="1.5" y="0.0" z="0.9"/> <Dimensions width="2" length="2" height="2"/> </BoundingBox> <Properties> <Property name="type" value="simulation"/> </Properties> </Pedestrian> </ScenarioObject> <ScenarioObject name="pedestrian_close_to_hero_2302"> <Pedestrian model="walker.pedestrian.0001" mass="80" name="walker.pedestrian.0001" pedestrianCategory="pedestrian"> <ParameterDeclarations/> <BoundingBox> <Center x="1.5" y="0.0" z="0.9"/> <Dimensions width="2" length="2" height="2"/> </BoundingBox> <Properties> <Property name="type" value="simulation"/> </Properties> </Pedestrian> </ScenarioObject> <ScenarioObject name="pedestrian_close_to_hero_2303"> <Pedestrian model="walker.pedestrian.0001" mass="80" name="walker.pedestrian.0001" pedestrianCategory="pedestrian"> <ParameterDeclarations/> <BoundingBox> <Center x="1.5" y="0.0" z="0.9"/> <Dimensions width="2" length="2" height="2"/> </BoundingBox> <Properties> <Property name="type" value="simulation"/> </Properties> </Pedestrian> </ScenarioObject> <ScenarioObject name="pedestrian_w_transform_2304"> <Pedestrian model="walker.pedestrian.0001" mass="80" name="walker.pedestrian.0001" pedestrianCategory="pedestrian"> <ParameterDeclarations/> <BoundingBox> <Center x="1.5" y="0.0" z="0.9"/> <Dimensions width="2" length="2" height="2"/> </BoundingBox> <Properties> <Property name="type" value="simulation"/> </Properties> </Pedestrian> </ScenarioObject> <ScenarioObject name="pedestrian_w_transform_2305"> <Pedestrian model="walker.pedestrian.0001" mass="80" name="walker.pedestrian.0001" pedestrianCategory="pedestrian"> <ParameterDeclarations/> <BoundingBox> <Center x="1.5" y="0.0" z="0.9"/> <Dimensions width="2" length="2" height="2"/> </BoundingBox> <Properties> <Property name="type" value="simulation"/> </Properties> </Pedestrian> </ScenarioObject> <ScenarioObject name="pedestrian_w_transform_2306"> <Pedestrian model="walker.pedestrian.0001" mass="80" name="walker.pedestrian.0001" pedestrianCategory="pedestrian"> <ParameterDeclarations/> <BoundingBox> <Center x="1.5" y="0.0" z="0.9"/> <Dimensions width="2" length="2" height="2"/> </BoundingBox> <Properties> <Property name="type" value="simulation"/> </Properties> </Pedestrian> </ScenarioObject> <ScenarioObject name="pedestrian_w_transform_2307"> <Pedestrian model="walker.pedestrian.0001" mass="80" name="walker.pedestrian.0001" pedestrianCategory="pedestrian"> <ParameterDeclarations/> <BoundingBox> <Center x="1.5" y="0.0" z="0.9"/> <Dimensions width="2" length="2" height="2"/> </BoundingBox> <Properties> <Property name="type" value="simulation"/> </Properties> </Pedestrian> </ScenarioObject> </Entities> <Storyboard> <Init> <Actions> <GlobalAction> <EnvironmentAction> <Environment name="Environment1"> <TimeOfDay animation="false" dateTime="2019-06-25T12:00:00"/> <Weather cloudState="free"> <Sun intensity="0.85" azimuth="0" elevation="1.31"/> <Fog visualRange="100000.0"/> <Precipitation precipitationType="dry" intensity="0.0"/> </Weather> <RoadCondition frictionScaleFactor="1.0"/> </Environment> </EnvironmentAction> </GlobalAction> <Private entityRef="hero"> <PrivateAction> <TeleportAction> <Position> <WorldPosition x="-9.4" y="-152.8" z="0.5" h="1.57079632679"/> </Position> </TeleportAction> </PrivateAction> <PrivateAction> <ControllerAction> <AssignControllerAction> <Controller name="HeroAgent"> <Properties> <Property name="module" value="external_control"/> </Properties> </Controller> </AssignControllerAction> <OverrideControllerValueAction> <Throttle value="0" active="false"/> <Brake value="0" active="false"/> <Clutch value="0" active="false"/> <ParkingBrake value="0" active="false"/> <SteeringWheel value="0" active="false"/> <Gear number="0" active="false"/> </OverrideControllerValueAction> </ControllerAction> </PrivateAction> </Private> <Private entityRef="adversary"> <PrivateAction> <TeleportAction> <Position> <WorldPosition x="-9.4" y="-71.0" z="0.5" h="1.57079632679"/> </Position> </TeleportAction> </PrivateAction> </Private> <Private entityRef="standing"> <PrivateAction> <TeleportAction> <Position> <WorldPosition x="-8.2" y="29.2" z="0.5" h="1.57079632679"/> </Position> </TeleportAction> </PrivateAction> </Private> <Private entityRef="pedestrian_close_to_standing_2291"> <PrivateAction> <TeleportAction> <Position> <WorldPosition x="-5.943880081176758" y="31.093189239501953" z="0.0030714033637195826"/> </Position> </TeleportAction> </PrivateAction> </Private> <Private entityRef="pedestrian_close_to_hero_2292"> <PrivateAction> <TeleportAction> <Position> <WorldPosition x="-11.49874496459961" y="-151.44085693359375" z="0.0014286803780123591"/> </Position> </TeleportAction> </PrivateAction> </Private> <Private entityRef="pedestrian_w_transform_2293"> <PrivateAction> <TeleportAction> <Position> <WorldPosition x="-91.77790069580078" y="-48.53946304321289" z="0.5"/> </Position> </TeleportAction> </PrivateAction> </Private> <Private entityRef="pedestrian_w_transform_2294"> <PrivateAction> <TeleportAction> <Position> <WorldPosition x="-7.79125452041626" y="-34.212982177734375" z="0.5"/> </Position> </TeleportAction> </PrivateAction> </Private> <Private entityRef="pedestrian_close_to_adversary_2295"> <PrivateAction> <TeleportAction> <Position> <WorldPosition x="-9.284587860107422" y="-78.36416625976562" z="0.03378303349018097"/> </Position> </TeleportAction> </PrivateAction> </Private> <Private entityRef="pedestrian_close_to_adversary_2296"> <PrivateAction> <TeleportAction> <Position> <WorldPosition x="-17.995019912719727" y="-68.75142669677734" z="0.03379607945680618"/> </Position> </TeleportAction> </PrivateAction> </Private> <Private entityRef="pedestrian_close_to_hero_2297"> <PrivateAction> <TeleportAction> <Position> <WorldPosition x="-10.324201583862305" y="-146.77597045898438" z="0.0014286803780123591"/> </Position> </TeleportAction> </PrivateAction> </Private> <Private entityRef="pedestrian_w_transform_2299"> <PrivateAction> <TeleportAction> <Position> <WorldPosition x="88.15410614013672" y="4.056343078613281" z="0.5"/> </Position> </TeleportAction> </PrivateAction> </Private> <Private entityRef="pedestrian_close_to_adversary_2300"> <PrivateAction> <TeleportAction> <Position> <WorldPosition x="-1.9599002599716187" y="-68.49847412109375" z="0.03381462022662163"/> </Position> </TeleportAction> </PrivateAction> </Private> <Private entityRef="pedestrian_close_to_standing_2301"> <PrivateAction> <TeleportAction> <Position> <WorldPosition x="-1.6592037677764893" y="19.938596725463867" z="0.003079376183450222"/> </Position> </TeleportAction> </PrivateAction> </Private> <Private entityRef="pedestrian_close_to_hero_2302"> <PrivateAction> <TeleportAction> <Position> <WorldPosition x="2.1684885025024414" y="-151.1518096923828" z="0.0014286803780123591"/> </Position> </TeleportAction> </PrivateAction> </Private> <Private entityRef="pedestrian_close_to_hero_2303"> <PrivateAction> <TeleportAction> <Position> <WorldPosition x="0.4292650818824768" y="-160.03965759277344" z="0.0014286803780123591"/> </Position> </TeleportAction> </PrivateAction> </Private> <Private entityRef="pedestrian_w_transform_2304"> <PrivateAction> <TeleportAction> <Position> <WorldPosition x="81.48070526123047" y="-35.158939361572266" z="0.5"/> </Position> </TeleportAction> </PrivateAction> </Private> <Private entityRef="pedestrian_w_transform_2305"> <PrivateAction> <TeleportAction> <Position> <WorldPosition x="36.828163146972656" y="-80.38890075683594" z="0.5"/> </Position> </TeleportAction> </PrivateAction> </Private> <Private entityRef="pedestrian_w_transform_2306"> <PrivateAction> <TeleportAction> <Position> <WorldPosition x="53.10529708862305" y="26.820924758911133" z="0.5"/> </Position> </TeleportAction> </PrivateAction> </Private> <Private entityRef="pedestrian_w_transform_2307"> <PrivateAction> <TeleportAction> <Position> <WorldPosition x="-44.73835372924805" y="84.30886840820312" z="0.5"/> </Position> </TeleportAction> </PrivateAction> </Private> </Actions> </Init> <Story name="MyStory"> <Act name="Behavior"> <ManeuverGroup maximumExecutionCount="1" name="ManeuverSequence"> <Actors selectTriggeringEntities="false"> <EntityRef entityRef="adversary"/> </Actors> <Maneuver name="LaneChangeSimpleManeuver"> <Event name="AdversaryAccelerates" priority="overwrite"> <Action name="AdversaryAccelerates"> <PrivateAction> <LongitudinalAction> <SpeedAction> <SpeedActionDynamics dynamicsShape="step" value="50" dynamicsDimension="distance"/> <SpeedActionTarget> <AbsoluteTargetSpeed value="5.0"/> </SpeedActionTarget> </SpeedAction> </LongitudinalAction> </PrivateAction> </Action> <StartTrigger> <ConditionGroup> <Condition name="StartCondition" delay="0" conditionEdge="rising"> <ByEntityCondition> <TriggeringEntities triggeringEntitiesRule="any"> <EntityRef entityRef="hero"/> </TriggeringEntities> <EntityCondition> <RelativeDistanceCondition entityRef="adversary" relativeDistanceType="cartesianDistance" value="40.0" freespace="false" rule="lessThan"/> </EntityCondition> </ByEntityCondition> </Condition> </ConditionGroup> </StartTrigger> </Event> <Event name="AdversaryChangesLane" priority="overwrite"> <Action name="AdversaryChangesLane"> <PrivateAction> <LateralAction> <LaneChangeAction> <LaneChangeActionDynamics dynamicsShape="linear" value="25" dynamicsDimension="distance"/> <LaneChangeTarget> <RelativeTargetLane entityRef="adversary" value="-1"/> </LaneChangeTarget> </LaneChangeAction> </LateralAction> </PrivateAction> </Action> <StartTrigger> <ConditionGroup> <Condition name="AfterAdversaryAccelerates" delay="0" conditionEdge="rising"> <ByValueCondition> <StoryboardElementStateCondition storyboardElementType="action" storyboardElementRef="AdversaryAccelerates" state="completeState"/> </ByValueCondition> </Condition> </ConditionGroup> </StartTrigger> </Event> </Maneuver> </ManeuverGroup> <StartTrigger> <ConditionGroup> <Condition name="OverallStartCondition" delay="0" conditionEdge="rising"> <ByEntityCondition> <TriggeringEntities triggeringEntitiesRule="any"> <EntityRef entityRef="hero"/> </TriggeringEntities> <EntityCondition> <TraveledDistanceCondition value="1.0"/> </EntityCondition> </ByEntityCondition> </Condition> <Condition name="StartTime" delay="0" conditionEdge="rising"> <ByValueCondition> <SimulationTimeCondition value="0" rule="equalTo"/> </ByValueCondition> </Condition> </ConditionGroup> </StartTrigger> <StopTrigger> <ConditionGroup> <Condition name="EndCondition" delay="0" conditionEdge="rising"> <ByEntityCondition> <TriggeringEntities triggeringEntitiesRule="any"> <EntityRef entityRef="hero"/> </TriggeringEntities> <EntityCondition> <TraveledDistanceCondition value="200.0"/> </EntityCondition> </ByEntityCondition> </Condition> </ConditionGroup> </StopTrigger> </Act> </Story> <StopTrigger> <ConditionGroup> <Condition name="criteria_RunningStopTest" delay="0" conditionEdge="rising"> <ByValueCondition> <ParameterCondition parameterRef="" value="" rule="lessThan"/> </ByValueCondition> </Condition> <Condition name="criteria_RunningRedLightTest" delay="0" conditionEdge="rising"> <ByValueCondition> <ParameterCondition parameterRef="" value="" rule="lessThan"/> </ByValueCondition> </Condition> <Condition name="criteria_WrongLaneTest" delay="0" conditionEdge="rising"> <ByValueCondition> <ParameterCondition parameterRef="" value="" rule="lessThan"/> </ByValueCondition> </Condition> <Condition name="criteria_OnSidewalkTest" delay="0" conditionEdge="rising"> <ByValueCondition> <ParameterCondition parameterRef="" value="" rule="lessThan"/> </ByValueCondition> </Condition> <Condition name="criteria_KeepLaneTest" delay="0" conditionEdge="rising"> <ByValueCondition> <ParameterCondition parameterRef="" value="" rule="lessThan"/> </ByValueCondition> </Condition> <Condition name="criteria_CollisionTest" delay="0" conditionEdge="rising"> <ByValueCondition> <ParameterCondition parameterRef="" value="" rule="lessThan"/> </ByValueCondition> </Condition> <Condition name="criteria_DrivenDistanceTest" delay="0" conditionEdge="rising"> <ByValueCondition> <ParameterCondition parameterRef="distance_success" value="100" rule="lessThan"/> </ByValueCondition> </Condition> </ConditionGroup> </StopTrigger> </Storyboard> </OpenSCENARIO> ```
i would like to lead you to remove pedestrian actor named pedestrian_close_to_hero_7996? ``` <?xml version="1.0" ?> <OpenSCENARIO> <FileHeader revMajor="1" revMinor="0" date="2020-03-24T12:00:00" description="CARLA:LaneChangeSimple" author=""/> <ParameterDeclarations/> <CatalogLocations/> <RoadNetwork> <LogicFile filepath="Town04"/> <SceneGraphFile filepath=""/> </RoadNetwork> <Entities> <ScenarioObject name="hero"> <Vehicle name="vehicle.tesla.model3" vehicleCategory="car"> <ParameterDeclarations/> <Performance maxSpeed="69.444" maxAcceleration="200" maxDeceleration="10.0"/> <BoundingBox> <Center x="1.5" y="0.0" z="0.9"/> <Dimensions width="2.1" length="4.5" height="1.8"/> </BoundingBox> <Axles> <FrontAxle maxSteering="0.5" wheelDiameter="0.6" trackWidth="1.8" positionX="3.1" positionZ="0.3"/> <RearAxle maxSteering="0.0" wheelDiameter="0.6" trackWidth="1.8" positionX="0.0" positionZ="0.3"/> </Axles> <Properties> <Property name="type" value="ego_vehicle"/> </Properties> </Vehicle> </ScenarioObject> <ScenarioObject name="adversary"> <Vehicle name="vehicle.lincoln.mkz_2017" vehicleCategory="car"> <ParameterDeclarations/> <Performance maxSpeed="69.444" maxAcceleration="200" maxDeceleration="10.0"/> <BoundingBox> <Center x="1.5" y="0.0" z="0.9"/> <Dimensions width="2.1" length="4.5" height="1.8"/> </BoundingBox> <Axles> <FrontAxle maxSteering="0.5" wheelDiameter="0.6" trackWidth="1.8" positionX="3.1" positionZ="0.3"/> <RearAxle maxSteering="0.0" wheelDiameter="0.6" trackWidth="1.8" positionX="0.0" positionZ="0.3"/> </Axles> <Properties> <Property name="type" value="simulation"/> </Properties> </Vehicle> </ScenarioObject> <ScenarioObject name="standing"> <Vehicle name="vehicle.volkswagen.t2" vehicleCategory="car"> <ParameterDeclarations/> <Performance maxSpeed="69.444" maxAcceleration="200" maxDeceleration="10.0"/> <BoundingBox> <Center x="1.5" y="0.0" z="0.9"/> <Dimensions width="2.1" length="4.5" height="1.8"/> </BoundingBox> <Axles> <FrontAxle maxSteering="0.5" wheelDiameter="0.6" trackWidth="1.8" positionX="3.1" positionZ="0.3"/> <RearAxle maxSteering="0.0" wheelDiameter="0.6" trackWidth="1.8" positionX="0.0" positionZ="0.3"/> </Axles> <Properties> <Property name="type" value="simulation"/> </Properties> </Vehicle> </ScenarioObject> <ScenarioObject name="pedestrian_close_to_standing_7987"> <Pedestrian model="walker.pedestrian.0001" mass="80" name="walker.pedestrian.0001" pedestrianCategory="pedestrian"> <ParameterDeclarations/> <BoundingBox> <Center x="1.5" y="0.0" z="0.9"/> <Dimensions width="2" length="2" height="2"/> </BoundingBox> <Properties> <Property name="type" value="simulation"/> </Properties> </Pedestrian> </ScenarioObject> <ScenarioObject name="pedestrian_w_transform_7988"> <Pedestrian model="walker.pedestrian.0001" mass="80" name="walker.pedestrian.0001" pedestrianCategory="pedestrian"> <ParameterDeclarations/> <BoundingBox> <Center x="1.5" y="0.0" z="0.9"/> <Dimensions width="2" length="2" height="2"/> </BoundingBox> <Properties> <Property name="type" value="simulation"/> </Properties> </Pedestrian> </ScenarioObject> <ScenarioObject name="pedestrian_close_to_standing_7989"> <Pedestrian model="walker.pedestrian.0001" mass="80" name="walker.pedestrian.0001" pedestrianCategory="pedestrian"> <ParameterDeclarations/> <BoundingBox> <Center x="1.5" y="0.0" z="0.9"/> <Dimensions width="2" length="2" height="2"/> </BoundingBox> <Properties> <Property name="type" value="simulation"/> </Properties> </Pedestrian> </ScenarioObject> <ScenarioObject name="pedestrian_w_transform_7990"> <Pedestrian model="walker.pedestrian.0001" mass="80" name="walker.pedestrian.0001" pedestrianCategory="pedestrian"> <ParameterDeclarations/> <BoundingBox> <Center x="1.5" y="0.0" z="0.9"/> <Dimensions width="2" length="2" height="2"/> </BoundingBox> <Properties> <Property name="type" value="simulation"/> </Properties> </Pedestrian> </ScenarioObject> <ScenarioObject name="pedestrian_w_transform_7992"> <Pedestrian model="walker.pedestrian.0001" mass="80" name="walker.pedestrian.0001" pedestrianCategory="pedestrian"> <ParameterDeclarations/> <BoundingBox> <Center x="1.5" y="0.0" z="0.9"/> <Dimensions width="2" length="2" height="2"/> </BoundingBox> <Properties> <Property name="type" value="simulation"/> </Properties> </Pedestrian> </ScenarioObject> <ScenarioObject name="pedestrian_w_transform_7993"> <Pedestrian model="walker.pedestrian.0001" mass="80" name="walker.pedestrian.0001" pedestrianCategory="pedestrian"> <ParameterDeclarations/> <BoundingBox> <Center x="1.5" y="0.0" z="0.9"/> <Dimensions width="2" length="2" height="2"/> </BoundingBox> <Properties> <Property name="type" value="simulation"/> </Properties> </Pedestrian> </ScenarioObject> <ScenarioObject name="pedestrian_close_to_standing_7994"> <Pedestrian model="walker.pedestrian.0001" mass="80" name="walker.pedestrian.0001" pedestrianCategory="pedestrian"> <ParameterDeclarations/> <BoundingBox> <Center x="1.5" y="0.0" z="0.9"/> <Dimensions width="2" length="2" height="2"/> </BoundingBox> <Properties> <Property name="type" value="simulation"/> </Properties> </Pedestrian> </ScenarioObject> <ScenarioObject name="pedestrian_w_transform_7995"> <Pedestrian model="walker.pedestrian.0001" mass="80" name="walker.pedestrian.0001" pedestrianCategory="pedestrian"> <ParameterDeclarations/> <BoundingBox> <Center x="1.5" y="0.0" z="0.9"/> <Dimensions width="2" length="2" height="2"/> </BoundingBox> <Properties> <Property name="type" value="simulation"/> </Properties> </Pedestrian> </ScenarioObject> <ScenarioObject name="pedestrian_close_to_hero_7996"> <Pedestrian model="walker.pedestrian.0001" mass="80" name="walker.pedestrian.0001" pedestrianCategory="pedestrian"> <ParameterDeclarations/> <BoundingBox> <Center x="1.5" y="0.0" z="0.9"/> <Dimensions width="2" length="2" height="2"/> </BoundingBox> <Properties> <Property name="type" value="simulation"/> </Properties> </Pedestrian> </ScenarioObject> <ScenarioObject name="pedestrian_w_transform_7997"> <Pedestrian model="walker.pedestrian.0001" mass="80" name="walker.pedestrian.0001" pedestrianCategory="pedestrian"> <ParameterDeclarations/> <BoundingBox> <Center x="1.5" y="0.0" z="0.9"/> <Dimensions width="2" length="2" height="2"/> </BoundingBox> <Properties> <Property name="type" value="simulation"/> </Properties> </Pedestrian> </ScenarioObject> <ScenarioObject name="pedestrian_close_to_hero_7998"> <Pedestrian model="walker.pedestrian.0001" mass="80" name="walker.pedestrian.0001" pedestrianCategory="pedestrian"> <ParameterDeclarations/> <BoundingBox> <Center x="1.5" y="0.0" z="0.9"/> <Dimensions width="2" length="2" height="2"/> </BoundingBox> <Properties> <Property name="type" value="simulation"/> </Properties> </Pedestrian> </ScenarioObject> <ScenarioObject name="pedestrian_w_transform_7999"> <Pedestrian model="walker.pedestrian.0001" mass="80" name="walker.pedestrian.0001" pedestrianCategory="pedestrian"> <ParameterDeclarations/> <BoundingBox> <Center x="1.5" y="0.0" z="0.9"/> <Dimensions width="2" length="2" height="2"/> </BoundingBox> <Properties> <Property name="type" value="simulation"/> </Properties> </Pedestrian> </ScenarioObject> <ScenarioObject name="pedestrian_w_transform_8001"> <Pedestrian model="walker.pedestrian.0001" mass="80" name="walker.pedestrian.0001" pedestrianCategory="pedestrian"> <ParameterDeclarations/> <BoundingBox> <Center x="1.5" y="0.0" z="0.9"/> <Dimensions width="2" length="2" height="2"/> </BoundingBox> <Properties> <Property name="type" value="simulation"/> </Properties> </Pedestrian> </ScenarioObject> <ScenarioObject name="pedestrian_w_transform_8002"> <Pedestrian model="walker.pedestrian.0001" mass="80" name="walker.pedestrian.0001" pedestrianCategory="pedestrian"> <ParameterDeclarations/> <BoundingBox> <Center x="1.5" y="0.0" z="0.9"/> <Dimensions width="2" length="2" height="2"/> </BoundingBox> <Properties> <Property name="type" value="simulation"/> </Properties> </Pedestrian> </ScenarioObject> <ScenarioObject name="pedestrian_close_to_adversary_8003"> <Pedestrian model="walker.pedestrian.0001" mass="80" name="walker.pedestrian.0001" pedestrianCategory="pedestrian"> <ParameterDeclarations/> <BoundingBox> <Center x="1.5" y="0.0" z="0.9"/> <Dimensions width="2" length="2" height="2"/> </BoundingBox> <Properties> <Property name="type" value="simulation"/> </Properties> </Pedestrian> </ScenarioObject> <ScenarioObject name="pedestrian_close_to_standing_8004"> <Pedestrian model="walker.pedestrian.0001" mass="80" name="walker.pedestrian.0001" pedestrianCategory="pedestrian"> <ParameterDeclarations/> <BoundingBox> <Center x="1.5" y="0.0" z="0.9"/> <Dimensions width="2" length="2" height="2"/> </BoundingBox> <Properties> <Property name="type" value="simulation"/> </Properties> </Pedestrian> </ScenarioObject> <ScenarioObject name="pedestrian_w_transform_8006"> <Pedestrian model="walker.pedestrian.0001" mass="80" name="walker.pedestrian.0001" pedestrianCategory="pedestrian"> <ParameterDeclarations/> <BoundingBox> <Center x="1.5" y="0.0" z="0.9"/> <Dimensions width="2" length="2" height="2"/> </BoundingBox> <Properties> <Property name="type" value="simulation"/> </Properties> </Pedestrian> </ScenarioObject> <ScenarioObject name="pedestrian_close_to_standing_8007"> <Pedestrian model="walker.pedestrian.0001" mass="80" name="walker.pedestrian.0001" pedestrianCategory="pedestrian"> <ParameterDeclarations/> <BoundingBox> <Center x="1.5" y="0.0" z="0.9"/> <Dimensions width="2" length="2" height="2"/> </BoundingBox> <Properties> <Property name="type" value="simulation"/> </Properties> </Pedestrian> </ScenarioObject> <ScenarioObject name="pedestrian_w_transform_8008"> <Pedestrian model="walker.pedestrian.0001" mass="80" name="walker.pedestrian.0001" pedestrianCategory="pedestrian"> <ParameterDeclarations/> <BoundingBox> <Center x="1.5" y="0.0" z="0.9"/> <Dimensions width="2" length="2" height="2"/> </BoundingBox> <Properties> <Property name="type" value="simulation"/> </Properties> </Pedestrian> </ScenarioObject> <ScenarioObject name="pedestrian_close_to_hero_8010"> <Pedestrian model="walker.pedestrian.0001" mass="80" name="walker.pedestrian.0001" pedestrianCategory="pedestrian"> <ParameterDeclarations/> <BoundingBox> <Center x="1.5" y="0.0" z="0.9"/> <Dimensions width="2" length="2" height="2"/> </BoundingBox> <Properties> <Property name="type" value="simulation"/> </Properties> </Pedestrian> </ScenarioObject> <ScenarioObject name="pedestrian_w_transform_8011"> <Pedestrian model="walker.pedestrian.0001" mass="80" name="walker.pedestrian.0001" pedestrianCategory="pedestrian"> <ParameterDeclarations/> <BoundingBox> <Center x="1.5" y="0.0" z="0.9"/> <Dimensions width="2" length="2" height="2"/> </BoundingBox> <Properties> <Property name="type" value="simulation"/> </Properties> </Pedestrian> </ScenarioObject> <ScenarioObject name="pedestrian_w_transform_8012"> <Pedestrian model="walker.pedestrian.0001" mass="80" name="walker.pedestrian.0001" pedestrianCategory="pedestrian"> <ParameterDeclarations/> <BoundingBox> <Center x="1.5" y="0.0" z="0.9"/> <Dimensions width="2" length="2" height="2"/> </BoundingBox> <Properties> <Property name="type" value="simulation"/> </Properties> </Pedestrian> </ScenarioObject> <ScenarioObject name="pedestrian_w_transform_8014"> <Pedestrian model="walker.pedestrian.0001" mass="80" name="walker.pedestrian.0001" pedestrianCategory="pedestrian"> <ParameterDeclarations/> <BoundingBox> <Center x="1.5" y="0.0" z="0.9"/> <Dimensions width="2" length="2" height="2"/> </BoundingBox> <Properties> <Property name="type" value="simulation"/> </Properties> </Pedestrian> </ScenarioObject> </Entities> <Storyboard> <Init> <Actions> <GlobalAction> <EnvironmentAction> <Environment name="Environment1"> <TimeOfDay animation="false" dateTime="2019-06-25T12:00:00"/> <Weather cloudState="free"> <Sun intensity="0.85" azimuth="0" elevation="1.31"/> <Fog visualRange="100000.0"/> <Precipitation precipitationType="dry" intensity="0.0"/> </Weather> <RoadCondition frictionScaleFactor="1.0"/> </Environment> </EnvironmentAction> </GlobalAction> <Private entityRef="hero"> <PrivateAction> <TeleportAction> <Position> <WorldPosition x="-9.4" y="-152.8" z="0.5" h="1.57079632679"/> </Position> </TeleportAction> </PrivateAction> <PrivateAction> <ControllerAction> <AssignControllerAction> <Controller name="HeroAgent"> <Properties> <Property name="module" value="external_control"/> </Properties> </Controller> </AssignControllerAction> <OverrideControllerValueAction> <Throttle value="0" active="false"/> <Brake value="0" active="false"/> <Clutch value="0" active="false"/> <ParkingBrake value="0" active="false"/> <SteeringWheel value="0" active="false"/> <Gear number="0" active="false"/> </OverrideControllerValueAction> </ControllerAction> </PrivateAction> </Private> <Private entityRef="adversary"> <PrivateAction> <TeleportAction> <Position> <WorldPosition x="-9.4" y="-71.0" z="0.5" h="1.57079632679"/> </Position> </TeleportAction> </PrivateAction> </Private> <Private entityRef="standing"> <PrivateAction> <TeleportAction> <Position> <WorldPosition x="-8.2" y="29.2" z="0.5" h="1.57079632679"/> </Position> </TeleportAction> </PrivateAction> </Private> <Private entityRef="pedestrian_close_to_standing_7987"> <PrivateAction> <TeleportAction> <Position> <WorldPosition x="-0.938453197479248" y="37.59816360473633" z="0.0030257797334343195"/> </Position> </TeleportAction> </PrivateAction> </Private> <Private entityRef="pedestrian_w_transform_7988"> <PrivateAction> <TeleportAction> <Position> <WorldPosition x="94.66515350341797" y="-44.21315002441406" z="0.5"/> </Position> </TeleportAction> </PrivateAction> </Private> <Private entityRef="pedestrian_close_to_standing_7989"> <PrivateAction> <TeleportAction> <Position> <WorldPosition x="-8.599411010742188" y="38.22566223144531" z="0.0030508802738040686"/> </Position> </TeleportAction> </PrivateAction> </Private> <Private entityRef="pedestrian_w_transform_7990"> <PrivateAction> <TeleportAction> <Position> <WorldPosition x="45.931339263916016" y="96.90396881103516" z="0.5"/> </Position> </TeleportAction> </PrivateAction> </Private> <Private entityRef="pedestrian_w_transform_7992"> <PrivateAction> <TeleportAction> <Position> <WorldPosition x="-96.44129180908203" y="-65.56558990478516" z="0.5"/> </Position> </TeleportAction> </PrivateAction> </Private> <Private entityRef="pedestrian_w_transform_7993"> <PrivateAction> <TeleportAction> <Position> <WorldPosition x="-2.5057897567749023" y="-76.17211151123047" z="0.5"/> </Position> </TeleportAction> </PrivateAction> </Private> <Private entityRef="pedestrian_close_to_standing_7994"> <PrivateAction> <TeleportAction> <Position> <WorldPosition x="0.9201733469963074" y="35.678165435791016" z="0.0030686568934470415"/> </Position> </TeleportAction> </PrivateAction> </Private> <Private entityRef="pedestrian_w_transform_7995"> <PrivateAction> <TeleportAction> <Position> <WorldPosition x="77.90992736816406" y="84.02161407470703" z="0.5"/> </Position> </TeleportAction> </PrivateAction> </Private> <Private entityRef="pedestrian_close_to_hero_7996"> <PrivateAction> <TeleportAction> <Position> <WorldPosition x="-15.100004196166992" y="-156.8885040283203" z="0.0014286803780123591"/> </Position> </TeleportAction> </PrivateAction> </Private> <Private entityRef="pedestrian_w_transform_7997"> <PrivateAction> <TeleportAction> <Position> <WorldPosition x="52.61909103393555" y="49.36585235595703" z="0.5"/> </Position> </TeleportAction> </PrivateAction> </Private> <Private entityRef="pedestrian_close_to_hero_7998"> <PrivateAction> <TeleportAction> <Position> <WorldPosition x="-12.586487770080566" y="-144.83502197265625" z="0.0014286803780123591"/> </Position> </TeleportAction> </PrivateAction> </Private> <Private entityRef="pedestrian_w_transform_7999"> <PrivateAction> <TeleportAction> <Position> <WorldPosition x="-84.83682250976562" y="-78.99566650390625" z="0.5"/> </Position> </TeleportAction> </PrivateAction> </Private> <Private entityRef="pedestrian_w_transform_8001"> <PrivateAction> <TeleportAction> <Position> <WorldPosition x="-13.842013359069824" y="60.817283630371094" z="0.5"/> </Position> </TeleportAction> </PrivateAction> </Private> <Private entityRef="pedestrian_w_transform_8002"> <PrivateAction> <TeleportAction> <Position> <WorldPosition x="-24.32396697998047" y="80.58362579345703" z="0.5"/> </Position> </TeleportAction> </PrivateAction> </Private> <Private entityRef="pedestrian_close_to_adversary_8003"> <PrivateAction> <TeleportAction> <Position> <WorldPosition x="-13.230597496032715" y="-62.65342712402344" z="0.03381538391113281"/> </Position> </TeleportAction> </PrivateAction> </Private> <Private entityRef="pedestrian_close_to_standing_8004"> <PrivateAction> <TeleportAction> <Position> <WorldPosition x="-14.523859977722168" y="34.022727966308594" z="0.0030991744715720415"/> </Position> </TeleportAction> </PrivateAction> </Private> <Private entityRef="pedestrian_w_transform_8006"> <PrivateAction> <TeleportAction> <Position> <WorldPosition x="-3.2501394748687744" y="-35.16670608520508" z="0.5"/> </Position> </TeleportAction> </PrivateAction> </Private> <Private entityRef="pedestrian_close_to_standing_8007"> <PrivateAction> <TeleportAction> <Position> <WorldPosition x="-16.231021881103516" y="35.05595016479492" z="0.003092651255428791"/> </Position> </TeleportAction> </PrivateAction> </Private> <Private entityRef="pedestrian_w_transform_8008"> <PrivateAction> <TeleportAction> <Position> <WorldPosition x="12.026050567626953" y="-6.653732776641846" z="0.5"/> </Position> </TeleportAction> </PrivateAction> </Private> <Private entityRef="pedestrian_close_to_hero_8010"> <PrivateAction> <TeleportAction> <Position> <WorldPosition x="8.865421295166016" y="-144.2639617919922" z="0.0014286803780123591"/> </Position> </TeleportAction> </PrivateAction> </Private> <Private entityRef="pedestrian_w_transform_8011"> <PrivateAction> <TeleportAction> <Position> <WorldPosition x="-73.72342681884766" y="48.091922760009766" z="0.5"/> </Position> </TeleportAction> </PrivateAction> </Private> <Private entityRef="pedestrian_w_transform_8012"> <PrivateAction> <TeleportAction> <Position> <WorldPosition x="93.50579833984375" y="-44.26014709472656" z="0.5"/> </Position> </TeleportAction> </PrivateAction> </Private> <Private entityRef="pedestrian_w_transform_8014"> <PrivateAction> <TeleportAction> <Position> <WorldPosition x="-24.655048370361328" y="-20.615514755249023" z="0.5"/> </Position> </TeleportAction> </PrivateAction> </Private> </Actions> </Init> <Story name="MyStory"> <Act name="Behavior"> <ManeuverGroup maximumExecutionCount="1" name="ManeuverSequence"> <Actors selectTriggeringEntities="false"> <EntityRef entityRef="adversary"/> </Actors> <Maneuver name="LaneChangeSimpleManeuver"> <Event name="AdversaryAccelerates" priority="overwrite"> <Action name="AdversaryAccelerates"> <PrivateAction> <LongitudinalAction> <SpeedAction> <SpeedActionDynamics dynamicsShape="step" value="50" dynamicsDimension="distance"/> <SpeedActionTarget> <AbsoluteTargetSpeed value="5.0"/> </SpeedActionTarget> </SpeedAction> </LongitudinalAction> </PrivateAction> </Action> <StartTrigger> <ConditionGroup> <Condition name="StartCondition" delay="0" conditionEdge="rising"> <ByEntityCondition> <TriggeringEntities triggeringEntitiesRule="any"> <EntityRef entityRef="hero"/> </TriggeringEntities> <EntityCondition> <RelativeDistanceCondition entityRef="adversary" relativeDistanceType="cartesianDistance" value="40.0" freespace="false" rule="lessThan"/> </EntityCondition> </ByEntityCondition> </Condition> </ConditionGroup> </StartTrigger> </Event> <Event name="AdversaryChangesLane" priority="overwrite"> <Action name="AdversaryChangesLane"> <PrivateAction> <LateralAction> <LaneChangeAction> <LaneChangeActionDynamics dynamicsShape="linear" value="25" dynamicsDimension="distance"/> <LaneChangeTarget> <RelativeTargetLane entityRef="adversary" value="-1"/> </LaneChangeTarget> </LaneChangeAction> </LateralAction> </PrivateAction> </Action> <StartTrigger> <ConditionGroup> <Condition name="AfterAdversaryAccelerates" delay="0" conditionEdge="rising"> <ByValueCondition> <StoryboardElementStateCondition storyboardElementType="action" storyboardElementRef="AdversaryAccelerates" state="completeState"/> </ByValueCondition> </Condition> </ConditionGroup> </StartTrigger> </Event> </Maneuver> </ManeuverGroup> <StartTrigger> <ConditionGroup> <Condition name="OverallStartCondition" delay="0" conditionEdge="rising"> <ByEntityCondition> <TriggeringEntities triggeringEntitiesRule="any"> <EntityRef entityRef="hero"/> </TriggeringEntities> <EntityCondition> <TraveledDistanceCondition value="1.0"/> </EntityCondition> </ByEntityCondition> </Condition> <Condition name="StartTime" delay="0" conditionEdge="rising"> <ByValueCondition> <SimulationTimeCondition value="0" rule="equalTo"/> </ByValueCondition> </Condition> </ConditionGroup> </StartTrigger> <StopTrigger> <ConditionGroup> <Condition name="EndCondition" delay="0" conditionEdge="rising"> <ByEntityCondition> <TriggeringEntities triggeringEntitiesRule="any"> <EntityRef entityRef="hero"/> </TriggeringEntities> <EntityCondition> <TraveledDistanceCondition value="200.0"/> </EntityCondition> </ByEntityCondition> </Condition> </ConditionGroup> </StopTrigger> </Act> </Story> <StopTrigger> <ConditionGroup> <Condition name="criteria_RunningStopTest" delay="0" conditionEdge="rising"> <ByValueCondition> <ParameterCondition parameterRef="" value="" rule="lessThan"/> </ByValueCondition> </Condition> <Condition name="criteria_RunningRedLightTest" delay="0" conditionEdge="rising"> <ByValueCondition> <ParameterCondition parameterRef="" value="" rule="lessThan"/> </ByValueCondition> </Condition> <Condition name="criteria_WrongLaneTest" delay="0" conditionEdge="rising"> <ByValueCondition> <ParameterCondition parameterRef="" value="" rule="lessThan"/> </ByValueCondition> </Condition> <Condition name="criteria_OnSidewalkTest" delay="0" conditionEdge="rising"> <ByValueCondition> <ParameterCondition parameterRef="" value="" rule="lessThan"/> </ByValueCondition> </Condition> <Condition name="criteria_KeepLaneTest" delay="0" conditionEdge="rising"> <ByValueCondition> <ParameterCondition parameterRef="" value="" rule="lessThan"/> </ByValueCondition> </Condition> <Condition name="criteria_CollisionTest" delay="0" conditionEdge="rising"> <ByValueCondition> <ParameterCondition parameterRef="" value="" rule="lessThan"/> </ByValueCondition> </Condition> <Condition name="criteria_DrivenDistanceTest" delay="0" conditionEdge="rising"> <ByValueCondition> <ParameterCondition parameterRef="distance_success" value="100" rule="lessThan"/> </ByValueCondition> </Condition> </ConditionGroup> </StopTrigger> </Storyboard> </OpenSCENARIO> ```
Here is the result: ``` <?xml version="1.0" ?> <OpenSCENARIO> <FileHeader revMajor="1" revMinor="0" date="2020-03-24T12:00:00" description="CARLA:LaneChangeSimple" author=""/> <ParameterDeclarations/> <CatalogLocations/> <RoadNetwork> <LogicFile filepath="Town04"/> <SceneGraphFile filepath=""/> </RoadNetwork> <Entities> <ScenarioObject name="hero"> <Vehicle name="vehicle.tesla.model3" vehicleCategory="car"> <ParameterDeclarations/> <Performance maxSpeed="69.444" maxAcceleration="200" maxDeceleration="10.0"/> <BoundingBox> <Center x="1.5" y="0.0" z="0.9"/> <Dimensions width="2.1" length="4.5" height="1.8"/> </BoundingBox> <Axles> <FrontAxle maxSteering="0.5" wheelDiameter="0.6" trackWidth="1.8" positionX="3.1" positionZ="0.3"/> <RearAxle maxSteering="0.0" wheelDiameter="0.6" trackWidth="1.8" positionX="0.0" positionZ="0.3"/> </Axles> <Properties> <Property name="type" value="ego_vehicle"/> </Properties> </Vehicle> </ScenarioObject> <ScenarioObject name="adversary"> <Vehicle name="vehicle.lincoln.mkz_2017" vehicleCategory="car"> <ParameterDeclarations/> <Performance maxSpeed="69.444" maxAcceleration="200" maxDeceleration="10.0"/> <BoundingBox> <Center x="1.5" y="0.0" z="0.9"/> <Dimensions width="2.1" length="4.5" height="1.8"/> </BoundingBox> <Axles> <FrontAxle maxSteering="0.5" wheelDiameter="0.6" trackWidth="1.8" positionX="3.1" positionZ="0.3"/> <RearAxle maxSteering="0.0" wheelDiameter="0.6" trackWidth="1.8" positionX="0.0" positionZ="0.3"/> </Axles> <Properties> <Property name="type" value="simulation"/> </Properties> </Vehicle> </ScenarioObject> <ScenarioObject name="standing"> <Vehicle name="vehicle.volkswagen.t2" vehicleCategory="car"> <ParameterDeclarations/> <Performance maxSpeed="69.444" maxAcceleration="200" maxDeceleration="10.0"/> <BoundingBox> <Center x="1.5" y="0.0" z="0.9"/> <Dimensions width="2.1" length="4.5" height="1.8"/> </BoundingBox> <Axles> <FrontAxle maxSteering="0.5" wheelDiameter="0.6" trackWidth="1.8" positionX="3.1" positionZ="0.3"/> <RearAxle maxSteering="0.0" wheelDiameter="0.6" trackWidth="1.8" positionX="0.0" positionZ="0.3"/> </Axles> <Properties> <Property name="type" value="simulation"/> </Properties> </Vehicle> </ScenarioObject> <ScenarioObject name="pedestrian_close_to_standing_7987"> <Pedestrian model="walker.pedestrian.0001" mass="80" name="walker.pedestrian.0001" pedestrianCategory="pedestrian"> <ParameterDeclarations/> <BoundingBox> <Center x="1.5" y="0.0" z="0.9"/> <Dimensions width="2" length="2" height="2"/> </BoundingBox> <Properties> <Property name="type" value="simulation"/> </Properties> </Pedestrian> </ScenarioObject> <ScenarioObject name="pedestrian_w_transform_7988"> <Pedestrian model="walker.pedestrian.0001" mass="80" name="walker.pedestrian.0001" pedestrianCategory="pedestrian"> <ParameterDeclarations/> <BoundingBox> <Center x="1.5" y="0.0" z="0.9"/> <Dimensions width="2" length="2" height="2"/> </BoundingBox> <Properties> <Property name="type" value="simulation"/> </Properties> </Pedestrian> </ScenarioObject> <ScenarioObject name="pedestrian_close_to_standing_7989"> <Pedestrian model="walker.pedestrian.0001" mass="80" name="walker.pedestrian.0001" pedestrianCategory="pedestrian"> <ParameterDeclarations/> <BoundingBox> <Center x="1.5" y="0.0" z="0.9"/> <Dimensions width="2" length="2" height="2"/> </BoundingBox> <Properties> <Property name="type" value="simulation"/> </Properties> </Pedestrian> </ScenarioObject> <ScenarioObject name="pedestrian_w_transform_7990"> <Pedestrian model="walker.pedestrian.0001" mass="80" name="walker.pedestrian.0001" pedestrianCategory="pedestrian"> <ParameterDeclarations/> <BoundingBox> <Center x="1.5" y="0.0" z="0.9"/> <Dimensions width="2" length="2" height="2"/> </BoundingBox> <Properties> <Property name="type" value="simulation"/> </Properties> </Pedestrian> </ScenarioObject> <ScenarioObject name="pedestrian_w_transform_7992"> <Pedestrian model="walker.pedestrian.0001" mass="80" name="walker.pedestrian.0001" pedestrianCategory="pedestrian"> <ParameterDeclarations/> <BoundingBox> <Center x="1.5" y="0.0" z="0.9"/> <Dimensions width="2" length="2" height="2"/> </BoundingBox> <Properties> <Property name="type" value="simulation"/> </Properties> </Pedestrian> </ScenarioObject> <ScenarioObject name="pedestrian_w_transform_7993"> <Pedestrian model="walker.pedestrian.0001" mass="80" name="walker.pedestrian.0001" pedestrianCategory="pedestrian"> <ParameterDeclarations/> <BoundingBox> <Center x="1.5" y="0.0" z="0.9"/> <Dimensions width="2" length="2" height="2"/> </BoundingBox> <Properties> <Property name="type" value="simulation"/> </Properties> </Pedestrian> </ScenarioObject> <ScenarioObject name="pedestrian_close_to_standing_7994"> <Pedestrian model="walker.pedestrian.0001" mass="80" name="walker.pedestrian.0001" pedestrianCategory="pedestrian"> <ParameterDeclarations/> <BoundingBox> <Center x="1.5" y="0.0" z="0.9"/> <Dimensions width="2" length="2" height="2"/> </BoundingBox> <Properties> <Property name="type" value="simulation"/> </Properties> </Pedestrian> </ScenarioObject> <ScenarioObject name="pedestrian_w_transform_7995"> <Pedestrian model="walker.pedestrian.0001" mass="80" name="walker.pedestrian.0001" pedestrianCategory="pedestrian"> <ParameterDeclarations/> <BoundingBox> <Center x="1.5" y="0.0" z="0.9"/> <Dimensions width="2" length="2" height="2"/> </BoundingBox> <Properties> <Property name="type" value="simulation"/> </Properties> </Pedestrian> </ScenarioObject> <ScenarioObject name="pedestrian_w_transform_7997"> <Pedestrian model="walker.pedestrian.0001" mass="80" name="walker.pedestrian.0001" pedestrianCategory="pedestrian"> <ParameterDeclarations/> <BoundingBox> <Center x="1.5" y="0.0" z="0.9"/> <Dimensions width="2" length="2" height="2"/> </BoundingBox> <Properties> <Property name="type" value="simulation"/> </Properties> </Pedestrian> </ScenarioObject> <ScenarioObject name="pedestrian_close_to_hero_7998"> <Pedestrian model="walker.pedestrian.0001" mass="80" name="walker.pedestrian.0001" pedestrianCategory="pedestrian"> <ParameterDeclarations/> <BoundingBox> <Center x="1.5" y="0.0" z="0.9"/> <Dimensions width="2" length="2" height="2"/> </BoundingBox> <Properties> <Property name="type" value="simulation"/> </Properties> </Pedestrian> </ScenarioObject> <ScenarioObject name="pedestrian_w_transform_7999"> <Pedestrian model="walker.pedestrian.0001" mass="80" name="walker.pedestrian.0001" pedestrianCategory="pedestrian"> <ParameterDeclarations/> <BoundingBox> <Center x="1.5" y="0.0" z="0.9"/> <Dimensions width="2" length="2" height="2"/> </BoundingBox> <Properties> <Property name="type" value="simulation"/> </Properties> </Pedestrian> </ScenarioObject> <ScenarioObject name="pedestrian_w_transform_8001"> <Pedestrian model="walker.pedestrian.0001" mass="80" name="walker.pedestrian.0001" pedestrianCategory="pedestrian"> <ParameterDeclarations/> <BoundingBox> <Center x="1.5" y="0.0" z="0.9"/> <Dimensions width="2" length="2" height="2"/> </BoundingBox> <Properties> <Property name="type" value="simulation"/> </Properties> </Pedestrian> </ScenarioObject> <ScenarioObject name="pedestrian_w_transform_8002"> <Pedestrian model="walker.pedestrian.0001" mass="80" name="walker.pedestrian.0001" pedestrianCategory="pedestrian"> <ParameterDeclarations/> <BoundingBox> <Center x="1.5" y="0.0" z="0.9"/> <Dimensions width="2" length="2" height="2"/> </BoundingBox> <Properties> <Property name="type" value="simulation"/> </Properties> </Pedestrian> </ScenarioObject> <ScenarioObject name="pedestrian_close_to_adversary_8003"> <Pedestrian model="walker.pedestrian.0001" mass="80" name="walker.pedestrian.0001" pedestrianCategory="pedestrian"> <ParameterDeclarations/> <BoundingBox> <Center x="1.5" y="0.0" z="0.9"/> <Dimensions width="2" length="2" height="2"/> </BoundingBox> <Properties> <Property name="type" value="simulation"/> </Properties> </Pedestrian> </ScenarioObject> <ScenarioObject name="pedestrian_close_to_standing_8004"> <Pedestrian model="walker.pedestrian.0001" mass="80" name="walker.pedestrian.0001" pedestrianCategory="pedestrian"> <ParameterDeclarations/> <BoundingBox> <Center x="1.5" y="0.0" z="0.9"/> <Dimensions width="2" length="2" height="2"/> </BoundingBox> <Properties> <Property name="type" value="simulation"/> </Properties> </Pedestrian> </ScenarioObject> <ScenarioObject name="pedestrian_w_transform_8006"> <Pedestrian model="walker.pedestrian.0001" mass="80" name="walker.pedestrian.0001" pedestrianCategory="pedestrian"> <ParameterDeclarations/> <BoundingBox> <Center x="1.5" y="0.0" z="0.9"/> <Dimensions width="2" length="2" height="2"/> </BoundingBox> <Properties> <Property name="type" value="simulation"/> </Properties> </Pedestrian> </ScenarioObject> <ScenarioObject name="pedestrian_close_to_standing_8007"> <Pedestrian model="walker.pedestrian.0001" mass="80" name="walker.pedestrian.0001" pedestrianCategory="pedestrian"> <ParameterDeclarations/> <BoundingBox> <Center x="1.5" y="0.0" z="0.9"/> <Dimensions width="2" length="2" height="2"/> </BoundingBox> <Properties> <Property name="type" value="simulation"/> </Properties> </Pedestrian> </ScenarioObject> <ScenarioObject name="pedestrian_w_transform_8008"> <Pedestrian model="walker.pedestrian.0001" mass="80" name="walker.pedestrian.0001" pedestrianCategory="pedestrian"> <ParameterDeclarations/> <BoundingBox> <Center x="1.5" y="0.0" z="0.9"/> <Dimensions width="2" length="2" height="2"/> </BoundingBox> <Properties> <Property name="type" value="simulation"/> </Properties> </Pedestrian> </ScenarioObject> <ScenarioObject name="pedestrian_close_to_hero_8010"> <Pedestrian model="walker.pedestrian.0001" mass="80" name="walker.pedestrian.0001" pedestrianCategory="pedestrian"> <ParameterDeclarations/> <BoundingBox> <Center x="1.5" y="0.0" z="0.9"/> <Dimensions width="2" length="2" height="2"/> </BoundingBox> <Properties> <Property name="type" value="simulation"/> </Properties> </Pedestrian> </ScenarioObject> <ScenarioObject name="pedestrian_w_transform_8011"> <Pedestrian model="walker.pedestrian.0001" mass="80" name="walker.pedestrian.0001" pedestrianCategory="pedestrian"> <ParameterDeclarations/> <BoundingBox> <Center x="1.5" y="0.0" z="0.9"/> <Dimensions width="2" length="2" height="2"/> </BoundingBox> <Properties> <Property name="type" value="simulation"/> </Properties> </Pedestrian> </ScenarioObject> <ScenarioObject name="pedestrian_w_transform_8012"> <Pedestrian model="walker.pedestrian.0001" mass="80" name="walker.pedestrian.0001" pedestrianCategory="pedestrian"> <ParameterDeclarations/> <BoundingBox> <Center x="1.5" y="0.0" z="0.9"/> <Dimensions width="2" length="2" height="2"/> </BoundingBox> <Properties> <Property name="type" value="simulation"/> </Properties> </Pedestrian> </ScenarioObject> <ScenarioObject name="pedestrian_w_transform_8014"> <Pedestrian model="walker.pedestrian.0001" mass="80" name="walker.pedestrian.0001" pedestrianCategory="pedestrian"> <ParameterDeclarations/> <BoundingBox> <Center x="1.5" y="0.0" z="0.9"/> <Dimensions width="2" length="2" height="2"/> </BoundingBox> <Properties> <Property name="type" value="simulation"/> </Properties> </Pedestrian> </ScenarioObject> </Entities> <Storyboard> <Init> <Actions> <GlobalAction> <EnvironmentAction> <Environment name="Environment1"> <TimeOfDay animation="false" dateTime="2019-06-25T12:00:00"/> <Weather cloudState="free"> <Sun intensity="0.85" azimuth="0" elevation="1.31"/> <Fog visualRange="100000.0"/> <Precipitation precipitationType="dry" intensity="0.0"/> </Weather> <RoadCondition frictionScaleFactor="1.0"/> </Environment> </EnvironmentAction> </GlobalAction> <Private entityRef="hero"> <PrivateAction> <TeleportAction> <Position> <WorldPosition x="-9.4" y="-152.8" z="0.5" h="1.57079632679"/> </Position> </TeleportAction> </PrivateAction> <PrivateAction> <ControllerAction> <AssignControllerAction> <Controller name="HeroAgent"> <Properties> <Property name="module" value="external_control"/> </Properties> </Controller> </AssignControllerAction> <OverrideControllerValueAction> <Throttle value="0" active="false"/> <Brake value="0" active="false"/> <Clutch value="0" active="false"/> <ParkingBrake value="0" active="false"/> <SteeringWheel value="0" active="false"/> <Gear number="0" active="false"/> </OverrideControllerValueAction> </ControllerAction> </PrivateAction> </Private> <Private entityRef="adversary"> <PrivateAction> <TeleportAction> <Position> <WorldPosition x="-9.4" y="-71.0" z="0.5" h="1.57079632679"/> </Position> </TeleportAction> </PrivateAction> </Private> <Private entityRef="standing"> <PrivateAction> <TeleportAction> <Position> <WorldPosition x="-8.2" y="29.2" z="0.5" h="1.57079632679"/> </Position> </TeleportAction> </PrivateAction> </Private> <Private entityRef="pedestrian_close_to_standing_7987"> <PrivateAction> <TeleportAction> <Position> <WorldPosition x="-0.938453197479248" y="37.59816360473633" z="0.0030257797334343195"/> </Position> </TeleportAction> </PrivateAction> </Private> <Private entityRef="pedestrian_w_transform_7988"> <PrivateAction> <TeleportAction> <Position> <WorldPosition x="94.66515350341797" y="-44.21315002441406" z="0.5"/> </Position> </TeleportAction> </PrivateAction> </Private> <Private entityRef="pedestrian_close_to_standing_7989"> <PrivateAction> <TeleportAction> <Position> <WorldPosition x="-8.599411010742188" y="38.22566223144531" z="0.0030508802738040686"/> </Position> </TeleportAction> </PrivateAction> </Private> <Private entityRef="pedestrian_w_transform_7990"> <PrivateAction> <TeleportAction> <Position> <WorldPosition x="45.931339263916016" y="96.90396881103516" z="0.5"/> </Position> </TeleportAction> </PrivateAction> </Private> <Private entityRef="pedestrian_w_transform_7992"> <PrivateAction> <TeleportAction> <Position> <WorldPosition x="-96.44129180908203" y="-65.56558990478516" z="0.5"/> </Position> </TeleportAction> </PrivateAction> </Private> <Private entityRef="pedestrian_w_transform_7993"> <PrivateAction> <TeleportAction> <Position> <WorldPosition x="-2.5057897567749023" y="-76.17211151123047" z="0.5"/> </Position> </TeleportAction> </PrivateAction> </Private> <Private entityRef="pedestrian_close_to_standing_7994"> <PrivateAction> <TeleportAction> <Position> <WorldPosition x="0.9201733469963074" y="35.678165435791016" z="0.0030686568934470415"/> </Position> </TeleportAction> </PrivateAction> </Private> <Private entityRef="pedestrian_w_transform_7995"> <PrivateAction> <TeleportAction> <Position> <WorldPosition x="77.90992736816406" y="84.02161407470703" z="0.5"/> </Position> </TeleportAction> </PrivateAction> </Private> <Private entityRef="pedestrian_w_transform_7997"> <PrivateAction> <TeleportAction> <Position> <WorldPosition x="52.61909103393555" y="49.36585235595703" z="0.5"/> </Position> </TeleportAction> </PrivateAction> </Private> <Private entityRef="pedestrian_close_to_hero_7998"> <PrivateAction> <TeleportAction> <Position> <WorldPosition x="-12.586487770080566" y="-144.83502197265625" z="0.0014286803780123591"/> </Position> </TeleportAction> </PrivateAction> </Private> <Private entityRef="pedestrian_w_transform_7999"> <PrivateAction> <TeleportAction> <Position> <WorldPosition x="-84.83682250976562" y="-78.99566650390625" z="0.5"/> </Position> </TeleportAction> </PrivateAction> </Private> <Private entityRef="pedestrian_w_transform_8001"> <PrivateAction> <TeleportAction> <Position> <WorldPosition x="-13.842013359069824" y="60.817283630371094" z="0.5"/> </Position> </TeleportAction> </PrivateAction> </Private> <Private entityRef="pedestrian_w_transform_8002"> <PrivateAction> <TeleportAction> <Position> <WorldPosition x="-24.32396697998047" y="80.58362579345703" z="0.5"/> </Position> </TeleportAction> </PrivateAction> </Private> <Private entityRef="pedestrian_close_to_adversary_8003"> <PrivateAction> <TeleportAction> <Position> <WorldPosition x="-13.230597496032715" y="-62.65342712402344" z="0.03381538391113281"/> </Position> </TeleportAction> </PrivateAction> </Private> <Private entityRef="pedestrian_close_to_standing_8004"> <PrivateAction> <TeleportAction> <Position> <WorldPosition x="-14.523859977722168" y="34.022727966308594" z="0.0030991744715720415"/> </Position> </TeleportAction> </PrivateAction> </Private> <Private entityRef="pedestrian_w_transform_8006"> <PrivateAction> <TeleportAction> <Position> <WorldPosition x="-3.2501394748687744" y="-35.16670608520508" z="0.5"/> </Position> </TeleportAction> </PrivateAction> </Private> <Private entityRef="pedestrian_close_to_standing_8007"> <PrivateAction> <TeleportAction> <Position> <WorldPosition x="-16.231021881103516" y="35.05595016479492" z="0.003092651255428791"/> </Position> </TeleportAction> </PrivateAction> </Private> <Private entityRef="pedestrian_w_transform_8008"> <PrivateAction> <TeleportAction> <Position> <WorldPosition x="12.026050567626953" y="-6.653732776641846" z="0.5"/> </Position> </TeleportAction> </PrivateAction> </Private> <Private entityRef="pedestrian_close_to_hero_8010"> <PrivateAction> <TeleportAction> <Position> <WorldPosition x="8.865421295166016" y="-144.2639617919922" z="0.0014286803780123591"/> </Position> </TeleportAction> </PrivateAction> </Private> <Private entityRef="pedestrian_w_transform_8011"> <PrivateAction> <TeleportAction> <Position> <WorldPosition x="-73.72342681884766" y="48.091922760009766" z="0.5"/> </Position> </TeleportAction> </PrivateAction> </Private> <Private entityRef="pedestrian_w_transform_8012"> <PrivateAction> <TeleportAction> <Position> <WorldPosition x="93.50579833984375" y="-44.26014709472656" z="0.5"/> </Position> </TeleportAction> </PrivateAction> </Private> <Private entityRef="pedestrian_w_transform_8014"> <PrivateAction> <TeleportAction> <Position> <WorldPosition x="-24.655048370361328" y="-20.615514755249023" z="0.5"/> </Position> </TeleportAction> </PrivateAction> </Private> </Actions> </Init> <Story name="MyStory"> <Act name="Behavior"> <ManeuverGroup maximumExecutionCount="1" name="ManeuverSequence"> <Actors selectTriggeringEntities="false"> <EntityRef entityRef="adversary"/> </Actors> <Maneuver name="LaneChangeSimpleManeuver"> <Event name="AdversaryAccelerates" priority="overwrite"> <Action name="AdversaryAccelerates"> <PrivateAction> <LongitudinalAction> <SpeedAction> <SpeedActionDynamics dynamicsShape="step" value="50" dynamicsDimension="distance"/> <SpeedActionTarget> <AbsoluteTargetSpeed value="5.0"/> </SpeedActionTarget> </SpeedAction> </LongitudinalAction> </PrivateAction> </Action> <StartTrigger> <ConditionGroup> <Condition name="StartCondition" delay="0" conditionEdge="rising"> <ByEntityCondition> <TriggeringEntities triggeringEntitiesRule="any"> <EntityRef entityRef="hero"/> </TriggeringEntities> <EntityCondition> <RelativeDistanceCondition entityRef="adversary" relativeDistanceType="cartesianDistance" value="40.0" freespace="false" rule="lessThan"/> </EntityCondition> </ByEntityCondition> </Condition> </ConditionGroup> </StartTrigger> </Event> <Event name="AdversaryChangesLane" priority="overwrite"> <Action name="AdversaryChangesLane"> <PrivateAction> <LateralAction> <LaneChangeAction> <LaneChangeActionDynamics dynamicsShape="linear" value="25" dynamicsDimension="distance"/> <LaneChangeTarget> <RelativeTargetLane entityRef="adversary" value="-1"/> </LaneChangeTarget> </LaneChangeAction> </LateralAction> </PrivateAction> </Action> <StartTrigger> <ConditionGroup> <Condition name="AfterAdversaryAccelerates" delay="0" conditionEdge="rising"> <ByValueCondition> <StoryboardElementStateCondition storyboardElementType="action" storyboardElementRef="AdversaryAccelerates" state="completeState"/> </ByValueCondition> </Condition> </ConditionGroup> </StartTrigger> </Event> </Maneuver> </ManeuverGroup> <StartTrigger> <ConditionGroup> <Condition name="OverallStartCondition" delay="0" conditionEdge="rising"> <ByEntityCondition> <TriggeringEntities triggeringEntitiesRule="any"> <EntityRef entityRef="hero"/> </TriggeringEntities> <EntityCondition> <TraveledDistanceCondition value="1.0"/> </EntityCondition> </ByEntityCondition> </Condition> <Condition name="StartTime" delay="0" conditionEdge="rising"> <ByValueCondition> <SimulationTimeCondition value="0" rule="equalTo"/> </ByValueCondition> </Condition> </ConditionGroup> </StartTrigger> <StopTrigger> <ConditionGroup> <Condition name="EndCondition" delay="0" conditionEdge="rising"> <ByEntityCondition> <TriggeringEntities triggeringEntitiesRule="any"> <EntityRef entityRef="hero"/> </TriggeringEntities> <EntityCondition> <TraveledDistanceCondition value="200.0"/> </EntityCondition> </ByEntityCondition> </Condition> </ConditionGroup> </StopTrigger> </Act> </Story> <StopTrigger> <ConditionGroup> <Condition name="criteria_RunningStopTest" delay="0" conditionEdge="rising"> <ByValueCondition> <ParameterCondition parameterRef="" value="" rule="lessThan"/> </ByValueCondition> </Condition> <Condition name="criteria_RunningRedLightTest" delay="0" conditionEdge="rising"> <ByValueCondition> <ParameterCondition parameterRef="" value="" rule="lessThan"/> </ByValueCondition> </Condition> <Condition name="criteria_WrongLaneTest" delay="0" conditionEdge="rising"> <ByValueCondition> <ParameterCondition parameterRef="" value="" rule="lessThan"/> </ByValueCondition> </Condition> <Condition name="criteria_OnSidewalkTest" delay="0" conditionEdge="rising"> <ByValueCondition> <ParameterCondition parameterRef="" value="" rule="lessThan"/> </ByValueCondition> </Condition> <Condition name="criteria_KeepLaneTest" delay="0" conditionEdge="rising"> <ByValueCondition> <ParameterCondition parameterRef="" value="" rule="lessThan"/> </ByValueCondition> </Condition> <Condition name="criteria_CollisionTest" delay="0" conditionEdge="rising"> <ByValueCondition> <ParameterCondition parameterRef="" value="" rule="lessThan"/> </ByValueCondition> </Condition> <Condition name="criteria_DrivenDistanceTest" delay="0" conditionEdge="rising"> <ByValueCondition> <ParameterCondition parameterRef="distance_success" value="100" rule="lessThan"/> </ByValueCondition> </Condition> </ConditionGroup> </StopTrigger> </Storyboard> </OpenSCENARIO> ```
please add pedestrian close to hero? ``` <?xml version="1.0" ?> <OpenSCENARIO> <FileHeader revMajor="1" revMinor="0" date="2020-03-24T12:00:00" description="CARLA:LaneChangeSimple" author=""/> <ParameterDeclarations/> <CatalogLocations/> <RoadNetwork> <LogicFile filepath="Town04"/> <SceneGraphFile filepath=""/> </RoadNetwork> <Entities> <ScenarioObject name="hero"> <Vehicle name="vehicle.tesla.model3" vehicleCategory="car"> <ParameterDeclarations/> <Performance maxSpeed="69.444" maxAcceleration="200" maxDeceleration="10.0"/> <BoundingBox> <Center x="1.5" y="0.0" z="0.9"/> <Dimensions width="2.1" length="4.5" height="1.8"/> </BoundingBox> <Axles> <FrontAxle maxSteering="0.5" wheelDiameter="0.6" trackWidth="1.8" positionX="3.1" positionZ="0.3"/> <RearAxle maxSteering="0.0" wheelDiameter="0.6" trackWidth="1.8" positionX="0.0" positionZ="0.3"/> </Axles> <Properties> <Property name="type" value="ego_vehicle"/> </Properties> </Vehicle> </ScenarioObject> <ScenarioObject name="adversary"> <Vehicle name="vehicle.lincoln.mkz_2017" vehicleCategory="car"> <ParameterDeclarations/> <Performance maxSpeed="69.444" maxAcceleration="200" maxDeceleration="10.0"/> <BoundingBox> <Center x="1.5" y="0.0" z="0.9"/> <Dimensions width="2.1" length="4.5" height="1.8"/> </BoundingBox> <Axles> <FrontAxle maxSteering="0.5" wheelDiameter="0.6" trackWidth="1.8" positionX="3.1" positionZ="0.3"/> <RearAxle maxSteering="0.0" wheelDiameter="0.6" trackWidth="1.8" positionX="0.0" positionZ="0.3"/> </Axles> <Properties> <Property name="type" value="simulation"/> </Properties> </Vehicle> </ScenarioObject> <ScenarioObject name="standing"> <Vehicle name="vehicle.volkswagen.t2" vehicleCategory="car"> <ParameterDeclarations/> <Performance maxSpeed="69.444" maxAcceleration="200" maxDeceleration="10.0"/> <BoundingBox> <Center x="1.5" y="0.0" z="0.9"/> <Dimensions width="2.1" length="4.5" height="1.8"/> </BoundingBox> <Axles> <FrontAxle maxSteering="0.5" wheelDiameter="0.6" trackWidth="1.8" positionX="3.1" positionZ="0.3"/> <RearAxle maxSteering="0.0" wheelDiameter="0.6" trackWidth="1.8" positionX="0.0" positionZ="0.3"/> </Axles> <Properties> <Property name="type" value="simulation"/> </Properties> </Vehicle> </ScenarioObject> <ScenarioObject name="pedestrian_close_to_adversary_2791"> <Pedestrian model="walker.pedestrian.0001" mass="80" name="walker.pedestrian.0001" pedestrianCategory="pedestrian"> <ParameterDeclarations/> <BoundingBox> <Center x="1.5" y="0.0" z="0.9"/> <Dimensions width="2" length="2" height="2"/> </BoundingBox> <Properties> <Property name="type" value="simulation"/> </Properties> </Pedestrian> </ScenarioObject> <ScenarioObject name="pedestrian_close_to_hero_2792"> <Pedestrian model="walker.pedestrian.0001" mass="80" name="walker.pedestrian.0001" pedestrianCategory="pedestrian"> <ParameterDeclarations/> <BoundingBox> <Center x="1.5" y="0.0" z="0.9"/> <Dimensions width="2" length="2" height="2"/> </BoundingBox> <Properties> <Property name="type" value="simulation"/> </Properties> </Pedestrian> </ScenarioObject> <ScenarioObject name="pedestrian_w_transform_2793"> <Pedestrian model="walker.pedestrian.0001" mass="80" name="walker.pedestrian.0001" pedestrianCategory="pedestrian"> <ParameterDeclarations/> <BoundingBox> <Center x="1.5" y="0.0" z="0.9"/> <Dimensions width="2" length="2" height="2"/> </BoundingBox> <Properties> <Property name="type" value="simulation"/> </Properties> </Pedestrian> </ScenarioObject> <ScenarioObject name="pedestrian_w_transform_2794"> <Pedestrian model="walker.pedestrian.0001" mass="80" name="walker.pedestrian.0001" pedestrianCategory="pedestrian"> <ParameterDeclarations/> <BoundingBox> <Center x="1.5" y="0.0" z="0.9"/> <Dimensions width="2" length="2" height="2"/> </BoundingBox> <Properties> <Property name="type" value="simulation"/> </Properties> </Pedestrian> </ScenarioObject> <ScenarioObject name="pedestrian_close_to_hero_2795"> <Pedestrian model="walker.pedestrian.0001" mass="80" name="walker.pedestrian.0001" pedestrianCategory="pedestrian"> <ParameterDeclarations/> <BoundingBox> <Center x="1.5" y="0.0" z="0.9"/> <Dimensions width="2" length="2" height="2"/> </BoundingBox> <Properties> <Property name="type" value="simulation"/> </Properties> </Pedestrian> </ScenarioObject> <ScenarioObject name="pedestrian_close_to_hero_2796"> <Pedestrian model="walker.pedestrian.0001" mass="80" name="walker.pedestrian.0001" pedestrianCategory="pedestrian"> <ParameterDeclarations/> <BoundingBox> <Center x="1.5" y="0.0" z="0.9"/> <Dimensions width="2" length="2" height="2"/> </BoundingBox> <Properties> <Property name="type" value="simulation"/> </Properties> </Pedestrian> </ScenarioObject> <ScenarioObject name="pedestrian_close_to_standing_2797"> <Pedestrian model="walker.pedestrian.0001" mass="80" name="walker.pedestrian.0001" pedestrianCategory="pedestrian"> <ParameterDeclarations/> <BoundingBox> <Center x="1.5" y="0.0" z="0.9"/> <Dimensions width="2" length="2" height="2"/> </BoundingBox> <Properties> <Property name="type" value="simulation"/> </Properties> </Pedestrian> </ScenarioObject> <ScenarioObject name="pedestrian_w_transform_2798"> <Pedestrian model="walker.pedestrian.0001" mass="80" name="walker.pedestrian.0001" pedestrianCategory="pedestrian"> <ParameterDeclarations/> <BoundingBox> <Center x="1.5" y="0.0" z="0.9"/> <Dimensions width="2" length="2" height="2"/> </BoundingBox> <Properties> <Property name="type" value="simulation"/> </Properties> </Pedestrian> </ScenarioObject> <ScenarioObject name="pedestrian_w_transform_2799"> <Pedestrian model="walker.pedestrian.0001" mass="80" name="walker.pedestrian.0001" pedestrianCategory="pedestrian"> <ParameterDeclarations/> <BoundingBox> <Center x="1.5" y="0.0" z="0.9"/> <Dimensions width="2" length="2" height="2"/> </BoundingBox> <Properties> <Property name="type" value="simulation"/> </Properties> </Pedestrian> </ScenarioObject> <ScenarioObject name="pedestrian_w_transform_2800"> <Pedestrian model="walker.pedestrian.0001" mass="80" name="walker.pedestrian.0001" pedestrianCategory="pedestrian"> <ParameterDeclarations/> <BoundingBox> <Center x="1.5" y="0.0" z="0.9"/> <Dimensions width="2" length="2" height="2"/> </BoundingBox> <Properties> <Property name="type" value="simulation"/> </Properties> </Pedestrian> </ScenarioObject> <ScenarioObject name="pedestrian_close_to_adversary_2801"> <Pedestrian model="walker.pedestrian.0001" mass="80" name="walker.pedestrian.0001" pedestrianCategory="pedestrian"> <ParameterDeclarations/> <BoundingBox> <Center x="1.5" y="0.0" z="0.9"/> <Dimensions width="2" length="2" height="2"/> </BoundingBox> <Properties> <Property name="type" value="simulation"/> </Properties> </Pedestrian> </ScenarioObject> <ScenarioObject name="pedestrian_w_transform_2802"> <Pedestrian model="walker.pedestrian.0001" mass="80" name="walker.pedestrian.0001" pedestrianCategory="pedestrian"> <ParameterDeclarations/> <BoundingBox> <Center x="1.5" y="0.0" z="0.9"/> <Dimensions width="2" length="2" height="2"/> </BoundingBox> <Properties> <Property name="type" value="simulation"/> </Properties> </Pedestrian> </ScenarioObject> <ScenarioObject name="pedestrian_w_transform_2803"> <Pedestrian model="walker.pedestrian.0001" mass="80" name="walker.pedestrian.0001" pedestrianCategory="pedestrian"> <ParameterDeclarations/> <BoundingBox> <Center x="1.5" y="0.0" z="0.9"/> <Dimensions width="2" length="2" height="2"/> </BoundingBox> <Properties> <Property name="type" value="simulation"/> </Properties> </Pedestrian> </ScenarioObject> <ScenarioObject name="pedestrian_w_transform_2804"> <Pedestrian model="walker.pedestrian.0001" mass="80" name="walker.pedestrian.0001" pedestrianCategory="pedestrian"> <ParameterDeclarations/> <BoundingBox> <Center x="1.5" y="0.0" z="0.9"/> <Dimensions width="2" length="2" height="2"/> </BoundingBox> <Properties> <Property name="type" value="simulation"/> </Properties> </Pedestrian> </ScenarioObject> <ScenarioObject name="pedestrian_close_to_hero_2805"> <Pedestrian model="walker.pedestrian.0001" mass="80" name="walker.pedestrian.0001" pedestrianCategory="pedestrian"> <ParameterDeclarations/> <BoundingBox> <Center x="1.5" y="0.0" z="0.9"/> <Dimensions width="2" length="2" height="2"/> </BoundingBox> <Properties> <Property name="type" value="simulation"/> </Properties> </Pedestrian> </ScenarioObject> </Entities> <Storyboard> <Init> <Actions> <GlobalAction> <EnvironmentAction> <Environment name="Environment1"> <TimeOfDay animation="false" dateTime="2019-06-25T12:00:00"/> <Weather cloudState="free"> <Sun intensity="0.85" azimuth="0" elevation="1.31"/> <Fog visualRange="100000.0"/> <Precipitation precipitationType="dry" intensity="0.0"/> </Weather> <RoadCondition frictionScaleFactor="1.0"/> </Environment> </EnvironmentAction> </GlobalAction> <Private entityRef="hero"> <PrivateAction> <TeleportAction> <Position> <WorldPosition x="-9.4" y="-152.8" z="0.5" h="1.57079632679"/> </Position> </TeleportAction> </PrivateAction> <PrivateAction> <ControllerAction> <AssignControllerAction> <Controller name="HeroAgent"> <Properties> <Property name="module" value="external_control"/> </Properties> </Controller> </AssignControllerAction> <OverrideControllerValueAction> <Throttle value="0" active="false"/> <Brake value="0" active="false"/> <Clutch value="0" active="false"/> <ParkingBrake value="0" active="false"/> <SteeringWheel value="0" active="false"/> <Gear number="0" active="false"/> </OverrideControllerValueAction> </ControllerAction> </PrivateAction> </Private> <Private entityRef="adversary"> <PrivateAction> <TeleportAction> <Position> <WorldPosition x="-9.4" y="-71.0" z="0.5" h="1.57079632679"/> </Position> </TeleportAction> </PrivateAction> </Private> <Private entityRef="standing"> <PrivateAction> <TeleportAction> <Position> <WorldPosition x="-8.2" y="29.2" z="0.5" h="1.57079632679"/> </Position> </TeleportAction> </PrivateAction> </Private> <Private entityRef="pedestrian_close_to_adversary_2791"> <PrivateAction> <TeleportAction> <Position> <WorldPosition x="-8.004201889038086" y="-69.07671356201172" z="0.03385162353515625"/> </Position> </TeleportAction> </PrivateAction> </Private> <Private entityRef="pedestrian_close_to_hero_2792"> <PrivateAction> <TeleportAction> <Position> <WorldPosition x="-19.21775245666504" y="-156.26168823242188" z="0.0014286803780123591"/> </Position> </TeleportAction> </PrivateAction> </Private> <Private entityRef="pedestrian_w_transform_2793"> <PrivateAction> <TeleportAction> <Position> <WorldPosition x="22.916078567504883" y="-90.2188491821289" z="0.5"/> </Position> </TeleportAction> </PrivateAction> </Private> <Private entityRef="pedestrian_w_transform_2794"> <PrivateAction> <TeleportAction> <Position> <WorldPosition x="9.882630348205566" y="77.80131530761719" z="0.5"/> </Position> </TeleportAction> </PrivateAction> </Private> <Private entityRef="pedestrian_close_to_hero_2795"> <PrivateAction> <TeleportAction> <Position> <WorldPosition x="-19.19940185546875" y="-147.1171875" z="0.0014286803780123591"/> </Position> </TeleportAction> </PrivateAction> </Private> <Private entityRef="pedestrian_close_to_hero_2796"> <PrivateAction> <TeleportAction> <Position> <WorldPosition x="-18.07411766052246" y="-162.54681396484375" z="0.0014286803780123591"/> </Position> </TeleportAction> </PrivateAction> </Private> <Private entityRef="pedestrian_close_to_standing_2797"> <PrivateAction> <TeleportAction> <Position> <WorldPosition x="-3.9917757511138916" y="34.2062873840332" z="0.0030410385224968195"/> </Position> </TeleportAction> </PrivateAction> </Private> <Private entityRef="pedestrian_w_transform_2798"> <PrivateAction> <TeleportAction> <Position> <WorldPosition x="69.5091781616211" y="24.699928283691406" z="0.5"/> </Position> </TeleportAction> </PrivateAction> </Private> <Private entityRef="pedestrian_w_transform_2799"> <PrivateAction> <TeleportAction> <Position> <WorldPosition x="-13.76117992401123" y="2.912024974822998" z="0.5"/> </Position> </TeleportAction> </PrivateAction> </Private> <Private entityRef="pedestrian_w_transform_2800"> <PrivateAction> <TeleportAction> <Position> <WorldPosition x="-68.7291030883789" y="3.604949951171875" z="0.5"/> </Position> </TeleportAction> </PrivateAction> </Private> <Private entityRef="pedestrian_close_to_adversary_2801"> <PrivateAction> <TeleportAction> <Position> <WorldPosition x="-18.627294540405273" y="-77.20470428466797" z="0.033775445073843"/> </Position> </TeleportAction> </PrivateAction> </Private> <Private entityRef="pedestrian_w_transform_2802"> <PrivateAction> <TeleportAction> <Position> <WorldPosition x="-69.9545669555664" y="44.03773498535156" z="0.5"/> </Position> </TeleportAction> </PrivateAction> </Private> <Private entityRef="pedestrian_w_transform_2803"> <PrivateAction> <TeleportAction> <Position> <WorldPosition x="76.83502197265625" y="97.92465209960938" z="0.5"/> </Position> </TeleportAction> </PrivateAction> </Private> <Private entityRef="pedestrian_w_transform_2804"> <PrivateAction> <TeleportAction> <Position> <WorldPosition x="97.80066680908203" y="-7.705491065979004" z="0.5"/> </Position> </TeleportAction> </PrivateAction> </Private> <Private entityRef="pedestrian_close_to_hero_2805"> <PrivateAction> <TeleportAction> <Position> <WorldPosition x="4.498591899871826" y="-141.24940490722656" z="0.0014286803780123591"/> </Position> </TeleportAction> </PrivateAction> </Private> </Actions> </Init> <Story name="MyStory"> <Act name="Behavior"> <ManeuverGroup maximumExecutionCount="1" name="ManeuverSequence"> <Actors selectTriggeringEntities="false"> <EntityRef entityRef="adversary"/> </Actors> <Maneuver name="LaneChangeSimpleManeuver"> <Event name="AdversaryAccelerates" priority="overwrite"> <Action name="AdversaryAccelerates"> <PrivateAction> <LongitudinalAction> <SpeedAction> <SpeedActionDynamics dynamicsShape="step" value="50" dynamicsDimension="distance"/> <SpeedActionTarget> <AbsoluteTargetSpeed value="5.0"/> </SpeedActionTarget> </SpeedAction> </LongitudinalAction> </PrivateAction> </Action> <StartTrigger> <ConditionGroup> <Condition name="StartCondition" delay="0" conditionEdge="rising"> <ByEntityCondition> <TriggeringEntities triggeringEntitiesRule="any"> <EntityRef entityRef="hero"/> </TriggeringEntities> <EntityCondition> <RelativeDistanceCondition entityRef="adversary" relativeDistanceType="cartesianDistance" value="40.0" freespace="false" rule="lessThan"/> </EntityCondition> </ByEntityCondition> </Condition> </ConditionGroup> </StartTrigger> </Event> <Event name="AdversaryChangesLane" priority="overwrite"> <Action name="AdversaryChangesLane"> <PrivateAction> <LateralAction> <LaneChangeAction> <LaneChangeActionDynamics dynamicsShape="linear" value="25" dynamicsDimension="distance"/> <LaneChangeTarget> <RelativeTargetLane entityRef="adversary" value="-1"/> </LaneChangeTarget> </LaneChangeAction> </LateralAction> </PrivateAction> </Action> <StartTrigger> <ConditionGroup> <Condition name="AfterAdversaryAccelerates" delay="0" conditionEdge="rising"> <ByValueCondition> <StoryboardElementStateCondition storyboardElementType="action" storyboardElementRef="AdversaryAccelerates" state="completeState"/> </ByValueCondition> </Condition> </ConditionGroup> </StartTrigger> </Event> </Maneuver> </ManeuverGroup> <StartTrigger> <ConditionGroup> <Condition name="OverallStartCondition" delay="0" conditionEdge="rising"> <ByEntityCondition> <TriggeringEntities triggeringEntitiesRule="any"> <EntityRef entityRef="hero"/> </TriggeringEntities> <EntityCondition> <TraveledDistanceCondition value="1.0"/> </EntityCondition> </ByEntityCondition> </Condition> <Condition name="StartTime" delay="0" conditionEdge="rising"> <ByValueCondition> <SimulationTimeCondition value="0" rule="equalTo"/> </ByValueCondition> </Condition> </ConditionGroup> </StartTrigger> <StopTrigger> <ConditionGroup> <Condition name="EndCondition" delay="0" conditionEdge="rising"> <ByEntityCondition> <TriggeringEntities triggeringEntitiesRule="any"> <EntityRef entityRef="hero"/> </TriggeringEntities> <EntityCondition> <TraveledDistanceCondition value="200.0"/> </EntityCondition> </ByEntityCondition> </Condition> </ConditionGroup> </StopTrigger> </Act> </Story> <StopTrigger> <ConditionGroup> <Condition name="criteria_RunningStopTest" delay="0" conditionEdge="rising"> <ByValueCondition> <ParameterCondition parameterRef="" value="" rule="lessThan"/> </ByValueCondition> </Condition> <Condition name="criteria_RunningRedLightTest" delay="0" conditionEdge="rising"> <ByValueCondition> <ParameterCondition parameterRef="" value="" rule="lessThan"/> </ByValueCondition> </Condition> <Condition name="criteria_WrongLaneTest" delay="0" conditionEdge="rising"> <ByValueCondition> <ParameterCondition parameterRef="" value="" rule="lessThan"/> </ByValueCondition> </Condition> <Condition name="criteria_OnSidewalkTest" delay="0" conditionEdge="rising"> <ByValueCondition> <ParameterCondition parameterRef="" value="" rule="lessThan"/> </ByValueCondition> </Condition> <Condition name="criteria_KeepLaneTest" delay="0" conditionEdge="rising"> <ByValueCondition> <ParameterCondition parameterRef="" value="" rule="lessThan"/> </ByValueCondition> </Condition> <Condition name="criteria_CollisionTest" delay="0" conditionEdge="rising"> <ByValueCondition> <ParameterCondition parameterRef="" value="" rule="lessThan"/> </ByValueCondition> </Condition> <Condition name="criteria_DrivenDistanceTest" delay="0" conditionEdge="rising"> <ByValueCondition> <ParameterCondition parameterRef="distance_success" value="100" rule="lessThan"/> </ByValueCondition> </Condition> </ConditionGroup> </StopTrigger> </Storyboard> </OpenSCENARIO> ```
Here is the result: ``` <?xml version="1.0" ?> <OpenSCENARIO> <FileHeader revMajor="1" revMinor="0" date="2020-03-24T12:00:00" description="CARLA:LaneChangeSimple" author=""/> <ParameterDeclarations/> <CatalogLocations/> <RoadNetwork> <LogicFile filepath="Town04"/> <SceneGraphFile filepath=""/> </RoadNetwork> <Entities> <ScenarioObject name="hero"> <Vehicle name="vehicle.tesla.model3" vehicleCategory="car"> <ParameterDeclarations/> <Performance maxSpeed="69.444" maxAcceleration="200" maxDeceleration="10.0"/> <BoundingBox> <Center x="1.5" y="0.0" z="0.9"/> <Dimensions width="2.1" length="4.5" height="1.8"/> </BoundingBox> <Axles> <FrontAxle maxSteering="0.5" wheelDiameter="0.6" trackWidth="1.8" positionX="3.1" positionZ="0.3"/> <RearAxle maxSteering="0.0" wheelDiameter="0.6" trackWidth="1.8" positionX="0.0" positionZ="0.3"/> </Axles> <Properties> <Property name="type" value="ego_vehicle"/> </Properties> </Vehicle> </ScenarioObject> <ScenarioObject name="adversary"> <Vehicle name="vehicle.lincoln.mkz_2017" vehicleCategory="car"> <ParameterDeclarations/> <Performance maxSpeed="69.444" maxAcceleration="200" maxDeceleration="10.0"/> <BoundingBox> <Center x="1.5" y="0.0" z="0.9"/> <Dimensions width="2.1" length="4.5" height="1.8"/> </BoundingBox> <Axles> <FrontAxle maxSteering="0.5" wheelDiameter="0.6" trackWidth="1.8" positionX="3.1" positionZ="0.3"/> <RearAxle maxSteering="0.0" wheelDiameter="0.6" trackWidth="1.8" positionX="0.0" positionZ="0.3"/> </Axles> <Properties> <Property name="type" value="simulation"/> </Properties> </Vehicle> </ScenarioObject> <ScenarioObject name="standing"> <Vehicle name="vehicle.volkswagen.t2" vehicleCategory="car"> <ParameterDeclarations/> <Performance maxSpeed="69.444" maxAcceleration="200" maxDeceleration="10.0"/> <BoundingBox> <Center x="1.5" y="0.0" z="0.9"/> <Dimensions width="2.1" length="4.5" height="1.8"/> </BoundingBox> <Axles> <FrontAxle maxSteering="0.5" wheelDiameter="0.6" trackWidth="1.8" positionX="3.1" positionZ="0.3"/> <RearAxle maxSteering="0.0" wheelDiameter="0.6" trackWidth="1.8" positionX="0.0" positionZ="0.3"/> </Axles> <Properties> <Property name="type" value="simulation"/> </Properties> </Vehicle> </ScenarioObject> <ScenarioObject name="pedestrian_close_to_adversary_2791"> <Pedestrian model="walker.pedestrian.0001" mass="80" name="walker.pedestrian.0001" pedestrianCategory="pedestrian"> <ParameterDeclarations/> <BoundingBox> <Center x="1.5" y="0.0" z="0.9"/> <Dimensions width="2" length="2" height="2"/> </BoundingBox> <Properties> <Property name="type" value="simulation"/> </Properties> </Pedestrian> </ScenarioObject> <ScenarioObject name="pedestrian_close_to_hero_2792"> <Pedestrian model="walker.pedestrian.0001" mass="80" name="walker.pedestrian.0001" pedestrianCategory="pedestrian"> <ParameterDeclarations/> <BoundingBox> <Center x="1.5" y="0.0" z="0.9"/> <Dimensions width="2" length="2" height="2"/> </BoundingBox> <Properties> <Property name="type" value="simulation"/> </Properties> </Pedestrian> </ScenarioObject> <ScenarioObject name="pedestrian_w_transform_2793"> <Pedestrian model="walker.pedestrian.0001" mass="80" name="walker.pedestrian.0001" pedestrianCategory="pedestrian"> <ParameterDeclarations/> <BoundingBox> <Center x="1.5" y="0.0" z="0.9"/> <Dimensions width="2" length="2" height="2"/> </BoundingBox> <Properties> <Property name="type" value="simulation"/> </Properties> </Pedestrian> </ScenarioObject> <ScenarioObject name="pedestrian_w_transform_2794"> <Pedestrian model="walker.pedestrian.0001" mass="80" name="walker.pedestrian.0001" pedestrianCategory="pedestrian"> <ParameterDeclarations/> <BoundingBox> <Center x="1.5" y="0.0" z="0.9"/> <Dimensions width="2" length="2" height="2"/> </BoundingBox> <Properties> <Property name="type" value="simulation"/> </Properties> </Pedestrian> </ScenarioObject> <ScenarioObject name="pedestrian_close_to_hero_2795"> <Pedestrian model="walker.pedestrian.0001" mass="80" name="walker.pedestrian.0001" pedestrianCategory="pedestrian"> <ParameterDeclarations/> <BoundingBox> <Center x="1.5" y="0.0" z="0.9"/> <Dimensions width="2" length="2" height="2"/> </BoundingBox> <Properties> <Property name="type" value="simulation"/> </Properties> </Pedestrian> </ScenarioObject> <ScenarioObject name="pedestrian_close_to_hero_2796"> <Pedestrian model="walker.pedestrian.0001" mass="80" name="walker.pedestrian.0001" pedestrianCategory="pedestrian"> <ParameterDeclarations/> <BoundingBox> <Center x="1.5" y="0.0" z="0.9"/> <Dimensions width="2" length="2" height="2"/> </BoundingBox> <Properties> <Property name="type" value="simulation"/> </Properties> </Pedestrian> </ScenarioObject> <ScenarioObject name="pedestrian_close_to_standing_2797"> <Pedestrian model="walker.pedestrian.0001" mass="80" name="walker.pedestrian.0001" pedestrianCategory="pedestrian"> <ParameterDeclarations/> <BoundingBox> <Center x="1.5" y="0.0" z="0.9"/> <Dimensions width="2" length="2" height="2"/> </BoundingBox> <Properties> <Property name="type" value="simulation"/> </Properties> </Pedestrian> </ScenarioObject> <ScenarioObject name="pedestrian_w_transform_2798"> <Pedestrian model="walker.pedestrian.0001" mass="80" name="walker.pedestrian.0001" pedestrianCategory="pedestrian"> <ParameterDeclarations/> <BoundingBox> <Center x="1.5" y="0.0" z="0.9"/> <Dimensions width="2" length="2" height="2"/> </BoundingBox> <Properties> <Property name="type" value="simulation"/> </Properties> </Pedestrian> </ScenarioObject> <ScenarioObject name="pedestrian_w_transform_2799"> <Pedestrian model="walker.pedestrian.0001" mass="80" name="walker.pedestrian.0001" pedestrianCategory="pedestrian"> <ParameterDeclarations/> <BoundingBox> <Center x="1.5" y="0.0" z="0.9"/> <Dimensions width="2" length="2" height="2"/> </BoundingBox> <Properties> <Property name="type" value="simulation"/> </Properties> </Pedestrian> </ScenarioObject> <ScenarioObject name="pedestrian_w_transform_2800"> <Pedestrian model="walker.pedestrian.0001" mass="80" name="walker.pedestrian.0001" pedestrianCategory="pedestrian"> <ParameterDeclarations/> <BoundingBox> <Center x="1.5" y="0.0" z="0.9"/> <Dimensions width="2" length="2" height="2"/> </BoundingBox> <Properties> <Property name="type" value="simulation"/> </Properties> </Pedestrian> </ScenarioObject> <ScenarioObject name="pedestrian_close_to_adversary_2801"> <Pedestrian model="walker.pedestrian.0001" mass="80" name="walker.pedestrian.0001" pedestrianCategory="pedestrian"> <ParameterDeclarations/> <BoundingBox> <Center x="1.5" y="0.0" z="0.9"/> <Dimensions width="2" length="2" height="2"/> </BoundingBox> <Properties> <Property name="type" value="simulation"/> </Properties> </Pedestrian> </ScenarioObject> <ScenarioObject name="pedestrian_w_transform_2802"> <Pedestrian model="walker.pedestrian.0001" mass="80" name="walker.pedestrian.0001" pedestrianCategory="pedestrian"> <ParameterDeclarations/> <BoundingBox> <Center x="1.5" y="0.0" z="0.9"/> <Dimensions width="2" length="2" height="2"/> </BoundingBox> <Properties> <Property name="type" value="simulation"/> </Properties> </Pedestrian> </ScenarioObject> <ScenarioObject name="pedestrian_w_transform_2803"> <Pedestrian model="walker.pedestrian.0001" mass="80" name="walker.pedestrian.0001" pedestrianCategory="pedestrian"> <ParameterDeclarations/> <BoundingBox> <Center x="1.5" y="0.0" z="0.9"/> <Dimensions width="2" length="2" height="2"/> </BoundingBox> <Properties> <Property name="type" value="simulation"/> </Properties> </Pedestrian> </ScenarioObject> <ScenarioObject name="pedestrian_w_transform_2804"> <Pedestrian model="walker.pedestrian.0001" mass="80" name="walker.pedestrian.0001" pedestrianCategory="pedestrian"> <ParameterDeclarations/> <BoundingBox> <Center x="1.5" y="0.0" z="0.9"/> <Dimensions width="2" length="2" height="2"/> </BoundingBox> <Properties> <Property name="type" value="simulation"/> </Properties> </Pedestrian> </ScenarioObject> <ScenarioObject name="pedestrian_close_to_hero_2805"> <Pedestrian model="walker.pedestrian.0001" mass="80" name="walker.pedestrian.0001" pedestrianCategory="pedestrian"> <ParameterDeclarations/> <BoundingBox> <Center x="1.5" y="0.0" z="0.9"/> <Dimensions width="2" length="2" height="2"/> </BoundingBox> <Properties> <Property name="type" value="simulation"/> </Properties> </Pedestrian> </ScenarioObject> <ScenarioObject name="pedestrian_close_to_hero_2806"> <Pedestrian model="walker.pedestrian.0001" mass="80" name="walker.pedestrian.0001" pedestrianCategory="pedestrian"> <ParameterDeclarations/> <BoundingBox> <Center x="1.5" y="0.0" z="0.9"/> <Dimensions width="2" length="2" height="2"/> </BoundingBox> <Properties> <Property name="type" value="simulation"/> </Properties> </Pedestrian> </ScenarioObject> </Entities> <Storyboard> <Init> <Actions> <GlobalAction> <EnvironmentAction> <Environment name="Environment1"> <TimeOfDay animation="false" dateTime="2019-06-25T12:00:00"/> <Weather cloudState="free"> <Sun intensity="0.85" azimuth="0" elevation="1.31"/> <Fog visualRange="100000.0"/> <Precipitation precipitationType="dry" intensity="0.0"/> </Weather> <RoadCondition frictionScaleFactor="1.0"/> </Environment> </EnvironmentAction> </GlobalAction> <Private entityRef="hero"> <PrivateAction> <TeleportAction> <Position> <WorldPosition x="-9.4" y="-152.8" z="0.5" h="1.57079632679"/> </Position> </TeleportAction> </PrivateAction> <PrivateAction> <ControllerAction> <AssignControllerAction> <Controller name="HeroAgent"> <Properties> <Property name="module" value="external_control"/> </Properties> </Controller> </AssignControllerAction> <OverrideControllerValueAction> <Throttle value="0" active="false"/> <Brake value="0" active="false"/> <Clutch value="0" active="false"/> <ParkingBrake value="0" active="false"/> <SteeringWheel value="0" active="false"/> <Gear number="0" active="false"/> </OverrideControllerValueAction> </ControllerAction> </PrivateAction> </Private> <Private entityRef="adversary"> <PrivateAction> <TeleportAction> <Position> <WorldPosition x="-9.4" y="-71.0" z="0.5" h="1.57079632679"/> </Position> </TeleportAction> </PrivateAction> </Private> <Private entityRef="standing"> <PrivateAction> <TeleportAction> <Position> <WorldPosition x="-8.2" y="29.2" z="0.5" h="1.57079632679"/> </Position> </TeleportAction> </PrivateAction> </Private> <Private entityRef="pedestrian_close_to_adversary_2791"> <PrivateAction> <TeleportAction> <Position> <WorldPosition x="-8.004201889038086" y="-69.07671356201172" z="0.03385162353515625"/> </Position> </TeleportAction> </PrivateAction> </Private> <Private entityRef="pedestrian_close_to_hero_2792"> <PrivateAction> <TeleportAction> <Position> <WorldPosition x="-19.21775245666504" y="-156.26168823242188" z="0.0014286803780123591"/> </Position> </TeleportAction> </PrivateAction> </Private> <Private entityRef="pedestrian_w_transform_2793"> <PrivateAction> <TeleportAction> <Position> <WorldPosition x="22.916078567504883" y="-90.2188491821289" z="0.5"/> </Position> </TeleportAction> </PrivateAction> </Private> <Private entityRef="pedestrian_w_transform_2794"> <PrivateAction> <TeleportAction> <Position> <WorldPosition x="9.882630348205566" y="77.80131530761719" z="0.5"/> </Position> </TeleportAction> </PrivateAction> </Private> <Private entityRef="pedestrian_close_to_hero_2795"> <PrivateAction> <TeleportAction> <Position> <WorldPosition x="-19.19940185546875" y="-147.1171875" z="0.0014286803780123591"/> </Position> </TeleportAction> </PrivateAction> </Private> <Private entityRef="pedestrian_close_to_hero_2796"> <PrivateAction> <TeleportAction> <Position> <WorldPosition x="-18.07411766052246" y="-162.54681396484375" z="0.0014286803780123591"/> </Position> </TeleportAction> </PrivateAction> </Private> <Private entityRef="pedestrian_close_to_standing_2797"> <PrivateAction> <TeleportAction> <Position> <WorldPosition x="-3.9917757511138916" y="34.2062873840332" z="0.0030410385224968195"/> </Position> </TeleportAction> </PrivateAction> </Private> <Private entityRef="pedestrian_w_transform_2798"> <PrivateAction> <TeleportAction> <Position> <WorldPosition x="69.5091781616211" y="24.699928283691406" z="0.5"/> </Position> </TeleportAction> </PrivateAction> </Private> <Private entityRef="pedestrian_w_transform_2799"> <PrivateAction> <TeleportAction> <Position> <WorldPosition x="-13.76117992401123" y="2.912024974822998" z="0.5"/> </Position> </TeleportAction> </PrivateAction> </Private> <Private entityRef="pedestrian_w_transform_2800"> <PrivateAction> <TeleportAction> <Position> <WorldPosition x="-68.7291030883789" y="3.604949951171875" z="0.5"/> </Position> </TeleportAction> </PrivateAction> </Private> <Private entityRef="pedestrian_close_to_adversary_2801"> <PrivateAction> <TeleportAction> <Position> <WorldPosition x="-18.627294540405273" y="-77.20470428466797" z="0.033775445073843"/> </Position> </TeleportAction> </PrivateAction> </Private> <Private entityRef="pedestrian_w_transform_2802"> <PrivateAction> <TeleportAction> <Position> <WorldPosition x="-69.9545669555664" y="44.03773498535156" z="0.5"/> </Position> </TeleportAction> </PrivateAction> </Private> <Private entityRef="pedestrian_w_transform_2803"> <PrivateAction> <TeleportAction> <Position> <WorldPosition x="76.83502197265625" y="97.92465209960938" z="0.5"/> </Position> </TeleportAction> </PrivateAction> </Private> <Private entityRef="pedestrian_w_transform_2804"> <PrivateAction> <TeleportAction> <Position> <WorldPosition x="97.80066680908203" y="-7.705491065979004" z="0.5"/> </Position> </TeleportAction> </PrivateAction> </Private> <Private entityRef="pedestrian_close_to_hero_2805"> <PrivateAction> <TeleportAction> <Position> <WorldPosition x="4.498591899871826" y="-141.24940490722656" z="0.0014286803780123591"/> </Position> </TeleportAction> </PrivateAction> </Private> <Private entityRef="pedestrian_close_to_hero_2806"> <PrivateAction> <TeleportAction> <Position> <WorldPosition x="-2.645869731903076" y="-163.82334899902344" z="0.0014286803780123591"/> </Position> </TeleportAction> </PrivateAction> </Private> </Actions> </Init> <Story name="MyStory"> <Act name="Behavior"> <ManeuverGroup maximumExecutionCount="1" name="ManeuverSequence"> <Actors selectTriggeringEntities="false"> <EntityRef entityRef="adversary"/> </Actors> <Maneuver name="LaneChangeSimpleManeuver"> <Event name="AdversaryAccelerates" priority="overwrite"> <Action name="AdversaryAccelerates"> <PrivateAction> <LongitudinalAction> <SpeedAction> <SpeedActionDynamics dynamicsShape="step" value="50" dynamicsDimension="distance"/> <SpeedActionTarget> <AbsoluteTargetSpeed value="5.0"/> </SpeedActionTarget> </SpeedAction> </LongitudinalAction> </PrivateAction> </Action> <StartTrigger> <ConditionGroup> <Condition name="StartCondition" delay="0" conditionEdge="rising"> <ByEntityCondition> <TriggeringEntities triggeringEntitiesRule="any"> <EntityRef entityRef="hero"/> </TriggeringEntities> <EntityCondition> <RelativeDistanceCondition entityRef="adversary" relativeDistanceType="cartesianDistance" value="40.0" freespace="false" rule="lessThan"/> </EntityCondition> </ByEntityCondition> </Condition> </ConditionGroup> </StartTrigger> </Event> <Event name="AdversaryChangesLane" priority="overwrite"> <Action name="AdversaryChangesLane"> <PrivateAction> <LateralAction> <LaneChangeAction> <LaneChangeActionDynamics dynamicsShape="linear" value="25" dynamicsDimension="distance"/> <LaneChangeTarget> <RelativeTargetLane entityRef="adversary" value="-1"/> </LaneChangeTarget> </LaneChangeAction> </LateralAction> </PrivateAction> </Action> <StartTrigger> <ConditionGroup> <Condition name="AfterAdversaryAccelerates" delay="0" conditionEdge="rising"> <ByValueCondition> <StoryboardElementStateCondition storyboardElementType="action" storyboardElementRef="AdversaryAccelerates" state="completeState"/> </ByValueCondition> </Condition> </ConditionGroup> </StartTrigger> </Event> </Maneuver> </ManeuverGroup> <StartTrigger> <ConditionGroup> <Condition name="OverallStartCondition" delay="0" conditionEdge="rising"> <ByEntityCondition> <TriggeringEntities triggeringEntitiesRule="any"> <EntityRef entityRef="hero"/> </TriggeringEntities> <EntityCondition> <TraveledDistanceCondition value="1.0"/> </EntityCondition> </ByEntityCondition> </Condition> <Condition name="StartTime" delay="0" conditionEdge="rising"> <ByValueCondition> <SimulationTimeCondition value="0" rule="equalTo"/> </ByValueCondition> </Condition> </ConditionGroup> </StartTrigger> <StopTrigger> <ConditionGroup> <Condition name="EndCondition" delay="0" conditionEdge="rising"> <ByEntityCondition> <TriggeringEntities triggeringEntitiesRule="any"> <EntityRef entityRef="hero"/> </TriggeringEntities> <EntityCondition> <TraveledDistanceCondition value="200.0"/> </EntityCondition> </ByEntityCondition> </Condition> </ConditionGroup> </StopTrigger> </Act> </Story> <StopTrigger> <ConditionGroup> <Condition name="criteria_RunningStopTest" delay="0" conditionEdge="rising"> <ByValueCondition> <ParameterCondition parameterRef="" value="" rule="lessThan"/> </ByValueCondition> </Condition> <Condition name="criteria_RunningRedLightTest" delay="0" conditionEdge="rising"> <ByValueCondition> <ParameterCondition parameterRef="" value="" rule="lessThan"/> </ByValueCondition> </Condition> <Condition name="criteria_WrongLaneTest" delay="0" conditionEdge="rising"> <ByValueCondition> <ParameterCondition parameterRef="" value="" rule="lessThan"/> </ByValueCondition> </Condition> <Condition name="criteria_OnSidewalkTest" delay="0" conditionEdge="rising"> <ByValueCondition> <ParameterCondition parameterRef="" value="" rule="lessThan"/> </ByValueCondition> </Condition> <Condition name="criteria_KeepLaneTest" delay="0" conditionEdge="rising"> <ByValueCondition> <ParameterCondition parameterRef="" value="" rule="lessThan"/> </ByValueCondition> </Condition> <Condition name="criteria_CollisionTest" delay="0" conditionEdge="rising"> <ByValueCondition> <ParameterCondition parameterRef="" value="" rule="lessThan"/> </ByValueCondition> </Condition> <Condition name="criteria_DrivenDistanceTest" delay="0" conditionEdge="rising"> <ByValueCondition> <ParameterCondition parameterRef="distance_success" value="100" rule="lessThan"/> </ByValueCondition> </Condition> </ConditionGroup> </StopTrigger> </Storyboard> </OpenSCENARIO> ```
i would like to tell you to remove pedestrian actor named pedestrian_w_transform_6648? ``` <?xml version="1.0" ?> <OpenSCENARIO> <FileHeader revMajor="1" revMinor="0" date="2020-03-24T12:00:00" description="CARLA:LaneChangeSimple" author=""/> <ParameterDeclarations/> <CatalogLocations/> <RoadNetwork> <LogicFile filepath="Town04"/> <SceneGraphFile filepath=""/> </RoadNetwork> <Entities> <ScenarioObject name="hero"> <Vehicle name="vehicle.tesla.model3" vehicleCategory="car"> <ParameterDeclarations/> <Performance maxSpeed="69.444" maxAcceleration="200" maxDeceleration="10.0"/> <BoundingBox> <Center x="1.5" y="0.0" z="0.9"/> <Dimensions width="2.1" length="4.5" height="1.8"/> </BoundingBox> <Axles> <FrontAxle maxSteering="0.5" wheelDiameter="0.6" trackWidth="1.8" positionX="3.1" positionZ="0.3"/> <RearAxle maxSteering="0.0" wheelDiameter="0.6" trackWidth="1.8" positionX="0.0" positionZ="0.3"/> </Axles> <Properties> <Property name="type" value="ego_vehicle"/> </Properties> </Vehicle> </ScenarioObject> <ScenarioObject name="adversary"> <Vehicle name="vehicle.lincoln.mkz_2017" vehicleCategory="car"> <ParameterDeclarations/> <Performance maxSpeed="69.444" maxAcceleration="200" maxDeceleration="10.0"/> <BoundingBox> <Center x="1.5" y="0.0" z="0.9"/> <Dimensions width="2.1" length="4.5" height="1.8"/> </BoundingBox> <Axles> <FrontAxle maxSteering="0.5" wheelDiameter="0.6" trackWidth="1.8" positionX="3.1" positionZ="0.3"/> <RearAxle maxSteering="0.0" wheelDiameter="0.6" trackWidth="1.8" positionX="0.0" positionZ="0.3"/> </Axles> <Properties> <Property name="type" value="simulation"/> </Properties> </Vehicle> </ScenarioObject> <ScenarioObject name="standing"> <Vehicle name="vehicle.volkswagen.t2" vehicleCategory="car"> <ParameterDeclarations/> <Performance maxSpeed="69.444" maxAcceleration="200" maxDeceleration="10.0"/> <BoundingBox> <Center x="1.5" y="0.0" z="0.9"/> <Dimensions width="2.1" length="4.5" height="1.8"/> </BoundingBox> <Axles> <FrontAxle maxSteering="0.5" wheelDiameter="0.6" trackWidth="1.8" positionX="3.1" positionZ="0.3"/> <RearAxle maxSteering="0.0" wheelDiameter="0.6" trackWidth="1.8" positionX="0.0" positionZ="0.3"/> </Axles> <Properties> <Property name="type" value="simulation"/> </Properties> </Vehicle> </ScenarioObject> <ScenarioObject name="pedestrian_w_transform_6635"> <Pedestrian model="walker.pedestrian.0001" mass="80" name="walker.pedestrian.0001" pedestrianCategory="pedestrian"> <ParameterDeclarations/> <BoundingBox> <Center x="1.5" y="0.0" z="0.9"/> <Dimensions width="2" length="2" height="2"/> </BoundingBox> <Properties> <Property name="type" value="simulation"/> </Properties> </Pedestrian> </ScenarioObject> <ScenarioObject name="pedestrian_w_transform_6636"> <Pedestrian model="walker.pedestrian.0001" mass="80" name="walker.pedestrian.0001" pedestrianCategory="pedestrian"> <ParameterDeclarations/> <BoundingBox> <Center x="1.5" y="0.0" z="0.9"/> <Dimensions width="2" length="2" height="2"/> </BoundingBox> <Properties> <Property name="type" value="simulation"/> </Properties> </Pedestrian> </ScenarioObject> <ScenarioObject name="pedestrian_w_transform_6646"> <Pedestrian model="walker.pedestrian.0001" mass="80" name="walker.pedestrian.0001" pedestrianCategory="pedestrian"> <ParameterDeclarations/> <BoundingBox> <Center x="1.5" y="0.0" z="0.9"/> <Dimensions width="2" length="2" height="2"/> </BoundingBox> <Properties> <Property name="type" value="simulation"/> </Properties> </Pedestrian> </ScenarioObject> <ScenarioObject name="pedestrian_w_transform_6648"> <Pedestrian model="walker.pedestrian.0001" mass="80" name="walker.pedestrian.0001" pedestrianCategory="pedestrian"> <ParameterDeclarations/> <BoundingBox> <Center x="1.5" y="0.0" z="0.9"/> <Dimensions width="2" length="2" height="2"/> </BoundingBox> <Properties> <Property name="type" value="simulation"/> </Properties> </Pedestrian> </ScenarioObject> <ScenarioObject name="pedestrian_close_to_adversary_6655"> <Pedestrian model="walker.pedestrian.0001" mass="80" name="walker.pedestrian.0001" pedestrianCategory="pedestrian"> <ParameterDeclarations/> <BoundingBox> <Center x="1.5" y="0.0" z="0.9"/> <Dimensions width="2" length="2" height="2"/> </BoundingBox> <Properties> <Property name="type" value="simulation"/> </Properties> </Pedestrian> </ScenarioObject> <ScenarioObject name="pedestrian_w_transform_6656"> <Pedestrian model="walker.pedestrian.0001" mass="80" name="walker.pedestrian.0001" pedestrianCategory="pedestrian"> <ParameterDeclarations/> <BoundingBox> <Center x="1.5" y="0.0" z="0.9"/> <Dimensions width="2" length="2" height="2"/> </BoundingBox> <Properties> <Property name="type" value="simulation"/> </Properties> </Pedestrian> </ScenarioObject> </Entities> <Storyboard> <Init> <Actions> <GlobalAction> <EnvironmentAction> <Environment name="Environment1"> <TimeOfDay animation="false" dateTime="2019-06-25T12:00:00"/> <Weather cloudState="free"> <Sun intensity="0.85" azimuth="0" elevation="1.31"/> <Fog visualRange="100000.0"/> <Precipitation precipitationType="dry" intensity="0.0"/> </Weather> <RoadCondition frictionScaleFactor="1.0"/> </Environment> </EnvironmentAction> </GlobalAction> <Private entityRef="hero"> <PrivateAction> <TeleportAction> <Position> <WorldPosition x="-9.4" y="-152.8" z="0.5" h="1.57079632679"/> </Position> </TeleportAction> </PrivateAction> <PrivateAction> <ControllerAction> <AssignControllerAction> <Controller name="HeroAgent"> <Properties> <Property name="module" value="external_control"/> </Properties> </Controller> </AssignControllerAction> <OverrideControllerValueAction> <Throttle value="0" active="false"/> <Brake value="0" active="false"/> <Clutch value="0" active="false"/> <ParkingBrake value="0" active="false"/> <SteeringWheel value="0" active="false"/> <Gear number="0" active="false"/> </OverrideControllerValueAction> </ControllerAction> </PrivateAction> </Private> <Private entityRef="adversary"> <PrivateAction> <TeleportAction> <Position> <WorldPosition x="-9.4" y="-71.0" z="0.5" h="1.57079632679"/> </Position> </TeleportAction> </PrivateAction> </Private> <Private entityRef="standing"> <PrivateAction> <TeleportAction> <Position> <WorldPosition x="-8.2" y="29.2" z="0.5" h="1.57079632679"/> </Position> </TeleportAction> </PrivateAction> </Private> <Private entityRef="pedestrian_w_transform_6635"> <PrivateAction> <TeleportAction> <Position> <WorldPosition x="73.61292266845703" y="19.014787673950195" z="0.5"/> </Position> </TeleportAction> </PrivateAction> </Private> <Private entityRef="pedestrian_w_transform_6636"> <PrivateAction> <TeleportAction> <Position> <WorldPosition x="-30.148883819580078" y="-12.820682525634766" z="0.5"/> </Position> </TeleportAction> </PrivateAction> </Private> <Private entityRef="pedestrian_w_transform_6646"> <PrivateAction> <TeleportAction> <Position> <WorldPosition x="68.70637512207031" y="94.32281494140625" z="0.5"/> </Position> </TeleportAction> </PrivateAction> </Private> <Private entityRef="pedestrian_w_transform_6648"> <PrivateAction> <TeleportAction> <Position> <WorldPosition x="17.590822219848633" y="11.882591247558594" z="0.5"/> </Position> </TeleportAction> </PrivateAction> </Private> <Private entityRef="pedestrian_close_to_adversary_6655"> <PrivateAction> <TeleportAction> <Position> <WorldPosition x="-17.588972091674805" y="-77.87088775634766" z="0.03384090214967728"/> </Position> </TeleportAction> </PrivateAction> </Private> <Private entityRef="pedestrian_w_transform_6656"> <PrivateAction> <TeleportAction> <Position> <WorldPosition x="-96.84188842773438" y="-23.185321807861328" z="0.5"/> </Position> </TeleportAction> </PrivateAction> </Private> </Actions> </Init> <Story name="MyStory"> <Act name="Behavior"> <ManeuverGroup maximumExecutionCount="1" name="ManeuverSequence"> <Actors selectTriggeringEntities="false"> <EntityRef entityRef="adversary"/> </Actors> <Maneuver name="LaneChangeSimpleManeuver"> <Event name="AdversaryAccelerates" priority="overwrite"> <Action name="AdversaryAccelerates"> <PrivateAction> <LongitudinalAction> <SpeedAction> <SpeedActionDynamics dynamicsShape="step" value="50" dynamicsDimension="distance"/> <SpeedActionTarget> <AbsoluteTargetSpeed value="5.0"/> </SpeedActionTarget> </SpeedAction> </LongitudinalAction> </PrivateAction> </Action> <StartTrigger> <ConditionGroup> <Condition name="StartCondition" delay="0" conditionEdge="rising"> <ByEntityCondition> <TriggeringEntities triggeringEntitiesRule="any"> <EntityRef entityRef="hero"/> </TriggeringEntities> <EntityCondition> <RelativeDistanceCondition entityRef="adversary" relativeDistanceType="cartesianDistance" value="40.0" freespace="false" rule="lessThan"/> </EntityCondition> </ByEntityCondition> </Condition> </ConditionGroup> </StartTrigger> </Event> <Event name="AdversaryChangesLane" priority="overwrite"> <Action name="AdversaryChangesLane"> <PrivateAction> <LateralAction> <LaneChangeAction> <LaneChangeActionDynamics dynamicsShape="linear" value="25" dynamicsDimension="distance"/> <LaneChangeTarget> <RelativeTargetLane entityRef="adversary" value="-1"/> </LaneChangeTarget> </LaneChangeAction> </LateralAction> </PrivateAction> </Action> <StartTrigger> <ConditionGroup> <Condition name="AfterAdversaryAccelerates" delay="0" conditionEdge="rising"> <ByValueCondition> <StoryboardElementStateCondition storyboardElementType="action" storyboardElementRef="AdversaryAccelerates" state="completeState"/> </ByValueCondition> </Condition> </ConditionGroup> </StartTrigger> </Event> </Maneuver> </ManeuverGroup> <StartTrigger> <ConditionGroup> <Condition name="OverallStartCondition" delay="0" conditionEdge="rising"> <ByEntityCondition> <TriggeringEntities triggeringEntitiesRule="any"> <EntityRef entityRef="hero"/> </TriggeringEntities> <EntityCondition> <TraveledDistanceCondition value="1.0"/> </EntityCondition> </ByEntityCondition> </Condition> <Condition name="StartTime" delay="0" conditionEdge="rising"> <ByValueCondition> <SimulationTimeCondition value="0" rule="equalTo"/> </ByValueCondition> </Condition> </ConditionGroup> </StartTrigger> <StopTrigger> <ConditionGroup> <Condition name="EndCondition" delay="0" conditionEdge="rising"> <ByEntityCondition> <TriggeringEntities triggeringEntitiesRule="any"> <EntityRef entityRef="hero"/> </TriggeringEntities> <EntityCondition> <TraveledDistanceCondition value="200.0"/> </EntityCondition> </ByEntityCondition> </Condition> </ConditionGroup> </StopTrigger> </Act> </Story> <StopTrigger> <ConditionGroup> <Condition name="criteria_RunningStopTest" delay="0" conditionEdge="rising"> <ByValueCondition> <ParameterCondition parameterRef="" value="" rule="lessThan"/> </ByValueCondition> </Condition> <Condition name="criteria_RunningRedLightTest" delay="0" conditionEdge="rising"> <ByValueCondition> <ParameterCondition parameterRef="" value="" rule="lessThan"/> </ByValueCondition> </Condition> <Condition name="criteria_WrongLaneTest" delay="0" conditionEdge="rising"> <ByValueCondition> <ParameterCondition parameterRef="" value="" rule="lessThan"/> </ByValueCondition> </Condition> <Condition name="criteria_OnSidewalkTest" delay="0" conditionEdge="rising"> <ByValueCondition> <ParameterCondition parameterRef="" value="" rule="lessThan"/> </ByValueCondition> </Condition> <Condition name="criteria_KeepLaneTest" delay="0" conditionEdge="rising"> <ByValueCondition> <ParameterCondition parameterRef="" value="" rule="lessThan"/> </ByValueCondition> </Condition> <Condition name="criteria_CollisionTest" delay="0" conditionEdge="rising"> <ByValueCondition> <ParameterCondition parameterRef="" value="" rule="lessThan"/> </ByValueCondition> </Condition> <Condition name="criteria_DrivenDistanceTest" delay="0" conditionEdge="rising"> <ByValueCondition> <ParameterCondition parameterRef="distance_success" value="100" rule="lessThan"/> </ByValueCondition> </Condition> </ConditionGroup> </StopTrigger> </Storyboard> </OpenSCENARIO> ```
Here is the result: ``` <?xml version="1.0" ?> <OpenSCENARIO> <FileHeader revMajor="1" revMinor="0" date="2020-03-24T12:00:00" description="CARLA:LaneChangeSimple" author=""/> <ParameterDeclarations/> <CatalogLocations/> <RoadNetwork> <LogicFile filepath="Town04"/> <SceneGraphFile filepath=""/> </RoadNetwork> <Entities> <ScenarioObject name="hero"> <Vehicle name="vehicle.tesla.model3" vehicleCategory="car"> <ParameterDeclarations/> <Performance maxSpeed="69.444" maxAcceleration="200" maxDeceleration="10.0"/> <BoundingBox> <Center x="1.5" y="0.0" z="0.9"/> <Dimensions width="2.1" length="4.5" height="1.8"/> </BoundingBox> <Axles> <FrontAxle maxSteering="0.5" wheelDiameter="0.6" trackWidth="1.8" positionX="3.1" positionZ="0.3"/> <RearAxle maxSteering="0.0" wheelDiameter="0.6" trackWidth="1.8" positionX="0.0" positionZ="0.3"/> </Axles> <Properties> <Property name="type" value="ego_vehicle"/> </Properties> </Vehicle> </ScenarioObject> <ScenarioObject name="adversary"> <Vehicle name="vehicle.lincoln.mkz_2017" vehicleCategory="car"> <ParameterDeclarations/> <Performance maxSpeed="69.444" maxAcceleration="200" maxDeceleration="10.0"/> <BoundingBox> <Center x="1.5" y="0.0" z="0.9"/> <Dimensions width="2.1" length="4.5" height="1.8"/> </BoundingBox> <Axles> <FrontAxle maxSteering="0.5" wheelDiameter="0.6" trackWidth="1.8" positionX="3.1" positionZ="0.3"/> <RearAxle maxSteering="0.0" wheelDiameter="0.6" trackWidth="1.8" positionX="0.0" positionZ="0.3"/> </Axles> <Properties> <Property name="type" value="simulation"/> </Properties> </Vehicle> </ScenarioObject> <ScenarioObject name="standing"> <Vehicle name="vehicle.volkswagen.t2" vehicleCategory="car"> <ParameterDeclarations/> <Performance maxSpeed="69.444" maxAcceleration="200" maxDeceleration="10.0"/> <BoundingBox> <Center x="1.5" y="0.0" z="0.9"/> <Dimensions width="2.1" length="4.5" height="1.8"/> </BoundingBox> <Axles> <FrontAxle maxSteering="0.5" wheelDiameter="0.6" trackWidth="1.8" positionX="3.1" positionZ="0.3"/> <RearAxle maxSteering="0.0" wheelDiameter="0.6" trackWidth="1.8" positionX="0.0" positionZ="0.3"/> </Axles> <Properties> <Property name="type" value="simulation"/> </Properties> </Vehicle> </ScenarioObject> <ScenarioObject name="pedestrian_w_transform_6635"> <Pedestrian model="walker.pedestrian.0001" mass="80" name="walker.pedestrian.0001" pedestrianCategory="pedestrian"> <ParameterDeclarations/> <BoundingBox> <Center x="1.5" y="0.0" z="0.9"/> <Dimensions width="2" length="2" height="2"/> </BoundingBox> <Properties> <Property name="type" value="simulation"/> </Properties> </Pedestrian> </ScenarioObject> <ScenarioObject name="pedestrian_w_transform_6636"> <Pedestrian model="walker.pedestrian.0001" mass="80" name="walker.pedestrian.0001" pedestrianCategory="pedestrian"> <ParameterDeclarations/> <BoundingBox> <Center x="1.5" y="0.0" z="0.9"/> <Dimensions width="2" length="2" height="2"/> </BoundingBox> <Properties> <Property name="type" value="simulation"/> </Properties> </Pedestrian> </ScenarioObject> <ScenarioObject name="pedestrian_w_transform_6646"> <Pedestrian model="walker.pedestrian.0001" mass="80" name="walker.pedestrian.0001" pedestrianCategory="pedestrian"> <ParameterDeclarations/> <BoundingBox> <Center x="1.5" y="0.0" z="0.9"/> <Dimensions width="2" length="2" height="2"/> </BoundingBox> <Properties> <Property name="type" value="simulation"/> </Properties> </Pedestrian> </ScenarioObject> <ScenarioObject name="pedestrian_close_to_adversary_6655"> <Pedestrian model="walker.pedestrian.0001" mass="80" name="walker.pedestrian.0001" pedestrianCategory="pedestrian"> <ParameterDeclarations/> <BoundingBox> <Center x="1.5" y="0.0" z="0.9"/> <Dimensions width="2" length="2" height="2"/> </BoundingBox> <Properties> <Property name="type" value="simulation"/> </Properties> </Pedestrian> </ScenarioObject> <ScenarioObject name="pedestrian_w_transform_6656"> <Pedestrian model="walker.pedestrian.0001" mass="80" name="walker.pedestrian.0001" pedestrianCategory="pedestrian"> <ParameterDeclarations/> <BoundingBox> <Center x="1.5" y="0.0" z="0.9"/> <Dimensions width="2" length="2" height="2"/> </BoundingBox> <Properties> <Property name="type" value="simulation"/> </Properties> </Pedestrian> </ScenarioObject> </Entities> <Storyboard> <Init> <Actions> <GlobalAction> <EnvironmentAction> <Environment name="Environment1"> <TimeOfDay animation="false" dateTime="2019-06-25T12:00:00"/> <Weather cloudState="free"> <Sun intensity="0.85" azimuth="0" elevation="1.31"/> <Fog visualRange="100000.0"/> <Precipitation precipitationType="dry" intensity="0.0"/> </Weather> <RoadCondition frictionScaleFactor="1.0"/> </Environment> </EnvironmentAction> </GlobalAction> <Private entityRef="hero"> <PrivateAction> <TeleportAction> <Position> <WorldPosition x="-9.4" y="-152.8" z="0.5" h="1.57079632679"/> </Position> </TeleportAction> </PrivateAction> <PrivateAction> <ControllerAction> <AssignControllerAction> <Controller name="HeroAgent"> <Properties> <Property name="module" value="external_control"/> </Properties> </Controller> </AssignControllerAction> <OverrideControllerValueAction> <Throttle value="0" active="false"/> <Brake value="0" active="false"/> <Clutch value="0" active="false"/> <ParkingBrake value="0" active="false"/> <SteeringWheel value="0" active="false"/> <Gear number="0" active="false"/> </OverrideControllerValueAction> </ControllerAction> </PrivateAction> </Private> <Private entityRef="adversary"> <PrivateAction> <TeleportAction> <Position> <WorldPosition x="-9.4" y="-71.0" z="0.5" h="1.57079632679"/> </Position> </TeleportAction> </PrivateAction> </Private> <Private entityRef="standing"> <PrivateAction> <TeleportAction> <Position> <WorldPosition x="-8.2" y="29.2" z="0.5" h="1.57079632679"/> </Position> </TeleportAction> </PrivateAction> </Private> <Private entityRef="pedestrian_w_transform_6635"> <PrivateAction> <TeleportAction> <Position> <WorldPosition x="73.61292266845703" y="19.014787673950195" z="0.5"/> </Position> </TeleportAction> </PrivateAction> </Private> <Private entityRef="pedestrian_w_transform_6636"> <PrivateAction> <TeleportAction> <Position> <WorldPosition x="-30.148883819580078" y="-12.820682525634766" z="0.5"/> </Position> </TeleportAction> </PrivateAction> </Private> <Private entityRef="pedestrian_w_transform_6646"> <PrivateAction> <TeleportAction> <Position> <WorldPosition x="68.70637512207031" y="94.32281494140625" z="0.5"/> </Position> </TeleportAction> </PrivateAction> </Private> <Private entityRef="pedestrian_close_to_adversary_6655"> <PrivateAction> <TeleportAction> <Position> <WorldPosition x="-17.588972091674805" y="-77.87088775634766" z="0.03384090214967728"/> </Position> </TeleportAction> </PrivateAction> </Private> <Private entityRef="pedestrian_w_transform_6656"> <PrivateAction> <TeleportAction> <Position> <WorldPosition x="-96.84188842773438" y="-23.185321807861328" z="0.5"/> </Position> </TeleportAction> </PrivateAction> </Private> </Actions> </Init> <Story name="MyStory"> <Act name="Behavior"> <ManeuverGroup maximumExecutionCount="1" name="ManeuverSequence"> <Actors selectTriggeringEntities="false"> <EntityRef entityRef="adversary"/> </Actors> <Maneuver name="LaneChangeSimpleManeuver"> <Event name="AdversaryAccelerates" priority="overwrite"> <Action name="AdversaryAccelerates"> <PrivateAction> <LongitudinalAction> <SpeedAction> <SpeedActionDynamics dynamicsShape="step" value="50" dynamicsDimension="distance"/> <SpeedActionTarget> <AbsoluteTargetSpeed value="5.0"/> </SpeedActionTarget> </SpeedAction> </LongitudinalAction> </PrivateAction> </Action> <StartTrigger> <ConditionGroup> <Condition name="StartCondition" delay="0" conditionEdge="rising"> <ByEntityCondition> <TriggeringEntities triggeringEntitiesRule="any"> <EntityRef entityRef="hero"/> </TriggeringEntities> <EntityCondition> <RelativeDistanceCondition entityRef="adversary" relativeDistanceType="cartesianDistance" value="40.0" freespace="false" rule="lessThan"/> </EntityCondition> </ByEntityCondition> </Condition> </ConditionGroup> </StartTrigger> </Event> <Event name="AdversaryChangesLane" priority="overwrite"> <Action name="AdversaryChangesLane"> <PrivateAction> <LateralAction> <LaneChangeAction> <LaneChangeActionDynamics dynamicsShape="linear" value="25" dynamicsDimension="distance"/> <LaneChangeTarget> <RelativeTargetLane entityRef="adversary" value="-1"/> </LaneChangeTarget> </LaneChangeAction> </LateralAction> </PrivateAction> </Action> <StartTrigger> <ConditionGroup> <Condition name="AfterAdversaryAccelerates" delay="0" conditionEdge="rising"> <ByValueCondition> <StoryboardElementStateCondition storyboardElementType="action" storyboardElementRef="AdversaryAccelerates" state="completeState"/> </ByValueCondition> </Condition> </ConditionGroup> </StartTrigger> </Event> </Maneuver> </ManeuverGroup> <StartTrigger> <ConditionGroup> <Condition name="OverallStartCondition" delay="0" conditionEdge="rising"> <ByEntityCondition> <TriggeringEntities triggeringEntitiesRule="any"> <EntityRef entityRef="hero"/> </TriggeringEntities> <EntityCondition> <TraveledDistanceCondition value="1.0"/> </EntityCondition> </ByEntityCondition> </Condition> <Condition name="StartTime" delay="0" conditionEdge="rising"> <ByValueCondition> <SimulationTimeCondition value="0" rule="equalTo"/> </ByValueCondition> </Condition> </ConditionGroup> </StartTrigger> <StopTrigger> <ConditionGroup> <Condition name="EndCondition" delay="0" conditionEdge="rising"> <ByEntityCondition> <TriggeringEntities triggeringEntitiesRule="any"> <EntityRef entityRef="hero"/> </TriggeringEntities> <EntityCondition> <TraveledDistanceCondition value="200.0"/> </EntityCondition> </ByEntityCondition> </Condition> </ConditionGroup> </StopTrigger> </Act> </Story> <StopTrigger> <ConditionGroup> <Condition name="criteria_RunningStopTest" delay="0" conditionEdge="rising"> <ByValueCondition> <ParameterCondition parameterRef="" value="" rule="lessThan"/> </ByValueCondition> </Condition> <Condition name="criteria_RunningRedLightTest" delay="0" conditionEdge="rising"> <ByValueCondition> <ParameterCondition parameterRef="" value="" rule="lessThan"/> </ByValueCondition> </Condition> <Condition name="criteria_WrongLaneTest" delay="0" conditionEdge="rising"> <ByValueCondition> <ParameterCondition parameterRef="" value="" rule="lessThan"/> </ByValueCondition> </Condition> <Condition name="criteria_OnSidewalkTest" delay="0" conditionEdge="rising"> <ByValueCondition> <ParameterCondition parameterRef="" value="" rule="lessThan"/> </ByValueCondition> </Condition> <Condition name="criteria_KeepLaneTest" delay="0" conditionEdge="rising"> <ByValueCondition> <ParameterCondition parameterRef="" value="" rule="lessThan"/> </ByValueCondition> </Condition> <Condition name="criteria_CollisionTest" delay="0" conditionEdge="rising"> <ByValueCondition> <ParameterCondition parameterRef="" value="" rule="lessThan"/> </ByValueCondition> </Condition> <Condition name="criteria_DrivenDistanceTest" delay="0" conditionEdge="rising"> <ByValueCondition> <ParameterCondition parameterRef="distance_success" value="100" rule="lessThan"/> </ByValueCondition> </Condition> </ConditionGroup> </StopTrigger> </Storyboard> </OpenSCENARIO> ```
i would like to instruct you to remove pedestrian actor named pedestrian_close_to_adversary_20752? ``` <?xml version="1.0" ?> <OpenSCENARIO> <FileHeader revMajor="1" revMinor="0" date="2020-03-24T12:00:00" description="CARLA:LaneChangeSimple" author=""/> <ParameterDeclarations/> <CatalogLocations/> <RoadNetwork> <LogicFile filepath="Town04"/> <SceneGraphFile filepath=""/> </RoadNetwork> <Entities> <ScenarioObject name="hero"> <Vehicle name="vehicle.tesla.model3" vehicleCategory="car"> <ParameterDeclarations/> <Performance maxSpeed="69.444" maxAcceleration="200" maxDeceleration="10.0"/> <BoundingBox> <Center x="1.5" y="0.0" z="0.9"/> <Dimensions width="2.1" length="4.5" height="1.8"/> </BoundingBox> <Axles> <FrontAxle maxSteering="0.5" wheelDiameter="0.6" trackWidth="1.8" positionX="3.1" positionZ="0.3"/> <RearAxle maxSteering="0.0" wheelDiameter="0.6" trackWidth="1.8" positionX="0.0" positionZ="0.3"/> </Axles> <Properties> <Property name="type" value="ego_vehicle"/> </Properties> </Vehicle> </ScenarioObject> <ScenarioObject name="adversary"> <Vehicle name="vehicle.lincoln.mkz_2017" vehicleCategory="car"> <ParameterDeclarations/> <Performance maxSpeed="69.444" maxAcceleration="200" maxDeceleration="10.0"/> <BoundingBox> <Center x="1.5" y="0.0" z="0.9"/> <Dimensions width="2.1" length="4.5" height="1.8"/> </BoundingBox> <Axles> <FrontAxle maxSteering="0.5" wheelDiameter="0.6" trackWidth="1.8" positionX="3.1" positionZ="0.3"/> <RearAxle maxSteering="0.0" wheelDiameter="0.6" trackWidth="1.8" positionX="0.0" positionZ="0.3"/> </Axles> <Properties> <Property name="type" value="simulation"/> </Properties> </Vehicle> </ScenarioObject> <ScenarioObject name="standing"> <Vehicle name="vehicle.volkswagen.t2" vehicleCategory="car"> <ParameterDeclarations/> <Performance maxSpeed="69.444" maxAcceleration="200" maxDeceleration="10.0"/> <BoundingBox> <Center x="1.5" y="0.0" z="0.9"/> <Dimensions width="2.1" length="4.5" height="1.8"/> </BoundingBox> <Axles> <FrontAxle maxSteering="0.5" wheelDiameter="0.6" trackWidth="1.8" positionX="3.1" positionZ="0.3"/> <RearAxle maxSteering="0.0" wheelDiameter="0.6" trackWidth="1.8" positionX="0.0" positionZ="0.3"/> </Axles> <Properties> <Property name="type" value="simulation"/> </Properties> </Vehicle> </ScenarioObject> <ScenarioObject name="pedestrian_close_to_adversary_20752"> <Pedestrian model="walker.pedestrian.0001" mass="80" name="walker.pedestrian.0001" pedestrianCategory="pedestrian"> <ParameterDeclarations/> <BoundingBox> <Center x="1.5" y="0.0" z="0.9"/> <Dimensions width="2" length="2" height="2"/> </BoundingBox> <Properties> <Property name="type" value="simulation"/> </Properties> </Pedestrian> </ScenarioObject> <ScenarioObject name="pedestrian_w_transform_20756"> <Pedestrian model="walker.pedestrian.0001" mass="80" name="walker.pedestrian.0001" pedestrianCategory="pedestrian"> <ParameterDeclarations/> <BoundingBox> <Center x="1.5" y="0.0" z="0.9"/> <Dimensions width="2" length="2" height="2"/> </BoundingBox> <Properties> <Property name="type" value="simulation"/> </Properties> </Pedestrian> </ScenarioObject> <ScenarioObject name="pedestrian_w_transform_20764"> <Pedestrian model="walker.pedestrian.0001" mass="80" name="walker.pedestrian.0001" pedestrianCategory="pedestrian"> <ParameterDeclarations/> <BoundingBox> <Center x="1.5" y="0.0" z="0.9"/> <Dimensions width="2" length="2" height="2"/> </BoundingBox> <Properties> <Property name="type" value="simulation"/> </Properties> </Pedestrian> </ScenarioObject> </Entities> <Storyboard> <Init> <Actions> <GlobalAction> <EnvironmentAction> <Environment name="Environment1"> <TimeOfDay animation="false" dateTime="2019-06-25T12:00:00"/> <Weather cloudState="free"> <Sun intensity="0.85" azimuth="0" elevation="1.31"/> <Fog visualRange="100000.0"/> <Precipitation precipitationType="dry" intensity="0.0"/> </Weather> <RoadCondition frictionScaleFactor="1.0"/> </Environment> </EnvironmentAction> </GlobalAction> <Private entityRef="hero"> <PrivateAction> <TeleportAction> <Position> <WorldPosition x="-9.4" y="-152.8" z="0.5" h="1.57079632679"/> </Position> </TeleportAction> </PrivateAction> <PrivateAction> <ControllerAction> <AssignControllerAction> <Controller name="HeroAgent"> <Properties> <Property name="module" value="external_control"/> </Properties> </Controller> </AssignControllerAction> <OverrideControllerValueAction> <Throttle value="0" active="false"/> <Brake value="0" active="false"/> <Clutch value="0" active="false"/> <ParkingBrake value="0" active="false"/> <SteeringWheel value="0" active="false"/> <Gear number="0" active="false"/> </OverrideControllerValueAction> </ControllerAction> </PrivateAction> </Private> <Private entityRef="adversary"> <PrivateAction> <TeleportAction> <Position> <WorldPosition x="-9.4" y="-71.0" z="0.5" h="1.57079632679"/> </Position> </TeleportAction> </PrivateAction> </Private> <Private entityRef="standing"> <PrivateAction> <TeleportAction> <Position> <WorldPosition x="-8.2" y="29.2" z="0.5" h="1.57079632679"/> </Position> </TeleportAction> </PrivateAction> </Private> <Private entityRef="pedestrian_close_to_adversary_20752"> <PrivateAction> <TeleportAction> <Position> <WorldPosition x="-1.8929678201675415" y="-73.80962371826172" z="0.03382125869393349"/> </Position> </TeleportAction> </PrivateAction> </Private> <Private entityRef="pedestrian_w_transform_20756"> <PrivateAction> <TeleportAction> <Position> <WorldPosition x="-80.76964569091797" y="87.65705871582031" z="0.5"/> </Position> </TeleportAction> </PrivateAction> </Private> <Private entityRef="pedestrian_w_transform_20764"> <PrivateAction> <TeleportAction> <Position> <WorldPosition x="46.69807815551758" y="-28.875350952148438" z="0.5"/> </Position> </TeleportAction> </PrivateAction> </Private> </Actions> </Init> <Story name="MyStory"> <Act name="Behavior"> <ManeuverGroup maximumExecutionCount="1" name="ManeuverSequence"> <Actors selectTriggeringEntities="false"> <EntityRef entityRef="adversary"/> </Actors> <Maneuver name="LaneChangeSimpleManeuver"> <Event name="AdversaryAccelerates" priority="overwrite"> <Action name="AdversaryAccelerates"> <PrivateAction> <LongitudinalAction> <SpeedAction> <SpeedActionDynamics dynamicsShape="step" value="50" dynamicsDimension="distance"/> <SpeedActionTarget> <AbsoluteTargetSpeed value="5.0"/> </SpeedActionTarget> </SpeedAction> </LongitudinalAction> </PrivateAction> </Action> <StartTrigger> <ConditionGroup> <Condition name="StartCondition" delay="0" conditionEdge="rising"> <ByEntityCondition> <TriggeringEntities triggeringEntitiesRule="any"> <EntityRef entityRef="hero"/> </TriggeringEntities> <EntityCondition> <RelativeDistanceCondition entityRef="adversary" relativeDistanceType="cartesianDistance" value="40.0" freespace="false" rule="lessThan"/> </EntityCondition> </ByEntityCondition> </Condition> </ConditionGroup> </StartTrigger> </Event> <Event name="AdversaryChangesLane" priority="overwrite"> <Action name="AdversaryChangesLane"> <PrivateAction> <LateralAction> <LaneChangeAction> <LaneChangeActionDynamics dynamicsShape="linear" value="25" dynamicsDimension="distance"/> <LaneChangeTarget> <RelativeTargetLane entityRef="adversary" value="-1"/> </LaneChangeTarget> </LaneChangeAction> </LateralAction> </PrivateAction> </Action> <StartTrigger> <ConditionGroup> <Condition name="AfterAdversaryAccelerates" delay="0" conditionEdge="rising"> <ByValueCondition> <StoryboardElementStateCondition storyboardElementType="action" storyboardElementRef="AdversaryAccelerates" state="completeState"/> </ByValueCondition> </Condition> </ConditionGroup> </StartTrigger> </Event> </Maneuver> </ManeuverGroup> <StartTrigger> <ConditionGroup> <Condition name="OverallStartCondition" delay="0" conditionEdge="rising"> <ByEntityCondition> <TriggeringEntities triggeringEntitiesRule="any"> <EntityRef entityRef="hero"/> </TriggeringEntities> <EntityCondition> <TraveledDistanceCondition value="1.0"/> </EntityCondition> </ByEntityCondition> </Condition> <Condition name="StartTime" delay="0" conditionEdge="rising"> <ByValueCondition> <SimulationTimeCondition value="0" rule="equalTo"/> </ByValueCondition> </Condition> </ConditionGroup> </StartTrigger> <StopTrigger> <ConditionGroup> <Condition name="EndCondition" delay="0" conditionEdge="rising"> <ByEntityCondition> <TriggeringEntities triggeringEntitiesRule="any"> <EntityRef entityRef="hero"/> </TriggeringEntities> <EntityCondition> <TraveledDistanceCondition value="200.0"/> </EntityCondition> </ByEntityCondition> </Condition> </ConditionGroup> </StopTrigger> </Act> </Story> <StopTrigger> <ConditionGroup> <Condition name="criteria_RunningStopTest" delay="0" conditionEdge="rising"> <ByValueCondition> <ParameterCondition parameterRef="" value="" rule="lessThan"/> </ByValueCondition> </Condition> <Condition name="criteria_RunningRedLightTest" delay="0" conditionEdge="rising"> <ByValueCondition> <ParameterCondition parameterRef="" value="" rule="lessThan"/> </ByValueCondition> </Condition> <Condition name="criteria_WrongLaneTest" delay="0" conditionEdge="rising"> <ByValueCondition> <ParameterCondition parameterRef="" value="" rule="lessThan"/> </ByValueCondition> </Condition> <Condition name="criteria_OnSidewalkTest" delay="0" conditionEdge="rising"> <ByValueCondition> <ParameterCondition parameterRef="" value="" rule="lessThan"/> </ByValueCondition> </Condition> <Condition name="criteria_KeepLaneTest" delay="0" conditionEdge="rising"> <ByValueCondition> <ParameterCondition parameterRef="" value="" rule="lessThan"/> </ByValueCondition> </Condition> <Condition name="criteria_CollisionTest" delay="0" conditionEdge="rising"> <ByValueCondition> <ParameterCondition parameterRef="" value="" rule="lessThan"/> </ByValueCondition> </Condition> <Condition name="criteria_DrivenDistanceTest" delay="0" conditionEdge="rising"> <ByValueCondition> <ParameterCondition parameterRef="distance_success" value="100" rule="lessThan"/> </ByValueCondition> </Condition> </ConditionGroup> </StopTrigger> </Storyboard> </OpenSCENARIO> ```
Here is the result: ``` <?xml version="1.0" ?> <OpenSCENARIO> <FileHeader revMajor="1" revMinor="0" date="2020-03-24T12:00:00" description="CARLA:LaneChangeSimple" author=""/> <ParameterDeclarations/> <CatalogLocations/> <RoadNetwork> <LogicFile filepath="Town04"/> <SceneGraphFile filepath=""/> </RoadNetwork> <Entities> <ScenarioObject name="hero"> <Vehicle name="vehicle.tesla.model3" vehicleCategory="car"> <ParameterDeclarations/> <Performance maxSpeed="69.444" maxAcceleration="200" maxDeceleration="10.0"/> <BoundingBox> <Center x="1.5" y="0.0" z="0.9"/> <Dimensions width="2.1" length="4.5" height="1.8"/> </BoundingBox> <Axles> <FrontAxle maxSteering="0.5" wheelDiameter="0.6" trackWidth="1.8" positionX="3.1" positionZ="0.3"/> <RearAxle maxSteering="0.0" wheelDiameter="0.6" trackWidth="1.8" positionX="0.0" positionZ="0.3"/> </Axles> <Properties> <Property name="type" value="ego_vehicle"/> </Properties> </Vehicle> </ScenarioObject> <ScenarioObject name="adversary"> <Vehicle name="vehicle.lincoln.mkz_2017" vehicleCategory="car"> <ParameterDeclarations/> <Performance maxSpeed="69.444" maxAcceleration="200" maxDeceleration="10.0"/> <BoundingBox> <Center x="1.5" y="0.0" z="0.9"/> <Dimensions width="2.1" length="4.5" height="1.8"/> </BoundingBox> <Axles> <FrontAxle maxSteering="0.5" wheelDiameter="0.6" trackWidth="1.8" positionX="3.1" positionZ="0.3"/> <RearAxle maxSteering="0.0" wheelDiameter="0.6" trackWidth="1.8" positionX="0.0" positionZ="0.3"/> </Axles> <Properties> <Property name="type" value="simulation"/> </Properties> </Vehicle> </ScenarioObject> <ScenarioObject name="standing"> <Vehicle name="vehicle.volkswagen.t2" vehicleCategory="car"> <ParameterDeclarations/> <Performance maxSpeed="69.444" maxAcceleration="200" maxDeceleration="10.0"/> <BoundingBox> <Center x="1.5" y="0.0" z="0.9"/> <Dimensions width="2.1" length="4.5" height="1.8"/> </BoundingBox> <Axles> <FrontAxle maxSteering="0.5" wheelDiameter="0.6" trackWidth="1.8" positionX="3.1" positionZ="0.3"/> <RearAxle maxSteering="0.0" wheelDiameter="0.6" trackWidth="1.8" positionX="0.0" positionZ="0.3"/> </Axles> <Properties> <Property name="type" value="simulation"/> </Properties> </Vehicle> </ScenarioObject> <ScenarioObject name="pedestrian_w_transform_20756"> <Pedestrian model="walker.pedestrian.0001" mass="80" name="walker.pedestrian.0001" pedestrianCategory="pedestrian"> <ParameterDeclarations/> <BoundingBox> <Center x="1.5" y="0.0" z="0.9"/> <Dimensions width="2" length="2" height="2"/> </BoundingBox> <Properties> <Property name="type" value="simulation"/> </Properties> </Pedestrian> </ScenarioObject> <ScenarioObject name="pedestrian_w_transform_20764"> <Pedestrian model="walker.pedestrian.0001" mass="80" name="walker.pedestrian.0001" pedestrianCategory="pedestrian"> <ParameterDeclarations/> <BoundingBox> <Center x="1.5" y="0.0" z="0.9"/> <Dimensions width="2" length="2" height="2"/> </BoundingBox> <Properties> <Property name="type" value="simulation"/> </Properties> </Pedestrian> </ScenarioObject> </Entities> <Storyboard> <Init> <Actions> <GlobalAction> <EnvironmentAction> <Environment name="Environment1"> <TimeOfDay animation="false" dateTime="2019-06-25T12:00:00"/> <Weather cloudState="free"> <Sun intensity="0.85" azimuth="0" elevation="1.31"/> <Fog visualRange="100000.0"/> <Precipitation precipitationType="dry" intensity="0.0"/> </Weather> <RoadCondition frictionScaleFactor="1.0"/> </Environment> </EnvironmentAction> </GlobalAction> <Private entityRef="hero"> <PrivateAction> <TeleportAction> <Position> <WorldPosition x="-9.4" y="-152.8" z="0.5" h="1.57079632679"/> </Position> </TeleportAction> </PrivateAction> <PrivateAction> <ControllerAction> <AssignControllerAction> <Controller name="HeroAgent"> <Properties> <Property name="module" value="external_control"/> </Properties> </Controller> </AssignControllerAction> <OverrideControllerValueAction> <Throttle value="0" active="false"/> <Brake value="0" active="false"/> <Clutch value="0" active="false"/> <ParkingBrake value="0" active="false"/> <SteeringWheel value="0" active="false"/> <Gear number="0" active="false"/> </OverrideControllerValueAction> </ControllerAction> </PrivateAction> </Private> <Private entityRef="adversary"> <PrivateAction> <TeleportAction> <Position> <WorldPosition x="-9.4" y="-71.0" z="0.5" h="1.57079632679"/> </Position> </TeleportAction> </PrivateAction> </Private> <Private entityRef="standing"> <PrivateAction> <TeleportAction> <Position> <WorldPosition x="-8.2" y="29.2" z="0.5" h="1.57079632679"/> </Position> </TeleportAction> </PrivateAction> </Private> <Private entityRef="pedestrian_w_transform_20756"> <PrivateAction> <TeleportAction> <Position> <WorldPosition x="-80.76964569091797" y="87.65705871582031" z="0.5"/> </Position> </TeleportAction> </PrivateAction> </Private> <Private entityRef="pedestrian_w_transform_20764"> <PrivateAction> <TeleportAction> <Position> <WorldPosition x="46.69807815551758" y="-28.875350952148438" z="0.5"/> </Position> </TeleportAction> </PrivateAction> </Private> </Actions> </Init> <Story name="MyStory"> <Act name="Behavior"> <ManeuverGroup maximumExecutionCount="1" name="ManeuverSequence"> <Actors selectTriggeringEntities="false"> <EntityRef entityRef="adversary"/> </Actors> <Maneuver name="LaneChangeSimpleManeuver"> <Event name="AdversaryAccelerates" priority="overwrite"> <Action name="AdversaryAccelerates"> <PrivateAction> <LongitudinalAction> <SpeedAction> <SpeedActionDynamics dynamicsShape="step" value="50" dynamicsDimension="distance"/> <SpeedActionTarget> <AbsoluteTargetSpeed value="5.0"/> </SpeedActionTarget> </SpeedAction> </LongitudinalAction> </PrivateAction> </Action> <StartTrigger> <ConditionGroup> <Condition name="StartCondition" delay="0" conditionEdge="rising"> <ByEntityCondition> <TriggeringEntities triggeringEntitiesRule="any"> <EntityRef entityRef="hero"/> </TriggeringEntities> <EntityCondition> <RelativeDistanceCondition entityRef="adversary" relativeDistanceType="cartesianDistance" value="40.0" freespace="false" rule="lessThan"/> </EntityCondition> </ByEntityCondition> </Condition> </ConditionGroup> </StartTrigger> </Event> <Event name="AdversaryChangesLane" priority="overwrite"> <Action name="AdversaryChangesLane"> <PrivateAction> <LateralAction> <LaneChangeAction> <LaneChangeActionDynamics dynamicsShape="linear" value="25" dynamicsDimension="distance"/> <LaneChangeTarget> <RelativeTargetLane entityRef="adversary" value="-1"/> </LaneChangeTarget> </LaneChangeAction> </LateralAction> </PrivateAction> </Action> <StartTrigger> <ConditionGroup> <Condition name="AfterAdversaryAccelerates" delay="0" conditionEdge="rising"> <ByValueCondition> <StoryboardElementStateCondition storyboardElementType="action" storyboardElementRef="AdversaryAccelerates" state="completeState"/> </ByValueCondition> </Condition> </ConditionGroup> </StartTrigger> </Event> </Maneuver> </ManeuverGroup> <StartTrigger> <ConditionGroup> <Condition name="OverallStartCondition" delay="0" conditionEdge="rising"> <ByEntityCondition> <TriggeringEntities triggeringEntitiesRule="any"> <EntityRef entityRef="hero"/> </TriggeringEntities> <EntityCondition> <TraveledDistanceCondition value="1.0"/> </EntityCondition> </ByEntityCondition> </Condition> <Condition name="StartTime" delay="0" conditionEdge="rising"> <ByValueCondition> <SimulationTimeCondition value="0" rule="equalTo"/> </ByValueCondition> </Condition> </ConditionGroup> </StartTrigger> <StopTrigger> <ConditionGroup> <Condition name="EndCondition" delay="0" conditionEdge="rising"> <ByEntityCondition> <TriggeringEntities triggeringEntitiesRule="any"> <EntityRef entityRef="hero"/> </TriggeringEntities> <EntityCondition> <TraveledDistanceCondition value="200.0"/> </EntityCondition> </ByEntityCondition> </Condition> </ConditionGroup> </StopTrigger> </Act> </Story> <StopTrigger> <ConditionGroup> <Condition name="criteria_RunningStopTest" delay="0" conditionEdge="rising"> <ByValueCondition> <ParameterCondition parameterRef="" value="" rule="lessThan"/> </ByValueCondition> </Condition> <Condition name="criteria_RunningRedLightTest" delay="0" conditionEdge="rising"> <ByValueCondition> <ParameterCondition parameterRef="" value="" rule="lessThan"/> </ByValueCondition> </Condition> <Condition name="criteria_WrongLaneTest" delay="0" conditionEdge="rising"> <ByValueCondition> <ParameterCondition parameterRef="" value="" rule="lessThan"/> </ByValueCondition> </Condition> <Condition name="criteria_OnSidewalkTest" delay="0" conditionEdge="rising"> <ByValueCondition> <ParameterCondition parameterRef="" value="" rule="lessThan"/> </ByValueCondition> </Condition> <Condition name="criteria_KeepLaneTest" delay="0" conditionEdge="rising"> <ByValueCondition> <ParameterCondition parameterRef="" value="" rule="lessThan"/> </ByValueCondition> </Condition> <Condition name="criteria_CollisionTest" delay="0" conditionEdge="rising"> <ByValueCondition> <ParameterCondition parameterRef="" value="" rule="lessThan"/> </ByValueCondition> </Condition> <Condition name="criteria_DrivenDistanceTest" delay="0" conditionEdge="rising"> <ByValueCondition> <ParameterCondition parameterRef="distance_success" value="100" rule="lessThan"/> </ByValueCondition> </Condition> </ConditionGroup> </StopTrigger> </Storyboard> </OpenSCENARIO> ```
i would like to instruct you to add pedestrian at location (27.62, -89.83, 0.5)? ``` <?xml version="1.0" ?> <OpenSCENARIO> <FileHeader revMajor="1" revMinor="0" date="2020-03-24T12:00:00" description="CARLA:LaneChangeSimple" author=""/> <ParameterDeclarations/> <CatalogLocations/> <RoadNetwork> <LogicFile filepath="Town04"/> <SceneGraphFile filepath=""/> </RoadNetwork> <Entities> <ScenarioObject name="hero"> <Vehicle name="vehicle.tesla.model3" vehicleCategory="car"> <ParameterDeclarations/> <Performance maxSpeed="69.444" maxAcceleration="200" maxDeceleration="10.0"/> <BoundingBox> <Center x="1.5" y="0.0" z="0.9"/> <Dimensions width="2.1" length="4.5" height="1.8"/> </BoundingBox> <Axles> <FrontAxle maxSteering="0.5" wheelDiameter="0.6" trackWidth="1.8" positionX="3.1" positionZ="0.3"/> <RearAxle maxSteering="0.0" wheelDiameter="0.6" trackWidth="1.8" positionX="0.0" positionZ="0.3"/> </Axles> <Properties> <Property name="type" value="ego_vehicle"/> </Properties> </Vehicle> </ScenarioObject> <ScenarioObject name="adversary"> <Vehicle name="vehicle.lincoln.mkz_2017" vehicleCategory="car"> <ParameterDeclarations/> <Performance maxSpeed="69.444" maxAcceleration="200" maxDeceleration="10.0"/> <BoundingBox> <Center x="1.5" y="0.0" z="0.9"/> <Dimensions width="2.1" length="4.5" height="1.8"/> </BoundingBox> <Axles> <FrontAxle maxSteering="0.5" wheelDiameter="0.6" trackWidth="1.8" positionX="3.1" positionZ="0.3"/> <RearAxle maxSteering="0.0" wheelDiameter="0.6" trackWidth="1.8" positionX="0.0" positionZ="0.3"/> </Axles> <Properties> <Property name="type" value="simulation"/> </Properties> </Vehicle> </ScenarioObject> <ScenarioObject name="standing"> <Vehicle name="vehicle.volkswagen.t2" vehicleCategory="car"> <ParameterDeclarations/> <Performance maxSpeed="69.444" maxAcceleration="200" maxDeceleration="10.0"/> <BoundingBox> <Center x="1.5" y="0.0" z="0.9"/> <Dimensions width="2.1" length="4.5" height="1.8"/> </BoundingBox> <Axles> <FrontAxle maxSteering="0.5" wheelDiameter="0.6" trackWidth="1.8" positionX="3.1" positionZ="0.3"/> <RearAxle maxSteering="0.0" wheelDiameter="0.6" trackWidth="1.8" positionX="0.0" positionZ="0.3"/> </Axles> <Properties> <Property name="type" value="simulation"/> </Properties> </Vehicle> </ScenarioObject> <ScenarioObject name="pedestrian_close_to_adversary_15431"> <Pedestrian model="walker.pedestrian.0001" mass="80" name="walker.pedestrian.0001" pedestrianCategory="pedestrian"> <ParameterDeclarations/> <BoundingBox> <Center x="1.5" y="0.0" z="0.9"/> <Dimensions width="2" length="2" height="2"/> </BoundingBox> <Properties> <Property name="type" value="simulation"/> </Properties> </Pedestrian> </ScenarioObject> <ScenarioObject name="pedestrian_w_transform_15432"> <Pedestrian model="walker.pedestrian.0001" mass="80" name="walker.pedestrian.0001" pedestrianCategory="pedestrian"> <ParameterDeclarations/> <BoundingBox> <Center x="1.5" y="0.0" z="0.9"/> <Dimensions width="2" length="2" height="2"/> </BoundingBox> <Properties> <Property name="type" value="simulation"/> </Properties> </Pedestrian> </ScenarioObject> <ScenarioObject name="pedestrian_w_transform_15433"> <Pedestrian model="walker.pedestrian.0001" mass="80" name="walker.pedestrian.0001" pedestrianCategory="pedestrian"> <ParameterDeclarations/> <BoundingBox> <Center x="1.5" y="0.0" z="0.9"/> <Dimensions width="2" length="2" height="2"/> </BoundingBox> <Properties> <Property name="type" value="simulation"/> </Properties> </Pedestrian> </ScenarioObject> <ScenarioObject name="pedestrian_w_transform_15434"> <Pedestrian model="walker.pedestrian.0001" mass="80" name="walker.pedestrian.0001" pedestrianCategory="pedestrian"> <ParameterDeclarations/> <BoundingBox> <Center x="1.5" y="0.0" z="0.9"/> <Dimensions width="2" length="2" height="2"/> </BoundingBox> <Properties> <Property name="type" value="simulation"/> </Properties> </Pedestrian> </ScenarioObject> </Entities> <Storyboard> <Init> <Actions> <GlobalAction> <EnvironmentAction> <Environment name="Environment1"> <TimeOfDay animation="false" dateTime="2019-06-25T12:00:00"/> <Weather cloudState="free"> <Sun intensity="0.85" azimuth="0" elevation="1.31"/> <Fog visualRange="100000.0"/> <Precipitation precipitationType="dry" intensity="0.0"/> </Weather> <RoadCondition frictionScaleFactor="1.0"/> </Environment> </EnvironmentAction> </GlobalAction> <Private entityRef="hero"> <PrivateAction> <TeleportAction> <Position> <WorldPosition x="-9.4" y="-152.8" z="0.5" h="1.57079632679"/> </Position> </TeleportAction> </PrivateAction> <PrivateAction> <ControllerAction> <AssignControllerAction> <Controller name="HeroAgent"> <Properties> <Property name="module" value="external_control"/> </Properties> </Controller> </AssignControllerAction> <OverrideControllerValueAction> <Throttle value="0" active="false"/> <Brake value="0" active="false"/> <Clutch value="0" active="false"/> <ParkingBrake value="0" active="false"/> <SteeringWheel value="0" active="false"/> <Gear number="0" active="false"/> </OverrideControllerValueAction> </ControllerAction> </PrivateAction> </Private> <Private entityRef="adversary"> <PrivateAction> <TeleportAction> <Position> <WorldPosition x="-9.4" y="-71.0" z="0.5" h="1.57079632679"/> </Position> </TeleportAction> </PrivateAction> </Private> <Private entityRef="standing"> <PrivateAction> <TeleportAction> <Position> <WorldPosition x="-8.2" y="29.2" z="0.5" h="1.57079632679"/> </Position> </TeleportAction> </PrivateAction> </Private> <Private entityRef="pedestrian_close_to_adversary_15431"> <PrivateAction> <TeleportAction> <Position> <WorldPosition x="-9.865310668945312" y="-66.8980941772461" z="0.03372646123170853"/> </Position> </TeleportAction> </PrivateAction> </Private> <Private entityRef="pedestrian_w_transform_15432"> <PrivateAction> <TeleportAction> <Position> <WorldPosition x="-32.25659942626953" y="28.499114990234375" z="0.5"/> </Position> </TeleportAction> </PrivateAction> </Private> <Private entityRef="pedestrian_w_transform_15433"> <PrivateAction> <TeleportAction> <Position> <WorldPosition x="12.106345176696777" y="-62.761661529541016" z="0.5"/> </Position> </TeleportAction> </PrivateAction> </Private> <Private entityRef="pedestrian_w_transform_15434"> <PrivateAction> <TeleportAction> <Position> <WorldPosition x="11.041901588439941" y="-26.83405113220215" z="0.5"/> </Position> </TeleportAction> </PrivateAction> </Private> </Actions> </Init> <Story name="MyStory"> <Act name="Behavior"> <ManeuverGroup maximumExecutionCount="1" name="ManeuverSequence"> <Actors selectTriggeringEntities="false"> <EntityRef entityRef="adversary"/> </Actors> <Maneuver name="LaneChangeSimpleManeuver"> <Event name="AdversaryAccelerates" priority="overwrite"> <Action name="AdversaryAccelerates"> <PrivateAction> <LongitudinalAction> <SpeedAction> <SpeedActionDynamics dynamicsShape="step" value="50" dynamicsDimension="distance"/> <SpeedActionTarget> <AbsoluteTargetSpeed value="5.0"/> </SpeedActionTarget> </SpeedAction> </LongitudinalAction> </PrivateAction> </Action> <StartTrigger> <ConditionGroup> <Condition name="StartCondition" delay="0" conditionEdge="rising"> <ByEntityCondition> <TriggeringEntities triggeringEntitiesRule="any"> <EntityRef entityRef="hero"/> </TriggeringEntities> <EntityCondition> <RelativeDistanceCondition entityRef="adversary" relativeDistanceType="cartesianDistance" value="40.0" freespace="false" rule="lessThan"/> </EntityCondition> </ByEntityCondition> </Condition> </ConditionGroup> </StartTrigger> </Event> <Event name="AdversaryChangesLane" priority="overwrite"> <Action name="AdversaryChangesLane"> <PrivateAction> <LateralAction> <LaneChangeAction> <LaneChangeActionDynamics dynamicsShape="linear" value="25" dynamicsDimension="distance"/> <LaneChangeTarget> <RelativeTargetLane entityRef="adversary" value="-1"/> </LaneChangeTarget> </LaneChangeAction> </LateralAction> </PrivateAction> </Action> <StartTrigger> <ConditionGroup> <Condition name="AfterAdversaryAccelerates" delay="0" conditionEdge="rising"> <ByValueCondition> <StoryboardElementStateCondition storyboardElementType="action" storyboardElementRef="AdversaryAccelerates" state="completeState"/> </ByValueCondition> </Condition> </ConditionGroup> </StartTrigger> </Event> </Maneuver> </ManeuverGroup> <StartTrigger> <ConditionGroup> <Condition name="OverallStartCondition" delay="0" conditionEdge="rising"> <ByEntityCondition> <TriggeringEntities triggeringEntitiesRule="any"> <EntityRef entityRef="hero"/> </TriggeringEntities> <EntityCondition> <TraveledDistanceCondition value="1.0"/> </EntityCondition> </ByEntityCondition> </Condition> <Condition name="StartTime" delay="0" conditionEdge="rising"> <ByValueCondition> <SimulationTimeCondition value="0" rule="equalTo"/> </ByValueCondition> </Condition> </ConditionGroup> </StartTrigger> <StopTrigger> <ConditionGroup> <Condition name="EndCondition" delay="0" conditionEdge="rising"> <ByEntityCondition> <TriggeringEntities triggeringEntitiesRule="any"> <EntityRef entityRef="hero"/> </TriggeringEntities> <EntityCondition> <TraveledDistanceCondition value="200.0"/> </EntityCondition> </ByEntityCondition> </Condition> </ConditionGroup> </StopTrigger> </Act> </Story> <StopTrigger> <ConditionGroup> <Condition name="criteria_RunningStopTest" delay="0" conditionEdge="rising"> <ByValueCondition> <ParameterCondition parameterRef="" value="" rule="lessThan"/> </ByValueCondition> </Condition> <Condition name="criteria_RunningRedLightTest" delay="0" conditionEdge="rising"> <ByValueCondition> <ParameterCondition parameterRef="" value="" rule="lessThan"/> </ByValueCondition> </Condition> <Condition name="criteria_WrongLaneTest" delay="0" conditionEdge="rising"> <ByValueCondition> <ParameterCondition parameterRef="" value="" rule="lessThan"/> </ByValueCondition> </Condition> <Condition name="criteria_OnSidewalkTest" delay="0" conditionEdge="rising"> <ByValueCondition> <ParameterCondition parameterRef="" value="" rule="lessThan"/> </ByValueCondition> </Condition> <Condition name="criteria_KeepLaneTest" delay="0" conditionEdge="rising"> <ByValueCondition> <ParameterCondition parameterRef="" value="" rule="lessThan"/> </ByValueCondition> </Condition> <Condition name="criteria_CollisionTest" delay="0" conditionEdge="rising"> <ByValueCondition> <ParameterCondition parameterRef="" value="" rule="lessThan"/> </ByValueCondition> </Condition> <Condition name="criteria_DrivenDistanceTest" delay="0" conditionEdge="rising"> <ByValueCondition> <ParameterCondition parameterRef="distance_success" value="100" rule="lessThan"/> </ByValueCondition> </Condition> </ConditionGroup> </StopTrigger> </Storyboard> </OpenSCENARIO> ```
Here is the result: ``` <?xml version="1.0" ?> <OpenSCENARIO> <FileHeader revMajor="1" revMinor="0" date="2020-03-24T12:00:00" description="CARLA:LaneChangeSimple" author=""/> <ParameterDeclarations/> <CatalogLocations/> <RoadNetwork> <LogicFile filepath="Town04"/> <SceneGraphFile filepath=""/> </RoadNetwork> <Entities> <ScenarioObject name="hero"> <Vehicle name="vehicle.tesla.model3" vehicleCategory="car"> <ParameterDeclarations/> <Performance maxSpeed="69.444" maxAcceleration="200" maxDeceleration="10.0"/> <BoundingBox> <Center x="1.5" y="0.0" z="0.9"/> <Dimensions width="2.1" length="4.5" height="1.8"/> </BoundingBox> <Axles> <FrontAxle maxSteering="0.5" wheelDiameter="0.6" trackWidth="1.8" positionX="3.1" positionZ="0.3"/> <RearAxle maxSteering="0.0" wheelDiameter="0.6" trackWidth="1.8" positionX="0.0" positionZ="0.3"/> </Axles> <Properties> <Property name="type" value="ego_vehicle"/> </Properties> </Vehicle> </ScenarioObject> <ScenarioObject name="adversary"> <Vehicle name="vehicle.lincoln.mkz_2017" vehicleCategory="car"> <ParameterDeclarations/> <Performance maxSpeed="69.444" maxAcceleration="200" maxDeceleration="10.0"/> <BoundingBox> <Center x="1.5" y="0.0" z="0.9"/> <Dimensions width="2.1" length="4.5" height="1.8"/> </BoundingBox> <Axles> <FrontAxle maxSteering="0.5" wheelDiameter="0.6" trackWidth="1.8" positionX="3.1" positionZ="0.3"/> <RearAxle maxSteering="0.0" wheelDiameter="0.6" trackWidth="1.8" positionX="0.0" positionZ="0.3"/> </Axles> <Properties> <Property name="type" value="simulation"/> </Properties> </Vehicle> </ScenarioObject> <ScenarioObject name="standing"> <Vehicle name="vehicle.volkswagen.t2" vehicleCategory="car"> <ParameterDeclarations/> <Performance maxSpeed="69.444" maxAcceleration="200" maxDeceleration="10.0"/> <BoundingBox> <Center x="1.5" y="0.0" z="0.9"/> <Dimensions width="2.1" length="4.5" height="1.8"/> </BoundingBox> <Axles> <FrontAxle maxSteering="0.5" wheelDiameter="0.6" trackWidth="1.8" positionX="3.1" positionZ="0.3"/> <RearAxle maxSteering="0.0" wheelDiameter="0.6" trackWidth="1.8" positionX="0.0" positionZ="0.3"/> </Axles> <Properties> <Property name="type" value="simulation"/> </Properties> </Vehicle> </ScenarioObject> <ScenarioObject name="pedestrian_close_to_adversary_15431"> <Pedestrian model="walker.pedestrian.0001" mass="80" name="walker.pedestrian.0001" pedestrianCategory="pedestrian"> <ParameterDeclarations/> <BoundingBox> <Center x="1.5" y="0.0" z="0.9"/> <Dimensions width="2" length="2" height="2"/> </BoundingBox> <Properties> <Property name="type" value="simulation"/> </Properties> </Pedestrian> </ScenarioObject> <ScenarioObject name="pedestrian_w_transform_15432"> <Pedestrian model="walker.pedestrian.0001" mass="80" name="walker.pedestrian.0001" pedestrianCategory="pedestrian"> <ParameterDeclarations/> <BoundingBox> <Center x="1.5" y="0.0" z="0.9"/> <Dimensions width="2" length="2" height="2"/> </BoundingBox> <Properties> <Property name="type" value="simulation"/> </Properties> </Pedestrian> </ScenarioObject> <ScenarioObject name="pedestrian_w_transform_15433"> <Pedestrian model="walker.pedestrian.0001" mass="80" name="walker.pedestrian.0001" pedestrianCategory="pedestrian"> <ParameterDeclarations/> <BoundingBox> <Center x="1.5" y="0.0" z="0.9"/> <Dimensions width="2" length="2" height="2"/> </BoundingBox> <Properties> <Property name="type" value="simulation"/> </Properties> </Pedestrian> </ScenarioObject> <ScenarioObject name="pedestrian_w_transform_15434"> <Pedestrian model="walker.pedestrian.0001" mass="80" name="walker.pedestrian.0001" pedestrianCategory="pedestrian"> <ParameterDeclarations/> <BoundingBox> <Center x="1.5" y="0.0" z="0.9"/> <Dimensions width="2" length="2" height="2"/> </BoundingBox> <Properties> <Property name="type" value="simulation"/> </Properties> </Pedestrian> </ScenarioObject> <ScenarioObject name="pedestrian_w_transform_15435"> <Pedestrian model="walker.pedestrian.0001" mass="80" name="walker.pedestrian.0001" pedestrianCategory="pedestrian"> <ParameterDeclarations/> <BoundingBox> <Center x="1.5" y="0.0" z="0.9"/> <Dimensions width="2" length="2" height="2"/> </BoundingBox> <Properties> <Property name="type" value="simulation"/> </Properties> </Pedestrian> </ScenarioObject> </Entities> <Storyboard> <Init> <Actions> <GlobalAction> <EnvironmentAction> <Environment name="Environment1"> <TimeOfDay animation="false" dateTime="2019-06-25T12:00:00"/> <Weather cloudState="free"> <Sun intensity="0.85" azimuth="0" elevation="1.31"/> <Fog visualRange="100000.0"/> <Precipitation precipitationType="dry" intensity="0.0"/> </Weather> <RoadCondition frictionScaleFactor="1.0"/> </Environment> </EnvironmentAction> </GlobalAction> <Private entityRef="hero"> <PrivateAction> <TeleportAction> <Position> <WorldPosition x="-9.4" y="-152.8" z="0.5" h="1.57079632679"/> </Position> </TeleportAction> </PrivateAction> <PrivateAction> <ControllerAction> <AssignControllerAction> <Controller name="HeroAgent"> <Properties> <Property name="module" value="external_control"/> </Properties> </Controller> </AssignControllerAction> <OverrideControllerValueAction> <Throttle value="0" active="false"/> <Brake value="0" active="false"/> <Clutch value="0" active="false"/> <ParkingBrake value="0" active="false"/> <SteeringWheel value="0" active="false"/> <Gear number="0" active="false"/> </OverrideControllerValueAction> </ControllerAction> </PrivateAction> </Private> <Private entityRef="adversary"> <PrivateAction> <TeleportAction> <Position> <WorldPosition x="-9.4" y="-71.0" z="0.5" h="1.57079632679"/> </Position> </TeleportAction> </PrivateAction> </Private> <Private entityRef="standing"> <PrivateAction> <TeleportAction> <Position> <WorldPosition x="-8.2" y="29.2" z="0.5" h="1.57079632679"/> </Position> </TeleportAction> </PrivateAction> </Private> <Private entityRef="pedestrian_close_to_adversary_15431"> <PrivateAction> <TeleportAction> <Position> <WorldPosition x="-9.865310668945312" y="-66.8980941772461" z="0.03372646123170853"/> </Position> </TeleportAction> </PrivateAction> </Private> <Private entityRef="pedestrian_w_transform_15432"> <PrivateAction> <TeleportAction> <Position> <WorldPosition x="-32.25659942626953" y="28.499114990234375" z="0.5"/> </Position> </TeleportAction> </PrivateAction> </Private> <Private entityRef="pedestrian_w_transform_15433"> <PrivateAction> <TeleportAction> <Position> <WorldPosition x="12.106345176696777" y="-62.761661529541016" z="0.5"/> </Position> </TeleportAction> </PrivateAction> </Private> <Private entityRef="pedestrian_w_transform_15434"> <PrivateAction> <TeleportAction> <Position> <WorldPosition x="11.041901588439941" y="-26.83405113220215" z="0.5"/> </Position> </TeleportAction> </PrivateAction> </Private> <Private entityRef="pedestrian_w_transform_15435"> <PrivateAction> <TeleportAction> <Position> <WorldPosition x="27.61734390258789" y="-89.82579040527344" z="0.5"/> </Position> </TeleportAction> </PrivateAction> </Private> </Actions> </Init> <Story name="MyStory"> <Act name="Behavior"> <ManeuverGroup maximumExecutionCount="1" name="ManeuverSequence"> <Actors selectTriggeringEntities="false"> <EntityRef entityRef="adversary"/> </Actors> <Maneuver name="LaneChangeSimpleManeuver"> <Event name="AdversaryAccelerates" priority="overwrite"> <Action name="AdversaryAccelerates"> <PrivateAction> <LongitudinalAction> <SpeedAction> <SpeedActionDynamics dynamicsShape="step" value="50" dynamicsDimension="distance"/> <SpeedActionTarget> <AbsoluteTargetSpeed value="5.0"/> </SpeedActionTarget> </SpeedAction> </LongitudinalAction> </PrivateAction> </Action> <StartTrigger> <ConditionGroup> <Condition name="StartCondition" delay="0" conditionEdge="rising"> <ByEntityCondition> <TriggeringEntities triggeringEntitiesRule="any"> <EntityRef entityRef="hero"/> </TriggeringEntities> <EntityCondition> <RelativeDistanceCondition entityRef="adversary" relativeDistanceType="cartesianDistance" value="40.0" freespace="false" rule="lessThan"/> </EntityCondition> </ByEntityCondition> </Condition> </ConditionGroup> </StartTrigger> </Event> <Event name="AdversaryChangesLane" priority="overwrite"> <Action name="AdversaryChangesLane"> <PrivateAction> <LateralAction> <LaneChangeAction> <LaneChangeActionDynamics dynamicsShape="linear" value="25" dynamicsDimension="distance"/> <LaneChangeTarget> <RelativeTargetLane entityRef="adversary" value="-1"/> </LaneChangeTarget> </LaneChangeAction> </LateralAction> </PrivateAction> </Action> <StartTrigger> <ConditionGroup> <Condition name="AfterAdversaryAccelerates" delay="0" conditionEdge="rising"> <ByValueCondition> <StoryboardElementStateCondition storyboardElementType="action" storyboardElementRef="AdversaryAccelerates" state="completeState"/> </ByValueCondition> </Condition> </ConditionGroup> </StartTrigger> </Event> </Maneuver> </ManeuverGroup> <StartTrigger> <ConditionGroup> <Condition name="OverallStartCondition" delay="0" conditionEdge="rising"> <ByEntityCondition> <TriggeringEntities triggeringEntitiesRule="any"> <EntityRef entityRef="hero"/> </TriggeringEntities> <EntityCondition> <TraveledDistanceCondition value="1.0"/> </EntityCondition> </ByEntityCondition> </Condition> <Condition name="StartTime" delay="0" conditionEdge="rising"> <ByValueCondition> <SimulationTimeCondition value="0" rule="equalTo"/> </ByValueCondition> </Condition> </ConditionGroup> </StartTrigger> <StopTrigger> <ConditionGroup> <Condition name="EndCondition" delay="0" conditionEdge="rising"> <ByEntityCondition> <TriggeringEntities triggeringEntitiesRule="any"> <EntityRef entityRef="hero"/> </TriggeringEntities> <EntityCondition> <TraveledDistanceCondition value="200.0"/> </EntityCondition> </ByEntityCondition> </Condition> </ConditionGroup> </StopTrigger> </Act> </Story> <StopTrigger> <ConditionGroup> <Condition name="criteria_RunningStopTest" delay="0" conditionEdge="rising"> <ByValueCondition> <ParameterCondition parameterRef="" value="" rule="lessThan"/> </ByValueCondition> </Condition> <Condition name="criteria_RunningRedLightTest" delay="0" conditionEdge="rising"> <ByValueCondition> <ParameterCondition parameterRef="" value="" rule="lessThan"/> </ByValueCondition> </Condition> <Condition name="criteria_WrongLaneTest" delay="0" conditionEdge="rising"> <ByValueCondition> <ParameterCondition parameterRef="" value="" rule="lessThan"/> </ByValueCondition> </Condition> <Condition name="criteria_OnSidewalkTest" delay="0" conditionEdge="rising"> <ByValueCondition> <ParameterCondition parameterRef="" value="" rule="lessThan"/> </ByValueCondition> </Condition> <Condition name="criteria_KeepLaneTest" delay="0" conditionEdge="rising"> <ByValueCondition> <ParameterCondition parameterRef="" value="" rule="lessThan"/> </ByValueCondition> </Condition> <Condition name="criteria_CollisionTest" delay="0" conditionEdge="rising"> <ByValueCondition> <ParameterCondition parameterRef="" value="" rule="lessThan"/> </ByValueCondition> </Condition> <Condition name="criteria_DrivenDistanceTest" delay="0" conditionEdge="rising"> <ByValueCondition> <ParameterCondition parameterRef="distance_success" value="100" rule="lessThan"/> </ByValueCondition> </Condition> </ConditionGroup> </StopTrigger> </Storyboard> </OpenSCENARIO> ```
please add pedestrian at location (-20.65, -16.71, 0.5)? ``` <?xml version="1.0" ?> <OpenSCENARIO> <FileHeader revMajor="1" revMinor="0" date="2020-03-24T12:00:00" description="CARLA:LaneChangeSimple" author=""/> <ParameterDeclarations/> <CatalogLocations/> <RoadNetwork> <LogicFile filepath="Town04"/> <SceneGraphFile filepath=""/> </RoadNetwork> <Entities> <ScenarioObject name="hero"> <Vehicle name="vehicle.tesla.model3" vehicleCategory="car"> <ParameterDeclarations/> <Performance maxSpeed="69.444" maxAcceleration="200" maxDeceleration="10.0"/> <BoundingBox> <Center x="1.5" y="0.0" z="0.9"/> <Dimensions width="2.1" length="4.5" height="1.8"/> </BoundingBox> <Axles> <FrontAxle maxSteering="0.5" wheelDiameter="0.6" trackWidth="1.8" positionX="3.1" positionZ="0.3"/> <RearAxle maxSteering="0.0" wheelDiameter="0.6" trackWidth="1.8" positionX="0.0" positionZ="0.3"/> </Axles> <Properties> <Property name="type" value="ego_vehicle"/> </Properties> </Vehicle> </ScenarioObject> <ScenarioObject name="adversary"> <Vehicle name="vehicle.lincoln.mkz_2017" vehicleCategory="car"> <ParameterDeclarations/> <Performance maxSpeed="69.444" maxAcceleration="200" maxDeceleration="10.0"/> <BoundingBox> <Center x="1.5" y="0.0" z="0.9"/> <Dimensions width="2.1" length="4.5" height="1.8"/> </BoundingBox> <Axles> <FrontAxle maxSteering="0.5" wheelDiameter="0.6" trackWidth="1.8" positionX="3.1" positionZ="0.3"/> <RearAxle maxSteering="0.0" wheelDiameter="0.6" trackWidth="1.8" positionX="0.0" positionZ="0.3"/> </Axles> <Properties> <Property name="type" value="simulation"/> </Properties> </Vehicle> </ScenarioObject> <ScenarioObject name="standing"> <Vehicle name="vehicle.volkswagen.t2" vehicleCategory="car"> <ParameterDeclarations/> <Performance maxSpeed="69.444" maxAcceleration="200" maxDeceleration="10.0"/> <BoundingBox> <Center x="1.5" y="0.0" z="0.9"/> <Dimensions width="2.1" length="4.5" height="1.8"/> </BoundingBox> <Axles> <FrontAxle maxSteering="0.5" wheelDiameter="0.6" trackWidth="1.8" positionX="3.1" positionZ="0.3"/> <RearAxle maxSteering="0.0" wheelDiameter="0.6" trackWidth="1.8" positionX="0.0" positionZ="0.3"/> </Axles> <Properties> <Property name="type" value="simulation"/> </Properties> </Vehicle> </ScenarioObject> <ScenarioObject name="pedestrian_close_to_hero_22436"> <Pedestrian model="walker.pedestrian.0001" mass="80" name="walker.pedestrian.0001" pedestrianCategory="pedestrian"> <ParameterDeclarations/> <BoundingBox> <Center x="1.5" y="0.0" z="0.9"/> <Dimensions width="2" length="2" height="2"/> </BoundingBox> <Properties> <Property name="type" value="simulation"/> </Properties> </Pedestrian> </ScenarioObject> <ScenarioObject name="pedestrian_w_transform_22437"> <Pedestrian model="walker.pedestrian.0001" mass="80" name="walker.pedestrian.0001" pedestrianCategory="pedestrian"> <ParameterDeclarations/> <BoundingBox> <Center x="1.5" y="0.0" z="0.9"/> <Dimensions width="2" length="2" height="2"/> </BoundingBox> <Properties> <Property name="type" value="simulation"/> </Properties> </Pedestrian> </ScenarioObject> <ScenarioObject name="pedestrian_close_to_standing_22438"> <Pedestrian model="walker.pedestrian.0001" mass="80" name="walker.pedestrian.0001" pedestrianCategory="pedestrian"> <ParameterDeclarations/> <BoundingBox> <Center x="1.5" y="0.0" z="0.9"/> <Dimensions width="2" length="2" height="2"/> </BoundingBox> <Properties> <Property name="type" value="simulation"/> </Properties> </Pedestrian> </ScenarioObject> </Entities> <Storyboard> <Init> <Actions> <GlobalAction> <EnvironmentAction> <Environment name="Environment1"> <TimeOfDay animation="false" dateTime="2019-06-25T12:00:00"/> <Weather cloudState="free"> <Sun intensity="0.85" azimuth="0" elevation="1.31"/> <Fog visualRange="100000.0"/> <Precipitation precipitationType="dry" intensity="0.0"/> </Weather> <RoadCondition frictionScaleFactor="1.0"/> </Environment> </EnvironmentAction> </GlobalAction> <Private entityRef="hero"> <PrivateAction> <TeleportAction> <Position> <WorldPosition x="-9.4" y="-152.8" z="0.5" h="1.57079632679"/> </Position> </TeleportAction> </PrivateAction> <PrivateAction> <ControllerAction> <AssignControllerAction> <Controller name="HeroAgent"> <Properties> <Property name="module" value="external_control"/> </Properties> </Controller> </AssignControllerAction> <OverrideControllerValueAction> <Throttle value="0" active="false"/> <Brake value="0" active="false"/> <Clutch value="0" active="false"/> <ParkingBrake value="0" active="false"/> <SteeringWheel value="0" active="false"/> <Gear number="0" active="false"/> </OverrideControllerValueAction> </ControllerAction> </PrivateAction> </Private> <Private entityRef="adversary"> <PrivateAction> <TeleportAction> <Position> <WorldPosition x="-9.4" y="-71.0" z="0.5" h="1.57079632679"/> </Position> </TeleportAction> </PrivateAction> </Private> <Private entityRef="standing"> <PrivateAction> <TeleportAction> <Position> <WorldPosition x="-8.2" y="29.2" z="0.5" h="1.57079632679"/> </Position> </TeleportAction> </PrivateAction> </Private> <Private entityRef="pedestrian_close_to_hero_22436"> <PrivateAction> <TeleportAction> <Position> <WorldPosition x="-13.349592208862305" y="-157.38087463378906" z="0.0014286803780123591"/> </Position> </TeleportAction> </PrivateAction> </Private> <Private entityRef="pedestrian_w_transform_22437"> <PrivateAction> <TeleportAction> <Position> <WorldPosition x="-9.911187171936035" y="-9.066173553466797" z="0.5"/> </Position> </TeleportAction> </PrivateAction> </Private> <Private entityRef="pedestrian_close_to_standing_22438"> <PrivateAction> <TeleportAction> <Position> <WorldPosition x="-5.726093769073486" y="39.1113166809082" z="0.003070564242079854"/> </Position> </TeleportAction> </PrivateAction> </Private> </Actions> </Init> <Story name="MyStory"> <Act name="Behavior"> <ManeuverGroup maximumExecutionCount="1" name="ManeuverSequence"> <Actors selectTriggeringEntities="false"> <EntityRef entityRef="adversary"/> </Actors> <Maneuver name="LaneChangeSimpleManeuver"> <Event name="AdversaryAccelerates" priority="overwrite"> <Action name="AdversaryAccelerates"> <PrivateAction> <LongitudinalAction> <SpeedAction> <SpeedActionDynamics dynamicsShape="step" value="50" dynamicsDimension="distance"/> <SpeedActionTarget> <AbsoluteTargetSpeed value="5.0"/> </SpeedActionTarget> </SpeedAction> </LongitudinalAction> </PrivateAction> </Action> <StartTrigger> <ConditionGroup> <Condition name="StartCondition" delay="0" conditionEdge="rising"> <ByEntityCondition> <TriggeringEntities triggeringEntitiesRule="any"> <EntityRef entityRef="hero"/> </TriggeringEntities> <EntityCondition> <RelativeDistanceCondition entityRef="adversary" relativeDistanceType="cartesianDistance" value="40.0" freespace="false" rule="lessThan"/> </EntityCondition> </ByEntityCondition> </Condition> </ConditionGroup> </StartTrigger> </Event> <Event name="AdversaryChangesLane" priority="overwrite"> <Action name="AdversaryChangesLane"> <PrivateAction> <LateralAction> <LaneChangeAction> <LaneChangeActionDynamics dynamicsShape="linear" value="25" dynamicsDimension="distance"/> <LaneChangeTarget> <RelativeTargetLane entityRef="adversary" value="-1"/> </LaneChangeTarget> </LaneChangeAction> </LateralAction> </PrivateAction> </Action> <StartTrigger> <ConditionGroup> <Condition name="AfterAdversaryAccelerates" delay="0" conditionEdge="rising"> <ByValueCondition> <StoryboardElementStateCondition storyboardElementType="action" storyboardElementRef="AdversaryAccelerates" state="completeState"/> </ByValueCondition> </Condition> </ConditionGroup> </StartTrigger> </Event> </Maneuver> </ManeuverGroup> <StartTrigger> <ConditionGroup> <Condition name="OverallStartCondition" delay="0" conditionEdge="rising"> <ByEntityCondition> <TriggeringEntities triggeringEntitiesRule="any"> <EntityRef entityRef="hero"/> </TriggeringEntities> <EntityCondition> <TraveledDistanceCondition value="1.0"/> </EntityCondition> </ByEntityCondition> </Condition> <Condition name="StartTime" delay="0" conditionEdge="rising"> <ByValueCondition> <SimulationTimeCondition value="0" rule="equalTo"/> </ByValueCondition> </Condition> </ConditionGroup> </StartTrigger> <StopTrigger> <ConditionGroup> <Condition name="EndCondition" delay="0" conditionEdge="rising"> <ByEntityCondition> <TriggeringEntities triggeringEntitiesRule="any"> <EntityRef entityRef="hero"/> </TriggeringEntities> <EntityCondition> <TraveledDistanceCondition value="200.0"/> </EntityCondition> </ByEntityCondition> </Condition> </ConditionGroup> </StopTrigger> </Act> </Story> <StopTrigger> <ConditionGroup> <Condition name="criteria_RunningStopTest" delay="0" conditionEdge="rising"> <ByValueCondition> <ParameterCondition parameterRef="" value="" rule="lessThan"/> </ByValueCondition> </Condition> <Condition name="criteria_RunningRedLightTest" delay="0" conditionEdge="rising"> <ByValueCondition> <ParameterCondition parameterRef="" value="" rule="lessThan"/> </ByValueCondition> </Condition> <Condition name="criteria_WrongLaneTest" delay="0" conditionEdge="rising"> <ByValueCondition> <ParameterCondition parameterRef="" value="" rule="lessThan"/> </ByValueCondition> </Condition> <Condition name="criteria_OnSidewalkTest" delay="0" conditionEdge="rising"> <ByValueCondition> <ParameterCondition parameterRef="" value="" rule="lessThan"/> </ByValueCondition> </Condition> <Condition name="criteria_KeepLaneTest" delay="0" conditionEdge="rising"> <ByValueCondition> <ParameterCondition parameterRef="" value="" rule="lessThan"/> </ByValueCondition> </Condition> <Condition name="criteria_CollisionTest" delay="0" conditionEdge="rising"> <ByValueCondition> <ParameterCondition parameterRef="" value="" rule="lessThan"/> </ByValueCondition> </Condition> <Condition name="criteria_DrivenDistanceTest" delay="0" conditionEdge="rising"> <ByValueCondition> <ParameterCondition parameterRef="distance_success" value="100" rule="lessThan"/> </ByValueCondition> </Condition> </ConditionGroup> </StopTrigger> </Storyboard> </OpenSCENARIO> ```
Here is the result: ``` <?xml version="1.0" ?> <OpenSCENARIO> <FileHeader revMajor="1" revMinor="0" date="2020-03-24T12:00:00" description="CARLA:LaneChangeSimple" author=""/> <ParameterDeclarations/> <CatalogLocations/> <RoadNetwork> <LogicFile filepath="Town04"/> <SceneGraphFile filepath=""/> </RoadNetwork> <Entities> <ScenarioObject name="hero"> <Vehicle name="vehicle.tesla.model3" vehicleCategory="car"> <ParameterDeclarations/> <Performance maxSpeed="69.444" maxAcceleration="200" maxDeceleration="10.0"/> <BoundingBox> <Center x="1.5" y="0.0" z="0.9"/> <Dimensions width="2.1" length="4.5" height="1.8"/> </BoundingBox> <Axles> <FrontAxle maxSteering="0.5" wheelDiameter="0.6" trackWidth="1.8" positionX="3.1" positionZ="0.3"/> <RearAxle maxSteering="0.0" wheelDiameter="0.6" trackWidth="1.8" positionX="0.0" positionZ="0.3"/> </Axles> <Properties> <Property name="type" value="ego_vehicle"/> </Properties> </Vehicle> </ScenarioObject> <ScenarioObject name="adversary"> <Vehicle name="vehicle.lincoln.mkz_2017" vehicleCategory="car"> <ParameterDeclarations/> <Performance maxSpeed="69.444" maxAcceleration="200" maxDeceleration="10.0"/> <BoundingBox> <Center x="1.5" y="0.0" z="0.9"/> <Dimensions width="2.1" length="4.5" height="1.8"/> </BoundingBox> <Axles> <FrontAxle maxSteering="0.5" wheelDiameter="0.6" trackWidth="1.8" positionX="3.1" positionZ="0.3"/> <RearAxle maxSteering="0.0" wheelDiameter="0.6" trackWidth="1.8" positionX="0.0" positionZ="0.3"/> </Axles> <Properties> <Property name="type" value="simulation"/> </Properties> </Vehicle> </ScenarioObject> <ScenarioObject name="standing"> <Vehicle name="vehicle.volkswagen.t2" vehicleCategory="car"> <ParameterDeclarations/> <Performance maxSpeed="69.444" maxAcceleration="200" maxDeceleration="10.0"/> <BoundingBox> <Center x="1.5" y="0.0" z="0.9"/> <Dimensions width="2.1" length="4.5" height="1.8"/> </BoundingBox> <Axles> <FrontAxle maxSteering="0.5" wheelDiameter="0.6" trackWidth="1.8" positionX="3.1" positionZ="0.3"/> <RearAxle maxSteering="0.0" wheelDiameter="0.6" trackWidth="1.8" positionX="0.0" positionZ="0.3"/> </Axles> <Properties> <Property name="type" value="simulation"/> </Properties> </Vehicle> </ScenarioObject> <ScenarioObject name="pedestrian_close_to_hero_22436"> <Pedestrian model="walker.pedestrian.0001" mass="80" name="walker.pedestrian.0001" pedestrianCategory="pedestrian"> <ParameterDeclarations/> <BoundingBox> <Center x="1.5" y="0.0" z="0.9"/> <Dimensions width="2" length="2" height="2"/> </BoundingBox> <Properties> <Property name="type" value="simulation"/> </Properties> </Pedestrian> </ScenarioObject> <ScenarioObject name="pedestrian_w_transform_22437"> <Pedestrian model="walker.pedestrian.0001" mass="80" name="walker.pedestrian.0001" pedestrianCategory="pedestrian"> <ParameterDeclarations/> <BoundingBox> <Center x="1.5" y="0.0" z="0.9"/> <Dimensions width="2" length="2" height="2"/> </BoundingBox> <Properties> <Property name="type" value="simulation"/> </Properties> </Pedestrian> </ScenarioObject> <ScenarioObject name="pedestrian_close_to_standing_22438"> <Pedestrian model="walker.pedestrian.0001" mass="80" name="walker.pedestrian.0001" pedestrianCategory="pedestrian"> <ParameterDeclarations/> <BoundingBox> <Center x="1.5" y="0.0" z="0.9"/> <Dimensions width="2" length="2" height="2"/> </BoundingBox> <Properties> <Property name="type" value="simulation"/> </Properties> </Pedestrian> </ScenarioObject> <ScenarioObject name="pedestrian_w_transform_22439"> <Pedestrian model="walker.pedestrian.0001" mass="80" name="walker.pedestrian.0001" pedestrianCategory="pedestrian"> <ParameterDeclarations/> <BoundingBox> <Center x="1.5" y="0.0" z="0.9"/> <Dimensions width="2" length="2" height="2"/> </BoundingBox> <Properties> <Property name="type" value="simulation"/> </Properties> </Pedestrian> </ScenarioObject> </Entities> <Storyboard> <Init> <Actions> <GlobalAction> <EnvironmentAction> <Environment name="Environment1"> <TimeOfDay animation="false" dateTime="2019-06-25T12:00:00"/> <Weather cloudState="free"> <Sun intensity="0.85" azimuth="0" elevation="1.31"/> <Fog visualRange="100000.0"/> <Precipitation precipitationType="dry" intensity="0.0"/> </Weather> <RoadCondition frictionScaleFactor="1.0"/> </Environment> </EnvironmentAction> </GlobalAction> <Private entityRef="hero"> <PrivateAction> <TeleportAction> <Position> <WorldPosition x="-9.4" y="-152.8" z="0.5" h="1.57079632679"/> </Position> </TeleportAction> </PrivateAction> <PrivateAction> <ControllerAction> <AssignControllerAction> <Controller name="HeroAgent"> <Properties> <Property name="module" value="external_control"/> </Properties> </Controller> </AssignControllerAction> <OverrideControllerValueAction> <Throttle value="0" active="false"/> <Brake value="0" active="false"/> <Clutch value="0" active="false"/> <ParkingBrake value="0" active="false"/> <SteeringWheel value="0" active="false"/> <Gear number="0" active="false"/> </OverrideControllerValueAction> </ControllerAction> </PrivateAction> </Private> <Private entityRef="adversary"> <PrivateAction> <TeleportAction> <Position> <WorldPosition x="-9.4" y="-71.0" z="0.5" h="1.57079632679"/> </Position> </TeleportAction> </PrivateAction> </Private> <Private entityRef="standing"> <PrivateAction> <TeleportAction> <Position> <WorldPosition x="-8.2" y="29.2" z="0.5" h="1.57079632679"/> </Position> </TeleportAction> </PrivateAction> </Private> <Private entityRef="pedestrian_close_to_hero_22436"> <PrivateAction> <TeleportAction> <Position> <WorldPosition x="-13.349592208862305" y="-157.38087463378906" z="0.0014286803780123591"/> </Position> </TeleportAction> </PrivateAction> </Private> <Private entityRef="pedestrian_w_transform_22437"> <PrivateAction> <TeleportAction> <Position> <WorldPosition x="-9.911187171936035" y="-9.066173553466797" z="0.5"/> </Position> </TeleportAction> </PrivateAction> </Private> <Private entityRef="pedestrian_close_to_standing_22438"> <PrivateAction> <TeleportAction> <Position> <WorldPosition x="-5.726093769073486" y="39.1113166809082" z="0.003070564242079854"/> </Position> </TeleportAction> </PrivateAction> </Private> <Private entityRef="pedestrian_w_transform_22439"> <PrivateAction> <TeleportAction> <Position> <WorldPosition x="-20.64566993713379" y="-16.7142391204834" z="0.5"/> </Position> </TeleportAction> </PrivateAction> </Private> </Actions> </Init> <Story name="MyStory"> <Act name="Behavior"> <ManeuverGroup maximumExecutionCount="1" name="ManeuverSequence"> <Actors selectTriggeringEntities="false"> <EntityRef entityRef="adversary"/> </Actors> <Maneuver name="LaneChangeSimpleManeuver"> <Event name="AdversaryAccelerates" priority="overwrite"> <Action name="AdversaryAccelerates"> <PrivateAction> <LongitudinalAction> <SpeedAction> <SpeedActionDynamics dynamicsShape="step" value="50" dynamicsDimension="distance"/> <SpeedActionTarget> <AbsoluteTargetSpeed value="5.0"/> </SpeedActionTarget> </SpeedAction> </LongitudinalAction> </PrivateAction> </Action> <StartTrigger> <ConditionGroup> <Condition name="StartCondition" delay="0" conditionEdge="rising"> <ByEntityCondition> <TriggeringEntities triggeringEntitiesRule="any"> <EntityRef entityRef="hero"/> </TriggeringEntities> <EntityCondition> <RelativeDistanceCondition entityRef="adversary" relativeDistanceType="cartesianDistance" value="40.0" freespace="false" rule="lessThan"/> </EntityCondition> </ByEntityCondition> </Condition> </ConditionGroup> </StartTrigger> </Event> <Event name="AdversaryChangesLane" priority="overwrite"> <Action name="AdversaryChangesLane"> <PrivateAction> <LateralAction> <LaneChangeAction> <LaneChangeActionDynamics dynamicsShape="linear" value="25" dynamicsDimension="distance"/> <LaneChangeTarget> <RelativeTargetLane entityRef="adversary" value="-1"/> </LaneChangeTarget> </LaneChangeAction> </LateralAction> </PrivateAction> </Action> <StartTrigger> <ConditionGroup> <Condition name="AfterAdversaryAccelerates" delay="0" conditionEdge="rising"> <ByValueCondition> <StoryboardElementStateCondition storyboardElementType="action" storyboardElementRef="AdversaryAccelerates" state="completeState"/> </ByValueCondition> </Condition> </ConditionGroup> </StartTrigger> </Event> </Maneuver> </ManeuverGroup> <StartTrigger> <ConditionGroup> <Condition name="OverallStartCondition" delay="0" conditionEdge="rising"> <ByEntityCondition> <TriggeringEntities triggeringEntitiesRule="any"> <EntityRef entityRef="hero"/> </TriggeringEntities> <EntityCondition> <TraveledDistanceCondition value="1.0"/> </EntityCondition> </ByEntityCondition> </Condition> <Condition name="StartTime" delay="0" conditionEdge="rising"> <ByValueCondition> <SimulationTimeCondition value="0" rule="equalTo"/> </ByValueCondition> </Condition> </ConditionGroup> </StartTrigger> <StopTrigger> <ConditionGroup> <Condition name="EndCondition" delay="0" conditionEdge="rising"> <ByEntityCondition> <TriggeringEntities triggeringEntitiesRule="any"> <EntityRef entityRef="hero"/> </TriggeringEntities> <EntityCondition> <TraveledDistanceCondition value="200.0"/> </EntityCondition> </ByEntityCondition> </Condition> </ConditionGroup> </StopTrigger> </Act> </Story> <StopTrigger> <ConditionGroup> <Condition name="criteria_RunningStopTest" delay="0" conditionEdge="rising"> <ByValueCondition> <ParameterCondition parameterRef="" value="" rule="lessThan"/> </ByValueCondition> </Condition> <Condition name="criteria_RunningRedLightTest" delay="0" conditionEdge="rising"> <ByValueCondition> <ParameterCondition parameterRef="" value="" rule="lessThan"/> </ByValueCondition> </Condition> <Condition name="criteria_WrongLaneTest" delay="0" conditionEdge="rising"> <ByValueCondition> <ParameterCondition parameterRef="" value="" rule="lessThan"/> </ByValueCondition> </Condition> <Condition name="criteria_OnSidewalkTest" delay="0" conditionEdge="rising"> <ByValueCondition> <ParameterCondition parameterRef="" value="" rule="lessThan"/> </ByValueCondition> </Condition> <Condition name="criteria_KeepLaneTest" delay="0" conditionEdge="rising"> <ByValueCondition> <ParameterCondition parameterRef="" value="" rule="lessThan"/> </ByValueCondition> </Condition> <Condition name="criteria_CollisionTest" delay="0" conditionEdge="rising"> <ByValueCondition> <ParameterCondition parameterRef="" value="" rule="lessThan"/> </ByValueCondition> </Condition> <Condition name="criteria_DrivenDistanceTest" delay="0" conditionEdge="rising"> <ByValueCondition> <ParameterCondition parameterRef="distance_success" value="100" rule="lessThan"/> </ByValueCondition> </Condition> </ConditionGroup> </StopTrigger> </Storyboard> </OpenSCENARIO> ```
i would like to instruct you to add pedestrian close to adversary? ``` <?xml version="1.0" ?> <OpenSCENARIO> <FileHeader revMajor="1" revMinor="0" date="2020-03-24T12:00:00" description="CARLA:LaneChangeSimple" author=""/> <ParameterDeclarations/> <CatalogLocations/> <RoadNetwork> <LogicFile filepath="Town04"/> <SceneGraphFile filepath=""/> </RoadNetwork> <Entities> <ScenarioObject name="hero"> <Vehicle name="vehicle.tesla.model3" vehicleCategory="car"> <ParameterDeclarations/> <Performance maxSpeed="69.444" maxAcceleration="200" maxDeceleration="10.0"/> <BoundingBox> <Center x="1.5" y="0.0" z="0.9"/> <Dimensions width="2.1" length="4.5" height="1.8"/> </BoundingBox> <Axles> <FrontAxle maxSteering="0.5" wheelDiameter="0.6" trackWidth="1.8" positionX="3.1" positionZ="0.3"/> <RearAxle maxSteering="0.0" wheelDiameter="0.6" trackWidth="1.8" positionX="0.0" positionZ="0.3"/> </Axles> <Properties> <Property name="type" value="ego_vehicle"/> </Properties> </Vehicle> </ScenarioObject> <ScenarioObject name="adversary"> <Vehicle name="vehicle.lincoln.mkz_2017" vehicleCategory="car"> <ParameterDeclarations/> <Performance maxSpeed="69.444" maxAcceleration="200" maxDeceleration="10.0"/> <BoundingBox> <Center x="1.5" y="0.0" z="0.9"/> <Dimensions width="2.1" length="4.5" height="1.8"/> </BoundingBox> <Axles> <FrontAxle maxSteering="0.5" wheelDiameter="0.6" trackWidth="1.8" positionX="3.1" positionZ="0.3"/> <RearAxle maxSteering="0.0" wheelDiameter="0.6" trackWidth="1.8" positionX="0.0" positionZ="0.3"/> </Axles> <Properties> <Property name="type" value="simulation"/> </Properties> </Vehicle> </ScenarioObject> <ScenarioObject name="standing"> <Vehicle name="vehicle.volkswagen.t2" vehicleCategory="car"> <ParameterDeclarations/> <Performance maxSpeed="69.444" maxAcceleration="200" maxDeceleration="10.0"/> <BoundingBox> <Center x="1.5" y="0.0" z="0.9"/> <Dimensions width="2.1" length="4.5" height="1.8"/> </BoundingBox> <Axles> <FrontAxle maxSteering="0.5" wheelDiameter="0.6" trackWidth="1.8" positionX="3.1" positionZ="0.3"/> <RearAxle maxSteering="0.0" wheelDiameter="0.6" trackWidth="1.8" positionX="0.0" positionZ="0.3"/> </Axles> <Properties> <Property name="type" value="simulation"/> </Properties> </Vehicle> </ScenarioObject> <ScenarioObject name="pedestrian_close_to_adversary_6136"> <Pedestrian model="walker.pedestrian.0001" mass="80" name="walker.pedestrian.0001" pedestrianCategory="pedestrian"> <ParameterDeclarations/> <BoundingBox> <Center x="1.5" y="0.0" z="0.9"/> <Dimensions width="2" length="2" height="2"/> </BoundingBox> <Properties> <Property name="type" value="simulation"/> </Properties> </Pedestrian> </ScenarioObject> <ScenarioObject name="pedestrian_close_to_adversary_6137"> <Pedestrian model="walker.pedestrian.0001" mass="80" name="walker.pedestrian.0001" pedestrianCategory="pedestrian"> <ParameterDeclarations/> <BoundingBox> <Center x="1.5" y="0.0" z="0.9"/> <Dimensions width="2" length="2" height="2"/> </BoundingBox> <Properties> <Property name="type" value="simulation"/> </Properties> </Pedestrian> </ScenarioObject> <ScenarioObject name="pedestrian_w_transform_6138"> <Pedestrian model="walker.pedestrian.0001" mass="80" name="walker.pedestrian.0001" pedestrianCategory="pedestrian"> <ParameterDeclarations/> <BoundingBox> <Center x="1.5" y="0.0" z="0.9"/> <Dimensions width="2" length="2" height="2"/> </BoundingBox> <Properties> <Property name="type" value="simulation"/> </Properties> </Pedestrian> </ScenarioObject> <ScenarioObject name="pedestrian_close_to_hero_6139"> <Pedestrian model="walker.pedestrian.0001" mass="80" name="walker.pedestrian.0001" pedestrianCategory="pedestrian"> <ParameterDeclarations/> <BoundingBox> <Center x="1.5" y="0.0" z="0.9"/> <Dimensions width="2" length="2" height="2"/> </BoundingBox> <Properties> <Property name="type" value="simulation"/> </Properties> </Pedestrian> </ScenarioObject> <ScenarioObject name="pedestrian_w_transform_6140"> <Pedestrian model="walker.pedestrian.0001" mass="80" name="walker.pedestrian.0001" pedestrianCategory="pedestrian"> <ParameterDeclarations/> <BoundingBox> <Center x="1.5" y="0.0" z="0.9"/> <Dimensions width="2" length="2" height="2"/> </BoundingBox> <Properties> <Property name="type" value="simulation"/> </Properties> </Pedestrian> </ScenarioObject> </Entities> <Storyboard> <Init> <Actions> <GlobalAction> <EnvironmentAction> <Environment name="Environment1"> <TimeOfDay animation="false" dateTime="2019-06-25T12:00:00"/> <Weather cloudState="free"> <Sun intensity="0.85" azimuth="0" elevation="1.31"/> <Fog visualRange="100000.0"/> <Precipitation precipitationType="dry" intensity="0.0"/> </Weather> <RoadCondition frictionScaleFactor="1.0"/> </Environment> </EnvironmentAction> </GlobalAction> <Private entityRef="hero"> <PrivateAction> <TeleportAction> <Position> <WorldPosition x="-9.4" y="-152.8" z="0.5" h="1.57079632679"/> </Position> </TeleportAction> </PrivateAction> <PrivateAction> <ControllerAction> <AssignControllerAction> <Controller name="HeroAgent"> <Properties> <Property name="module" value="external_control"/> </Properties> </Controller> </AssignControllerAction> <OverrideControllerValueAction> <Throttle value="0" active="false"/> <Brake value="0" active="false"/> <Clutch value="0" active="false"/> <ParkingBrake value="0" active="false"/> <SteeringWheel value="0" active="false"/> <Gear number="0" active="false"/> </OverrideControllerValueAction> </ControllerAction> </PrivateAction> </Private> <Private entityRef="adversary"> <PrivateAction> <TeleportAction> <Position> <WorldPosition x="-9.4" y="-71.0" z="0.5" h="1.57079632679"/> </Position> </TeleportAction> </PrivateAction> </Private> <Private entityRef="standing"> <PrivateAction> <TeleportAction> <Position> <WorldPosition x="-8.2" y="29.2" z="0.5" h="1.57079632679"/> </Position> </TeleportAction> </PrivateAction> </Private> <Private entityRef="pedestrian_close_to_adversary_6136"> <PrivateAction> <TeleportAction> <Position> <WorldPosition x="-9.832199096679688" y="-71.97743225097656" z="0.03378948196768761"/> </Position> </TeleportAction> </PrivateAction> </Private> <Private entityRef="pedestrian_close_to_adversary_6137"> <PrivateAction> <TeleportAction> <Position> <WorldPosition x="-16.262653350830078" y="-68.24130249023438" z="0.03379875048995018"/> </Position> </TeleportAction> </PrivateAction> </Private> <Private entityRef="pedestrian_w_transform_6138"> <PrivateAction> <TeleportAction> <Position> <WorldPosition x="48.81318664550781" y="95.08125305175781" z="0.5"/> </Position> </TeleportAction> </PrivateAction> </Private> <Private entityRef="pedestrian_close_to_hero_6139"> <PrivateAction> <TeleportAction> <Position> <WorldPosition x="-5.282431602478027" y="-162.7553253173828" z="0.0014286803780123591"/> </Position> </TeleportAction> </PrivateAction> </Private> <Private entityRef="pedestrian_w_transform_6140"> <PrivateAction> <TeleportAction> <Position> <WorldPosition x="-7.463223457336426" y="-0.9698570370674133" z="0.5"/> </Position> </TeleportAction> </PrivateAction> </Private> </Actions> </Init> <Story name="MyStory"> <Act name="Behavior"> <ManeuverGroup maximumExecutionCount="1" name="ManeuverSequence"> <Actors selectTriggeringEntities="false"> <EntityRef entityRef="adversary"/> </Actors> <Maneuver name="LaneChangeSimpleManeuver"> <Event name="AdversaryAccelerates" priority="overwrite"> <Action name="AdversaryAccelerates"> <PrivateAction> <LongitudinalAction> <SpeedAction> <SpeedActionDynamics dynamicsShape="step" value="50" dynamicsDimension="distance"/> <SpeedActionTarget> <AbsoluteTargetSpeed value="5.0"/> </SpeedActionTarget> </SpeedAction> </LongitudinalAction> </PrivateAction> </Action> <StartTrigger> <ConditionGroup> <Condition name="StartCondition" delay="0" conditionEdge="rising"> <ByEntityCondition> <TriggeringEntities triggeringEntitiesRule="any"> <EntityRef entityRef="hero"/> </TriggeringEntities> <EntityCondition> <RelativeDistanceCondition entityRef="adversary" relativeDistanceType="cartesianDistance" value="40.0" freespace="false" rule="lessThan"/> </EntityCondition> </ByEntityCondition> </Condition> </ConditionGroup> </StartTrigger> </Event> <Event name="AdversaryChangesLane" priority="overwrite"> <Action name="AdversaryChangesLane"> <PrivateAction> <LateralAction> <LaneChangeAction> <LaneChangeActionDynamics dynamicsShape="linear" value="25" dynamicsDimension="distance"/> <LaneChangeTarget> <RelativeTargetLane entityRef="adversary" value="-1"/> </LaneChangeTarget> </LaneChangeAction> </LateralAction> </PrivateAction> </Action> <StartTrigger> <ConditionGroup> <Condition name="AfterAdversaryAccelerates" delay="0" conditionEdge="rising"> <ByValueCondition> <StoryboardElementStateCondition storyboardElementType="action" storyboardElementRef="AdversaryAccelerates" state="completeState"/> </ByValueCondition> </Condition> </ConditionGroup> </StartTrigger> </Event> </Maneuver> </ManeuverGroup> <StartTrigger> <ConditionGroup> <Condition name="OverallStartCondition" delay="0" conditionEdge="rising"> <ByEntityCondition> <TriggeringEntities triggeringEntitiesRule="any"> <EntityRef entityRef="hero"/> </TriggeringEntities> <EntityCondition> <TraveledDistanceCondition value="1.0"/> </EntityCondition> </ByEntityCondition> </Condition> <Condition name="StartTime" delay="0" conditionEdge="rising"> <ByValueCondition> <SimulationTimeCondition value="0" rule="equalTo"/> </ByValueCondition> </Condition> </ConditionGroup> </StartTrigger> <StopTrigger> <ConditionGroup> <Condition name="EndCondition" delay="0" conditionEdge="rising"> <ByEntityCondition> <TriggeringEntities triggeringEntitiesRule="any"> <EntityRef entityRef="hero"/> </TriggeringEntities> <EntityCondition> <TraveledDistanceCondition value="200.0"/> </EntityCondition> </ByEntityCondition> </Condition> </ConditionGroup> </StopTrigger> </Act> </Story> <StopTrigger> <ConditionGroup> <Condition name="criteria_RunningStopTest" delay="0" conditionEdge="rising"> <ByValueCondition> <ParameterCondition parameterRef="" value="" rule="lessThan"/> </ByValueCondition> </Condition> <Condition name="criteria_RunningRedLightTest" delay="0" conditionEdge="rising"> <ByValueCondition> <ParameterCondition parameterRef="" value="" rule="lessThan"/> </ByValueCondition> </Condition> <Condition name="criteria_WrongLaneTest" delay="0" conditionEdge="rising"> <ByValueCondition> <ParameterCondition parameterRef="" value="" rule="lessThan"/> </ByValueCondition> </Condition> <Condition name="criteria_OnSidewalkTest" delay="0" conditionEdge="rising"> <ByValueCondition> <ParameterCondition parameterRef="" value="" rule="lessThan"/> </ByValueCondition> </Condition> <Condition name="criteria_KeepLaneTest" delay="0" conditionEdge="rising"> <ByValueCondition> <ParameterCondition parameterRef="" value="" rule="lessThan"/> </ByValueCondition> </Condition> <Condition name="criteria_CollisionTest" delay="0" conditionEdge="rising"> <ByValueCondition> <ParameterCondition parameterRef="" value="" rule="lessThan"/> </ByValueCondition> </Condition> <Condition name="criteria_DrivenDistanceTest" delay="0" conditionEdge="rising"> <ByValueCondition> <ParameterCondition parameterRef="distance_success" value="100" rule="lessThan"/> </ByValueCondition> </Condition> </ConditionGroup> </StopTrigger> </Storyboard> </OpenSCENARIO> ```
Here is the result: ``` <?xml version="1.0" ?> <OpenSCENARIO> <FileHeader revMajor="1" revMinor="0" date="2020-03-24T12:00:00" description="CARLA:LaneChangeSimple" author=""/> <ParameterDeclarations/> <CatalogLocations/> <RoadNetwork> <LogicFile filepath="Town04"/> <SceneGraphFile filepath=""/> </RoadNetwork> <Entities> <ScenarioObject name="hero"> <Vehicle name="vehicle.tesla.model3" vehicleCategory="car"> <ParameterDeclarations/> <Performance maxSpeed="69.444" maxAcceleration="200" maxDeceleration="10.0"/> <BoundingBox> <Center x="1.5" y="0.0" z="0.9"/> <Dimensions width="2.1" length="4.5" height="1.8"/> </BoundingBox> <Axles> <FrontAxle maxSteering="0.5" wheelDiameter="0.6" trackWidth="1.8" positionX="3.1" positionZ="0.3"/> <RearAxle maxSteering="0.0" wheelDiameter="0.6" trackWidth="1.8" positionX="0.0" positionZ="0.3"/> </Axles> <Properties> <Property name="type" value="ego_vehicle"/> </Properties> </Vehicle> </ScenarioObject> <ScenarioObject name="adversary"> <Vehicle name="vehicle.lincoln.mkz_2017" vehicleCategory="car"> <ParameterDeclarations/> <Performance maxSpeed="69.444" maxAcceleration="200" maxDeceleration="10.0"/> <BoundingBox> <Center x="1.5" y="0.0" z="0.9"/> <Dimensions width="2.1" length="4.5" height="1.8"/> </BoundingBox> <Axles> <FrontAxle maxSteering="0.5" wheelDiameter="0.6" trackWidth="1.8" positionX="3.1" positionZ="0.3"/> <RearAxle maxSteering="0.0" wheelDiameter="0.6" trackWidth="1.8" positionX="0.0" positionZ="0.3"/> </Axles> <Properties> <Property name="type" value="simulation"/> </Properties> </Vehicle> </ScenarioObject> <ScenarioObject name="standing"> <Vehicle name="vehicle.volkswagen.t2" vehicleCategory="car"> <ParameterDeclarations/> <Performance maxSpeed="69.444" maxAcceleration="200" maxDeceleration="10.0"/> <BoundingBox> <Center x="1.5" y="0.0" z="0.9"/> <Dimensions width="2.1" length="4.5" height="1.8"/> </BoundingBox> <Axles> <FrontAxle maxSteering="0.5" wheelDiameter="0.6" trackWidth="1.8" positionX="3.1" positionZ="0.3"/> <RearAxle maxSteering="0.0" wheelDiameter="0.6" trackWidth="1.8" positionX="0.0" positionZ="0.3"/> </Axles> <Properties> <Property name="type" value="simulation"/> </Properties> </Vehicle> </ScenarioObject> <ScenarioObject name="pedestrian_close_to_adversary_6136"> <Pedestrian model="walker.pedestrian.0001" mass="80" name="walker.pedestrian.0001" pedestrianCategory="pedestrian"> <ParameterDeclarations/> <BoundingBox> <Center x="1.5" y="0.0" z="0.9"/> <Dimensions width="2" length="2" height="2"/> </BoundingBox> <Properties> <Property name="type" value="simulation"/> </Properties> </Pedestrian> </ScenarioObject> <ScenarioObject name="pedestrian_close_to_adversary_6137"> <Pedestrian model="walker.pedestrian.0001" mass="80" name="walker.pedestrian.0001" pedestrianCategory="pedestrian"> <ParameterDeclarations/> <BoundingBox> <Center x="1.5" y="0.0" z="0.9"/> <Dimensions width="2" length="2" height="2"/> </BoundingBox> <Properties> <Property name="type" value="simulation"/> </Properties> </Pedestrian> </ScenarioObject> <ScenarioObject name="pedestrian_w_transform_6138"> <Pedestrian model="walker.pedestrian.0001" mass="80" name="walker.pedestrian.0001" pedestrianCategory="pedestrian"> <ParameterDeclarations/> <BoundingBox> <Center x="1.5" y="0.0" z="0.9"/> <Dimensions width="2" length="2" height="2"/> </BoundingBox> <Properties> <Property name="type" value="simulation"/> </Properties> </Pedestrian> </ScenarioObject> <ScenarioObject name="pedestrian_close_to_hero_6139"> <Pedestrian model="walker.pedestrian.0001" mass="80" name="walker.pedestrian.0001" pedestrianCategory="pedestrian"> <ParameterDeclarations/> <BoundingBox> <Center x="1.5" y="0.0" z="0.9"/> <Dimensions width="2" length="2" height="2"/> </BoundingBox> <Properties> <Property name="type" value="simulation"/> </Properties> </Pedestrian> </ScenarioObject> <ScenarioObject name="pedestrian_w_transform_6140"> <Pedestrian model="walker.pedestrian.0001" mass="80" name="walker.pedestrian.0001" pedestrianCategory="pedestrian"> <ParameterDeclarations/> <BoundingBox> <Center x="1.5" y="0.0" z="0.9"/> <Dimensions width="2" length="2" height="2"/> </BoundingBox> <Properties> <Property name="type" value="simulation"/> </Properties> </Pedestrian> </ScenarioObject> <ScenarioObject name="pedestrian_close_to_adversary_6141"> <Pedestrian model="walker.pedestrian.0001" mass="80" name="walker.pedestrian.0001" pedestrianCategory="pedestrian"> <ParameterDeclarations/> <BoundingBox> <Center x="1.5" y="0.0" z="0.9"/> <Dimensions width="2" length="2" height="2"/> </BoundingBox> <Properties> <Property name="type" value="simulation"/> </Properties> </Pedestrian> </ScenarioObject> </Entities> <Storyboard> <Init> <Actions> <GlobalAction> <EnvironmentAction> <Environment name="Environment1"> <TimeOfDay animation="false" dateTime="2019-06-25T12:00:00"/> <Weather cloudState="free"> <Sun intensity="0.85" azimuth="0" elevation="1.31"/> <Fog visualRange="100000.0"/> <Precipitation precipitationType="dry" intensity="0.0"/> </Weather> <RoadCondition frictionScaleFactor="1.0"/> </Environment> </EnvironmentAction> </GlobalAction> <Private entityRef="hero"> <PrivateAction> <TeleportAction> <Position> <WorldPosition x="-9.4" y="-152.8" z="0.5" h="1.57079632679"/> </Position> </TeleportAction> </PrivateAction> <PrivateAction> <ControllerAction> <AssignControllerAction> <Controller name="HeroAgent"> <Properties> <Property name="module" value="external_control"/> </Properties> </Controller> </AssignControllerAction> <OverrideControllerValueAction> <Throttle value="0" active="false"/> <Brake value="0" active="false"/> <Clutch value="0" active="false"/> <ParkingBrake value="0" active="false"/> <SteeringWheel value="0" active="false"/> <Gear number="0" active="false"/> </OverrideControllerValueAction> </ControllerAction> </PrivateAction> </Private> <Private entityRef="adversary"> <PrivateAction> <TeleportAction> <Position> <WorldPosition x="-9.4" y="-71.0" z="0.5" h="1.57079632679"/> </Position> </TeleportAction> </PrivateAction> </Private> <Private entityRef="standing"> <PrivateAction> <TeleportAction> <Position> <WorldPosition x="-8.2" y="29.2" z="0.5" h="1.57079632679"/> </Position> </TeleportAction> </PrivateAction> </Private> <Private entityRef="pedestrian_close_to_adversary_6136"> <PrivateAction> <TeleportAction> <Position> <WorldPosition x="-9.832199096679688" y="-71.97743225097656" z="0.03378948196768761"/> </Position> </TeleportAction> </PrivateAction> </Private> <Private entityRef="pedestrian_close_to_adversary_6137"> <PrivateAction> <TeleportAction> <Position> <WorldPosition x="-16.262653350830078" y="-68.24130249023438" z="0.03379875048995018"/> </Position> </TeleportAction> </PrivateAction> </Private> <Private entityRef="pedestrian_w_transform_6138"> <PrivateAction> <TeleportAction> <Position> <WorldPosition x="48.81318664550781" y="95.08125305175781" z="0.5"/> </Position> </TeleportAction> </PrivateAction> </Private> <Private entityRef="pedestrian_close_to_hero_6139"> <PrivateAction> <TeleportAction> <Position> <WorldPosition x="-5.282431602478027" y="-162.7553253173828" z="0.0014286803780123591"/> </Position> </TeleportAction> </PrivateAction> </Private> <Private entityRef="pedestrian_w_transform_6140"> <PrivateAction> <TeleportAction> <Position> <WorldPosition x="-7.463223457336426" y="-0.9698570370674133" z="0.5"/> </Position> </TeleportAction> </PrivateAction> </Private> <Private entityRef="pedestrian_close_to_adversary_6141"> <PrivateAction> <TeleportAction> <Position> <WorldPosition x="-5.702005863189697" y="-79.16182708740234" z="0.03375480696558952"/> </Position> </TeleportAction> </PrivateAction> </Private> </Actions> </Init> <Story name="MyStory"> <Act name="Behavior"> <ManeuverGroup maximumExecutionCount="1" name="ManeuverSequence"> <Actors selectTriggeringEntities="false"> <EntityRef entityRef="adversary"/> </Actors> <Maneuver name="LaneChangeSimpleManeuver"> <Event name="AdversaryAccelerates" priority="overwrite"> <Action name="AdversaryAccelerates"> <PrivateAction> <LongitudinalAction> <SpeedAction> <SpeedActionDynamics dynamicsShape="step" value="50" dynamicsDimension="distance"/> <SpeedActionTarget> <AbsoluteTargetSpeed value="5.0"/> </SpeedActionTarget> </SpeedAction> </LongitudinalAction> </PrivateAction> </Action> <StartTrigger> <ConditionGroup> <Condition name="StartCondition" delay="0" conditionEdge="rising"> <ByEntityCondition> <TriggeringEntities triggeringEntitiesRule="any"> <EntityRef entityRef="hero"/> </TriggeringEntities> <EntityCondition> <RelativeDistanceCondition entityRef="adversary" relativeDistanceType="cartesianDistance" value="40.0" freespace="false" rule="lessThan"/> </EntityCondition> </ByEntityCondition> </Condition> </ConditionGroup> </StartTrigger> </Event> <Event name="AdversaryChangesLane" priority="overwrite"> <Action name="AdversaryChangesLane"> <PrivateAction> <LateralAction> <LaneChangeAction> <LaneChangeActionDynamics dynamicsShape="linear" value="25" dynamicsDimension="distance"/> <LaneChangeTarget> <RelativeTargetLane entityRef="adversary" value="-1"/> </LaneChangeTarget> </LaneChangeAction> </LateralAction> </PrivateAction> </Action> <StartTrigger> <ConditionGroup> <Condition name="AfterAdversaryAccelerates" delay="0" conditionEdge="rising"> <ByValueCondition> <StoryboardElementStateCondition storyboardElementType="action" storyboardElementRef="AdversaryAccelerates" state="completeState"/> </ByValueCondition> </Condition> </ConditionGroup> </StartTrigger> </Event> </Maneuver> </ManeuverGroup> <StartTrigger> <ConditionGroup> <Condition name="OverallStartCondition" delay="0" conditionEdge="rising"> <ByEntityCondition> <TriggeringEntities triggeringEntitiesRule="any"> <EntityRef entityRef="hero"/> </TriggeringEntities> <EntityCondition> <TraveledDistanceCondition value="1.0"/> </EntityCondition> </ByEntityCondition> </Condition> <Condition name="StartTime" delay="0" conditionEdge="rising"> <ByValueCondition> <SimulationTimeCondition value="0" rule="equalTo"/> </ByValueCondition> </Condition> </ConditionGroup> </StartTrigger> <StopTrigger> <ConditionGroup> <Condition name="EndCondition" delay="0" conditionEdge="rising"> <ByEntityCondition> <TriggeringEntities triggeringEntitiesRule="any"> <EntityRef entityRef="hero"/> </TriggeringEntities> <EntityCondition> <TraveledDistanceCondition value="200.0"/> </EntityCondition> </ByEntityCondition> </Condition> </ConditionGroup> </StopTrigger> </Act> </Story> <StopTrigger> <ConditionGroup> <Condition name="criteria_RunningStopTest" delay="0" conditionEdge="rising"> <ByValueCondition> <ParameterCondition parameterRef="" value="" rule="lessThan"/> </ByValueCondition> </Condition> <Condition name="criteria_RunningRedLightTest" delay="0" conditionEdge="rising"> <ByValueCondition> <ParameterCondition parameterRef="" value="" rule="lessThan"/> </ByValueCondition> </Condition> <Condition name="criteria_WrongLaneTest" delay="0" conditionEdge="rising"> <ByValueCondition> <ParameterCondition parameterRef="" value="" rule="lessThan"/> </ByValueCondition> </Condition> <Condition name="criteria_OnSidewalkTest" delay="0" conditionEdge="rising"> <ByValueCondition> <ParameterCondition parameterRef="" value="" rule="lessThan"/> </ByValueCondition> </Condition> <Condition name="criteria_KeepLaneTest" delay="0" conditionEdge="rising"> <ByValueCondition> <ParameterCondition parameterRef="" value="" rule="lessThan"/> </ByValueCondition> </Condition> <Condition name="criteria_CollisionTest" delay="0" conditionEdge="rising"> <ByValueCondition> <ParameterCondition parameterRef="" value="" rule="lessThan"/> </ByValueCondition> </Condition> <Condition name="criteria_DrivenDistanceTest" delay="0" conditionEdge="rising"> <ByValueCondition> <ParameterCondition parameterRef="distance_success" value="100" rule="lessThan"/> </ByValueCondition> </Condition> </ConditionGroup> </StopTrigger> </Storyboard> </OpenSCENARIO> ```
could you add pedestrian close to standing? ``` <?xml version="1.0" ?> <OpenSCENARIO> <FileHeader revMajor="1" revMinor="0" date="2020-03-24T12:00:00" description="CARLA:LaneChangeSimple" author=""/> <ParameterDeclarations/> <CatalogLocations/> <RoadNetwork> <LogicFile filepath="Town04"/> <SceneGraphFile filepath=""/> </RoadNetwork> <Entities> <ScenarioObject name="hero"> <Vehicle name="vehicle.tesla.model3" vehicleCategory="car"> <ParameterDeclarations/> <Performance maxSpeed="69.444" maxAcceleration="200" maxDeceleration="10.0"/> <BoundingBox> <Center x="1.5" y="0.0" z="0.9"/> <Dimensions width="2.1" length="4.5" height="1.8"/> </BoundingBox> <Axles> <FrontAxle maxSteering="0.5" wheelDiameter="0.6" trackWidth="1.8" positionX="3.1" positionZ="0.3"/> <RearAxle maxSteering="0.0" wheelDiameter="0.6" trackWidth="1.8" positionX="0.0" positionZ="0.3"/> </Axles> <Properties> <Property name="type" value="ego_vehicle"/> </Properties> </Vehicle> </ScenarioObject> <ScenarioObject name="adversary"> <Vehicle name="vehicle.lincoln.mkz_2017" vehicleCategory="car"> <ParameterDeclarations/> <Performance maxSpeed="69.444" maxAcceleration="200" maxDeceleration="10.0"/> <BoundingBox> <Center x="1.5" y="0.0" z="0.9"/> <Dimensions width="2.1" length="4.5" height="1.8"/> </BoundingBox> <Axles> <FrontAxle maxSteering="0.5" wheelDiameter="0.6" trackWidth="1.8" positionX="3.1" positionZ="0.3"/> <RearAxle maxSteering="0.0" wheelDiameter="0.6" trackWidth="1.8" positionX="0.0" positionZ="0.3"/> </Axles> <Properties> <Property name="type" value="simulation"/> </Properties> </Vehicle> </ScenarioObject> <ScenarioObject name="standing"> <Vehicle name="vehicle.volkswagen.t2" vehicleCategory="car"> <ParameterDeclarations/> <Performance maxSpeed="69.444" maxAcceleration="200" maxDeceleration="10.0"/> <BoundingBox> <Center x="1.5" y="0.0" z="0.9"/> <Dimensions width="2.1" length="4.5" height="1.8"/> </BoundingBox> <Axles> <FrontAxle maxSteering="0.5" wheelDiameter="0.6" trackWidth="1.8" positionX="3.1" positionZ="0.3"/> <RearAxle maxSteering="0.0" wheelDiameter="0.6" trackWidth="1.8" positionX="0.0" positionZ="0.3"/> </Axles> <Properties> <Property name="type" value="simulation"/> </Properties> </Vehicle> </ScenarioObject> </Entities> <Storyboard> <Init> <Actions> <GlobalAction> <EnvironmentAction> <Environment name="Environment1"> <TimeOfDay animation="false" dateTime="2019-06-25T12:00:00"/> <Weather cloudState="free"> <Sun intensity="0.85" azimuth="0" elevation="1.31"/> <Fog visualRange="100000.0"/> <Precipitation precipitationType="dry" intensity="0.0"/> </Weather> <RoadCondition frictionScaleFactor="1.0"/> </Environment> </EnvironmentAction> </GlobalAction> <Private entityRef="hero"> <PrivateAction> <TeleportAction> <Position> <WorldPosition x="-9.4" y="-152.8" z="0.5" h="1.57079632679"/> </Position> </TeleportAction> </PrivateAction> <PrivateAction> <ControllerAction> <AssignControllerAction> <Controller name="HeroAgent"> <Properties> <Property name="module" value="external_control"/> </Properties> </Controller> </AssignControllerAction> <OverrideControllerValueAction> <Throttle value="0" active="false"/> <Brake value="0" active="false"/> <Clutch value="0" active="false"/> <ParkingBrake value="0" active="false"/> <SteeringWheel value="0" active="false"/> <Gear number="0" active="false"/> </OverrideControllerValueAction> </ControllerAction> </PrivateAction> </Private> <Private entityRef="adversary"> <PrivateAction> <TeleportAction> <Position> <WorldPosition x="-9.4" y="-71.0" z="0.5" h="1.57079632679"/> </Position> </TeleportAction> </PrivateAction> </Private> <Private entityRef="standing"> <PrivateAction> <TeleportAction> <Position> <WorldPosition x="-8.2" y="29.2" z="0.5" h="1.57079632679"/> </Position> </TeleportAction> </PrivateAction> </Private> </Actions> </Init> <Story name="MyStory"> <Act name="Behavior"> <ManeuverGroup maximumExecutionCount="1" name="ManeuverSequence"> <Actors selectTriggeringEntities="false"> <EntityRef entityRef="adversary"/> </Actors> <Maneuver name="LaneChangeSimpleManeuver"> <Event name="AdversaryAccelerates" priority="overwrite"> <Action name="AdversaryAccelerates"> <PrivateAction> <LongitudinalAction> <SpeedAction> <SpeedActionDynamics dynamicsShape="step" value="50" dynamicsDimension="distance"/> <SpeedActionTarget> <AbsoluteTargetSpeed value="5.0"/> </SpeedActionTarget> </SpeedAction> </LongitudinalAction> </PrivateAction> </Action> <StartTrigger> <ConditionGroup> <Condition name="StartCondition" delay="0" conditionEdge="rising"> <ByEntityCondition> <TriggeringEntities triggeringEntitiesRule="any"> <EntityRef entityRef="hero"/> </TriggeringEntities> <EntityCondition> <RelativeDistanceCondition entityRef="adversary" relativeDistanceType="cartesianDistance" value="40.0" freespace="false" rule="lessThan"/> </EntityCondition> </ByEntityCondition> </Condition> </ConditionGroup> </StartTrigger> </Event> <Event name="AdversaryChangesLane" priority="overwrite"> <Action name="AdversaryChangesLane"> <PrivateAction> <LateralAction> <LaneChangeAction> <LaneChangeActionDynamics dynamicsShape="linear" value="25" dynamicsDimension="distance"/> <LaneChangeTarget> <RelativeTargetLane entityRef="adversary" value="-1"/> </LaneChangeTarget> </LaneChangeAction> </LateralAction> </PrivateAction> </Action> <StartTrigger> <ConditionGroup> <Condition name="AfterAdversaryAccelerates" delay="0" conditionEdge="rising"> <ByValueCondition> <StoryboardElementStateCondition storyboardElementType="action" storyboardElementRef="AdversaryAccelerates" state="completeState"/> </ByValueCondition> </Condition> </ConditionGroup> </StartTrigger> </Event> </Maneuver> </ManeuverGroup> <StartTrigger> <ConditionGroup> <Condition name="OverallStartCondition" delay="0" conditionEdge="rising"> <ByEntityCondition> <TriggeringEntities triggeringEntitiesRule="any"> <EntityRef entityRef="hero"/> </TriggeringEntities> <EntityCondition> <TraveledDistanceCondition value="1.0"/> </EntityCondition> </ByEntityCondition> </Condition> <Condition name="StartTime" delay="0" conditionEdge="rising"> <ByValueCondition> <SimulationTimeCondition value="0" rule="equalTo"/> </ByValueCondition> </Condition> </ConditionGroup> </StartTrigger> <StopTrigger> <ConditionGroup> <Condition name="EndCondition" delay="0" conditionEdge="rising"> <ByEntityCondition> <TriggeringEntities triggeringEntitiesRule="any"> <EntityRef entityRef="hero"/> </TriggeringEntities> <EntityCondition> <TraveledDistanceCondition value="200.0"/> </EntityCondition> </ByEntityCondition> </Condition> </ConditionGroup> </StopTrigger> </Act> </Story> <StopTrigger> <ConditionGroup> <Condition name="criteria_RunningStopTest" delay="0" conditionEdge="rising"> <ByValueCondition> <ParameterCondition parameterRef="" value="" rule="lessThan"/> </ByValueCondition> </Condition> <Condition name="criteria_RunningRedLightTest" delay="0" conditionEdge="rising"> <ByValueCondition> <ParameterCondition parameterRef="" value="" rule="lessThan"/> </ByValueCondition> </Condition> <Condition name="criteria_WrongLaneTest" delay="0" conditionEdge="rising"> <ByValueCondition> <ParameterCondition parameterRef="" value="" rule="lessThan"/> </ByValueCondition> </Condition> <Condition name="criteria_OnSidewalkTest" delay="0" conditionEdge="rising"> <ByValueCondition> <ParameterCondition parameterRef="" value="" rule="lessThan"/> </ByValueCondition> </Condition> <Condition name="criteria_KeepLaneTest" delay="0" conditionEdge="rising"> <ByValueCondition> <ParameterCondition parameterRef="" value="" rule="lessThan"/> </ByValueCondition> </Condition> <Condition name="criteria_CollisionTest" delay="0" conditionEdge="rising"> <ByValueCondition> <ParameterCondition parameterRef="" value="" rule="lessThan"/> </ByValueCondition> </Condition> <Condition name="criteria_DrivenDistanceTest" delay="0" conditionEdge="rising"> <ByValueCondition> <ParameterCondition parameterRef="distance_success" value="100" rule="lessThan"/> </ByValueCondition> </Condition> </ConditionGroup> </StopTrigger> </Storyboard> </OpenSCENARIO> ```
Here is the result: ``` <?xml version="1.0" ?> <OpenSCENARIO> <FileHeader revMajor="1" revMinor="0" date="2020-03-24T12:00:00" description="CARLA:LaneChangeSimple" author=""/> <ParameterDeclarations/> <CatalogLocations/> <RoadNetwork> <LogicFile filepath="Town04"/> <SceneGraphFile filepath=""/> </RoadNetwork> <Entities> <ScenarioObject name="hero"> <Vehicle name="vehicle.tesla.model3" vehicleCategory="car"> <ParameterDeclarations/> <Performance maxSpeed="69.444" maxAcceleration="200" maxDeceleration="10.0"/> <BoundingBox> <Center x="1.5" y="0.0" z="0.9"/> <Dimensions width="2.1" length="4.5" height="1.8"/> </BoundingBox> <Axles> <FrontAxle maxSteering="0.5" wheelDiameter="0.6" trackWidth="1.8" positionX="3.1" positionZ="0.3"/> <RearAxle maxSteering="0.0" wheelDiameter="0.6" trackWidth="1.8" positionX="0.0" positionZ="0.3"/> </Axles> <Properties> <Property name="type" value="ego_vehicle"/> </Properties> </Vehicle> </ScenarioObject> <ScenarioObject name="adversary"> <Vehicle name="vehicle.lincoln.mkz_2017" vehicleCategory="car"> <ParameterDeclarations/> <Performance maxSpeed="69.444" maxAcceleration="200" maxDeceleration="10.0"/> <BoundingBox> <Center x="1.5" y="0.0" z="0.9"/> <Dimensions width="2.1" length="4.5" height="1.8"/> </BoundingBox> <Axles> <FrontAxle maxSteering="0.5" wheelDiameter="0.6" trackWidth="1.8" positionX="3.1" positionZ="0.3"/> <RearAxle maxSteering="0.0" wheelDiameter="0.6" trackWidth="1.8" positionX="0.0" positionZ="0.3"/> </Axles> <Properties> <Property name="type" value="simulation"/> </Properties> </Vehicle> </ScenarioObject> <ScenarioObject name="standing"> <Vehicle name="vehicle.volkswagen.t2" vehicleCategory="car"> <ParameterDeclarations/> <Performance maxSpeed="69.444" maxAcceleration="200" maxDeceleration="10.0"/> <BoundingBox> <Center x="1.5" y="0.0" z="0.9"/> <Dimensions width="2.1" length="4.5" height="1.8"/> </BoundingBox> <Axles> <FrontAxle maxSteering="0.5" wheelDiameter="0.6" trackWidth="1.8" positionX="3.1" positionZ="0.3"/> <RearAxle maxSteering="0.0" wheelDiameter="0.6" trackWidth="1.8" positionX="0.0" positionZ="0.3"/> </Axles> <Properties> <Property name="type" value="simulation"/> </Properties> </Vehicle> </ScenarioObject> <ScenarioObject name="pedestrian_close_to_standing_12239"> <Pedestrian model="walker.pedestrian.0001" mass="80" name="walker.pedestrian.0001" pedestrianCategory="pedestrian"> <ParameterDeclarations/> <BoundingBox> <Center x="1.5" y="0.0" z="0.9"/> <Dimensions width="2" length="2" height="2"/> </BoundingBox> <Properties> <Property name="type" value="simulation"/> </Properties> </Pedestrian> </ScenarioObject> </Entities> <Storyboard> <Init> <Actions> <GlobalAction> <EnvironmentAction> <Environment name="Environment1"> <TimeOfDay animation="false" dateTime="2019-06-25T12:00:00"/> <Weather cloudState="free"> <Sun intensity="0.85" azimuth="0" elevation="1.31"/> <Fog visualRange="100000.0"/> <Precipitation precipitationType="dry" intensity="0.0"/> </Weather> <RoadCondition frictionScaleFactor="1.0"/> </Environment> </EnvironmentAction> </GlobalAction> <Private entityRef="hero"> <PrivateAction> <TeleportAction> <Position> <WorldPosition x="-9.4" y="-152.8" z="0.5" h="1.57079632679"/> </Position> </TeleportAction> </PrivateAction> <PrivateAction> <ControllerAction> <AssignControllerAction> <Controller name="HeroAgent"> <Properties> <Property name="module" value="external_control"/> </Properties> </Controller> </AssignControllerAction> <OverrideControllerValueAction> <Throttle value="0" active="false"/> <Brake value="0" active="false"/> <Clutch value="0" active="false"/> <ParkingBrake value="0" active="false"/> <SteeringWheel value="0" active="false"/> <Gear number="0" active="false"/> </OverrideControllerValueAction> </ControllerAction> </PrivateAction> </Private> <Private entityRef="adversary"> <PrivateAction> <TeleportAction> <Position> <WorldPosition x="-9.4" y="-71.0" z="0.5" h="1.57079632679"/> </Position> </TeleportAction> </PrivateAction> </Private> <Private entityRef="standing"> <PrivateAction> <TeleportAction> <Position> <WorldPosition x="-8.2" y="29.2" z="0.5" h="1.57079632679"/> </Position> </TeleportAction> </PrivateAction> </Private> <Private entityRef="pedestrian_close_to_standing_12239"> <PrivateAction> <TeleportAction> <Position> <WorldPosition x="-15.726860046386719" y="20.044689178466797" z="0.003023948520421982"/> </Position> </TeleportAction> </PrivateAction> </Private> </Actions> </Init> <Story name="MyStory"> <Act name="Behavior"> <ManeuverGroup maximumExecutionCount="1" name="ManeuverSequence"> <Actors selectTriggeringEntities="false"> <EntityRef entityRef="adversary"/> </Actors> <Maneuver name="LaneChangeSimpleManeuver"> <Event name="AdversaryAccelerates" priority="overwrite"> <Action name="AdversaryAccelerates"> <PrivateAction> <LongitudinalAction> <SpeedAction> <SpeedActionDynamics dynamicsShape="step" value="50" dynamicsDimension="distance"/> <SpeedActionTarget> <AbsoluteTargetSpeed value="5.0"/> </SpeedActionTarget> </SpeedAction> </LongitudinalAction> </PrivateAction> </Action> <StartTrigger> <ConditionGroup> <Condition name="StartCondition" delay="0" conditionEdge="rising"> <ByEntityCondition> <TriggeringEntities triggeringEntitiesRule="any"> <EntityRef entityRef="hero"/> </TriggeringEntities> <EntityCondition> <RelativeDistanceCondition entityRef="adversary" relativeDistanceType="cartesianDistance" value="40.0" freespace="false" rule="lessThan"/> </EntityCondition> </ByEntityCondition> </Condition> </ConditionGroup> </StartTrigger> </Event> <Event name="AdversaryChangesLane" priority="overwrite"> <Action name="AdversaryChangesLane"> <PrivateAction> <LateralAction> <LaneChangeAction> <LaneChangeActionDynamics dynamicsShape="linear" value="25" dynamicsDimension="distance"/> <LaneChangeTarget> <RelativeTargetLane entityRef="adversary" value="-1"/> </LaneChangeTarget> </LaneChangeAction> </LateralAction> </PrivateAction> </Action> <StartTrigger> <ConditionGroup> <Condition name="AfterAdversaryAccelerates" delay="0" conditionEdge="rising"> <ByValueCondition> <StoryboardElementStateCondition storyboardElementType="action" storyboardElementRef="AdversaryAccelerates" state="completeState"/> </ByValueCondition> </Condition> </ConditionGroup> </StartTrigger> </Event> </Maneuver> </ManeuverGroup> <StartTrigger> <ConditionGroup> <Condition name="OverallStartCondition" delay="0" conditionEdge="rising"> <ByEntityCondition> <TriggeringEntities triggeringEntitiesRule="any"> <EntityRef entityRef="hero"/> </TriggeringEntities> <EntityCondition> <TraveledDistanceCondition value="1.0"/> </EntityCondition> </ByEntityCondition> </Condition> <Condition name="StartTime" delay="0" conditionEdge="rising"> <ByValueCondition> <SimulationTimeCondition value="0" rule="equalTo"/> </ByValueCondition> </Condition> </ConditionGroup> </StartTrigger> <StopTrigger> <ConditionGroup> <Condition name="EndCondition" delay="0" conditionEdge="rising"> <ByEntityCondition> <TriggeringEntities triggeringEntitiesRule="any"> <EntityRef entityRef="hero"/> </TriggeringEntities> <EntityCondition> <TraveledDistanceCondition value="200.0"/> </EntityCondition> </ByEntityCondition> </Condition> </ConditionGroup> </StopTrigger> </Act> </Story> <StopTrigger> <ConditionGroup> <Condition name="criteria_RunningStopTest" delay="0" conditionEdge="rising"> <ByValueCondition> <ParameterCondition parameterRef="" value="" rule="lessThan"/> </ByValueCondition> </Condition> <Condition name="criteria_RunningRedLightTest" delay="0" conditionEdge="rising"> <ByValueCondition> <ParameterCondition parameterRef="" value="" rule="lessThan"/> </ByValueCondition> </Condition> <Condition name="criteria_WrongLaneTest" delay="0" conditionEdge="rising"> <ByValueCondition> <ParameterCondition parameterRef="" value="" rule="lessThan"/> </ByValueCondition> </Condition> <Condition name="criteria_OnSidewalkTest" delay="0" conditionEdge="rising"> <ByValueCondition> <ParameterCondition parameterRef="" value="" rule="lessThan"/> </ByValueCondition> </Condition> <Condition name="criteria_KeepLaneTest" delay="0" conditionEdge="rising"> <ByValueCondition> <ParameterCondition parameterRef="" value="" rule="lessThan"/> </ByValueCondition> </Condition> <Condition name="criteria_CollisionTest" delay="0" conditionEdge="rising"> <ByValueCondition> <ParameterCondition parameterRef="" value="" rule="lessThan"/> </ByValueCondition> </Condition> <Condition name="criteria_DrivenDistanceTest" delay="0" conditionEdge="rising"> <ByValueCondition> <ParameterCondition parameterRef="distance_success" value="100" rule="lessThan"/> </ByValueCondition> </Condition> </ConditionGroup> </StopTrigger> </Storyboard> </OpenSCENARIO> ```
i would like you to demonstrate add pedestrian at location (-9.68, -5.55, 0.5)? ``` <?xml version="1.0" ?> <OpenSCENARIO> <FileHeader revMajor="1" revMinor="0" date="2020-03-24T12:00:00" description="CARLA:LaneChangeSimple" author=""/> <ParameterDeclarations/> <CatalogLocations/> <RoadNetwork> <LogicFile filepath="Town04"/> <SceneGraphFile filepath=""/> </RoadNetwork> <Entities> <ScenarioObject name="hero"> <Vehicle name="vehicle.tesla.model3" vehicleCategory="car"> <ParameterDeclarations/> <Performance maxSpeed="69.444" maxAcceleration="200" maxDeceleration="10.0"/> <BoundingBox> <Center x="1.5" y="0.0" z="0.9"/> <Dimensions width="2.1" length="4.5" height="1.8"/> </BoundingBox> <Axles> <FrontAxle maxSteering="0.5" wheelDiameter="0.6" trackWidth="1.8" positionX="3.1" positionZ="0.3"/> <RearAxle maxSteering="0.0" wheelDiameter="0.6" trackWidth="1.8" positionX="0.0" positionZ="0.3"/> </Axles> <Properties> <Property name="type" value="ego_vehicle"/> </Properties> </Vehicle> </ScenarioObject> <ScenarioObject name="adversary"> <Vehicle name="vehicle.lincoln.mkz_2017" vehicleCategory="car"> <ParameterDeclarations/> <Performance maxSpeed="69.444" maxAcceleration="200" maxDeceleration="10.0"/> <BoundingBox> <Center x="1.5" y="0.0" z="0.9"/> <Dimensions width="2.1" length="4.5" height="1.8"/> </BoundingBox> <Axles> <FrontAxle maxSteering="0.5" wheelDiameter="0.6" trackWidth="1.8" positionX="3.1" positionZ="0.3"/> <RearAxle maxSteering="0.0" wheelDiameter="0.6" trackWidth="1.8" positionX="0.0" positionZ="0.3"/> </Axles> <Properties> <Property name="type" value="simulation"/> </Properties> </Vehicle> </ScenarioObject> <ScenarioObject name="standing"> <Vehicle name="vehicle.volkswagen.t2" vehicleCategory="car"> <ParameterDeclarations/> <Performance maxSpeed="69.444" maxAcceleration="200" maxDeceleration="10.0"/> <BoundingBox> <Center x="1.5" y="0.0" z="0.9"/> <Dimensions width="2.1" length="4.5" height="1.8"/> </BoundingBox> <Axles> <FrontAxle maxSteering="0.5" wheelDiameter="0.6" trackWidth="1.8" positionX="3.1" positionZ="0.3"/> <RearAxle maxSteering="0.0" wheelDiameter="0.6" trackWidth="1.8" positionX="0.0" positionZ="0.3"/> </Axles> <Properties> <Property name="type" value="simulation"/> </Properties> </Vehicle> </ScenarioObject> <ScenarioObject name="pedestrian_close_to_standing_14088"> <Pedestrian model="walker.pedestrian.0001" mass="80" name="walker.pedestrian.0001" pedestrianCategory="pedestrian"> <ParameterDeclarations/> <BoundingBox> <Center x="1.5" y="0.0" z="0.9"/> <Dimensions width="2" length="2" height="2"/> </BoundingBox> <Properties> <Property name="type" value="simulation"/> </Properties> </Pedestrian> </ScenarioObject> <ScenarioObject name="pedestrian_w_transform_14089"> <Pedestrian model="walker.pedestrian.0001" mass="80" name="walker.pedestrian.0001" pedestrianCategory="pedestrian"> <ParameterDeclarations/> <BoundingBox> <Center x="1.5" y="0.0" z="0.9"/> <Dimensions width="2" length="2" height="2"/> </BoundingBox> <Properties> <Property name="type" value="simulation"/> </Properties> </Pedestrian> </ScenarioObject> <ScenarioObject name="pedestrian_close_to_adversary_14090"> <Pedestrian model="walker.pedestrian.0001" mass="80" name="walker.pedestrian.0001" pedestrianCategory="pedestrian"> <ParameterDeclarations/> <BoundingBox> <Center x="1.5" y="0.0" z="0.9"/> <Dimensions width="2" length="2" height="2"/> </BoundingBox> <Properties> <Property name="type" value="simulation"/> </Properties> </Pedestrian> </ScenarioObject> <ScenarioObject name="pedestrian_close_to_standing_14091"> <Pedestrian model="walker.pedestrian.0001" mass="80" name="walker.pedestrian.0001" pedestrianCategory="pedestrian"> <ParameterDeclarations/> <BoundingBox> <Center x="1.5" y="0.0" z="0.9"/> <Dimensions width="2" length="2" height="2"/> </BoundingBox> <Properties> <Property name="type" value="simulation"/> </Properties> </Pedestrian> </ScenarioObject> <ScenarioObject name="pedestrian_w_transform_14092"> <Pedestrian model="walker.pedestrian.0001" mass="80" name="walker.pedestrian.0001" pedestrianCategory="pedestrian"> <ParameterDeclarations/> <BoundingBox> <Center x="1.5" y="0.0" z="0.9"/> <Dimensions width="2" length="2" height="2"/> </BoundingBox> <Properties> <Property name="type" value="simulation"/> </Properties> </Pedestrian> </ScenarioObject> <ScenarioObject name="pedestrian_w_transform_14093"> <Pedestrian model="walker.pedestrian.0001" mass="80" name="walker.pedestrian.0001" pedestrianCategory="pedestrian"> <ParameterDeclarations/> <BoundingBox> <Center x="1.5" y="0.0" z="0.9"/> <Dimensions width="2" length="2" height="2"/> </BoundingBox> <Properties> <Property name="type" value="simulation"/> </Properties> </Pedestrian> </ScenarioObject> <ScenarioObject name="pedestrian_w_transform_14094"> <Pedestrian model="walker.pedestrian.0001" mass="80" name="walker.pedestrian.0001" pedestrianCategory="pedestrian"> <ParameterDeclarations/> <BoundingBox> <Center x="1.5" y="0.0" z="0.9"/> <Dimensions width="2" length="2" height="2"/> </BoundingBox> <Properties> <Property name="type" value="simulation"/> </Properties> </Pedestrian> </ScenarioObject> <ScenarioObject name="pedestrian_w_transform_14095"> <Pedestrian model="walker.pedestrian.0001" mass="80" name="walker.pedestrian.0001" pedestrianCategory="pedestrian"> <ParameterDeclarations/> <BoundingBox> <Center x="1.5" y="0.0" z="0.9"/> <Dimensions width="2" length="2" height="2"/> </BoundingBox> <Properties> <Property name="type" value="simulation"/> </Properties> </Pedestrian> </ScenarioObject> <ScenarioObject name="pedestrian_w_transform_14096"> <Pedestrian model="walker.pedestrian.0001" mass="80" name="walker.pedestrian.0001" pedestrianCategory="pedestrian"> <ParameterDeclarations/> <BoundingBox> <Center x="1.5" y="0.0" z="0.9"/> <Dimensions width="2" length="2" height="2"/> </BoundingBox> <Properties> <Property name="type" value="simulation"/> </Properties> </Pedestrian> </ScenarioObject> <ScenarioObject name="pedestrian_w_transform_14097"> <Pedestrian model="walker.pedestrian.0001" mass="80" name="walker.pedestrian.0001" pedestrianCategory="pedestrian"> <ParameterDeclarations/> <BoundingBox> <Center x="1.5" y="0.0" z="0.9"/> <Dimensions width="2" length="2" height="2"/> </BoundingBox> <Properties> <Property name="type" value="simulation"/> </Properties> </Pedestrian> </ScenarioObject> <ScenarioObject name="pedestrian_close_to_adversary_14098"> <Pedestrian model="walker.pedestrian.0001" mass="80" name="walker.pedestrian.0001" pedestrianCategory="pedestrian"> <ParameterDeclarations/> <BoundingBox> <Center x="1.5" y="0.0" z="0.9"/> <Dimensions width="2" length="2" height="2"/> </BoundingBox> <Properties> <Property name="type" value="simulation"/> </Properties> </Pedestrian> </ScenarioObject> <ScenarioObject name="pedestrian_close_to_hero_14099"> <Pedestrian model="walker.pedestrian.0001" mass="80" name="walker.pedestrian.0001" pedestrianCategory="pedestrian"> <ParameterDeclarations/> <BoundingBox> <Center x="1.5" y="0.0" z="0.9"/> <Dimensions width="2" length="2" height="2"/> </BoundingBox> <Properties> <Property name="type" value="simulation"/> </Properties> </Pedestrian> </ScenarioObject> <ScenarioObject name="pedestrian_w_transform_14100"> <Pedestrian model="walker.pedestrian.0001" mass="80" name="walker.pedestrian.0001" pedestrianCategory="pedestrian"> <ParameterDeclarations/> <BoundingBox> <Center x="1.5" y="0.0" z="0.9"/> <Dimensions width="2" length="2" height="2"/> </BoundingBox> <Properties> <Property name="type" value="simulation"/> </Properties> </Pedestrian> </ScenarioObject> </Entities> <Storyboard> <Init> <Actions> <GlobalAction> <EnvironmentAction> <Environment name="Environment1"> <TimeOfDay animation="false" dateTime="2019-06-25T12:00:00"/> <Weather cloudState="free"> <Sun intensity="0.85" azimuth="0" elevation="1.31"/> <Fog visualRange="100000.0"/> <Precipitation precipitationType="dry" intensity="0.0"/> </Weather> <RoadCondition frictionScaleFactor="1.0"/> </Environment> </EnvironmentAction> </GlobalAction> <Private entityRef="hero"> <PrivateAction> <TeleportAction> <Position> <WorldPosition x="-9.4" y="-152.8" z="0.5" h="1.57079632679"/> </Position> </TeleportAction> </PrivateAction> <PrivateAction> <ControllerAction> <AssignControllerAction> <Controller name="HeroAgent"> <Properties> <Property name="module" value="external_control"/> </Properties> </Controller> </AssignControllerAction> <OverrideControllerValueAction> <Throttle value="0" active="false"/> <Brake value="0" active="false"/> <Clutch value="0" active="false"/> <ParkingBrake value="0" active="false"/> <SteeringWheel value="0" active="false"/> <Gear number="0" active="false"/> </OverrideControllerValueAction> </ControllerAction> </PrivateAction> </Private> <Private entityRef="adversary"> <PrivateAction> <TeleportAction> <Position> <WorldPosition x="-9.4" y="-71.0" z="0.5" h="1.57079632679"/> </Position> </TeleportAction> </PrivateAction> </Private> <Private entityRef="standing"> <PrivateAction> <TeleportAction> <Position> <WorldPosition x="-8.2" y="29.2" z="0.5" h="1.57079632679"/> </Position> </TeleportAction> </PrivateAction> </Private> <Private entityRef="pedestrian_close_to_standing_14088"> <PrivateAction> <TeleportAction> <Position> <WorldPosition x="-15.845926284790039" y="35.139076232910156" z="0.0030261229258030653"/> </Position> </TeleportAction> </PrivateAction> </Private> <Private entityRef="pedestrian_w_transform_14089"> <PrivateAction> <TeleportAction> <Position> <WorldPosition x="-95.88687133789062" y="-13.792099952697754" z="0.5"/> </Position> </TeleportAction> </PrivateAction> </Private> <Private entityRef="pedestrian_close_to_adversary_14090"> <PrivateAction> <TeleportAction> <Position> <WorldPosition x="-10.449542999267578" y="-68.85533905029297" z="0.03379150480031967"/> </Position> </TeleportAction> </PrivateAction> </Private> <Private entityRef="pedestrian_close_to_standing_14091"> <PrivateAction> <TeleportAction> <Position> <WorldPosition x="-16.282493591308594" y="34.744110107421875" z="0.003041229210793972"/> </Position> </TeleportAction> </PrivateAction> </Private> <Private entityRef="pedestrian_w_transform_14092"> <PrivateAction> <TeleportAction> <Position> <WorldPosition x="-83.26008605957031" y="25.197498321533203" z="0.5"/> </Position> </TeleportAction> </PrivateAction> </Private> <Private entityRef="pedestrian_w_transform_14093"> <PrivateAction> <TeleportAction> <Position> <WorldPosition x="-16.590538024902344" y="97.36104583740234" z="0.5"/> </Position> </TeleportAction> </PrivateAction> </Private> <Private entityRef="pedestrian_w_transform_14094"> <PrivateAction> <TeleportAction> <Position> <WorldPosition x="-15.786346435546875" y="28.41444206237793" z="0.5"/> </Position> </TeleportAction> </PrivateAction> </Private> <Private entityRef="pedestrian_w_transform_14095"> <PrivateAction> <TeleportAction> <Position> <WorldPosition x="-56.778934478759766" y="-20.68471336364746" z="0.5"/> </Position> </TeleportAction> </PrivateAction> </Private> <Private entityRef="pedestrian_w_transform_14096"> <PrivateAction> <TeleportAction> <Position> <WorldPosition x="79.6695327758789" y="-71.32095336914062" z="0.5"/> </Position> </TeleportAction> </PrivateAction> </Private> <Private entityRef="pedestrian_w_transform_14097"> <PrivateAction> <TeleportAction> <Position> <WorldPosition x="58.6239013671875" y="-71.54032897949219" z="0.5"/> </Position> </TeleportAction> </PrivateAction> </Private> <Private entityRef="pedestrian_close_to_adversary_14098"> <PrivateAction> <TeleportAction> <Position> <WorldPosition x="-37.47919464111328" y="-62.829219818115234" z="0.03383728116750717"/> </Position> </TeleportAction> </PrivateAction> </Private> <Private entityRef="pedestrian_close_to_hero_14099"> <PrivateAction> <TeleportAction> <Position> <WorldPosition x="-5.790084362030029" y="-152.37754821777344" z="0.0014286803780123591"/> </Position> </TeleportAction> </PrivateAction> </Private> <Private entityRef="pedestrian_w_transform_14100"> <PrivateAction> <TeleportAction> <Position> <WorldPosition x="-36.79568099975586" y="30.971981048583984" z="0.5"/> </Position> </TeleportAction> </PrivateAction> </Private> </Actions> </Init> <Story name="MyStory"> <Act name="Behavior"> <ManeuverGroup maximumExecutionCount="1" name="ManeuverSequence"> <Actors selectTriggeringEntities="false"> <EntityRef entityRef="adversary"/> </Actors> <Maneuver name="LaneChangeSimpleManeuver"> <Event name="AdversaryAccelerates" priority="overwrite"> <Action name="AdversaryAccelerates"> <PrivateAction> <LongitudinalAction> <SpeedAction> <SpeedActionDynamics dynamicsShape="step" value="50" dynamicsDimension="distance"/> <SpeedActionTarget> <AbsoluteTargetSpeed value="5.0"/> </SpeedActionTarget> </SpeedAction> </LongitudinalAction> </PrivateAction> </Action> <StartTrigger> <ConditionGroup> <Condition name="StartCondition" delay="0" conditionEdge="rising"> <ByEntityCondition> <TriggeringEntities triggeringEntitiesRule="any"> <EntityRef entityRef="hero"/> </TriggeringEntities> <EntityCondition> <RelativeDistanceCondition entityRef="adversary" relativeDistanceType="cartesianDistance" value="40.0" freespace="false" rule="lessThan"/> </EntityCondition> </ByEntityCondition> </Condition> </ConditionGroup> </StartTrigger> </Event> <Event name="AdversaryChangesLane" priority="overwrite"> <Action name="AdversaryChangesLane"> <PrivateAction> <LateralAction> <LaneChangeAction> <LaneChangeActionDynamics dynamicsShape="linear" value="25" dynamicsDimension="distance"/> <LaneChangeTarget> <RelativeTargetLane entityRef="adversary" value="-1"/> </LaneChangeTarget> </LaneChangeAction> </LateralAction> </PrivateAction> </Action> <StartTrigger> <ConditionGroup> <Condition name="AfterAdversaryAccelerates" delay="0" conditionEdge="rising"> <ByValueCondition> <StoryboardElementStateCondition storyboardElementType="action" storyboardElementRef="AdversaryAccelerates" state="completeState"/> </ByValueCondition> </Condition> </ConditionGroup> </StartTrigger> </Event> </Maneuver> </ManeuverGroup> <StartTrigger> <ConditionGroup> <Condition name="OverallStartCondition" delay="0" conditionEdge="rising"> <ByEntityCondition> <TriggeringEntities triggeringEntitiesRule="any"> <EntityRef entityRef="hero"/> </TriggeringEntities> <EntityCondition> <TraveledDistanceCondition value="1.0"/> </EntityCondition> </ByEntityCondition> </Condition> <Condition name="StartTime" delay="0" conditionEdge="rising"> <ByValueCondition> <SimulationTimeCondition value="0" rule="equalTo"/> </ByValueCondition> </Condition> </ConditionGroup> </StartTrigger> <StopTrigger> <ConditionGroup> <Condition name="EndCondition" delay="0" conditionEdge="rising"> <ByEntityCondition> <TriggeringEntities triggeringEntitiesRule="any"> <EntityRef entityRef="hero"/> </TriggeringEntities> <EntityCondition> <TraveledDistanceCondition value="200.0"/> </EntityCondition> </ByEntityCondition> </Condition> </ConditionGroup> </StopTrigger> </Act> </Story> <StopTrigger> <ConditionGroup> <Condition name="criteria_RunningStopTest" delay="0" conditionEdge="rising"> <ByValueCondition> <ParameterCondition parameterRef="" value="" rule="lessThan"/> </ByValueCondition> </Condition> <Condition name="criteria_RunningRedLightTest" delay="0" conditionEdge="rising"> <ByValueCondition> <ParameterCondition parameterRef="" value="" rule="lessThan"/> </ByValueCondition> </Condition> <Condition name="criteria_WrongLaneTest" delay="0" conditionEdge="rising"> <ByValueCondition> <ParameterCondition parameterRef="" value="" rule="lessThan"/> </ByValueCondition> </Condition> <Condition name="criteria_OnSidewalkTest" delay="0" conditionEdge="rising"> <ByValueCondition> <ParameterCondition parameterRef="" value="" rule="lessThan"/> </ByValueCondition> </Condition> <Condition name="criteria_KeepLaneTest" delay="0" conditionEdge="rising"> <ByValueCondition> <ParameterCondition parameterRef="" value="" rule="lessThan"/> </ByValueCondition> </Condition> <Condition name="criteria_CollisionTest" delay="0" conditionEdge="rising"> <ByValueCondition> <ParameterCondition parameterRef="" value="" rule="lessThan"/> </ByValueCondition> </Condition> <Condition name="criteria_DrivenDistanceTest" delay="0" conditionEdge="rising"> <ByValueCondition> <ParameterCondition parameterRef="distance_success" value="100" rule="lessThan"/> </ByValueCondition> </Condition> </ConditionGroup> </StopTrigger> </Storyboard> </OpenSCENARIO> ```
Here is the result: ``` <?xml version="1.0" ?> <OpenSCENARIO> <FileHeader revMajor="1" revMinor="0" date="2020-03-24T12:00:00" description="CARLA:LaneChangeSimple" author=""/> <ParameterDeclarations/> <CatalogLocations/> <RoadNetwork> <LogicFile filepath="Town04"/> <SceneGraphFile filepath=""/> </RoadNetwork> <Entities> <ScenarioObject name="hero"> <Vehicle name="vehicle.tesla.model3" vehicleCategory="car"> <ParameterDeclarations/> <Performance maxSpeed="69.444" maxAcceleration="200" maxDeceleration="10.0"/> <BoundingBox> <Center x="1.5" y="0.0" z="0.9"/> <Dimensions width="2.1" length="4.5" height="1.8"/> </BoundingBox> <Axles> <FrontAxle maxSteering="0.5" wheelDiameter="0.6" trackWidth="1.8" positionX="3.1" positionZ="0.3"/> <RearAxle maxSteering="0.0" wheelDiameter="0.6" trackWidth="1.8" positionX="0.0" positionZ="0.3"/> </Axles> <Properties> <Property name="type" value="ego_vehicle"/> </Properties> </Vehicle> </ScenarioObject> <ScenarioObject name="adversary"> <Vehicle name="vehicle.lincoln.mkz_2017" vehicleCategory="car"> <ParameterDeclarations/> <Performance maxSpeed="69.444" maxAcceleration="200" maxDeceleration="10.0"/> <BoundingBox> <Center x="1.5" y="0.0" z="0.9"/> <Dimensions width="2.1" length="4.5" height="1.8"/> </BoundingBox> <Axles> <FrontAxle maxSteering="0.5" wheelDiameter="0.6" trackWidth="1.8" positionX="3.1" positionZ="0.3"/> <RearAxle maxSteering="0.0" wheelDiameter="0.6" trackWidth="1.8" positionX="0.0" positionZ="0.3"/> </Axles> <Properties> <Property name="type" value="simulation"/> </Properties> </Vehicle> </ScenarioObject> <ScenarioObject name="standing"> <Vehicle name="vehicle.volkswagen.t2" vehicleCategory="car"> <ParameterDeclarations/> <Performance maxSpeed="69.444" maxAcceleration="200" maxDeceleration="10.0"/> <BoundingBox> <Center x="1.5" y="0.0" z="0.9"/> <Dimensions width="2.1" length="4.5" height="1.8"/> </BoundingBox> <Axles> <FrontAxle maxSteering="0.5" wheelDiameter="0.6" trackWidth="1.8" positionX="3.1" positionZ="0.3"/> <RearAxle maxSteering="0.0" wheelDiameter="0.6" trackWidth="1.8" positionX="0.0" positionZ="0.3"/> </Axles> <Properties> <Property name="type" value="simulation"/> </Properties> </Vehicle> </ScenarioObject> <ScenarioObject name="pedestrian_close_to_standing_14088"> <Pedestrian model="walker.pedestrian.0001" mass="80" name="walker.pedestrian.0001" pedestrianCategory="pedestrian"> <ParameterDeclarations/> <BoundingBox> <Center x="1.5" y="0.0" z="0.9"/> <Dimensions width="2" length="2" height="2"/> </BoundingBox> <Properties> <Property name="type" value="simulation"/> </Properties> </Pedestrian> </ScenarioObject> <ScenarioObject name="pedestrian_w_transform_14089"> <Pedestrian model="walker.pedestrian.0001" mass="80" name="walker.pedestrian.0001" pedestrianCategory="pedestrian"> <ParameterDeclarations/> <BoundingBox> <Center x="1.5" y="0.0" z="0.9"/> <Dimensions width="2" length="2" height="2"/> </BoundingBox> <Properties> <Property name="type" value="simulation"/> </Properties> </Pedestrian> </ScenarioObject> <ScenarioObject name="pedestrian_close_to_adversary_14090"> <Pedestrian model="walker.pedestrian.0001" mass="80" name="walker.pedestrian.0001" pedestrianCategory="pedestrian"> <ParameterDeclarations/> <BoundingBox> <Center x="1.5" y="0.0" z="0.9"/> <Dimensions width="2" length="2" height="2"/> </BoundingBox> <Properties> <Property name="type" value="simulation"/> </Properties> </Pedestrian> </ScenarioObject> <ScenarioObject name="pedestrian_close_to_standing_14091"> <Pedestrian model="walker.pedestrian.0001" mass="80" name="walker.pedestrian.0001" pedestrianCategory="pedestrian"> <ParameterDeclarations/> <BoundingBox> <Center x="1.5" y="0.0" z="0.9"/> <Dimensions width="2" length="2" height="2"/> </BoundingBox> <Properties> <Property name="type" value="simulation"/> </Properties> </Pedestrian> </ScenarioObject> <ScenarioObject name="pedestrian_w_transform_14092"> <Pedestrian model="walker.pedestrian.0001" mass="80" name="walker.pedestrian.0001" pedestrianCategory="pedestrian"> <ParameterDeclarations/> <BoundingBox> <Center x="1.5" y="0.0" z="0.9"/> <Dimensions width="2" length="2" height="2"/> </BoundingBox> <Properties> <Property name="type" value="simulation"/> </Properties> </Pedestrian> </ScenarioObject> <ScenarioObject name="pedestrian_w_transform_14093"> <Pedestrian model="walker.pedestrian.0001" mass="80" name="walker.pedestrian.0001" pedestrianCategory="pedestrian"> <ParameterDeclarations/> <BoundingBox> <Center x="1.5" y="0.0" z="0.9"/> <Dimensions width="2" length="2" height="2"/> </BoundingBox> <Properties> <Property name="type" value="simulation"/> </Properties> </Pedestrian> </ScenarioObject> <ScenarioObject name="pedestrian_w_transform_14094"> <Pedestrian model="walker.pedestrian.0001" mass="80" name="walker.pedestrian.0001" pedestrianCategory="pedestrian"> <ParameterDeclarations/> <BoundingBox> <Center x="1.5" y="0.0" z="0.9"/> <Dimensions width="2" length="2" height="2"/> </BoundingBox> <Properties> <Property name="type" value="simulation"/> </Properties> </Pedestrian> </ScenarioObject> <ScenarioObject name="pedestrian_w_transform_14095"> <Pedestrian model="walker.pedestrian.0001" mass="80" name="walker.pedestrian.0001" pedestrianCategory="pedestrian"> <ParameterDeclarations/> <BoundingBox> <Center x="1.5" y="0.0" z="0.9"/> <Dimensions width="2" length="2" height="2"/> </BoundingBox> <Properties> <Property name="type" value="simulation"/> </Properties> </Pedestrian> </ScenarioObject> <ScenarioObject name="pedestrian_w_transform_14096"> <Pedestrian model="walker.pedestrian.0001" mass="80" name="walker.pedestrian.0001" pedestrianCategory="pedestrian"> <ParameterDeclarations/> <BoundingBox> <Center x="1.5" y="0.0" z="0.9"/> <Dimensions width="2" length="2" height="2"/> </BoundingBox> <Properties> <Property name="type" value="simulation"/> </Properties> </Pedestrian> </ScenarioObject> <ScenarioObject name="pedestrian_w_transform_14097"> <Pedestrian model="walker.pedestrian.0001" mass="80" name="walker.pedestrian.0001" pedestrianCategory="pedestrian"> <ParameterDeclarations/> <BoundingBox> <Center x="1.5" y="0.0" z="0.9"/> <Dimensions width="2" length="2" height="2"/> </BoundingBox> <Properties> <Property name="type" value="simulation"/> </Properties> </Pedestrian> </ScenarioObject> <ScenarioObject name="pedestrian_close_to_adversary_14098"> <Pedestrian model="walker.pedestrian.0001" mass="80" name="walker.pedestrian.0001" pedestrianCategory="pedestrian"> <ParameterDeclarations/> <BoundingBox> <Center x="1.5" y="0.0" z="0.9"/> <Dimensions width="2" length="2" height="2"/> </BoundingBox> <Properties> <Property name="type" value="simulation"/> </Properties> </Pedestrian> </ScenarioObject> <ScenarioObject name="pedestrian_close_to_hero_14099"> <Pedestrian model="walker.pedestrian.0001" mass="80" name="walker.pedestrian.0001" pedestrianCategory="pedestrian"> <ParameterDeclarations/> <BoundingBox> <Center x="1.5" y="0.0" z="0.9"/> <Dimensions width="2" length="2" height="2"/> </BoundingBox> <Properties> <Property name="type" value="simulation"/> </Properties> </Pedestrian> </ScenarioObject> <ScenarioObject name="pedestrian_w_transform_14100"> <Pedestrian model="walker.pedestrian.0001" mass="80" name="walker.pedestrian.0001" pedestrianCategory="pedestrian"> <ParameterDeclarations/> <BoundingBox> <Center x="1.5" y="0.0" z="0.9"/> <Dimensions width="2" length="2" height="2"/> </BoundingBox> <Properties> <Property name="type" value="simulation"/> </Properties> </Pedestrian> </ScenarioObject> <ScenarioObject name="pedestrian_w_transform_14101"> <Pedestrian model="walker.pedestrian.0001" mass="80" name="walker.pedestrian.0001" pedestrianCategory="pedestrian"> <ParameterDeclarations/> <BoundingBox> <Center x="1.5" y="0.0" z="0.9"/> <Dimensions width="2" length="2" height="2"/> </BoundingBox> <Properties> <Property name="type" value="simulation"/> </Properties> </Pedestrian> </ScenarioObject> </Entities> <Storyboard> <Init> <Actions> <GlobalAction> <EnvironmentAction> <Environment name="Environment1"> <TimeOfDay animation="false" dateTime="2019-06-25T12:00:00"/> <Weather cloudState="free"> <Sun intensity="0.85" azimuth="0" elevation="1.31"/> <Fog visualRange="100000.0"/> <Precipitation precipitationType="dry" intensity="0.0"/> </Weather> <RoadCondition frictionScaleFactor="1.0"/> </Environment> </EnvironmentAction> </GlobalAction> <Private entityRef="hero"> <PrivateAction> <TeleportAction> <Position> <WorldPosition x="-9.4" y="-152.8" z="0.5" h="1.57079632679"/> </Position> </TeleportAction> </PrivateAction> <PrivateAction> <ControllerAction> <AssignControllerAction> <Controller name="HeroAgent"> <Properties> <Property name="module" value="external_control"/> </Properties> </Controller> </AssignControllerAction> <OverrideControllerValueAction> <Throttle value="0" active="false"/> <Brake value="0" active="false"/> <Clutch value="0" active="false"/> <ParkingBrake value="0" active="false"/> <SteeringWheel value="0" active="false"/> <Gear number="0" active="false"/> </OverrideControllerValueAction> </ControllerAction> </PrivateAction> </Private> <Private entityRef="adversary"> <PrivateAction> <TeleportAction> <Position> <WorldPosition x="-9.4" y="-71.0" z="0.5" h="1.57079632679"/> </Position> </TeleportAction> </PrivateAction> </Private> <Private entityRef="standing"> <PrivateAction> <TeleportAction> <Position> <WorldPosition x="-8.2" y="29.2" z="0.5" h="1.57079632679"/> </Position> </TeleportAction> </PrivateAction> </Private> <Private entityRef="pedestrian_close_to_standing_14088"> <PrivateAction> <TeleportAction> <Position> <WorldPosition x="-15.845926284790039" y="35.139076232910156" z="0.0030261229258030653"/> </Position> </TeleportAction> </PrivateAction> </Private> <Private entityRef="pedestrian_w_transform_14089"> <PrivateAction> <TeleportAction> <Position> <WorldPosition x="-95.88687133789062" y="-13.792099952697754" z="0.5"/> </Position> </TeleportAction> </PrivateAction> </Private> <Private entityRef="pedestrian_close_to_adversary_14090"> <PrivateAction> <TeleportAction> <Position> <WorldPosition x="-10.449542999267578" y="-68.85533905029297" z="0.03379150480031967"/> </Position> </TeleportAction> </PrivateAction> </Private> <Private entityRef="pedestrian_close_to_standing_14091"> <PrivateAction> <TeleportAction> <Position> <WorldPosition x="-16.282493591308594" y="34.744110107421875" z="0.003041229210793972"/> </Position> </TeleportAction> </PrivateAction> </Private> <Private entityRef="pedestrian_w_transform_14092"> <PrivateAction> <TeleportAction> <Position> <WorldPosition x="-83.26008605957031" y="25.197498321533203" z="0.5"/> </Position> </TeleportAction> </PrivateAction> </Private> <Private entityRef="pedestrian_w_transform_14093"> <PrivateAction> <TeleportAction> <Position> <WorldPosition x="-16.590538024902344" y="97.36104583740234" z="0.5"/> </Position> </TeleportAction> </PrivateAction> </Private> <Private entityRef="pedestrian_w_transform_14094"> <PrivateAction> <TeleportAction> <Position> <WorldPosition x="-15.786346435546875" y="28.41444206237793" z="0.5"/> </Position> </TeleportAction> </PrivateAction> </Private> <Private entityRef="pedestrian_w_transform_14095"> <PrivateAction> <TeleportAction> <Position> <WorldPosition x="-56.778934478759766" y="-20.68471336364746" z="0.5"/> </Position> </TeleportAction> </PrivateAction> </Private> <Private entityRef="pedestrian_w_transform_14096"> <PrivateAction> <TeleportAction> <Position> <WorldPosition x="79.6695327758789" y="-71.32095336914062" z="0.5"/> </Position> </TeleportAction> </PrivateAction> </Private> <Private entityRef="pedestrian_w_transform_14097"> <PrivateAction> <TeleportAction> <Position> <WorldPosition x="58.6239013671875" y="-71.54032897949219" z="0.5"/> </Position> </TeleportAction> </PrivateAction> </Private> <Private entityRef="pedestrian_close_to_adversary_14098"> <PrivateAction> <TeleportAction> <Position> <WorldPosition x="-37.47919464111328" y="-62.829219818115234" z="0.03383728116750717"/> </Position> </TeleportAction> </PrivateAction> </Private> <Private entityRef="pedestrian_close_to_hero_14099"> <PrivateAction> <TeleportAction> <Position> <WorldPosition x="-5.790084362030029" y="-152.37754821777344" z="0.0014286803780123591"/> </Position> </TeleportAction> </PrivateAction> </Private> <Private entityRef="pedestrian_w_transform_14100"> <PrivateAction> <TeleportAction> <Position> <WorldPosition x="-36.79568099975586" y="30.971981048583984" z="0.5"/> </Position> </TeleportAction> </PrivateAction> </Private> <Private entityRef="pedestrian_w_transform_14101"> <PrivateAction> <TeleportAction> <Position> <WorldPosition x="-9.677046775817871" y="-5.5456366539001465" z="0.5"/> </Position> </TeleportAction> </PrivateAction> </Private> </Actions> </Init> <Story name="MyStory"> <Act name="Behavior"> <ManeuverGroup maximumExecutionCount="1" name="ManeuverSequence"> <Actors selectTriggeringEntities="false"> <EntityRef entityRef="adversary"/> </Actors> <Maneuver name="LaneChangeSimpleManeuver"> <Event name="AdversaryAccelerates" priority="overwrite"> <Action name="AdversaryAccelerates"> <PrivateAction> <LongitudinalAction> <SpeedAction> <SpeedActionDynamics dynamicsShape="step" value="50" dynamicsDimension="distance"/> <SpeedActionTarget> <AbsoluteTargetSpeed value="5.0"/> </SpeedActionTarget> </SpeedAction> </LongitudinalAction> </PrivateAction> </Action> <StartTrigger> <ConditionGroup> <Condition name="StartCondition" delay="0" conditionEdge="rising"> <ByEntityCondition> <TriggeringEntities triggeringEntitiesRule="any"> <EntityRef entityRef="hero"/> </TriggeringEntities> <EntityCondition> <RelativeDistanceCondition entityRef="adversary" relativeDistanceType="cartesianDistance" value="40.0" freespace="false" rule="lessThan"/> </EntityCondition> </ByEntityCondition> </Condition> </ConditionGroup> </StartTrigger> </Event> <Event name="AdversaryChangesLane" priority="overwrite"> <Action name="AdversaryChangesLane"> <PrivateAction> <LateralAction> <LaneChangeAction> <LaneChangeActionDynamics dynamicsShape="linear" value="25" dynamicsDimension="distance"/> <LaneChangeTarget> <RelativeTargetLane entityRef="adversary" value="-1"/> </LaneChangeTarget> </LaneChangeAction> </LateralAction> </PrivateAction> </Action> <StartTrigger> <ConditionGroup> <Condition name="AfterAdversaryAccelerates" delay="0" conditionEdge="rising"> <ByValueCondition> <StoryboardElementStateCondition storyboardElementType="action" storyboardElementRef="AdversaryAccelerates" state="completeState"/> </ByValueCondition> </Condition> </ConditionGroup> </StartTrigger> </Event> </Maneuver> </ManeuverGroup> <StartTrigger> <ConditionGroup> <Condition name="OverallStartCondition" delay="0" conditionEdge="rising"> <ByEntityCondition> <TriggeringEntities triggeringEntitiesRule="any"> <EntityRef entityRef="hero"/> </TriggeringEntities> <EntityCondition> <TraveledDistanceCondition value="1.0"/> </EntityCondition> </ByEntityCondition> </Condition> <Condition name="StartTime" delay="0" conditionEdge="rising"> <ByValueCondition> <SimulationTimeCondition value="0" rule="equalTo"/> </ByValueCondition> </Condition> </ConditionGroup> </StartTrigger> <StopTrigger> <ConditionGroup> <Condition name="EndCondition" delay="0" conditionEdge="rising"> <ByEntityCondition> <TriggeringEntities triggeringEntitiesRule="any"> <EntityRef entityRef="hero"/> </TriggeringEntities> <EntityCondition> <TraveledDistanceCondition value="200.0"/> </EntityCondition> </ByEntityCondition> </Condition> </ConditionGroup> </StopTrigger> </Act> </Story> <StopTrigger> <ConditionGroup> <Condition name="criteria_RunningStopTest" delay="0" conditionEdge="rising"> <ByValueCondition> <ParameterCondition parameterRef="" value="" rule="lessThan"/> </ByValueCondition> </Condition> <Condition name="criteria_RunningRedLightTest" delay="0" conditionEdge="rising"> <ByValueCondition> <ParameterCondition parameterRef="" value="" rule="lessThan"/> </ByValueCondition> </Condition> <Condition name="criteria_WrongLaneTest" delay="0" conditionEdge="rising"> <ByValueCondition> <ParameterCondition parameterRef="" value="" rule="lessThan"/> </ByValueCondition> </Condition> <Condition name="criteria_OnSidewalkTest" delay="0" conditionEdge="rising"> <ByValueCondition> <ParameterCondition parameterRef="" value="" rule="lessThan"/> </ByValueCondition> </Condition> <Condition name="criteria_KeepLaneTest" delay="0" conditionEdge="rising"> <ByValueCondition> <ParameterCondition parameterRef="" value="" rule="lessThan"/> </ByValueCondition> </Condition> <Condition name="criteria_CollisionTest" delay="0" conditionEdge="rising"> <ByValueCondition> <ParameterCondition parameterRef="" value="" rule="lessThan"/> </ByValueCondition> </Condition> <Condition name="criteria_DrivenDistanceTest" delay="0" conditionEdge="rising"> <ByValueCondition> <ParameterCondition parameterRef="distance_success" value="100" rule="lessThan"/> </ByValueCondition> </Condition> </ConditionGroup> </StopTrigger> </Storyboard> </OpenSCENARIO> ```
i need you to add pedestrian at location (78.55, 79.75, 0.5)? ``` <?xml version="1.0" ?> <OpenSCENARIO> <FileHeader revMajor="1" revMinor="0" date="2020-03-24T12:00:00" description="CARLA:LaneChangeSimple" author=""/> <ParameterDeclarations/> <CatalogLocations/> <RoadNetwork> <LogicFile filepath="Town04"/> <SceneGraphFile filepath=""/> </RoadNetwork> <Entities> <ScenarioObject name="hero"> <Vehicle name="vehicle.tesla.model3" vehicleCategory="car"> <ParameterDeclarations/> <Performance maxSpeed="69.444" maxAcceleration="200" maxDeceleration="10.0"/> <BoundingBox> <Center x="1.5" y="0.0" z="0.9"/> <Dimensions width="2.1" length="4.5" height="1.8"/> </BoundingBox> <Axles> <FrontAxle maxSteering="0.5" wheelDiameter="0.6" trackWidth="1.8" positionX="3.1" positionZ="0.3"/> <RearAxle maxSteering="0.0" wheelDiameter="0.6" trackWidth="1.8" positionX="0.0" positionZ="0.3"/> </Axles> <Properties> <Property name="type" value="ego_vehicle"/> </Properties> </Vehicle> </ScenarioObject> <ScenarioObject name="adversary"> <Vehicle name="vehicle.lincoln.mkz_2017" vehicleCategory="car"> <ParameterDeclarations/> <Performance maxSpeed="69.444" maxAcceleration="200" maxDeceleration="10.0"/> <BoundingBox> <Center x="1.5" y="0.0" z="0.9"/> <Dimensions width="2.1" length="4.5" height="1.8"/> </BoundingBox> <Axles> <FrontAxle maxSteering="0.5" wheelDiameter="0.6" trackWidth="1.8" positionX="3.1" positionZ="0.3"/> <RearAxle maxSteering="0.0" wheelDiameter="0.6" trackWidth="1.8" positionX="0.0" positionZ="0.3"/> </Axles> <Properties> <Property name="type" value="simulation"/> </Properties> </Vehicle> </ScenarioObject> <ScenarioObject name="standing"> <Vehicle name="vehicle.volkswagen.t2" vehicleCategory="car"> <ParameterDeclarations/> <Performance maxSpeed="69.444" maxAcceleration="200" maxDeceleration="10.0"/> <BoundingBox> <Center x="1.5" y="0.0" z="0.9"/> <Dimensions width="2.1" length="4.5" height="1.8"/> </BoundingBox> <Axles> <FrontAxle maxSteering="0.5" wheelDiameter="0.6" trackWidth="1.8" positionX="3.1" positionZ="0.3"/> <RearAxle maxSteering="0.0" wheelDiameter="0.6" trackWidth="1.8" positionX="0.0" positionZ="0.3"/> </Axles> <Properties> <Property name="type" value="simulation"/> </Properties> </Vehicle> </ScenarioObject> <ScenarioObject name="pedestrian_close_to_standing_23998"> <Pedestrian model="walker.pedestrian.0001" mass="80" name="walker.pedestrian.0001" pedestrianCategory="pedestrian"> <ParameterDeclarations/> <BoundingBox> <Center x="1.5" y="0.0" z="0.9"/> <Dimensions width="2" length="2" height="2"/> </BoundingBox> <Properties> <Property name="type" value="simulation"/> </Properties> </Pedestrian> </ScenarioObject> <ScenarioObject name="pedestrian_close_to_standing_23999"> <Pedestrian model="walker.pedestrian.0001" mass="80" name="walker.pedestrian.0001" pedestrianCategory="pedestrian"> <ParameterDeclarations/> <BoundingBox> <Center x="1.5" y="0.0" z="0.9"/> <Dimensions width="2" length="2" height="2"/> </BoundingBox> <Properties> <Property name="type" value="simulation"/> </Properties> </Pedestrian> </ScenarioObject> <ScenarioObject name="pedestrian_close_to_hero_24000"> <Pedestrian model="walker.pedestrian.0001" mass="80" name="walker.pedestrian.0001" pedestrianCategory="pedestrian"> <ParameterDeclarations/> <BoundingBox> <Center x="1.5" y="0.0" z="0.9"/> <Dimensions width="2" length="2" height="2"/> </BoundingBox> <Properties> <Property name="type" value="simulation"/> </Properties> </Pedestrian> </ScenarioObject> <ScenarioObject name="pedestrian_close_to_adversary_24001"> <Pedestrian model="walker.pedestrian.0001" mass="80" name="walker.pedestrian.0001" pedestrianCategory="pedestrian"> <ParameterDeclarations/> <BoundingBox> <Center x="1.5" y="0.0" z="0.9"/> <Dimensions width="2" length="2" height="2"/> </BoundingBox> <Properties> <Property name="type" value="simulation"/> </Properties> </Pedestrian> </ScenarioObject> <ScenarioObject name="pedestrian_close_to_hero_24004"> <Pedestrian model="walker.pedestrian.0001" mass="80" name="walker.pedestrian.0001" pedestrianCategory="pedestrian"> <ParameterDeclarations/> <BoundingBox> <Center x="1.5" y="0.0" z="0.9"/> <Dimensions width="2" length="2" height="2"/> </BoundingBox> <Properties> <Property name="type" value="simulation"/> </Properties> </Pedestrian> </ScenarioObject> </Entities> <Storyboard> <Init> <Actions> <GlobalAction> <EnvironmentAction> <Environment name="Environment1"> <TimeOfDay animation="false" dateTime="2019-06-25T12:00:00"/> <Weather cloudState="free"> <Sun intensity="0.85" azimuth="0" elevation="1.31"/> <Fog visualRange="100000.0"/> <Precipitation precipitationType="dry" intensity="0.0"/> </Weather> <RoadCondition frictionScaleFactor="1.0"/> </Environment> </EnvironmentAction> </GlobalAction> <Private entityRef="hero"> <PrivateAction> <TeleportAction> <Position> <WorldPosition x="-9.4" y="-152.8" z="0.5" h="1.57079632679"/> </Position> </TeleportAction> </PrivateAction> <PrivateAction> <ControllerAction> <AssignControllerAction> <Controller name="HeroAgent"> <Properties> <Property name="module" value="external_control"/> </Properties> </Controller> </AssignControllerAction> <OverrideControllerValueAction> <Throttle value="0" active="false"/> <Brake value="0" active="false"/> <Clutch value="0" active="false"/> <ParkingBrake value="0" active="false"/> <SteeringWheel value="0" active="false"/> <Gear number="0" active="false"/> </OverrideControllerValueAction> </ControllerAction> </PrivateAction> </Private> <Private entityRef="adversary"> <PrivateAction> <TeleportAction> <Position> <WorldPosition x="-9.4" y="-71.0" z="0.5" h="1.57079632679"/> </Position> </TeleportAction> </PrivateAction> </Private> <Private entityRef="standing"> <PrivateAction> <TeleportAction> <Position> <WorldPosition x="-8.2" y="29.2" z="0.5" h="1.57079632679"/> </Position> </TeleportAction> </PrivateAction> </Private> <Private entityRef="pedestrian_close_to_standing_23998"> <PrivateAction> <TeleportAction> <Position> <WorldPosition x="-15.351969718933105" y="28.345386505126953" z="0.0030587005894631147"/> </Position> </TeleportAction> </PrivateAction> </Private> <Private entityRef="pedestrian_close_to_standing_23999"> <PrivateAction> <TeleportAction> <Position> <WorldPosition x="-11.486369132995605" y="20.42277717590332" z="0.0030549620278179646"/> </Position> </TeleportAction> </PrivateAction> </Private> <Private entityRef="pedestrian_close_to_hero_24000"> <PrivateAction> <TeleportAction> <Position> <WorldPosition x="-16.828510284423828" y="-165.8041534423828" z="0.0014286803780123591"/> </Position> </TeleportAction> </PrivateAction> </Private> <Private entityRef="pedestrian_close_to_adversary_24001"> <PrivateAction> <TeleportAction> <Position> <WorldPosition x="-16.300931930541992" y="-62.27056121826172" z="0.03374675661325455"/> </Position> </TeleportAction> </PrivateAction> </Private> <Private entityRef="pedestrian_close_to_hero_24004"> <PrivateAction> <TeleportAction> <Position> <WorldPosition x="-15.401516914367676" y="-161.11566162109375" z="0.0014286803780123591"/> </Position> </TeleportAction> </PrivateAction> </Private> </Actions> </Init> <Story name="MyStory"> <Act name="Behavior"> <ManeuverGroup maximumExecutionCount="1" name="ManeuverSequence"> <Actors selectTriggeringEntities="false"> <EntityRef entityRef="adversary"/> </Actors> <Maneuver name="LaneChangeSimpleManeuver"> <Event name="AdversaryAccelerates" priority="overwrite"> <Action name="AdversaryAccelerates"> <PrivateAction> <LongitudinalAction> <SpeedAction> <SpeedActionDynamics dynamicsShape="step" value="50" dynamicsDimension="distance"/> <SpeedActionTarget> <AbsoluteTargetSpeed value="5.0"/> </SpeedActionTarget> </SpeedAction> </LongitudinalAction> </PrivateAction> </Action> <StartTrigger> <ConditionGroup> <Condition name="StartCondition" delay="0" conditionEdge="rising"> <ByEntityCondition> <TriggeringEntities triggeringEntitiesRule="any"> <EntityRef entityRef="hero"/> </TriggeringEntities> <EntityCondition> <RelativeDistanceCondition entityRef="adversary" relativeDistanceType="cartesianDistance" value="40.0" freespace="false" rule="lessThan"/> </EntityCondition> </ByEntityCondition> </Condition> </ConditionGroup> </StartTrigger> </Event> <Event name="AdversaryChangesLane" priority="overwrite"> <Action name="AdversaryChangesLane"> <PrivateAction> <LateralAction> <LaneChangeAction> <LaneChangeActionDynamics dynamicsShape="linear" value="25" dynamicsDimension="distance"/> <LaneChangeTarget> <RelativeTargetLane entityRef="adversary" value="-1"/> </LaneChangeTarget> </LaneChangeAction> </LateralAction> </PrivateAction> </Action> <StartTrigger> <ConditionGroup> <Condition name="AfterAdversaryAccelerates" delay="0" conditionEdge="rising"> <ByValueCondition> <StoryboardElementStateCondition storyboardElementType="action" storyboardElementRef="AdversaryAccelerates" state="completeState"/> </ByValueCondition> </Condition> </ConditionGroup> </StartTrigger> </Event> </Maneuver> </ManeuverGroup> <StartTrigger> <ConditionGroup> <Condition name="OverallStartCondition" delay="0" conditionEdge="rising"> <ByEntityCondition> <TriggeringEntities triggeringEntitiesRule="any"> <EntityRef entityRef="hero"/> </TriggeringEntities> <EntityCondition> <TraveledDistanceCondition value="1.0"/> </EntityCondition> </ByEntityCondition> </Condition> <Condition name="StartTime" delay="0" conditionEdge="rising"> <ByValueCondition> <SimulationTimeCondition value="0" rule="equalTo"/> </ByValueCondition> </Condition> </ConditionGroup> </StartTrigger> <StopTrigger> <ConditionGroup> <Condition name="EndCondition" delay="0" conditionEdge="rising"> <ByEntityCondition> <TriggeringEntities triggeringEntitiesRule="any"> <EntityRef entityRef="hero"/> </TriggeringEntities> <EntityCondition> <TraveledDistanceCondition value="200.0"/> </EntityCondition> </ByEntityCondition> </Condition> </ConditionGroup> </StopTrigger> </Act> </Story> <StopTrigger> <ConditionGroup> <Condition name="criteria_RunningStopTest" delay="0" conditionEdge="rising"> <ByValueCondition> <ParameterCondition parameterRef="" value="" rule="lessThan"/> </ByValueCondition> </Condition> <Condition name="criteria_RunningRedLightTest" delay="0" conditionEdge="rising"> <ByValueCondition> <ParameterCondition parameterRef="" value="" rule="lessThan"/> </ByValueCondition> </Condition> <Condition name="criteria_WrongLaneTest" delay="0" conditionEdge="rising"> <ByValueCondition> <ParameterCondition parameterRef="" value="" rule="lessThan"/> </ByValueCondition> </Condition> <Condition name="criteria_OnSidewalkTest" delay="0" conditionEdge="rising"> <ByValueCondition> <ParameterCondition parameterRef="" value="" rule="lessThan"/> </ByValueCondition> </Condition> <Condition name="criteria_KeepLaneTest" delay="0" conditionEdge="rising"> <ByValueCondition> <ParameterCondition parameterRef="" value="" rule="lessThan"/> </ByValueCondition> </Condition> <Condition name="criteria_CollisionTest" delay="0" conditionEdge="rising"> <ByValueCondition> <ParameterCondition parameterRef="" value="" rule="lessThan"/> </ByValueCondition> </Condition> <Condition name="criteria_DrivenDistanceTest" delay="0" conditionEdge="rising"> <ByValueCondition> <ParameterCondition parameterRef="distance_success" value="100" rule="lessThan"/> </ByValueCondition> </Condition> </ConditionGroup> </StopTrigger> </Storyboard> </OpenSCENARIO> ```
Here is the result: ``` <?xml version="1.0" ?> <OpenSCENARIO> <FileHeader revMajor="1" revMinor="0" date="2020-03-24T12:00:00" description="CARLA:LaneChangeSimple" author=""/> <ParameterDeclarations/> <CatalogLocations/> <RoadNetwork> <LogicFile filepath="Town04"/> <SceneGraphFile filepath=""/> </RoadNetwork> <Entities> <ScenarioObject name="hero"> <Vehicle name="vehicle.tesla.model3" vehicleCategory="car"> <ParameterDeclarations/> <Performance maxSpeed="69.444" maxAcceleration="200" maxDeceleration="10.0"/> <BoundingBox> <Center x="1.5" y="0.0" z="0.9"/> <Dimensions width="2.1" length="4.5" height="1.8"/> </BoundingBox> <Axles> <FrontAxle maxSteering="0.5" wheelDiameter="0.6" trackWidth="1.8" positionX="3.1" positionZ="0.3"/> <RearAxle maxSteering="0.0" wheelDiameter="0.6" trackWidth="1.8" positionX="0.0" positionZ="0.3"/> </Axles> <Properties> <Property name="type" value="ego_vehicle"/> </Properties> </Vehicle> </ScenarioObject> <ScenarioObject name="adversary"> <Vehicle name="vehicle.lincoln.mkz_2017" vehicleCategory="car"> <ParameterDeclarations/> <Performance maxSpeed="69.444" maxAcceleration="200" maxDeceleration="10.0"/> <BoundingBox> <Center x="1.5" y="0.0" z="0.9"/> <Dimensions width="2.1" length="4.5" height="1.8"/> </BoundingBox> <Axles> <FrontAxle maxSteering="0.5" wheelDiameter="0.6" trackWidth="1.8" positionX="3.1" positionZ="0.3"/> <RearAxle maxSteering="0.0" wheelDiameter="0.6" trackWidth="1.8" positionX="0.0" positionZ="0.3"/> </Axles> <Properties> <Property name="type" value="simulation"/> </Properties> </Vehicle> </ScenarioObject> <ScenarioObject name="standing"> <Vehicle name="vehicle.volkswagen.t2" vehicleCategory="car"> <ParameterDeclarations/> <Performance maxSpeed="69.444" maxAcceleration="200" maxDeceleration="10.0"/> <BoundingBox> <Center x="1.5" y="0.0" z="0.9"/> <Dimensions width="2.1" length="4.5" height="1.8"/> </BoundingBox> <Axles> <FrontAxle maxSteering="0.5" wheelDiameter="0.6" trackWidth="1.8" positionX="3.1" positionZ="0.3"/> <RearAxle maxSteering="0.0" wheelDiameter="0.6" trackWidth="1.8" positionX="0.0" positionZ="0.3"/> </Axles> <Properties> <Property name="type" value="simulation"/> </Properties> </Vehicle> </ScenarioObject> <ScenarioObject name="pedestrian_close_to_standing_23998"> <Pedestrian model="walker.pedestrian.0001" mass="80" name="walker.pedestrian.0001" pedestrianCategory="pedestrian"> <ParameterDeclarations/> <BoundingBox> <Center x="1.5" y="0.0" z="0.9"/> <Dimensions width="2" length="2" height="2"/> </BoundingBox> <Properties> <Property name="type" value="simulation"/> </Properties> </Pedestrian> </ScenarioObject> <ScenarioObject name="pedestrian_close_to_standing_23999"> <Pedestrian model="walker.pedestrian.0001" mass="80" name="walker.pedestrian.0001" pedestrianCategory="pedestrian"> <ParameterDeclarations/> <BoundingBox> <Center x="1.5" y="0.0" z="0.9"/> <Dimensions width="2" length="2" height="2"/> </BoundingBox> <Properties> <Property name="type" value="simulation"/> </Properties> </Pedestrian> </ScenarioObject> <ScenarioObject name="pedestrian_close_to_hero_24000"> <Pedestrian model="walker.pedestrian.0001" mass="80" name="walker.pedestrian.0001" pedestrianCategory="pedestrian"> <ParameterDeclarations/> <BoundingBox> <Center x="1.5" y="0.0" z="0.9"/> <Dimensions width="2" length="2" height="2"/> </BoundingBox> <Properties> <Property name="type" value="simulation"/> </Properties> </Pedestrian> </ScenarioObject> <ScenarioObject name="pedestrian_close_to_adversary_24001"> <Pedestrian model="walker.pedestrian.0001" mass="80" name="walker.pedestrian.0001" pedestrianCategory="pedestrian"> <ParameterDeclarations/> <BoundingBox> <Center x="1.5" y="0.0" z="0.9"/> <Dimensions width="2" length="2" height="2"/> </BoundingBox> <Properties> <Property name="type" value="simulation"/> </Properties> </Pedestrian> </ScenarioObject> <ScenarioObject name="pedestrian_close_to_hero_24004"> <Pedestrian model="walker.pedestrian.0001" mass="80" name="walker.pedestrian.0001" pedestrianCategory="pedestrian"> <ParameterDeclarations/> <BoundingBox> <Center x="1.5" y="0.0" z="0.9"/> <Dimensions width="2" length="2" height="2"/> </BoundingBox> <Properties> <Property name="type" value="simulation"/> </Properties> </Pedestrian> </ScenarioObject> <ScenarioObject name="pedestrian_w_transform_24005"> <Pedestrian model="walker.pedestrian.0001" mass="80" name="walker.pedestrian.0001" pedestrianCategory="pedestrian"> <ParameterDeclarations/> <BoundingBox> <Center x="1.5" y="0.0" z="0.9"/> <Dimensions width="2" length="2" height="2"/> </BoundingBox> <Properties> <Property name="type" value="simulation"/> </Properties> </Pedestrian> </ScenarioObject> </Entities> <Storyboard> <Init> <Actions> <GlobalAction> <EnvironmentAction> <Environment name="Environment1"> <TimeOfDay animation="false" dateTime="2019-06-25T12:00:00"/> <Weather cloudState="free"> <Sun intensity="0.85" azimuth="0" elevation="1.31"/> <Fog visualRange="100000.0"/> <Precipitation precipitationType="dry" intensity="0.0"/> </Weather> <RoadCondition frictionScaleFactor="1.0"/> </Environment> </EnvironmentAction> </GlobalAction> <Private entityRef="hero"> <PrivateAction> <TeleportAction> <Position> <WorldPosition x="-9.4" y="-152.8" z="0.5" h="1.57079632679"/> </Position> </TeleportAction> </PrivateAction> <PrivateAction> <ControllerAction> <AssignControllerAction> <Controller name="HeroAgent"> <Properties> <Property name="module" value="external_control"/> </Properties> </Controller> </AssignControllerAction> <OverrideControllerValueAction> <Throttle value="0" active="false"/> <Brake value="0" active="false"/> <Clutch value="0" active="false"/> <ParkingBrake value="0" active="false"/> <SteeringWheel value="0" active="false"/> <Gear number="0" active="false"/> </OverrideControllerValueAction> </ControllerAction> </PrivateAction> </Private> <Private entityRef="adversary"> <PrivateAction> <TeleportAction> <Position> <WorldPosition x="-9.4" y="-71.0" z="0.5" h="1.57079632679"/> </Position> </TeleportAction> </PrivateAction> </Private> <Private entityRef="standing"> <PrivateAction> <TeleportAction> <Position> <WorldPosition x="-8.2" y="29.2" z="0.5" h="1.57079632679"/> </Position> </TeleportAction> </PrivateAction> </Private> <Private entityRef="pedestrian_close_to_standing_23998"> <PrivateAction> <TeleportAction> <Position> <WorldPosition x="-15.351969718933105" y="28.345386505126953" z="0.0030587005894631147"/> </Position> </TeleportAction> </PrivateAction> </Private> <Private entityRef="pedestrian_close_to_standing_23999"> <PrivateAction> <TeleportAction> <Position> <WorldPosition x="-11.486369132995605" y="20.42277717590332" z="0.0030549620278179646"/> </Position> </TeleportAction> </PrivateAction> </Private> <Private entityRef="pedestrian_close_to_hero_24000"> <PrivateAction> <TeleportAction> <Position> <WorldPosition x="-16.828510284423828" y="-165.8041534423828" z="0.0014286803780123591"/> </Position> </TeleportAction> </PrivateAction> </Private> <Private entityRef="pedestrian_close_to_adversary_24001"> <PrivateAction> <TeleportAction> <Position> <WorldPosition x="-16.300931930541992" y="-62.27056121826172" z="0.03374675661325455"/> </Position> </TeleportAction> </PrivateAction> </Private> <Private entityRef="pedestrian_close_to_hero_24004"> <PrivateAction> <TeleportAction> <Position> <WorldPosition x="-15.401516914367676" y="-161.11566162109375" z="0.0014286803780123591"/> </Position> </TeleportAction> </PrivateAction> </Private> <Private entityRef="pedestrian_w_transform_24005"> <PrivateAction> <TeleportAction> <Position> <WorldPosition x="78.55354309082031" y="79.75355529785156" z="0.5"/> </Position> </TeleportAction> </PrivateAction> </Private> </Actions> </Init> <Story name="MyStory"> <Act name="Behavior"> <ManeuverGroup maximumExecutionCount="1" name="ManeuverSequence"> <Actors selectTriggeringEntities="false"> <EntityRef entityRef="adversary"/> </Actors> <Maneuver name="LaneChangeSimpleManeuver"> <Event name="AdversaryAccelerates" priority="overwrite"> <Action name="AdversaryAccelerates"> <PrivateAction> <LongitudinalAction> <SpeedAction> <SpeedActionDynamics dynamicsShape="step" value="50" dynamicsDimension="distance"/> <SpeedActionTarget> <AbsoluteTargetSpeed value="5.0"/> </SpeedActionTarget> </SpeedAction> </LongitudinalAction> </PrivateAction> </Action> <StartTrigger> <ConditionGroup> <Condition name="StartCondition" delay="0" conditionEdge="rising"> <ByEntityCondition> <TriggeringEntities triggeringEntitiesRule="any"> <EntityRef entityRef="hero"/> </TriggeringEntities> <EntityCondition> <RelativeDistanceCondition entityRef="adversary" relativeDistanceType="cartesianDistance" value="40.0" freespace="false" rule="lessThan"/> </EntityCondition> </ByEntityCondition> </Condition> </ConditionGroup> </StartTrigger> </Event> <Event name="AdversaryChangesLane" priority="overwrite"> <Action name="AdversaryChangesLane"> <PrivateAction> <LateralAction> <LaneChangeAction> <LaneChangeActionDynamics dynamicsShape="linear" value="25" dynamicsDimension="distance"/> <LaneChangeTarget> <RelativeTargetLane entityRef="adversary" value="-1"/> </LaneChangeTarget> </LaneChangeAction> </LateralAction> </PrivateAction> </Action> <StartTrigger> <ConditionGroup> <Condition name="AfterAdversaryAccelerates" delay="0" conditionEdge="rising"> <ByValueCondition> <StoryboardElementStateCondition storyboardElementType="action" storyboardElementRef="AdversaryAccelerates" state="completeState"/> </ByValueCondition> </Condition> </ConditionGroup> </StartTrigger> </Event> </Maneuver> </ManeuverGroup> <StartTrigger> <ConditionGroup> <Condition name="OverallStartCondition" delay="0" conditionEdge="rising"> <ByEntityCondition> <TriggeringEntities triggeringEntitiesRule="any"> <EntityRef entityRef="hero"/> </TriggeringEntities> <EntityCondition> <TraveledDistanceCondition value="1.0"/> </EntityCondition> </ByEntityCondition> </Condition> <Condition name="StartTime" delay="0" conditionEdge="rising"> <ByValueCondition> <SimulationTimeCondition value="0" rule="equalTo"/> </ByValueCondition> </Condition> </ConditionGroup> </StartTrigger> <StopTrigger> <ConditionGroup> <Condition name="EndCondition" delay="0" conditionEdge="rising"> <ByEntityCondition> <TriggeringEntities triggeringEntitiesRule="any"> <EntityRef entityRef="hero"/> </TriggeringEntities> <EntityCondition> <TraveledDistanceCondition value="200.0"/> </EntityCondition> </ByEntityCondition> </Condition> </ConditionGroup> </StopTrigger> </Act> </Story> <StopTrigger> <ConditionGroup> <Condition name="criteria_RunningStopTest" delay="0" conditionEdge="rising"> <ByValueCondition> <ParameterCondition parameterRef="" value="" rule="lessThan"/> </ByValueCondition> </Condition> <Condition name="criteria_RunningRedLightTest" delay="0" conditionEdge="rising"> <ByValueCondition> <ParameterCondition parameterRef="" value="" rule="lessThan"/> </ByValueCondition> </Condition> <Condition name="criteria_WrongLaneTest" delay="0" conditionEdge="rising"> <ByValueCondition> <ParameterCondition parameterRef="" value="" rule="lessThan"/> </ByValueCondition> </Condition> <Condition name="criteria_OnSidewalkTest" delay="0" conditionEdge="rising"> <ByValueCondition> <ParameterCondition parameterRef="" value="" rule="lessThan"/> </ByValueCondition> </Condition> <Condition name="criteria_KeepLaneTest" delay="0" conditionEdge="rising"> <ByValueCondition> <ParameterCondition parameterRef="" value="" rule="lessThan"/> </ByValueCondition> </Condition> <Condition name="criteria_CollisionTest" delay="0" conditionEdge="rising"> <ByValueCondition> <ParameterCondition parameterRef="" value="" rule="lessThan"/> </ByValueCondition> </Condition> <Condition name="criteria_DrivenDistanceTest" delay="0" conditionEdge="rising"> <ByValueCondition> <ParameterCondition parameterRef="distance_success" value="100" rule="lessThan"/> </ByValueCondition> </Condition> </ConditionGroup> </StopTrigger> </Storyboard> </OpenSCENARIO> ```
i would like to guide you to remove pedestrian close to adversary? ``` <?xml version="1.0" ?> <OpenSCENARIO> <FileHeader revMajor="1" revMinor="0" date="2020-03-24T12:00:00" description="CARLA:LaneChangeSimple" author=""/> <ParameterDeclarations/> <CatalogLocations/> <RoadNetwork> <LogicFile filepath="Town04"/> <SceneGraphFile filepath=""/> </RoadNetwork> <Entities> <ScenarioObject name="hero"> <Vehicle name="vehicle.tesla.model3" vehicleCategory="car"> <ParameterDeclarations/> <Performance maxSpeed="69.444" maxAcceleration="200" maxDeceleration="10.0"/> <BoundingBox> <Center x="1.5" y="0.0" z="0.9"/> <Dimensions width="2.1" length="4.5" height="1.8"/> </BoundingBox> <Axles> <FrontAxle maxSteering="0.5" wheelDiameter="0.6" trackWidth="1.8" positionX="3.1" positionZ="0.3"/> <RearAxle maxSteering="0.0" wheelDiameter="0.6" trackWidth="1.8" positionX="0.0" positionZ="0.3"/> </Axles> <Properties> <Property name="type" value="ego_vehicle"/> </Properties> </Vehicle> </ScenarioObject> <ScenarioObject name="adversary"> <Vehicle name="vehicle.lincoln.mkz_2017" vehicleCategory="car"> <ParameterDeclarations/> <Performance maxSpeed="69.444" maxAcceleration="200" maxDeceleration="10.0"/> <BoundingBox> <Center x="1.5" y="0.0" z="0.9"/> <Dimensions width="2.1" length="4.5" height="1.8"/> </BoundingBox> <Axles> <FrontAxle maxSteering="0.5" wheelDiameter="0.6" trackWidth="1.8" positionX="3.1" positionZ="0.3"/> <RearAxle maxSteering="0.0" wheelDiameter="0.6" trackWidth="1.8" positionX="0.0" positionZ="0.3"/> </Axles> <Properties> <Property name="type" value="simulation"/> </Properties> </Vehicle> </ScenarioObject> <ScenarioObject name="standing"> <Vehicle name="vehicle.volkswagen.t2" vehicleCategory="car"> <ParameterDeclarations/> <Performance maxSpeed="69.444" maxAcceleration="200" maxDeceleration="10.0"/> <BoundingBox> <Center x="1.5" y="0.0" z="0.9"/> <Dimensions width="2.1" length="4.5" height="1.8"/> </BoundingBox> <Axles> <FrontAxle maxSteering="0.5" wheelDiameter="0.6" trackWidth="1.8" positionX="3.1" positionZ="0.3"/> <RearAxle maxSteering="0.0" wheelDiameter="0.6" trackWidth="1.8" positionX="0.0" positionZ="0.3"/> </Axles> <Properties> <Property name="type" value="simulation"/> </Properties> </Vehicle> </ScenarioObject> <ScenarioObject name="pedestrian_close_to_adversary_10970"> <Pedestrian model="walker.pedestrian.0001" mass="80" name="walker.pedestrian.0001" pedestrianCategory="pedestrian"> <ParameterDeclarations/> <BoundingBox> <Center x="1.5" y="0.0" z="0.9"/> <Dimensions width="2" length="2" height="2"/> </BoundingBox> <Properties> <Property name="type" value="simulation"/> </Properties> </Pedestrian> </ScenarioObject> <ScenarioObject name="pedestrian_w_transform_10971"> <Pedestrian model="walker.pedestrian.0001" mass="80" name="walker.pedestrian.0001" pedestrianCategory="pedestrian"> <ParameterDeclarations/> <BoundingBox> <Center x="1.5" y="0.0" z="0.9"/> <Dimensions width="2" length="2" height="2"/> </BoundingBox> <Properties> <Property name="type" value="simulation"/> </Properties> </Pedestrian> </ScenarioObject> <ScenarioObject name="pedestrian_w_transform_10973"> <Pedestrian model="walker.pedestrian.0001" mass="80" name="walker.pedestrian.0001" pedestrianCategory="pedestrian"> <ParameterDeclarations/> <BoundingBox> <Center x="1.5" y="0.0" z="0.9"/> <Dimensions width="2" length="2" height="2"/> </BoundingBox> <Properties> <Property name="type" value="simulation"/> </Properties> </Pedestrian> </ScenarioObject> <ScenarioObject name="pedestrian_w_transform_10974"> <Pedestrian model="walker.pedestrian.0001" mass="80" name="walker.pedestrian.0001" pedestrianCategory="pedestrian"> <ParameterDeclarations/> <BoundingBox> <Center x="1.5" y="0.0" z="0.9"/> <Dimensions width="2" length="2" height="2"/> </BoundingBox> <Properties> <Property name="type" value="simulation"/> </Properties> </Pedestrian> </ScenarioObject> <ScenarioObject name="pedestrian_w_transform_10975"> <Pedestrian model="walker.pedestrian.0001" mass="80" name="walker.pedestrian.0001" pedestrianCategory="pedestrian"> <ParameterDeclarations/> <BoundingBox> <Center x="1.5" y="0.0" z="0.9"/> <Dimensions width="2" length="2" height="2"/> </BoundingBox> <Properties> <Property name="type" value="simulation"/> </Properties> </Pedestrian> </ScenarioObject> <ScenarioObject name="pedestrian_w_transform_10976"> <Pedestrian model="walker.pedestrian.0001" mass="80" name="walker.pedestrian.0001" pedestrianCategory="pedestrian"> <ParameterDeclarations/> <BoundingBox> <Center x="1.5" y="0.0" z="0.9"/> <Dimensions width="2" length="2" height="2"/> </BoundingBox> <Properties> <Property name="type" value="simulation"/> </Properties> </Pedestrian> </ScenarioObject> <ScenarioObject name="pedestrian_close_to_standing_10977"> <Pedestrian model="walker.pedestrian.0001" mass="80" name="walker.pedestrian.0001" pedestrianCategory="pedestrian"> <ParameterDeclarations/> <BoundingBox> <Center x="1.5" y="0.0" z="0.9"/> <Dimensions width="2" length="2" height="2"/> </BoundingBox> <Properties> <Property name="type" value="simulation"/> </Properties> </Pedestrian> </ScenarioObject> <ScenarioObject name="pedestrian_close_to_adversary_10978"> <Pedestrian model="walker.pedestrian.0001" mass="80" name="walker.pedestrian.0001" pedestrianCategory="pedestrian"> <ParameterDeclarations/> <BoundingBox> <Center x="1.5" y="0.0" z="0.9"/> <Dimensions width="2" length="2" height="2"/> </BoundingBox> <Properties> <Property name="type" value="simulation"/> </Properties> </Pedestrian> </ScenarioObject> <ScenarioObject name="pedestrian_close_to_adversary_10979"> <Pedestrian model="walker.pedestrian.0001" mass="80" name="walker.pedestrian.0001" pedestrianCategory="pedestrian"> <ParameterDeclarations/> <BoundingBox> <Center x="1.5" y="0.0" z="0.9"/> <Dimensions width="2" length="2" height="2"/> </BoundingBox> <Properties> <Property name="type" value="simulation"/> </Properties> </Pedestrian> </ScenarioObject> <ScenarioObject name="pedestrian_w_transform_10980"> <Pedestrian model="walker.pedestrian.0001" mass="80" name="walker.pedestrian.0001" pedestrianCategory="pedestrian"> <ParameterDeclarations/> <BoundingBox> <Center x="1.5" y="0.0" z="0.9"/> <Dimensions width="2" length="2" height="2"/> </BoundingBox> <Properties> <Property name="type" value="simulation"/> </Properties> </Pedestrian> </ScenarioObject> <ScenarioObject name="pedestrian_close_to_adversary_10981"> <Pedestrian model="walker.pedestrian.0001" mass="80" name="walker.pedestrian.0001" pedestrianCategory="pedestrian"> <ParameterDeclarations/> <BoundingBox> <Center x="1.5" y="0.0" z="0.9"/> <Dimensions width="2" length="2" height="2"/> </BoundingBox> <Properties> <Property name="type" value="simulation"/> </Properties> </Pedestrian> </ScenarioObject> <ScenarioObject name="pedestrian_w_transform_10982"> <Pedestrian model="walker.pedestrian.0001" mass="80" name="walker.pedestrian.0001" pedestrianCategory="pedestrian"> <ParameterDeclarations/> <BoundingBox> <Center x="1.5" y="0.0" z="0.9"/> <Dimensions width="2" length="2" height="2"/> </BoundingBox> <Properties> <Property name="type" value="simulation"/> </Properties> </Pedestrian> </ScenarioObject> <ScenarioObject name="pedestrian_close_to_adversary_10984"> <Pedestrian model="walker.pedestrian.0001" mass="80" name="walker.pedestrian.0001" pedestrianCategory="pedestrian"> <ParameterDeclarations/> <BoundingBox> <Center x="1.5" y="0.0" z="0.9"/> <Dimensions width="2" length="2" height="2"/> </BoundingBox> <Properties> <Property name="type" value="simulation"/> </Properties> </Pedestrian> </ScenarioObject> <ScenarioObject name="pedestrian_close_to_standing_10985"> <Pedestrian model="walker.pedestrian.0001" mass="80" name="walker.pedestrian.0001" pedestrianCategory="pedestrian"> <ParameterDeclarations/> <BoundingBox> <Center x="1.5" y="0.0" z="0.9"/> <Dimensions width="2" length="2" height="2"/> </BoundingBox> <Properties> <Property name="type" value="simulation"/> </Properties> </Pedestrian> </ScenarioObject> <ScenarioObject name="pedestrian_close_to_hero_10986"> <Pedestrian model="walker.pedestrian.0001" mass="80" name="walker.pedestrian.0001" pedestrianCategory="pedestrian"> <ParameterDeclarations/> <BoundingBox> <Center x="1.5" y="0.0" z="0.9"/> <Dimensions width="2" length="2" height="2"/> </BoundingBox> <Properties> <Property name="type" value="simulation"/> </Properties> </Pedestrian> </ScenarioObject> <ScenarioObject name="pedestrian_close_to_standing_10987"> <Pedestrian model="walker.pedestrian.0001" mass="80" name="walker.pedestrian.0001" pedestrianCategory="pedestrian"> <ParameterDeclarations/> <BoundingBox> <Center x="1.5" y="0.0" z="0.9"/> <Dimensions width="2" length="2" height="2"/> </BoundingBox> <Properties> <Property name="type" value="simulation"/> </Properties> </Pedestrian> </ScenarioObject> </Entities> <Storyboard> <Init> <Actions> <GlobalAction> <EnvironmentAction> <Environment name="Environment1"> <TimeOfDay animation="false" dateTime="2019-06-25T12:00:00"/> <Weather cloudState="free"> <Sun intensity="0.85" azimuth="0" elevation="1.31"/> <Fog visualRange="100000.0"/> <Precipitation precipitationType="dry" intensity="0.0"/> </Weather> <RoadCondition frictionScaleFactor="1.0"/> </Environment> </EnvironmentAction> </GlobalAction> <Private entityRef="hero"> <PrivateAction> <TeleportAction> <Position> <WorldPosition x="-9.4" y="-152.8" z="0.5" h="1.57079632679"/> </Position> </TeleportAction> </PrivateAction> <PrivateAction> <ControllerAction> <AssignControllerAction> <Controller name="HeroAgent"> <Properties> <Property name="module" value="external_control"/> </Properties> </Controller> </AssignControllerAction> <OverrideControllerValueAction> <Throttle value="0" active="false"/> <Brake value="0" active="false"/> <Clutch value="0" active="false"/> <ParkingBrake value="0" active="false"/> <SteeringWheel value="0" active="false"/> <Gear number="0" active="false"/> </OverrideControllerValueAction> </ControllerAction> </PrivateAction> </Private> <Private entityRef="adversary"> <PrivateAction> <TeleportAction> <Position> <WorldPosition x="-9.4" y="-71.0" z="0.5" h="1.57079632679"/> </Position> </TeleportAction> </PrivateAction> </Private> <Private entityRef="standing"> <PrivateAction> <TeleportAction> <Position> <WorldPosition x="-8.2" y="29.2" z="0.5" h="1.57079632679"/> </Position> </TeleportAction> </PrivateAction> </Private> <Private entityRef="pedestrian_close_to_adversary_10970"> <PrivateAction> <TeleportAction> <Position> <WorldPosition x="-2.0888595581054688" y="-61.66822814941406" z="0.033839378505945206"/> </Position> </TeleportAction> </PrivateAction> </Private> <Private entityRef="pedestrian_w_transform_10971"> <PrivateAction> <TeleportAction> <Position> <WorldPosition x="79.05984497070312" y="-78.3467025756836" z="0.5"/> </Position> </TeleportAction> </PrivateAction> </Private> <Private entityRef="pedestrian_w_transform_10973"> <PrivateAction> <TeleportAction> <Position> <WorldPosition x="-80.38851165771484" y="-84.24811553955078" z="0.5"/> </Position> </TeleportAction> </PrivateAction> </Private> <Private entityRef="pedestrian_w_transform_10974"> <PrivateAction> <TeleportAction> <Position> <WorldPosition x="84.39515686035156" y="-60.75581741333008" z="0.5"/> </Position> </TeleportAction> </PrivateAction> </Private> <Private entityRef="pedestrian_w_transform_10975"> <PrivateAction> <TeleportAction> <Position> <WorldPosition x="5.565107822418213" y="90.95304107666016" z="0.5"/> </Position> </TeleportAction> </PrivateAction> </Private> <Private entityRef="pedestrian_w_transform_10976"> <PrivateAction> <TeleportAction> <Position> <WorldPosition x="95.2789535522461" y="-96.2676010131836" z="0.5"/> </Position> </TeleportAction> </PrivateAction> </Private> <Private entityRef="pedestrian_close_to_standing_10977"> <PrivateAction> <TeleportAction> <Position> <WorldPosition x="-9.023512840270996" y="23.327255249023438" z="0.0030832672491669655"/> </Position> </TeleportAction> </PrivateAction> </Private> <Private entityRef="pedestrian_close_to_adversary_10978"> <PrivateAction> <TeleportAction> <Position> <WorldPosition x="-9.194904327392578" y="-67.62779235839844" z="0.03376159444451332"/> </Position> </TeleportAction> </PrivateAction> </Private> <Private entityRef="pedestrian_close_to_adversary_10979"> <PrivateAction> <TeleportAction> <Position> <WorldPosition x="3.6102852821350098" y="-57.394779205322266" z="0.033756520599126816"/> </Position> </TeleportAction> </PrivateAction> </Private> <Private entityRef="pedestrian_w_transform_10980"> <PrivateAction> <TeleportAction> <Position> <WorldPosition x="-79.84609985351562" y="18.95366668701172" z="0.5"/> </Position> </TeleportAction> </PrivateAction> </Private> <Private entityRef="pedestrian_close_to_adversary_10981"> <PrivateAction> <TeleportAction> <Position> <WorldPosition x="-9.891935348510742" y="-74.36711120605469" z="0.033754654228687286"/> </Position> </TeleportAction> </PrivateAction> </Private> <Private entityRef="pedestrian_w_transform_10982"> <PrivateAction> <TeleportAction> <Position> <WorldPosition x="82.89179229736328" y="49.0587043762207" z="0.5"/> </Position> </TeleportAction> </PrivateAction> </Private> <Private entityRef="pedestrian_close_to_adversary_10984"> <PrivateAction> <TeleportAction> <Position> <WorldPosition x="-16.574827194213867" y="-71.2367935180664" z="0.033777426928281784"/> </Position> </TeleportAction> </PrivateAction> </Private> <Private entityRef="pedestrian_close_to_standing_10985"> <PrivateAction> <TeleportAction> <Position> <WorldPosition x="-16.40763282775879" y="24.788389205932617" z="0.0030907820910215378"/> </Position> </TeleportAction> </PrivateAction> </Private> <Private entityRef="pedestrian_close_to_hero_10986"> <PrivateAction> <TeleportAction> <Position> <WorldPosition x="6.760874271392822" y="-141.8725128173828" z="0.0014286803780123591"/> </Position> </TeleportAction> </PrivateAction> </Private> <Private entityRef="pedestrian_close_to_standing_10987"> <PrivateAction> <TeleportAction> <Position> <WorldPosition x="-12.828975677490234" y="30.545406341552734" z="0.0030637739691883326"/> </Position> </TeleportAction> </PrivateAction> </Private> </Actions> </Init> <Story name="MyStory"> <Act name="Behavior"> <ManeuverGroup maximumExecutionCount="1" name="ManeuverSequence"> <Actors selectTriggeringEntities="false"> <EntityRef entityRef="adversary"/> </Actors> <Maneuver name="LaneChangeSimpleManeuver"> <Event name="AdversaryAccelerates" priority="overwrite"> <Action name="AdversaryAccelerates"> <PrivateAction> <LongitudinalAction> <SpeedAction> <SpeedActionDynamics dynamicsShape="step" value="50" dynamicsDimension="distance"/> <SpeedActionTarget> <AbsoluteTargetSpeed value="5.0"/> </SpeedActionTarget> </SpeedAction> </LongitudinalAction> </PrivateAction> </Action> <StartTrigger> <ConditionGroup> <Condition name="StartCondition" delay="0" conditionEdge="rising"> <ByEntityCondition> <TriggeringEntities triggeringEntitiesRule="any"> <EntityRef entityRef="hero"/> </TriggeringEntities> <EntityCondition> <RelativeDistanceCondition entityRef="adversary" relativeDistanceType="cartesianDistance" value="40.0" freespace="false" rule="lessThan"/> </EntityCondition> </ByEntityCondition> </Condition> </ConditionGroup> </StartTrigger> </Event> <Event name="AdversaryChangesLane" priority="overwrite"> <Action name="AdversaryChangesLane"> <PrivateAction> <LateralAction> <LaneChangeAction> <LaneChangeActionDynamics dynamicsShape="linear" value="25" dynamicsDimension="distance"/> <LaneChangeTarget> <RelativeTargetLane entityRef="adversary" value="-1"/> </LaneChangeTarget> </LaneChangeAction> </LateralAction> </PrivateAction> </Action> <StartTrigger> <ConditionGroup> <Condition name="AfterAdversaryAccelerates" delay="0" conditionEdge="rising"> <ByValueCondition> <StoryboardElementStateCondition storyboardElementType="action" storyboardElementRef="AdversaryAccelerates" state="completeState"/> </ByValueCondition> </Condition> </ConditionGroup> </StartTrigger> </Event> </Maneuver> </ManeuverGroup> <StartTrigger> <ConditionGroup> <Condition name="OverallStartCondition" delay="0" conditionEdge="rising"> <ByEntityCondition> <TriggeringEntities triggeringEntitiesRule="any"> <EntityRef entityRef="hero"/> </TriggeringEntities> <EntityCondition> <TraveledDistanceCondition value="1.0"/> </EntityCondition> </ByEntityCondition> </Condition> <Condition name="StartTime" delay="0" conditionEdge="rising"> <ByValueCondition> <SimulationTimeCondition value="0" rule="equalTo"/> </ByValueCondition> </Condition> </ConditionGroup> </StartTrigger> <StopTrigger> <ConditionGroup> <Condition name="EndCondition" delay="0" conditionEdge="rising"> <ByEntityCondition> <TriggeringEntities triggeringEntitiesRule="any"> <EntityRef entityRef="hero"/> </TriggeringEntities> <EntityCondition> <TraveledDistanceCondition value="200.0"/> </EntityCondition> </ByEntityCondition> </Condition> </ConditionGroup> </StopTrigger> </Act> </Story> <StopTrigger> <ConditionGroup> <Condition name="criteria_RunningStopTest" delay="0" conditionEdge="rising"> <ByValueCondition> <ParameterCondition parameterRef="" value="" rule="lessThan"/> </ByValueCondition> </Condition> <Condition name="criteria_RunningRedLightTest" delay="0" conditionEdge="rising"> <ByValueCondition> <ParameterCondition parameterRef="" value="" rule="lessThan"/> </ByValueCondition> </Condition> <Condition name="criteria_WrongLaneTest" delay="0" conditionEdge="rising"> <ByValueCondition> <ParameterCondition parameterRef="" value="" rule="lessThan"/> </ByValueCondition> </Condition> <Condition name="criteria_OnSidewalkTest" delay="0" conditionEdge="rising"> <ByValueCondition> <ParameterCondition parameterRef="" value="" rule="lessThan"/> </ByValueCondition> </Condition> <Condition name="criteria_KeepLaneTest" delay="0" conditionEdge="rising"> <ByValueCondition> <ParameterCondition parameterRef="" value="" rule="lessThan"/> </ByValueCondition> </Condition> <Condition name="criteria_CollisionTest" delay="0" conditionEdge="rising"> <ByValueCondition> <ParameterCondition parameterRef="" value="" rule="lessThan"/> </ByValueCondition> </Condition> <Condition name="criteria_DrivenDistanceTest" delay="0" conditionEdge="rising"> <ByValueCondition> <ParameterCondition parameterRef="distance_success" value="100" rule="lessThan"/> </ByValueCondition> </Condition> </ConditionGroup> </StopTrigger> </Storyboard> </OpenSCENARIO> ```
Here is the result: ``` <?xml version="1.0" ?> <OpenSCENARIO> <FileHeader revMajor="1" revMinor="0" date="2020-03-24T12:00:00" description="CARLA:LaneChangeSimple" author=""/> <ParameterDeclarations/> <CatalogLocations/> <RoadNetwork> <LogicFile filepath="Town04"/> <SceneGraphFile filepath=""/> </RoadNetwork> <Entities> <ScenarioObject name="hero"> <Vehicle name="vehicle.tesla.model3" vehicleCategory="car"> <ParameterDeclarations/> <Performance maxSpeed="69.444" maxAcceleration="200" maxDeceleration="10.0"/> <BoundingBox> <Center x="1.5" y="0.0" z="0.9"/> <Dimensions width="2.1" length="4.5" height="1.8"/> </BoundingBox> <Axles> <FrontAxle maxSteering="0.5" wheelDiameter="0.6" trackWidth="1.8" positionX="3.1" positionZ="0.3"/> <RearAxle maxSteering="0.0" wheelDiameter="0.6" trackWidth="1.8" positionX="0.0" positionZ="0.3"/> </Axles> <Properties> <Property name="type" value="ego_vehicle"/> </Properties> </Vehicle> </ScenarioObject> <ScenarioObject name="adversary"> <Vehicle name="vehicle.lincoln.mkz_2017" vehicleCategory="car"> <ParameterDeclarations/> <Performance maxSpeed="69.444" maxAcceleration="200" maxDeceleration="10.0"/> <BoundingBox> <Center x="1.5" y="0.0" z="0.9"/> <Dimensions width="2.1" length="4.5" height="1.8"/> </BoundingBox> <Axles> <FrontAxle maxSteering="0.5" wheelDiameter="0.6" trackWidth="1.8" positionX="3.1" positionZ="0.3"/> <RearAxle maxSteering="0.0" wheelDiameter="0.6" trackWidth="1.8" positionX="0.0" positionZ="0.3"/> </Axles> <Properties> <Property name="type" value="simulation"/> </Properties> </Vehicle> </ScenarioObject> <ScenarioObject name="standing"> <Vehicle name="vehicle.volkswagen.t2" vehicleCategory="car"> <ParameterDeclarations/> <Performance maxSpeed="69.444" maxAcceleration="200" maxDeceleration="10.0"/> <BoundingBox> <Center x="1.5" y="0.0" z="0.9"/> <Dimensions width="2.1" length="4.5" height="1.8"/> </BoundingBox> <Axles> <FrontAxle maxSteering="0.5" wheelDiameter="0.6" trackWidth="1.8" positionX="3.1" positionZ="0.3"/> <RearAxle maxSteering="0.0" wheelDiameter="0.6" trackWidth="1.8" positionX="0.0" positionZ="0.3"/> </Axles> <Properties> <Property name="type" value="simulation"/> </Properties> </Vehicle> </ScenarioObject> <ScenarioObject name="pedestrian_close_to_adversary_10970"> <Pedestrian model="walker.pedestrian.0001" mass="80" name="walker.pedestrian.0001" pedestrianCategory="pedestrian"> <ParameterDeclarations/> <BoundingBox> <Center x="1.5" y="0.0" z="0.9"/> <Dimensions width="2" length="2" height="2"/> </BoundingBox> <Properties> <Property name="type" value="simulation"/> </Properties> </Pedestrian> </ScenarioObject> <ScenarioObject name="pedestrian_w_transform_10971"> <Pedestrian model="walker.pedestrian.0001" mass="80" name="walker.pedestrian.0001" pedestrianCategory="pedestrian"> <ParameterDeclarations/> <BoundingBox> <Center x="1.5" y="0.0" z="0.9"/> <Dimensions width="2" length="2" height="2"/> </BoundingBox> <Properties> <Property name="type" value="simulation"/> </Properties> </Pedestrian> </ScenarioObject> <ScenarioObject name="pedestrian_w_transform_10973"> <Pedestrian model="walker.pedestrian.0001" mass="80" name="walker.pedestrian.0001" pedestrianCategory="pedestrian"> <ParameterDeclarations/> <BoundingBox> <Center x="1.5" y="0.0" z="0.9"/> <Dimensions width="2" length="2" height="2"/> </BoundingBox> <Properties> <Property name="type" value="simulation"/> </Properties> </Pedestrian> </ScenarioObject> <ScenarioObject name="pedestrian_w_transform_10974"> <Pedestrian model="walker.pedestrian.0001" mass="80" name="walker.pedestrian.0001" pedestrianCategory="pedestrian"> <ParameterDeclarations/> <BoundingBox> <Center x="1.5" y="0.0" z="0.9"/> <Dimensions width="2" length="2" height="2"/> </BoundingBox> <Properties> <Property name="type" value="simulation"/> </Properties> </Pedestrian> </ScenarioObject> <ScenarioObject name="pedestrian_w_transform_10975"> <Pedestrian model="walker.pedestrian.0001" mass="80" name="walker.pedestrian.0001" pedestrianCategory="pedestrian"> <ParameterDeclarations/> <BoundingBox> <Center x="1.5" y="0.0" z="0.9"/> <Dimensions width="2" length="2" height="2"/> </BoundingBox> <Properties> <Property name="type" value="simulation"/> </Properties> </Pedestrian> </ScenarioObject> <ScenarioObject name="pedestrian_w_transform_10976"> <Pedestrian model="walker.pedestrian.0001" mass="80" name="walker.pedestrian.0001" pedestrianCategory="pedestrian"> <ParameterDeclarations/> <BoundingBox> <Center x="1.5" y="0.0" z="0.9"/> <Dimensions width="2" length="2" height="2"/> </BoundingBox> <Properties> <Property name="type" value="simulation"/> </Properties> </Pedestrian> </ScenarioObject> <ScenarioObject name="pedestrian_close_to_standing_10977"> <Pedestrian model="walker.pedestrian.0001" mass="80" name="walker.pedestrian.0001" pedestrianCategory="pedestrian"> <ParameterDeclarations/> <BoundingBox> <Center x="1.5" y="0.0" z="0.9"/> <Dimensions width="2" length="2" height="2"/> </BoundingBox> <Properties> <Property name="type" value="simulation"/> </Properties> </Pedestrian> </ScenarioObject> <ScenarioObject name="pedestrian_close_to_adversary_10978"> <Pedestrian model="walker.pedestrian.0001" mass="80" name="walker.pedestrian.0001" pedestrianCategory="pedestrian"> <ParameterDeclarations/> <BoundingBox> <Center x="1.5" y="0.0" z="0.9"/> <Dimensions width="2" length="2" height="2"/> </BoundingBox> <Properties> <Property name="type" value="simulation"/> </Properties> </Pedestrian> </ScenarioObject> <ScenarioObject name="pedestrian_close_to_adversary_10979"> <Pedestrian model="walker.pedestrian.0001" mass="80" name="walker.pedestrian.0001" pedestrianCategory="pedestrian"> <ParameterDeclarations/> <BoundingBox> <Center x="1.5" y="0.0" z="0.9"/> <Dimensions width="2" length="2" height="2"/> </BoundingBox> <Properties> <Property name="type" value="simulation"/> </Properties> </Pedestrian> </ScenarioObject> <ScenarioObject name="pedestrian_w_transform_10980"> <Pedestrian model="walker.pedestrian.0001" mass="80" name="walker.pedestrian.0001" pedestrianCategory="pedestrian"> <ParameterDeclarations/> <BoundingBox> <Center x="1.5" y="0.0" z="0.9"/> <Dimensions width="2" length="2" height="2"/> </BoundingBox> <Properties> <Property name="type" value="simulation"/> </Properties> </Pedestrian> </ScenarioObject> <ScenarioObject name="pedestrian_close_to_adversary_10981"> <Pedestrian model="walker.pedestrian.0001" mass="80" name="walker.pedestrian.0001" pedestrianCategory="pedestrian"> <ParameterDeclarations/> <BoundingBox> <Center x="1.5" y="0.0" z="0.9"/> <Dimensions width="2" length="2" height="2"/> </BoundingBox> <Properties> <Property name="type" value="simulation"/> </Properties> </Pedestrian> </ScenarioObject> <ScenarioObject name="pedestrian_w_transform_10982"> <Pedestrian model="walker.pedestrian.0001" mass="80" name="walker.pedestrian.0001" pedestrianCategory="pedestrian"> <ParameterDeclarations/> <BoundingBox> <Center x="1.5" y="0.0" z="0.9"/> <Dimensions width="2" length="2" height="2"/> </BoundingBox> <Properties> <Property name="type" value="simulation"/> </Properties> </Pedestrian> </ScenarioObject> <ScenarioObject name="pedestrian_close_to_standing_10985"> <Pedestrian model="walker.pedestrian.0001" mass="80" name="walker.pedestrian.0001" pedestrianCategory="pedestrian"> <ParameterDeclarations/> <BoundingBox> <Center x="1.5" y="0.0" z="0.9"/> <Dimensions width="2" length="2" height="2"/> </BoundingBox> <Properties> <Property name="type" value="simulation"/> </Properties> </Pedestrian> </ScenarioObject> <ScenarioObject name="pedestrian_close_to_hero_10986"> <Pedestrian model="walker.pedestrian.0001" mass="80" name="walker.pedestrian.0001" pedestrianCategory="pedestrian"> <ParameterDeclarations/> <BoundingBox> <Center x="1.5" y="0.0" z="0.9"/> <Dimensions width="2" length="2" height="2"/> </BoundingBox> <Properties> <Property name="type" value="simulation"/> </Properties> </Pedestrian> </ScenarioObject> <ScenarioObject name="pedestrian_close_to_standing_10987"> <Pedestrian model="walker.pedestrian.0001" mass="80" name="walker.pedestrian.0001" pedestrianCategory="pedestrian"> <ParameterDeclarations/> <BoundingBox> <Center x="1.5" y="0.0" z="0.9"/> <Dimensions width="2" length="2" height="2"/> </BoundingBox> <Properties> <Property name="type" value="simulation"/> </Properties> </Pedestrian> </ScenarioObject> </Entities> <Storyboard> <Init> <Actions> <GlobalAction> <EnvironmentAction> <Environment name="Environment1"> <TimeOfDay animation="false" dateTime="2019-06-25T12:00:00"/> <Weather cloudState="free"> <Sun intensity="0.85" azimuth="0" elevation="1.31"/> <Fog visualRange="100000.0"/> <Precipitation precipitationType="dry" intensity="0.0"/> </Weather> <RoadCondition frictionScaleFactor="1.0"/> </Environment> </EnvironmentAction> </GlobalAction> <Private entityRef="hero"> <PrivateAction> <TeleportAction> <Position> <WorldPosition x="-9.4" y="-152.8" z="0.5" h="1.57079632679"/> </Position> </TeleportAction> </PrivateAction> <PrivateAction> <ControllerAction> <AssignControllerAction> <Controller name="HeroAgent"> <Properties> <Property name="module" value="external_control"/> </Properties> </Controller> </AssignControllerAction> <OverrideControllerValueAction> <Throttle value="0" active="false"/> <Brake value="0" active="false"/> <Clutch value="0" active="false"/> <ParkingBrake value="0" active="false"/> <SteeringWheel value="0" active="false"/> <Gear number="0" active="false"/> </OverrideControllerValueAction> </ControllerAction> </PrivateAction> </Private> <Private entityRef="adversary"> <PrivateAction> <TeleportAction> <Position> <WorldPosition x="-9.4" y="-71.0" z="0.5" h="1.57079632679"/> </Position> </TeleportAction> </PrivateAction> </Private> <Private entityRef="standing"> <PrivateAction> <TeleportAction> <Position> <WorldPosition x="-8.2" y="29.2" z="0.5" h="1.57079632679"/> </Position> </TeleportAction> </PrivateAction> </Private> <Private entityRef="pedestrian_close_to_adversary_10970"> <PrivateAction> <TeleportAction> <Position> <WorldPosition x="-2.0888595581054688" y="-61.66822814941406" z="0.033839378505945206"/> </Position> </TeleportAction> </PrivateAction> </Private> <Private entityRef="pedestrian_w_transform_10971"> <PrivateAction> <TeleportAction> <Position> <WorldPosition x="79.05984497070312" y="-78.3467025756836" z="0.5"/> </Position> </TeleportAction> </PrivateAction> </Private> <Private entityRef="pedestrian_w_transform_10973"> <PrivateAction> <TeleportAction> <Position> <WorldPosition x="-80.38851165771484" y="-84.24811553955078" z="0.5"/> </Position> </TeleportAction> </PrivateAction> </Private> <Private entityRef="pedestrian_w_transform_10974"> <PrivateAction> <TeleportAction> <Position> <WorldPosition x="84.39515686035156" y="-60.75581741333008" z="0.5"/> </Position> </TeleportAction> </PrivateAction> </Private> <Private entityRef="pedestrian_w_transform_10975"> <PrivateAction> <TeleportAction> <Position> <WorldPosition x="5.565107822418213" y="90.95304107666016" z="0.5"/> </Position> </TeleportAction> </PrivateAction> </Private> <Private entityRef="pedestrian_w_transform_10976"> <PrivateAction> <TeleportAction> <Position> <WorldPosition x="95.2789535522461" y="-96.2676010131836" z="0.5"/> </Position> </TeleportAction> </PrivateAction> </Private> <Private entityRef="pedestrian_close_to_standing_10977"> <PrivateAction> <TeleportAction> <Position> <WorldPosition x="-9.023512840270996" y="23.327255249023438" z="0.0030832672491669655"/> </Position> </TeleportAction> </PrivateAction> </Private> <Private entityRef="pedestrian_close_to_adversary_10978"> <PrivateAction> <TeleportAction> <Position> <WorldPosition x="-9.194904327392578" y="-67.62779235839844" z="0.03376159444451332"/> </Position> </TeleportAction> </PrivateAction> </Private> <Private entityRef="pedestrian_close_to_adversary_10979"> <PrivateAction> <TeleportAction> <Position> <WorldPosition x="3.6102852821350098" y="-57.394779205322266" z="0.033756520599126816"/> </Position> </TeleportAction> </PrivateAction> </Private> <Private entityRef="pedestrian_w_transform_10980"> <PrivateAction> <TeleportAction> <Position> <WorldPosition x="-79.84609985351562" y="18.95366668701172" z="0.5"/> </Position> </TeleportAction> </PrivateAction> </Private> <Private entityRef="pedestrian_close_to_adversary_10981"> <PrivateAction> <TeleportAction> <Position> <WorldPosition x="-9.891935348510742" y="-74.36711120605469" z="0.033754654228687286"/> </Position> </TeleportAction> </PrivateAction> </Private> <Private entityRef="pedestrian_w_transform_10982"> <PrivateAction> <TeleportAction> <Position> <WorldPosition x="82.89179229736328" y="49.0587043762207" z="0.5"/> </Position> </TeleportAction> </PrivateAction> </Private> <Private entityRef="pedestrian_close_to_standing_10985"> <PrivateAction> <TeleportAction> <Position> <WorldPosition x="-16.40763282775879" y="24.788389205932617" z="0.0030907820910215378"/> </Position> </TeleportAction> </PrivateAction> </Private> <Private entityRef="pedestrian_close_to_hero_10986"> <PrivateAction> <TeleportAction> <Position> <WorldPosition x="6.760874271392822" y="-141.8725128173828" z="0.0014286803780123591"/> </Position> </TeleportAction> </PrivateAction> </Private> <Private entityRef="pedestrian_close_to_standing_10987"> <PrivateAction> <TeleportAction> <Position> <WorldPosition x="-12.828975677490234" y="30.545406341552734" z="0.0030637739691883326"/> </Position> </TeleportAction> </PrivateAction> </Private> </Actions> </Init> <Story name="MyStory"> <Act name="Behavior"> <ManeuverGroup maximumExecutionCount="1" name="ManeuverSequence"> <Actors selectTriggeringEntities="false"> <EntityRef entityRef="adversary"/> </Actors> <Maneuver name="LaneChangeSimpleManeuver"> <Event name="AdversaryAccelerates" priority="overwrite"> <Action name="AdversaryAccelerates"> <PrivateAction> <LongitudinalAction> <SpeedAction> <SpeedActionDynamics dynamicsShape="step" value="50" dynamicsDimension="distance"/> <SpeedActionTarget> <AbsoluteTargetSpeed value="5.0"/> </SpeedActionTarget> </SpeedAction> </LongitudinalAction> </PrivateAction> </Action> <StartTrigger> <ConditionGroup> <Condition name="StartCondition" delay="0" conditionEdge="rising"> <ByEntityCondition> <TriggeringEntities triggeringEntitiesRule="any"> <EntityRef entityRef="hero"/> </TriggeringEntities> <EntityCondition> <RelativeDistanceCondition entityRef="adversary" relativeDistanceType="cartesianDistance" value="40.0" freespace="false" rule="lessThan"/> </EntityCondition> </ByEntityCondition> </Condition> </ConditionGroup> </StartTrigger> </Event> <Event name="AdversaryChangesLane" priority="overwrite"> <Action name="AdversaryChangesLane"> <PrivateAction> <LateralAction> <LaneChangeAction> <LaneChangeActionDynamics dynamicsShape="linear" value="25" dynamicsDimension="distance"/> <LaneChangeTarget> <RelativeTargetLane entityRef="adversary" value="-1"/> </LaneChangeTarget> </LaneChangeAction> </LateralAction> </PrivateAction> </Action> <StartTrigger> <ConditionGroup> <Condition name="AfterAdversaryAccelerates" delay="0" conditionEdge="rising"> <ByValueCondition> <StoryboardElementStateCondition storyboardElementType="action" storyboardElementRef="AdversaryAccelerates" state="completeState"/> </ByValueCondition> </Condition> </ConditionGroup> </StartTrigger> </Event> </Maneuver> </ManeuverGroup> <StartTrigger> <ConditionGroup> <Condition name="OverallStartCondition" delay="0" conditionEdge="rising"> <ByEntityCondition> <TriggeringEntities triggeringEntitiesRule="any"> <EntityRef entityRef="hero"/> </TriggeringEntities> <EntityCondition> <TraveledDistanceCondition value="1.0"/> </EntityCondition> </ByEntityCondition> </Condition> <Condition name="StartTime" delay="0" conditionEdge="rising"> <ByValueCondition> <SimulationTimeCondition value="0" rule="equalTo"/> </ByValueCondition> </Condition> </ConditionGroup> </StartTrigger> <StopTrigger> <ConditionGroup> <Condition name="EndCondition" delay="0" conditionEdge="rising"> <ByEntityCondition> <TriggeringEntities triggeringEntitiesRule="any"> <EntityRef entityRef="hero"/> </TriggeringEntities> <EntityCondition> <TraveledDistanceCondition value="200.0"/> </EntityCondition> </ByEntityCondition> </Condition> </ConditionGroup> </StopTrigger> </Act> </Story> <StopTrigger> <ConditionGroup> <Condition name="criteria_RunningStopTest" delay="0" conditionEdge="rising"> <ByValueCondition> <ParameterCondition parameterRef="" value="" rule="lessThan"/> </ByValueCondition> </Condition> <Condition name="criteria_RunningRedLightTest" delay="0" conditionEdge="rising"> <ByValueCondition> <ParameterCondition parameterRef="" value="" rule="lessThan"/> </ByValueCondition> </Condition> <Condition name="criteria_WrongLaneTest" delay="0" conditionEdge="rising"> <ByValueCondition> <ParameterCondition parameterRef="" value="" rule="lessThan"/> </ByValueCondition> </Condition> <Condition name="criteria_OnSidewalkTest" delay="0" conditionEdge="rising"> <ByValueCondition> <ParameterCondition parameterRef="" value="" rule="lessThan"/> </ByValueCondition> </Condition> <Condition name="criteria_KeepLaneTest" delay="0" conditionEdge="rising"> <ByValueCondition> <ParameterCondition parameterRef="" value="" rule="lessThan"/> </ByValueCondition> </Condition> <Condition name="criteria_CollisionTest" delay="0" conditionEdge="rising"> <ByValueCondition> <ParameterCondition parameterRef="" value="" rule="lessThan"/> </ByValueCondition> </Condition> <Condition name="criteria_DrivenDistanceTest" delay="0" conditionEdge="rising"> <ByValueCondition> <ParameterCondition parameterRef="distance_success" value="100" rule="lessThan"/> </ByValueCondition> </Condition> </ConditionGroup> </StopTrigger> </Storyboard> </OpenSCENARIO> ```
can you remove pedestrian actor named pedestrian_close_to_hero_19469? ``` <?xml version="1.0" ?> <OpenSCENARIO> <FileHeader revMajor="1" revMinor="0" date="2020-03-24T12:00:00" description="CARLA:LaneChangeSimple" author=""/> <ParameterDeclarations/> <CatalogLocations/> <RoadNetwork> <LogicFile filepath="Town04"/> <SceneGraphFile filepath=""/> </RoadNetwork> <Entities> <ScenarioObject name="hero"> <Vehicle name="vehicle.tesla.model3" vehicleCategory="car"> <ParameterDeclarations/> <Performance maxSpeed="69.444" maxAcceleration="200" maxDeceleration="10.0"/> <BoundingBox> <Center x="1.5" y="0.0" z="0.9"/> <Dimensions width="2.1" length="4.5" height="1.8"/> </BoundingBox> <Axles> <FrontAxle maxSteering="0.5" wheelDiameter="0.6" trackWidth="1.8" positionX="3.1" positionZ="0.3"/> <RearAxle maxSteering="0.0" wheelDiameter="0.6" trackWidth="1.8" positionX="0.0" positionZ="0.3"/> </Axles> <Properties> <Property name="type" value="ego_vehicle"/> </Properties> </Vehicle> </ScenarioObject> <ScenarioObject name="adversary"> <Vehicle name="vehicle.lincoln.mkz_2017" vehicleCategory="car"> <ParameterDeclarations/> <Performance maxSpeed="69.444" maxAcceleration="200" maxDeceleration="10.0"/> <BoundingBox> <Center x="1.5" y="0.0" z="0.9"/> <Dimensions width="2.1" length="4.5" height="1.8"/> </BoundingBox> <Axles> <FrontAxle maxSteering="0.5" wheelDiameter="0.6" trackWidth="1.8" positionX="3.1" positionZ="0.3"/> <RearAxle maxSteering="0.0" wheelDiameter="0.6" trackWidth="1.8" positionX="0.0" positionZ="0.3"/> </Axles> <Properties> <Property name="type" value="simulation"/> </Properties> </Vehicle> </ScenarioObject> <ScenarioObject name="standing"> <Vehicle name="vehicle.volkswagen.t2" vehicleCategory="car"> <ParameterDeclarations/> <Performance maxSpeed="69.444" maxAcceleration="200" maxDeceleration="10.0"/> <BoundingBox> <Center x="1.5" y="0.0" z="0.9"/> <Dimensions width="2.1" length="4.5" height="1.8"/> </BoundingBox> <Axles> <FrontAxle maxSteering="0.5" wheelDiameter="0.6" trackWidth="1.8" positionX="3.1" positionZ="0.3"/> <RearAxle maxSteering="0.0" wheelDiameter="0.6" trackWidth="1.8" positionX="0.0" positionZ="0.3"/> </Axles> <Properties> <Property name="type" value="simulation"/> </Properties> </Vehicle> </ScenarioObject> <ScenarioObject name="pedestrian_close_to_adversary_19460"> <Pedestrian model="walker.pedestrian.0001" mass="80" name="walker.pedestrian.0001" pedestrianCategory="pedestrian"> <ParameterDeclarations/> <BoundingBox> <Center x="1.5" y="0.0" z="0.9"/> <Dimensions width="2" length="2" height="2"/> </BoundingBox> <Properties> <Property name="type" value="simulation"/> </Properties> </Pedestrian> </ScenarioObject> <ScenarioObject name="pedestrian_w_transform_19461"> <Pedestrian model="walker.pedestrian.0001" mass="80" name="walker.pedestrian.0001" pedestrianCategory="pedestrian"> <ParameterDeclarations/> <BoundingBox> <Center x="1.5" y="0.0" z="0.9"/> <Dimensions width="2" length="2" height="2"/> </BoundingBox> <Properties> <Property name="type" value="simulation"/> </Properties> </Pedestrian> </ScenarioObject> <ScenarioObject name="pedestrian_w_transform_19462"> <Pedestrian model="walker.pedestrian.0001" mass="80" name="walker.pedestrian.0001" pedestrianCategory="pedestrian"> <ParameterDeclarations/> <BoundingBox> <Center x="1.5" y="0.0" z="0.9"/> <Dimensions width="2" length="2" height="2"/> </BoundingBox> <Properties> <Property name="type" value="simulation"/> </Properties> </Pedestrian> </ScenarioObject> <ScenarioObject name="pedestrian_w_transform_19463"> <Pedestrian model="walker.pedestrian.0001" mass="80" name="walker.pedestrian.0001" pedestrianCategory="pedestrian"> <ParameterDeclarations/> <BoundingBox> <Center x="1.5" y="0.0" z="0.9"/> <Dimensions width="2" length="2" height="2"/> </BoundingBox> <Properties> <Property name="type" value="simulation"/> </Properties> </Pedestrian> </ScenarioObject> <ScenarioObject name="pedestrian_w_transform_19464"> <Pedestrian model="walker.pedestrian.0001" mass="80" name="walker.pedestrian.0001" pedestrianCategory="pedestrian"> <ParameterDeclarations/> <BoundingBox> <Center x="1.5" y="0.0" z="0.9"/> <Dimensions width="2" length="2" height="2"/> </BoundingBox> <Properties> <Property name="type" value="simulation"/> </Properties> </Pedestrian> </ScenarioObject> <ScenarioObject name="pedestrian_close_to_adversary_19467"> <Pedestrian model="walker.pedestrian.0001" mass="80" name="walker.pedestrian.0001" pedestrianCategory="pedestrian"> <ParameterDeclarations/> <BoundingBox> <Center x="1.5" y="0.0" z="0.9"/> <Dimensions width="2" length="2" height="2"/> </BoundingBox> <Properties> <Property name="type" value="simulation"/> </Properties> </Pedestrian> </ScenarioObject> <ScenarioObject name="pedestrian_w_transform_19468"> <Pedestrian model="walker.pedestrian.0001" mass="80" name="walker.pedestrian.0001" pedestrianCategory="pedestrian"> <ParameterDeclarations/> <BoundingBox> <Center x="1.5" y="0.0" z="0.9"/> <Dimensions width="2" length="2" height="2"/> </BoundingBox> <Properties> <Property name="type" value="simulation"/> </Properties> </Pedestrian> </ScenarioObject> <ScenarioObject name="pedestrian_close_to_hero_19469"> <Pedestrian model="walker.pedestrian.0001" mass="80" name="walker.pedestrian.0001" pedestrianCategory="pedestrian"> <ParameterDeclarations/> <BoundingBox> <Center x="1.5" y="0.0" z="0.9"/> <Dimensions width="2" length="2" height="2"/> </BoundingBox> <Properties> <Property name="type" value="simulation"/> </Properties> </Pedestrian> </ScenarioObject> <ScenarioObject name="pedestrian_close_to_standing_19471"> <Pedestrian model="walker.pedestrian.0001" mass="80" name="walker.pedestrian.0001" pedestrianCategory="pedestrian"> <ParameterDeclarations/> <BoundingBox> <Center x="1.5" y="0.0" z="0.9"/> <Dimensions width="2" length="2" height="2"/> </BoundingBox> <Properties> <Property name="type" value="simulation"/> </Properties> </Pedestrian> </ScenarioObject> <ScenarioObject name="pedestrian_close_to_adversary_19473"> <Pedestrian model="walker.pedestrian.0001" mass="80" name="walker.pedestrian.0001" pedestrianCategory="pedestrian"> <ParameterDeclarations/> <BoundingBox> <Center x="1.5" y="0.0" z="0.9"/> <Dimensions width="2" length="2" height="2"/> </BoundingBox> <Properties> <Property name="type" value="simulation"/> </Properties> </Pedestrian> </ScenarioObject> </Entities> <Storyboard> <Init> <Actions> <GlobalAction> <EnvironmentAction> <Environment name="Environment1"> <TimeOfDay animation="false" dateTime="2019-06-25T12:00:00"/> <Weather cloudState="free"> <Sun intensity="0.85" azimuth="0" elevation="1.31"/> <Fog visualRange="100000.0"/> <Precipitation precipitationType="dry" intensity="0.0"/> </Weather> <RoadCondition frictionScaleFactor="1.0"/> </Environment> </EnvironmentAction> </GlobalAction> <Private entityRef="hero"> <PrivateAction> <TeleportAction> <Position> <WorldPosition x="-9.4" y="-152.8" z="0.5" h="1.57079632679"/> </Position> </TeleportAction> </PrivateAction> <PrivateAction> <ControllerAction> <AssignControllerAction> <Controller name="HeroAgent"> <Properties> <Property name="module" value="external_control"/> </Properties> </Controller> </AssignControllerAction> <OverrideControllerValueAction> <Throttle value="0" active="false"/> <Brake value="0" active="false"/> <Clutch value="0" active="false"/> <ParkingBrake value="0" active="false"/> <SteeringWheel value="0" active="false"/> <Gear number="0" active="false"/> </OverrideControllerValueAction> </ControllerAction> </PrivateAction> </Private> <Private entityRef="adversary"> <PrivateAction> <TeleportAction> <Position> <WorldPosition x="-9.4" y="-71.0" z="0.5" h="1.57079632679"/> </Position> </TeleportAction> </PrivateAction> </Private> <Private entityRef="standing"> <PrivateAction> <TeleportAction> <Position> <WorldPosition x="-8.2" y="29.2" z="0.5" h="1.57079632679"/> </Position> </TeleportAction> </PrivateAction> </Private> <Private entityRef="pedestrian_close_to_adversary_19460"> <PrivateAction> <TeleportAction> <Position> <WorldPosition x="-8.63360595703125" y="-62.07155227661133" z="0.03381717577576637"/> </Position> </TeleportAction> </PrivateAction> </Private> <Private entityRef="pedestrian_w_transform_19461"> <PrivateAction> <TeleportAction> <Position> <WorldPosition x="71.62493896484375" y="41.97715759277344" z="0.5"/> </Position> </TeleportAction> </PrivateAction> </Private> <Private entityRef="pedestrian_w_transform_19462"> <PrivateAction> <TeleportAction> <Position> <WorldPosition x="23.8205509185791" y="31.197486877441406" z="0.5"/> </Position> </TeleportAction> </PrivateAction> </Private> <Private entityRef="pedestrian_w_transform_19463"> <PrivateAction> <TeleportAction> <Position> <WorldPosition x="98.65058898925781" y="37.3485221862793" z="0.5"/> </Position> </TeleportAction> </PrivateAction> </Private> <Private entityRef="pedestrian_w_transform_19464"> <PrivateAction> <TeleportAction> <Position> <WorldPosition x="61.20305633544922" y="-8.383334159851074" z="0.5"/> </Position> </TeleportAction> </PrivateAction> </Private> <Private entityRef="pedestrian_close_to_adversary_19467"> <PrivateAction> <TeleportAction> <Position> <WorldPosition x="-11.8982515335083" y="-64.25517272949219" z="0.033778343349695206"/> </Position> </TeleportAction> </PrivateAction> </Private> <Private entityRef="pedestrian_w_transform_19468"> <PrivateAction> <TeleportAction> <Position> <WorldPosition x="35.91663360595703" y="-22.92487144470215" z="0.5"/> </Position> </TeleportAction> </PrivateAction> </Private> <Private entityRef="pedestrian_close_to_hero_19469"> <PrivateAction> <TeleportAction> <Position> <WorldPosition x="-10.624651908874512" y="-153.94204711914062" z="0.0014286803780123591"/> </Position> </TeleportAction> </PrivateAction> </Private> <Private entityRef="pedestrian_close_to_standing_19471"> <PrivateAction> <TeleportAction> <Position> <WorldPosition x="-26.038421630859375" y="29.386640548706055" z="0.003123970003798604"/> </Position> </TeleportAction> </PrivateAction> </Private> <Private entityRef="pedestrian_close_to_adversary_19473"> <PrivateAction> <TeleportAction> <Position> <WorldPosition x="-17.563344955444336" y="-63.2081184387207" z="0.03378501906991005"/> </Position> </TeleportAction> </PrivateAction> </Private> </Actions> </Init> <Story name="MyStory"> <Act name="Behavior"> <ManeuverGroup maximumExecutionCount="1" name="ManeuverSequence"> <Actors selectTriggeringEntities="false"> <EntityRef entityRef="adversary"/> </Actors> <Maneuver name="LaneChangeSimpleManeuver"> <Event name="AdversaryAccelerates" priority="overwrite"> <Action name="AdversaryAccelerates"> <PrivateAction> <LongitudinalAction> <SpeedAction> <SpeedActionDynamics dynamicsShape="step" value="50" dynamicsDimension="distance"/> <SpeedActionTarget> <AbsoluteTargetSpeed value="5.0"/> </SpeedActionTarget> </SpeedAction> </LongitudinalAction> </PrivateAction> </Action> <StartTrigger> <ConditionGroup> <Condition name="StartCondition" delay="0" conditionEdge="rising"> <ByEntityCondition> <TriggeringEntities triggeringEntitiesRule="any"> <EntityRef entityRef="hero"/> </TriggeringEntities> <EntityCondition> <RelativeDistanceCondition entityRef="adversary" relativeDistanceType="cartesianDistance" value="40.0" freespace="false" rule="lessThan"/> </EntityCondition> </ByEntityCondition> </Condition> </ConditionGroup> </StartTrigger> </Event> <Event name="AdversaryChangesLane" priority="overwrite"> <Action name="AdversaryChangesLane"> <PrivateAction> <LateralAction> <LaneChangeAction> <LaneChangeActionDynamics dynamicsShape="linear" value="25" dynamicsDimension="distance"/> <LaneChangeTarget> <RelativeTargetLane entityRef="adversary" value="-1"/> </LaneChangeTarget> </LaneChangeAction> </LateralAction> </PrivateAction> </Action> <StartTrigger> <ConditionGroup> <Condition name="AfterAdversaryAccelerates" delay="0" conditionEdge="rising"> <ByValueCondition> <StoryboardElementStateCondition storyboardElementType="action" storyboardElementRef="AdversaryAccelerates" state="completeState"/> </ByValueCondition> </Condition> </ConditionGroup> </StartTrigger> </Event> </Maneuver> </ManeuverGroup> <StartTrigger> <ConditionGroup> <Condition name="OverallStartCondition" delay="0" conditionEdge="rising"> <ByEntityCondition> <TriggeringEntities triggeringEntitiesRule="any"> <EntityRef entityRef="hero"/> </TriggeringEntities> <EntityCondition> <TraveledDistanceCondition value="1.0"/> </EntityCondition> </ByEntityCondition> </Condition> <Condition name="StartTime" delay="0" conditionEdge="rising"> <ByValueCondition> <SimulationTimeCondition value="0" rule="equalTo"/> </ByValueCondition> </Condition> </ConditionGroup> </StartTrigger> <StopTrigger> <ConditionGroup> <Condition name="EndCondition" delay="0" conditionEdge="rising"> <ByEntityCondition> <TriggeringEntities triggeringEntitiesRule="any"> <EntityRef entityRef="hero"/> </TriggeringEntities> <EntityCondition> <TraveledDistanceCondition value="200.0"/> </EntityCondition> </ByEntityCondition> </Condition> </ConditionGroup> </StopTrigger> </Act> </Story> <StopTrigger> <ConditionGroup> <Condition name="criteria_RunningStopTest" delay="0" conditionEdge="rising"> <ByValueCondition> <ParameterCondition parameterRef="" value="" rule="lessThan"/> </ByValueCondition> </Condition> <Condition name="criteria_RunningRedLightTest" delay="0" conditionEdge="rising"> <ByValueCondition> <ParameterCondition parameterRef="" value="" rule="lessThan"/> </ByValueCondition> </Condition> <Condition name="criteria_WrongLaneTest" delay="0" conditionEdge="rising"> <ByValueCondition> <ParameterCondition parameterRef="" value="" rule="lessThan"/> </ByValueCondition> </Condition> <Condition name="criteria_OnSidewalkTest" delay="0" conditionEdge="rising"> <ByValueCondition> <ParameterCondition parameterRef="" value="" rule="lessThan"/> </ByValueCondition> </Condition> <Condition name="criteria_KeepLaneTest" delay="0" conditionEdge="rising"> <ByValueCondition> <ParameterCondition parameterRef="" value="" rule="lessThan"/> </ByValueCondition> </Condition> <Condition name="criteria_CollisionTest" delay="0" conditionEdge="rising"> <ByValueCondition> <ParameterCondition parameterRef="" value="" rule="lessThan"/> </ByValueCondition> </Condition> <Condition name="criteria_DrivenDistanceTest" delay="0" conditionEdge="rising"> <ByValueCondition> <ParameterCondition parameterRef="distance_success" value="100" rule="lessThan"/> </ByValueCondition> </Condition> </ConditionGroup> </StopTrigger> </Storyboard> </OpenSCENARIO> ```
Here is the result: ``` <?xml version="1.0" ?> <OpenSCENARIO> <FileHeader revMajor="1" revMinor="0" date="2020-03-24T12:00:00" description="CARLA:LaneChangeSimple" author=""/> <ParameterDeclarations/> <CatalogLocations/> <RoadNetwork> <LogicFile filepath="Town04"/> <SceneGraphFile filepath=""/> </RoadNetwork> <Entities> <ScenarioObject name="hero"> <Vehicle name="vehicle.tesla.model3" vehicleCategory="car"> <ParameterDeclarations/> <Performance maxSpeed="69.444" maxAcceleration="200" maxDeceleration="10.0"/> <BoundingBox> <Center x="1.5" y="0.0" z="0.9"/> <Dimensions width="2.1" length="4.5" height="1.8"/> </BoundingBox> <Axles> <FrontAxle maxSteering="0.5" wheelDiameter="0.6" trackWidth="1.8" positionX="3.1" positionZ="0.3"/> <RearAxle maxSteering="0.0" wheelDiameter="0.6" trackWidth="1.8" positionX="0.0" positionZ="0.3"/> </Axles> <Properties> <Property name="type" value="ego_vehicle"/> </Properties> </Vehicle> </ScenarioObject> <ScenarioObject name="adversary"> <Vehicle name="vehicle.lincoln.mkz_2017" vehicleCategory="car"> <ParameterDeclarations/> <Performance maxSpeed="69.444" maxAcceleration="200" maxDeceleration="10.0"/> <BoundingBox> <Center x="1.5" y="0.0" z="0.9"/> <Dimensions width="2.1" length="4.5" height="1.8"/> </BoundingBox> <Axles> <FrontAxle maxSteering="0.5" wheelDiameter="0.6" trackWidth="1.8" positionX="3.1" positionZ="0.3"/> <RearAxle maxSteering="0.0" wheelDiameter="0.6" trackWidth="1.8" positionX="0.0" positionZ="0.3"/> </Axles> <Properties> <Property name="type" value="simulation"/> </Properties> </Vehicle> </ScenarioObject> <ScenarioObject name="standing"> <Vehicle name="vehicle.volkswagen.t2" vehicleCategory="car"> <ParameterDeclarations/> <Performance maxSpeed="69.444" maxAcceleration="200" maxDeceleration="10.0"/> <BoundingBox> <Center x="1.5" y="0.0" z="0.9"/> <Dimensions width="2.1" length="4.5" height="1.8"/> </BoundingBox> <Axles> <FrontAxle maxSteering="0.5" wheelDiameter="0.6" trackWidth="1.8" positionX="3.1" positionZ="0.3"/> <RearAxle maxSteering="0.0" wheelDiameter="0.6" trackWidth="1.8" positionX="0.0" positionZ="0.3"/> </Axles> <Properties> <Property name="type" value="simulation"/> </Properties> </Vehicle> </ScenarioObject> <ScenarioObject name="pedestrian_close_to_adversary_19460"> <Pedestrian model="walker.pedestrian.0001" mass="80" name="walker.pedestrian.0001" pedestrianCategory="pedestrian"> <ParameterDeclarations/> <BoundingBox> <Center x="1.5" y="0.0" z="0.9"/> <Dimensions width="2" length="2" height="2"/> </BoundingBox> <Properties> <Property name="type" value="simulation"/> </Properties> </Pedestrian> </ScenarioObject> <ScenarioObject name="pedestrian_w_transform_19461"> <Pedestrian model="walker.pedestrian.0001" mass="80" name="walker.pedestrian.0001" pedestrianCategory="pedestrian"> <ParameterDeclarations/> <BoundingBox> <Center x="1.5" y="0.0" z="0.9"/> <Dimensions width="2" length="2" height="2"/> </BoundingBox> <Properties> <Property name="type" value="simulation"/> </Properties> </Pedestrian> </ScenarioObject> <ScenarioObject name="pedestrian_w_transform_19462"> <Pedestrian model="walker.pedestrian.0001" mass="80" name="walker.pedestrian.0001" pedestrianCategory="pedestrian"> <ParameterDeclarations/> <BoundingBox> <Center x="1.5" y="0.0" z="0.9"/> <Dimensions width="2" length="2" height="2"/> </BoundingBox> <Properties> <Property name="type" value="simulation"/> </Properties> </Pedestrian> </ScenarioObject> <ScenarioObject name="pedestrian_w_transform_19463"> <Pedestrian model="walker.pedestrian.0001" mass="80" name="walker.pedestrian.0001" pedestrianCategory="pedestrian"> <ParameterDeclarations/> <BoundingBox> <Center x="1.5" y="0.0" z="0.9"/> <Dimensions width="2" length="2" height="2"/> </BoundingBox> <Properties> <Property name="type" value="simulation"/> </Properties> </Pedestrian> </ScenarioObject> <ScenarioObject name="pedestrian_w_transform_19464"> <Pedestrian model="walker.pedestrian.0001" mass="80" name="walker.pedestrian.0001" pedestrianCategory="pedestrian"> <ParameterDeclarations/> <BoundingBox> <Center x="1.5" y="0.0" z="0.9"/> <Dimensions width="2" length="2" height="2"/> </BoundingBox> <Properties> <Property name="type" value="simulation"/> </Properties> </Pedestrian> </ScenarioObject> <ScenarioObject name="pedestrian_close_to_adversary_19467"> <Pedestrian model="walker.pedestrian.0001" mass="80" name="walker.pedestrian.0001" pedestrianCategory="pedestrian"> <ParameterDeclarations/> <BoundingBox> <Center x="1.5" y="0.0" z="0.9"/> <Dimensions width="2" length="2" height="2"/> </BoundingBox> <Properties> <Property name="type" value="simulation"/> </Properties> </Pedestrian> </ScenarioObject> <ScenarioObject name="pedestrian_w_transform_19468"> <Pedestrian model="walker.pedestrian.0001" mass="80" name="walker.pedestrian.0001" pedestrianCategory="pedestrian"> <ParameterDeclarations/> <BoundingBox> <Center x="1.5" y="0.0" z="0.9"/> <Dimensions width="2" length="2" height="2"/> </BoundingBox> <Properties> <Property name="type" value="simulation"/> </Properties> </Pedestrian> </ScenarioObject> <ScenarioObject name="pedestrian_close_to_standing_19471"> <Pedestrian model="walker.pedestrian.0001" mass="80" name="walker.pedestrian.0001" pedestrianCategory="pedestrian"> <ParameterDeclarations/> <BoundingBox> <Center x="1.5" y="0.0" z="0.9"/> <Dimensions width="2" length="2" height="2"/> </BoundingBox> <Properties> <Property name="type" value="simulation"/> </Properties> </Pedestrian> </ScenarioObject> <ScenarioObject name="pedestrian_close_to_adversary_19473"> <Pedestrian model="walker.pedestrian.0001" mass="80" name="walker.pedestrian.0001" pedestrianCategory="pedestrian"> <ParameterDeclarations/> <BoundingBox> <Center x="1.5" y="0.0" z="0.9"/> <Dimensions width="2" length="2" height="2"/> </BoundingBox> <Properties> <Property name="type" value="simulation"/> </Properties> </Pedestrian> </ScenarioObject> </Entities> <Storyboard> <Init> <Actions> <GlobalAction> <EnvironmentAction> <Environment name="Environment1"> <TimeOfDay animation="false" dateTime="2019-06-25T12:00:00"/> <Weather cloudState="free"> <Sun intensity="0.85" azimuth="0" elevation="1.31"/> <Fog visualRange="100000.0"/> <Precipitation precipitationType="dry" intensity="0.0"/> </Weather> <RoadCondition frictionScaleFactor="1.0"/> </Environment> </EnvironmentAction> </GlobalAction> <Private entityRef="hero"> <PrivateAction> <TeleportAction> <Position> <WorldPosition x="-9.4" y="-152.8" z="0.5" h="1.57079632679"/> </Position> </TeleportAction> </PrivateAction> <PrivateAction> <ControllerAction> <AssignControllerAction> <Controller name="HeroAgent"> <Properties> <Property name="module" value="external_control"/> </Properties> </Controller> </AssignControllerAction> <OverrideControllerValueAction> <Throttle value="0" active="false"/> <Brake value="0" active="false"/> <Clutch value="0" active="false"/> <ParkingBrake value="0" active="false"/> <SteeringWheel value="0" active="false"/> <Gear number="0" active="false"/> </OverrideControllerValueAction> </ControllerAction> </PrivateAction> </Private> <Private entityRef="adversary"> <PrivateAction> <TeleportAction> <Position> <WorldPosition x="-9.4" y="-71.0" z="0.5" h="1.57079632679"/> </Position> </TeleportAction> </PrivateAction> </Private> <Private entityRef="standing"> <PrivateAction> <TeleportAction> <Position> <WorldPosition x="-8.2" y="29.2" z="0.5" h="1.57079632679"/> </Position> </TeleportAction> </PrivateAction> </Private> <Private entityRef="pedestrian_close_to_adversary_19460"> <PrivateAction> <TeleportAction> <Position> <WorldPosition x="-8.63360595703125" y="-62.07155227661133" z="0.03381717577576637"/> </Position> </TeleportAction> </PrivateAction> </Private> <Private entityRef="pedestrian_w_transform_19461"> <PrivateAction> <TeleportAction> <Position> <WorldPosition x="71.62493896484375" y="41.97715759277344" z="0.5"/> </Position> </TeleportAction> </PrivateAction> </Private> <Private entityRef="pedestrian_w_transform_19462"> <PrivateAction> <TeleportAction> <Position> <WorldPosition x="23.8205509185791" y="31.197486877441406" z="0.5"/> </Position> </TeleportAction> </PrivateAction> </Private> <Private entityRef="pedestrian_w_transform_19463"> <PrivateAction> <TeleportAction> <Position> <WorldPosition x="98.65058898925781" y="37.3485221862793" z="0.5"/> </Position> </TeleportAction> </PrivateAction> </Private> <Private entityRef="pedestrian_w_transform_19464"> <PrivateAction> <TeleportAction> <Position> <WorldPosition x="61.20305633544922" y="-8.383334159851074" z="0.5"/> </Position> </TeleportAction> </PrivateAction> </Private> <Private entityRef="pedestrian_close_to_adversary_19467"> <PrivateAction> <TeleportAction> <Position> <WorldPosition x="-11.8982515335083" y="-64.25517272949219" z="0.033778343349695206"/> </Position> </TeleportAction> </PrivateAction> </Private> <Private entityRef="pedestrian_w_transform_19468"> <PrivateAction> <TeleportAction> <Position> <WorldPosition x="35.91663360595703" y="-22.92487144470215" z="0.5"/> </Position> </TeleportAction> </PrivateAction> </Private> <Private entityRef="pedestrian_close_to_standing_19471"> <PrivateAction> <TeleportAction> <Position> <WorldPosition x="-26.038421630859375" y="29.386640548706055" z="0.003123970003798604"/> </Position> </TeleportAction> </PrivateAction> </Private> <Private entityRef="pedestrian_close_to_adversary_19473"> <PrivateAction> <TeleportAction> <Position> <WorldPosition x="-17.563344955444336" y="-63.2081184387207" z="0.03378501906991005"/> </Position> </TeleportAction> </PrivateAction> </Private> </Actions> </Init> <Story name="MyStory"> <Act name="Behavior"> <ManeuverGroup maximumExecutionCount="1" name="ManeuverSequence"> <Actors selectTriggeringEntities="false"> <EntityRef entityRef="adversary"/> </Actors> <Maneuver name="LaneChangeSimpleManeuver"> <Event name="AdversaryAccelerates" priority="overwrite"> <Action name="AdversaryAccelerates"> <PrivateAction> <LongitudinalAction> <SpeedAction> <SpeedActionDynamics dynamicsShape="step" value="50" dynamicsDimension="distance"/> <SpeedActionTarget> <AbsoluteTargetSpeed value="5.0"/> </SpeedActionTarget> </SpeedAction> </LongitudinalAction> </PrivateAction> </Action> <StartTrigger> <ConditionGroup> <Condition name="StartCondition" delay="0" conditionEdge="rising"> <ByEntityCondition> <TriggeringEntities triggeringEntitiesRule="any"> <EntityRef entityRef="hero"/> </TriggeringEntities> <EntityCondition> <RelativeDistanceCondition entityRef="adversary" relativeDistanceType="cartesianDistance" value="40.0" freespace="false" rule="lessThan"/> </EntityCondition> </ByEntityCondition> </Condition> </ConditionGroup> </StartTrigger> </Event> <Event name="AdversaryChangesLane" priority="overwrite"> <Action name="AdversaryChangesLane"> <PrivateAction> <LateralAction> <LaneChangeAction> <LaneChangeActionDynamics dynamicsShape="linear" value="25" dynamicsDimension="distance"/> <LaneChangeTarget> <RelativeTargetLane entityRef="adversary" value="-1"/> </LaneChangeTarget> </LaneChangeAction> </LateralAction> </PrivateAction> </Action> <StartTrigger> <ConditionGroup> <Condition name="AfterAdversaryAccelerates" delay="0" conditionEdge="rising"> <ByValueCondition> <StoryboardElementStateCondition storyboardElementType="action" storyboardElementRef="AdversaryAccelerates" state="completeState"/> </ByValueCondition> </Condition> </ConditionGroup> </StartTrigger> </Event> </Maneuver> </ManeuverGroup> <StartTrigger> <ConditionGroup> <Condition name="OverallStartCondition" delay="0" conditionEdge="rising"> <ByEntityCondition> <TriggeringEntities triggeringEntitiesRule="any"> <EntityRef entityRef="hero"/> </TriggeringEntities> <EntityCondition> <TraveledDistanceCondition value="1.0"/> </EntityCondition> </ByEntityCondition> </Condition> <Condition name="StartTime" delay="0" conditionEdge="rising"> <ByValueCondition> <SimulationTimeCondition value="0" rule="equalTo"/> </ByValueCondition> </Condition> </ConditionGroup> </StartTrigger> <StopTrigger> <ConditionGroup> <Condition name="EndCondition" delay="0" conditionEdge="rising"> <ByEntityCondition> <TriggeringEntities triggeringEntitiesRule="any"> <EntityRef entityRef="hero"/> </TriggeringEntities> <EntityCondition> <TraveledDistanceCondition value="200.0"/> </EntityCondition> </ByEntityCondition> </Condition> </ConditionGroup> </StopTrigger> </Act> </Story> <StopTrigger> <ConditionGroup> <Condition name="criteria_RunningStopTest" delay="0" conditionEdge="rising"> <ByValueCondition> <ParameterCondition parameterRef="" value="" rule="lessThan"/> </ByValueCondition> </Condition> <Condition name="criteria_RunningRedLightTest" delay="0" conditionEdge="rising"> <ByValueCondition> <ParameterCondition parameterRef="" value="" rule="lessThan"/> </ByValueCondition> </Condition> <Condition name="criteria_WrongLaneTest" delay="0" conditionEdge="rising"> <ByValueCondition> <ParameterCondition parameterRef="" value="" rule="lessThan"/> </ByValueCondition> </Condition> <Condition name="criteria_OnSidewalkTest" delay="0" conditionEdge="rising"> <ByValueCondition> <ParameterCondition parameterRef="" value="" rule="lessThan"/> </ByValueCondition> </Condition> <Condition name="criteria_KeepLaneTest" delay="0" conditionEdge="rising"> <ByValueCondition> <ParameterCondition parameterRef="" value="" rule="lessThan"/> </ByValueCondition> </Condition> <Condition name="criteria_CollisionTest" delay="0" conditionEdge="rising"> <ByValueCondition> <ParameterCondition parameterRef="" value="" rule="lessThan"/> </ByValueCondition> </Condition> <Condition name="criteria_DrivenDistanceTest" delay="0" conditionEdge="rising"> <ByValueCondition> <ParameterCondition parameterRef="distance_success" value="100" rule="lessThan"/> </ByValueCondition> </Condition> </ConditionGroup> </StopTrigger> </Storyboard> </OpenSCENARIO> ```
i would like to ask you to add pedestrian close to adversary? ``` <?xml version="1.0" ?> <OpenSCENARIO> <FileHeader revMajor="1" revMinor="0" date="2020-03-24T12:00:00" description="CARLA:LaneChangeSimple" author=""/> <ParameterDeclarations/> <CatalogLocations/> <RoadNetwork> <LogicFile filepath="Town04"/> <SceneGraphFile filepath=""/> </RoadNetwork> <Entities> <ScenarioObject name="hero"> <Vehicle name="vehicle.tesla.model3" vehicleCategory="car"> <ParameterDeclarations/> <Performance maxSpeed="69.444" maxAcceleration="200" maxDeceleration="10.0"/> <BoundingBox> <Center x="1.5" y="0.0" z="0.9"/> <Dimensions width="2.1" length="4.5" height="1.8"/> </BoundingBox> <Axles> <FrontAxle maxSteering="0.5" wheelDiameter="0.6" trackWidth="1.8" positionX="3.1" positionZ="0.3"/> <RearAxle maxSteering="0.0" wheelDiameter="0.6" trackWidth="1.8" positionX="0.0" positionZ="0.3"/> </Axles> <Properties> <Property name="type" value="ego_vehicle"/> </Properties> </Vehicle> </ScenarioObject> <ScenarioObject name="adversary"> <Vehicle name="vehicle.lincoln.mkz_2017" vehicleCategory="car"> <ParameterDeclarations/> <Performance maxSpeed="69.444" maxAcceleration="200" maxDeceleration="10.0"/> <BoundingBox> <Center x="1.5" y="0.0" z="0.9"/> <Dimensions width="2.1" length="4.5" height="1.8"/> </BoundingBox> <Axles> <FrontAxle maxSteering="0.5" wheelDiameter="0.6" trackWidth="1.8" positionX="3.1" positionZ="0.3"/> <RearAxle maxSteering="0.0" wheelDiameter="0.6" trackWidth="1.8" positionX="0.0" positionZ="0.3"/> </Axles> <Properties> <Property name="type" value="simulation"/> </Properties> </Vehicle> </ScenarioObject> <ScenarioObject name="standing"> <Vehicle name="vehicle.volkswagen.t2" vehicleCategory="car"> <ParameterDeclarations/> <Performance maxSpeed="69.444" maxAcceleration="200" maxDeceleration="10.0"/> <BoundingBox> <Center x="1.5" y="0.0" z="0.9"/> <Dimensions width="2.1" length="4.5" height="1.8"/> </BoundingBox> <Axles> <FrontAxle maxSteering="0.5" wheelDiameter="0.6" trackWidth="1.8" positionX="3.1" positionZ="0.3"/> <RearAxle maxSteering="0.0" wheelDiameter="0.6" trackWidth="1.8" positionX="0.0" positionZ="0.3"/> </Axles> <Properties> <Property name="type" value="simulation"/> </Properties> </Vehicle> </ScenarioObject> <ScenarioObject name="pedestrian_close_to_adversary_347"> <Pedestrian model="walker.pedestrian.0001" mass="80" name="walker.pedestrian.0001" pedestrianCategory="pedestrian"> <ParameterDeclarations/> <BoundingBox> <Center x="1.5" y="0.0" z="0.9"/> <Dimensions width="2" length="2" height="2"/> </BoundingBox> <Properties> <Property name="type" value="simulation"/> </Properties> </Pedestrian> </ScenarioObject> <ScenarioObject name="pedestrian_w_transform_348"> <Pedestrian model="walker.pedestrian.0001" mass="80" name="walker.pedestrian.0001" pedestrianCategory="pedestrian"> <ParameterDeclarations/> <BoundingBox> <Center x="1.5" y="0.0" z="0.9"/> <Dimensions width="2" length="2" height="2"/> </BoundingBox> <Properties> <Property name="type" value="simulation"/> </Properties> </Pedestrian> </ScenarioObject> <ScenarioObject name="pedestrian_close_to_hero_349"> <Pedestrian model="walker.pedestrian.0001" mass="80" name="walker.pedestrian.0001" pedestrianCategory="pedestrian"> <ParameterDeclarations/> <BoundingBox> <Center x="1.5" y="0.0" z="0.9"/> <Dimensions width="2" length="2" height="2"/> </BoundingBox> <Properties> <Property name="type" value="simulation"/> </Properties> </Pedestrian> </ScenarioObject> <ScenarioObject name="pedestrian_w_transform_350"> <Pedestrian model="walker.pedestrian.0001" mass="80" name="walker.pedestrian.0001" pedestrianCategory="pedestrian"> <ParameterDeclarations/> <BoundingBox> <Center x="1.5" y="0.0" z="0.9"/> <Dimensions width="2" length="2" height="2"/> </BoundingBox> <Properties> <Property name="type" value="simulation"/> </Properties> </Pedestrian> </ScenarioObject> </Entities> <Storyboard> <Init> <Actions> <GlobalAction> <EnvironmentAction> <Environment name="Environment1"> <TimeOfDay animation="false" dateTime="2019-06-25T12:00:00"/> <Weather cloudState="free"> <Sun intensity="0.85" azimuth="0" elevation="1.31"/> <Fog visualRange="100000.0"/> <Precipitation precipitationType="dry" intensity="0.0"/> </Weather> <RoadCondition frictionScaleFactor="1.0"/> </Environment> </EnvironmentAction> </GlobalAction> <Private entityRef="hero"> <PrivateAction> <TeleportAction> <Position> <WorldPosition x="-9.4" y="-152.8" z="0.5" h="1.57079632679"/> </Position> </TeleportAction> </PrivateAction> <PrivateAction> <ControllerAction> <AssignControllerAction> <Controller name="HeroAgent"> <Properties> <Property name="module" value="external_control"/> </Properties> </Controller> </AssignControllerAction> <OverrideControllerValueAction> <Throttle value="0" active="false"/> <Brake value="0" active="false"/> <Clutch value="0" active="false"/> <ParkingBrake value="0" active="false"/> <SteeringWheel value="0" active="false"/> <Gear number="0" active="false"/> </OverrideControllerValueAction> </ControllerAction> </PrivateAction> </Private> <Private entityRef="adversary"> <PrivateAction> <TeleportAction> <Position> <WorldPosition x="-9.4" y="-71.0" z="0.5" h="1.57079632679"/> </Position> </TeleportAction> </PrivateAction> </Private> <Private entityRef="standing"> <PrivateAction> <TeleportAction> <Position> <WorldPosition x="-8.2" y="29.2" z="0.5" h="1.57079632679"/> </Position> </TeleportAction> </PrivateAction> </Private> <Private entityRef="pedestrian_close_to_adversary_347"> <PrivateAction> <TeleportAction> <Position> <WorldPosition x="5.077051162719727" y="-59.13444519042969" z="0.03372783586382866"/> </Position> </TeleportAction> </PrivateAction> </Private> <Private entityRef="pedestrian_w_transform_348"> <PrivateAction> <TeleportAction> <Position> <WorldPosition x="-7.999308109283447" y="-17.076641082763672" z="0.5"/> </Position> </TeleportAction> </PrivateAction> </Private> <Private entityRef="pedestrian_close_to_hero_349"> <PrivateAction> <TeleportAction> <Position> <WorldPosition x="-2.0710887908935547" y="-153.88063049316406" z="0.0014286803780123591"/> </Position> </TeleportAction> </PrivateAction> </Private> <Private entityRef="pedestrian_w_transform_350"> <PrivateAction> <TeleportAction> <Position> <WorldPosition x="24.438072204589844" y="47.96884536743164" z="0.5"/> </Position> </TeleportAction> </PrivateAction> </Private> </Actions> </Init> <Story name="MyStory"> <Act name="Behavior"> <ManeuverGroup maximumExecutionCount="1" name="ManeuverSequence"> <Actors selectTriggeringEntities="false"> <EntityRef entityRef="adversary"/> </Actors> <Maneuver name="LaneChangeSimpleManeuver"> <Event name="AdversaryAccelerates" priority="overwrite"> <Action name="AdversaryAccelerates"> <PrivateAction> <LongitudinalAction> <SpeedAction> <SpeedActionDynamics dynamicsShape="step" value="50" dynamicsDimension="distance"/> <SpeedActionTarget> <AbsoluteTargetSpeed value="5.0"/> </SpeedActionTarget> </SpeedAction> </LongitudinalAction> </PrivateAction> </Action> <StartTrigger> <ConditionGroup> <Condition name="StartCondition" delay="0" conditionEdge="rising"> <ByEntityCondition> <TriggeringEntities triggeringEntitiesRule="any"> <EntityRef entityRef="hero"/> </TriggeringEntities> <EntityCondition> <RelativeDistanceCondition entityRef="adversary" relativeDistanceType="cartesianDistance" value="40.0" freespace="false" rule="lessThan"/> </EntityCondition> </ByEntityCondition> </Condition> </ConditionGroup> </StartTrigger> </Event> <Event name="AdversaryChangesLane" priority="overwrite"> <Action name="AdversaryChangesLane"> <PrivateAction> <LateralAction> <LaneChangeAction> <LaneChangeActionDynamics dynamicsShape="linear" value="25" dynamicsDimension="distance"/> <LaneChangeTarget> <RelativeTargetLane entityRef="adversary" value="-1"/> </LaneChangeTarget> </LaneChangeAction> </LateralAction> </PrivateAction> </Action> <StartTrigger> <ConditionGroup> <Condition name="AfterAdversaryAccelerates" delay="0" conditionEdge="rising"> <ByValueCondition> <StoryboardElementStateCondition storyboardElementType="action" storyboardElementRef="AdversaryAccelerates" state="completeState"/> </ByValueCondition> </Condition> </ConditionGroup> </StartTrigger> </Event> </Maneuver> </ManeuverGroup> <StartTrigger> <ConditionGroup> <Condition name="OverallStartCondition" delay="0" conditionEdge="rising"> <ByEntityCondition> <TriggeringEntities triggeringEntitiesRule="any"> <EntityRef entityRef="hero"/> </TriggeringEntities> <EntityCondition> <TraveledDistanceCondition value="1.0"/> </EntityCondition> </ByEntityCondition> </Condition> <Condition name="StartTime" delay="0" conditionEdge="rising"> <ByValueCondition> <SimulationTimeCondition value="0" rule="equalTo"/> </ByValueCondition> </Condition> </ConditionGroup> </StartTrigger> <StopTrigger> <ConditionGroup> <Condition name="EndCondition" delay="0" conditionEdge="rising"> <ByEntityCondition> <TriggeringEntities triggeringEntitiesRule="any"> <EntityRef entityRef="hero"/> </TriggeringEntities> <EntityCondition> <TraveledDistanceCondition value="200.0"/> </EntityCondition> </ByEntityCondition> </Condition> </ConditionGroup> </StopTrigger> </Act> </Story> <StopTrigger> <ConditionGroup> <Condition name="criteria_RunningStopTest" delay="0" conditionEdge="rising"> <ByValueCondition> <ParameterCondition parameterRef="" value="" rule="lessThan"/> </ByValueCondition> </Condition> <Condition name="criteria_RunningRedLightTest" delay="0" conditionEdge="rising"> <ByValueCondition> <ParameterCondition parameterRef="" value="" rule="lessThan"/> </ByValueCondition> </Condition> <Condition name="criteria_WrongLaneTest" delay="0" conditionEdge="rising"> <ByValueCondition> <ParameterCondition parameterRef="" value="" rule="lessThan"/> </ByValueCondition> </Condition> <Condition name="criteria_OnSidewalkTest" delay="0" conditionEdge="rising"> <ByValueCondition> <ParameterCondition parameterRef="" value="" rule="lessThan"/> </ByValueCondition> </Condition> <Condition name="criteria_KeepLaneTest" delay="0" conditionEdge="rising"> <ByValueCondition> <ParameterCondition parameterRef="" value="" rule="lessThan"/> </ByValueCondition> </Condition> <Condition name="criteria_CollisionTest" delay="0" conditionEdge="rising"> <ByValueCondition> <ParameterCondition parameterRef="" value="" rule="lessThan"/> </ByValueCondition> </Condition> <Condition name="criteria_DrivenDistanceTest" delay="0" conditionEdge="rising"> <ByValueCondition> <ParameterCondition parameterRef="distance_success" value="100" rule="lessThan"/> </ByValueCondition> </Condition> </ConditionGroup> </StopTrigger> </Storyboard> </OpenSCENARIO> ```
Here is the result: ``` <?xml version="1.0" ?> <OpenSCENARIO> <FileHeader revMajor="1" revMinor="0" date="2020-03-24T12:00:00" description="CARLA:LaneChangeSimple" author=""/> <ParameterDeclarations/> <CatalogLocations/> <RoadNetwork> <LogicFile filepath="Town04"/> <SceneGraphFile filepath=""/> </RoadNetwork> <Entities> <ScenarioObject name="hero"> <Vehicle name="vehicle.tesla.model3" vehicleCategory="car"> <ParameterDeclarations/> <Performance maxSpeed="69.444" maxAcceleration="200" maxDeceleration="10.0"/> <BoundingBox> <Center x="1.5" y="0.0" z="0.9"/> <Dimensions width="2.1" length="4.5" height="1.8"/> </BoundingBox> <Axles> <FrontAxle maxSteering="0.5" wheelDiameter="0.6" trackWidth="1.8" positionX="3.1" positionZ="0.3"/> <RearAxle maxSteering="0.0" wheelDiameter="0.6" trackWidth="1.8" positionX="0.0" positionZ="0.3"/> </Axles> <Properties> <Property name="type" value="ego_vehicle"/> </Properties> </Vehicle> </ScenarioObject> <ScenarioObject name="adversary"> <Vehicle name="vehicle.lincoln.mkz_2017" vehicleCategory="car"> <ParameterDeclarations/> <Performance maxSpeed="69.444" maxAcceleration="200" maxDeceleration="10.0"/> <BoundingBox> <Center x="1.5" y="0.0" z="0.9"/> <Dimensions width="2.1" length="4.5" height="1.8"/> </BoundingBox> <Axles> <FrontAxle maxSteering="0.5" wheelDiameter="0.6" trackWidth="1.8" positionX="3.1" positionZ="0.3"/> <RearAxle maxSteering="0.0" wheelDiameter="0.6" trackWidth="1.8" positionX="0.0" positionZ="0.3"/> </Axles> <Properties> <Property name="type" value="simulation"/> </Properties> </Vehicle> </ScenarioObject> <ScenarioObject name="standing"> <Vehicle name="vehicle.volkswagen.t2" vehicleCategory="car"> <ParameterDeclarations/> <Performance maxSpeed="69.444" maxAcceleration="200" maxDeceleration="10.0"/> <BoundingBox> <Center x="1.5" y="0.0" z="0.9"/> <Dimensions width="2.1" length="4.5" height="1.8"/> </BoundingBox> <Axles> <FrontAxle maxSteering="0.5" wheelDiameter="0.6" trackWidth="1.8" positionX="3.1" positionZ="0.3"/> <RearAxle maxSteering="0.0" wheelDiameter="0.6" trackWidth="1.8" positionX="0.0" positionZ="0.3"/> </Axles> <Properties> <Property name="type" value="simulation"/> </Properties> </Vehicle> </ScenarioObject> <ScenarioObject name="pedestrian_close_to_adversary_347"> <Pedestrian model="walker.pedestrian.0001" mass="80" name="walker.pedestrian.0001" pedestrianCategory="pedestrian"> <ParameterDeclarations/> <BoundingBox> <Center x="1.5" y="0.0" z="0.9"/> <Dimensions width="2" length="2" height="2"/> </BoundingBox> <Properties> <Property name="type" value="simulation"/> </Properties> </Pedestrian> </ScenarioObject> <ScenarioObject name="pedestrian_w_transform_348"> <Pedestrian model="walker.pedestrian.0001" mass="80" name="walker.pedestrian.0001" pedestrianCategory="pedestrian"> <ParameterDeclarations/> <BoundingBox> <Center x="1.5" y="0.0" z="0.9"/> <Dimensions width="2" length="2" height="2"/> </BoundingBox> <Properties> <Property name="type" value="simulation"/> </Properties> </Pedestrian> </ScenarioObject> <ScenarioObject name="pedestrian_close_to_hero_349"> <Pedestrian model="walker.pedestrian.0001" mass="80" name="walker.pedestrian.0001" pedestrianCategory="pedestrian"> <ParameterDeclarations/> <BoundingBox> <Center x="1.5" y="0.0" z="0.9"/> <Dimensions width="2" length="2" height="2"/> </BoundingBox> <Properties> <Property name="type" value="simulation"/> </Properties> </Pedestrian> </ScenarioObject> <ScenarioObject name="pedestrian_w_transform_350"> <Pedestrian model="walker.pedestrian.0001" mass="80" name="walker.pedestrian.0001" pedestrianCategory="pedestrian"> <ParameterDeclarations/> <BoundingBox> <Center x="1.5" y="0.0" z="0.9"/> <Dimensions width="2" length="2" height="2"/> </BoundingBox> <Properties> <Property name="type" value="simulation"/> </Properties> </Pedestrian> </ScenarioObject> <ScenarioObject name="pedestrian_close_to_adversary_351"> <Pedestrian model="walker.pedestrian.0001" mass="80" name="walker.pedestrian.0001" pedestrianCategory="pedestrian"> <ParameterDeclarations/> <BoundingBox> <Center x="1.5" y="0.0" z="0.9"/> <Dimensions width="2" length="2" height="2"/> </BoundingBox> <Properties> <Property name="type" value="simulation"/> </Properties> </Pedestrian> </ScenarioObject> </Entities> <Storyboard> <Init> <Actions> <GlobalAction> <EnvironmentAction> <Environment name="Environment1"> <TimeOfDay animation="false" dateTime="2019-06-25T12:00:00"/> <Weather cloudState="free"> <Sun intensity="0.85" azimuth="0" elevation="1.31"/> <Fog visualRange="100000.0"/> <Precipitation precipitationType="dry" intensity="0.0"/> </Weather> <RoadCondition frictionScaleFactor="1.0"/> </Environment> </EnvironmentAction> </GlobalAction> <Private entityRef="hero"> <PrivateAction> <TeleportAction> <Position> <WorldPosition x="-9.4" y="-152.8" z="0.5" h="1.57079632679"/> </Position> </TeleportAction> </PrivateAction> <PrivateAction> <ControllerAction> <AssignControllerAction> <Controller name="HeroAgent"> <Properties> <Property name="module" value="external_control"/> </Properties> </Controller> </AssignControllerAction> <OverrideControllerValueAction> <Throttle value="0" active="false"/> <Brake value="0" active="false"/> <Clutch value="0" active="false"/> <ParkingBrake value="0" active="false"/> <SteeringWheel value="0" active="false"/> <Gear number="0" active="false"/> </OverrideControllerValueAction> </ControllerAction> </PrivateAction> </Private> <Private entityRef="adversary"> <PrivateAction> <TeleportAction> <Position> <WorldPosition x="-9.4" y="-71.0" z="0.5" h="1.57079632679"/> </Position> </TeleportAction> </PrivateAction> </Private> <Private entityRef="standing"> <PrivateAction> <TeleportAction> <Position> <WorldPosition x="-8.2" y="29.2" z="0.5" h="1.57079632679"/> </Position> </TeleportAction> </PrivateAction> </Private> <Private entityRef="pedestrian_close_to_adversary_347"> <PrivateAction> <TeleportAction> <Position> <WorldPosition x="5.077051162719727" y="-59.13444519042969" z="0.03372783586382866"/> </Position> </TeleportAction> </PrivateAction> </Private> <Private entityRef="pedestrian_w_transform_348"> <PrivateAction> <TeleportAction> <Position> <WorldPosition x="-7.999308109283447" y="-17.076641082763672" z="0.5"/> </Position> </TeleportAction> </PrivateAction> </Private> <Private entityRef="pedestrian_close_to_hero_349"> <PrivateAction> <TeleportAction> <Position> <WorldPosition x="-2.0710887908935547" y="-153.88063049316406" z="0.0014286803780123591"/> </Position> </TeleportAction> </PrivateAction> </Private> <Private entityRef="pedestrian_w_transform_350"> <PrivateAction> <TeleportAction> <Position> <WorldPosition x="24.438072204589844" y="47.96884536743164" z="0.5"/> </Position> </TeleportAction> </PrivateAction> </Private> <Private entityRef="pedestrian_close_to_adversary_351"> <PrivateAction> <TeleportAction> <Position> <WorldPosition x="-16.094274520874023" y="-80.99275207519531" z="0.03372131288051605"/> </Position> </TeleportAction> </PrivateAction> </Private> </Actions> </Init> <Story name="MyStory"> <Act name="Behavior"> <ManeuverGroup maximumExecutionCount="1" name="ManeuverSequence"> <Actors selectTriggeringEntities="false"> <EntityRef entityRef="adversary"/> </Actors> <Maneuver name="LaneChangeSimpleManeuver"> <Event name="AdversaryAccelerates" priority="overwrite"> <Action name="AdversaryAccelerates"> <PrivateAction> <LongitudinalAction> <SpeedAction> <SpeedActionDynamics dynamicsShape="step" value="50" dynamicsDimension="distance"/> <SpeedActionTarget> <AbsoluteTargetSpeed value="5.0"/> </SpeedActionTarget> </SpeedAction> </LongitudinalAction> </PrivateAction> </Action> <StartTrigger> <ConditionGroup> <Condition name="StartCondition" delay="0" conditionEdge="rising"> <ByEntityCondition> <TriggeringEntities triggeringEntitiesRule="any"> <EntityRef entityRef="hero"/> </TriggeringEntities> <EntityCondition> <RelativeDistanceCondition entityRef="adversary" relativeDistanceType="cartesianDistance" value="40.0" freespace="false" rule="lessThan"/> </EntityCondition> </ByEntityCondition> </Condition> </ConditionGroup> </StartTrigger> </Event> <Event name="AdversaryChangesLane" priority="overwrite"> <Action name="AdversaryChangesLane"> <PrivateAction> <LateralAction> <LaneChangeAction> <LaneChangeActionDynamics dynamicsShape="linear" value="25" dynamicsDimension="distance"/> <LaneChangeTarget> <RelativeTargetLane entityRef="adversary" value="-1"/> </LaneChangeTarget> </LaneChangeAction> </LateralAction> </PrivateAction> </Action> <StartTrigger> <ConditionGroup> <Condition name="AfterAdversaryAccelerates" delay="0" conditionEdge="rising"> <ByValueCondition> <StoryboardElementStateCondition storyboardElementType="action" storyboardElementRef="AdversaryAccelerates" state="completeState"/> </ByValueCondition> </Condition> </ConditionGroup> </StartTrigger> </Event> </Maneuver> </ManeuverGroup> <StartTrigger> <ConditionGroup> <Condition name="OverallStartCondition" delay="0" conditionEdge="rising"> <ByEntityCondition> <TriggeringEntities triggeringEntitiesRule="any"> <EntityRef entityRef="hero"/> </TriggeringEntities> <EntityCondition> <TraveledDistanceCondition value="1.0"/> </EntityCondition> </ByEntityCondition> </Condition> <Condition name="StartTime" delay="0" conditionEdge="rising"> <ByValueCondition> <SimulationTimeCondition value="0" rule="equalTo"/> </ByValueCondition> </Condition> </ConditionGroup> </StartTrigger> <StopTrigger> <ConditionGroup> <Condition name="EndCondition" delay="0" conditionEdge="rising"> <ByEntityCondition> <TriggeringEntities triggeringEntitiesRule="any"> <EntityRef entityRef="hero"/> </TriggeringEntities> <EntityCondition> <TraveledDistanceCondition value="200.0"/> </EntityCondition> </ByEntityCondition> </Condition> </ConditionGroup> </StopTrigger> </Act> </Story> <StopTrigger> <ConditionGroup> <Condition name="criteria_RunningStopTest" delay="0" conditionEdge="rising"> <ByValueCondition> <ParameterCondition parameterRef="" value="" rule="lessThan"/> </ByValueCondition> </Condition> <Condition name="criteria_RunningRedLightTest" delay="0" conditionEdge="rising"> <ByValueCondition> <ParameterCondition parameterRef="" value="" rule="lessThan"/> </ByValueCondition> </Condition> <Condition name="criteria_WrongLaneTest" delay="0" conditionEdge="rising"> <ByValueCondition> <ParameterCondition parameterRef="" value="" rule="lessThan"/> </ByValueCondition> </Condition> <Condition name="criteria_OnSidewalkTest" delay="0" conditionEdge="rising"> <ByValueCondition> <ParameterCondition parameterRef="" value="" rule="lessThan"/> </ByValueCondition> </Condition> <Condition name="criteria_KeepLaneTest" delay="0" conditionEdge="rising"> <ByValueCondition> <ParameterCondition parameterRef="" value="" rule="lessThan"/> </ByValueCondition> </Condition> <Condition name="criteria_CollisionTest" delay="0" conditionEdge="rising"> <ByValueCondition> <ParameterCondition parameterRef="" value="" rule="lessThan"/> </ByValueCondition> </Condition> <Condition name="criteria_DrivenDistanceTest" delay="0" conditionEdge="rising"> <ByValueCondition> <ParameterCondition parameterRef="distance_success" value="100" rule="lessThan"/> </ByValueCondition> </Condition> </ConditionGroup> </StopTrigger> </Storyboard> </OpenSCENARIO> ```
i would like to guide you to add pedestrian close to standing? ``` <?xml version="1.0" ?> <OpenSCENARIO> <FileHeader revMajor="1" revMinor="0" date="2020-03-24T12:00:00" description="CARLA:LaneChangeSimple" author=""/> <ParameterDeclarations/> <CatalogLocations/> <RoadNetwork> <LogicFile filepath="Town04"/> <SceneGraphFile filepath=""/> </RoadNetwork> <Entities> <ScenarioObject name="hero"> <Vehicle name="vehicle.tesla.model3" vehicleCategory="car"> <ParameterDeclarations/> <Performance maxSpeed="69.444" maxAcceleration="200" maxDeceleration="10.0"/> <BoundingBox> <Center x="1.5" y="0.0" z="0.9"/> <Dimensions width="2.1" length="4.5" height="1.8"/> </BoundingBox> <Axles> <FrontAxle maxSteering="0.5" wheelDiameter="0.6" trackWidth="1.8" positionX="3.1" positionZ="0.3"/> <RearAxle maxSteering="0.0" wheelDiameter="0.6" trackWidth="1.8" positionX="0.0" positionZ="0.3"/> </Axles> <Properties> <Property name="type" value="ego_vehicle"/> </Properties> </Vehicle> </ScenarioObject> <ScenarioObject name="adversary"> <Vehicle name="vehicle.lincoln.mkz_2017" vehicleCategory="car"> <ParameterDeclarations/> <Performance maxSpeed="69.444" maxAcceleration="200" maxDeceleration="10.0"/> <BoundingBox> <Center x="1.5" y="0.0" z="0.9"/> <Dimensions width="2.1" length="4.5" height="1.8"/> </BoundingBox> <Axles> <FrontAxle maxSteering="0.5" wheelDiameter="0.6" trackWidth="1.8" positionX="3.1" positionZ="0.3"/> <RearAxle maxSteering="0.0" wheelDiameter="0.6" trackWidth="1.8" positionX="0.0" positionZ="0.3"/> </Axles> <Properties> <Property name="type" value="simulation"/> </Properties> </Vehicle> </ScenarioObject> <ScenarioObject name="standing"> <Vehicle name="vehicle.volkswagen.t2" vehicleCategory="car"> <ParameterDeclarations/> <Performance maxSpeed="69.444" maxAcceleration="200" maxDeceleration="10.0"/> <BoundingBox> <Center x="1.5" y="0.0" z="0.9"/> <Dimensions width="2.1" length="4.5" height="1.8"/> </BoundingBox> <Axles> <FrontAxle maxSteering="0.5" wheelDiameter="0.6" trackWidth="1.8" positionX="3.1" positionZ="0.3"/> <RearAxle maxSteering="0.0" wheelDiameter="0.6" trackWidth="1.8" positionX="0.0" positionZ="0.3"/> </Axles> <Properties> <Property name="type" value="simulation"/> </Properties> </Vehicle> </ScenarioObject> <ScenarioObject name="pedestrian_close_to_standing_14822"> <Pedestrian model="walker.pedestrian.0001" mass="80" name="walker.pedestrian.0001" pedestrianCategory="pedestrian"> <ParameterDeclarations/> <BoundingBox> <Center x="1.5" y="0.0" z="0.9"/> <Dimensions width="2" length="2" height="2"/> </BoundingBox> <Properties> <Property name="type" value="simulation"/> </Properties> </Pedestrian> </ScenarioObject> </Entities> <Storyboard> <Init> <Actions> <GlobalAction> <EnvironmentAction> <Environment name="Environment1"> <TimeOfDay animation="false" dateTime="2019-06-25T12:00:00"/> <Weather cloudState="free"> <Sun intensity="0.85" azimuth="0" elevation="1.31"/> <Fog visualRange="100000.0"/> <Precipitation precipitationType="dry" intensity="0.0"/> </Weather> <RoadCondition frictionScaleFactor="1.0"/> </Environment> </EnvironmentAction> </GlobalAction> <Private entityRef="hero"> <PrivateAction> <TeleportAction> <Position> <WorldPosition x="-9.4" y="-152.8" z="0.5" h="1.57079632679"/> </Position> </TeleportAction> </PrivateAction> <PrivateAction> <ControllerAction> <AssignControllerAction> <Controller name="HeroAgent"> <Properties> <Property name="module" value="external_control"/> </Properties> </Controller> </AssignControllerAction> <OverrideControllerValueAction> <Throttle value="0" active="false"/> <Brake value="0" active="false"/> <Clutch value="0" active="false"/> <ParkingBrake value="0" active="false"/> <SteeringWheel value="0" active="false"/> <Gear number="0" active="false"/> </OverrideControllerValueAction> </ControllerAction> </PrivateAction> </Private> <Private entityRef="adversary"> <PrivateAction> <TeleportAction> <Position> <WorldPosition x="-9.4" y="-71.0" z="0.5" h="1.57079632679"/> </Position> </TeleportAction> </PrivateAction> </Private> <Private entityRef="standing"> <PrivateAction> <TeleportAction> <Position> <WorldPosition x="-8.2" y="29.2" z="0.5" h="1.57079632679"/> </Position> </TeleportAction> </PrivateAction> </Private> <Private entityRef="pedestrian_close_to_standing_14822"> <PrivateAction> <TeleportAction> <Position> <WorldPosition x="-11.223481178283691" y="35.31746292114258" z="0.0030401991680264473"/> </Position> </TeleportAction> </PrivateAction> </Private> </Actions> </Init> <Story name="MyStory"> <Act name="Behavior"> <ManeuverGroup maximumExecutionCount="1" name="ManeuverSequence"> <Actors selectTriggeringEntities="false"> <EntityRef entityRef="adversary"/> </Actors> <Maneuver name="LaneChangeSimpleManeuver"> <Event name="AdversaryAccelerates" priority="overwrite"> <Action name="AdversaryAccelerates"> <PrivateAction> <LongitudinalAction> <SpeedAction> <SpeedActionDynamics dynamicsShape="step" value="50" dynamicsDimension="distance"/> <SpeedActionTarget> <AbsoluteTargetSpeed value="5.0"/> </SpeedActionTarget> </SpeedAction> </LongitudinalAction> </PrivateAction> </Action> <StartTrigger> <ConditionGroup> <Condition name="StartCondition" delay="0" conditionEdge="rising"> <ByEntityCondition> <TriggeringEntities triggeringEntitiesRule="any"> <EntityRef entityRef="hero"/> </TriggeringEntities> <EntityCondition> <RelativeDistanceCondition entityRef="adversary" relativeDistanceType="cartesianDistance" value="40.0" freespace="false" rule="lessThan"/> </EntityCondition> </ByEntityCondition> </Condition> </ConditionGroup> </StartTrigger> </Event> <Event name="AdversaryChangesLane" priority="overwrite"> <Action name="AdversaryChangesLane"> <PrivateAction> <LateralAction> <LaneChangeAction> <LaneChangeActionDynamics dynamicsShape="linear" value="25" dynamicsDimension="distance"/> <LaneChangeTarget> <RelativeTargetLane entityRef="adversary" value="-1"/> </LaneChangeTarget> </LaneChangeAction> </LateralAction> </PrivateAction> </Action> <StartTrigger> <ConditionGroup> <Condition name="AfterAdversaryAccelerates" delay="0" conditionEdge="rising"> <ByValueCondition> <StoryboardElementStateCondition storyboardElementType="action" storyboardElementRef="AdversaryAccelerates" state="completeState"/> </ByValueCondition> </Condition> </ConditionGroup> </StartTrigger> </Event> </Maneuver> </ManeuverGroup> <StartTrigger> <ConditionGroup> <Condition name="OverallStartCondition" delay="0" conditionEdge="rising"> <ByEntityCondition> <TriggeringEntities triggeringEntitiesRule="any"> <EntityRef entityRef="hero"/> </TriggeringEntities> <EntityCondition> <TraveledDistanceCondition value="1.0"/> </EntityCondition> </ByEntityCondition> </Condition> <Condition name="StartTime" delay="0" conditionEdge="rising"> <ByValueCondition> <SimulationTimeCondition value="0" rule="equalTo"/> </ByValueCondition> </Condition> </ConditionGroup> </StartTrigger> <StopTrigger> <ConditionGroup> <Condition name="EndCondition" delay="0" conditionEdge="rising"> <ByEntityCondition> <TriggeringEntities triggeringEntitiesRule="any"> <EntityRef entityRef="hero"/> </TriggeringEntities> <EntityCondition> <TraveledDistanceCondition value="200.0"/> </EntityCondition> </ByEntityCondition> </Condition> </ConditionGroup> </StopTrigger> </Act> </Story> <StopTrigger> <ConditionGroup> <Condition name="criteria_RunningStopTest" delay="0" conditionEdge="rising"> <ByValueCondition> <ParameterCondition parameterRef="" value="" rule="lessThan"/> </ByValueCondition> </Condition> <Condition name="criteria_RunningRedLightTest" delay="0" conditionEdge="rising"> <ByValueCondition> <ParameterCondition parameterRef="" value="" rule="lessThan"/> </ByValueCondition> </Condition> <Condition name="criteria_WrongLaneTest" delay="0" conditionEdge="rising"> <ByValueCondition> <ParameterCondition parameterRef="" value="" rule="lessThan"/> </ByValueCondition> </Condition> <Condition name="criteria_OnSidewalkTest" delay="0" conditionEdge="rising"> <ByValueCondition> <ParameterCondition parameterRef="" value="" rule="lessThan"/> </ByValueCondition> </Condition> <Condition name="criteria_KeepLaneTest" delay="0" conditionEdge="rising"> <ByValueCondition> <ParameterCondition parameterRef="" value="" rule="lessThan"/> </ByValueCondition> </Condition> <Condition name="criteria_CollisionTest" delay="0" conditionEdge="rising"> <ByValueCondition> <ParameterCondition parameterRef="" value="" rule="lessThan"/> </ByValueCondition> </Condition> <Condition name="criteria_DrivenDistanceTest" delay="0" conditionEdge="rising"> <ByValueCondition> <ParameterCondition parameterRef="distance_success" value="100" rule="lessThan"/> </ByValueCondition> </Condition> </ConditionGroup> </StopTrigger> </Storyboard> </OpenSCENARIO> ```
Here is the result: ``` <?xml version="1.0" ?> <OpenSCENARIO> <FileHeader revMajor="1" revMinor="0" date="2020-03-24T12:00:00" description="CARLA:LaneChangeSimple" author=""/> <ParameterDeclarations/> <CatalogLocations/> <RoadNetwork> <LogicFile filepath="Town04"/> <SceneGraphFile filepath=""/> </RoadNetwork> <Entities> <ScenarioObject name="hero"> <Vehicle name="vehicle.tesla.model3" vehicleCategory="car"> <ParameterDeclarations/> <Performance maxSpeed="69.444" maxAcceleration="200" maxDeceleration="10.0"/> <BoundingBox> <Center x="1.5" y="0.0" z="0.9"/> <Dimensions width="2.1" length="4.5" height="1.8"/> </BoundingBox> <Axles> <FrontAxle maxSteering="0.5" wheelDiameter="0.6" trackWidth="1.8" positionX="3.1" positionZ="0.3"/> <RearAxle maxSteering="0.0" wheelDiameter="0.6" trackWidth="1.8" positionX="0.0" positionZ="0.3"/> </Axles> <Properties> <Property name="type" value="ego_vehicle"/> </Properties> </Vehicle> </ScenarioObject> <ScenarioObject name="adversary"> <Vehicle name="vehicle.lincoln.mkz_2017" vehicleCategory="car"> <ParameterDeclarations/> <Performance maxSpeed="69.444" maxAcceleration="200" maxDeceleration="10.0"/> <BoundingBox> <Center x="1.5" y="0.0" z="0.9"/> <Dimensions width="2.1" length="4.5" height="1.8"/> </BoundingBox> <Axles> <FrontAxle maxSteering="0.5" wheelDiameter="0.6" trackWidth="1.8" positionX="3.1" positionZ="0.3"/> <RearAxle maxSteering="0.0" wheelDiameter="0.6" trackWidth="1.8" positionX="0.0" positionZ="0.3"/> </Axles> <Properties> <Property name="type" value="simulation"/> </Properties> </Vehicle> </ScenarioObject> <ScenarioObject name="standing"> <Vehicle name="vehicle.volkswagen.t2" vehicleCategory="car"> <ParameterDeclarations/> <Performance maxSpeed="69.444" maxAcceleration="200" maxDeceleration="10.0"/> <BoundingBox> <Center x="1.5" y="0.0" z="0.9"/> <Dimensions width="2.1" length="4.5" height="1.8"/> </BoundingBox> <Axles> <FrontAxle maxSteering="0.5" wheelDiameter="0.6" trackWidth="1.8" positionX="3.1" positionZ="0.3"/> <RearAxle maxSteering="0.0" wheelDiameter="0.6" trackWidth="1.8" positionX="0.0" positionZ="0.3"/> </Axles> <Properties> <Property name="type" value="simulation"/> </Properties> </Vehicle> </ScenarioObject> <ScenarioObject name="pedestrian_close_to_standing_14822"> <Pedestrian model="walker.pedestrian.0001" mass="80" name="walker.pedestrian.0001" pedestrianCategory="pedestrian"> <ParameterDeclarations/> <BoundingBox> <Center x="1.5" y="0.0" z="0.9"/> <Dimensions width="2" length="2" height="2"/> </BoundingBox> <Properties> <Property name="type" value="simulation"/> </Properties> </Pedestrian> </ScenarioObject> <ScenarioObject name="pedestrian_close_to_standing_14823"> <Pedestrian model="walker.pedestrian.0001" mass="80" name="walker.pedestrian.0001" pedestrianCategory="pedestrian"> <ParameterDeclarations/> <BoundingBox> <Center x="1.5" y="0.0" z="0.9"/> <Dimensions width="2" length="2" height="2"/> </BoundingBox> <Properties> <Property name="type" value="simulation"/> </Properties> </Pedestrian> </ScenarioObject> </Entities> <Storyboard> <Init> <Actions> <GlobalAction> <EnvironmentAction> <Environment name="Environment1"> <TimeOfDay animation="false" dateTime="2019-06-25T12:00:00"/> <Weather cloudState="free"> <Sun intensity="0.85" azimuth="0" elevation="1.31"/> <Fog visualRange="100000.0"/> <Precipitation precipitationType="dry" intensity="0.0"/> </Weather> <RoadCondition frictionScaleFactor="1.0"/> </Environment> </EnvironmentAction> </GlobalAction> <Private entityRef="hero"> <PrivateAction> <TeleportAction> <Position> <WorldPosition x="-9.4" y="-152.8" z="0.5" h="1.57079632679"/> </Position> </TeleportAction> </PrivateAction> <PrivateAction> <ControllerAction> <AssignControllerAction> <Controller name="HeroAgent"> <Properties> <Property name="module" value="external_control"/> </Properties> </Controller> </AssignControllerAction> <OverrideControllerValueAction> <Throttle value="0" active="false"/> <Brake value="0" active="false"/> <Clutch value="0" active="false"/> <ParkingBrake value="0" active="false"/> <SteeringWheel value="0" active="false"/> <Gear number="0" active="false"/> </OverrideControllerValueAction> </ControllerAction> </PrivateAction> </Private> <Private entityRef="adversary"> <PrivateAction> <TeleportAction> <Position> <WorldPosition x="-9.4" y="-71.0" z="0.5" h="1.57079632679"/> </Position> </TeleportAction> </PrivateAction> </Private> <Private entityRef="standing"> <PrivateAction> <TeleportAction> <Position> <WorldPosition x="-8.2" y="29.2" z="0.5" h="1.57079632679"/> </Position> </TeleportAction> </PrivateAction> </Private> <Private entityRef="pedestrian_close_to_standing_14822"> <PrivateAction> <TeleportAction> <Position> <WorldPosition x="-11.223481178283691" y="35.31746292114258" z="0.0030401991680264473"/> </Position> </TeleportAction> </PrivateAction> </Private> <Private entityRef="pedestrian_close_to_standing_14823"> <PrivateAction> <TeleportAction> <Position> <WorldPosition x="-15.823346138000488" y="27.536014556884766" z="0.003048858605325222"/> </Position> </TeleportAction> </PrivateAction> </Private> </Actions> </Init> <Story name="MyStory"> <Act name="Behavior"> <ManeuverGroup maximumExecutionCount="1" name="ManeuverSequence"> <Actors selectTriggeringEntities="false"> <EntityRef entityRef="adversary"/> </Actors> <Maneuver name="LaneChangeSimpleManeuver"> <Event name="AdversaryAccelerates" priority="overwrite"> <Action name="AdversaryAccelerates"> <PrivateAction> <LongitudinalAction> <SpeedAction> <SpeedActionDynamics dynamicsShape="step" value="50" dynamicsDimension="distance"/> <SpeedActionTarget> <AbsoluteTargetSpeed value="5.0"/> </SpeedActionTarget> </SpeedAction> </LongitudinalAction> </PrivateAction> </Action> <StartTrigger> <ConditionGroup> <Condition name="StartCondition" delay="0" conditionEdge="rising"> <ByEntityCondition> <TriggeringEntities triggeringEntitiesRule="any"> <EntityRef entityRef="hero"/> </TriggeringEntities> <EntityCondition> <RelativeDistanceCondition entityRef="adversary" relativeDistanceType="cartesianDistance" value="40.0" freespace="false" rule="lessThan"/> </EntityCondition> </ByEntityCondition> </Condition> </ConditionGroup> </StartTrigger> </Event> <Event name="AdversaryChangesLane" priority="overwrite"> <Action name="AdversaryChangesLane"> <PrivateAction> <LateralAction> <LaneChangeAction> <LaneChangeActionDynamics dynamicsShape="linear" value="25" dynamicsDimension="distance"/> <LaneChangeTarget> <RelativeTargetLane entityRef="adversary" value="-1"/> </LaneChangeTarget> </LaneChangeAction> </LateralAction> </PrivateAction> </Action> <StartTrigger> <ConditionGroup> <Condition name="AfterAdversaryAccelerates" delay="0" conditionEdge="rising"> <ByValueCondition> <StoryboardElementStateCondition storyboardElementType="action" storyboardElementRef="AdversaryAccelerates" state="completeState"/> </ByValueCondition> </Condition> </ConditionGroup> </StartTrigger> </Event> </Maneuver> </ManeuverGroup> <StartTrigger> <ConditionGroup> <Condition name="OverallStartCondition" delay="0" conditionEdge="rising"> <ByEntityCondition> <TriggeringEntities triggeringEntitiesRule="any"> <EntityRef entityRef="hero"/> </TriggeringEntities> <EntityCondition> <TraveledDistanceCondition value="1.0"/> </EntityCondition> </ByEntityCondition> </Condition> <Condition name="StartTime" delay="0" conditionEdge="rising"> <ByValueCondition> <SimulationTimeCondition value="0" rule="equalTo"/> </ByValueCondition> </Condition> </ConditionGroup> </StartTrigger> <StopTrigger> <ConditionGroup> <Condition name="EndCondition" delay="0" conditionEdge="rising"> <ByEntityCondition> <TriggeringEntities triggeringEntitiesRule="any"> <EntityRef entityRef="hero"/> </TriggeringEntities> <EntityCondition> <TraveledDistanceCondition value="200.0"/> </EntityCondition> </ByEntityCondition> </Condition> </ConditionGroup> </StopTrigger> </Act> </Story> <StopTrigger> <ConditionGroup> <Condition name="criteria_RunningStopTest" delay="0" conditionEdge="rising"> <ByValueCondition> <ParameterCondition parameterRef="" value="" rule="lessThan"/> </ByValueCondition> </Condition> <Condition name="criteria_RunningRedLightTest" delay="0" conditionEdge="rising"> <ByValueCondition> <ParameterCondition parameterRef="" value="" rule="lessThan"/> </ByValueCondition> </Condition> <Condition name="criteria_WrongLaneTest" delay="0" conditionEdge="rising"> <ByValueCondition> <ParameterCondition parameterRef="" value="" rule="lessThan"/> </ByValueCondition> </Condition> <Condition name="criteria_OnSidewalkTest" delay="0" conditionEdge="rising"> <ByValueCondition> <ParameterCondition parameterRef="" value="" rule="lessThan"/> </ByValueCondition> </Condition> <Condition name="criteria_KeepLaneTest" delay="0" conditionEdge="rising"> <ByValueCondition> <ParameterCondition parameterRef="" value="" rule="lessThan"/> </ByValueCondition> </Condition> <Condition name="criteria_CollisionTest" delay="0" conditionEdge="rising"> <ByValueCondition> <ParameterCondition parameterRef="" value="" rule="lessThan"/> </ByValueCondition> </Condition> <Condition name="criteria_DrivenDistanceTest" delay="0" conditionEdge="rising"> <ByValueCondition> <ParameterCondition parameterRef="distance_success" value="100" rule="lessThan"/> </ByValueCondition> </Condition> </ConditionGroup> </StopTrigger> </Storyboard> </OpenSCENARIO> ```
i would like you to demonstrate add pedestrian at location (10.03, 88.57, 0.5)? ``` <?xml version="1.0" ?> <OpenSCENARIO> <FileHeader revMajor="1" revMinor="0" date="2020-03-24T12:00:00" description="CARLA:LaneChangeSimple" author=""/> <ParameterDeclarations/> <CatalogLocations/> <RoadNetwork> <LogicFile filepath="Town04"/> <SceneGraphFile filepath=""/> </RoadNetwork> <Entities> <ScenarioObject name="hero"> <Vehicle name="vehicle.tesla.model3" vehicleCategory="car"> <ParameterDeclarations/> <Performance maxSpeed="69.444" maxAcceleration="200" maxDeceleration="10.0"/> <BoundingBox> <Center x="1.5" y="0.0" z="0.9"/> <Dimensions width="2.1" length="4.5" height="1.8"/> </BoundingBox> <Axles> <FrontAxle maxSteering="0.5" wheelDiameter="0.6" trackWidth="1.8" positionX="3.1" positionZ="0.3"/> <RearAxle maxSteering="0.0" wheelDiameter="0.6" trackWidth="1.8" positionX="0.0" positionZ="0.3"/> </Axles> <Properties> <Property name="type" value="ego_vehicle"/> </Properties> </Vehicle> </ScenarioObject> <ScenarioObject name="adversary"> <Vehicle name="vehicle.lincoln.mkz_2017" vehicleCategory="car"> <ParameterDeclarations/> <Performance maxSpeed="69.444" maxAcceleration="200" maxDeceleration="10.0"/> <BoundingBox> <Center x="1.5" y="0.0" z="0.9"/> <Dimensions width="2.1" length="4.5" height="1.8"/> </BoundingBox> <Axles> <FrontAxle maxSteering="0.5" wheelDiameter="0.6" trackWidth="1.8" positionX="3.1" positionZ="0.3"/> <RearAxle maxSteering="0.0" wheelDiameter="0.6" trackWidth="1.8" positionX="0.0" positionZ="0.3"/> </Axles> <Properties> <Property name="type" value="simulation"/> </Properties> </Vehicle> </ScenarioObject> <ScenarioObject name="standing"> <Vehicle name="vehicle.volkswagen.t2" vehicleCategory="car"> <ParameterDeclarations/> <Performance maxSpeed="69.444" maxAcceleration="200" maxDeceleration="10.0"/> <BoundingBox> <Center x="1.5" y="0.0" z="0.9"/> <Dimensions width="2.1" length="4.5" height="1.8"/> </BoundingBox> <Axles> <FrontAxle maxSteering="0.5" wheelDiameter="0.6" trackWidth="1.8" positionX="3.1" positionZ="0.3"/> <RearAxle maxSteering="0.0" wheelDiameter="0.6" trackWidth="1.8" positionX="0.0" positionZ="0.3"/> </Axles> <Properties> <Property name="type" value="simulation"/> </Properties> </Vehicle> </ScenarioObject> <ScenarioObject name="pedestrian_close_to_standing_22052"> <Pedestrian model="walker.pedestrian.0001" mass="80" name="walker.pedestrian.0001" pedestrianCategory="pedestrian"> <ParameterDeclarations/> <BoundingBox> <Center x="1.5" y="0.0" z="0.9"/> <Dimensions width="2" length="2" height="2"/> </BoundingBox> <Properties> <Property name="type" value="simulation"/> </Properties> </Pedestrian> </ScenarioObject> <ScenarioObject name="pedestrian_close_to_standing_22053"> <Pedestrian model="walker.pedestrian.0001" mass="80" name="walker.pedestrian.0001" pedestrianCategory="pedestrian"> <ParameterDeclarations/> <BoundingBox> <Center x="1.5" y="0.0" z="0.9"/> <Dimensions width="2" length="2" height="2"/> </BoundingBox> <Properties> <Property name="type" value="simulation"/> </Properties> </Pedestrian> </ScenarioObject> <ScenarioObject name="pedestrian_close_to_standing_22054"> <Pedestrian model="walker.pedestrian.0001" mass="80" name="walker.pedestrian.0001" pedestrianCategory="pedestrian"> <ParameterDeclarations/> <BoundingBox> <Center x="1.5" y="0.0" z="0.9"/> <Dimensions width="2" length="2" height="2"/> </BoundingBox> <Properties> <Property name="type" value="simulation"/> </Properties> </Pedestrian> </ScenarioObject> <ScenarioObject name="pedestrian_w_transform_22055"> <Pedestrian model="walker.pedestrian.0001" mass="80" name="walker.pedestrian.0001" pedestrianCategory="pedestrian"> <ParameterDeclarations/> <BoundingBox> <Center x="1.5" y="0.0" z="0.9"/> <Dimensions width="2" length="2" height="2"/> </BoundingBox> <Properties> <Property name="type" value="simulation"/> </Properties> </Pedestrian> </ScenarioObject> <ScenarioObject name="pedestrian_close_to_adversary_22056"> <Pedestrian model="walker.pedestrian.0001" mass="80" name="walker.pedestrian.0001" pedestrianCategory="pedestrian"> <ParameterDeclarations/> <BoundingBox> <Center x="1.5" y="0.0" z="0.9"/> <Dimensions width="2" length="2" height="2"/> </BoundingBox> <Properties> <Property name="type" value="simulation"/> </Properties> </Pedestrian> </ScenarioObject> <ScenarioObject name="pedestrian_w_transform_22057"> <Pedestrian model="walker.pedestrian.0001" mass="80" name="walker.pedestrian.0001" pedestrianCategory="pedestrian"> <ParameterDeclarations/> <BoundingBox> <Center x="1.5" y="0.0" z="0.9"/> <Dimensions width="2" length="2" height="2"/> </BoundingBox> <Properties> <Property name="type" value="simulation"/> </Properties> </Pedestrian> </ScenarioObject> <ScenarioObject name="pedestrian_close_to_adversary_22058"> <Pedestrian model="walker.pedestrian.0001" mass="80" name="walker.pedestrian.0001" pedestrianCategory="pedestrian"> <ParameterDeclarations/> <BoundingBox> <Center x="1.5" y="0.0" z="0.9"/> <Dimensions width="2" length="2" height="2"/> </BoundingBox> <Properties> <Property name="type" value="simulation"/> </Properties> </Pedestrian> </ScenarioObject> <ScenarioObject name="pedestrian_close_to_hero_22059"> <Pedestrian model="walker.pedestrian.0001" mass="80" name="walker.pedestrian.0001" pedestrianCategory="pedestrian"> <ParameterDeclarations/> <BoundingBox> <Center x="1.5" y="0.0" z="0.9"/> <Dimensions width="2" length="2" height="2"/> </BoundingBox> <Properties> <Property name="type" value="simulation"/> </Properties> </Pedestrian> </ScenarioObject> </Entities> <Storyboard> <Init> <Actions> <GlobalAction> <EnvironmentAction> <Environment name="Environment1"> <TimeOfDay animation="false" dateTime="2019-06-25T12:00:00"/> <Weather cloudState="free"> <Sun intensity="0.85" azimuth="0" elevation="1.31"/> <Fog visualRange="100000.0"/> <Precipitation precipitationType="dry" intensity="0.0"/> </Weather> <RoadCondition frictionScaleFactor="1.0"/> </Environment> </EnvironmentAction> </GlobalAction> <Private entityRef="hero"> <PrivateAction> <TeleportAction> <Position> <WorldPosition x="-9.4" y="-152.8" z="0.5" h="1.57079632679"/> </Position> </TeleportAction> </PrivateAction> <PrivateAction> <ControllerAction> <AssignControllerAction> <Controller name="HeroAgent"> <Properties> <Property name="module" value="external_control"/> </Properties> </Controller> </AssignControllerAction> <OverrideControllerValueAction> <Throttle value="0" active="false"/> <Brake value="0" active="false"/> <Clutch value="0" active="false"/> <ParkingBrake value="0" active="false"/> <SteeringWheel value="0" active="false"/> <Gear number="0" active="false"/> </OverrideControllerValueAction> </ControllerAction> </PrivateAction> </Private> <Private entityRef="adversary"> <PrivateAction> <TeleportAction> <Position> <WorldPosition x="-9.4" y="-71.0" z="0.5" h="1.57079632679"/> </Position> </TeleportAction> </PrivateAction> </Private> <Private entityRef="standing"> <PrivateAction> <TeleportAction> <Position> <WorldPosition x="-8.2" y="29.2" z="0.5" h="1.57079632679"/> </Position> </TeleportAction> </PrivateAction> </Private> <Private entityRef="pedestrian_close_to_standing_22052"> <PrivateAction> <TeleportAction> <Position> <WorldPosition x="-10.85645580291748" y="21.46086311340332" z="0.0030669784173369408"/> </Position> </TeleportAction> </PrivateAction> </Private> <Private entityRef="pedestrian_close_to_standing_22053"> <PrivateAction> <TeleportAction> <Position> <WorldPosition x="-12.64905071258545" y="34.55118942260742" z="0.0030791854951530695"/> </Position> </TeleportAction> </PrivateAction> </Private> <Private entityRef="pedestrian_close_to_standing_22054"> <PrivateAction> <TeleportAction> <Position> <WorldPosition x="-7.929396152496338" y="26.60228157043457" z="0.003028068458661437"/> </Position> </TeleportAction> </PrivateAction> </Private> <Private entityRef="pedestrian_w_transform_22055"> <PrivateAction> <TeleportAction> <Position> <WorldPosition x="38.16815185546875" y="-33.898475646972656" z="0.5"/> </Position> </TeleportAction> </PrivateAction> </Private> <Private entityRef="pedestrian_close_to_adversary_22056"> <PrivateAction> <TeleportAction> <Position> <WorldPosition x="-1.2495101690292358" y="-63.34553146362305" z="0.03381690755486488"/> </Position> </TeleportAction> </PrivateAction> </Private> <Private entityRef="pedestrian_w_transform_22057"> <PrivateAction> <TeleportAction> <Position> <WorldPosition x="-73.77165222167969" y="27.65558433532715" z="0.5"/> </Position> </TeleportAction> </PrivateAction> </Private> <Private entityRef="pedestrian_close_to_adversary_22058"> <PrivateAction> <TeleportAction> <Position> <WorldPosition x="-20.085952758789062" y="-78.1651382446289" z="0.033809125423431396"/> </Position> </TeleportAction> </PrivateAction> </Private> <Private entityRef="pedestrian_close_to_hero_22059"> <PrivateAction> <TeleportAction> <Position> <WorldPosition x="-12.818329811096191" y="-170.29248046875" z="0.0014286803780123591"/> </Position> </TeleportAction> </PrivateAction> </Private> </Actions> </Init> <Story name="MyStory"> <Act name="Behavior"> <ManeuverGroup maximumExecutionCount="1" name="ManeuverSequence"> <Actors selectTriggeringEntities="false"> <EntityRef entityRef="adversary"/> </Actors> <Maneuver name="LaneChangeSimpleManeuver"> <Event name="AdversaryAccelerates" priority="overwrite"> <Action name="AdversaryAccelerates"> <PrivateAction> <LongitudinalAction> <SpeedAction> <SpeedActionDynamics dynamicsShape="step" value="50" dynamicsDimension="distance"/> <SpeedActionTarget> <AbsoluteTargetSpeed value="5.0"/> </SpeedActionTarget> </SpeedAction> </LongitudinalAction> </PrivateAction> </Action> <StartTrigger> <ConditionGroup> <Condition name="StartCondition" delay="0" conditionEdge="rising"> <ByEntityCondition> <TriggeringEntities triggeringEntitiesRule="any"> <EntityRef entityRef="hero"/> </TriggeringEntities> <EntityCondition> <RelativeDistanceCondition entityRef="adversary" relativeDistanceType="cartesianDistance" value="40.0" freespace="false" rule="lessThan"/> </EntityCondition> </ByEntityCondition> </Condition> </ConditionGroup> </StartTrigger> </Event> <Event name="AdversaryChangesLane" priority="overwrite"> <Action name="AdversaryChangesLane"> <PrivateAction> <LateralAction> <LaneChangeAction> <LaneChangeActionDynamics dynamicsShape="linear" value="25" dynamicsDimension="distance"/> <LaneChangeTarget> <RelativeTargetLane entityRef="adversary" value="-1"/> </LaneChangeTarget> </LaneChangeAction> </LateralAction> </PrivateAction> </Action> <StartTrigger> <ConditionGroup> <Condition name="AfterAdversaryAccelerates" delay="0" conditionEdge="rising"> <ByValueCondition> <StoryboardElementStateCondition storyboardElementType="action" storyboardElementRef="AdversaryAccelerates" state="completeState"/> </ByValueCondition> </Condition> </ConditionGroup> </StartTrigger> </Event> </Maneuver> </ManeuverGroup> <StartTrigger> <ConditionGroup> <Condition name="OverallStartCondition" delay="0" conditionEdge="rising"> <ByEntityCondition> <TriggeringEntities triggeringEntitiesRule="any"> <EntityRef entityRef="hero"/> </TriggeringEntities> <EntityCondition> <TraveledDistanceCondition value="1.0"/> </EntityCondition> </ByEntityCondition> </Condition> <Condition name="StartTime" delay="0" conditionEdge="rising"> <ByValueCondition> <SimulationTimeCondition value="0" rule="equalTo"/> </ByValueCondition> </Condition> </ConditionGroup> </StartTrigger> <StopTrigger> <ConditionGroup> <Condition name="EndCondition" delay="0" conditionEdge="rising"> <ByEntityCondition> <TriggeringEntities triggeringEntitiesRule="any"> <EntityRef entityRef="hero"/> </TriggeringEntities> <EntityCondition> <TraveledDistanceCondition value="200.0"/> </EntityCondition> </ByEntityCondition> </Condition> </ConditionGroup> </StopTrigger> </Act> </Story> <StopTrigger> <ConditionGroup> <Condition name="criteria_RunningStopTest" delay="0" conditionEdge="rising"> <ByValueCondition> <ParameterCondition parameterRef="" value="" rule="lessThan"/> </ByValueCondition> </Condition> <Condition name="criteria_RunningRedLightTest" delay="0" conditionEdge="rising"> <ByValueCondition> <ParameterCondition parameterRef="" value="" rule="lessThan"/> </ByValueCondition> </Condition> <Condition name="criteria_WrongLaneTest" delay="0" conditionEdge="rising"> <ByValueCondition> <ParameterCondition parameterRef="" value="" rule="lessThan"/> </ByValueCondition> </Condition> <Condition name="criteria_OnSidewalkTest" delay="0" conditionEdge="rising"> <ByValueCondition> <ParameterCondition parameterRef="" value="" rule="lessThan"/> </ByValueCondition> </Condition> <Condition name="criteria_KeepLaneTest" delay="0" conditionEdge="rising"> <ByValueCondition> <ParameterCondition parameterRef="" value="" rule="lessThan"/> </ByValueCondition> </Condition> <Condition name="criteria_CollisionTest" delay="0" conditionEdge="rising"> <ByValueCondition> <ParameterCondition parameterRef="" value="" rule="lessThan"/> </ByValueCondition> </Condition> <Condition name="criteria_DrivenDistanceTest" delay="0" conditionEdge="rising"> <ByValueCondition> <ParameterCondition parameterRef="distance_success" value="100" rule="lessThan"/> </ByValueCondition> </Condition> </ConditionGroup> </StopTrigger> </Storyboard> </OpenSCENARIO> ```
Here is the result: ``` <?xml version="1.0" ?> <OpenSCENARIO> <FileHeader revMajor="1" revMinor="0" date="2020-03-24T12:00:00" description="CARLA:LaneChangeSimple" author=""/> <ParameterDeclarations/> <CatalogLocations/> <RoadNetwork> <LogicFile filepath="Town04"/> <SceneGraphFile filepath=""/> </RoadNetwork> <Entities> <ScenarioObject name="hero"> <Vehicle name="vehicle.tesla.model3" vehicleCategory="car"> <ParameterDeclarations/> <Performance maxSpeed="69.444" maxAcceleration="200" maxDeceleration="10.0"/> <BoundingBox> <Center x="1.5" y="0.0" z="0.9"/> <Dimensions width="2.1" length="4.5" height="1.8"/> </BoundingBox> <Axles> <FrontAxle maxSteering="0.5" wheelDiameter="0.6" trackWidth="1.8" positionX="3.1" positionZ="0.3"/> <RearAxle maxSteering="0.0" wheelDiameter="0.6" trackWidth="1.8" positionX="0.0" positionZ="0.3"/> </Axles> <Properties> <Property name="type" value="ego_vehicle"/> </Properties> </Vehicle> </ScenarioObject> <ScenarioObject name="adversary"> <Vehicle name="vehicle.lincoln.mkz_2017" vehicleCategory="car"> <ParameterDeclarations/> <Performance maxSpeed="69.444" maxAcceleration="200" maxDeceleration="10.0"/> <BoundingBox> <Center x="1.5" y="0.0" z="0.9"/> <Dimensions width="2.1" length="4.5" height="1.8"/> </BoundingBox> <Axles> <FrontAxle maxSteering="0.5" wheelDiameter="0.6" trackWidth="1.8" positionX="3.1" positionZ="0.3"/> <RearAxle maxSteering="0.0" wheelDiameter="0.6" trackWidth="1.8" positionX="0.0" positionZ="0.3"/> </Axles> <Properties> <Property name="type" value="simulation"/> </Properties> </Vehicle> </ScenarioObject> <ScenarioObject name="standing"> <Vehicle name="vehicle.volkswagen.t2" vehicleCategory="car"> <ParameterDeclarations/> <Performance maxSpeed="69.444" maxAcceleration="200" maxDeceleration="10.0"/> <BoundingBox> <Center x="1.5" y="0.0" z="0.9"/> <Dimensions width="2.1" length="4.5" height="1.8"/> </BoundingBox> <Axles> <FrontAxle maxSteering="0.5" wheelDiameter="0.6" trackWidth="1.8" positionX="3.1" positionZ="0.3"/> <RearAxle maxSteering="0.0" wheelDiameter="0.6" trackWidth="1.8" positionX="0.0" positionZ="0.3"/> </Axles> <Properties> <Property name="type" value="simulation"/> </Properties> </Vehicle> </ScenarioObject> <ScenarioObject name="pedestrian_close_to_standing_22052"> <Pedestrian model="walker.pedestrian.0001" mass="80" name="walker.pedestrian.0001" pedestrianCategory="pedestrian"> <ParameterDeclarations/> <BoundingBox> <Center x="1.5" y="0.0" z="0.9"/> <Dimensions width="2" length="2" height="2"/> </BoundingBox> <Properties> <Property name="type" value="simulation"/> </Properties> </Pedestrian> </ScenarioObject> <ScenarioObject name="pedestrian_close_to_standing_22053"> <Pedestrian model="walker.pedestrian.0001" mass="80" name="walker.pedestrian.0001" pedestrianCategory="pedestrian"> <ParameterDeclarations/> <BoundingBox> <Center x="1.5" y="0.0" z="0.9"/> <Dimensions width="2" length="2" height="2"/> </BoundingBox> <Properties> <Property name="type" value="simulation"/> </Properties> </Pedestrian> </ScenarioObject> <ScenarioObject name="pedestrian_close_to_standing_22054"> <Pedestrian model="walker.pedestrian.0001" mass="80" name="walker.pedestrian.0001" pedestrianCategory="pedestrian"> <ParameterDeclarations/> <BoundingBox> <Center x="1.5" y="0.0" z="0.9"/> <Dimensions width="2" length="2" height="2"/> </BoundingBox> <Properties> <Property name="type" value="simulation"/> </Properties> </Pedestrian> </ScenarioObject> <ScenarioObject name="pedestrian_w_transform_22055"> <Pedestrian model="walker.pedestrian.0001" mass="80" name="walker.pedestrian.0001" pedestrianCategory="pedestrian"> <ParameterDeclarations/> <BoundingBox> <Center x="1.5" y="0.0" z="0.9"/> <Dimensions width="2" length="2" height="2"/> </BoundingBox> <Properties> <Property name="type" value="simulation"/> </Properties> </Pedestrian> </ScenarioObject> <ScenarioObject name="pedestrian_close_to_adversary_22056"> <Pedestrian model="walker.pedestrian.0001" mass="80" name="walker.pedestrian.0001" pedestrianCategory="pedestrian"> <ParameterDeclarations/> <BoundingBox> <Center x="1.5" y="0.0" z="0.9"/> <Dimensions width="2" length="2" height="2"/> </BoundingBox> <Properties> <Property name="type" value="simulation"/> </Properties> </Pedestrian> </ScenarioObject> <ScenarioObject name="pedestrian_w_transform_22057"> <Pedestrian model="walker.pedestrian.0001" mass="80" name="walker.pedestrian.0001" pedestrianCategory="pedestrian"> <ParameterDeclarations/> <BoundingBox> <Center x="1.5" y="0.0" z="0.9"/> <Dimensions width="2" length="2" height="2"/> </BoundingBox> <Properties> <Property name="type" value="simulation"/> </Properties> </Pedestrian> </ScenarioObject> <ScenarioObject name="pedestrian_close_to_adversary_22058"> <Pedestrian model="walker.pedestrian.0001" mass="80" name="walker.pedestrian.0001" pedestrianCategory="pedestrian"> <ParameterDeclarations/> <BoundingBox> <Center x="1.5" y="0.0" z="0.9"/> <Dimensions width="2" length="2" height="2"/> </BoundingBox> <Properties> <Property name="type" value="simulation"/> </Properties> </Pedestrian> </ScenarioObject> <ScenarioObject name="pedestrian_close_to_hero_22059"> <Pedestrian model="walker.pedestrian.0001" mass="80" name="walker.pedestrian.0001" pedestrianCategory="pedestrian"> <ParameterDeclarations/> <BoundingBox> <Center x="1.5" y="0.0" z="0.9"/> <Dimensions width="2" length="2" height="2"/> </BoundingBox> <Properties> <Property name="type" value="simulation"/> </Properties> </Pedestrian> </ScenarioObject> <ScenarioObject name="pedestrian_w_transform_22060"> <Pedestrian model="walker.pedestrian.0001" mass="80" name="walker.pedestrian.0001" pedestrianCategory="pedestrian"> <ParameterDeclarations/> <BoundingBox> <Center x="1.5" y="0.0" z="0.9"/> <Dimensions width="2" length="2" height="2"/> </BoundingBox> <Properties> <Property name="type" value="simulation"/> </Properties> </Pedestrian> </ScenarioObject> </Entities> <Storyboard> <Init> <Actions> <GlobalAction> <EnvironmentAction> <Environment name="Environment1"> <TimeOfDay animation="false" dateTime="2019-06-25T12:00:00"/> <Weather cloudState="free"> <Sun intensity="0.85" azimuth="0" elevation="1.31"/> <Fog visualRange="100000.0"/> <Precipitation precipitationType="dry" intensity="0.0"/> </Weather> <RoadCondition frictionScaleFactor="1.0"/> </Environment> </EnvironmentAction> </GlobalAction> <Private entityRef="hero"> <PrivateAction> <TeleportAction> <Position> <WorldPosition x="-9.4" y="-152.8" z="0.5" h="1.57079632679"/> </Position> </TeleportAction> </PrivateAction> <PrivateAction> <ControllerAction> <AssignControllerAction> <Controller name="HeroAgent"> <Properties> <Property name="module" value="external_control"/> </Properties> </Controller> </AssignControllerAction> <OverrideControllerValueAction> <Throttle value="0" active="false"/> <Brake value="0" active="false"/> <Clutch value="0" active="false"/> <ParkingBrake value="0" active="false"/> <SteeringWheel value="0" active="false"/> <Gear number="0" active="false"/> </OverrideControllerValueAction> </ControllerAction> </PrivateAction> </Private> <Private entityRef="adversary"> <PrivateAction> <TeleportAction> <Position> <WorldPosition x="-9.4" y="-71.0" z="0.5" h="1.57079632679"/> </Position> </TeleportAction> </PrivateAction> </Private> <Private entityRef="standing"> <PrivateAction> <TeleportAction> <Position> <WorldPosition x="-8.2" y="29.2" z="0.5" h="1.57079632679"/> </Position> </TeleportAction> </PrivateAction> </Private> <Private entityRef="pedestrian_close_to_standing_22052"> <PrivateAction> <TeleportAction> <Position> <WorldPosition x="-10.85645580291748" y="21.46086311340332" z="0.0030669784173369408"/> </Position> </TeleportAction> </PrivateAction> </Private> <Private entityRef="pedestrian_close_to_standing_22053"> <PrivateAction> <TeleportAction> <Position> <WorldPosition x="-12.64905071258545" y="34.55118942260742" z="0.0030791854951530695"/> </Position> </TeleportAction> </PrivateAction> </Private> <Private entityRef="pedestrian_close_to_standing_22054"> <PrivateAction> <TeleportAction> <Position> <WorldPosition x="-7.929396152496338" y="26.60228157043457" z="0.003028068458661437"/> </Position> </TeleportAction> </PrivateAction> </Private> <Private entityRef="pedestrian_w_transform_22055"> <PrivateAction> <TeleportAction> <Position> <WorldPosition x="38.16815185546875" y="-33.898475646972656" z="0.5"/> </Position> </TeleportAction> </PrivateAction> </Private> <Private entityRef="pedestrian_close_to_adversary_22056"> <PrivateAction> <TeleportAction> <Position> <WorldPosition x="-1.2495101690292358" y="-63.34553146362305" z="0.03381690755486488"/> </Position> </TeleportAction> </PrivateAction> </Private> <Private entityRef="pedestrian_w_transform_22057"> <PrivateAction> <TeleportAction> <Position> <WorldPosition x="-73.77165222167969" y="27.65558433532715" z="0.5"/> </Position> </TeleportAction> </PrivateAction> </Private> <Private entityRef="pedestrian_close_to_adversary_22058"> <PrivateAction> <TeleportAction> <Position> <WorldPosition x="-20.085952758789062" y="-78.1651382446289" z="0.033809125423431396"/> </Position> </TeleportAction> </PrivateAction> </Private> <Private entityRef="pedestrian_close_to_hero_22059"> <PrivateAction> <TeleportAction> <Position> <WorldPosition x="-12.818329811096191" y="-170.29248046875" z="0.0014286803780123591"/> </Position> </TeleportAction> </PrivateAction> </Private> <Private entityRef="pedestrian_w_transform_22060"> <PrivateAction> <TeleportAction> <Position> <WorldPosition x="10.030068397521973" y="88.57341003417969" z="0.5"/> </Position> </TeleportAction> </PrivateAction> </Private> </Actions> </Init> <Story name="MyStory"> <Act name="Behavior"> <ManeuverGroup maximumExecutionCount="1" name="ManeuverSequence"> <Actors selectTriggeringEntities="false"> <EntityRef entityRef="adversary"/> </Actors> <Maneuver name="LaneChangeSimpleManeuver"> <Event name="AdversaryAccelerates" priority="overwrite"> <Action name="AdversaryAccelerates"> <PrivateAction> <LongitudinalAction> <SpeedAction> <SpeedActionDynamics dynamicsShape="step" value="50" dynamicsDimension="distance"/> <SpeedActionTarget> <AbsoluteTargetSpeed value="5.0"/> </SpeedActionTarget> </SpeedAction> </LongitudinalAction> </PrivateAction> </Action> <StartTrigger> <ConditionGroup> <Condition name="StartCondition" delay="0" conditionEdge="rising"> <ByEntityCondition> <TriggeringEntities triggeringEntitiesRule="any"> <EntityRef entityRef="hero"/> </TriggeringEntities> <EntityCondition> <RelativeDistanceCondition entityRef="adversary" relativeDistanceType="cartesianDistance" value="40.0" freespace="false" rule="lessThan"/> </EntityCondition> </ByEntityCondition> </Condition> </ConditionGroup> </StartTrigger> </Event> <Event name="AdversaryChangesLane" priority="overwrite"> <Action name="AdversaryChangesLane"> <PrivateAction> <LateralAction> <LaneChangeAction> <LaneChangeActionDynamics dynamicsShape="linear" value="25" dynamicsDimension="distance"/> <LaneChangeTarget> <RelativeTargetLane entityRef="adversary" value="-1"/> </LaneChangeTarget> </LaneChangeAction> </LateralAction> </PrivateAction> </Action> <StartTrigger> <ConditionGroup> <Condition name="AfterAdversaryAccelerates" delay="0" conditionEdge="rising"> <ByValueCondition> <StoryboardElementStateCondition storyboardElementType="action" storyboardElementRef="AdversaryAccelerates" state="completeState"/> </ByValueCondition> </Condition> </ConditionGroup> </StartTrigger> </Event> </Maneuver> </ManeuverGroup> <StartTrigger> <ConditionGroup> <Condition name="OverallStartCondition" delay="0" conditionEdge="rising"> <ByEntityCondition> <TriggeringEntities triggeringEntitiesRule="any"> <EntityRef entityRef="hero"/> </TriggeringEntities> <EntityCondition> <TraveledDistanceCondition value="1.0"/> </EntityCondition> </ByEntityCondition> </Condition> <Condition name="StartTime" delay="0" conditionEdge="rising"> <ByValueCondition> <SimulationTimeCondition value="0" rule="equalTo"/> </ByValueCondition> </Condition> </ConditionGroup> </StartTrigger> <StopTrigger> <ConditionGroup> <Condition name="EndCondition" delay="0" conditionEdge="rising"> <ByEntityCondition> <TriggeringEntities triggeringEntitiesRule="any"> <EntityRef entityRef="hero"/> </TriggeringEntities> <EntityCondition> <TraveledDistanceCondition value="200.0"/> </EntityCondition> </ByEntityCondition> </Condition> </ConditionGroup> </StopTrigger> </Act> </Story> <StopTrigger> <ConditionGroup> <Condition name="criteria_RunningStopTest" delay="0" conditionEdge="rising"> <ByValueCondition> <ParameterCondition parameterRef="" value="" rule="lessThan"/> </ByValueCondition> </Condition> <Condition name="criteria_RunningRedLightTest" delay="0" conditionEdge="rising"> <ByValueCondition> <ParameterCondition parameterRef="" value="" rule="lessThan"/> </ByValueCondition> </Condition> <Condition name="criteria_WrongLaneTest" delay="0" conditionEdge="rising"> <ByValueCondition> <ParameterCondition parameterRef="" value="" rule="lessThan"/> </ByValueCondition> </Condition> <Condition name="criteria_OnSidewalkTest" delay="0" conditionEdge="rising"> <ByValueCondition> <ParameterCondition parameterRef="" value="" rule="lessThan"/> </ByValueCondition> </Condition> <Condition name="criteria_KeepLaneTest" delay="0" conditionEdge="rising"> <ByValueCondition> <ParameterCondition parameterRef="" value="" rule="lessThan"/> </ByValueCondition> </Condition> <Condition name="criteria_CollisionTest" delay="0" conditionEdge="rising"> <ByValueCondition> <ParameterCondition parameterRef="" value="" rule="lessThan"/> </ByValueCondition> </Condition> <Condition name="criteria_DrivenDistanceTest" delay="0" conditionEdge="rising"> <ByValueCondition> <ParameterCondition parameterRef="distance_success" value="100" rule="lessThan"/> </ByValueCondition> </Condition> </ConditionGroup> </StopTrigger> </Storyboard> </OpenSCENARIO> ```
would you add pedestrian at location (-63.37, 86.41, 0.5)? ``` <?xml version="1.0" ?> <OpenSCENARIO> <FileHeader revMajor="1" revMinor="0" date="2020-03-24T12:00:00" description="CARLA:LaneChangeSimple" author=""/> <ParameterDeclarations/> <CatalogLocations/> <RoadNetwork> <LogicFile filepath="Town04"/> <SceneGraphFile filepath=""/> </RoadNetwork> <Entities> <ScenarioObject name="hero"> <Vehicle name="vehicle.tesla.model3" vehicleCategory="car"> <ParameterDeclarations/> <Performance maxSpeed="69.444" maxAcceleration="200" maxDeceleration="10.0"/> <BoundingBox> <Center x="1.5" y="0.0" z="0.9"/> <Dimensions width="2.1" length="4.5" height="1.8"/> </BoundingBox> <Axles> <FrontAxle maxSteering="0.5" wheelDiameter="0.6" trackWidth="1.8" positionX="3.1" positionZ="0.3"/> <RearAxle maxSteering="0.0" wheelDiameter="0.6" trackWidth="1.8" positionX="0.0" positionZ="0.3"/> </Axles> <Properties> <Property name="type" value="ego_vehicle"/> </Properties> </Vehicle> </ScenarioObject> <ScenarioObject name="adversary"> <Vehicle name="vehicle.lincoln.mkz_2017" vehicleCategory="car"> <ParameterDeclarations/> <Performance maxSpeed="69.444" maxAcceleration="200" maxDeceleration="10.0"/> <BoundingBox> <Center x="1.5" y="0.0" z="0.9"/> <Dimensions width="2.1" length="4.5" height="1.8"/> </BoundingBox> <Axles> <FrontAxle maxSteering="0.5" wheelDiameter="0.6" trackWidth="1.8" positionX="3.1" positionZ="0.3"/> <RearAxle maxSteering="0.0" wheelDiameter="0.6" trackWidth="1.8" positionX="0.0" positionZ="0.3"/> </Axles> <Properties> <Property name="type" value="simulation"/> </Properties> </Vehicle> </ScenarioObject> <ScenarioObject name="standing"> <Vehicle name="vehicle.volkswagen.t2" vehicleCategory="car"> <ParameterDeclarations/> <Performance maxSpeed="69.444" maxAcceleration="200" maxDeceleration="10.0"/> <BoundingBox> <Center x="1.5" y="0.0" z="0.9"/> <Dimensions width="2.1" length="4.5" height="1.8"/> </BoundingBox> <Axles> <FrontAxle maxSteering="0.5" wheelDiameter="0.6" trackWidth="1.8" positionX="3.1" positionZ="0.3"/> <RearAxle maxSteering="0.0" wheelDiameter="0.6" trackWidth="1.8" positionX="0.0" positionZ="0.3"/> </Axles> <Properties> <Property name="type" value="simulation"/> </Properties> </Vehicle> </ScenarioObject> <ScenarioObject name="pedestrian_close_to_hero_12407"> <Pedestrian model="walker.pedestrian.0001" mass="80" name="walker.pedestrian.0001" pedestrianCategory="pedestrian"> <ParameterDeclarations/> <BoundingBox> <Center x="1.5" y="0.0" z="0.9"/> <Dimensions width="2" length="2" height="2"/> </BoundingBox> <Properties> <Property name="type" value="simulation"/> </Properties> </Pedestrian> </ScenarioObject> <ScenarioObject name="pedestrian_w_transform_12408"> <Pedestrian model="walker.pedestrian.0001" mass="80" name="walker.pedestrian.0001" pedestrianCategory="pedestrian"> <ParameterDeclarations/> <BoundingBox> <Center x="1.5" y="0.0" z="0.9"/> <Dimensions width="2" length="2" height="2"/> </BoundingBox> <Properties> <Property name="type" value="simulation"/> </Properties> </Pedestrian> </ScenarioObject> </Entities> <Storyboard> <Init> <Actions> <GlobalAction> <EnvironmentAction> <Environment name="Environment1"> <TimeOfDay animation="false" dateTime="2019-06-25T12:00:00"/> <Weather cloudState="free"> <Sun intensity="0.85" azimuth="0" elevation="1.31"/> <Fog visualRange="100000.0"/> <Precipitation precipitationType="dry" intensity="0.0"/> </Weather> <RoadCondition frictionScaleFactor="1.0"/> </Environment> </EnvironmentAction> </GlobalAction> <Private entityRef="hero"> <PrivateAction> <TeleportAction> <Position> <WorldPosition x="-9.4" y="-152.8" z="0.5" h="1.57079632679"/> </Position> </TeleportAction> </PrivateAction> <PrivateAction> <ControllerAction> <AssignControllerAction> <Controller name="HeroAgent"> <Properties> <Property name="module" value="external_control"/> </Properties> </Controller> </AssignControllerAction> <OverrideControllerValueAction> <Throttle value="0" active="false"/> <Brake value="0" active="false"/> <Clutch value="0" active="false"/> <ParkingBrake value="0" active="false"/> <SteeringWheel value="0" active="false"/> <Gear number="0" active="false"/> </OverrideControllerValueAction> </ControllerAction> </PrivateAction> </Private> <Private entityRef="adversary"> <PrivateAction> <TeleportAction> <Position> <WorldPosition x="-9.4" y="-71.0" z="0.5" h="1.57079632679"/> </Position> </TeleportAction> </PrivateAction> </Private> <Private entityRef="standing"> <PrivateAction> <TeleportAction> <Position> <WorldPosition x="-8.2" y="29.2" z="0.5" h="1.57079632679"/> </Position> </TeleportAction> </PrivateAction> </Private> <Private entityRef="pedestrian_close_to_hero_12407"> <PrivateAction> <TeleportAction> <Position> <WorldPosition x="-3.6106839179992676" y="-155.99623107910156" z="0.0014286803780123591"/> </Position> </TeleportAction> </PrivateAction> </Private> <Private entityRef="pedestrian_w_transform_12408"> <PrivateAction> <TeleportAction> <Position> <WorldPosition x="-79.4399185180664" y="39.74793243408203" z="0.5"/> </Position> </TeleportAction> </PrivateAction> </Private> </Actions> </Init> <Story name="MyStory"> <Act name="Behavior"> <ManeuverGroup maximumExecutionCount="1" name="ManeuverSequence"> <Actors selectTriggeringEntities="false"> <EntityRef entityRef="adversary"/> </Actors> <Maneuver name="LaneChangeSimpleManeuver"> <Event name="AdversaryAccelerates" priority="overwrite"> <Action name="AdversaryAccelerates"> <PrivateAction> <LongitudinalAction> <SpeedAction> <SpeedActionDynamics dynamicsShape="step" value="50" dynamicsDimension="distance"/> <SpeedActionTarget> <AbsoluteTargetSpeed value="5.0"/> </SpeedActionTarget> </SpeedAction> </LongitudinalAction> </PrivateAction> </Action> <StartTrigger> <ConditionGroup> <Condition name="StartCondition" delay="0" conditionEdge="rising"> <ByEntityCondition> <TriggeringEntities triggeringEntitiesRule="any"> <EntityRef entityRef="hero"/> </TriggeringEntities> <EntityCondition> <RelativeDistanceCondition entityRef="adversary" relativeDistanceType="cartesianDistance" value="40.0" freespace="false" rule="lessThan"/> </EntityCondition> </ByEntityCondition> </Condition> </ConditionGroup> </StartTrigger> </Event> <Event name="AdversaryChangesLane" priority="overwrite"> <Action name="AdversaryChangesLane"> <PrivateAction> <LateralAction> <LaneChangeAction> <LaneChangeActionDynamics dynamicsShape="linear" value="25" dynamicsDimension="distance"/> <LaneChangeTarget> <RelativeTargetLane entityRef="adversary" value="-1"/> </LaneChangeTarget> </LaneChangeAction> </LateralAction> </PrivateAction> </Action> <StartTrigger> <ConditionGroup> <Condition name="AfterAdversaryAccelerates" delay="0" conditionEdge="rising"> <ByValueCondition> <StoryboardElementStateCondition storyboardElementType="action" storyboardElementRef="AdversaryAccelerates" state="completeState"/> </ByValueCondition> </Condition> </ConditionGroup> </StartTrigger> </Event> </Maneuver> </ManeuverGroup> <StartTrigger> <ConditionGroup> <Condition name="OverallStartCondition" delay="0" conditionEdge="rising"> <ByEntityCondition> <TriggeringEntities triggeringEntitiesRule="any"> <EntityRef entityRef="hero"/> </TriggeringEntities> <EntityCondition> <TraveledDistanceCondition value="1.0"/> </EntityCondition> </ByEntityCondition> </Condition> <Condition name="StartTime" delay="0" conditionEdge="rising"> <ByValueCondition> <SimulationTimeCondition value="0" rule="equalTo"/> </ByValueCondition> </Condition> </ConditionGroup> </StartTrigger> <StopTrigger> <ConditionGroup> <Condition name="EndCondition" delay="0" conditionEdge="rising"> <ByEntityCondition> <TriggeringEntities triggeringEntitiesRule="any"> <EntityRef entityRef="hero"/> </TriggeringEntities> <EntityCondition> <TraveledDistanceCondition value="200.0"/> </EntityCondition> </ByEntityCondition> </Condition> </ConditionGroup> </StopTrigger> </Act> </Story> <StopTrigger> <ConditionGroup> <Condition name="criteria_RunningStopTest" delay="0" conditionEdge="rising"> <ByValueCondition> <ParameterCondition parameterRef="" value="" rule="lessThan"/> </ByValueCondition> </Condition> <Condition name="criteria_RunningRedLightTest" delay="0" conditionEdge="rising"> <ByValueCondition> <ParameterCondition parameterRef="" value="" rule="lessThan"/> </ByValueCondition> </Condition> <Condition name="criteria_WrongLaneTest" delay="0" conditionEdge="rising"> <ByValueCondition> <ParameterCondition parameterRef="" value="" rule="lessThan"/> </ByValueCondition> </Condition> <Condition name="criteria_OnSidewalkTest" delay="0" conditionEdge="rising"> <ByValueCondition> <ParameterCondition parameterRef="" value="" rule="lessThan"/> </ByValueCondition> </Condition> <Condition name="criteria_KeepLaneTest" delay="0" conditionEdge="rising"> <ByValueCondition> <ParameterCondition parameterRef="" value="" rule="lessThan"/> </ByValueCondition> </Condition> <Condition name="criteria_CollisionTest" delay="0" conditionEdge="rising"> <ByValueCondition> <ParameterCondition parameterRef="" value="" rule="lessThan"/> </ByValueCondition> </Condition> <Condition name="criteria_DrivenDistanceTest" delay="0" conditionEdge="rising"> <ByValueCondition> <ParameterCondition parameterRef="distance_success" value="100" rule="lessThan"/> </ByValueCondition> </Condition> </ConditionGroup> </StopTrigger> </Storyboard> </OpenSCENARIO> ```
Here is the result: ``` <?xml version="1.0" ?> <OpenSCENARIO> <FileHeader revMajor="1" revMinor="0" date="2020-03-24T12:00:00" description="CARLA:LaneChangeSimple" author=""/> <ParameterDeclarations/> <CatalogLocations/> <RoadNetwork> <LogicFile filepath="Town04"/> <SceneGraphFile filepath=""/> </RoadNetwork> <Entities> <ScenarioObject name="hero"> <Vehicle name="vehicle.tesla.model3" vehicleCategory="car"> <ParameterDeclarations/> <Performance maxSpeed="69.444" maxAcceleration="200" maxDeceleration="10.0"/> <BoundingBox> <Center x="1.5" y="0.0" z="0.9"/> <Dimensions width="2.1" length="4.5" height="1.8"/> </BoundingBox> <Axles> <FrontAxle maxSteering="0.5" wheelDiameter="0.6" trackWidth="1.8" positionX="3.1" positionZ="0.3"/> <RearAxle maxSteering="0.0" wheelDiameter="0.6" trackWidth="1.8" positionX="0.0" positionZ="0.3"/> </Axles> <Properties> <Property name="type" value="ego_vehicle"/> </Properties> </Vehicle> </ScenarioObject> <ScenarioObject name="adversary"> <Vehicle name="vehicle.lincoln.mkz_2017" vehicleCategory="car"> <ParameterDeclarations/> <Performance maxSpeed="69.444" maxAcceleration="200" maxDeceleration="10.0"/> <BoundingBox> <Center x="1.5" y="0.0" z="0.9"/> <Dimensions width="2.1" length="4.5" height="1.8"/> </BoundingBox> <Axles> <FrontAxle maxSteering="0.5" wheelDiameter="0.6" trackWidth="1.8" positionX="3.1" positionZ="0.3"/> <RearAxle maxSteering="0.0" wheelDiameter="0.6" trackWidth="1.8" positionX="0.0" positionZ="0.3"/> </Axles> <Properties> <Property name="type" value="simulation"/> </Properties> </Vehicle> </ScenarioObject> <ScenarioObject name="standing"> <Vehicle name="vehicle.volkswagen.t2" vehicleCategory="car"> <ParameterDeclarations/> <Performance maxSpeed="69.444" maxAcceleration="200" maxDeceleration="10.0"/> <BoundingBox> <Center x="1.5" y="0.0" z="0.9"/> <Dimensions width="2.1" length="4.5" height="1.8"/> </BoundingBox> <Axles> <FrontAxle maxSteering="0.5" wheelDiameter="0.6" trackWidth="1.8" positionX="3.1" positionZ="0.3"/> <RearAxle maxSteering="0.0" wheelDiameter="0.6" trackWidth="1.8" positionX="0.0" positionZ="0.3"/> </Axles> <Properties> <Property name="type" value="simulation"/> </Properties> </Vehicle> </ScenarioObject> <ScenarioObject name="pedestrian_close_to_hero_12407"> <Pedestrian model="walker.pedestrian.0001" mass="80" name="walker.pedestrian.0001" pedestrianCategory="pedestrian"> <ParameterDeclarations/> <BoundingBox> <Center x="1.5" y="0.0" z="0.9"/> <Dimensions width="2" length="2" height="2"/> </BoundingBox> <Properties> <Property name="type" value="simulation"/> </Properties> </Pedestrian> </ScenarioObject> <ScenarioObject name="pedestrian_w_transform_12408"> <Pedestrian model="walker.pedestrian.0001" mass="80" name="walker.pedestrian.0001" pedestrianCategory="pedestrian"> <ParameterDeclarations/> <BoundingBox> <Center x="1.5" y="0.0" z="0.9"/> <Dimensions width="2" length="2" height="2"/> </BoundingBox> <Properties> <Property name="type" value="simulation"/> </Properties> </Pedestrian> </ScenarioObject> <ScenarioObject name="pedestrian_w_transform_12409"> <Pedestrian model="walker.pedestrian.0001" mass="80" name="walker.pedestrian.0001" pedestrianCategory="pedestrian"> <ParameterDeclarations/> <BoundingBox> <Center x="1.5" y="0.0" z="0.9"/> <Dimensions width="2" length="2" height="2"/> </BoundingBox> <Properties> <Property name="type" value="simulation"/> </Properties> </Pedestrian> </ScenarioObject> </Entities> <Storyboard> <Init> <Actions> <GlobalAction> <EnvironmentAction> <Environment name="Environment1"> <TimeOfDay animation="false" dateTime="2019-06-25T12:00:00"/> <Weather cloudState="free"> <Sun intensity="0.85" azimuth="0" elevation="1.31"/> <Fog visualRange="100000.0"/> <Precipitation precipitationType="dry" intensity="0.0"/> </Weather> <RoadCondition frictionScaleFactor="1.0"/> </Environment> </EnvironmentAction> </GlobalAction> <Private entityRef="hero"> <PrivateAction> <TeleportAction> <Position> <WorldPosition x="-9.4" y="-152.8" z="0.5" h="1.57079632679"/> </Position> </TeleportAction> </PrivateAction> <PrivateAction> <ControllerAction> <AssignControllerAction> <Controller name="HeroAgent"> <Properties> <Property name="module" value="external_control"/> </Properties> </Controller> </AssignControllerAction> <OverrideControllerValueAction> <Throttle value="0" active="false"/> <Brake value="0" active="false"/> <Clutch value="0" active="false"/> <ParkingBrake value="0" active="false"/> <SteeringWheel value="0" active="false"/> <Gear number="0" active="false"/> </OverrideControllerValueAction> </ControllerAction> </PrivateAction> </Private> <Private entityRef="adversary"> <PrivateAction> <TeleportAction> <Position> <WorldPosition x="-9.4" y="-71.0" z="0.5" h="1.57079632679"/> </Position> </TeleportAction> </PrivateAction> </Private> <Private entityRef="standing"> <PrivateAction> <TeleportAction> <Position> <WorldPosition x="-8.2" y="29.2" z="0.5" h="1.57079632679"/> </Position> </TeleportAction> </PrivateAction> </Private> <Private entityRef="pedestrian_close_to_hero_12407"> <PrivateAction> <TeleportAction> <Position> <WorldPosition x="-3.6106839179992676" y="-155.99623107910156" z="0.0014286803780123591"/> </Position> </TeleportAction> </PrivateAction> </Private> <Private entityRef="pedestrian_w_transform_12408"> <PrivateAction> <TeleportAction> <Position> <WorldPosition x="-79.4399185180664" y="39.74793243408203" z="0.5"/> </Position> </TeleportAction> </PrivateAction> </Private> <Private entityRef="pedestrian_w_transform_12409"> <PrivateAction> <TeleportAction> <Position> <WorldPosition x="-63.37184524536133" y="86.41130065917969" z="0.5"/> </Position> </TeleportAction> </PrivateAction> </Private> </Actions> </Init> <Story name="MyStory"> <Act name="Behavior"> <ManeuverGroup maximumExecutionCount="1" name="ManeuverSequence"> <Actors selectTriggeringEntities="false"> <EntityRef entityRef="adversary"/> </Actors> <Maneuver name="LaneChangeSimpleManeuver"> <Event name="AdversaryAccelerates" priority="overwrite"> <Action name="AdversaryAccelerates"> <PrivateAction> <LongitudinalAction> <SpeedAction> <SpeedActionDynamics dynamicsShape="step" value="50" dynamicsDimension="distance"/> <SpeedActionTarget> <AbsoluteTargetSpeed value="5.0"/> </SpeedActionTarget> </SpeedAction> </LongitudinalAction> </PrivateAction> </Action> <StartTrigger> <ConditionGroup> <Condition name="StartCondition" delay="0" conditionEdge="rising"> <ByEntityCondition> <TriggeringEntities triggeringEntitiesRule="any"> <EntityRef entityRef="hero"/> </TriggeringEntities> <EntityCondition> <RelativeDistanceCondition entityRef="adversary" relativeDistanceType="cartesianDistance" value="40.0" freespace="false" rule="lessThan"/> </EntityCondition> </ByEntityCondition> </Condition> </ConditionGroup> </StartTrigger> </Event> <Event name="AdversaryChangesLane" priority="overwrite"> <Action name="AdversaryChangesLane"> <PrivateAction> <LateralAction> <LaneChangeAction> <LaneChangeActionDynamics dynamicsShape="linear" value="25" dynamicsDimension="distance"/> <LaneChangeTarget> <RelativeTargetLane entityRef="adversary" value="-1"/> </LaneChangeTarget> </LaneChangeAction> </LateralAction> </PrivateAction> </Action> <StartTrigger> <ConditionGroup> <Condition name="AfterAdversaryAccelerates" delay="0" conditionEdge="rising"> <ByValueCondition> <StoryboardElementStateCondition storyboardElementType="action" storyboardElementRef="AdversaryAccelerates" state="completeState"/> </ByValueCondition> </Condition> </ConditionGroup> </StartTrigger> </Event> </Maneuver> </ManeuverGroup> <StartTrigger> <ConditionGroup> <Condition name="OverallStartCondition" delay="0" conditionEdge="rising"> <ByEntityCondition> <TriggeringEntities triggeringEntitiesRule="any"> <EntityRef entityRef="hero"/> </TriggeringEntities> <EntityCondition> <TraveledDistanceCondition value="1.0"/> </EntityCondition> </ByEntityCondition> </Condition> <Condition name="StartTime" delay="0" conditionEdge="rising"> <ByValueCondition> <SimulationTimeCondition value="0" rule="equalTo"/> </ByValueCondition> </Condition> </ConditionGroup> </StartTrigger> <StopTrigger> <ConditionGroup> <Condition name="EndCondition" delay="0" conditionEdge="rising"> <ByEntityCondition> <TriggeringEntities triggeringEntitiesRule="any"> <EntityRef entityRef="hero"/> </TriggeringEntities> <EntityCondition> <TraveledDistanceCondition value="200.0"/> </EntityCondition> </ByEntityCondition> </Condition> </ConditionGroup> </StopTrigger> </Act> </Story> <StopTrigger> <ConditionGroup> <Condition name="criteria_RunningStopTest" delay="0" conditionEdge="rising"> <ByValueCondition> <ParameterCondition parameterRef="" value="" rule="lessThan"/> </ByValueCondition> </Condition> <Condition name="criteria_RunningRedLightTest" delay="0" conditionEdge="rising"> <ByValueCondition> <ParameterCondition parameterRef="" value="" rule="lessThan"/> </ByValueCondition> </Condition> <Condition name="criteria_WrongLaneTest" delay="0" conditionEdge="rising"> <ByValueCondition> <ParameterCondition parameterRef="" value="" rule="lessThan"/> </ByValueCondition> </Condition> <Condition name="criteria_OnSidewalkTest" delay="0" conditionEdge="rising"> <ByValueCondition> <ParameterCondition parameterRef="" value="" rule="lessThan"/> </ByValueCondition> </Condition> <Condition name="criteria_KeepLaneTest" delay="0" conditionEdge="rising"> <ByValueCondition> <ParameterCondition parameterRef="" value="" rule="lessThan"/> </ByValueCondition> </Condition> <Condition name="criteria_CollisionTest" delay="0" conditionEdge="rising"> <ByValueCondition> <ParameterCondition parameterRef="" value="" rule="lessThan"/> </ByValueCondition> </Condition> <Condition name="criteria_DrivenDistanceTest" delay="0" conditionEdge="rising"> <ByValueCondition> <ParameterCondition parameterRef="distance_success" value="100" rule="lessThan"/> </ByValueCondition> </Condition> </ConditionGroup> </StopTrigger> </Storyboard> </OpenSCENARIO> ```
i would like you to display add pedestrian close to standing? ``` <?xml version="1.0" ?> <OpenSCENARIO> <FileHeader revMajor="1" revMinor="0" date="2020-03-24T12:00:00" description="CARLA:LaneChangeSimple" author=""/> <ParameterDeclarations/> <CatalogLocations/> <RoadNetwork> <LogicFile filepath="Town04"/> <SceneGraphFile filepath=""/> </RoadNetwork> <Entities> <ScenarioObject name="hero"> <Vehicle name="vehicle.tesla.model3" vehicleCategory="car"> <ParameterDeclarations/> <Performance maxSpeed="69.444" maxAcceleration="200" maxDeceleration="10.0"/> <BoundingBox> <Center x="1.5" y="0.0" z="0.9"/> <Dimensions width="2.1" length="4.5" height="1.8"/> </BoundingBox> <Axles> <FrontAxle maxSteering="0.5" wheelDiameter="0.6" trackWidth="1.8" positionX="3.1" positionZ="0.3"/> <RearAxle maxSteering="0.0" wheelDiameter="0.6" trackWidth="1.8" positionX="0.0" positionZ="0.3"/> </Axles> <Properties> <Property name="type" value="ego_vehicle"/> </Properties> </Vehicle> </ScenarioObject> <ScenarioObject name="adversary"> <Vehicle name="vehicle.lincoln.mkz_2017" vehicleCategory="car"> <ParameterDeclarations/> <Performance maxSpeed="69.444" maxAcceleration="200" maxDeceleration="10.0"/> <BoundingBox> <Center x="1.5" y="0.0" z="0.9"/> <Dimensions width="2.1" length="4.5" height="1.8"/> </BoundingBox> <Axles> <FrontAxle maxSteering="0.5" wheelDiameter="0.6" trackWidth="1.8" positionX="3.1" positionZ="0.3"/> <RearAxle maxSteering="0.0" wheelDiameter="0.6" trackWidth="1.8" positionX="0.0" positionZ="0.3"/> </Axles> <Properties> <Property name="type" value="simulation"/> </Properties> </Vehicle> </ScenarioObject> <ScenarioObject name="standing"> <Vehicle name="vehicle.volkswagen.t2" vehicleCategory="car"> <ParameterDeclarations/> <Performance maxSpeed="69.444" maxAcceleration="200" maxDeceleration="10.0"/> <BoundingBox> <Center x="1.5" y="0.0" z="0.9"/> <Dimensions width="2.1" length="4.5" height="1.8"/> </BoundingBox> <Axles> <FrontAxle maxSteering="0.5" wheelDiameter="0.6" trackWidth="1.8" positionX="3.1" positionZ="0.3"/> <RearAxle maxSteering="0.0" wheelDiameter="0.6" trackWidth="1.8" positionX="0.0" positionZ="0.3"/> </Axles> <Properties> <Property name="type" value="simulation"/> </Properties> </Vehicle> </ScenarioObject> </Entities> <Storyboard> <Init> <Actions> <GlobalAction> <EnvironmentAction> <Environment name="Environment1"> <TimeOfDay animation="false" dateTime="2019-06-25T12:00:00"/> <Weather cloudState="free"> <Sun intensity="0.85" azimuth="0" elevation="1.31"/> <Fog visualRange="100000.0"/> <Precipitation precipitationType="dry" intensity="0.0"/> </Weather> <RoadCondition frictionScaleFactor="1.0"/> </Environment> </EnvironmentAction> </GlobalAction> <Private entityRef="hero"> <PrivateAction> <TeleportAction> <Position> <WorldPosition x="-9.4" y="-152.8" z="0.5" h="1.57079632679"/> </Position> </TeleportAction> </PrivateAction> <PrivateAction> <ControllerAction> <AssignControllerAction> <Controller name="HeroAgent"> <Properties> <Property name="module" value="external_control"/> </Properties> </Controller> </AssignControllerAction> <OverrideControllerValueAction> <Throttle value="0" active="false"/> <Brake value="0" active="false"/> <Clutch value="0" active="false"/> <ParkingBrake value="0" active="false"/> <SteeringWheel value="0" active="false"/> <Gear number="0" active="false"/> </OverrideControllerValueAction> </ControllerAction> </PrivateAction> </Private> <Private entityRef="adversary"> <PrivateAction> <TeleportAction> <Position> <WorldPosition x="-9.4" y="-71.0" z="0.5" h="1.57079632679"/> </Position> </TeleportAction> </PrivateAction> </Private> <Private entityRef="standing"> <PrivateAction> <TeleportAction> <Position> <WorldPosition x="-8.2" y="29.2" z="0.5" h="1.57079632679"/> </Position> </TeleportAction> </PrivateAction> </Private> </Actions> </Init> <Story name="MyStory"> <Act name="Behavior"> <ManeuverGroup maximumExecutionCount="1" name="ManeuverSequence"> <Actors selectTriggeringEntities="false"> <EntityRef entityRef="adversary"/> </Actors> <Maneuver name="LaneChangeSimpleManeuver"> <Event name="AdversaryAccelerates" priority="overwrite"> <Action name="AdversaryAccelerates"> <PrivateAction> <LongitudinalAction> <SpeedAction> <SpeedActionDynamics dynamicsShape="step" value="50" dynamicsDimension="distance"/> <SpeedActionTarget> <AbsoluteTargetSpeed value="5.0"/> </SpeedActionTarget> </SpeedAction> </LongitudinalAction> </PrivateAction> </Action> <StartTrigger> <ConditionGroup> <Condition name="StartCondition" delay="0" conditionEdge="rising"> <ByEntityCondition> <TriggeringEntities triggeringEntitiesRule="any"> <EntityRef entityRef="hero"/> </TriggeringEntities> <EntityCondition> <RelativeDistanceCondition entityRef="adversary" relativeDistanceType="cartesianDistance" value="40.0" freespace="false" rule="lessThan"/> </EntityCondition> </ByEntityCondition> </Condition> </ConditionGroup> </StartTrigger> </Event> <Event name="AdversaryChangesLane" priority="overwrite"> <Action name="AdversaryChangesLane"> <PrivateAction> <LateralAction> <LaneChangeAction> <LaneChangeActionDynamics dynamicsShape="linear" value="25" dynamicsDimension="distance"/> <LaneChangeTarget> <RelativeTargetLane entityRef="adversary" value="-1"/> </LaneChangeTarget> </LaneChangeAction> </LateralAction> </PrivateAction> </Action> <StartTrigger> <ConditionGroup> <Condition name="AfterAdversaryAccelerates" delay="0" conditionEdge="rising"> <ByValueCondition> <StoryboardElementStateCondition storyboardElementType="action" storyboardElementRef="AdversaryAccelerates" state="completeState"/> </ByValueCondition> </Condition> </ConditionGroup> </StartTrigger> </Event> </Maneuver> </ManeuverGroup> <StartTrigger> <ConditionGroup> <Condition name="OverallStartCondition" delay="0" conditionEdge="rising"> <ByEntityCondition> <TriggeringEntities triggeringEntitiesRule="any"> <EntityRef entityRef="hero"/> </TriggeringEntities> <EntityCondition> <TraveledDistanceCondition value="1.0"/> </EntityCondition> </ByEntityCondition> </Condition> <Condition name="StartTime" delay="0" conditionEdge="rising"> <ByValueCondition> <SimulationTimeCondition value="0" rule="equalTo"/> </ByValueCondition> </Condition> </ConditionGroup> </StartTrigger> <StopTrigger> <ConditionGroup> <Condition name="EndCondition" delay="0" conditionEdge="rising"> <ByEntityCondition> <TriggeringEntities triggeringEntitiesRule="any"> <EntityRef entityRef="hero"/> </TriggeringEntities> <EntityCondition> <TraveledDistanceCondition value="200.0"/> </EntityCondition> </ByEntityCondition> </Condition> </ConditionGroup> </StopTrigger> </Act> </Story> <StopTrigger> <ConditionGroup> <Condition name="criteria_RunningStopTest" delay="0" conditionEdge="rising"> <ByValueCondition> <ParameterCondition parameterRef="" value="" rule="lessThan"/> </ByValueCondition> </Condition> <Condition name="criteria_RunningRedLightTest" delay="0" conditionEdge="rising"> <ByValueCondition> <ParameterCondition parameterRef="" value="" rule="lessThan"/> </ByValueCondition> </Condition> <Condition name="criteria_WrongLaneTest" delay="0" conditionEdge="rising"> <ByValueCondition> <ParameterCondition parameterRef="" value="" rule="lessThan"/> </ByValueCondition> </Condition> <Condition name="criteria_OnSidewalkTest" delay="0" conditionEdge="rising"> <ByValueCondition> <ParameterCondition parameterRef="" value="" rule="lessThan"/> </ByValueCondition> </Condition> <Condition name="criteria_KeepLaneTest" delay="0" conditionEdge="rising"> <ByValueCondition> <ParameterCondition parameterRef="" value="" rule="lessThan"/> </ByValueCondition> </Condition> <Condition name="criteria_CollisionTest" delay="0" conditionEdge="rising"> <ByValueCondition> <ParameterCondition parameterRef="" value="" rule="lessThan"/> </ByValueCondition> </Condition> <Condition name="criteria_DrivenDistanceTest" delay="0" conditionEdge="rising"> <ByValueCondition> <ParameterCondition parameterRef="distance_success" value="100" rule="lessThan"/> </ByValueCondition> </Condition> </ConditionGroup> </StopTrigger> </Storyboard> </OpenSCENARIO> ```
Here is the result: ``` <?xml version="1.0" ?> <OpenSCENARIO> <FileHeader revMajor="1" revMinor="0" date="2020-03-24T12:00:00" description="CARLA:LaneChangeSimple" author=""/> <ParameterDeclarations/> <CatalogLocations/> <RoadNetwork> <LogicFile filepath="Town04"/> <SceneGraphFile filepath=""/> </RoadNetwork> <Entities> <ScenarioObject name="hero"> <Vehicle name="vehicle.tesla.model3" vehicleCategory="car"> <ParameterDeclarations/> <Performance maxSpeed="69.444" maxAcceleration="200" maxDeceleration="10.0"/> <BoundingBox> <Center x="1.5" y="0.0" z="0.9"/> <Dimensions width="2.1" length="4.5" height="1.8"/> </BoundingBox> <Axles> <FrontAxle maxSteering="0.5" wheelDiameter="0.6" trackWidth="1.8" positionX="3.1" positionZ="0.3"/> <RearAxle maxSteering="0.0" wheelDiameter="0.6" trackWidth="1.8" positionX="0.0" positionZ="0.3"/> </Axles> <Properties> <Property name="type" value="ego_vehicle"/> </Properties> </Vehicle> </ScenarioObject> <ScenarioObject name="adversary"> <Vehicle name="vehicle.lincoln.mkz_2017" vehicleCategory="car"> <ParameterDeclarations/> <Performance maxSpeed="69.444" maxAcceleration="200" maxDeceleration="10.0"/> <BoundingBox> <Center x="1.5" y="0.0" z="0.9"/> <Dimensions width="2.1" length="4.5" height="1.8"/> </BoundingBox> <Axles> <FrontAxle maxSteering="0.5" wheelDiameter="0.6" trackWidth="1.8" positionX="3.1" positionZ="0.3"/> <RearAxle maxSteering="0.0" wheelDiameter="0.6" trackWidth="1.8" positionX="0.0" positionZ="0.3"/> </Axles> <Properties> <Property name="type" value="simulation"/> </Properties> </Vehicle> </ScenarioObject> <ScenarioObject name="standing"> <Vehicle name="vehicle.volkswagen.t2" vehicleCategory="car"> <ParameterDeclarations/> <Performance maxSpeed="69.444" maxAcceleration="200" maxDeceleration="10.0"/> <BoundingBox> <Center x="1.5" y="0.0" z="0.9"/> <Dimensions width="2.1" length="4.5" height="1.8"/> </BoundingBox> <Axles> <FrontAxle maxSteering="0.5" wheelDiameter="0.6" trackWidth="1.8" positionX="3.1" positionZ="0.3"/> <RearAxle maxSteering="0.0" wheelDiameter="0.6" trackWidth="1.8" positionX="0.0" positionZ="0.3"/> </Axles> <Properties> <Property name="type" value="simulation"/> </Properties> </Vehicle> </ScenarioObject> <ScenarioObject name="pedestrian_close_to_standing_10742"> <Pedestrian model="walker.pedestrian.0001" mass="80" name="walker.pedestrian.0001" pedestrianCategory="pedestrian"> <ParameterDeclarations/> <BoundingBox> <Center x="1.5" y="0.0" z="0.9"/> <Dimensions width="2" length="2" height="2"/> </BoundingBox> <Properties> <Property name="type" value="simulation"/> </Properties> </Pedestrian> </ScenarioObject> </Entities> <Storyboard> <Init> <Actions> <GlobalAction> <EnvironmentAction> <Environment name="Environment1"> <TimeOfDay animation="false" dateTime="2019-06-25T12:00:00"/> <Weather cloudState="free"> <Sun intensity="0.85" azimuth="0" elevation="1.31"/> <Fog visualRange="100000.0"/> <Precipitation precipitationType="dry" intensity="0.0"/> </Weather> <RoadCondition frictionScaleFactor="1.0"/> </Environment> </EnvironmentAction> </GlobalAction> <Private entityRef="hero"> <PrivateAction> <TeleportAction> <Position> <WorldPosition x="-9.4" y="-152.8" z="0.5" h="1.57079632679"/> </Position> </TeleportAction> </PrivateAction> <PrivateAction> <ControllerAction> <AssignControllerAction> <Controller name="HeroAgent"> <Properties> <Property name="module" value="external_control"/> </Properties> </Controller> </AssignControllerAction> <OverrideControllerValueAction> <Throttle value="0" active="false"/> <Brake value="0" active="false"/> <Clutch value="0" active="false"/> <ParkingBrake value="0" active="false"/> <SteeringWheel value="0" active="false"/> <Gear number="0" active="false"/> </OverrideControllerValueAction> </ControllerAction> </PrivateAction> </Private> <Private entityRef="adversary"> <PrivateAction> <TeleportAction> <Position> <WorldPosition x="-9.4" y="-71.0" z="0.5" h="1.57079632679"/> </Position> </TeleportAction> </PrivateAction> </Private> <Private entityRef="standing"> <PrivateAction> <TeleportAction> <Position> <WorldPosition x="-8.2" y="29.2" z="0.5" h="1.57079632679"/> </Position> </TeleportAction> </PrivateAction> </Private> <Private entityRef="pedestrian_close_to_standing_10742"> <PrivateAction> <TeleportAction> <Position> <WorldPosition x="1.4184496402740479" y="35.5850715637207" z="0.0030608747620135546"/> </Position> </TeleportAction> </PrivateAction> </Private> </Actions> </Init> <Story name="MyStory"> <Act name="Behavior"> <ManeuverGroup maximumExecutionCount="1" name="ManeuverSequence"> <Actors selectTriggeringEntities="false"> <EntityRef entityRef="adversary"/> </Actors> <Maneuver name="LaneChangeSimpleManeuver"> <Event name="AdversaryAccelerates" priority="overwrite"> <Action name="AdversaryAccelerates"> <PrivateAction> <LongitudinalAction> <SpeedAction> <SpeedActionDynamics dynamicsShape="step" value="50" dynamicsDimension="distance"/> <SpeedActionTarget> <AbsoluteTargetSpeed value="5.0"/> </SpeedActionTarget> </SpeedAction> </LongitudinalAction> </PrivateAction> </Action> <StartTrigger> <ConditionGroup> <Condition name="StartCondition" delay="0" conditionEdge="rising"> <ByEntityCondition> <TriggeringEntities triggeringEntitiesRule="any"> <EntityRef entityRef="hero"/> </TriggeringEntities> <EntityCondition> <RelativeDistanceCondition entityRef="adversary" relativeDistanceType="cartesianDistance" value="40.0" freespace="false" rule="lessThan"/> </EntityCondition> </ByEntityCondition> </Condition> </ConditionGroup> </StartTrigger> </Event> <Event name="AdversaryChangesLane" priority="overwrite"> <Action name="AdversaryChangesLane"> <PrivateAction> <LateralAction> <LaneChangeAction> <LaneChangeActionDynamics dynamicsShape="linear" value="25" dynamicsDimension="distance"/> <LaneChangeTarget> <RelativeTargetLane entityRef="adversary" value="-1"/> </LaneChangeTarget> </LaneChangeAction> </LateralAction> </PrivateAction> </Action> <StartTrigger> <ConditionGroup> <Condition name="AfterAdversaryAccelerates" delay="0" conditionEdge="rising"> <ByValueCondition> <StoryboardElementStateCondition storyboardElementType="action" storyboardElementRef="AdversaryAccelerates" state="completeState"/> </ByValueCondition> </Condition> </ConditionGroup> </StartTrigger> </Event> </Maneuver> </ManeuverGroup> <StartTrigger> <ConditionGroup> <Condition name="OverallStartCondition" delay="0" conditionEdge="rising"> <ByEntityCondition> <TriggeringEntities triggeringEntitiesRule="any"> <EntityRef entityRef="hero"/> </TriggeringEntities> <EntityCondition> <TraveledDistanceCondition value="1.0"/> </EntityCondition> </ByEntityCondition> </Condition> <Condition name="StartTime" delay="0" conditionEdge="rising"> <ByValueCondition> <SimulationTimeCondition value="0" rule="equalTo"/> </ByValueCondition> </Condition> </ConditionGroup> </StartTrigger> <StopTrigger> <ConditionGroup> <Condition name="EndCondition" delay="0" conditionEdge="rising"> <ByEntityCondition> <TriggeringEntities triggeringEntitiesRule="any"> <EntityRef entityRef="hero"/> </TriggeringEntities> <EntityCondition> <TraveledDistanceCondition value="200.0"/> </EntityCondition> </ByEntityCondition> </Condition> </ConditionGroup> </StopTrigger> </Act> </Story> <StopTrigger> <ConditionGroup> <Condition name="criteria_RunningStopTest" delay="0" conditionEdge="rising"> <ByValueCondition> <ParameterCondition parameterRef="" value="" rule="lessThan"/> </ByValueCondition> </Condition> <Condition name="criteria_RunningRedLightTest" delay="0" conditionEdge="rising"> <ByValueCondition> <ParameterCondition parameterRef="" value="" rule="lessThan"/> </ByValueCondition> </Condition> <Condition name="criteria_WrongLaneTest" delay="0" conditionEdge="rising"> <ByValueCondition> <ParameterCondition parameterRef="" value="" rule="lessThan"/> </ByValueCondition> </Condition> <Condition name="criteria_OnSidewalkTest" delay="0" conditionEdge="rising"> <ByValueCondition> <ParameterCondition parameterRef="" value="" rule="lessThan"/> </ByValueCondition> </Condition> <Condition name="criteria_KeepLaneTest" delay="0" conditionEdge="rising"> <ByValueCondition> <ParameterCondition parameterRef="" value="" rule="lessThan"/> </ByValueCondition> </Condition> <Condition name="criteria_CollisionTest" delay="0" conditionEdge="rising"> <ByValueCondition> <ParameterCondition parameterRef="" value="" rule="lessThan"/> </ByValueCondition> </Condition> <Condition name="criteria_DrivenDistanceTest" delay="0" conditionEdge="rising"> <ByValueCondition> <ParameterCondition parameterRef="distance_success" value="100" rule="lessThan"/> </ByValueCondition> </Condition> </ConditionGroup> </StopTrigger> </Storyboard> </OpenSCENARIO> ```
i would like you to demonstrate add pedestrian at location (-37.04, 56.15, 0.5)? ``` <?xml version="1.0" ?> <OpenSCENARIO> <FileHeader revMajor="1" revMinor="0" date="2020-03-24T12:00:00" description="CARLA:LaneChangeSimple" author=""/> <ParameterDeclarations/> <CatalogLocations/> <RoadNetwork> <LogicFile filepath="Town04"/> <SceneGraphFile filepath=""/> </RoadNetwork> <Entities> <ScenarioObject name="hero"> <Vehicle name="vehicle.tesla.model3" vehicleCategory="car"> <ParameterDeclarations/> <Performance maxSpeed="69.444" maxAcceleration="200" maxDeceleration="10.0"/> <BoundingBox> <Center x="1.5" y="0.0" z="0.9"/> <Dimensions width="2.1" length="4.5" height="1.8"/> </BoundingBox> <Axles> <FrontAxle maxSteering="0.5" wheelDiameter="0.6" trackWidth="1.8" positionX="3.1" positionZ="0.3"/> <RearAxle maxSteering="0.0" wheelDiameter="0.6" trackWidth="1.8" positionX="0.0" positionZ="0.3"/> </Axles> <Properties> <Property name="type" value="ego_vehicle"/> </Properties> </Vehicle> </ScenarioObject> <ScenarioObject name="adversary"> <Vehicle name="vehicle.lincoln.mkz_2017" vehicleCategory="car"> <ParameterDeclarations/> <Performance maxSpeed="69.444" maxAcceleration="200" maxDeceleration="10.0"/> <BoundingBox> <Center x="1.5" y="0.0" z="0.9"/> <Dimensions width="2.1" length="4.5" height="1.8"/> </BoundingBox> <Axles> <FrontAxle maxSteering="0.5" wheelDiameter="0.6" trackWidth="1.8" positionX="3.1" positionZ="0.3"/> <RearAxle maxSteering="0.0" wheelDiameter="0.6" trackWidth="1.8" positionX="0.0" positionZ="0.3"/> </Axles> <Properties> <Property name="type" value="simulation"/> </Properties> </Vehicle> </ScenarioObject> <ScenarioObject name="standing"> <Vehicle name="vehicle.volkswagen.t2" vehicleCategory="car"> <ParameterDeclarations/> <Performance maxSpeed="69.444" maxAcceleration="200" maxDeceleration="10.0"/> <BoundingBox> <Center x="1.5" y="0.0" z="0.9"/> <Dimensions width="2.1" length="4.5" height="1.8"/> </BoundingBox> <Axles> <FrontAxle maxSteering="0.5" wheelDiameter="0.6" trackWidth="1.8" positionX="3.1" positionZ="0.3"/> <RearAxle maxSteering="0.0" wheelDiameter="0.6" trackWidth="1.8" positionX="0.0" positionZ="0.3"/> </Axles> <Properties> <Property name="type" value="simulation"/> </Properties> </Vehicle> </ScenarioObject> <ScenarioObject name="pedestrian_close_to_adversary_14525"> <Pedestrian model="walker.pedestrian.0001" mass="80" name="walker.pedestrian.0001" pedestrianCategory="pedestrian"> <ParameterDeclarations/> <BoundingBox> <Center x="1.5" y="0.0" z="0.9"/> <Dimensions width="2" length="2" height="2"/> </BoundingBox> <Properties> <Property name="type" value="simulation"/> </Properties> </Pedestrian> </ScenarioObject> <ScenarioObject name="pedestrian_w_transform_14526"> <Pedestrian model="walker.pedestrian.0001" mass="80" name="walker.pedestrian.0001" pedestrianCategory="pedestrian"> <ParameterDeclarations/> <BoundingBox> <Center x="1.5" y="0.0" z="0.9"/> <Dimensions width="2" length="2" height="2"/> </BoundingBox> <Properties> <Property name="type" value="simulation"/> </Properties> </Pedestrian> </ScenarioObject> <ScenarioObject name="pedestrian_w_transform_14527"> <Pedestrian model="walker.pedestrian.0001" mass="80" name="walker.pedestrian.0001" pedestrianCategory="pedestrian"> <ParameterDeclarations/> <BoundingBox> <Center x="1.5" y="0.0" z="0.9"/> <Dimensions width="2" length="2" height="2"/> </BoundingBox> <Properties> <Property name="type" value="simulation"/> </Properties> </Pedestrian> </ScenarioObject> <ScenarioObject name="pedestrian_w_transform_14528"> <Pedestrian model="walker.pedestrian.0001" mass="80" name="walker.pedestrian.0001" pedestrianCategory="pedestrian"> <ParameterDeclarations/> <BoundingBox> <Center x="1.5" y="0.0" z="0.9"/> <Dimensions width="2" length="2" height="2"/> </BoundingBox> <Properties> <Property name="type" value="simulation"/> </Properties> </Pedestrian> </ScenarioObject> <ScenarioObject name="pedestrian_w_transform_14529"> <Pedestrian model="walker.pedestrian.0001" mass="80" name="walker.pedestrian.0001" pedestrianCategory="pedestrian"> <ParameterDeclarations/> <BoundingBox> <Center x="1.5" y="0.0" z="0.9"/> <Dimensions width="2" length="2" height="2"/> </BoundingBox> <Properties> <Property name="type" value="simulation"/> </Properties> </Pedestrian> </ScenarioObject> <ScenarioObject name="pedestrian_w_transform_14530"> <Pedestrian model="walker.pedestrian.0001" mass="80" name="walker.pedestrian.0001" pedestrianCategory="pedestrian"> <ParameterDeclarations/> <BoundingBox> <Center x="1.5" y="0.0" z="0.9"/> <Dimensions width="2" length="2" height="2"/> </BoundingBox> <Properties> <Property name="type" value="simulation"/> </Properties> </Pedestrian> </ScenarioObject> <ScenarioObject name="pedestrian_w_transform_14531"> <Pedestrian model="walker.pedestrian.0001" mass="80" name="walker.pedestrian.0001" pedestrianCategory="pedestrian"> <ParameterDeclarations/> <BoundingBox> <Center x="1.5" y="0.0" z="0.9"/> <Dimensions width="2" length="2" height="2"/> </BoundingBox> <Properties> <Property name="type" value="simulation"/> </Properties> </Pedestrian> </ScenarioObject> <ScenarioObject name="pedestrian_w_transform_14532"> <Pedestrian model="walker.pedestrian.0001" mass="80" name="walker.pedestrian.0001" pedestrianCategory="pedestrian"> <ParameterDeclarations/> <BoundingBox> <Center x="1.5" y="0.0" z="0.9"/> <Dimensions width="2" length="2" height="2"/> </BoundingBox> <Properties> <Property name="type" value="simulation"/> </Properties> </Pedestrian> </ScenarioObject> <ScenarioObject name="pedestrian_close_to_hero_14533"> <Pedestrian model="walker.pedestrian.0001" mass="80" name="walker.pedestrian.0001" pedestrianCategory="pedestrian"> <ParameterDeclarations/> <BoundingBox> <Center x="1.5" y="0.0" z="0.9"/> <Dimensions width="2" length="2" height="2"/> </BoundingBox> <Properties> <Property name="type" value="simulation"/> </Properties> </Pedestrian> </ScenarioObject> <ScenarioObject name="pedestrian_w_transform_14534"> <Pedestrian model="walker.pedestrian.0001" mass="80" name="walker.pedestrian.0001" pedestrianCategory="pedestrian"> <ParameterDeclarations/> <BoundingBox> <Center x="1.5" y="0.0" z="0.9"/> <Dimensions width="2" length="2" height="2"/> </BoundingBox> <Properties> <Property name="type" value="simulation"/> </Properties> </Pedestrian> </ScenarioObject> <ScenarioObject name="pedestrian_w_transform_14535"> <Pedestrian model="walker.pedestrian.0001" mass="80" name="walker.pedestrian.0001" pedestrianCategory="pedestrian"> <ParameterDeclarations/> <BoundingBox> <Center x="1.5" y="0.0" z="0.9"/> <Dimensions width="2" length="2" height="2"/> </BoundingBox> <Properties> <Property name="type" value="simulation"/> </Properties> </Pedestrian> </ScenarioObject> <ScenarioObject name="pedestrian_w_transform_14536"> <Pedestrian model="walker.pedestrian.0001" mass="80" name="walker.pedestrian.0001" pedestrianCategory="pedestrian"> <ParameterDeclarations/> <BoundingBox> <Center x="1.5" y="0.0" z="0.9"/> <Dimensions width="2" length="2" height="2"/> </BoundingBox> <Properties> <Property name="type" value="simulation"/> </Properties> </Pedestrian> </ScenarioObject> <ScenarioObject name="pedestrian_w_transform_14537"> <Pedestrian model="walker.pedestrian.0001" mass="80" name="walker.pedestrian.0001" pedestrianCategory="pedestrian"> <ParameterDeclarations/> <BoundingBox> <Center x="1.5" y="0.0" z="0.9"/> <Dimensions width="2" length="2" height="2"/> </BoundingBox> <Properties> <Property name="type" value="simulation"/> </Properties> </Pedestrian> </ScenarioObject> <ScenarioObject name="pedestrian_w_transform_14538"> <Pedestrian model="walker.pedestrian.0001" mass="80" name="walker.pedestrian.0001" pedestrianCategory="pedestrian"> <ParameterDeclarations/> <BoundingBox> <Center x="1.5" y="0.0" z="0.9"/> <Dimensions width="2" length="2" height="2"/> </BoundingBox> <Properties> <Property name="type" value="simulation"/> </Properties> </Pedestrian> </ScenarioObject> <ScenarioObject name="pedestrian_w_transform_14539"> <Pedestrian model="walker.pedestrian.0001" mass="80" name="walker.pedestrian.0001" pedestrianCategory="pedestrian"> <ParameterDeclarations/> <BoundingBox> <Center x="1.5" y="0.0" z="0.9"/> <Dimensions width="2" length="2" height="2"/> </BoundingBox> <Properties> <Property name="type" value="simulation"/> </Properties> </Pedestrian> </ScenarioObject> <ScenarioObject name="pedestrian_close_to_adversary_14540"> <Pedestrian model="walker.pedestrian.0001" mass="80" name="walker.pedestrian.0001" pedestrianCategory="pedestrian"> <ParameterDeclarations/> <BoundingBox> <Center x="1.5" y="0.0" z="0.9"/> <Dimensions width="2" length="2" height="2"/> </BoundingBox> <Properties> <Property name="type" value="simulation"/> </Properties> </Pedestrian> </ScenarioObject> <ScenarioObject name="pedestrian_close_to_standing_14541"> <Pedestrian model="walker.pedestrian.0001" mass="80" name="walker.pedestrian.0001" pedestrianCategory="pedestrian"> <ParameterDeclarations/> <BoundingBox> <Center x="1.5" y="0.0" z="0.9"/> <Dimensions width="2" length="2" height="2"/> </BoundingBox> <Properties> <Property name="type" value="simulation"/> </Properties> </Pedestrian> </ScenarioObject> <ScenarioObject name="pedestrian_w_transform_14542"> <Pedestrian model="walker.pedestrian.0001" mass="80" name="walker.pedestrian.0001" pedestrianCategory="pedestrian"> <ParameterDeclarations/> <BoundingBox> <Center x="1.5" y="0.0" z="0.9"/> <Dimensions width="2" length="2" height="2"/> </BoundingBox> <Properties> <Property name="type" value="simulation"/> </Properties> </Pedestrian> </ScenarioObject> <ScenarioObject name="pedestrian_w_transform_14543"> <Pedestrian model="walker.pedestrian.0001" mass="80" name="walker.pedestrian.0001" pedestrianCategory="pedestrian"> <ParameterDeclarations/> <BoundingBox> <Center x="1.5" y="0.0" z="0.9"/> <Dimensions width="2" length="2" height="2"/> </BoundingBox> <Properties> <Property name="type" value="simulation"/> </Properties> </Pedestrian> </ScenarioObject> <ScenarioObject name="pedestrian_close_to_standing_14544"> <Pedestrian model="walker.pedestrian.0001" mass="80" name="walker.pedestrian.0001" pedestrianCategory="pedestrian"> <ParameterDeclarations/> <BoundingBox> <Center x="1.5" y="0.0" z="0.9"/> <Dimensions width="2" length="2" height="2"/> </BoundingBox> <Properties> <Property name="type" value="simulation"/> </Properties> </Pedestrian> </ScenarioObject> <ScenarioObject name="pedestrian_close_to_hero_14545"> <Pedestrian model="walker.pedestrian.0001" mass="80" name="walker.pedestrian.0001" pedestrianCategory="pedestrian"> <ParameterDeclarations/> <BoundingBox> <Center x="1.5" y="0.0" z="0.9"/> <Dimensions width="2" length="2" height="2"/> </BoundingBox> <Properties> <Property name="type" value="simulation"/> </Properties> </Pedestrian> </ScenarioObject> <ScenarioObject name="pedestrian_close_to_adversary_14546"> <Pedestrian model="walker.pedestrian.0001" mass="80" name="walker.pedestrian.0001" pedestrianCategory="pedestrian"> <ParameterDeclarations/> <BoundingBox> <Center x="1.5" y="0.0" z="0.9"/> <Dimensions width="2" length="2" height="2"/> </BoundingBox> <Properties> <Property name="type" value="simulation"/> </Properties> </Pedestrian> </ScenarioObject> </Entities> <Storyboard> <Init> <Actions> <GlobalAction> <EnvironmentAction> <Environment name="Environment1"> <TimeOfDay animation="false" dateTime="2019-06-25T12:00:00"/> <Weather cloudState="free"> <Sun intensity="0.85" azimuth="0" elevation="1.31"/> <Fog visualRange="100000.0"/> <Precipitation precipitationType="dry" intensity="0.0"/> </Weather> <RoadCondition frictionScaleFactor="1.0"/> </Environment> </EnvironmentAction> </GlobalAction> <Private entityRef="hero"> <PrivateAction> <TeleportAction> <Position> <WorldPosition x="-9.4" y="-152.8" z="0.5" h="1.57079632679"/> </Position> </TeleportAction> </PrivateAction> <PrivateAction> <ControllerAction> <AssignControllerAction> <Controller name="HeroAgent"> <Properties> <Property name="module" value="external_control"/> </Properties> </Controller> </AssignControllerAction> <OverrideControllerValueAction> <Throttle value="0" active="false"/> <Brake value="0" active="false"/> <Clutch value="0" active="false"/> <ParkingBrake value="0" active="false"/> <SteeringWheel value="0" active="false"/> <Gear number="0" active="false"/> </OverrideControllerValueAction> </ControllerAction> </PrivateAction> </Private> <Private entityRef="adversary"> <PrivateAction> <TeleportAction> <Position> <WorldPosition x="-9.4" y="-71.0" z="0.5" h="1.57079632679"/> </Position> </TeleportAction> </PrivateAction> </Private> <Private entityRef="standing"> <PrivateAction> <TeleportAction> <Position> <WorldPosition x="-8.2" y="29.2" z="0.5" h="1.57079632679"/> </Position> </TeleportAction> </PrivateAction> </Private> <Private entityRef="pedestrian_close_to_adversary_14525"> <PrivateAction> <TeleportAction> <Position> <WorldPosition x="-18.3381290435791" y="-75.2737045288086" z="0.033790092915296555"/> </Position> </TeleportAction> </PrivateAction> </Private> <Private entityRef="pedestrian_w_transform_14526"> <PrivateAction> <TeleportAction> <Position> <WorldPosition x="-56.01234436035156" y="3.2705836296081543" z="0.5"/> </Position> </TeleportAction> </PrivateAction> </Private> <Private entityRef="pedestrian_w_transform_14527"> <PrivateAction> <TeleportAction> <Position> <WorldPosition x="1.8107218742370605" y="33.24715042114258" z="0.5"/> </Position> </TeleportAction> </PrivateAction> </Private> <Private entityRef="pedestrian_w_transform_14528"> <PrivateAction> <TeleportAction> <Position> <WorldPosition x="13.730735778808594" y="78.42337036132812" z="0.5"/> </Position> </TeleportAction> </PrivateAction> </Private> <Private entityRef="pedestrian_w_transform_14529"> <PrivateAction> <TeleportAction> <Position> <WorldPosition x="20.640247344970703" y="90.85359191894531" z="0.5"/> </Position> </TeleportAction> </PrivateAction> </Private> <Private entityRef="pedestrian_w_transform_14530"> <PrivateAction> <TeleportAction> <Position> <WorldPosition x="87.22517395019531" y="53.88477325439453" z="0.5"/> </Position> </TeleportAction> </PrivateAction> </Private> <Private entityRef="pedestrian_w_transform_14531"> <PrivateAction> <TeleportAction> <Position> <WorldPosition x="-53.06377029418945" y="52.53348922729492" z="0.5"/> </Position> </TeleportAction> </PrivateAction> </Private> <Private entityRef="pedestrian_w_transform_14532"> <PrivateAction> <TeleportAction> <Position> <WorldPosition x="2.010098934173584" y="-27.53154182434082" z="0.5"/> </Position> </TeleportAction> </PrivateAction> </Private> <Private entityRef="pedestrian_close_to_hero_14533"> <PrivateAction> <TeleportAction> <Position> <WorldPosition x="-6.968897342681885" y="-160.7616424560547" z="0.0014286803780123591"/> </Position> </TeleportAction> </PrivateAction> </Private> <Private entityRef="pedestrian_w_transform_14534"> <PrivateAction> <TeleportAction> <Position> <WorldPosition x="-58.05228042602539" y="33.03984832763672" z="0.5"/> </Position> </TeleportAction> </PrivateAction> </Private> <Private entityRef="pedestrian_w_transform_14535"> <PrivateAction> <TeleportAction> <Position> <WorldPosition x="23.623519897460938" y="96.40071105957031" z="0.5"/> </Position> </TeleportAction> </PrivateAction> </Private> <Private entityRef="pedestrian_w_transform_14536"> <PrivateAction> <TeleportAction> <Position> <WorldPosition x="-71.46648406982422" y="-27.357290267944336" z="0.5"/> </Position> </TeleportAction> </PrivateAction> </Private> <Private entityRef="pedestrian_w_transform_14537"> <PrivateAction> <TeleportAction> <Position> <WorldPosition x="5.77756929397583" y="-55.809722900390625" z="0.5"/> </Position> </TeleportAction> </PrivateAction> </Private> <Private entityRef="pedestrian_w_transform_14538"> <PrivateAction> <TeleportAction> <Position> <WorldPosition x="84.00178527832031" y="-37.69733428955078" z="0.5"/> </Position> </TeleportAction> </PrivateAction> </Private> <Private entityRef="pedestrian_w_transform_14539"> <PrivateAction> <TeleportAction> <Position> <WorldPosition x="-19.266094207763672" y="82.75418090820312" z="0.5"/> </Position> </TeleportAction> </PrivateAction> </Private> <Private entityRef="pedestrian_close_to_adversary_14540"> <PrivateAction> <TeleportAction> <Position> <WorldPosition x="-15.866621017456055" y="-66.80957794189453" z="0.03376636281609535"/> </Position> </TeleportAction> </PrivateAction> </Private> <Private entityRef="pedestrian_close_to_standing_14541"> <PrivateAction> <TeleportAction> <Position> <WorldPosition x="1.3215616941452026" y="29.27849769592285" z="0.0030832672491669655"/> </Position> </TeleportAction> </PrivateAction> </Private> <Private entityRef="pedestrian_w_transform_14542"> <PrivateAction> <TeleportAction> <Position> <WorldPosition x="-44.89462661743164" y="3.5382773876190186" z="0.5"/> </Position> </TeleportAction> </PrivateAction> </Private> <Private entityRef="pedestrian_w_transform_14543"> <PrivateAction> <TeleportAction> <Position> <WorldPosition x="-2.16412615776062" y="44.09730529785156" z="0.5"/> </Position> </TeleportAction> </PrivateAction> </Private> <Private entityRef="pedestrian_close_to_standing_14544"> <PrivateAction> <TeleportAction> <Position> <WorldPosition x="-12.164441108703613" y="33.851749420166016" z="0.0031182097736746073"/> </Position> </TeleportAction> </PrivateAction> </Private> <Private entityRef="pedestrian_close_to_hero_14545"> <PrivateAction> <TeleportAction> <Position> <WorldPosition x="-14.329877853393555" y="-154.6316375732422" z="0.0014286803780123591"/> </Position> </TeleportAction> </PrivateAction> </Private> <Private entityRef="pedestrian_close_to_adversary_14546"> <PrivateAction> <TeleportAction> <Position> <WorldPosition x="-14.974162101745605" y="-71.45030975341797" z="0.033806152641773224"/> </Position> </TeleportAction> </PrivateAction> </Private> </Actions> </Init> <Story name="MyStory"> <Act name="Behavior"> <ManeuverGroup maximumExecutionCount="1" name="ManeuverSequence"> <Actors selectTriggeringEntities="false"> <EntityRef entityRef="adversary"/> </Actors> <Maneuver name="LaneChangeSimpleManeuver"> <Event name="AdversaryAccelerates" priority="overwrite"> <Action name="AdversaryAccelerates"> <PrivateAction> <LongitudinalAction> <SpeedAction> <SpeedActionDynamics dynamicsShape="step" value="50" dynamicsDimension="distance"/> <SpeedActionTarget> <AbsoluteTargetSpeed value="5.0"/> </SpeedActionTarget> </SpeedAction> </LongitudinalAction> </PrivateAction> </Action> <StartTrigger> <ConditionGroup> <Condition name="StartCondition" delay="0" conditionEdge="rising"> <ByEntityCondition> <TriggeringEntities triggeringEntitiesRule="any"> <EntityRef entityRef="hero"/> </TriggeringEntities> <EntityCondition> <RelativeDistanceCondition entityRef="adversary" relativeDistanceType="cartesianDistance" value="40.0" freespace="false" rule="lessThan"/> </EntityCondition> </ByEntityCondition> </Condition> </ConditionGroup> </StartTrigger> </Event> <Event name="AdversaryChangesLane" priority="overwrite"> <Action name="AdversaryChangesLane"> <PrivateAction> <LateralAction> <LaneChangeAction> <LaneChangeActionDynamics dynamicsShape="linear" value="25" dynamicsDimension="distance"/> <LaneChangeTarget> <RelativeTargetLane entityRef="adversary" value="-1"/> </LaneChangeTarget> </LaneChangeAction> </LateralAction> </PrivateAction> </Action> <StartTrigger> <ConditionGroup> <Condition name="AfterAdversaryAccelerates" delay="0" conditionEdge="rising"> <ByValueCondition> <StoryboardElementStateCondition storyboardElementType="action" storyboardElementRef="AdversaryAccelerates" state="completeState"/> </ByValueCondition> </Condition> </ConditionGroup> </StartTrigger> </Event> </Maneuver> </ManeuverGroup> <StartTrigger> <ConditionGroup> <Condition name="OverallStartCondition" delay="0" conditionEdge="rising"> <ByEntityCondition> <TriggeringEntities triggeringEntitiesRule="any"> <EntityRef entityRef="hero"/> </TriggeringEntities> <EntityCondition> <TraveledDistanceCondition value="1.0"/> </EntityCondition> </ByEntityCondition> </Condition> <Condition name="StartTime" delay="0" conditionEdge="rising"> <ByValueCondition> <SimulationTimeCondition value="0" rule="equalTo"/> </ByValueCondition> </Condition> </ConditionGroup> </StartTrigger> <StopTrigger> <ConditionGroup> <Condition name="EndCondition" delay="0" conditionEdge="rising"> <ByEntityCondition> <TriggeringEntities triggeringEntitiesRule="any"> <EntityRef entityRef="hero"/> </TriggeringEntities> <EntityCondition> <TraveledDistanceCondition value="200.0"/> </EntityCondition> </ByEntityCondition> </Condition> </ConditionGroup> </StopTrigger> </Act> </Story> <StopTrigger> <ConditionGroup> <Condition name="criteria_RunningStopTest" delay="0" conditionEdge="rising"> <ByValueCondition> <ParameterCondition parameterRef="" value="" rule="lessThan"/> </ByValueCondition> </Condition> <Condition name="criteria_RunningRedLightTest" delay="0" conditionEdge="rising"> <ByValueCondition> <ParameterCondition parameterRef="" value="" rule="lessThan"/> </ByValueCondition> </Condition> <Condition name="criteria_WrongLaneTest" delay="0" conditionEdge="rising"> <ByValueCondition> <ParameterCondition parameterRef="" value="" rule="lessThan"/> </ByValueCondition> </Condition> <Condition name="criteria_OnSidewalkTest" delay="0" conditionEdge="rising"> <ByValueCondition> <ParameterCondition parameterRef="" value="" rule="lessThan"/> </ByValueCondition> </Condition> <Condition name="criteria_KeepLaneTest" delay="0" conditionEdge="rising"> <ByValueCondition> <ParameterCondition parameterRef="" value="" rule="lessThan"/> </ByValueCondition> </Condition> <Condition name="criteria_CollisionTest" delay="0" conditionEdge="rising"> <ByValueCondition> <ParameterCondition parameterRef="" value="" rule="lessThan"/> </ByValueCondition> </Condition> <Condition name="criteria_DrivenDistanceTest" delay="0" conditionEdge="rising"> <ByValueCondition> <ParameterCondition parameterRef="distance_success" value="100" rule="lessThan"/> </ByValueCondition> </Condition> </ConditionGroup> </StopTrigger> </Storyboard> </OpenSCENARIO> ```
Here is the result: ``` <?xml version="1.0" ?> <OpenSCENARIO> <FileHeader revMajor="1" revMinor="0" date="2020-03-24T12:00:00" description="CARLA:LaneChangeSimple" author=""/> <ParameterDeclarations/> <CatalogLocations/> <RoadNetwork> <LogicFile filepath="Town04"/> <SceneGraphFile filepath=""/> </RoadNetwork> <Entities> <ScenarioObject name="hero"> <Vehicle name="vehicle.tesla.model3" vehicleCategory="car"> <ParameterDeclarations/> <Performance maxSpeed="69.444" maxAcceleration="200" maxDeceleration="10.0"/> <BoundingBox> <Center x="1.5" y="0.0" z="0.9"/> <Dimensions width="2.1" length="4.5" height="1.8"/> </BoundingBox> <Axles> <FrontAxle maxSteering="0.5" wheelDiameter="0.6" trackWidth="1.8" positionX="3.1" positionZ="0.3"/> <RearAxle maxSteering="0.0" wheelDiameter="0.6" trackWidth="1.8" positionX="0.0" positionZ="0.3"/> </Axles> <Properties> <Property name="type" value="ego_vehicle"/> </Properties> </Vehicle> </ScenarioObject> <ScenarioObject name="adversary"> <Vehicle name="vehicle.lincoln.mkz_2017" vehicleCategory="car"> <ParameterDeclarations/> <Performance maxSpeed="69.444" maxAcceleration="200" maxDeceleration="10.0"/> <BoundingBox> <Center x="1.5" y="0.0" z="0.9"/> <Dimensions width="2.1" length="4.5" height="1.8"/> </BoundingBox> <Axles> <FrontAxle maxSteering="0.5" wheelDiameter="0.6" trackWidth="1.8" positionX="3.1" positionZ="0.3"/> <RearAxle maxSteering="0.0" wheelDiameter="0.6" trackWidth="1.8" positionX="0.0" positionZ="0.3"/> </Axles> <Properties> <Property name="type" value="simulation"/> </Properties> </Vehicle> </ScenarioObject> <ScenarioObject name="standing"> <Vehicle name="vehicle.volkswagen.t2" vehicleCategory="car"> <ParameterDeclarations/> <Performance maxSpeed="69.444" maxAcceleration="200" maxDeceleration="10.0"/> <BoundingBox> <Center x="1.5" y="0.0" z="0.9"/> <Dimensions width="2.1" length="4.5" height="1.8"/> </BoundingBox> <Axles> <FrontAxle maxSteering="0.5" wheelDiameter="0.6" trackWidth="1.8" positionX="3.1" positionZ="0.3"/> <RearAxle maxSteering="0.0" wheelDiameter="0.6" trackWidth="1.8" positionX="0.0" positionZ="0.3"/> </Axles> <Properties> <Property name="type" value="simulation"/> </Properties> </Vehicle> </ScenarioObject> <ScenarioObject name="pedestrian_close_to_adversary_14525"> <Pedestrian model="walker.pedestrian.0001" mass="80" name="walker.pedestrian.0001" pedestrianCategory="pedestrian"> <ParameterDeclarations/> <BoundingBox> <Center x="1.5" y="0.0" z="0.9"/> <Dimensions width="2" length="2" height="2"/> </BoundingBox> <Properties> <Property name="type" value="simulation"/> </Properties> </Pedestrian> </ScenarioObject> <ScenarioObject name="pedestrian_w_transform_14526"> <Pedestrian model="walker.pedestrian.0001" mass="80" name="walker.pedestrian.0001" pedestrianCategory="pedestrian"> <ParameterDeclarations/> <BoundingBox> <Center x="1.5" y="0.0" z="0.9"/> <Dimensions width="2" length="2" height="2"/> </BoundingBox> <Properties> <Property name="type" value="simulation"/> </Properties> </Pedestrian> </ScenarioObject> <ScenarioObject name="pedestrian_w_transform_14527"> <Pedestrian model="walker.pedestrian.0001" mass="80" name="walker.pedestrian.0001" pedestrianCategory="pedestrian"> <ParameterDeclarations/> <BoundingBox> <Center x="1.5" y="0.0" z="0.9"/> <Dimensions width="2" length="2" height="2"/> </BoundingBox> <Properties> <Property name="type" value="simulation"/> </Properties> </Pedestrian> </ScenarioObject> <ScenarioObject name="pedestrian_w_transform_14528"> <Pedestrian model="walker.pedestrian.0001" mass="80" name="walker.pedestrian.0001" pedestrianCategory="pedestrian"> <ParameterDeclarations/> <BoundingBox> <Center x="1.5" y="0.0" z="0.9"/> <Dimensions width="2" length="2" height="2"/> </BoundingBox> <Properties> <Property name="type" value="simulation"/> </Properties> </Pedestrian> </ScenarioObject> <ScenarioObject name="pedestrian_w_transform_14529"> <Pedestrian model="walker.pedestrian.0001" mass="80" name="walker.pedestrian.0001" pedestrianCategory="pedestrian"> <ParameterDeclarations/> <BoundingBox> <Center x="1.5" y="0.0" z="0.9"/> <Dimensions width="2" length="2" height="2"/> </BoundingBox> <Properties> <Property name="type" value="simulation"/> </Properties> </Pedestrian> </ScenarioObject> <ScenarioObject name="pedestrian_w_transform_14530"> <Pedestrian model="walker.pedestrian.0001" mass="80" name="walker.pedestrian.0001" pedestrianCategory="pedestrian"> <ParameterDeclarations/> <BoundingBox> <Center x="1.5" y="0.0" z="0.9"/> <Dimensions width="2" length="2" height="2"/> </BoundingBox> <Properties> <Property name="type" value="simulation"/> </Properties> </Pedestrian> </ScenarioObject> <ScenarioObject name="pedestrian_w_transform_14531"> <Pedestrian model="walker.pedestrian.0001" mass="80" name="walker.pedestrian.0001" pedestrianCategory="pedestrian"> <ParameterDeclarations/> <BoundingBox> <Center x="1.5" y="0.0" z="0.9"/> <Dimensions width="2" length="2" height="2"/> </BoundingBox> <Properties> <Property name="type" value="simulation"/> </Properties> </Pedestrian> </ScenarioObject> <ScenarioObject name="pedestrian_w_transform_14532"> <Pedestrian model="walker.pedestrian.0001" mass="80" name="walker.pedestrian.0001" pedestrianCategory="pedestrian"> <ParameterDeclarations/> <BoundingBox> <Center x="1.5" y="0.0" z="0.9"/> <Dimensions width="2" length="2" height="2"/> </BoundingBox> <Properties> <Property name="type" value="simulation"/> </Properties> </Pedestrian> </ScenarioObject> <ScenarioObject name="pedestrian_close_to_hero_14533"> <Pedestrian model="walker.pedestrian.0001" mass="80" name="walker.pedestrian.0001" pedestrianCategory="pedestrian"> <ParameterDeclarations/> <BoundingBox> <Center x="1.5" y="0.0" z="0.9"/> <Dimensions width="2" length="2" height="2"/> </BoundingBox> <Properties> <Property name="type" value="simulation"/> </Properties> </Pedestrian> </ScenarioObject> <ScenarioObject name="pedestrian_w_transform_14534"> <Pedestrian model="walker.pedestrian.0001" mass="80" name="walker.pedestrian.0001" pedestrianCategory="pedestrian"> <ParameterDeclarations/> <BoundingBox> <Center x="1.5" y="0.0" z="0.9"/> <Dimensions width="2" length="2" height="2"/> </BoundingBox> <Properties> <Property name="type" value="simulation"/> </Properties> </Pedestrian> </ScenarioObject> <ScenarioObject name="pedestrian_w_transform_14535"> <Pedestrian model="walker.pedestrian.0001" mass="80" name="walker.pedestrian.0001" pedestrianCategory="pedestrian"> <ParameterDeclarations/> <BoundingBox> <Center x="1.5" y="0.0" z="0.9"/> <Dimensions width="2" length="2" height="2"/> </BoundingBox> <Properties> <Property name="type" value="simulation"/> </Properties> </Pedestrian> </ScenarioObject> <ScenarioObject name="pedestrian_w_transform_14536"> <Pedestrian model="walker.pedestrian.0001" mass="80" name="walker.pedestrian.0001" pedestrianCategory="pedestrian"> <ParameterDeclarations/> <BoundingBox> <Center x="1.5" y="0.0" z="0.9"/> <Dimensions width="2" length="2" height="2"/> </BoundingBox> <Properties> <Property name="type" value="simulation"/> </Properties> </Pedestrian> </ScenarioObject> <ScenarioObject name="pedestrian_w_transform_14537"> <Pedestrian model="walker.pedestrian.0001" mass="80" name="walker.pedestrian.0001" pedestrianCategory="pedestrian"> <ParameterDeclarations/> <BoundingBox> <Center x="1.5" y="0.0" z="0.9"/> <Dimensions width="2" length="2" height="2"/> </BoundingBox> <Properties> <Property name="type" value="simulation"/> </Properties> </Pedestrian> </ScenarioObject> <ScenarioObject name="pedestrian_w_transform_14538"> <Pedestrian model="walker.pedestrian.0001" mass="80" name="walker.pedestrian.0001" pedestrianCategory="pedestrian"> <ParameterDeclarations/> <BoundingBox> <Center x="1.5" y="0.0" z="0.9"/> <Dimensions width="2" length="2" height="2"/> </BoundingBox> <Properties> <Property name="type" value="simulation"/> </Properties> </Pedestrian> </ScenarioObject> <ScenarioObject name="pedestrian_w_transform_14539"> <Pedestrian model="walker.pedestrian.0001" mass="80" name="walker.pedestrian.0001" pedestrianCategory="pedestrian"> <ParameterDeclarations/> <BoundingBox> <Center x="1.5" y="0.0" z="0.9"/> <Dimensions width="2" length="2" height="2"/> </BoundingBox> <Properties> <Property name="type" value="simulation"/> </Properties> </Pedestrian> </ScenarioObject> <ScenarioObject name="pedestrian_close_to_adversary_14540"> <Pedestrian model="walker.pedestrian.0001" mass="80" name="walker.pedestrian.0001" pedestrianCategory="pedestrian"> <ParameterDeclarations/> <BoundingBox> <Center x="1.5" y="0.0" z="0.9"/> <Dimensions width="2" length="2" height="2"/> </BoundingBox> <Properties> <Property name="type" value="simulation"/> </Properties> </Pedestrian> </ScenarioObject> <ScenarioObject name="pedestrian_close_to_standing_14541"> <Pedestrian model="walker.pedestrian.0001" mass="80" name="walker.pedestrian.0001" pedestrianCategory="pedestrian"> <ParameterDeclarations/> <BoundingBox> <Center x="1.5" y="0.0" z="0.9"/> <Dimensions width="2" length="2" height="2"/> </BoundingBox> <Properties> <Property name="type" value="simulation"/> </Properties> </Pedestrian> </ScenarioObject> <ScenarioObject name="pedestrian_w_transform_14542"> <Pedestrian model="walker.pedestrian.0001" mass="80" name="walker.pedestrian.0001" pedestrianCategory="pedestrian"> <ParameterDeclarations/> <BoundingBox> <Center x="1.5" y="0.0" z="0.9"/> <Dimensions width="2" length="2" height="2"/> </BoundingBox> <Properties> <Property name="type" value="simulation"/> </Properties> </Pedestrian> </ScenarioObject> <ScenarioObject name="pedestrian_w_transform_14543"> <Pedestrian model="walker.pedestrian.0001" mass="80" name="walker.pedestrian.0001" pedestrianCategory="pedestrian"> <ParameterDeclarations/> <BoundingBox> <Center x="1.5" y="0.0" z="0.9"/> <Dimensions width="2" length="2" height="2"/> </BoundingBox> <Properties> <Property name="type" value="simulation"/> </Properties> </Pedestrian> </ScenarioObject> <ScenarioObject name="pedestrian_close_to_standing_14544"> <Pedestrian model="walker.pedestrian.0001" mass="80" name="walker.pedestrian.0001" pedestrianCategory="pedestrian"> <ParameterDeclarations/> <BoundingBox> <Center x="1.5" y="0.0" z="0.9"/> <Dimensions width="2" length="2" height="2"/> </BoundingBox> <Properties> <Property name="type" value="simulation"/> </Properties> </Pedestrian> </ScenarioObject> <ScenarioObject name="pedestrian_close_to_hero_14545"> <Pedestrian model="walker.pedestrian.0001" mass="80" name="walker.pedestrian.0001" pedestrianCategory="pedestrian"> <ParameterDeclarations/> <BoundingBox> <Center x="1.5" y="0.0" z="0.9"/> <Dimensions width="2" length="2" height="2"/> </BoundingBox> <Properties> <Property name="type" value="simulation"/> </Properties> </Pedestrian> </ScenarioObject> <ScenarioObject name="pedestrian_close_to_adversary_14546"> <Pedestrian model="walker.pedestrian.0001" mass="80" name="walker.pedestrian.0001" pedestrianCategory="pedestrian"> <ParameterDeclarations/> <BoundingBox> <Center x="1.5" y="0.0" z="0.9"/> <Dimensions width="2" length="2" height="2"/> </BoundingBox> <Properties> <Property name="type" value="simulation"/> </Properties> </Pedestrian> </ScenarioObject> <ScenarioObject name="pedestrian_w_transform_14547"> <Pedestrian model="walker.pedestrian.0001" mass="80" name="walker.pedestrian.0001" pedestrianCategory="pedestrian"> <ParameterDeclarations/> <BoundingBox> <Center x="1.5" y="0.0" z="0.9"/> <Dimensions width="2" length="2" height="2"/> </BoundingBox> <Properties> <Property name="type" value="simulation"/> </Properties> </Pedestrian> </ScenarioObject> </Entities> <Storyboard> <Init> <Actions> <GlobalAction> <EnvironmentAction> <Environment name="Environment1"> <TimeOfDay animation="false" dateTime="2019-06-25T12:00:00"/> <Weather cloudState="free"> <Sun intensity="0.85" azimuth="0" elevation="1.31"/> <Fog visualRange="100000.0"/> <Precipitation precipitationType="dry" intensity="0.0"/> </Weather> <RoadCondition frictionScaleFactor="1.0"/> </Environment> </EnvironmentAction> </GlobalAction> <Private entityRef="hero"> <PrivateAction> <TeleportAction> <Position> <WorldPosition x="-9.4" y="-152.8" z="0.5" h="1.57079632679"/> </Position> </TeleportAction> </PrivateAction> <PrivateAction> <ControllerAction> <AssignControllerAction> <Controller name="HeroAgent"> <Properties> <Property name="module" value="external_control"/> </Properties> </Controller> </AssignControllerAction> <OverrideControllerValueAction> <Throttle value="0" active="false"/> <Brake value="0" active="false"/> <Clutch value="0" active="false"/> <ParkingBrake value="0" active="false"/> <SteeringWheel value="0" active="false"/> <Gear number="0" active="false"/> </OverrideControllerValueAction> </ControllerAction> </PrivateAction> </Private> <Private entityRef="adversary"> <PrivateAction> <TeleportAction> <Position> <WorldPosition x="-9.4" y="-71.0" z="0.5" h="1.57079632679"/> </Position> </TeleportAction> </PrivateAction> </Private> <Private entityRef="standing"> <PrivateAction> <TeleportAction> <Position> <WorldPosition x="-8.2" y="29.2" z="0.5" h="1.57079632679"/> </Position> </TeleportAction> </PrivateAction> </Private> <Private entityRef="pedestrian_close_to_adversary_14525"> <PrivateAction> <TeleportAction> <Position> <WorldPosition x="-18.3381290435791" y="-75.2737045288086" z="0.033790092915296555"/> </Position> </TeleportAction> </PrivateAction> </Private> <Private entityRef="pedestrian_w_transform_14526"> <PrivateAction> <TeleportAction> <Position> <WorldPosition x="-56.01234436035156" y="3.2705836296081543" z="0.5"/> </Position> </TeleportAction> </PrivateAction> </Private> <Private entityRef="pedestrian_w_transform_14527"> <PrivateAction> <TeleportAction> <Position> <WorldPosition x="1.8107218742370605" y="33.24715042114258" z="0.5"/> </Position> </TeleportAction> </PrivateAction> </Private> <Private entityRef="pedestrian_w_transform_14528"> <PrivateAction> <TeleportAction> <Position> <WorldPosition x="13.730735778808594" y="78.42337036132812" z="0.5"/> </Position> </TeleportAction> </PrivateAction> </Private> <Private entityRef="pedestrian_w_transform_14529"> <PrivateAction> <TeleportAction> <Position> <WorldPosition x="20.640247344970703" y="90.85359191894531" z="0.5"/> </Position> </TeleportAction> </PrivateAction> </Private> <Private entityRef="pedestrian_w_transform_14530"> <PrivateAction> <TeleportAction> <Position> <WorldPosition x="87.22517395019531" y="53.88477325439453" z="0.5"/> </Position> </TeleportAction> </PrivateAction> </Private> <Private entityRef="pedestrian_w_transform_14531"> <PrivateAction> <TeleportAction> <Position> <WorldPosition x="-53.06377029418945" y="52.53348922729492" z="0.5"/> </Position> </TeleportAction> </PrivateAction> </Private> <Private entityRef="pedestrian_w_transform_14532"> <PrivateAction> <TeleportAction> <Position> <WorldPosition x="2.010098934173584" y="-27.53154182434082" z="0.5"/> </Position> </TeleportAction> </PrivateAction> </Private> <Private entityRef="pedestrian_close_to_hero_14533"> <PrivateAction> <TeleportAction> <Position> <WorldPosition x="-6.968897342681885" y="-160.7616424560547" z="0.0014286803780123591"/> </Position> </TeleportAction> </PrivateAction> </Private> <Private entityRef="pedestrian_w_transform_14534"> <PrivateAction> <TeleportAction> <Position> <WorldPosition x="-58.05228042602539" y="33.03984832763672" z="0.5"/> </Position> </TeleportAction> </PrivateAction> </Private> <Private entityRef="pedestrian_w_transform_14535"> <PrivateAction> <TeleportAction> <Position> <WorldPosition x="23.623519897460938" y="96.40071105957031" z="0.5"/> </Position> </TeleportAction> </PrivateAction> </Private> <Private entityRef="pedestrian_w_transform_14536"> <PrivateAction> <TeleportAction> <Position> <WorldPosition x="-71.46648406982422" y="-27.357290267944336" z="0.5"/> </Position> </TeleportAction> </PrivateAction> </Private> <Private entityRef="pedestrian_w_transform_14537"> <PrivateAction> <TeleportAction> <Position> <WorldPosition x="5.77756929397583" y="-55.809722900390625" z="0.5"/> </Position> </TeleportAction> </PrivateAction> </Private> <Private entityRef="pedestrian_w_transform_14538"> <PrivateAction> <TeleportAction> <Position> <WorldPosition x="84.00178527832031" y="-37.69733428955078" z="0.5"/> </Position> </TeleportAction> </PrivateAction> </Private> <Private entityRef="pedestrian_w_transform_14539"> <PrivateAction> <TeleportAction> <Position> <WorldPosition x="-19.266094207763672" y="82.75418090820312" z="0.5"/> </Position> </TeleportAction> </PrivateAction> </Private> <Private entityRef="pedestrian_close_to_adversary_14540"> <PrivateAction> <TeleportAction> <Position> <WorldPosition x="-15.866621017456055" y="-66.80957794189453" z="0.03376636281609535"/> </Position> </TeleportAction> </PrivateAction> </Private> <Private entityRef="pedestrian_close_to_standing_14541"> <PrivateAction> <TeleportAction> <Position> <WorldPosition x="1.3215616941452026" y="29.27849769592285" z="0.0030832672491669655"/> </Position> </TeleportAction> </PrivateAction> </Private> <Private entityRef="pedestrian_w_transform_14542"> <PrivateAction> <TeleportAction> <Position> <WorldPosition x="-44.89462661743164" y="3.5382773876190186" z="0.5"/> </Position> </TeleportAction> </PrivateAction> </Private> <Private entityRef="pedestrian_w_transform_14543"> <PrivateAction> <TeleportAction> <Position> <WorldPosition x="-2.16412615776062" y="44.09730529785156" z="0.5"/> </Position> </TeleportAction> </PrivateAction> </Private> <Private entityRef="pedestrian_close_to_standing_14544"> <PrivateAction> <TeleportAction> <Position> <WorldPosition x="-12.164441108703613" y="33.851749420166016" z="0.0031182097736746073"/> </Position> </TeleportAction> </PrivateAction> </Private> <Private entityRef="pedestrian_close_to_hero_14545"> <PrivateAction> <TeleportAction> <Position> <WorldPosition x="-14.329877853393555" y="-154.6316375732422" z="0.0014286803780123591"/> </Position> </TeleportAction> </PrivateAction> </Private> <Private entityRef="pedestrian_close_to_adversary_14546"> <PrivateAction> <TeleportAction> <Position> <WorldPosition x="-14.974162101745605" y="-71.45030975341797" z="0.033806152641773224"/> </Position> </TeleportAction> </PrivateAction> </Private> <Private entityRef="pedestrian_w_transform_14547"> <PrivateAction> <TeleportAction> <Position> <WorldPosition x="-37.044471740722656" y="56.15079116821289" z="0.5"/> </Position> </TeleportAction> </PrivateAction> </Private> </Actions> </Init> <Story name="MyStory"> <Act name="Behavior"> <ManeuverGroup maximumExecutionCount="1" name="ManeuverSequence"> <Actors selectTriggeringEntities="false"> <EntityRef entityRef="adversary"/> </Actors> <Maneuver name="LaneChangeSimpleManeuver"> <Event name="AdversaryAccelerates" priority="overwrite"> <Action name="AdversaryAccelerates"> <PrivateAction> <LongitudinalAction> <SpeedAction> <SpeedActionDynamics dynamicsShape="step" value="50" dynamicsDimension="distance"/> <SpeedActionTarget> <AbsoluteTargetSpeed value="5.0"/> </SpeedActionTarget> </SpeedAction> </LongitudinalAction> </PrivateAction> </Action> <StartTrigger> <ConditionGroup> <Condition name="StartCondition" delay="0" conditionEdge="rising"> <ByEntityCondition> <TriggeringEntities triggeringEntitiesRule="any"> <EntityRef entityRef="hero"/> </TriggeringEntities> <EntityCondition> <RelativeDistanceCondition entityRef="adversary" relativeDistanceType="cartesianDistance" value="40.0" freespace="false" rule="lessThan"/> </EntityCondition> </ByEntityCondition> </Condition> </ConditionGroup> </StartTrigger> </Event> <Event name="AdversaryChangesLane" priority="overwrite"> <Action name="AdversaryChangesLane"> <PrivateAction> <LateralAction> <LaneChangeAction> <LaneChangeActionDynamics dynamicsShape="linear" value="25" dynamicsDimension="distance"/> <LaneChangeTarget> <RelativeTargetLane entityRef="adversary" value="-1"/> </LaneChangeTarget> </LaneChangeAction> </LateralAction> </PrivateAction> </Action> <StartTrigger> <ConditionGroup> <Condition name="AfterAdversaryAccelerates" delay="0" conditionEdge="rising"> <ByValueCondition> <StoryboardElementStateCondition storyboardElementType="action" storyboardElementRef="AdversaryAccelerates" state="completeState"/> </ByValueCondition> </Condition> </ConditionGroup> </StartTrigger> </Event> </Maneuver> </ManeuverGroup> <StartTrigger> <ConditionGroup> <Condition name="OverallStartCondition" delay="0" conditionEdge="rising"> <ByEntityCondition> <TriggeringEntities triggeringEntitiesRule="any"> <EntityRef entityRef="hero"/> </TriggeringEntities> <EntityCondition> <TraveledDistanceCondition value="1.0"/> </EntityCondition> </ByEntityCondition> </Condition> <Condition name="StartTime" delay="0" conditionEdge="rising"> <ByValueCondition> <SimulationTimeCondition value="0" rule="equalTo"/> </ByValueCondition> </Condition> </ConditionGroup> </StartTrigger> <StopTrigger> <ConditionGroup> <Condition name="EndCondition" delay="0" conditionEdge="rising"> <ByEntityCondition> <TriggeringEntities triggeringEntitiesRule="any"> <EntityRef entityRef="hero"/> </TriggeringEntities> <EntityCondition> <TraveledDistanceCondition value="200.0"/> </EntityCondition> </ByEntityCondition> </Condition> </ConditionGroup> </StopTrigger> </Act> </Story> <StopTrigger> <ConditionGroup> <Condition name="criteria_RunningStopTest" delay="0" conditionEdge="rising"> <ByValueCondition> <ParameterCondition parameterRef="" value="" rule="lessThan"/> </ByValueCondition> </Condition> <Condition name="criteria_RunningRedLightTest" delay="0" conditionEdge="rising"> <ByValueCondition> <ParameterCondition parameterRef="" value="" rule="lessThan"/> </ByValueCondition> </Condition> <Condition name="criteria_WrongLaneTest" delay="0" conditionEdge="rising"> <ByValueCondition> <ParameterCondition parameterRef="" value="" rule="lessThan"/> </ByValueCondition> </Condition> <Condition name="criteria_OnSidewalkTest" delay="0" conditionEdge="rising"> <ByValueCondition> <ParameterCondition parameterRef="" value="" rule="lessThan"/> </ByValueCondition> </Condition> <Condition name="criteria_KeepLaneTest" delay="0" conditionEdge="rising"> <ByValueCondition> <ParameterCondition parameterRef="" value="" rule="lessThan"/> </ByValueCondition> </Condition> <Condition name="criteria_CollisionTest" delay="0" conditionEdge="rising"> <ByValueCondition> <ParameterCondition parameterRef="" value="" rule="lessThan"/> </ByValueCondition> </Condition> <Condition name="criteria_DrivenDistanceTest" delay="0" conditionEdge="rising"> <ByValueCondition> <ParameterCondition parameterRef="distance_success" value="100" rule="lessThan"/> </ByValueCondition> </Condition> </ConditionGroup> </StopTrigger> </Storyboard> </OpenSCENARIO> ```
i would like to guide you to add pedestrian at location (75.24, 85.65, 0.5)? ``` <?xml version="1.0" ?> <OpenSCENARIO> <FileHeader revMajor="1" revMinor="0" date="2020-03-24T12:00:00" description="CARLA:LaneChangeSimple" author=""/> <ParameterDeclarations/> <CatalogLocations/> <RoadNetwork> <LogicFile filepath="Town04"/> <SceneGraphFile filepath=""/> </RoadNetwork> <Entities> <ScenarioObject name="hero"> <Vehicle name="vehicle.tesla.model3" vehicleCategory="car"> <ParameterDeclarations/> <Performance maxSpeed="69.444" maxAcceleration="200" maxDeceleration="10.0"/> <BoundingBox> <Center x="1.5" y="0.0" z="0.9"/> <Dimensions width="2.1" length="4.5" height="1.8"/> </BoundingBox> <Axles> <FrontAxle maxSteering="0.5" wheelDiameter="0.6" trackWidth="1.8" positionX="3.1" positionZ="0.3"/> <RearAxle maxSteering="0.0" wheelDiameter="0.6" trackWidth="1.8" positionX="0.0" positionZ="0.3"/> </Axles> <Properties> <Property name="type" value="ego_vehicle"/> </Properties> </Vehicle> </ScenarioObject> <ScenarioObject name="adversary"> <Vehicle name="vehicle.lincoln.mkz_2017" vehicleCategory="car"> <ParameterDeclarations/> <Performance maxSpeed="69.444" maxAcceleration="200" maxDeceleration="10.0"/> <BoundingBox> <Center x="1.5" y="0.0" z="0.9"/> <Dimensions width="2.1" length="4.5" height="1.8"/> </BoundingBox> <Axles> <FrontAxle maxSteering="0.5" wheelDiameter="0.6" trackWidth="1.8" positionX="3.1" positionZ="0.3"/> <RearAxle maxSteering="0.0" wheelDiameter="0.6" trackWidth="1.8" positionX="0.0" positionZ="0.3"/> </Axles> <Properties> <Property name="type" value="simulation"/> </Properties> </Vehicle> </ScenarioObject> <ScenarioObject name="standing"> <Vehicle name="vehicle.volkswagen.t2" vehicleCategory="car"> <ParameterDeclarations/> <Performance maxSpeed="69.444" maxAcceleration="200" maxDeceleration="10.0"/> <BoundingBox> <Center x="1.5" y="0.0" z="0.9"/> <Dimensions width="2.1" length="4.5" height="1.8"/> </BoundingBox> <Axles> <FrontAxle maxSteering="0.5" wheelDiameter="0.6" trackWidth="1.8" positionX="3.1" positionZ="0.3"/> <RearAxle maxSteering="0.0" wheelDiameter="0.6" trackWidth="1.8" positionX="0.0" positionZ="0.3"/> </Axles> <Properties> <Property name="type" value="simulation"/> </Properties> </Vehicle> </ScenarioObject> <ScenarioObject name="pedestrian_close_to_hero_5296"> <Pedestrian model="walker.pedestrian.0001" mass="80" name="walker.pedestrian.0001" pedestrianCategory="pedestrian"> <ParameterDeclarations/> <BoundingBox> <Center x="1.5" y="0.0" z="0.9"/> <Dimensions width="2" length="2" height="2"/> </BoundingBox> <Properties> <Property name="type" value="simulation"/> </Properties> </Pedestrian> </ScenarioObject> <ScenarioObject name="pedestrian_close_to_standing_5297"> <Pedestrian model="walker.pedestrian.0001" mass="80" name="walker.pedestrian.0001" pedestrianCategory="pedestrian"> <ParameterDeclarations/> <BoundingBox> <Center x="1.5" y="0.0" z="0.9"/> <Dimensions width="2" length="2" height="2"/> </BoundingBox> <Properties> <Property name="type" value="simulation"/> </Properties> </Pedestrian> </ScenarioObject> <ScenarioObject name="pedestrian_close_to_adversary_5298"> <Pedestrian model="walker.pedestrian.0001" mass="80" name="walker.pedestrian.0001" pedestrianCategory="pedestrian"> <ParameterDeclarations/> <BoundingBox> <Center x="1.5" y="0.0" z="0.9"/> <Dimensions width="2" length="2" height="2"/> </BoundingBox> <Properties> <Property name="type" value="simulation"/> </Properties> </Pedestrian> </ScenarioObject> <ScenarioObject name="pedestrian_w_transform_5299"> <Pedestrian model="walker.pedestrian.0001" mass="80" name="walker.pedestrian.0001" pedestrianCategory="pedestrian"> <ParameterDeclarations/> <BoundingBox> <Center x="1.5" y="0.0" z="0.9"/> <Dimensions width="2" length="2" height="2"/> </BoundingBox> <Properties> <Property name="type" value="simulation"/> </Properties> </Pedestrian> </ScenarioObject> <ScenarioObject name="pedestrian_close_to_hero_5300"> <Pedestrian model="walker.pedestrian.0001" mass="80" name="walker.pedestrian.0001" pedestrianCategory="pedestrian"> <ParameterDeclarations/> <BoundingBox> <Center x="1.5" y="0.0" z="0.9"/> <Dimensions width="2" length="2" height="2"/> </BoundingBox> <Properties> <Property name="type" value="simulation"/> </Properties> </Pedestrian> </ScenarioObject> <ScenarioObject name="pedestrian_w_transform_5301"> <Pedestrian model="walker.pedestrian.0001" mass="80" name="walker.pedestrian.0001" pedestrianCategory="pedestrian"> <ParameterDeclarations/> <BoundingBox> <Center x="1.5" y="0.0" z="0.9"/> <Dimensions width="2" length="2" height="2"/> </BoundingBox> <Properties> <Property name="type" value="simulation"/> </Properties> </Pedestrian> </ScenarioObject> <ScenarioObject name="pedestrian_close_to_hero_5302"> <Pedestrian model="walker.pedestrian.0001" mass="80" name="walker.pedestrian.0001" pedestrianCategory="pedestrian"> <ParameterDeclarations/> <BoundingBox> <Center x="1.5" y="0.0" z="0.9"/> <Dimensions width="2" length="2" height="2"/> </BoundingBox> <Properties> <Property name="type" value="simulation"/> </Properties> </Pedestrian> </ScenarioObject> <ScenarioObject name="pedestrian_close_to_standing_5303"> <Pedestrian model="walker.pedestrian.0001" mass="80" name="walker.pedestrian.0001" pedestrianCategory="pedestrian"> <ParameterDeclarations/> <BoundingBox> <Center x="1.5" y="0.0" z="0.9"/> <Dimensions width="2" length="2" height="2"/> </BoundingBox> <Properties> <Property name="type" value="simulation"/> </Properties> </Pedestrian> </ScenarioObject> <ScenarioObject name="pedestrian_close_to_hero_5304"> <Pedestrian model="walker.pedestrian.0001" mass="80" name="walker.pedestrian.0001" pedestrianCategory="pedestrian"> <ParameterDeclarations/> <BoundingBox> <Center x="1.5" y="0.0" z="0.9"/> <Dimensions width="2" length="2" height="2"/> </BoundingBox> <Properties> <Property name="type" value="simulation"/> </Properties> </Pedestrian> </ScenarioObject> <ScenarioObject name="pedestrian_close_to_adversary_5305"> <Pedestrian model="walker.pedestrian.0001" mass="80" name="walker.pedestrian.0001" pedestrianCategory="pedestrian"> <ParameterDeclarations/> <BoundingBox> <Center x="1.5" y="0.0" z="0.9"/> <Dimensions width="2" length="2" height="2"/> </BoundingBox> <Properties> <Property name="type" value="simulation"/> </Properties> </Pedestrian> </ScenarioObject> <ScenarioObject name="pedestrian_close_to_adversary_5306"> <Pedestrian model="walker.pedestrian.0001" mass="80" name="walker.pedestrian.0001" pedestrianCategory="pedestrian"> <ParameterDeclarations/> <BoundingBox> <Center x="1.5" y="0.0" z="0.9"/> <Dimensions width="2" length="2" height="2"/> </BoundingBox> <Properties> <Property name="type" value="simulation"/> </Properties> </Pedestrian> </ScenarioObject> <ScenarioObject name="pedestrian_w_transform_5307"> <Pedestrian model="walker.pedestrian.0001" mass="80" name="walker.pedestrian.0001" pedestrianCategory="pedestrian"> <ParameterDeclarations/> <BoundingBox> <Center x="1.5" y="0.0" z="0.9"/> <Dimensions width="2" length="2" height="2"/> </BoundingBox> <Properties> <Property name="type" value="simulation"/> </Properties> </Pedestrian> </ScenarioObject> </Entities> <Storyboard> <Init> <Actions> <GlobalAction> <EnvironmentAction> <Environment name="Environment1"> <TimeOfDay animation="false" dateTime="2019-06-25T12:00:00"/> <Weather cloudState="free"> <Sun intensity="0.85" azimuth="0" elevation="1.31"/> <Fog visualRange="100000.0"/> <Precipitation precipitationType="dry" intensity="0.0"/> </Weather> <RoadCondition frictionScaleFactor="1.0"/> </Environment> </EnvironmentAction> </GlobalAction> <Private entityRef="hero"> <PrivateAction> <TeleportAction> <Position> <WorldPosition x="-9.4" y="-152.8" z="0.5" h="1.57079632679"/> </Position> </TeleportAction> </PrivateAction> <PrivateAction> <ControllerAction> <AssignControllerAction> <Controller name="HeroAgent"> <Properties> <Property name="module" value="external_control"/> </Properties> </Controller> </AssignControllerAction> <OverrideControllerValueAction> <Throttle value="0" active="false"/> <Brake value="0" active="false"/> <Clutch value="0" active="false"/> <ParkingBrake value="0" active="false"/> <SteeringWheel value="0" active="false"/> <Gear number="0" active="false"/> </OverrideControllerValueAction> </ControllerAction> </PrivateAction> </Private> <Private entityRef="adversary"> <PrivateAction> <TeleportAction> <Position> <WorldPosition x="-9.4" y="-71.0" z="0.5" h="1.57079632679"/> </Position> </TeleportAction> </PrivateAction> </Private> <Private entityRef="standing"> <PrivateAction> <TeleportAction> <Position> <WorldPosition x="-8.2" y="29.2" z="0.5" h="1.57079632679"/> </Position> </TeleportAction> </PrivateAction> </Private> <Private entityRef="pedestrian_close_to_hero_5296"> <PrivateAction> <TeleportAction> <Position> <WorldPosition x="-1.628769874572754" y="-149.02647399902344" z="0.0014286803780123591"/> </Position> </TeleportAction> </PrivateAction> </Private> <Private entityRef="pedestrian_close_to_standing_5297"> <PrivateAction> <TeleportAction> <Position> <WorldPosition x="-5.933564186096191" y="37.858642578125" z="0.0030536651611328125"/> </Position> </TeleportAction> </PrivateAction> </Private> <Private entityRef="pedestrian_close_to_adversary_5298"> <PrivateAction> <TeleportAction> <Position> <WorldPosition x="-12.583029747009277" y="-76.046630859375" z="0.033799245953559875"/> </Position> </TeleportAction> </PrivateAction> </Private> <Private entityRef="pedestrian_w_transform_5299"> <PrivateAction> <TeleportAction> <Position> <WorldPosition x="75.80875396728516" y="92.6866226196289" z="0.5"/> </Position> </TeleportAction> </PrivateAction> </Private> <Private entityRef="pedestrian_close_to_hero_5300"> <PrivateAction> <TeleportAction> <Position> <WorldPosition x="-17.16276741027832" y="-158.1902313232422" z="0.0014286803780123591"/> </Position> </TeleportAction> </PrivateAction> </Private> <Private entityRef="pedestrian_w_transform_5301"> <PrivateAction> <TeleportAction> <Position> <WorldPosition x="-89.48986053466797" y="67.22550201416016" z="0.5"/> </Position> </TeleportAction> </PrivateAction> </Private> <Private entityRef="pedestrian_close_to_hero_5302"> <PrivateAction> <TeleportAction> <Position> <WorldPosition x="-7.637406826019287" y="-150.10740661621094" z="0.0014286803780123591"/> </Position> </TeleportAction> </PrivateAction> </Private> <Private entityRef="pedestrian_close_to_standing_5303"> <PrivateAction> <TeleportAction> <Position> <WorldPosition x="0.655483603477478" y="21.777448654174805" z="0.003070259001106024"/> </Position> </TeleportAction> </PrivateAction> </Private> <Private entityRef="pedestrian_close_to_hero_5304"> <PrivateAction> <TeleportAction> <Position> <WorldPosition x="-6.508596897125244" y="-160.69863891601562" z="0.0014286803780123591"/> </Position> </TeleportAction> </PrivateAction> </Private> <Private entityRef="pedestrian_close_to_adversary_5305"> <PrivateAction> <TeleportAction> <Position> <WorldPosition x="-8.28770923614502" y="-80.55170440673828" z="0.03386268392205238"/> </Position> </TeleportAction> </PrivateAction> </Private> <Private entityRef="pedestrian_close_to_adversary_5306"> <PrivateAction> <TeleportAction> <Position> <WorldPosition x="1.0562864542007446" y="-76.1018295288086" z="0.03387515991926193"/> </Position> </TeleportAction> </PrivateAction> </Private> <Private entityRef="pedestrian_w_transform_5307"> <PrivateAction> <TeleportAction> <Position> <WorldPosition x="90.42718505859375" y="-77.99192810058594" z="0.5"/> </Position> </TeleportAction> </PrivateAction> </Private> </Actions> </Init> <Story name="MyStory"> <Act name="Behavior"> <ManeuverGroup maximumExecutionCount="1" name="ManeuverSequence"> <Actors selectTriggeringEntities="false"> <EntityRef entityRef="adversary"/> </Actors> <Maneuver name="LaneChangeSimpleManeuver"> <Event name="AdversaryAccelerates" priority="overwrite"> <Action name="AdversaryAccelerates"> <PrivateAction> <LongitudinalAction> <SpeedAction> <SpeedActionDynamics dynamicsShape="step" value="50" dynamicsDimension="distance"/> <SpeedActionTarget> <AbsoluteTargetSpeed value="5.0"/> </SpeedActionTarget> </SpeedAction> </LongitudinalAction> </PrivateAction> </Action> <StartTrigger> <ConditionGroup> <Condition name="StartCondition" delay="0" conditionEdge="rising"> <ByEntityCondition> <TriggeringEntities triggeringEntitiesRule="any"> <EntityRef entityRef="hero"/> </TriggeringEntities> <EntityCondition> <RelativeDistanceCondition entityRef="adversary" relativeDistanceType="cartesianDistance" value="40.0" freespace="false" rule="lessThan"/> </EntityCondition> </ByEntityCondition> </Condition> </ConditionGroup> </StartTrigger> </Event> <Event name="AdversaryChangesLane" priority="overwrite"> <Action name="AdversaryChangesLane"> <PrivateAction> <LateralAction> <LaneChangeAction> <LaneChangeActionDynamics dynamicsShape="linear" value="25" dynamicsDimension="distance"/> <LaneChangeTarget> <RelativeTargetLane entityRef="adversary" value="-1"/> </LaneChangeTarget> </LaneChangeAction> </LateralAction> </PrivateAction> </Action> <StartTrigger> <ConditionGroup> <Condition name="AfterAdversaryAccelerates" delay="0" conditionEdge="rising"> <ByValueCondition> <StoryboardElementStateCondition storyboardElementType="action" storyboardElementRef="AdversaryAccelerates" state="completeState"/> </ByValueCondition> </Condition> </ConditionGroup> </StartTrigger> </Event> </Maneuver> </ManeuverGroup> <StartTrigger> <ConditionGroup> <Condition name="OverallStartCondition" delay="0" conditionEdge="rising"> <ByEntityCondition> <TriggeringEntities triggeringEntitiesRule="any"> <EntityRef entityRef="hero"/> </TriggeringEntities> <EntityCondition> <TraveledDistanceCondition value="1.0"/> </EntityCondition> </ByEntityCondition> </Condition> <Condition name="StartTime" delay="0" conditionEdge="rising"> <ByValueCondition> <SimulationTimeCondition value="0" rule="equalTo"/> </ByValueCondition> </Condition> </ConditionGroup> </StartTrigger> <StopTrigger> <ConditionGroup> <Condition name="EndCondition" delay="0" conditionEdge="rising"> <ByEntityCondition> <TriggeringEntities triggeringEntitiesRule="any"> <EntityRef entityRef="hero"/> </TriggeringEntities> <EntityCondition> <TraveledDistanceCondition value="200.0"/> </EntityCondition> </ByEntityCondition> </Condition> </ConditionGroup> </StopTrigger> </Act> </Story> <StopTrigger> <ConditionGroup> <Condition name="criteria_RunningStopTest" delay="0" conditionEdge="rising"> <ByValueCondition> <ParameterCondition parameterRef="" value="" rule="lessThan"/> </ByValueCondition> </Condition> <Condition name="criteria_RunningRedLightTest" delay="0" conditionEdge="rising"> <ByValueCondition> <ParameterCondition parameterRef="" value="" rule="lessThan"/> </ByValueCondition> </Condition> <Condition name="criteria_WrongLaneTest" delay="0" conditionEdge="rising"> <ByValueCondition> <ParameterCondition parameterRef="" value="" rule="lessThan"/> </ByValueCondition> </Condition> <Condition name="criteria_OnSidewalkTest" delay="0" conditionEdge="rising"> <ByValueCondition> <ParameterCondition parameterRef="" value="" rule="lessThan"/> </ByValueCondition> </Condition> <Condition name="criteria_KeepLaneTest" delay="0" conditionEdge="rising"> <ByValueCondition> <ParameterCondition parameterRef="" value="" rule="lessThan"/> </ByValueCondition> </Condition> <Condition name="criteria_CollisionTest" delay="0" conditionEdge="rising"> <ByValueCondition> <ParameterCondition parameterRef="" value="" rule="lessThan"/> </ByValueCondition> </Condition> <Condition name="criteria_DrivenDistanceTest" delay="0" conditionEdge="rising"> <ByValueCondition> <ParameterCondition parameterRef="distance_success" value="100" rule="lessThan"/> </ByValueCondition> </Condition> </ConditionGroup> </StopTrigger> </Storyboard> </OpenSCENARIO> ```
Here is the result: ``` <?xml version="1.0" ?> <OpenSCENARIO> <FileHeader revMajor="1" revMinor="0" date="2020-03-24T12:00:00" description="CARLA:LaneChangeSimple" author=""/> <ParameterDeclarations/> <CatalogLocations/> <RoadNetwork> <LogicFile filepath="Town04"/> <SceneGraphFile filepath=""/> </RoadNetwork> <Entities> <ScenarioObject name="hero"> <Vehicle name="vehicle.tesla.model3" vehicleCategory="car"> <ParameterDeclarations/> <Performance maxSpeed="69.444" maxAcceleration="200" maxDeceleration="10.0"/> <BoundingBox> <Center x="1.5" y="0.0" z="0.9"/> <Dimensions width="2.1" length="4.5" height="1.8"/> </BoundingBox> <Axles> <FrontAxle maxSteering="0.5" wheelDiameter="0.6" trackWidth="1.8" positionX="3.1" positionZ="0.3"/> <RearAxle maxSteering="0.0" wheelDiameter="0.6" trackWidth="1.8" positionX="0.0" positionZ="0.3"/> </Axles> <Properties> <Property name="type" value="ego_vehicle"/> </Properties> </Vehicle> </ScenarioObject> <ScenarioObject name="adversary"> <Vehicle name="vehicle.lincoln.mkz_2017" vehicleCategory="car"> <ParameterDeclarations/> <Performance maxSpeed="69.444" maxAcceleration="200" maxDeceleration="10.0"/> <BoundingBox> <Center x="1.5" y="0.0" z="0.9"/> <Dimensions width="2.1" length="4.5" height="1.8"/> </BoundingBox> <Axles> <FrontAxle maxSteering="0.5" wheelDiameter="0.6" trackWidth="1.8" positionX="3.1" positionZ="0.3"/> <RearAxle maxSteering="0.0" wheelDiameter="0.6" trackWidth="1.8" positionX="0.0" positionZ="0.3"/> </Axles> <Properties> <Property name="type" value="simulation"/> </Properties> </Vehicle> </ScenarioObject> <ScenarioObject name="standing"> <Vehicle name="vehicle.volkswagen.t2" vehicleCategory="car"> <ParameterDeclarations/> <Performance maxSpeed="69.444" maxAcceleration="200" maxDeceleration="10.0"/> <BoundingBox> <Center x="1.5" y="0.0" z="0.9"/> <Dimensions width="2.1" length="4.5" height="1.8"/> </BoundingBox> <Axles> <FrontAxle maxSteering="0.5" wheelDiameter="0.6" trackWidth="1.8" positionX="3.1" positionZ="0.3"/> <RearAxle maxSteering="0.0" wheelDiameter="0.6" trackWidth="1.8" positionX="0.0" positionZ="0.3"/> </Axles> <Properties> <Property name="type" value="simulation"/> </Properties> </Vehicle> </ScenarioObject> <ScenarioObject name="pedestrian_close_to_hero_5296"> <Pedestrian model="walker.pedestrian.0001" mass="80" name="walker.pedestrian.0001" pedestrianCategory="pedestrian"> <ParameterDeclarations/> <BoundingBox> <Center x="1.5" y="0.0" z="0.9"/> <Dimensions width="2" length="2" height="2"/> </BoundingBox> <Properties> <Property name="type" value="simulation"/> </Properties> </Pedestrian> </ScenarioObject> <ScenarioObject name="pedestrian_close_to_standing_5297"> <Pedestrian model="walker.pedestrian.0001" mass="80" name="walker.pedestrian.0001" pedestrianCategory="pedestrian"> <ParameterDeclarations/> <BoundingBox> <Center x="1.5" y="0.0" z="0.9"/> <Dimensions width="2" length="2" height="2"/> </BoundingBox> <Properties> <Property name="type" value="simulation"/> </Properties> </Pedestrian> </ScenarioObject> <ScenarioObject name="pedestrian_close_to_adversary_5298"> <Pedestrian model="walker.pedestrian.0001" mass="80" name="walker.pedestrian.0001" pedestrianCategory="pedestrian"> <ParameterDeclarations/> <BoundingBox> <Center x="1.5" y="0.0" z="0.9"/> <Dimensions width="2" length="2" height="2"/> </BoundingBox> <Properties> <Property name="type" value="simulation"/> </Properties> </Pedestrian> </ScenarioObject> <ScenarioObject name="pedestrian_w_transform_5299"> <Pedestrian model="walker.pedestrian.0001" mass="80" name="walker.pedestrian.0001" pedestrianCategory="pedestrian"> <ParameterDeclarations/> <BoundingBox> <Center x="1.5" y="0.0" z="0.9"/> <Dimensions width="2" length="2" height="2"/> </BoundingBox> <Properties> <Property name="type" value="simulation"/> </Properties> </Pedestrian> </ScenarioObject> <ScenarioObject name="pedestrian_close_to_hero_5300"> <Pedestrian model="walker.pedestrian.0001" mass="80" name="walker.pedestrian.0001" pedestrianCategory="pedestrian"> <ParameterDeclarations/> <BoundingBox> <Center x="1.5" y="0.0" z="0.9"/> <Dimensions width="2" length="2" height="2"/> </BoundingBox> <Properties> <Property name="type" value="simulation"/> </Properties> </Pedestrian> </ScenarioObject> <ScenarioObject name="pedestrian_w_transform_5301"> <Pedestrian model="walker.pedestrian.0001" mass="80" name="walker.pedestrian.0001" pedestrianCategory="pedestrian"> <ParameterDeclarations/> <BoundingBox> <Center x="1.5" y="0.0" z="0.9"/> <Dimensions width="2" length="2" height="2"/> </BoundingBox> <Properties> <Property name="type" value="simulation"/> </Properties> </Pedestrian> </ScenarioObject> <ScenarioObject name="pedestrian_close_to_hero_5302"> <Pedestrian model="walker.pedestrian.0001" mass="80" name="walker.pedestrian.0001" pedestrianCategory="pedestrian"> <ParameterDeclarations/> <BoundingBox> <Center x="1.5" y="0.0" z="0.9"/> <Dimensions width="2" length="2" height="2"/> </BoundingBox> <Properties> <Property name="type" value="simulation"/> </Properties> </Pedestrian> </ScenarioObject> <ScenarioObject name="pedestrian_close_to_standing_5303"> <Pedestrian model="walker.pedestrian.0001" mass="80" name="walker.pedestrian.0001" pedestrianCategory="pedestrian"> <ParameterDeclarations/> <BoundingBox> <Center x="1.5" y="0.0" z="0.9"/> <Dimensions width="2" length="2" height="2"/> </BoundingBox> <Properties> <Property name="type" value="simulation"/> </Properties> </Pedestrian> </ScenarioObject> <ScenarioObject name="pedestrian_close_to_hero_5304"> <Pedestrian model="walker.pedestrian.0001" mass="80" name="walker.pedestrian.0001" pedestrianCategory="pedestrian"> <ParameterDeclarations/> <BoundingBox> <Center x="1.5" y="0.0" z="0.9"/> <Dimensions width="2" length="2" height="2"/> </BoundingBox> <Properties> <Property name="type" value="simulation"/> </Properties> </Pedestrian> </ScenarioObject> <ScenarioObject name="pedestrian_close_to_adversary_5305"> <Pedestrian model="walker.pedestrian.0001" mass="80" name="walker.pedestrian.0001" pedestrianCategory="pedestrian"> <ParameterDeclarations/> <BoundingBox> <Center x="1.5" y="0.0" z="0.9"/> <Dimensions width="2" length="2" height="2"/> </BoundingBox> <Properties> <Property name="type" value="simulation"/> </Properties> </Pedestrian> </ScenarioObject> <ScenarioObject name="pedestrian_close_to_adversary_5306"> <Pedestrian model="walker.pedestrian.0001" mass="80" name="walker.pedestrian.0001" pedestrianCategory="pedestrian"> <ParameterDeclarations/> <BoundingBox> <Center x="1.5" y="0.0" z="0.9"/> <Dimensions width="2" length="2" height="2"/> </BoundingBox> <Properties> <Property name="type" value="simulation"/> </Properties> </Pedestrian> </ScenarioObject> <ScenarioObject name="pedestrian_w_transform_5307"> <Pedestrian model="walker.pedestrian.0001" mass="80" name="walker.pedestrian.0001" pedestrianCategory="pedestrian"> <ParameterDeclarations/> <BoundingBox> <Center x="1.5" y="0.0" z="0.9"/> <Dimensions width="2" length="2" height="2"/> </BoundingBox> <Properties> <Property name="type" value="simulation"/> </Properties> </Pedestrian> </ScenarioObject> <ScenarioObject name="pedestrian_w_transform_5308"> <Pedestrian model="walker.pedestrian.0001" mass="80" name="walker.pedestrian.0001" pedestrianCategory="pedestrian"> <ParameterDeclarations/> <BoundingBox> <Center x="1.5" y="0.0" z="0.9"/> <Dimensions width="2" length="2" height="2"/> </BoundingBox> <Properties> <Property name="type" value="simulation"/> </Properties> </Pedestrian> </ScenarioObject> </Entities> <Storyboard> <Init> <Actions> <GlobalAction> <EnvironmentAction> <Environment name="Environment1"> <TimeOfDay animation="false" dateTime="2019-06-25T12:00:00"/> <Weather cloudState="free"> <Sun intensity="0.85" azimuth="0" elevation="1.31"/> <Fog visualRange="100000.0"/> <Precipitation precipitationType="dry" intensity="0.0"/> </Weather> <RoadCondition frictionScaleFactor="1.0"/> </Environment> </EnvironmentAction> </GlobalAction> <Private entityRef="hero"> <PrivateAction> <TeleportAction> <Position> <WorldPosition x="-9.4" y="-152.8" z="0.5" h="1.57079632679"/> </Position> </TeleportAction> </PrivateAction> <PrivateAction> <ControllerAction> <AssignControllerAction> <Controller name="HeroAgent"> <Properties> <Property name="module" value="external_control"/> </Properties> </Controller> </AssignControllerAction> <OverrideControllerValueAction> <Throttle value="0" active="false"/> <Brake value="0" active="false"/> <Clutch value="0" active="false"/> <ParkingBrake value="0" active="false"/> <SteeringWheel value="0" active="false"/> <Gear number="0" active="false"/> </OverrideControllerValueAction> </ControllerAction> </PrivateAction> </Private> <Private entityRef="adversary"> <PrivateAction> <TeleportAction> <Position> <WorldPosition x="-9.4" y="-71.0" z="0.5" h="1.57079632679"/> </Position> </TeleportAction> </PrivateAction> </Private> <Private entityRef="standing"> <PrivateAction> <TeleportAction> <Position> <WorldPosition x="-8.2" y="29.2" z="0.5" h="1.57079632679"/> </Position> </TeleportAction> </PrivateAction> </Private> <Private entityRef="pedestrian_close_to_hero_5296"> <PrivateAction> <TeleportAction> <Position> <WorldPosition x="-1.628769874572754" y="-149.02647399902344" z="0.0014286803780123591"/> </Position> </TeleportAction> </PrivateAction> </Private> <Private entityRef="pedestrian_close_to_standing_5297"> <PrivateAction> <TeleportAction> <Position> <WorldPosition x="-5.933564186096191" y="37.858642578125" z="0.0030536651611328125"/> </Position> </TeleportAction> </PrivateAction> </Private> <Private entityRef="pedestrian_close_to_adversary_5298"> <PrivateAction> <TeleportAction> <Position> <WorldPosition x="-12.583029747009277" y="-76.046630859375" z="0.033799245953559875"/> </Position> </TeleportAction> </PrivateAction> </Private> <Private entityRef="pedestrian_w_transform_5299"> <PrivateAction> <TeleportAction> <Position> <WorldPosition x="75.80875396728516" y="92.6866226196289" z="0.5"/> </Position> </TeleportAction> </PrivateAction> </Private> <Private entityRef="pedestrian_close_to_hero_5300"> <PrivateAction> <TeleportAction> <Position> <WorldPosition x="-17.16276741027832" y="-158.1902313232422" z="0.0014286803780123591"/> </Position> </TeleportAction> </PrivateAction> </Private> <Private entityRef="pedestrian_w_transform_5301"> <PrivateAction> <TeleportAction> <Position> <WorldPosition x="-89.48986053466797" y="67.22550201416016" z="0.5"/> </Position> </TeleportAction> </PrivateAction> </Private> <Private entityRef="pedestrian_close_to_hero_5302"> <PrivateAction> <TeleportAction> <Position> <WorldPosition x="-7.637406826019287" y="-150.10740661621094" z="0.0014286803780123591"/> </Position> </TeleportAction> </PrivateAction> </Private> <Private entityRef="pedestrian_close_to_standing_5303"> <PrivateAction> <TeleportAction> <Position> <WorldPosition x="0.655483603477478" y="21.777448654174805" z="0.003070259001106024"/> </Position> </TeleportAction> </PrivateAction> </Private> <Private entityRef="pedestrian_close_to_hero_5304"> <PrivateAction> <TeleportAction> <Position> <WorldPosition x="-6.508596897125244" y="-160.69863891601562" z="0.0014286803780123591"/> </Position> </TeleportAction> </PrivateAction> </Private> <Private entityRef="pedestrian_close_to_adversary_5305"> <PrivateAction> <TeleportAction> <Position> <WorldPosition x="-8.28770923614502" y="-80.55170440673828" z="0.03386268392205238"/> </Position> </TeleportAction> </PrivateAction> </Private> <Private entityRef="pedestrian_close_to_adversary_5306"> <PrivateAction> <TeleportAction> <Position> <WorldPosition x="1.0562864542007446" y="-76.1018295288086" z="0.03387515991926193"/> </Position> </TeleportAction> </PrivateAction> </Private> <Private entityRef="pedestrian_w_transform_5307"> <PrivateAction> <TeleportAction> <Position> <WorldPosition x="90.42718505859375" y="-77.99192810058594" z="0.5"/> </Position> </TeleportAction> </PrivateAction> </Private> <Private entityRef="pedestrian_w_transform_5308"> <PrivateAction> <TeleportAction> <Position> <WorldPosition x="75.24150848388672" y="85.64749145507812" z="0.5"/> </Position> </TeleportAction> </PrivateAction> </Private> </Actions> </Init> <Story name="MyStory"> <Act name="Behavior"> <ManeuverGroup maximumExecutionCount="1" name="ManeuverSequence"> <Actors selectTriggeringEntities="false"> <EntityRef entityRef="adversary"/> </Actors> <Maneuver name="LaneChangeSimpleManeuver"> <Event name="AdversaryAccelerates" priority="overwrite"> <Action name="AdversaryAccelerates"> <PrivateAction> <LongitudinalAction> <SpeedAction> <SpeedActionDynamics dynamicsShape="step" value="50" dynamicsDimension="distance"/> <SpeedActionTarget> <AbsoluteTargetSpeed value="5.0"/> </SpeedActionTarget> </SpeedAction> </LongitudinalAction> </PrivateAction> </Action> <StartTrigger> <ConditionGroup> <Condition name="StartCondition" delay="0" conditionEdge="rising"> <ByEntityCondition> <TriggeringEntities triggeringEntitiesRule="any"> <EntityRef entityRef="hero"/> </TriggeringEntities> <EntityCondition> <RelativeDistanceCondition entityRef="adversary" relativeDistanceType="cartesianDistance" value="40.0" freespace="false" rule="lessThan"/> </EntityCondition> </ByEntityCondition> </Condition> </ConditionGroup> </StartTrigger> </Event> <Event name="AdversaryChangesLane" priority="overwrite"> <Action name="AdversaryChangesLane"> <PrivateAction> <LateralAction> <LaneChangeAction> <LaneChangeActionDynamics dynamicsShape="linear" value="25" dynamicsDimension="distance"/> <LaneChangeTarget> <RelativeTargetLane entityRef="adversary" value="-1"/> </LaneChangeTarget> </LaneChangeAction> </LateralAction> </PrivateAction> </Action> <StartTrigger> <ConditionGroup> <Condition name="AfterAdversaryAccelerates" delay="0" conditionEdge="rising"> <ByValueCondition> <StoryboardElementStateCondition storyboardElementType="action" storyboardElementRef="AdversaryAccelerates" state="completeState"/> </ByValueCondition> </Condition> </ConditionGroup> </StartTrigger> </Event> </Maneuver> </ManeuverGroup> <StartTrigger> <ConditionGroup> <Condition name="OverallStartCondition" delay="0" conditionEdge="rising"> <ByEntityCondition> <TriggeringEntities triggeringEntitiesRule="any"> <EntityRef entityRef="hero"/> </TriggeringEntities> <EntityCondition> <TraveledDistanceCondition value="1.0"/> </EntityCondition> </ByEntityCondition> </Condition> <Condition name="StartTime" delay="0" conditionEdge="rising"> <ByValueCondition> <SimulationTimeCondition value="0" rule="equalTo"/> </ByValueCondition> </Condition> </ConditionGroup> </StartTrigger> <StopTrigger> <ConditionGroup> <Condition name="EndCondition" delay="0" conditionEdge="rising"> <ByEntityCondition> <TriggeringEntities triggeringEntitiesRule="any"> <EntityRef entityRef="hero"/> </TriggeringEntities> <EntityCondition> <TraveledDistanceCondition value="200.0"/> </EntityCondition> </ByEntityCondition> </Condition> </ConditionGroup> </StopTrigger> </Act> </Story> <StopTrigger> <ConditionGroup> <Condition name="criteria_RunningStopTest" delay="0" conditionEdge="rising"> <ByValueCondition> <ParameterCondition parameterRef="" value="" rule="lessThan"/> </ByValueCondition> </Condition> <Condition name="criteria_RunningRedLightTest" delay="0" conditionEdge="rising"> <ByValueCondition> <ParameterCondition parameterRef="" value="" rule="lessThan"/> </ByValueCondition> </Condition> <Condition name="criteria_WrongLaneTest" delay="0" conditionEdge="rising"> <ByValueCondition> <ParameterCondition parameterRef="" value="" rule="lessThan"/> </ByValueCondition> </Condition> <Condition name="criteria_OnSidewalkTest" delay="0" conditionEdge="rising"> <ByValueCondition> <ParameterCondition parameterRef="" value="" rule="lessThan"/> </ByValueCondition> </Condition> <Condition name="criteria_KeepLaneTest" delay="0" conditionEdge="rising"> <ByValueCondition> <ParameterCondition parameterRef="" value="" rule="lessThan"/> </ByValueCondition> </Condition> <Condition name="criteria_CollisionTest" delay="0" conditionEdge="rising"> <ByValueCondition> <ParameterCondition parameterRef="" value="" rule="lessThan"/> </ByValueCondition> </Condition> <Condition name="criteria_DrivenDistanceTest" delay="0" conditionEdge="rising"> <ByValueCondition> <ParameterCondition parameterRef="distance_success" value="100" rule="lessThan"/> </ByValueCondition> </Condition> </ConditionGroup> </StopTrigger> </Storyboard> </OpenSCENARIO> ```
i would like to order you to add pedestrian close to adversary? ``` <?xml version="1.0" ?> <OpenSCENARIO> <FileHeader revMajor="1" revMinor="0" date="2020-03-24T12:00:00" description="CARLA:LaneChangeSimple" author=""/> <ParameterDeclarations/> <CatalogLocations/> <RoadNetwork> <LogicFile filepath="Town04"/> <SceneGraphFile filepath=""/> </RoadNetwork> <Entities> <ScenarioObject name="hero"> <Vehicle name="vehicle.tesla.model3" vehicleCategory="car"> <ParameterDeclarations/> <Performance maxSpeed="69.444" maxAcceleration="200" maxDeceleration="10.0"/> <BoundingBox> <Center x="1.5" y="0.0" z="0.9"/> <Dimensions width="2.1" length="4.5" height="1.8"/> </BoundingBox> <Axles> <FrontAxle maxSteering="0.5" wheelDiameter="0.6" trackWidth="1.8" positionX="3.1" positionZ="0.3"/> <RearAxle maxSteering="0.0" wheelDiameter="0.6" trackWidth="1.8" positionX="0.0" positionZ="0.3"/> </Axles> <Properties> <Property name="type" value="ego_vehicle"/> </Properties> </Vehicle> </ScenarioObject> <ScenarioObject name="adversary"> <Vehicle name="vehicle.lincoln.mkz_2017" vehicleCategory="car"> <ParameterDeclarations/> <Performance maxSpeed="69.444" maxAcceleration="200" maxDeceleration="10.0"/> <BoundingBox> <Center x="1.5" y="0.0" z="0.9"/> <Dimensions width="2.1" length="4.5" height="1.8"/> </BoundingBox> <Axles> <FrontAxle maxSteering="0.5" wheelDiameter="0.6" trackWidth="1.8" positionX="3.1" positionZ="0.3"/> <RearAxle maxSteering="0.0" wheelDiameter="0.6" trackWidth="1.8" positionX="0.0" positionZ="0.3"/> </Axles> <Properties> <Property name="type" value="simulation"/> </Properties> </Vehicle> </ScenarioObject> <ScenarioObject name="standing"> <Vehicle name="vehicle.volkswagen.t2" vehicleCategory="car"> <ParameterDeclarations/> <Performance maxSpeed="69.444" maxAcceleration="200" maxDeceleration="10.0"/> <BoundingBox> <Center x="1.5" y="0.0" z="0.9"/> <Dimensions width="2.1" length="4.5" height="1.8"/> </BoundingBox> <Axles> <FrontAxle maxSteering="0.5" wheelDiameter="0.6" trackWidth="1.8" positionX="3.1" positionZ="0.3"/> <RearAxle maxSteering="0.0" wheelDiameter="0.6" trackWidth="1.8" positionX="0.0" positionZ="0.3"/> </Axles> <Properties> <Property name="type" value="simulation"/> </Properties> </Vehicle> </ScenarioObject> <ScenarioObject name="pedestrian_close_to_hero_16000"> <Pedestrian model="walker.pedestrian.0001" mass="80" name="walker.pedestrian.0001" pedestrianCategory="pedestrian"> <ParameterDeclarations/> <BoundingBox> <Center x="1.5" y="0.0" z="0.9"/> <Dimensions width="2" length="2" height="2"/> </BoundingBox> <Properties> <Property name="type" value="simulation"/> </Properties> </Pedestrian> </ScenarioObject> </Entities> <Storyboard> <Init> <Actions> <GlobalAction> <EnvironmentAction> <Environment name="Environment1"> <TimeOfDay animation="false" dateTime="2019-06-25T12:00:00"/> <Weather cloudState="free"> <Sun intensity="0.85" azimuth="0" elevation="1.31"/> <Fog visualRange="100000.0"/> <Precipitation precipitationType="dry" intensity="0.0"/> </Weather> <RoadCondition frictionScaleFactor="1.0"/> </Environment> </EnvironmentAction> </GlobalAction> <Private entityRef="hero"> <PrivateAction> <TeleportAction> <Position> <WorldPosition x="-9.4" y="-152.8" z="0.5" h="1.57079632679"/> </Position> </TeleportAction> </PrivateAction> <PrivateAction> <ControllerAction> <AssignControllerAction> <Controller name="HeroAgent"> <Properties> <Property name="module" value="external_control"/> </Properties> </Controller> </AssignControllerAction> <OverrideControllerValueAction> <Throttle value="0" active="false"/> <Brake value="0" active="false"/> <Clutch value="0" active="false"/> <ParkingBrake value="0" active="false"/> <SteeringWheel value="0" active="false"/> <Gear number="0" active="false"/> </OverrideControllerValueAction> </ControllerAction> </PrivateAction> </Private> <Private entityRef="adversary"> <PrivateAction> <TeleportAction> <Position> <WorldPosition x="-9.4" y="-71.0" z="0.5" h="1.57079632679"/> </Position> </TeleportAction> </PrivateAction> </Private> <Private entityRef="standing"> <PrivateAction> <TeleportAction> <Position> <WorldPosition x="-8.2" y="29.2" z="0.5" h="1.57079632679"/> </Position> </TeleportAction> </PrivateAction> </Private> <Private entityRef="pedestrian_close_to_hero_16000"> <PrivateAction> <TeleportAction> <Position> <WorldPosition x="-13.113852500915527" y="-161.41856384277344" z="0.0014286803780123591"/> </Position> </TeleportAction> </PrivateAction> </Private> </Actions> </Init> <Story name="MyStory"> <Act name="Behavior"> <ManeuverGroup maximumExecutionCount="1" name="ManeuverSequence"> <Actors selectTriggeringEntities="false"> <EntityRef entityRef="adversary"/> </Actors> <Maneuver name="LaneChangeSimpleManeuver"> <Event name="AdversaryAccelerates" priority="overwrite"> <Action name="AdversaryAccelerates"> <PrivateAction> <LongitudinalAction> <SpeedAction> <SpeedActionDynamics dynamicsShape="step" value="50" dynamicsDimension="distance"/> <SpeedActionTarget> <AbsoluteTargetSpeed value="5.0"/> </SpeedActionTarget> </SpeedAction> </LongitudinalAction> </PrivateAction> </Action> <StartTrigger> <ConditionGroup> <Condition name="StartCondition" delay="0" conditionEdge="rising"> <ByEntityCondition> <TriggeringEntities triggeringEntitiesRule="any"> <EntityRef entityRef="hero"/> </TriggeringEntities> <EntityCondition> <RelativeDistanceCondition entityRef="adversary" relativeDistanceType="cartesianDistance" value="40.0" freespace="false" rule="lessThan"/> </EntityCondition> </ByEntityCondition> </Condition> </ConditionGroup> </StartTrigger> </Event> <Event name="AdversaryChangesLane" priority="overwrite"> <Action name="AdversaryChangesLane"> <PrivateAction> <LateralAction> <LaneChangeAction> <LaneChangeActionDynamics dynamicsShape="linear" value="25" dynamicsDimension="distance"/> <LaneChangeTarget> <RelativeTargetLane entityRef="adversary" value="-1"/> </LaneChangeTarget> </LaneChangeAction> </LateralAction> </PrivateAction> </Action> <StartTrigger> <ConditionGroup> <Condition name="AfterAdversaryAccelerates" delay="0" conditionEdge="rising"> <ByValueCondition> <StoryboardElementStateCondition storyboardElementType="action" storyboardElementRef="AdversaryAccelerates" state="completeState"/> </ByValueCondition> </Condition> </ConditionGroup> </StartTrigger> </Event> </Maneuver> </ManeuverGroup> <StartTrigger> <ConditionGroup> <Condition name="OverallStartCondition" delay="0" conditionEdge="rising"> <ByEntityCondition> <TriggeringEntities triggeringEntitiesRule="any"> <EntityRef entityRef="hero"/> </TriggeringEntities> <EntityCondition> <TraveledDistanceCondition value="1.0"/> </EntityCondition> </ByEntityCondition> </Condition> <Condition name="StartTime" delay="0" conditionEdge="rising"> <ByValueCondition> <SimulationTimeCondition value="0" rule="equalTo"/> </ByValueCondition> </Condition> </ConditionGroup> </StartTrigger> <StopTrigger> <ConditionGroup> <Condition name="EndCondition" delay="0" conditionEdge="rising"> <ByEntityCondition> <TriggeringEntities triggeringEntitiesRule="any"> <EntityRef entityRef="hero"/> </TriggeringEntities> <EntityCondition> <TraveledDistanceCondition value="200.0"/> </EntityCondition> </ByEntityCondition> </Condition> </ConditionGroup> </StopTrigger> </Act> </Story> <StopTrigger> <ConditionGroup> <Condition name="criteria_RunningStopTest" delay="0" conditionEdge="rising"> <ByValueCondition> <ParameterCondition parameterRef="" value="" rule="lessThan"/> </ByValueCondition> </Condition> <Condition name="criteria_RunningRedLightTest" delay="0" conditionEdge="rising"> <ByValueCondition> <ParameterCondition parameterRef="" value="" rule="lessThan"/> </ByValueCondition> </Condition> <Condition name="criteria_WrongLaneTest" delay="0" conditionEdge="rising"> <ByValueCondition> <ParameterCondition parameterRef="" value="" rule="lessThan"/> </ByValueCondition> </Condition> <Condition name="criteria_OnSidewalkTest" delay="0" conditionEdge="rising"> <ByValueCondition> <ParameterCondition parameterRef="" value="" rule="lessThan"/> </ByValueCondition> </Condition> <Condition name="criteria_KeepLaneTest" delay="0" conditionEdge="rising"> <ByValueCondition> <ParameterCondition parameterRef="" value="" rule="lessThan"/> </ByValueCondition> </Condition> <Condition name="criteria_CollisionTest" delay="0" conditionEdge="rising"> <ByValueCondition> <ParameterCondition parameterRef="" value="" rule="lessThan"/> </ByValueCondition> </Condition> <Condition name="criteria_DrivenDistanceTest" delay="0" conditionEdge="rising"> <ByValueCondition> <ParameterCondition parameterRef="distance_success" value="100" rule="lessThan"/> </ByValueCondition> </Condition> </ConditionGroup> </StopTrigger> </Storyboard> </OpenSCENARIO> ```
Here is the result: ``` <?xml version="1.0" ?> <OpenSCENARIO> <FileHeader revMajor="1" revMinor="0" date="2020-03-24T12:00:00" description="CARLA:LaneChangeSimple" author=""/> <ParameterDeclarations/> <CatalogLocations/> <RoadNetwork> <LogicFile filepath="Town04"/> <SceneGraphFile filepath=""/> </RoadNetwork> <Entities> <ScenarioObject name="hero"> <Vehicle name="vehicle.tesla.model3" vehicleCategory="car"> <ParameterDeclarations/> <Performance maxSpeed="69.444" maxAcceleration="200" maxDeceleration="10.0"/> <BoundingBox> <Center x="1.5" y="0.0" z="0.9"/> <Dimensions width="2.1" length="4.5" height="1.8"/> </BoundingBox> <Axles> <FrontAxle maxSteering="0.5" wheelDiameter="0.6" trackWidth="1.8" positionX="3.1" positionZ="0.3"/> <RearAxle maxSteering="0.0" wheelDiameter="0.6" trackWidth="1.8" positionX="0.0" positionZ="0.3"/> </Axles> <Properties> <Property name="type" value="ego_vehicle"/> </Properties> </Vehicle> </ScenarioObject> <ScenarioObject name="adversary"> <Vehicle name="vehicle.lincoln.mkz_2017" vehicleCategory="car"> <ParameterDeclarations/> <Performance maxSpeed="69.444" maxAcceleration="200" maxDeceleration="10.0"/> <BoundingBox> <Center x="1.5" y="0.0" z="0.9"/> <Dimensions width="2.1" length="4.5" height="1.8"/> </BoundingBox> <Axles> <FrontAxle maxSteering="0.5" wheelDiameter="0.6" trackWidth="1.8" positionX="3.1" positionZ="0.3"/> <RearAxle maxSteering="0.0" wheelDiameter="0.6" trackWidth="1.8" positionX="0.0" positionZ="0.3"/> </Axles> <Properties> <Property name="type" value="simulation"/> </Properties> </Vehicle> </ScenarioObject> <ScenarioObject name="standing"> <Vehicle name="vehicle.volkswagen.t2" vehicleCategory="car"> <ParameterDeclarations/> <Performance maxSpeed="69.444" maxAcceleration="200" maxDeceleration="10.0"/> <BoundingBox> <Center x="1.5" y="0.0" z="0.9"/> <Dimensions width="2.1" length="4.5" height="1.8"/> </BoundingBox> <Axles> <FrontAxle maxSteering="0.5" wheelDiameter="0.6" trackWidth="1.8" positionX="3.1" positionZ="0.3"/> <RearAxle maxSteering="0.0" wheelDiameter="0.6" trackWidth="1.8" positionX="0.0" positionZ="0.3"/> </Axles> <Properties> <Property name="type" value="simulation"/> </Properties> </Vehicle> </ScenarioObject> <ScenarioObject name="pedestrian_close_to_hero_16000"> <Pedestrian model="walker.pedestrian.0001" mass="80" name="walker.pedestrian.0001" pedestrianCategory="pedestrian"> <ParameterDeclarations/> <BoundingBox> <Center x="1.5" y="0.0" z="0.9"/> <Dimensions width="2" length="2" height="2"/> </BoundingBox> <Properties> <Property name="type" value="simulation"/> </Properties> </Pedestrian> </ScenarioObject> <ScenarioObject name="pedestrian_close_to_adversary_16001"> <Pedestrian model="walker.pedestrian.0001" mass="80" name="walker.pedestrian.0001" pedestrianCategory="pedestrian"> <ParameterDeclarations/> <BoundingBox> <Center x="1.5" y="0.0" z="0.9"/> <Dimensions width="2" length="2" height="2"/> </BoundingBox> <Properties> <Property name="type" value="simulation"/> </Properties> </Pedestrian> </ScenarioObject> </Entities> <Storyboard> <Init> <Actions> <GlobalAction> <EnvironmentAction> <Environment name="Environment1"> <TimeOfDay animation="false" dateTime="2019-06-25T12:00:00"/> <Weather cloudState="free"> <Sun intensity="0.85" azimuth="0" elevation="1.31"/> <Fog visualRange="100000.0"/> <Precipitation precipitationType="dry" intensity="0.0"/> </Weather> <RoadCondition frictionScaleFactor="1.0"/> </Environment> </EnvironmentAction> </GlobalAction> <Private entityRef="hero"> <PrivateAction> <TeleportAction> <Position> <WorldPosition x="-9.4" y="-152.8" z="0.5" h="1.57079632679"/> </Position> </TeleportAction> </PrivateAction> <PrivateAction> <ControllerAction> <AssignControllerAction> <Controller name="HeroAgent"> <Properties> <Property name="module" value="external_control"/> </Properties> </Controller> </AssignControllerAction> <OverrideControllerValueAction> <Throttle value="0" active="false"/> <Brake value="0" active="false"/> <Clutch value="0" active="false"/> <ParkingBrake value="0" active="false"/> <SteeringWheel value="0" active="false"/> <Gear number="0" active="false"/> </OverrideControllerValueAction> </ControllerAction> </PrivateAction> </Private> <Private entityRef="adversary"> <PrivateAction> <TeleportAction> <Position> <WorldPosition x="-9.4" y="-71.0" z="0.5" h="1.57079632679"/> </Position> </TeleportAction> </PrivateAction> </Private> <Private entityRef="standing"> <PrivateAction> <TeleportAction> <Position> <WorldPosition x="-8.2" y="29.2" z="0.5" h="1.57079632679"/> </Position> </TeleportAction> </PrivateAction> </Private> <Private entityRef="pedestrian_close_to_hero_16000"> <PrivateAction> <TeleportAction> <Position> <WorldPosition x="-13.113852500915527" y="-161.41856384277344" z="0.0014286803780123591"/> </Position> </TeleportAction> </PrivateAction> </Private> <Private entityRef="pedestrian_close_to_adversary_16001"> <PrivateAction> <TeleportAction> <Position> <WorldPosition x="-14.644543647766113" y="-69.57421112060547" z="0.03380405530333519"/> </Position> </TeleportAction> </PrivateAction> </Private> </Actions> </Init> <Story name="MyStory"> <Act name="Behavior"> <ManeuverGroup maximumExecutionCount="1" name="ManeuverSequence"> <Actors selectTriggeringEntities="false"> <EntityRef entityRef="adversary"/> </Actors> <Maneuver name="LaneChangeSimpleManeuver"> <Event name="AdversaryAccelerates" priority="overwrite"> <Action name="AdversaryAccelerates"> <PrivateAction> <LongitudinalAction> <SpeedAction> <SpeedActionDynamics dynamicsShape="step" value="50" dynamicsDimension="distance"/> <SpeedActionTarget> <AbsoluteTargetSpeed value="5.0"/> </SpeedActionTarget> </SpeedAction> </LongitudinalAction> </PrivateAction> </Action> <StartTrigger> <ConditionGroup> <Condition name="StartCondition" delay="0" conditionEdge="rising"> <ByEntityCondition> <TriggeringEntities triggeringEntitiesRule="any"> <EntityRef entityRef="hero"/> </TriggeringEntities> <EntityCondition> <RelativeDistanceCondition entityRef="adversary" relativeDistanceType="cartesianDistance" value="40.0" freespace="false" rule="lessThan"/> </EntityCondition> </ByEntityCondition> </Condition> </ConditionGroup> </StartTrigger> </Event> <Event name="AdversaryChangesLane" priority="overwrite"> <Action name="AdversaryChangesLane"> <PrivateAction> <LateralAction> <LaneChangeAction> <LaneChangeActionDynamics dynamicsShape="linear" value="25" dynamicsDimension="distance"/> <LaneChangeTarget> <RelativeTargetLane entityRef="adversary" value="-1"/> </LaneChangeTarget> </LaneChangeAction> </LateralAction> </PrivateAction> </Action> <StartTrigger> <ConditionGroup> <Condition name="AfterAdversaryAccelerates" delay="0" conditionEdge="rising"> <ByValueCondition> <StoryboardElementStateCondition storyboardElementType="action" storyboardElementRef="AdversaryAccelerates" state="completeState"/> </ByValueCondition> </Condition> </ConditionGroup> </StartTrigger> </Event> </Maneuver> </ManeuverGroup> <StartTrigger> <ConditionGroup> <Condition name="OverallStartCondition" delay="0" conditionEdge="rising"> <ByEntityCondition> <TriggeringEntities triggeringEntitiesRule="any"> <EntityRef entityRef="hero"/> </TriggeringEntities> <EntityCondition> <TraveledDistanceCondition value="1.0"/> </EntityCondition> </ByEntityCondition> </Condition> <Condition name="StartTime" delay="0" conditionEdge="rising"> <ByValueCondition> <SimulationTimeCondition value="0" rule="equalTo"/> </ByValueCondition> </Condition> </ConditionGroup> </StartTrigger> <StopTrigger> <ConditionGroup> <Condition name="EndCondition" delay="0" conditionEdge="rising"> <ByEntityCondition> <TriggeringEntities triggeringEntitiesRule="any"> <EntityRef entityRef="hero"/> </TriggeringEntities> <EntityCondition> <TraveledDistanceCondition value="200.0"/> </EntityCondition> </ByEntityCondition> </Condition> </ConditionGroup> </StopTrigger> </Act> </Story> <StopTrigger> <ConditionGroup> <Condition name="criteria_RunningStopTest" delay="0" conditionEdge="rising"> <ByValueCondition> <ParameterCondition parameterRef="" value="" rule="lessThan"/> </ByValueCondition> </Condition> <Condition name="criteria_RunningRedLightTest" delay="0" conditionEdge="rising"> <ByValueCondition> <ParameterCondition parameterRef="" value="" rule="lessThan"/> </ByValueCondition> </Condition> <Condition name="criteria_WrongLaneTest" delay="0" conditionEdge="rising"> <ByValueCondition> <ParameterCondition parameterRef="" value="" rule="lessThan"/> </ByValueCondition> </Condition> <Condition name="criteria_OnSidewalkTest" delay="0" conditionEdge="rising"> <ByValueCondition> <ParameterCondition parameterRef="" value="" rule="lessThan"/> </ByValueCondition> </Condition> <Condition name="criteria_KeepLaneTest" delay="0" conditionEdge="rising"> <ByValueCondition> <ParameterCondition parameterRef="" value="" rule="lessThan"/> </ByValueCondition> </Condition> <Condition name="criteria_CollisionTest" delay="0" conditionEdge="rising"> <ByValueCondition> <ParameterCondition parameterRef="" value="" rule="lessThan"/> </ByValueCondition> </Condition> <Condition name="criteria_DrivenDistanceTest" delay="0" conditionEdge="rising"> <ByValueCondition> <ParameterCondition parameterRef="distance_success" value="100" rule="lessThan"/> </ByValueCondition> </Condition> </ConditionGroup> </StopTrigger> </Storyboard> </OpenSCENARIO> ```
i would like to instruct you to add pedestrian close to standing? ``` <?xml version="1.0" ?> <OpenSCENARIO> <FileHeader revMajor="1" revMinor="0" date="2020-03-24T12:00:00" description="CARLA:LaneChangeSimple" author=""/> <ParameterDeclarations/> <CatalogLocations/> <RoadNetwork> <LogicFile filepath="Town04"/> <SceneGraphFile filepath=""/> </RoadNetwork> <Entities> <ScenarioObject name="hero"> <Vehicle name="vehicle.tesla.model3" vehicleCategory="car"> <ParameterDeclarations/> <Performance maxSpeed="69.444" maxAcceleration="200" maxDeceleration="10.0"/> <BoundingBox> <Center x="1.5" y="0.0" z="0.9"/> <Dimensions width="2.1" length="4.5" height="1.8"/> </BoundingBox> <Axles> <FrontAxle maxSteering="0.5" wheelDiameter="0.6" trackWidth="1.8" positionX="3.1" positionZ="0.3"/> <RearAxle maxSteering="0.0" wheelDiameter="0.6" trackWidth="1.8" positionX="0.0" positionZ="0.3"/> </Axles> <Properties> <Property name="type" value="ego_vehicle"/> </Properties> </Vehicle> </ScenarioObject> <ScenarioObject name="adversary"> <Vehicle name="vehicle.lincoln.mkz_2017" vehicleCategory="car"> <ParameterDeclarations/> <Performance maxSpeed="69.444" maxAcceleration="200" maxDeceleration="10.0"/> <BoundingBox> <Center x="1.5" y="0.0" z="0.9"/> <Dimensions width="2.1" length="4.5" height="1.8"/> </BoundingBox> <Axles> <FrontAxle maxSteering="0.5" wheelDiameter="0.6" trackWidth="1.8" positionX="3.1" positionZ="0.3"/> <RearAxle maxSteering="0.0" wheelDiameter="0.6" trackWidth="1.8" positionX="0.0" positionZ="0.3"/> </Axles> <Properties> <Property name="type" value="simulation"/> </Properties> </Vehicle> </ScenarioObject> <ScenarioObject name="standing"> <Vehicle name="vehicle.volkswagen.t2" vehicleCategory="car"> <ParameterDeclarations/> <Performance maxSpeed="69.444" maxAcceleration="200" maxDeceleration="10.0"/> <BoundingBox> <Center x="1.5" y="0.0" z="0.9"/> <Dimensions width="2.1" length="4.5" height="1.8"/> </BoundingBox> <Axles> <FrontAxle maxSteering="0.5" wheelDiameter="0.6" trackWidth="1.8" positionX="3.1" positionZ="0.3"/> <RearAxle maxSteering="0.0" wheelDiameter="0.6" trackWidth="1.8" positionX="0.0" positionZ="0.3"/> </Axles> <Properties> <Property name="type" value="simulation"/> </Properties> </Vehicle> </ScenarioObject> <ScenarioObject name="pedestrian_close_to_standing_6836"> <Pedestrian model="walker.pedestrian.0001" mass="80" name="walker.pedestrian.0001" pedestrianCategory="pedestrian"> <ParameterDeclarations/> <BoundingBox> <Center x="1.5" y="0.0" z="0.9"/> <Dimensions width="2" length="2" height="2"/> </BoundingBox> <Properties> <Property name="type" value="simulation"/> </Properties> </Pedestrian> </ScenarioObject> <ScenarioObject name="pedestrian_w_transform_6837"> <Pedestrian model="walker.pedestrian.0001" mass="80" name="walker.pedestrian.0001" pedestrianCategory="pedestrian"> <ParameterDeclarations/> <BoundingBox> <Center x="1.5" y="0.0" z="0.9"/> <Dimensions width="2" length="2" height="2"/> </BoundingBox> <Properties> <Property name="type" value="simulation"/> </Properties> </Pedestrian> </ScenarioObject> <ScenarioObject name="pedestrian_w_transform_6838"> <Pedestrian model="walker.pedestrian.0001" mass="80" name="walker.pedestrian.0001" pedestrianCategory="pedestrian"> <ParameterDeclarations/> <BoundingBox> <Center x="1.5" y="0.0" z="0.9"/> <Dimensions width="2" length="2" height="2"/> </BoundingBox> <Properties> <Property name="type" value="simulation"/> </Properties> </Pedestrian> </ScenarioObject> <ScenarioObject name="pedestrian_close_to_standing_6839"> <Pedestrian model="walker.pedestrian.0001" mass="80" name="walker.pedestrian.0001" pedestrianCategory="pedestrian"> <ParameterDeclarations/> <BoundingBox> <Center x="1.5" y="0.0" z="0.9"/> <Dimensions width="2" length="2" height="2"/> </BoundingBox> <Properties> <Property name="type" value="simulation"/> </Properties> </Pedestrian> </ScenarioObject> <ScenarioObject name="pedestrian_w_transform_6840"> <Pedestrian model="walker.pedestrian.0001" mass="80" name="walker.pedestrian.0001" pedestrianCategory="pedestrian"> <ParameterDeclarations/> <BoundingBox> <Center x="1.5" y="0.0" z="0.9"/> <Dimensions width="2" length="2" height="2"/> </BoundingBox> <Properties> <Property name="type" value="simulation"/> </Properties> </Pedestrian> </ScenarioObject> <ScenarioObject name="pedestrian_close_to_standing_6841"> <Pedestrian model="walker.pedestrian.0001" mass="80" name="walker.pedestrian.0001" pedestrianCategory="pedestrian"> <ParameterDeclarations/> <BoundingBox> <Center x="1.5" y="0.0" z="0.9"/> <Dimensions width="2" length="2" height="2"/> </BoundingBox> <Properties> <Property name="type" value="simulation"/> </Properties> </Pedestrian> </ScenarioObject> <ScenarioObject name="pedestrian_close_to_adversary_6842"> <Pedestrian model="walker.pedestrian.0001" mass="80" name="walker.pedestrian.0001" pedestrianCategory="pedestrian"> <ParameterDeclarations/> <BoundingBox> <Center x="1.5" y="0.0" z="0.9"/> <Dimensions width="2" length="2" height="2"/> </BoundingBox> <Properties> <Property name="type" value="simulation"/> </Properties> </Pedestrian> </ScenarioObject> <ScenarioObject name="pedestrian_close_to_standing_6843"> <Pedestrian model="walker.pedestrian.0001" mass="80" name="walker.pedestrian.0001" pedestrianCategory="pedestrian"> <ParameterDeclarations/> <BoundingBox> <Center x="1.5" y="0.0" z="0.9"/> <Dimensions width="2" length="2" height="2"/> </BoundingBox> <Properties> <Property name="type" value="simulation"/> </Properties> </Pedestrian> </ScenarioObject> </Entities> <Storyboard> <Init> <Actions> <GlobalAction> <EnvironmentAction> <Environment name="Environment1"> <TimeOfDay animation="false" dateTime="2019-06-25T12:00:00"/> <Weather cloudState="free"> <Sun intensity="0.85" azimuth="0" elevation="1.31"/> <Fog visualRange="100000.0"/> <Precipitation precipitationType="dry" intensity="0.0"/> </Weather> <RoadCondition frictionScaleFactor="1.0"/> </Environment> </EnvironmentAction> </GlobalAction> <Private entityRef="hero"> <PrivateAction> <TeleportAction> <Position> <WorldPosition x="-9.4" y="-152.8" z="0.5" h="1.57079632679"/> </Position> </TeleportAction> </PrivateAction> <PrivateAction> <ControllerAction> <AssignControllerAction> <Controller name="HeroAgent"> <Properties> <Property name="module" value="external_control"/> </Properties> </Controller> </AssignControllerAction> <OverrideControllerValueAction> <Throttle value="0" active="false"/> <Brake value="0" active="false"/> <Clutch value="0" active="false"/> <ParkingBrake value="0" active="false"/> <SteeringWheel value="0" active="false"/> <Gear number="0" active="false"/> </OverrideControllerValueAction> </ControllerAction> </PrivateAction> </Private> <Private entityRef="adversary"> <PrivateAction> <TeleportAction> <Position> <WorldPosition x="-9.4" y="-71.0" z="0.5" h="1.57079632679"/> </Position> </TeleportAction> </PrivateAction> </Private> <Private entityRef="standing"> <PrivateAction> <TeleportAction> <Position> <WorldPosition x="-8.2" y="29.2" z="0.5" h="1.57079632679"/> </Position> </TeleportAction> </PrivateAction> </Private> <Private entityRef="pedestrian_close_to_standing_6836"> <PrivateAction> <TeleportAction> <Position> <WorldPosition x="-13.402114868164062" y="31.161130905151367" z="0.0030593108385801315"/> </Position> </TeleportAction> </PrivateAction> </Private> <Private entityRef="pedestrian_w_transform_6837"> <PrivateAction> <TeleportAction> <Position> <WorldPosition x="-47.03334045410156" y="-54.702423095703125" z="0.5"/> </Position> </TeleportAction> </PrivateAction> </Private> <Private entityRef="pedestrian_w_transform_6838"> <PrivateAction> <TeleportAction> <Position> <WorldPosition x="-61.467132568359375" y="-34.886295318603516" z="0.5"/> </Position> </TeleportAction> </PrivateAction> </Private> <Private entityRef="pedestrian_close_to_standing_6839"> <PrivateAction> <TeleportAction> <Position> <WorldPosition x="-7.513595104217529" y="22.476049423217773" z="0.003063545096665621"/> </Position> </TeleportAction> </PrivateAction> </Private> <Private entityRef="pedestrian_w_transform_6840"> <PrivateAction> <TeleportAction> <Position> <WorldPosition x="32.467586517333984" y="-7.941018581390381" z="0.5"/> </Position> </TeleportAction> </PrivateAction> </Private> <Private entityRef="pedestrian_close_to_standing_6841"> <PrivateAction> <TeleportAction> <Position> <WorldPosition x="-12.203702926635742" y="26.545644760131836" z="0.0030302810482680798"/> </Position> </TeleportAction> </PrivateAction> </Private> <Private entityRef="pedestrian_close_to_adversary_6842"> <PrivateAction> <TeleportAction> <Position> <WorldPosition x="-11.702733993530273" y="-70.92851257324219" z="0.03377971425652504"/> </Position> </TeleportAction> </PrivateAction> </Private> <Private entityRef="pedestrian_close_to_standing_6843"> <PrivateAction> <TeleportAction> <Position> <WorldPosition x="1.8897349834442139" y="21.91389274597168" z="0.003043708624318242"/> </Position> </TeleportAction> </PrivateAction> </Private> </Actions> </Init> <Story name="MyStory"> <Act name="Behavior"> <ManeuverGroup maximumExecutionCount="1" name="ManeuverSequence"> <Actors selectTriggeringEntities="false"> <EntityRef entityRef="adversary"/> </Actors> <Maneuver name="LaneChangeSimpleManeuver"> <Event name="AdversaryAccelerates" priority="overwrite"> <Action name="AdversaryAccelerates"> <PrivateAction> <LongitudinalAction> <SpeedAction> <SpeedActionDynamics dynamicsShape="step" value="50" dynamicsDimension="distance"/> <SpeedActionTarget> <AbsoluteTargetSpeed value="5.0"/> </SpeedActionTarget> </SpeedAction> </LongitudinalAction> </PrivateAction> </Action> <StartTrigger> <ConditionGroup> <Condition name="StartCondition" delay="0" conditionEdge="rising"> <ByEntityCondition> <TriggeringEntities triggeringEntitiesRule="any"> <EntityRef entityRef="hero"/> </TriggeringEntities> <EntityCondition> <RelativeDistanceCondition entityRef="adversary" relativeDistanceType="cartesianDistance" value="40.0" freespace="false" rule="lessThan"/> </EntityCondition> </ByEntityCondition> </Condition> </ConditionGroup> </StartTrigger> </Event> <Event name="AdversaryChangesLane" priority="overwrite"> <Action name="AdversaryChangesLane"> <PrivateAction> <LateralAction> <LaneChangeAction> <LaneChangeActionDynamics dynamicsShape="linear" value="25" dynamicsDimension="distance"/> <LaneChangeTarget> <RelativeTargetLane entityRef="adversary" value="-1"/> </LaneChangeTarget> </LaneChangeAction> </LateralAction> </PrivateAction> </Action> <StartTrigger> <ConditionGroup> <Condition name="AfterAdversaryAccelerates" delay="0" conditionEdge="rising"> <ByValueCondition> <StoryboardElementStateCondition storyboardElementType="action" storyboardElementRef="AdversaryAccelerates" state="completeState"/> </ByValueCondition> </Condition> </ConditionGroup> </StartTrigger> </Event> </Maneuver> </ManeuverGroup> <StartTrigger> <ConditionGroup> <Condition name="OverallStartCondition" delay="0" conditionEdge="rising"> <ByEntityCondition> <TriggeringEntities triggeringEntitiesRule="any"> <EntityRef entityRef="hero"/> </TriggeringEntities> <EntityCondition> <TraveledDistanceCondition value="1.0"/> </EntityCondition> </ByEntityCondition> </Condition> <Condition name="StartTime" delay="0" conditionEdge="rising"> <ByValueCondition> <SimulationTimeCondition value="0" rule="equalTo"/> </ByValueCondition> </Condition> </ConditionGroup> </StartTrigger> <StopTrigger> <ConditionGroup> <Condition name="EndCondition" delay="0" conditionEdge="rising"> <ByEntityCondition> <TriggeringEntities triggeringEntitiesRule="any"> <EntityRef entityRef="hero"/> </TriggeringEntities> <EntityCondition> <TraveledDistanceCondition value="200.0"/> </EntityCondition> </ByEntityCondition> </Condition> </ConditionGroup> </StopTrigger> </Act> </Story> <StopTrigger> <ConditionGroup> <Condition name="criteria_RunningStopTest" delay="0" conditionEdge="rising"> <ByValueCondition> <ParameterCondition parameterRef="" value="" rule="lessThan"/> </ByValueCondition> </Condition> <Condition name="criteria_RunningRedLightTest" delay="0" conditionEdge="rising"> <ByValueCondition> <ParameterCondition parameterRef="" value="" rule="lessThan"/> </ByValueCondition> </Condition> <Condition name="criteria_WrongLaneTest" delay="0" conditionEdge="rising"> <ByValueCondition> <ParameterCondition parameterRef="" value="" rule="lessThan"/> </ByValueCondition> </Condition> <Condition name="criteria_OnSidewalkTest" delay="0" conditionEdge="rising"> <ByValueCondition> <ParameterCondition parameterRef="" value="" rule="lessThan"/> </ByValueCondition> </Condition> <Condition name="criteria_KeepLaneTest" delay="0" conditionEdge="rising"> <ByValueCondition> <ParameterCondition parameterRef="" value="" rule="lessThan"/> </ByValueCondition> </Condition> <Condition name="criteria_CollisionTest" delay="0" conditionEdge="rising"> <ByValueCondition> <ParameterCondition parameterRef="" value="" rule="lessThan"/> </ByValueCondition> </Condition> <Condition name="criteria_DrivenDistanceTest" delay="0" conditionEdge="rising"> <ByValueCondition> <ParameterCondition parameterRef="distance_success" value="100" rule="lessThan"/> </ByValueCondition> </Condition> </ConditionGroup> </StopTrigger> </Storyboard> </OpenSCENARIO> ```
Here is the result: ``` <?xml version="1.0" ?> <OpenSCENARIO> <FileHeader revMajor="1" revMinor="0" date="2020-03-24T12:00:00" description="CARLA:LaneChangeSimple" author=""/> <ParameterDeclarations/> <CatalogLocations/> <RoadNetwork> <LogicFile filepath="Town04"/> <SceneGraphFile filepath=""/> </RoadNetwork> <Entities> <ScenarioObject name="hero"> <Vehicle name="vehicle.tesla.model3" vehicleCategory="car"> <ParameterDeclarations/> <Performance maxSpeed="69.444" maxAcceleration="200" maxDeceleration="10.0"/> <BoundingBox> <Center x="1.5" y="0.0" z="0.9"/> <Dimensions width="2.1" length="4.5" height="1.8"/> </BoundingBox> <Axles> <FrontAxle maxSteering="0.5" wheelDiameter="0.6" trackWidth="1.8" positionX="3.1" positionZ="0.3"/> <RearAxle maxSteering="0.0" wheelDiameter="0.6" trackWidth="1.8" positionX="0.0" positionZ="0.3"/> </Axles> <Properties> <Property name="type" value="ego_vehicle"/> </Properties> </Vehicle> </ScenarioObject> <ScenarioObject name="adversary"> <Vehicle name="vehicle.lincoln.mkz_2017" vehicleCategory="car"> <ParameterDeclarations/> <Performance maxSpeed="69.444" maxAcceleration="200" maxDeceleration="10.0"/> <BoundingBox> <Center x="1.5" y="0.0" z="0.9"/> <Dimensions width="2.1" length="4.5" height="1.8"/> </BoundingBox> <Axles> <FrontAxle maxSteering="0.5" wheelDiameter="0.6" trackWidth="1.8" positionX="3.1" positionZ="0.3"/> <RearAxle maxSteering="0.0" wheelDiameter="0.6" trackWidth="1.8" positionX="0.0" positionZ="0.3"/> </Axles> <Properties> <Property name="type" value="simulation"/> </Properties> </Vehicle> </ScenarioObject> <ScenarioObject name="standing"> <Vehicle name="vehicle.volkswagen.t2" vehicleCategory="car"> <ParameterDeclarations/> <Performance maxSpeed="69.444" maxAcceleration="200" maxDeceleration="10.0"/> <BoundingBox> <Center x="1.5" y="0.0" z="0.9"/> <Dimensions width="2.1" length="4.5" height="1.8"/> </BoundingBox> <Axles> <FrontAxle maxSteering="0.5" wheelDiameter="0.6" trackWidth="1.8" positionX="3.1" positionZ="0.3"/> <RearAxle maxSteering="0.0" wheelDiameter="0.6" trackWidth="1.8" positionX="0.0" positionZ="0.3"/> </Axles> <Properties> <Property name="type" value="simulation"/> </Properties> </Vehicle> </ScenarioObject> <ScenarioObject name="pedestrian_close_to_standing_6836"> <Pedestrian model="walker.pedestrian.0001" mass="80" name="walker.pedestrian.0001" pedestrianCategory="pedestrian"> <ParameterDeclarations/> <BoundingBox> <Center x="1.5" y="0.0" z="0.9"/> <Dimensions width="2" length="2" height="2"/> </BoundingBox> <Properties> <Property name="type" value="simulation"/> </Properties> </Pedestrian> </ScenarioObject> <ScenarioObject name="pedestrian_w_transform_6837"> <Pedestrian model="walker.pedestrian.0001" mass="80" name="walker.pedestrian.0001" pedestrianCategory="pedestrian"> <ParameterDeclarations/> <BoundingBox> <Center x="1.5" y="0.0" z="0.9"/> <Dimensions width="2" length="2" height="2"/> </BoundingBox> <Properties> <Property name="type" value="simulation"/> </Properties> </Pedestrian> </ScenarioObject> <ScenarioObject name="pedestrian_w_transform_6838"> <Pedestrian model="walker.pedestrian.0001" mass="80" name="walker.pedestrian.0001" pedestrianCategory="pedestrian"> <ParameterDeclarations/> <BoundingBox> <Center x="1.5" y="0.0" z="0.9"/> <Dimensions width="2" length="2" height="2"/> </BoundingBox> <Properties> <Property name="type" value="simulation"/> </Properties> </Pedestrian> </ScenarioObject> <ScenarioObject name="pedestrian_close_to_standing_6839"> <Pedestrian model="walker.pedestrian.0001" mass="80" name="walker.pedestrian.0001" pedestrianCategory="pedestrian"> <ParameterDeclarations/> <BoundingBox> <Center x="1.5" y="0.0" z="0.9"/> <Dimensions width="2" length="2" height="2"/> </BoundingBox> <Properties> <Property name="type" value="simulation"/> </Properties> </Pedestrian> </ScenarioObject> <ScenarioObject name="pedestrian_w_transform_6840"> <Pedestrian model="walker.pedestrian.0001" mass="80" name="walker.pedestrian.0001" pedestrianCategory="pedestrian"> <ParameterDeclarations/> <BoundingBox> <Center x="1.5" y="0.0" z="0.9"/> <Dimensions width="2" length="2" height="2"/> </BoundingBox> <Properties> <Property name="type" value="simulation"/> </Properties> </Pedestrian> </ScenarioObject> <ScenarioObject name="pedestrian_close_to_standing_6841"> <Pedestrian model="walker.pedestrian.0001" mass="80" name="walker.pedestrian.0001" pedestrianCategory="pedestrian"> <ParameterDeclarations/> <BoundingBox> <Center x="1.5" y="0.0" z="0.9"/> <Dimensions width="2" length="2" height="2"/> </BoundingBox> <Properties> <Property name="type" value="simulation"/> </Properties> </Pedestrian> </ScenarioObject> <ScenarioObject name="pedestrian_close_to_adversary_6842"> <Pedestrian model="walker.pedestrian.0001" mass="80" name="walker.pedestrian.0001" pedestrianCategory="pedestrian"> <ParameterDeclarations/> <BoundingBox> <Center x="1.5" y="0.0" z="0.9"/> <Dimensions width="2" length="2" height="2"/> </BoundingBox> <Properties> <Property name="type" value="simulation"/> </Properties> </Pedestrian> </ScenarioObject> <ScenarioObject name="pedestrian_close_to_standing_6843"> <Pedestrian model="walker.pedestrian.0001" mass="80" name="walker.pedestrian.0001" pedestrianCategory="pedestrian"> <ParameterDeclarations/> <BoundingBox> <Center x="1.5" y="0.0" z="0.9"/> <Dimensions width="2" length="2" height="2"/> </BoundingBox> <Properties> <Property name="type" value="simulation"/> </Properties> </Pedestrian> </ScenarioObject> <ScenarioObject name="pedestrian_close_to_standing_6844"> <Pedestrian model="walker.pedestrian.0001" mass="80" name="walker.pedestrian.0001" pedestrianCategory="pedestrian"> <ParameterDeclarations/> <BoundingBox> <Center x="1.5" y="0.0" z="0.9"/> <Dimensions width="2" length="2" height="2"/> </BoundingBox> <Properties> <Property name="type" value="simulation"/> </Properties> </Pedestrian> </ScenarioObject> </Entities> <Storyboard> <Init> <Actions> <GlobalAction> <EnvironmentAction> <Environment name="Environment1"> <TimeOfDay animation="false" dateTime="2019-06-25T12:00:00"/> <Weather cloudState="free"> <Sun intensity="0.85" azimuth="0" elevation="1.31"/> <Fog visualRange="100000.0"/> <Precipitation precipitationType="dry" intensity="0.0"/> </Weather> <RoadCondition frictionScaleFactor="1.0"/> </Environment> </EnvironmentAction> </GlobalAction> <Private entityRef="hero"> <PrivateAction> <TeleportAction> <Position> <WorldPosition x="-9.4" y="-152.8" z="0.5" h="1.57079632679"/> </Position> </TeleportAction> </PrivateAction> <PrivateAction> <ControllerAction> <AssignControllerAction> <Controller name="HeroAgent"> <Properties> <Property name="module" value="external_control"/> </Properties> </Controller> </AssignControllerAction> <OverrideControllerValueAction> <Throttle value="0" active="false"/> <Brake value="0" active="false"/> <Clutch value="0" active="false"/> <ParkingBrake value="0" active="false"/> <SteeringWheel value="0" active="false"/> <Gear number="0" active="false"/> </OverrideControllerValueAction> </ControllerAction> </PrivateAction> </Private> <Private entityRef="adversary"> <PrivateAction> <TeleportAction> <Position> <WorldPosition x="-9.4" y="-71.0" z="0.5" h="1.57079632679"/> </Position> </TeleportAction> </PrivateAction> </Private> <Private entityRef="standing"> <PrivateAction> <TeleportAction> <Position> <WorldPosition x="-8.2" y="29.2" z="0.5" h="1.57079632679"/> </Position> </TeleportAction> </PrivateAction> </Private> <Private entityRef="pedestrian_close_to_standing_6836"> <PrivateAction> <TeleportAction> <Position> <WorldPosition x="-13.402114868164062" y="31.161130905151367" z="0.0030593108385801315"/> </Position> </TeleportAction> </PrivateAction> </Private> <Private entityRef="pedestrian_w_transform_6837"> <PrivateAction> <TeleportAction> <Position> <WorldPosition x="-47.03334045410156" y="-54.702423095703125" z="0.5"/> </Position> </TeleportAction> </PrivateAction> </Private> <Private entityRef="pedestrian_w_transform_6838"> <PrivateAction> <TeleportAction> <Position> <WorldPosition x="-61.467132568359375" y="-34.886295318603516" z="0.5"/> </Position> </TeleportAction> </PrivateAction> </Private> <Private entityRef="pedestrian_close_to_standing_6839"> <PrivateAction> <TeleportAction> <Position> <WorldPosition x="-7.513595104217529" y="22.476049423217773" z="0.003063545096665621"/> </Position> </TeleportAction> </PrivateAction> </Private> <Private entityRef="pedestrian_w_transform_6840"> <PrivateAction> <TeleportAction> <Position> <WorldPosition x="32.467586517333984" y="-7.941018581390381" z="0.5"/> </Position> </TeleportAction> </PrivateAction> </Private> <Private entityRef="pedestrian_close_to_standing_6841"> <PrivateAction> <TeleportAction> <Position> <WorldPosition x="-12.203702926635742" y="26.545644760131836" z="0.0030302810482680798"/> </Position> </TeleportAction> </PrivateAction> </Private> <Private entityRef="pedestrian_close_to_adversary_6842"> <PrivateAction> <TeleportAction> <Position> <WorldPosition x="-11.702733993530273" y="-70.92851257324219" z="0.03377971425652504"/> </Position> </TeleportAction> </PrivateAction> </Private> <Private entityRef="pedestrian_close_to_standing_6843"> <PrivateAction> <TeleportAction> <Position> <WorldPosition x="1.8897349834442139" y="21.91389274597168" z="0.003043708624318242"/> </Position> </TeleportAction> </PrivateAction> </Private> <Private entityRef="pedestrian_close_to_standing_6844"> <PrivateAction> <TeleportAction> <Position> <WorldPosition x="-1.4053142070770264" y="27.412681579589844" z="0.003074913052842021"/> </Position> </TeleportAction> </PrivateAction> </Private> </Actions> </Init> <Story name="MyStory"> <Act name="Behavior"> <ManeuverGroup maximumExecutionCount="1" name="ManeuverSequence"> <Actors selectTriggeringEntities="false"> <EntityRef entityRef="adversary"/> </Actors> <Maneuver name="LaneChangeSimpleManeuver"> <Event name="AdversaryAccelerates" priority="overwrite"> <Action name="AdversaryAccelerates"> <PrivateAction> <LongitudinalAction> <SpeedAction> <SpeedActionDynamics dynamicsShape="step" value="50" dynamicsDimension="distance"/> <SpeedActionTarget> <AbsoluteTargetSpeed value="5.0"/> </SpeedActionTarget> </SpeedAction> </LongitudinalAction> </PrivateAction> </Action> <StartTrigger> <ConditionGroup> <Condition name="StartCondition" delay="0" conditionEdge="rising"> <ByEntityCondition> <TriggeringEntities triggeringEntitiesRule="any"> <EntityRef entityRef="hero"/> </TriggeringEntities> <EntityCondition> <RelativeDistanceCondition entityRef="adversary" relativeDistanceType="cartesianDistance" value="40.0" freespace="false" rule="lessThan"/> </EntityCondition> </ByEntityCondition> </Condition> </ConditionGroup> </StartTrigger> </Event> <Event name="AdversaryChangesLane" priority="overwrite"> <Action name="AdversaryChangesLane"> <PrivateAction> <LateralAction> <LaneChangeAction> <LaneChangeActionDynamics dynamicsShape="linear" value="25" dynamicsDimension="distance"/> <LaneChangeTarget> <RelativeTargetLane entityRef="adversary" value="-1"/> </LaneChangeTarget> </LaneChangeAction> </LateralAction> </PrivateAction> </Action> <StartTrigger> <ConditionGroup> <Condition name="AfterAdversaryAccelerates" delay="0" conditionEdge="rising"> <ByValueCondition> <StoryboardElementStateCondition storyboardElementType="action" storyboardElementRef="AdversaryAccelerates" state="completeState"/> </ByValueCondition> </Condition> </ConditionGroup> </StartTrigger> </Event> </Maneuver> </ManeuverGroup> <StartTrigger> <ConditionGroup> <Condition name="OverallStartCondition" delay="0" conditionEdge="rising"> <ByEntityCondition> <TriggeringEntities triggeringEntitiesRule="any"> <EntityRef entityRef="hero"/> </TriggeringEntities> <EntityCondition> <TraveledDistanceCondition value="1.0"/> </EntityCondition> </ByEntityCondition> </Condition> <Condition name="StartTime" delay="0" conditionEdge="rising"> <ByValueCondition> <SimulationTimeCondition value="0" rule="equalTo"/> </ByValueCondition> </Condition> </ConditionGroup> </StartTrigger> <StopTrigger> <ConditionGroup> <Condition name="EndCondition" delay="0" conditionEdge="rising"> <ByEntityCondition> <TriggeringEntities triggeringEntitiesRule="any"> <EntityRef entityRef="hero"/> </TriggeringEntities> <EntityCondition> <TraveledDistanceCondition value="200.0"/> </EntityCondition> </ByEntityCondition> </Condition> </ConditionGroup> </StopTrigger> </Act> </Story> <StopTrigger> <ConditionGroup> <Condition name="criteria_RunningStopTest" delay="0" conditionEdge="rising"> <ByValueCondition> <ParameterCondition parameterRef="" value="" rule="lessThan"/> </ByValueCondition> </Condition> <Condition name="criteria_RunningRedLightTest" delay="0" conditionEdge="rising"> <ByValueCondition> <ParameterCondition parameterRef="" value="" rule="lessThan"/> </ByValueCondition> </Condition> <Condition name="criteria_WrongLaneTest" delay="0" conditionEdge="rising"> <ByValueCondition> <ParameterCondition parameterRef="" value="" rule="lessThan"/> </ByValueCondition> </Condition> <Condition name="criteria_OnSidewalkTest" delay="0" conditionEdge="rising"> <ByValueCondition> <ParameterCondition parameterRef="" value="" rule="lessThan"/> </ByValueCondition> </Condition> <Condition name="criteria_KeepLaneTest" delay="0" conditionEdge="rising"> <ByValueCondition> <ParameterCondition parameterRef="" value="" rule="lessThan"/> </ByValueCondition> </Condition> <Condition name="criteria_CollisionTest" delay="0" conditionEdge="rising"> <ByValueCondition> <ParameterCondition parameterRef="" value="" rule="lessThan"/> </ByValueCondition> </Condition> <Condition name="criteria_DrivenDistanceTest" delay="0" conditionEdge="rising"> <ByValueCondition> <ParameterCondition parameterRef="distance_success" value="100" rule="lessThan"/> </ByValueCondition> </Condition> </ConditionGroup> </StopTrigger> </Storyboard> </OpenSCENARIO> ```
i would like to guide you to add pedestrian close to adversary? ``` <?xml version="1.0" ?> <OpenSCENARIO> <FileHeader revMajor="1" revMinor="0" date="2020-03-24T12:00:00" description="CARLA:LaneChangeSimple" author=""/> <ParameterDeclarations/> <CatalogLocations/> <RoadNetwork> <LogicFile filepath="Town04"/> <SceneGraphFile filepath=""/> </RoadNetwork> <Entities> <ScenarioObject name="hero"> <Vehicle name="vehicle.tesla.model3" vehicleCategory="car"> <ParameterDeclarations/> <Performance maxSpeed="69.444" maxAcceleration="200" maxDeceleration="10.0"/> <BoundingBox> <Center x="1.5" y="0.0" z="0.9"/> <Dimensions width="2.1" length="4.5" height="1.8"/> </BoundingBox> <Axles> <FrontAxle maxSteering="0.5" wheelDiameter="0.6" trackWidth="1.8" positionX="3.1" positionZ="0.3"/> <RearAxle maxSteering="0.0" wheelDiameter="0.6" trackWidth="1.8" positionX="0.0" positionZ="0.3"/> </Axles> <Properties> <Property name="type" value="ego_vehicle"/> </Properties> </Vehicle> </ScenarioObject> <ScenarioObject name="adversary"> <Vehicle name="vehicle.lincoln.mkz_2017" vehicleCategory="car"> <ParameterDeclarations/> <Performance maxSpeed="69.444" maxAcceleration="200" maxDeceleration="10.0"/> <BoundingBox> <Center x="1.5" y="0.0" z="0.9"/> <Dimensions width="2.1" length="4.5" height="1.8"/> </BoundingBox> <Axles> <FrontAxle maxSteering="0.5" wheelDiameter="0.6" trackWidth="1.8" positionX="3.1" positionZ="0.3"/> <RearAxle maxSteering="0.0" wheelDiameter="0.6" trackWidth="1.8" positionX="0.0" positionZ="0.3"/> </Axles> <Properties> <Property name="type" value="simulation"/> </Properties> </Vehicle> </ScenarioObject> <ScenarioObject name="standing"> <Vehicle name="vehicle.volkswagen.t2" vehicleCategory="car"> <ParameterDeclarations/> <Performance maxSpeed="69.444" maxAcceleration="200" maxDeceleration="10.0"/> <BoundingBox> <Center x="1.5" y="0.0" z="0.9"/> <Dimensions width="2.1" length="4.5" height="1.8"/> </BoundingBox> <Axles> <FrontAxle maxSteering="0.5" wheelDiameter="0.6" trackWidth="1.8" positionX="3.1" positionZ="0.3"/> <RearAxle maxSteering="0.0" wheelDiameter="0.6" trackWidth="1.8" positionX="0.0" positionZ="0.3"/> </Axles> <Properties> <Property name="type" value="simulation"/> </Properties> </Vehicle> </ScenarioObject> <ScenarioObject name="pedestrian_close_to_standing_2053"> <Pedestrian model="walker.pedestrian.0001" mass="80" name="walker.pedestrian.0001" pedestrianCategory="pedestrian"> <ParameterDeclarations/> <BoundingBox> <Center x="1.5" y="0.0" z="0.9"/> <Dimensions width="2" length="2" height="2"/> </BoundingBox> <Properties> <Property name="type" value="simulation"/> </Properties> </Pedestrian> </ScenarioObject> <ScenarioObject name="pedestrian_w_transform_2054"> <Pedestrian model="walker.pedestrian.0001" mass="80" name="walker.pedestrian.0001" pedestrianCategory="pedestrian"> <ParameterDeclarations/> <BoundingBox> <Center x="1.5" y="0.0" z="0.9"/> <Dimensions width="2" length="2" height="2"/> </BoundingBox> <Properties> <Property name="type" value="simulation"/> </Properties> </Pedestrian> </ScenarioObject> <ScenarioObject name="pedestrian_w_transform_2055"> <Pedestrian model="walker.pedestrian.0001" mass="80" name="walker.pedestrian.0001" pedestrianCategory="pedestrian"> <ParameterDeclarations/> <BoundingBox> <Center x="1.5" y="0.0" z="0.9"/> <Dimensions width="2" length="2" height="2"/> </BoundingBox> <Properties> <Property name="type" value="simulation"/> </Properties> </Pedestrian> </ScenarioObject> </Entities> <Storyboard> <Init> <Actions> <GlobalAction> <EnvironmentAction> <Environment name="Environment1"> <TimeOfDay animation="false" dateTime="2019-06-25T12:00:00"/> <Weather cloudState="free"> <Sun intensity="0.85" azimuth="0" elevation="1.31"/> <Fog visualRange="100000.0"/> <Precipitation precipitationType="dry" intensity="0.0"/> </Weather> <RoadCondition frictionScaleFactor="1.0"/> </Environment> </EnvironmentAction> </GlobalAction> <Private entityRef="hero"> <PrivateAction> <TeleportAction> <Position> <WorldPosition x="-9.4" y="-152.8" z="0.5" h="1.57079632679"/> </Position> </TeleportAction> </PrivateAction> <PrivateAction> <ControllerAction> <AssignControllerAction> <Controller name="HeroAgent"> <Properties> <Property name="module" value="external_control"/> </Properties> </Controller> </AssignControllerAction> <OverrideControllerValueAction> <Throttle value="0" active="false"/> <Brake value="0" active="false"/> <Clutch value="0" active="false"/> <ParkingBrake value="0" active="false"/> <SteeringWheel value="0" active="false"/> <Gear number="0" active="false"/> </OverrideControllerValueAction> </ControllerAction> </PrivateAction> </Private> <Private entityRef="adversary"> <PrivateAction> <TeleportAction> <Position> <WorldPosition x="-9.4" y="-71.0" z="0.5" h="1.57079632679"/> </Position> </TeleportAction> </PrivateAction> </Private> <Private entityRef="standing"> <PrivateAction> <TeleportAction> <Position> <WorldPosition x="-8.2" y="29.2" z="0.5" h="1.57079632679"/> </Position> </TeleportAction> </PrivateAction> </Private> <Private entityRef="pedestrian_close_to_standing_2053"> <PrivateAction> <TeleportAction> <Position> <WorldPosition x="-1.1677643060684204" y="33.97220230102539" z="0.0030751798767596483"/> </Position> </TeleportAction> </PrivateAction> </Private> <Private entityRef="pedestrian_w_transform_2054"> <PrivateAction> <TeleportAction> <Position> <WorldPosition x="75.66392517089844" y="-10.71626091003418" z="0.5"/> </Position> </TeleportAction> </PrivateAction> </Private> <Private entityRef="pedestrian_w_transform_2055"> <PrivateAction> <TeleportAction> <Position> <WorldPosition x="-10.280708312988281" y="-34.91922378540039" z="0.5"/> </Position> </TeleportAction> </PrivateAction> </Private> </Actions> </Init> <Story name="MyStory"> <Act name="Behavior"> <ManeuverGroup maximumExecutionCount="1" name="ManeuverSequence"> <Actors selectTriggeringEntities="false"> <EntityRef entityRef="adversary"/> </Actors> <Maneuver name="LaneChangeSimpleManeuver"> <Event name="AdversaryAccelerates" priority="overwrite"> <Action name="AdversaryAccelerates"> <PrivateAction> <LongitudinalAction> <SpeedAction> <SpeedActionDynamics dynamicsShape="step" value="50" dynamicsDimension="distance"/> <SpeedActionTarget> <AbsoluteTargetSpeed value="5.0"/> </SpeedActionTarget> </SpeedAction> </LongitudinalAction> </PrivateAction> </Action> <StartTrigger> <ConditionGroup> <Condition name="StartCondition" delay="0" conditionEdge="rising"> <ByEntityCondition> <TriggeringEntities triggeringEntitiesRule="any"> <EntityRef entityRef="hero"/> </TriggeringEntities> <EntityCondition> <RelativeDistanceCondition entityRef="adversary" relativeDistanceType="cartesianDistance" value="40.0" freespace="false" rule="lessThan"/> </EntityCondition> </ByEntityCondition> </Condition> </ConditionGroup> </StartTrigger> </Event> <Event name="AdversaryChangesLane" priority="overwrite"> <Action name="AdversaryChangesLane"> <PrivateAction> <LateralAction> <LaneChangeAction> <LaneChangeActionDynamics dynamicsShape="linear" value="25" dynamicsDimension="distance"/> <LaneChangeTarget> <RelativeTargetLane entityRef="adversary" value="-1"/> </LaneChangeTarget> </LaneChangeAction> </LateralAction> </PrivateAction> </Action> <StartTrigger> <ConditionGroup> <Condition name="AfterAdversaryAccelerates" delay="0" conditionEdge="rising"> <ByValueCondition> <StoryboardElementStateCondition storyboardElementType="action" storyboardElementRef="AdversaryAccelerates" state="completeState"/> </ByValueCondition> </Condition> </ConditionGroup> </StartTrigger> </Event> </Maneuver> </ManeuverGroup> <StartTrigger> <ConditionGroup> <Condition name="OverallStartCondition" delay="0" conditionEdge="rising"> <ByEntityCondition> <TriggeringEntities triggeringEntitiesRule="any"> <EntityRef entityRef="hero"/> </TriggeringEntities> <EntityCondition> <TraveledDistanceCondition value="1.0"/> </EntityCondition> </ByEntityCondition> </Condition> <Condition name="StartTime" delay="0" conditionEdge="rising"> <ByValueCondition> <SimulationTimeCondition value="0" rule="equalTo"/> </ByValueCondition> </Condition> </ConditionGroup> </StartTrigger> <StopTrigger> <ConditionGroup> <Condition name="EndCondition" delay="0" conditionEdge="rising"> <ByEntityCondition> <TriggeringEntities triggeringEntitiesRule="any"> <EntityRef entityRef="hero"/> </TriggeringEntities> <EntityCondition> <TraveledDistanceCondition value="200.0"/> </EntityCondition> </ByEntityCondition> </Condition> </ConditionGroup> </StopTrigger> </Act> </Story> <StopTrigger> <ConditionGroup> <Condition name="criteria_RunningStopTest" delay="0" conditionEdge="rising"> <ByValueCondition> <ParameterCondition parameterRef="" value="" rule="lessThan"/> </ByValueCondition> </Condition> <Condition name="criteria_RunningRedLightTest" delay="0" conditionEdge="rising"> <ByValueCondition> <ParameterCondition parameterRef="" value="" rule="lessThan"/> </ByValueCondition> </Condition> <Condition name="criteria_WrongLaneTest" delay="0" conditionEdge="rising"> <ByValueCondition> <ParameterCondition parameterRef="" value="" rule="lessThan"/> </ByValueCondition> </Condition> <Condition name="criteria_OnSidewalkTest" delay="0" conditionEdge="rising"> <ByValueCondition> <ParameterCondition parameterRef="" value="" rule="lessThan"/> </ByValueCondition> </Condition> <Condition name="criteria_KeepLaneTest" delay="0" conditionEdge="rising"> <ByValueCondition> <ParameterCondition parameterRef="" value="" rule="lessThan"/> </ByValueCondition> </Condition> <Condition name="criteria_CollisionTest" delay="0" conditionEdge="rising"> <ByValueCondition> <ParameterCondition parameterRef="" value="" rule="lessThan"/> </ByValueCondition> </Condition> <Condition name="criteria_DrivenDistanceTest" delay="0" conditionEdge="rising"> <ByValueCondition> <ParameterCondition parameterRef="distance_success" value="100" rule="lessThan"/> </ByValueCondition> </Condition> </ConditionGroup> </StopTrigger> </Storyboard> </OpenSCENARIO> ```
Here is the result: ``` <?xml version="1.0" ?> <OpenSCENARIO> <FileHeader revMajor="1" revMinor="0" date="2020-03-24T12:00:00" description="CARLA:LaneChangeSimple" author=""/> <ParameterDeclarations/> <CatalogLocations/> <RoadNetwork> <LogicFile filepath="Town04"/> <SceneGraphFile filepath=""/> </RoadNetwork> <Entities> <ScenarioObject name="hero"> <Vehicle name="vehicle.tesla.model3" vehicleCategory="car"> <ParameterDeclarations/> <Performance maxSpeed="69.444" maxAcceleration="200" maxDeceleration="10.0"/> <BoundingBox> <Center x="1.5" y="0.0" z="0.9"/> <Dimensions width="2.1" length="4.5" height="1.8"/> </BoundingBox> <Axles> <FrontAxle maxSteering="0.5" wheelDiameter="0.6" trackWidth="1.8" positionX="3.1" positionZ="0.3"/> <RearAxle maxSteering="0.0" wheelDiameter="0.6" trackWidth="1.8" positionX="0.0" positionZ="0.3"/> </Axles> <Properties> <Property name="type" value="ego_vehicle"/> </Properties> </Vehicle> </ScenarioObject> <ScenarioObject name="adversary"> <Vehicle name="vehicle.lincoln.mkz_2017" vehicleCategory="car"> <ParameterDeclarations/> <Performance maxSpeed="69.444" maxAcceleration="200" maxDeceleration="10.0"/> <BoundingBox> <Center x="1.5" y="0.0" z="0.9"/> <Dimensions width="2.1" length="4.5" height="1.8"/> </BoundingBox> <Axles> <FrontAxle maxSteering="0.5" wheelDiameter="0.6" trackWidth="1.8" positionX="3.1" positionZ="0.3"/> <RearAxle maxSteering="0.0" wheelDiameter="0.6" trackWidth="1.8" positionX="0.0" positionZ="0.3"/> </Axles> <Properties> <Property name="type" value="simulation"/> </Properties> </Vehicle> </ScenarioObject> <ScenarioObject name="standing"> <Vehicle name="vehicle.volkswagen.t2" vehicleCategory="car"> <ParameterDeclarations/> <Performance maxSpeed="69.444" maxAcceleration="200" maxDeceleration="10.0"/> <BoundingBox> <Center x="1.5" y="0.0" z="0.9"/> <Dimensions width="2.1" length="4.5" height="1.8"/> </BoundingBox> <Axles> <FrontAxle maxSteering="0.5" wheelDiameter="0.6" trackWidth="1.8" positionX="3.1" positionZ="0.3"/> <RearAxle maxSteering="0.0" wheelDiameter="0.6" trackWidth="1.8" positionX="0.0" positionZ="0.3"/> </Axles> <Properties> <Property name="type" value="simulation"/> </Properties> </Vehicle> </ScenarioObject> <ScenarioObject name="pedestrian_close_to_standing_2053"> <Pedestrian model="walker.pedestrian.0001" mass="80" name="walker.pedestrian.0001" pedestrianCategory="pedestrian"> <ParameterDeclarations/> <BoundingBox> <Center x="1.5" y="0.0" z="0.9"/> <Dimensions width="2" length="2" height="2"/> </BoundingBox> <Properties> <Property name="type" value="simulation"/> </Properties> </Pedestrian> </ScenarioObject> <ScenarioObject name="pedestrian_w_transform_2054"> <Pedestrian model="walker.pedestrian.0001" mass="80" name="walker.pedestrian.0001" pedestrianCategory="pedestrian"> <ParameterDeclarations/> <BoundingBox> <Center x="1.5" y="0.0" z="0.9"/> <Dimensions width="2" length="2" height="2"/> </BoundingBox> <Properties> <Property name="type" value="simulation"/> </Properties> </Pedestrian> </ScenarioObject> <ScenarioObject name="pedestrian_w_transform_2055"> <Pedestrian model="walker.pedestrian.0001" mass="80" name="walker.pedestrian.0001" pedestrianCategory="pedestrian"> <ParameterDeclarations/> <BoundingBox> <Center x="1.5" y="0.0" z="0.9"/> <Dimensions width="2" length="2" height="2"/> </BoundingBox> <Properties> <Property name="type" value="simulation"/> </Properties> </Pedestrian> </ScenarioObject> <ScenarioObject name="pedestrian_close_to_adversary_2056"> <Pedestrian model="walker.pedestrian.0001" mass="80" name="walker.pedestrian.0001" pedestrianCategory="pedestrian"> <ParameterDeclarations/> <BoundingBox> <Center x="1.5" y="0.0" z="0.9"/> <Dimensions width="2" length="2" height="2"/> </BoundingBox> <Properties> <Property name="type" value="simulation"/> </Properties> </Pedestrian> </ScenarioObject> </Entities> <Storyboard> <Init> <Actions> <GlobalAction> <EnvironmentAction> <Environment name="Environment1"> <TimeOfDay animation="false" dateTime="2019-06-25T12:00:00"/> <Weather cloudState="free"> <Sun intensity="0.85" azimuth="0" elevation="1.31"/> <Fog visualRange="100000.0"/> <Precipitation precipitationType="dry" intensity="0.0"/> </Weather> <RoadCondition frictionScaleFactor="1.0"/> </Environment> </EnvironmentAction> </GlobalAction> <Private entityRef="hero"> <PrivateAction> <TeleportAction> <Position> <WorldPosition x="-9.4" y="-152.8" z="0.5" h="1.57079632679"/> </Position> </TeleportAction> </PrivateAction> <PrivateAction> <ControllerAction> <AssignControllerAction> <Controller name="HeroAgent"> <Properties> <Property name="module" value="external_control"/> </Properties> </Controller> </AssignControllerAction> <OverrideControllerValueAction> <Throttle value="0" active="false"/> <Brake value="0" active="false"/> <Clutch value="0" active="false"/> <ParkingBrake value="0" active="false"/> <SteeringWheel value="0" active="false"/> <Gear number="0" active="false"/> </OverrideControllerValueAction> </ControllerAction> </PrivateAction> </Private> <Private entityRef="adversary"> <PrivateAction> <TeleportAction> <Position> <WorldPosition x="-9.4" y="-71.0" z="0.5" h="1.57079632679"/> </Position> </TeleportAction> </PrivateAction> </Private> <Private entityRef="standing"> <PrivateAction> <TeleportAction> <Position> <WorldPosition x="-8.2" y="29.2" z="0.5" h="1.57079632679"/> </Position> </TeleportAction> </PrivateAction> </Private> <Private entityRef="pedestrian_close_to_standing_2053"> <PrivateAction> <TeleportAction> <Position> <WorldPosition x="-1.1677643060684204" y="33.97220230102539" z="0.0030751798767596483"/> </Position> </TeleportAction> </PrivateAction> </Private> <Private entityRef="pedestrian_w_transform_2054"> <PrivateAction> <TeleportAction> <Position> <WorldPosition x="75.66392517089844" y="-10.71626091003418" z="0.5"/> </Position> </TeleportAction> </PrivateAction> </Private> <Private entityRef="pedestrian_w_transform_2055"> <PrivateAction> <TeleportAction> <Position> <WorldPosition x="-10.280708312988281" y="-34.91922378540039" z="0.5"/> </Position> </TeleportAction> </PrivateAction> </Private> <Private entityRef="pedestrian_close_to_adversary_2056"> <PrivateAction> <TeleportAction> <Position> <WorldPosition x="-11.803860664367676" y="-59.178688049316406" z="0.03381103277206421"/> </Position> </TeleportAction> </PrivateAction> </Private> </Actions> </Init> <Story name="MyStory"> <Act name="Behavior"> <ManeuverGroup maximumExecutionCount="1" name="ManeuverSequence"> <Actors selectTriggeringEntities="false"> <EntityRef entityRef="adversary"/> </Actors> <Maneuver name="LaneChangeSimpleManeuver"> <Event name="AdversaryAccelerates" priority="overwrite"> <Action name="AdversaryAccelerates"> <PrivateAction> <LongitudinalAction> <SpeedAction> <SpeedActionDynamics dynamicsShape="step" value="50" dynamicsDimension="distance"/> <SpeedActionTarget> <AbsoluteTargetSpeed value="5.0"/> </SpeedActionTarget> </SpeedAction> </LongitudinalAction> </PrivateAction> </Action> <StartTrigger> <ConditionGroup> <Condition name="StartCondition" delay="0" conditionEdge="rising"> <ByEntityCondition> <TriggeringEntities triggeringEntitiesRule="any"> <EntityRef entityRef="hero"/> </TriggeringEntities> <EntityCondition> <RelativeDistanceCondition entityRef="adversary" relativeDistanceType="cartesianDistance" value="40.0" freespace="false" rule="lessThan"/> </EntityCondition> </ByEntityCondition> </Condition> </ConditionGroup> </StartTrigger> </Event> <Event name="AdversaryChangesLane" priority="overwrite"> <Action name="AdversaryChangesLane"> <PrivateAction> <LateralAction> <LaneChangeAction> <LaneChangeActionDynamics dynamicsShape="linear" value="25" dynamicsDimension="distance"/> <LaneChangeTarget> <RelativeTargetLane entityRef="adversary" value="-1"/> </LaneChangeTarget> </LaneChangeAction> </LateralAction> </PrivateAction> </Action> <StartTrigger> <ConditionGroup> <Condition name="AfterAdversaryAccelerates" delay="0" conditionEdge="rising"> <ByValueCondition> <StoryboardElementStateCondition storyboardElementType="action" storyboardElementRef="AdversaryAccelerates" state="completeState"/> </ByValueCondition> </Condition> </ConditionGroup> </StartTrigger> </Event> </Maneuver> </ManeuverGroup> <StartTrigger> <ConditionGroup> <Condition name="OverallStartCondition" delay="0" conditionEdge="rising"> <ByEntityCondition> <TriggeringEntities triggeringEntitiesRule="any"> <EntityRef entityRef="hero"/> </TriggeringEntities> <EntityCondition> <TraveledDistanceCondition value="1.0"/> </EntityCondition> </ByEntityCondition> </Condition> <Condition name="StartTime" delay="0" conditionEdge="rising"> <ByValueCondition> <SimulationTimeCondition value="0" rule="equalTo"/> </ByValueCondition> </Condition> </ConditionGroup> </StartTrigger> <StopTrigger> <ConditionGroup> <Condition name="EndCondition" delay="0" conditionEdge="rising"> <ByEntityCondition> <TriggeringEntities triggeringEntitiesRule="any"> <EntityRef entityRef="hero"/> </TriggeringEntities> <EntityCondition> <TraveledDistanceCondition value="200.0"/> </EntityCondition> </ByEntityCondition> </Condition> </ConditionGroup> </StopTrigger> </Act> </Story> <StopTrigger> <ConditionGroup> <Condition name="criteria_RunningStopTest" delay="0" conditionEdge="rising"> <ByValueCondition> <ParameterCondition parameterRef="" value="" rule="lessThan"/> </ByValueCondition> </Condition> <Condition name="criteria_RunningRedLightTest" delay="0" conditionEdge="rising"> <ByValueCondition> <ParameterCondition parameterRef="" value="" rule="lessThan"/> </ByValueCondition> </Condition> <Condition name="criteria_WrongLaneTest" delay="0" conditionEdge="rising"> <ByValueCondition> <ParameterCondition parameterRef="" value="" rule="lessThan"/> </ByValueCondition> </Condition> <Condition name="criteria_OnSidewalkTest" delay="0" conditionEdge="rising"> <ByValueCondition> <ParameterCondition parameterRef="" value="" rule="lessThan"/> </ByValueCondition> </Condition> <Condition name="criteria_KeepLaneTest" delay="0" conditionEdge="rising"> <ByValueCondition> <ParameterCondition parameterRef="" value="" rule="lessThan"/> </ByValueCondition> </Condition> <Condition name="criteria_CollisionTest" delay="0" conditionEdge="rising"> <ByValueCondition> <ParameterCondition parameterRef="" value="" rule="lessThan"/> </ByValueCondition> </Condition> <Condition name="criteria_DrivenDistanceTest" delay="0" conditionEdge="rising"> <ByValueCondition> <ParameterCondition parameterRef="distance_success" value="100" rule="lessThan"/> </ByValueCondition> </Condition> </ConditionGroup> </StopTrigger> </Storyboard> </OpenSCENARIO> ```
i would like to command you to add pedestrian close to standing? ``` <?xml version="1.0" ?> <OpenSCENARIO> <FileHeader revMajor="1" revMinor="0" date="2020-03-24T12:00:00" description="CARLA:LaneChangeSimple" author=""/> <ParameterDeclarations/> <CatalogLocations/> <RoadNetwork> <LogicFile filepath="Town04"/> <SceneGraphFile filepath=""/> </RoadNetwork> <Entities> <ScenarioObject name="hero"> <Vehicle name="vehicle.tesla.model3" vehicleCategory="car"> <ParameterDeclarations/> <Performance maxSpeed="69.444" maxAcceleration="200" maxDeceleration="10.0"/> <BoundingBox> <Center x="1.5" y="0.0" z="0.9"/> <Dimensions width="2.1" length="4.5" height="1.8"/> </BoundingBox> <Axles> <FrontAxle maxSteering="0.5" wheelDiameter="0.6" trackWidth="1.8" positionX="3.1" positionZ="0.3"/> <RearAxle maxSteering="0.0" wheelDiameter="0.6" trackWidth="1.8" positionX="0.0" positionZ="0.3"/> </Axles> <Properties> <Property name="type" value="ego_vehicle"/> </Properties> </Vehicle> </ScenarioObject> <ScenarioObject name="adversary"> <Vehicle name="vehicle.lincoln.mkz_2017" vehicleCategory="car"> <ParameterDeclarations/> <Performance maxSpeed="69.444" maxAcceleration="200" maxDeceleration="10.0"/> <BoundingBox> <Center x="1.5" y="0.0" z="0.9"/> <Dimensions width="2.1" length="4.5" height="1.8"/> </BoundingBox> <Axles> <FrontAxle maxSteering="0.5" wheelDiameter="0.6" trackWidth="1.8" positionX="3.1" positionZ="0.3"/> <RearAxle maxSteering="0.0" wheelDiameter="0.6" trackWidth="1.8" positionX="0.0" positionZ="0.3"/> </Axles> <Properties> <Property name="type" value="simulation"/> </Properties> </Vehicle> </ScenarioObject> <ScenarioObject name="standing"> <Vehicle name="vehicle.volkswagen.t2" vehicleCategory="car"> <ParameterDeclarations/> <Performance maxSpeed="69.444" maxAcceleration="200" maxDeceleration="10.0"/> <BoundingBox> <Center x="1.5" y="0.0" z="0.9"/> <Dimensions width="2.1" length="4.5" height="1.8"/> </BoundingBox> <Axles> <FrontAxle maxSteering="0.5" wheelDiameter="0.6" trackWidth="1.8" positionX="3.1" positionZ="0.3"/> <RearAxle maxSteering="0.0" wheelDiameter="0.6" trackWidth="1.8" positionX="0.0" positionZ="0.3"/> </Axles> <Properties> <Property name="type" value="simulation"/> </Properties> </Vehicle> </ScenarioObject> <ScenarioObject name="pedestrian_close_to_hero_6386"> <Pedestrian model="walker.pedestrian.0001" mass="80" name="walker.pedestrian.0001" pedestrianCategory="pedestrian"> <ParameterDeclarations/> <BoundingBox> <Center x="1.5" y="0.0" z="0.9"/> <Dimensions width="2" length="2" height="2"/> </BoundingBox> <Properties> <Property name="type" value="simulation"/> </Properties> </Pedestrian> </ScenarioObject> <ScenarioObject name="pedestrian_w_transform_6387"> <Pedestrian model="walker.pedestrian.0001" mass="80" name="walker.pedestrian.0001" pedestrianCategory="pedestrian"> <ParameterDeclarations/> <BoundingBox> <Center x="1.5" y="0.0" z="0.9"/> <Dimensions width="2" length="2" height="2"/> </BoundingBox> <Properties> <Property name="type" value="simulation"/> </Properties> </Pedestrian> </ScenarioObject> <ScenarioObject name="pedestrian_w_transform_6388"> <Pedestrian model="walker.pedestrian.0001" mass="80" name="walker.pedestrian.0001" pedestrianCategory="pedestrian"> <ParameterDeclarations/> <BoundingBox> <Center x="1.5" y="0.0" z="0.9"/> <Dimensions width="2" length="2" height="2"/> </BoundingBox> <Properties> <Property name="type" value="simulation"/> </Properties> </Pedestrian> </ScenarioObject> <ScenarioObject name="pedestrian_w_transform_6389"> <Pedestrian model="walker.pedestrian.0001" mass="80" name="walker.pedestrian.0001" pedestrianCategory="pedestrian"> <ParameterDeclarations/> <BoundingBox> <Center x="1.5" y="0.0" z="0.9"/> <Dimensions width="2" length="2" height="2"/> </BoundingBox> <Properties> <Property name="type" value="simulation"/> </Properties> </Pedestrian> </ScenarioObject> <ScenarioObject name="pedestrian_close_to_adversary_6390"> <Pedestrian model="walker.pedestrian.0001" mass="80" name="walker.pedestrian.0001" pedestrianCategory="pedestrian"> <ParameterDeclarations/> <BoundingBox> <Center x="1.5" y="0.0" z="0.9"/> <Dimensions width="2" length="2" height="2"/> </BoundingBox> <Properties> <Property name="type" value="simulation"/> </Properties> </Pedestrian> </ScenarioObject> <ScenarioObject name="pedestrian_w_transform_6391"> <Pedestrian model="walker.pedestrian.0001" mass="80" name="walker.pedestrian.0001" pedestrianCategory="pedestrian"> <ParameterDeclarations/> <BoundingBox> <Center x="1.5" y="0.0" z="0.9"/> <Dimensions width="2" length="2" height="2"/> </BoundingBox> <Properties> <Property name="type" value="simulation"/> </Properties> </Pedestrian> </ScenarioObject> <ScenarioObject name="pedestrian_close_to_standing_6392"> <Pedestrian model="walker.pedestrian.0001" mass="80" name="walker.pedestrian.0001" pedestrianCategory="pedestrian"> <ParameterDeclarations/> <BoundingBox> <Center x="1.5" y="0.0" z="0.9"/> <Dimensions width="2" length="2" height="2"/> </BoundingBox> <Properties> <Property name="type" value="simulation"/> </Properties> </Pedestrian> </ScenarioObject> <ScenarioObject name="pedestrian_w_transform_6393"> <Pedestrian model="walker.pedestrian.0001" mass="80" name="walker.pedestrian.0001" pedestrianCategory="pedestrian"> <ParameterDeclarations/> <BoundingBox> <Center x="1.5" y="0.0" z="0.9"/> <Dimensions width="2" length="2" height="2"/> </BoundingBox> <Properties> <Property name="type" value="simulation"/> </Properties> </Pedestrian> </ScenarioObject> <ScenarioObject name="pedestrian_w_transform_6394"> <Pedestrian model="walker.pedestrian.0001" mass="80" name="walker.pedestrian.0001" pedestrianCategory="pedestrian"> <ParameterDeclarations/> <BoundingBox> <Center x="1.5" y="0.0" z="0.9"/> <Dimensions width="2" length="2" height="2"/> </BoundingBox> <Properties> <Property name="type" value="simulation"/> </Properties> </Pedestrian> </ScenarioObject> <ScenarioObject name="pedestrian_w_transform_6395"> <Pedestrian model="walker.pedestrian.0001" mass="80" name="walker.pedestrian.0001" pedestrianCategory="pedestrian"> <ParameterDeclarations/> <BoundingBox> <Center x="1.5" y="0.0" z="0.9"/> <Dimensions width="2" length="2" height="2"/> </BoundingBox> <Properties> <Property name="type" value="simulation"/> </Properties> </Pedestrian> </ScenarioObject> <ScenarioObject name="pedestrian_close_to_standing_6396"> <Pedestrian model="walker.pedestrian.0001" mass="80" name="walker.pedestrian.0001" pedestrianCategory="pedestrian"> <ParameterDeclarations/> <BoundingBox> <Center x="1.5" y="0.0" z="0.9"/> <Dimensions width="2" length="2" height="2"/> </BoundingBox> <Properties> <Property name="type" value="simulation"/> </Properties> </Pedestrian> </ScenarioObject> <ScenarioObject name="pedestrian_w_transform_6397"> <Pedestrian model="walker.pedestrian.0001" mass="80" name="walker.pedestrian.0001" pedestrianCategory="pedestrian"> <ParameterDeclarations/> <BoundingBox> <Center x="1.5" y="0.0" z="0.9"/> <Dimensions width="2" length="2" height="2"/> </BoundingBox> <Properties> <Property name="type" value="simulation"/> </Properties> </Pedestrian> </ScenarioObject> <ScenarioObject name="pedestrian_close_to_hero_6398"> <Pedestrian model="walker.pedestrian.0001" mass="80" name="walker.pedestrian.0001" pedestrianCategory="pedestrian"> <ParameterDeclarations/> <BoundingBox> <Center x="1.5" y="0.0" z="0.9"/> <Dimensions width="2" length="2" height="2"/> </BoundingBox> <Properties> <Property name="type" value="simulation"/> </Properties> </Pedestrian> </ScenarioObject> <ScenarioObject name="pedestrian_close_to_standing_6399"> <Pedestrian model="walker.pedestrian.0001" mass="80" name="walker.pedestrian.0001" pedestrianCategory="pedestrian"> <ParameterDeclarations/> <BoundingBox> <Center x="1.5" y="0.0" z="0.9"/> <Dimensions width="2" length="2" height="2"/> </BoundingBox> <Properties> <Property name="type" value="simulation"/> </Properties> </Pedestrian> </ScenarioObject> <ScenarioObject name="pedestrian_close_to_adversary_6400"> <Pedestrian model="walker.pedestrian.0001" mass="80" name="walker.pedestrian.0001" pedestrianCategory="pedestrian"> <ParameterDeclarations/> <BoundingBox> <Center x="1.5" y="0.0" z="0.9"/> <Dimensions width="2" length="2" height="2"/> </BoundingBox> <Properties> <Property name="type" value="simulation"/> </Properties> </Pedestrian> </ScenarioObject> <ScenarioObject name="pedestrian_close_to_hero_6401"> <Pedestrian model="walker.pedestrian.0001" mass="80" name="walker.pedestrian.0001" pedestrianCategory="pedestrian"> <ParameterDeclarations/> <BoundingBox> <Center x="1.5" y="0.0" z="0.9"/> <Dimensions width="2" length="2" height="2"/> </BoundingBox> <Properties> <Property name="type" value="simulation"/> </Properties> </Pedestrian> </ScenarioObject> <ScenarioObject name="pedestrian_close_to_standing_6402"> <Pedestrian model="walker.pedestrian.0001" mass="80" name="walker.pedestrian.0001" pedestrianCategory="pedestrian"> <ParameterDeclarations/> <BoundingBox> <Center x="1.5" y="0.0" z="0.9"/> <Dimensions width="2" length="2" height="2"/> </BoundingBox> <Properties> <Property name="type" value="simulation"/> </Properties> </Pedestrian> </ScenarioObject> <ScenarioObject name="pedestrian_close_to_standing_6403"> <Pedestrian model="walker.pedestrian.0001" mass="80" name="walker.pedestrian.0001" pedestrianCategory="pedestrian"> <ParameterDeclarations/> <BoundingBox> <Center x="1.5" y="0.0" z="0.9"/> <Dimensions width="2" length="2" height="2"/> </BoundingBox> <Properties> <Property name="type" value="simulation"/> </Properties> </Pedestrian> </ScenarioObject> <ScenarioObject name="pedestrian_w_transform_6404"> <Pedestrian model="walker.pedestrian.0001" mass="80" name="walker.pedestrian.0001" pedestrianCategory="pedestrian"> <ParameterDeclarations/> <BoundingBox> <Center x="1.5" y="0.0" z="0.9"/> <Dimensions width="2" length="2" height="2"/> </BoundingBox> <Properties> <Property name="type" value="simulation"/> </Properties> </Pedestrian> </ScenarioObject> <ScenarioObject name="pedestrian_close_to_hero_6405"> <Pedestrian model="walker.pedestrian.0001" mass="80" name="walker.pedestrian.0001" pedestrianCategory="pedestrian"> <ParameterDeclarations/> <BoundingBox> <Center x="1.5" y="0.0" z="0.9"/> <Dimensions width="2" length="2" height="2"/> </BoundingBox> <Properties> <Property name="type" value="simulation"/> </Properties> </Pedestrian> </ScenarioObject> <ScenarioObject name="pedestrian_close_to_standing_6406"> <Pedestrian model="walker.pedestrian.0001" mass="80" name="walker.pedestrian.0001" pedestrianCategory="pedestrian"> <ParameterDeclarations/> <BoundingBox> <Center x="1.5" y="0.0" z="0.9"/> <Dimensions width="2" length="2" height="2"/> </BoundingBox> <Properties> <Property name="type" value="simulation"/> </Properties> </Pedestrian> </ScenarioObject> <ScenarioObject name="pedestrian_w_transform_6407"> <Pedestrian model="walker.pedestrian.0001" mass="80" name="walker.pedestrian.0001" pedestrianCategory="pedestrian"> <ParameterDeclarations/> <BoundingBox> <Center x="1.5" y="0.0" z="0.9"/> <Dimensions width="2" length="2" height="2"/> </BoundingBox> <Properties> <Property name="type" value="simulation"/> </Properties> </Pedestrian> </ScenarioObject> <ScenarioObject name="pedestrian_w_transform_6408"> <Pedestrian model="walker.pedestrian.0001" mass="80" name="walker.pedestrian.0001" pedestrianCategory="pedestrian"> <ParameterDeclarations/> <BoundingBox> <Center x="1.5" y="0.0" z="0.9"/> <Dimensions width="2" length="2" height="2"/> </BoundingBox> <Properties> <Property name="type" value="simulation"/> </Properties> </Pedestrian> </ScenarioObject> <ScenarioObject name="pedestrian_close_to_adversary_6409"> <Pedestrian model="walker.pedestrian.0001" mass="80" name="walker.pedestrian.0001" pedestrianCategory="pedestrian"> <ParameterDeclarations/> <BoundingBox> <Center x="1.5" y="0.0" z="0.9"/> <Dimensions width="2" length="2" height="2"/> </BoundingBox> <Properties> <Property name="type" value="simulation"/> </Properties> </Pedestrian> </ScenarioObject> </Entities> <Storyboard> <Init> <Actions> <GlobalAction> <EnvironmentAction> <Environment name="Environment1"> <TimeOfDay animation="false" dateTime="2019-06-25T12:00:00"/> <Weather cloudState="free"> <Sun intensity="0.85" azimuth="0" elevation="1.31"/> <Fog visualRange="100000.0"/> <Precipitation precipitationType="dry" intensity="0.0"/> </Weather> <RoadCondition frictionScaleFactor="1.0"/> </Environment> </EnvironmentAction> </GlobalAction> <Private entityRef="hero"> <PrivateAction> <TeleportAction> <Position> <WorldPosition x="-9.4" y="-152.8" z="0.5" h="1.57079632679"/> </Position> </TeleportAction> </PrivateAction> <PrivateAction> <ControllerAction> <AssignControllerAction> <Controller name="HeroAgent"> <Properties> <Property name="module" value="external_control"/> </Properties> </Controller> </AssignControllerAction> <OverrideControllerValueAction> <Throttle value="0" active="false"/> <Brake value="0" active="false"/> <Clutch value="0" active="false"/> <ParkingBrake value="0" active="false"/> <SteeringWheel value="0" active="false"/> <Gear number="0" active="false"/> </OverrideControllerValueAction> </ControllerAction> </PrivateAction> </Private> <Private entityRef="adversary"> <PrivateAction> <TeleportAction> <Position> <WorldPosition x="-9.4" y="-71.0" z="0.5" h="1.57079632679"/> </Position> </TeleportAction> </PrivateAction> </Private> <Private entityRef="standing"> <PrivateAction> <TeleportAction> <Position> <WorldPosition x="-8.2" y="29.2" z="0.5" h="1.57079632679"/> </Position> </TeleportAction> </PrivateAction> </Private> <Private entityRef="pedestrian_close_to_hero_6386"> <PrivateAction> <TeleportAction> <Position> <WorldPosition x="-15.033117294311523" y="-151.5699462890625" z="0.0014286803780123591"/> </Position> </TeleportAction> </PrivateAction> </Private> <Private entityRef="pedestrian_w_transform_6387"> <PrivateAction> <TeleportAction> <Position> <WorldPosition x="-19.4194278717041" y="50.904151916503906" z="0.5"/> </Position> </TeleportAction> </PrivateAction> </Private> <Private entityRef="pedestrian_w_transform_6388"> <PrivateAction> <TeleportAction> <Position> <WorldPosition x="70.67570495605469" y="-50.37635040283203" z="0.5"/> </Position> </TeleportAction> </PrivateAction> </Private> <Private entityRef="pedestrian_w_transform_6389"> <PrivateAction> <TeleportAction> <Position> <WorldPosition x="-55.748260498046875" y="-67.51478576660156" z="0.5"/> </Position> </TeleportAction> </PrivateAction> </Private> <Private entityRef="pedestrian_close_to_adversary_6390"> <PrivateAction> <TeleportAction> <Position> <WorldPosition x="-10.911120414733887" y="-66.09873962402344" z="0.03381076827645302"/> </Position> </TeleportAction> </PrivateAction> </Private> <Private entityRef="pedestrian_w_transform_6391"> <PrivateAction> <TeleportAction> <Position> <WorldPosition x="-62.66559982299805" y="81.25546264648438" z="0.5"/> </Position> </TeleportAction> </PrivateAction> </Private> <Private entityRef="pedestrian_close_to_standing_6392"> <PrivateAction> <TeleportAction> <Position> <WorldPosition x="-1.9634147882461548" y="31.10070037841797" z="0.003093185368925333"/> </Position> </TeleportAction> </PrivateAction> </Private> <Private entityRef="pedestrian_w_transform_6393"> <PrivateAction> <TeleportAction> <Position> <WorldPosition x="-3.5342047214508057" y="-31.004953384399414" z="0.5"/> </Position> </TeleportAction> </PrivateAction> </Private> <Private entityRef="pedestrian_w_transform_6394"> <PrivateAction> <TeleportAction> <Position> <WorldPosition x="-64.14376831054688" y="-35.418792724609375" z="0.5"/> </Position> </TeleportAction> </PrivateAction> </Private> <Private entityRef="pedestrian_w_transform_6395"> <PrivateAction> <TeleportAction> <Position> <WorldPosition x="51.389869689941406" y="-71.66706085205078" z="0.5"/> </Position> </TeleportAction> </PrivateAction> </Private> <Private entityRef="pedestrian_close_to_standing_6396"> <PrivateAction> <TeleportAction> <Position> <WorldPosition x="-3.486743927001953" y="29.43016815185547" z="0.002989921486005187"/> </Position> </TeleportAction> </PrivateAction> </Private> <Private entityRef="pedestrian_w_transform_6397"> <PrivateAction> <TeleportAction> <Position> <WorldPosition x="-54.02080535888672" y="-28.308950424194336" z="0.5"/> </Position> </TeleportAction> </PrivateAction> </Private> <Private entityRef="pedestrian_close_to_hero_6398"> <PrivateAction> <TeleportAction> <Position> <WorldPosition x="-11.201069831848145" y="-146.57823181152344" z="0.0014286803780123591"/> </Position> </TeleportAction> </PrivateAction> </Private> <Private entityRef="pedestrian_close_to_standing_6399"> <PrivateAction> <TeleportAction> <Position> <WorldPosition x="-6.001790523529053" y="34.71034240722656" z="0.003063812153413892"/> </Position> </TeleportAction> </PrivateAction> </Private> <Private entityRef="pedestrian_close_to_adversary_6400"> <PrivateAction> <TeleportAction> <Position> <WorldPosition x="-17.202377319335938" y="-66.78349304199219" z="0.033871687948703766"/> </Position> </TeleportAction> </PrivateAction> </Private> <Private entityRef="pedestrian_close_to_hero_6401"> <PrivateAction> <TeleportAction> <Position> <WorldPosition x="-1.348672866821289" y="-151.47915649414062" z="0.0014286803780123591"/> </Position> </TeleportAction> </PrivateAction> </Private> <Private entityRef="pedestrian_close_to_standing_6402"> <PrivateAction> <TeleportAction> <Position> <WorldPosition x="-2.7303223609924316" y="37.272071838378906" z="0.0030992887914180756"/> </Position> </TeleportAction> </PrivateAction> </Private> <Private entityRef="pedestrian_close_to_standing_6403"> <PrivateAction> <TeleportAction> <Position> <WorldPosition x="-4.983249187469482" y="24.439332962036133" z="0.0030632400885224342"/> </Position> </TeleportAction> </PrivateAction> </Private> <Private entityRef="pedestrian_w_transform_6404"> <PrivateAction> <TeleportAction> <Position> <WorldPosition x="-68.75423431396484" y="99.7260513305664" z="0.5"/> </Position> </TeleportAction> </PrivateAction> </Private> <Private entityRef="pedestrian_close_to_hero_6405"> <PrivateAction> <TeleportAction> <Position> <WorldPosition x="-17.983325958251953" y="-145.60360717773438" z="0.0014286803780123591"/> </Position> </TeleportAction> </PrivateAction> </Private> <Private entityRef="pedestrian_close_to_standing_6406"> <PrivateAction> <TeleportAction> <Position> <WorldPosition x="-1.0553791522979736" y="25.665193557739258" z="0.002982292091473937"/> </Position> </TeleportAction> </PrivateAction> </Private> <Private entityRef="pedestrian_w_transform_6407"> <PrivateAction> <TeleportAction> <Position> <WorldPosition x="67.43584442138672" y="94.83128356933594" z="0.5"/> </Position> </TeleportAction> </PrivateAction> </Private> <Private entityRef="pedestrian_w_transform_6408"> <PrivateAction> <TeleportAction> <Position> <WorldPosition x="54.58671188354492" y="36.281578063964844" z="0.5"/> </Position> </TeleportAction> </PrivateAction> </Private> <Private entityRef="pedestrian_close_to_adversary_6409"> <PrivateAction> <TeleportAction> <Position> <WorldPosition x="-13.971915245056152" y="-63.023414611816406" z="0.03380977734923363"/> </Position> </TeleportAction> </PrivateAction> </Private> </Actions> </Init> <Story name="MyStory"> <Act name="Behavior"> <ManeuverGroup maximumExecutionCount="1" name="ManeuverSequence"> <Actors selectTriggeringEntities="false"> <EntityRef entityRef="adversary"/> </Actors> <Maneuver name="LaneChangeSimpleManeuver"> <Event name="AdversaryAccelerates" priority="overwrite"> <Action name="AdversaryAccelerates"> <PrivateAction> <LongitudinalAction> <SpeedAction> <SpeedActionDynamics dynamicsShape="step" value="50" dynamicsDimension="distance"/> <SpeedActionTarget> <AbsoluteTargetSpeed value="5.0"/> </SpeedActionTarget> </SpeedAction> </LongitudinalAction> </PrivateAction> </Action> <StartTrigger> <ConditionGroup> <Condition name="StartCondition" delay="0" conditionEdge="rising"> <ByEntityCondition> <TriggeringEntities triggeringEntitiesRule="any"> <EntityRef entityRef="hero"/> </TriggeringEntities> <EntityCondition> <RelativeDistanceCondition entityRef="adversary" relativeDistanceType="cartesianDistance" value="40.0" freespace="false" rule="lessThan"/> </EntityCondition> </ByEntityCondition> </Condition> </ConditionGroup> </StartTrigger> </Event> <Event name="AdversaryChangesLane" priority="overwrite"> <Action name="AdversaryChangesLane"> <PrivateAction> <LateralAction> <LaneChangeAction> <LaneChangeActionDynamics dynamicsShape="linear" value="25" dynamicsDimension="distance"/> <LaneChangeTarget> <RelativeTargetLane entityRef="adversary" value="-1"/> </LaneChangeTarget> </LaneChangeAction> </LateralAction> </PrivateAction> </Action> <StartTrigger> <ConditionGroup> <Condition name="AfterAdversaryAccelerates" delay="0" conditionEdge="rising"> <ByValueCondition> <StoryboardElementStateCondition storyboardElementType="action" storyboardElementRef="AdversaryAccelerates" state="completeState"/> </ByValueCondition> </Condition> </ConditionGroup> </StartTrigger> </Event> </Maneuver> </ManeuverGroup> <StartTrigger> <ConditionGroup> <Condition name="OverallStartCondition" delay="0" conditionEdge="rising"> <ByEntityCondition> <TriggeringEntities triggeringEntitiesRule="any"> <EntityRef entityRef="hero"/> </TriggeringEntities> <EntityCondition> <TraveledDistanceCondition value="1.0"/> </EntityCondition> </ByEntityCondition> </Condition> <Condition name="StartTime" delay="0" conditionEdge="rising"> <ByValueCondition> <SimulationTimeCondition value="0" rule="equalTo"/> </ByValueCondition> </Condition> </ConditionGroup> </StartTrigger> <StopTrigger> <ConditionGroup> <Condition name="EndCondition" delay="0" conditionEdge="rising"> <ByEntityCondition> <TriggeringEntities triggeringEntitiesRule="any"> <EntityRef entityRef="hero"/> </TriggeringEntities> <EntityCondition> <TraveledDistanceCondition value="200.0"/> </EntityCondition> </ByEntityCondition> </Condition> </ConditionGroup> </StopTrigger> </Act> </Story> <StopTrigger> <ConditionGroup> <Condition name="criteria_RunningStopTest" delay="0" conditionEdge="rising"> <ByValueCondition> <ParameterCondition parameterRef="" value="" rule="lessThan"/> </ByValueCondition> </Condition> <Condition name="criteria_RunningRedLightTest" delay="0" conditionEdge="rising"> <ByValueCondition> <ParameterCondition parameterRef="" value="" rule="lessThan"/> </ByValueCondition> </Condition> <Condition name="criteria_WrongLaneTest" delay="0" conditionEdge="rising"> <ByValueCondition> <ParameterCondition parameterRef="" value="" rule="lessThan"/> </ByValueCondition> </Condition> <Condition name="criteria_OnSidewalkTest" delay="0" conditionEdge="rising"> <ByValueCondition> <ParameterCondition parameterRef="" value="" rule="lessThan"/> </ByValueCondition> </Condition> <Condition name="criteria_KeepLaneTest" delay="0" conditionEdge="rising"> <ByValueCondition> <ParameterCondition parameterRef="" value="" rule="lessThan"/> </ByValueCondition> </Condition> <Condition name="criteria_CollisionTest" delay="0" conditionEdge="rising"> <ByValueCondition> <ParameterCondition parameterRef="" value="" rule="lessThan"/> </ByValueCondition> </Condition> <Condition name="criteria_DrivenDistanceTest" delay="0" conditionEdge="rising"> <ByValueCondition> <ParameterCondition parameterRef="distance_success" value="100" rule="lessThan"/> </ByValueCondition> </Condition> </ConditionGroup> </StopTrigger> </Storyboard> </OpenSCENARIO> ```
Here is the result: ``` <?xml version="1.0" ?> <OpenSCENARIO> <FileHeader revMajor="1" revMinor="0" date="2020-03-24T12:00:00" description="CARLA:LaneChangeSimple" author=""/> <ParameterDeclarations/> <CatalogLocations/> <RoadNetwork> <LogicFile filepath="Town04"/> <SceneGraphFile filepath=""/> </RoadNetwork> <Entities> <ScenarioObject name="hero"> <Vehicle name="vehicle.tesla.model3" vehicleCategory="car"> <ParameterDeclarations/> <Performance maxSpeed="69.444" maxAcceleration="200" maxDeceleration="10.0"/> <BoundingBox> <Center x="1.5" y="0.0" z="0.9"/> <Dimensions width="2.1" length="4.5" height="1.8"/> </BoundingBox> <Axles> <FrontAxle maxSteering="0.5" wheelDiameter="0.6" trackWidth="1.8" positionX="3.1" positionZ="0.3"/> <RearAxle maxSteering="0.0" wheelDiameter="0.6" trackWidth="1.8" positionX="0.0" positionZ="0.3"/> </Axles> <Properties> <Property name="type" value="ego_vehicle"/> </Properties> </Vehicle> </ScenarioObject> <ScenarioObject name="adversary"> <Vehicle name="vehicle.lincoln.mkz_2017" vehicleCategory="car"> <ParameterDeclarations/> <Performance maxSpeed="69.444" maxAcceleration="200" maxDeceleration="10.0"/> <BoundingBox> <Center x="1.5" y="0.0" z="0.9"/> <Dimensions width="2.1" length="4.5" height="1.8"/> </BoundingBox> <Axles> <FrontAxle maxSteering="0.5" wheelDiameter="0.6" trackWidth="1.8" positionX="3.1" positionZ="0.3"/> <RearAxle maxSteering="0.0" wheelDiameter="0.6" trackWidth="1.8" positionX="0.0" positionZ="0.3"/> </Axles> <Properties> <Property name="type" value="simulation"/> </Properties> </Vehicle> </ScenarioObject> <ScenarioObject name="standing"> <Vehicle name="vehicle.volkswagen.t2" vehicleCategory="car"> <ParameterDeclarations/> <Performance maxSpeed="69.444" maxAcceleration="200" maxDeceleration="10.0"/> <BoundingBox> <Center x="1.5" y="0.0" z="0.9"/> <Dimensions width="2.1" length="4.5" height="1.8"/> </BoundingBox> <Axles> <FrontAxle maxSteering="0.5" wheelDiameter="0.6" trackWidth="1.8" positionX="3.1" positionZ="0.3"/> <RearAxle maxSteering="0.0" wheelDiameter="0.6" trackWidth="1.8" positionX="0.0" positionZ="0.3"/> </Axles> <Properties> <Property name="type" value="simulation"/> </Properties> </Vehicle> </ScenarioObject> <ScenarioObject name="pedestrian_close_to_hero_6386"> <Pedestrian model="walker.pedestrian.0001" mass="80" name="walker.pedestrian.0001" pedestrianCategory="pedestrian"> <ParameterDeclarations/> <BoundingBox> <Center x="1.5" y="0.0" z="0.9"/> <Dimensions width="2" length="2" height="2"/> </BoundingBox> <Properties> <Property name="type" value="simulation"/> </Properties> </Pedestrian> </ScenarioObject> <ScenarioObject name="pedestrian_w_transform_6387"> <Pedestrian model="walker.pedestrian.0001" mass="80" name="walker.pedestrian.0001" pedestrianCategory="pedestrian"> <ParameterDeclarations/> <BoundingBox> <Center x="1.5" y="0.0" z="0.9"/> <Dimensions width="2" length="2" height="2"/> </BoundingBox> <Properties> <Property name="type" value="simulation"/> </Properties> </Pedestrian> </ScenarioObject> <ScenarioObject name="pedestrian_w_transform_6388"> <Pedestrian model="walker.pedestrian.0001" mass="80" name="walker.pedestrian.0001" pedestrianCategory="pedestrian"> <ParameterDeclarations/> <BoundingBox> <Center x="1.5" y="0.0" z="0.9"/> <Dimensions width="2" length="2" height="2"/> </BoundingBox> <Properties> <Property name="type" value="simulation"/> </Properties> </Pedestrian> </ScenarioObject> <ScenarioObject name="pedestrian_w_transform_6389"> <Pedestrian model="walker.pedestrian.0001" mass="80" name="walker.pedestrian.0001" pedestrianCategory="pedestrian"> <ParameterDeclarations/> <BoundingBox> <Center x="1.5" y="0.0" z="0.9"/> <Dimensions width="2" length="2" height="2"/> </BoundingBox> <Properties> <Property name="type" value="simulation"/> </Properties> </Pedestrian> </ScenarioObject> <ScenarioObject name="pedestrian_close_to_adversary_6390"> <Pedestrian model="walker.pedestrian.0001" mass="80" name="walker.pedestrian.0001" pedestrianCategory="pedestrian"> <ParameterDeclarations/> <BoundingBox> <Center x="1.5" y="0.0" z="0.9"/> <Dimensions width="2" length="2" height="2"/> </BoundingBox> <Properties> <Property name="type" value="simulation"/> </Properties> </Pedestrian> </ScenarioObject> <ScenarioObject name="pedestrian_w_transform_6391"> <Pedestrian model="walker.pedestrian.0001" mass="80" name="walker.pedestrian.0001" pedestrianCategory="pedestrian"> <ParameterDeclarations/> <BoundingBox> <Center x="1.5" y="0.0" z="0.9"/> <Dimensions width="2" length="2" height="2"/> </BoundingBox> <Properties> <Property name="type" value="simulation"/> </Properties> </Pedestrian> </ScenarioObject> <ScenarioObject name="pedestrian_close_to_standing_6392"> <Pedestrian model="walker.pedestrian.0001" mass="80" name="walker.pedestrian.0001" pedestrianCategory="pedestrian"> <ParameterDeclarations/> <BoundingBox> <Center x="1.5" y="0.0" z="0.9"/> <Dimensions width="2" length="2" height="2"/> </BoundingBox> <Properties> <Property name="type" value="simulation"/> </Properties> </Pedestrian> </ScenarioObject> <ScenarioObject name="pedestrian_w_transform_6393"> <Pedestrian model="walker.pedestrian.0001" mass="80" name="walker.pedestrian.0001" pedestrianCategory="pedestrian"> <ParameterDeclarations/> <BoundingBox> <Center x="1.5" y="0.0" z="0.9"/> <Dimensions width="2" length="2" height="2"/> </BoundingBox> <Properties> <Property name="type" value="simulation"/> </Properties> </Pedestrian> </ScenarioObject> <ScenarioObject name="pedestrian_w_transform_6394"> <Pedestrian model="walker.pedestrian.0001" mass="80" name="walker.pedestrian.0001" pedestrianCategory="pedestrian"> <ParameterDeclarations/> <BoundingBox> <Center x="1.5" y="0.0" z="0.9"/> <Dimensions width="2" length="2" height="2"/> </BoundingBox> <Properties> <Property name="type" value="simulation"/> </Properties> </Pedestrian> </ScenarioObject> <ScenarioObject name="pedestrian_w_transform_6395"> <Pedestrian model="walker.pedestrian.0001" mass="80" name="walker.pedestrian.0001" pedestrianCategory="pedestrian"> <ParameterDeclarations/> <BoundingBox> <Center x="1.5" y="0.0" z="0.9"/> <Dimensions width="2" length="2" height="2"/> </BoundingBox> <Properties> <Property name="type" value="simulation"/> </Properties> </Pedestrian> </ScenarioObject> <ScenarioObject name="pedestrian_close_to_standing_6396"> <Pedestrian model="walker.pedestrian.0001" mass="80" name="walker.pedestrian.0001" pedestrianCategory="pedestrian"> <ParameterDeclarations/> <BoundingBox> <Center x="1.5" y="0.0" z="0.9"/> <Dimensions width="2" length="2" height="2"/> </BoundingBox> <Properties> <Property name="type" value="simulation"/> </Properties> </Pedestrian> </ScenarioObject> <ScenarioObject name="pedestrian_w_transform_6397"> <Pedestrian model="walker.pedestrian.0001" mass="80" name="walker.pedestrian.0001" pedestrianCategory="pedestrian"> <ParameterDeclarations/> <BoundingBox> <Center x="1.5" y="0.0" z="0.9"/> <Dimensions width="2" length="2" height="2"/> </BoundingBox> <Properties> <Property name="type" value="simulation"/> </Properties> </Pedestrian> </ScenarioObject> <ScenarioObject name="pedestrian_close_to_hero_6398"> <Pedestrian model="walker.pedestrian.0001" mass="80" name="walker.pedestrian.0001" pedestrianCategory="pedestrian"> <ParameterDeclarations/> <BoundingBox> <Center x="1.5" y="0.0" z="0.9"/> <Dimensions width="2" length="2" height="2"/> </BoundingBox> <Properties> <Property name="type" value="simulation"/> </Properties> </Pedestrian> </ScenarioObject> <ScenarioObject name="pedestrian_close_to_standing_6399"> <Pedestrian model="walker.pedestrian.0001" mass="80" name="walker.pedestrian.0001" pedestrianCategory="pedestrian"> <ParameterDeclarations/> <BoundingBox> <Center x="1.5" y="0.0" z="0.9"/> <Dimensions width="2" length="2" height="2"/> </BoundingBox> <Properties> <Property name="type" value="simulation"/> </Properties> </Pedestrian> </ScenarioObject> <ScenarioObject name="pedestrian_close_to_adversary_6400"> <Pedestrian model="walker.pedestrian.0001" mass="80" name="walker.pedestrian.0001" pedestrianCategory="pedestrian"> <ParameterDeclarations/> <BoundingBox> <Center x="1.5" y="0.0" z="0.9"/> <Dimensions width="2" length="2" height="2"/> </BoundingBox> <Properties> <Property name="type" value="simulation"/> </Properties> </Pedestrian> </ScenarioObject> <ScenarioObject name="pedestrian_close_to_hero_6401"> <Pedestrian model="walker.pedestrian.0001" mass="80" name="walker.pedestrian.0001" pedestrianCategory="pedestrian"> <ParameterDeclarations/> <BoundingBox> <Center x="1.5" y="0.0" z="0.9"/> <Dimensions width="2" length="2" height="2"/> </BoundingBox> <Properties> <Property name="type" value="simulation"/> </Properties> </Pedestrian> </ScenarioObject> <ScenarioObject name="pedestrian_close_to_standing_6402"> <Pedestrian model="walker.pedestrian.0001" mass="80" name="walker.pedestrian.0001" pedestrianCategory="pedestrian"> <ParameterDeclarations/> <BoundingBox> <Center x="1.5" y="0.0" z="0.9"/> <Dimensions width="2" length="2" height="2"/> </BoundingBox> <Properties> <Property name="type" value="simulation"/> </Properties> </Pedestrian> </ScenarioObject> <ScenarioObject name="pedestrian_close_to_standing_6403"> <Pedestrian model="walker.pedestrian.0001" mass="80" name="walker.pedestrian.0001" pedestrianCategory="pedestrian"> <ParameterDeclarations/> <BoundingBox> <Center x="1.5" y="0.0" z="0.9"/> <Dimensions width="2" length="2" height="2"/> </BoundingBox> <Properties> <Property name="type" value="simulation"/> </Properties> </Pedestrian> </ScenarioObject> <ScenarioObject name="pedestrian_w_transform_6404"> <Pedestrian model="walker.pedestrian.0001" mass="80" name="walker.pedestrian.0001" pedestrianCategory="pedestrian"> <ParameterDeclarations/> <BoundingBox> <Center x="1.5" y="0.0" z="0.9"/> <Dimensions width="2" length="2" height="2"/> </BoundingBox> <Properties> <Property name="type" value="simulation"/> </Properties> </Pedestrian> </ScenarioObject> <ScenarioObject name="pedestrian_close_to_hero_6405"> <Pedestrian model="walker.pedestrian.0001" mass="80" name="walker.pedestrian.0001" pedestrianCategory="pedestrian"> <ParameterDeclarations/> <BoundingBox> <Center x="1.5" y="0.0" z="0.9"/> <Dimensions width="2" length="2" height="2"/> </BoundingBox> <Properties> <Property name="type" value="simulation"/> </Properties> </Pedestrian> </ScenarioObject> <ScenarioObject name="pedestrian_close_to_standing_6406"> <Pedestrian model="walker.pedestrian.0001" mass="80" name="walker.pedestrian.0001" pedestrianCategory="pedestrian"> <ParameterDeclarations/> <BoundingBox> <Center x="1.5" y="0.0" z="0.9"/> <Dimensions width="2" length="2" height="2"/> </BoundingBox> <Properties> <Property name="type" value="simulation"/> </Properties> </Pedestrian> </ScenarioObject> <ScenarioObject name="pedestrian_w_transform_6407"> <Pedestrian model="walker.pedestrian.0001" mass="80" name="walker.pedestrian.0001" pedestrianCategory="pedestrian"> <ParameterDeclarations/> <BoundingBox> <Center x="1.5" y="0.0" z="0.9"/> <Dimensions width="2" length="2" height="2"/> </BoundingBox> <Properties> <Property name="type" value="simulation"/> </Properties> </Pedestrian> </ScenarioObject> <ScenarioObject name="pedestrian_w_transform_6408"> <Pedestrian model="walker.pedestrian.0001" mass="80" name="walker.pedestrian.0001" pedestrianCategory="pedestrian"> <ParameterDeclarations/> <BoundingBox> <Center x="1.5" y="0.0" z="0.9"/> <Dimensions width="2" length="2" height="2"/> </BoundingBox> <Properties> <Property name="type" value="simulation"/> </Properties> </Pedestrian> </ScenarioObject> <ScenarioObject name="pedestrian_close_to_adversary_6409"> <Pedestrian model="walker.pedestrian.0001" mass="80" name="walker.pedestrian.0001" pedestrianCategory="pedestrian"> <ParameterDeclarations/> <BoundingBox> <Center x="1.5" y="0.0" z="0.9"/> <Dimensions width="2" length="2" height="2"/> </BoundingBox> <Properties> <Property name="type" value="simulation"/> </Properties> </Pedestrian> </ScenarioObject> <ScenarioObject name="pedestrian_close_to_standing_6410"> <Pedestrian model="walker.pedestrian.0001" mass="80" name="walker.pedestrian.0001" pedestrianCategory="pedestrian"> <ParameterDeclarations/> <BoundingBox> <Center x="1.5" y="0.0" z="0.9"/> <Dimensions width="2" length="2" height="2"/> </BoundingBox> <Properties> <Property name="type" value="simulation"/> </Properties> </Pedestrian> </ScenarioObject> </Entities> <Storyboard> <Init> <Actions> <GlobalAction> <EnvironmentAction> <Environment name="Environment1"> <TimeOfDay animation="false" dateTime="2019-06-25T12:00:00"/> <Weather cloudState="free"> <Sun intensity="0.85" azimuth="0" elevation="1.31"/> <Fog visualRange="100000.0"/> <Precipitation precipitationType="dry" intensity="0.0"/> </Weather> <RoadCondition frictionScaleFactor="1.0"/> </Environment> </EnvironmentAction> </GlobalAction> <Private entityRef="hero"> <PrivateAction> <TeleportAction> <Position> <WorldPosition x="-9.4" y="-152.8" z="0.5" h="1.57079632679"/> </Position> </TeleportAction> </PrivateAction> <PrivateAction> <ControllerAction> <AssignControllerAction> <Controller name="HeroAgent"> <Properties> <Property name="module" value="external_control"/> </Properties> </Controller> </AssignControllerAction> <OverrideControllerValueAction> <Throttle value="0" active="false"/> <Brake value="0" active="false"/> <Clutch value="0" active="false"/> <ParkingBrake value="0" active="false"/> <SteeringWheel value="0" active="false"/> <Gear number="0" active="false"/> </OverrideControllerValueAction> </ControllerAction> </PrivateAction> </Private> <Private entityRef="adversary"> <PrivateAction> <TeleportAction> <Position> <WorldPosition x="-9.4" y="-71.0" z="0.5" h="1.57079632679"/> </Position> </TeleportAction> </PrivateAction> </Private> <Private entityRef="standing"> <PrivateAction> <TeleportAction> <Position> <WorldPosition x="-8.2" y="29.2" z="0.5" h="1.57079632679"/> </Position> </TeleportAction> </PrivateAction> </Private> <Private entityRef="pedestrian_close_to_hero_6386"> <PrivateAction> <TeleportAction> <Position> <WorldPosition x="-15.033117294311523" y="-151.5699462890625" z="0.0014286803780123591"/> </Position> </TeleportAction> </PrivateAction> </Private> <Private entityRef="pedestrian_w_transform_6387"> <PrivateAction> <TeleportAction> <Position> <WorldPosition x="-19.4194278717041" y="50.904151916503906" z="0.5"/> </Position> </TeleportAction> </PrivateAction> </Private> <Private entityRef="pedestrian_w_transform_6388"> <PrivateAction> <TeleportAction> <Position> <WorldPosition x="70.67570495605469" y="-50.37635040283203" z="0.5"/> </Position> </TeleportAction> </PrivateAction> </Private> <Private entityRef="pedestrian_w_transform_6389"> <PrivateAction> <TeleportAction> <Position> <WorldPosition x="-55.748260498046875" y="-67.51478576660156" z="0.5"/> </Position> </TeleportAction> </PrivateAction> </Private> <Private entityRef="pedestrian_close_to_adversary_6390"> <PrivateAction> <TeleportAction> <Position> <WorldPosition x="-10.911120414733887" y="-66.09873962402344" z="0.03381076827645302"/> </Position> </TeleportAction> </PrivateAction> </Private> <Private entityRef="pedestrian_w_transform_6391"> <PrivateAction> <TeleportAction> <Position> <WorldPosition x="-62.66559982299805" y="81.25546264648438" z="0.5"/> </Position> </TeleportAction> </PrivateAction> </Private> <Private entityRef="pedestrian_close_to_standing_6392"> <PrivateAction> <TeleportAction> <Position> <WorldPosition x="-1.9634147882461548" y="31.10070037841797" z="0.003093185368925333"/> </Position> </TeleportAction> </PrivateAction> </Private> <Private entityRef="pedestrian_w_transform_6393"> <PrivateAction> <TeleportAction> <Position> <WorldPosition x="-3.5342047214508057" y="-31.004953384399414" z="0.5"/> </Position> </TeleportAction> </PrivateAction> </Private> <Private entityRef="pedestrian_w_transform_6394"> <PrivateAction> <TeleportAction> <Position> <WorldPosition x="-64.14376831054688" y="-35.418792724609375" z="0.5"/> </Position> </TeleportAction> </PrivateAction> </Private> <Private entityRef="pedestrian_w_transform_6395"> <PrivateAction> <TeleportAction> <Position> <WorldPosition x="51.389869689941406" y="-71.66706085205078" z="0.5"/> </Position> </TeleportAction> </PrivateAction> </Private> <Private entityRef="pedestrian_close_to_standing_6396"> <PrivateAction> <TeleportAction> <Position> <WorldPosition x="-3.486743927001953" y="29.43016815185547" z="0.002989921486005187"/> </Position> </TeleportAction> </PrivateAction> </Private> <Private entityRef="pedestrian_w_transform_6397"> <PrivateAction> <TeleportAction> <Position> <WorldPosition x="-54.02080535888672" y="-28.308950424194336" z="0.5"/> </Position> </TeleportAction> </PrivateAction> </Private> <Private entityRef="pedestrian_close_to_hero_6398"> <PrivateAction> <TeleportAction> <Position> <WorldPosition x="-11.201069831848145" y="-146.57823181152344" z="0.0014286803780123591"/> </Position> </TeleportAction> </PrivateAction> </Private> <Private entityRef="pedestrian_close_to_standing_6399"> <PrivateAction> <TeleportAction> <Position> <WorldPosition x="-6.001790523529053" y="34.71034240722656" z="0.003063812153413892"/> </Position> </TeleportAction> </PrivateAction> </Private> <Private entityRef="pedestrian_close_to_adversary_6400"> <PrivateAction> <TeleportAction> <Position> <WorldPosition x="-17.202377319335938" y="-66.78349304199219" z="0.033871687948703766"/> </Position> </TeleportAction> </PrivateAction> </Private> <Private entityRef="pedestrian_close_to_hero_6401"> <PrivateAction> <TeleportAction> <Position> <WorldPosition x="-1.348672866821289" y="-151.47915649414062" z="0.0014286803780123591"/> </Position> </TeleportAction> </PrivateAction> </Private> <Private entityRef="pedestrian_close_to_standing_6402"> <PrivateAction> <TeleportAction> <Position> <WorldPosition x="-2.7303223609924316" y="37.272071838378906" z="0.0030992887914180756"/> </Position> </TeleportAction> </PrivateAction> </Private> <Private entityRef="pedestrian_close_to_standing_6403"> <PrivateAction> <TeleportAction> <Position> <WorldPosition x="-4.983249187469482" y="24.439332962036133" z="0.0030632400885224342"/> </Position> </TeleportAction> </PrivateAction> </Private> <Private entityRef="pedestrian_w_transform_6404"> <PrivateAction> <TeleportAction> <Position> <WorldPosition x="-68.75423431396484" y="99.7260513305664" z="0.5"/> </Position> </TeleportAction> </PrivateAction> </Private> <Private entityRef="pedestrian_close_to_hero_6405"> <PrivateAction> <TeleportAction> <Position> <WorldPosition x="-17.983325958251953" y="-145.60360717773438" z="0.0014286803780123591"/> </Position> </TeleportAction> </PrivateAction> </Private> <Private entityRef="pedestrian_close_to_standing_6406"> <PrivateAction> <TeleportAction> <Position> <WorldPosition x="-1.0553791522979736" y="25.665193557739258" z="0.002982292091473937"/> </Position> </TeleportAction> </PrivateAction> </Private> <Private entityRef="pedestrian_w_transform_6407"> <PrivateAction> <TeleportAction> <Position> <WorldPosition x="67.43584442138672" y="94.83128356933594" z="0.5"/> </Position> </TeleportAction> </PrivateAction> </Private> <Private entityRef="pedestrian_w_transform_6408"> <PrivateAction> <TeleportAction> <Position> <WorldPosition x="54.58671188354492" y="36.281578063964844" z="0.5"/> </Position> </TeleportAction> </PrivateAction> </Private> <Private entityRef="pedestrian_close_to_adversary_6409"> <PrivateAction> <TeleportAction> <Position> <WorldPosition x="-13.971915245056152" y="-63.023414611816406" z="0.03380977734923363"/> </Position> </TeleportAction> </PrivateAction> </Private> <Private entityRef="pedestrian_close_to_standing_6410"> <PrivateAction> <TeleportAction> <Position> <WorldPosition x="-13.273359298706055" y="22.068187713623047" z="0.003062095493078232"/> </Position> </TeleportAction> </PrivateAction> </Private> </Actions> </Init> <Story name="MyStory"> <Act name="Behavior"> <ManeuverGroup maximumExecutionCount="1" name="ManeuverSequence"> <Actors selectTriggeringEntities="false"> <EntityRef entityRef="adversary"/> </Actors> <Maneuver name="LaneChangeSimpleManeuver"> <Event name="AdversaryAccelerates" priority="overwrite"> <Action name="AdversaryAccelerates"> <PrivateAction> <LongitudinalAction> <SpeedAction> <SpeedActionDynamics dynamicsShape="step" value="50" dynamicsDimension="distance"/> <SpeedActionTarget> <AbsoluteTargetSpeed value="5.0"/> </SpeedActionTarget> </SpeedAction> </LongitudinalAction> </PrivateAction> </Action> <StartTrigger> <ConditionGroup> <Condition name="StartCondition" delay="0" conditionEdge="rising"> <ByEntityCondition> <TriggeringEntities triggeringEntitiesRule="any"> <EntityRef entityRef="hero"/> </TriggeringEntities> <EntityCondition> <RelativeDistanceCondition entityRef="adversary" relativeDistanceType="cartesianDistance" value="40.0" freespace="false" rule="lessThan"/> </EntityCondition> </ByEntityCondition> </Condition> </ConditionGroup> </StartTrigger> </Event> <Event name="AdversaryChangesLane" priority="overwrite"> <Action name="AdversaryChangesLane"> <PrivateAction> <LateralAction> <LaneChangeAction> <LaneChangeActionDynamics dynamicsShape="linear" value="25" dynamicsDimension="distance"/> <LaneChangeTarget> <RelativeTargetLane entityRef="adversary" value="-1"/> </LaneChangeTarget> </LaneChangeAction> </LateralAction> </PrivateAction> </Action> <StartTrigger> <ConditionGroup> <Condition name="AfterAdversaryAccelerates" delay="0" conditionEdge="rising"> <ByValueCondition> <StoryboardElementStateCondition storyboardElementType="action" storyboardElementRef="AdversaryAccelerates" state="completeState"/> </ByValueCondition> </Condition> </ConditionGroup> </StartTrigger> </Event> </Maneuver> </ManeuverGroup> <StartTrigger> <ConditionGroup> <Condition name="OverallStartCondition" delay="0" conditionEdge="rising"> <ByEntityCondition> <TriggeringEntities triggeringEntitiesRule="any"> <EntityRef entityRef="hero"/> </TriggeringEntities> <EntityCondition> <TraveledDistanceCondition value="1.0"/> </EntityCondition> </ByEntityCondition> </Condition> <Condition name="StartTime" delay="0" conditionEdge="rising"> <ByValueCondition> <SimulationTimeCondition value="0" rule="equalTo"/> </ByValueCondition> </Condition> </ConditionGroup> </StartTrigger> <StopTrigger> <ConditionGroup> <Condition name="EndCondition" delay="0" conditionEdge="rising"> <ByEntityCondition> <TriggeringEntities triggeringEntitiesRule="any"> <EntityRef entityRef="hero"/> </TriggeringEntities> <EntityCondition> <TraveledDistanceCondition value="200.0"/> </EntityCondition> </ByEntityCondition> </Condition> </ConditionGroup> </StopTrigger> </Act> </Story> <StopTrigger> <ConditionGroup> <Condition name="criteria_RunningStopTest" delay="0" conditionEdge="rising"> <ByValueCondition> <ParameterCondition parameterRef="" value="" rule="lessThan"/> </ByValueCondition> </Condition> <Condition name="criteria_RunningRedLightTest" delay="0" conditionEdge="rising"> <ByValueCondition> <ParameterCondition parameterRef="" value="" rule="lessThan"/> </ByValueCondition> </Condition> <Condition name="criteria_WrongLaneTest" delay="0" conditionEdge="rising"> <ByValueCondition> <ParameterCondition parameterRef="" value="" rule="lessThan"/> </ByValueCondition> </Condition> <Condition name="criteria_OnSidewalkTest" delay="0" conditionEdge="rising"> <ByValueCondition> <ParameterCondition parameterRef="" value="" rule="lessThan"/> </ByValueCondition> </Condition> <Condition name="criteria_KeepLaneTest" delay="0" conditionEdge="rising"> <ByValueCondition> <ParameterCondition parameterRef="" value="" rule="lessThan"/> </ByValueCondition> </Condition> <Condition name="criteria_CollisionTest" delay="0" conditionEdge="rising"> <ByValueCondition> <ParameterCondition parameterRef="" value="" rule="lessThan"/> </ByValueCondition> </Condition> <Condition name="criteria_DrivenDistanceTest" delay="0" conditionEdge="rising"> <ByValueCondition> <ParameterCondition parameterRef="distance_success" value="100" rule="lessThan"/> </ByValueCondition> </Condition> </ConditionGroup> </StopTrigger> </Storyboard> </OpenSCENARIO> ```
i would like to command you to add pedestrian at location (80.37, 47.09, 0.5)? ``` <?xml version="1.0" ?> <OpenSCENARIO> <FileHeader revMajor="1" revMinor="0" date="2020-03-24T12:00:00" description="CARLA:LaneChangeSimple" author=""/> <ParameterDeclarations/> <CatalogLocations/> <RoadNetwork> <LogicFile filepath="Town04"/> <SceneGraphFile filepath=""/> </RoadNetwork> <Entities> <ScenarioObject name="hero"> <Vehicle name="vehicle.tesla.model3" vehicleCategory="car"> <ParameterDeclarations/> <Performance maxSpeed="69.444" maxAcceleration="200" maxDeceleration="10.0"/> <BoundingBox> <Center x="1.5" y="0.0" z="0.9"/> <Dimensions width="2.1" length="4.5" height="1.8"/> </BoundingBox> <Axles> <FrontAxle maxSteering="0.5" wheelDiameter="0.6" trackWidth="1.8" positionX="3.1" positionZ="0.3"/> <RearAxle maxSteering="0.0" wheelDiameter="0.6" trackWidth="1.8" positionX="0.0" positionZ="0.3"/> </Axles> <Properties> <Property name="type" value="ego_vehicle"/> </Properties> </Vehicle> </ScenarioObject> <ScenarioObject name="adversary"> <Vehicle name="vehicle.lincoln.mkz_2017" vehicleCategory="car"> <ParameterDeclarations/> <Performance maxSpeed="69.444" maxAcceleration="200" maxDeceleration="10.0"/> <BoundingBox> <Center x="1.5" y="0.0" z="0.9"/> <Dimensions width="2.1" length="4.5" height="1.8"/> </BoundingBox> <Axles> <FrontAxle maxSteering="0.5" wheelDiameter="0.6" trackWidth="1.8" positionX="3.1" positionZ="0.3"/> <RearAxle maxSteering="0.0" wheelDiameter="0.6" trackWidth="1.8" positionX="0.0" positionZ="0.3"/> </Axles> <Properties> <Property name="type" value="simulation"/> </Properties> </Vehicle> </ScenarioObject> <ScenarioObject name="standing"> <Vehicle name="vehicle.volkswagen.t2" vehicleCategory="car"> <ParameterDeclarations/> <Performance maxSpeed="69.444" maxAcceleration="200" maxDeceleration="10.0"/> <BoundingBox> <Center x="1.5" y="0.0" z="0.9"/> <Dimensions width="2.1" length="4.5" height="1.8"/> </BoundingBox> <Axles> <FrontAxle maxSteering="0.5" wheelDiameter="0.6" trackWidth="1.8" positionX="3.1" positionZ="0.3"/> <RearAxle maxSteering="0.0" wheelDiameter="0.6" trackWidth="1.8" positionX="0.0" positionZ="0.3"/> </Axles> <Properties> <Property name="type" value="simulation"/> </Properties> </Vehicle> </ScenarioObject> <ScenarioObject name="pedestrian_close_to_adversary_6682"> <Pedestrian model="walker.pedestrian.0001" mass="80" name="walker.pedestrian.0001" pedestrianCategory="pedestrian"> <ParameterDeclarations/> <BoundingBox> <Center x="1.5" y="0.0" z="0.9"/> <Dimensions width="2" length="2" height="2"/> </BoundingBox> <Properties> <Property name="type" value="simulation"/> </Properties> </Pedestrian> </ScenarioObject> </Entities> <Storyboard> <Init> <Actions> <GlobalAction> <EnvironmentAction> <Environment name="Environment1"> <TimeOfDay animation="false" dateTime="2019-06-25T12:00:00"/> <Weather cloudState="free"> <Sun intensity="0.85" azimuth="0" elevation="1.31"/> <Fog visualRange="100000.0"/> <Precipitation precipitationType="dry" intensity="0.0"/> </Weather> <RoadCondition frictionScaleFactor="1.0"/> </Environment> </EnvironmentAction> </GlobalAction> <Private entityRef="hero"> <PrivateAction> <TeleportAction> <Position> <WorldPosition x="-9.4" y="-152.8" z="0.5" h="1.57079632679"/> </Position> </TeleportAction> </PrivateAction> <PrivateAction> <ControllerAction> <AssignControllerAction> <Controller name="HeroAgent"> <Properties> <Property name="module" value="external_control"/> </Properties> </Controller> </AssignControllerAction> <OverrideControllerValueAction> <Throttle value="0" active="false"/> <Brake value="0" active="false"/> <Clutch value="0" active="false"/> <ParkingBrake value="0" active="false"/> <SteeringWheel value="0" active="false"/> <Gear number="0" active="false"/> </OverrideControllerValueAction> </ControllerAction> </PrivateAction> </Private> <Private entityRef="adversary"> <PrivateAction> <TeleportAction> <Position> <WorldPosition x="-9.4" y="-71.0" z="0.5" h="1.57079632679"/> </Position> </TeleportAction> </PrivateAction> </Private> <Private entityRef="standing"> <PrivateAction> <TeleportAction> <Position> <WorldPosition x="-8.2" y="29.2" z="0.5" h="1.57079632679"/> </Position> </TeleportAction> </PrivateAction> </Private> <Private entityRef="pedestrian_close_to_adversary_6682"> <PrivateAction> <TeleportAction> <Position> <WorldPosition x="-7.714995384216309" y="-65.27545928955078" z="0.03380287066102028"/> </Position> </TeleportAction> </PrivateAction> </Private> </Actions> </Init> <Story name="MyStory"> <Act name="Behavior"> <ManeuverGroup maximumExecutionCount="1" name="ManeuverSequence"> <Actors selectTriggeringEntities="false"> <EntityRef entityRef="adversary"/> </Actors> <Maneuver name="LaneChangeSimpleManeuver"> <Event name="AdversaryAccelerates" priority="overwrite"> <Action name="AdversaryAccelerates"> <PrivateAction> <LongitudinalAction> <SpeedAction> <SpeedActionDynamics dynamicsShape="step" value="50" dynamicsDimension="distance"/> <SpeedActionTarget> <AbsoluteTargetSpeed value="5.0"/> </SpeedActionTarget> </SpeedAction> </LongitudinalAction> </PrivateAction> </Action> <StartTrigger> <ConditionGroup> <Condition name="StartCondition" delay="0" conditionEdge="rising"> <ByEntityCondition> <TriggeringEntities triggeringEntitiesRule="any"> <EntityRef entityRef="hero"/> </TriggeringEntities> <EntityCondition> <RelativeDistanceCondition entityRef="adversary" relativeDistanceType="cartesianDistance" value="40.0" freespace="false" rule="lessThan"/> </EntityCondition> </ByEntityCondition> </Condition> </ConditionGroup> </StartTrigger> </Event> <Event name="AdversaryChangesLane" priority="overwrite"> <Action name="AdversaryChangesLane"> <PrivateAction> <LateralAction> <LaneChangeAction> <LaneChangeActionDynamics dynamicsShape="linear" value="25" dynamicsDimension="distance"/> <LaneChangeTarget> <RelativeTargetLane entityRef="adversary" value="-1"/> </LaneChangeTarget> </LaneChangeAction> </LateralAction> </PrivateAction> </Action> <StartTrigger> <ConditionGroup> <Condition name="AfterAdversaryAccelerates" delay="0" conditionEdge="rising"> <ByValueCondition> <StoryboardElementStateCondition storyboardElementType="action" storyboardElementRef="AdversaryAccelerates" state="completeState"/> </ByValueCondition> </Condition> </ConditionGroup> </StartTrigger> </Event> </Maneuver> </ManeuverGroup> <StartTrigger> <ConditionGroup> <Condition name="OverallStartCondition" delay="0" conditionEdge="rising"> <ByEntityCondition> <TriggeringEntities triggeringEntitiesRule="any"> <EntityRef entityRef="hero"/> </TriggeringEntities> <EntityCondition> <TraveledDistanceCondition value="1.0"/> </EntityCondition> </ByEntityCondition> </Condition> <Condition name="StartTime" delay="0" conditionEdge="rising"> <ByValueCondition> <SimulationTimeCondition value="0" rule="equalTo"/> </ByValueCondition> </Condition> </ConditionGroup> </StartTrigger> <StopTrigger> <ConditionGroup> <Condition name="EndCondition" delay="0" conditionEdge="rising"> <ByEntityCondition> <TriggeringEntities triggeringEntitiesRule="any"> <EntityRef entityRef="hero"/> </TriggeringEntities> <EntityCondition> <TraveledDistanceCondition value="200.0"/> </EntityCondition> </ByEntityCondition> </Condition> </ConditionGroup> </StopTrigger> </Act> </Story> <StopTrigger> <ConditionGroup> <Condition name="criteria_RunningStopTest" delay="0" conditionEdge="rising"> <ByValueCondition> <ParameterCondition parameterRef="" value="" rule="lessThan"/> </ByValueCondition> </Condition> <Condition name="criteria_RunningRedLightTest" delay="0" conditionEdge="rising"> <ByValueCondition> <ParameterCondition parameterRef="" value="" rule="lessThan"/> </ByValueCondition> </Condition> <Condition name="criteria_WrongLaneTest" delay="0" conditionEdge="rising"> <ByValueCondition> <ParameterCondition parameterRef="" value="" rule="lessThan"/> </ByValueCondition> </Condition> <Condition name="criteria_OnSidewalkTest" delay="0" conditionEdge="rising"> <ByValueCondition> <ParameterCondition parameterRef="" value="" rule="lessThan"/> </ByValueCondition> </Condition> <Condition name="criteria_KeepLaneTest" delay="0" conditionEdge="rising"> <ByValueCondition> <ParameterCondition parameterRef="" value="" rule="lessThan"/> </ByValueCondition> </Condition> <Condition name="criteria_CollisionTest" delay="0" conditionEdge="rising"> <ByValueCondition> <ParameterCondition parameterRef="" value="" rule="lessThan"/> </ByValueCondition> </Condition> <Condition name="criteria_DrivenDistanceTest" delay="0" conditionEdge="rising"> <ByValueCondition> <ParameterCondition parameterRef="distance_success" value="100" rule="lessThan"/> </ByValueCondition> </Condition> </ConditionGroup> </StopTrigger> </Storyboard> </OpenSCENARIO> ```
Here is the result: ``` <?xml version="1.0" ?> <OpenSCENARIO> <FileHeader revMajor="1" revMinor="0" date="2020-03-24T12:00:00" description="CARLA:LaneChangeSimple" author=""/> <ParameterDeclarations/> <CatalogLocations/> <RoadNetwork> <LogicFile filepath="Town04"/> <SceneGraphFile filepath=""/> </RoadNetwork> <Entities> <ScenarioObject name="hero"> <Vehicle name="vehicle.tesla.model3" vehicleCategory="car"> <ParameterDeclarations/> <Performance maxSpeed="69.444" maxAcceleration="200" maxDeceleration="10.0"/> <BoundingBox> <Center x="1.5" y="0.0" z="0.9"/> <Dimensions width="2.1" length="4.5" height="1.8"/> </BoundingBox> <Axles> <FrontAxle maxSteering="0.5" wheelDiameter="0.6" trackWidth="1.8" positionX="3.1" positionZ="0.3"/> <RearAxle maxSteering="0.0" wheelDiameter="0.6" trackWidth="1.8" positionX="0.0" positionZ="0.3"/> </Axles> <Properties> <Property name="type" value="ego_vehicle"/> </Properties> </Vehicle> </ScenarioObject> <ScenarioObject name="adversary"> <Vehicle name="vehicle.lincoln.mkz_2017" vehicleCategory="car"> <ParameterDeclarations/> <Performance maxSpeed="69.444" maxAcceleration="200" maxDeceleration="10.0"/> <BoundingBox> <Center x="1.5" y="0.0" z="0.9"/> <Dimensions width="2.1" length="4.5" height="1.8"/> </BoundingBox> <Axles> <FrontAxle maxSteering="0.5" wheelDiameter="0.6" trackWidth="1.8" positionX="3.1" positionZ="0.3"/> <RearAxle maxSteering="0.0" wheelDiameter="0.6" trackWidth="1.8" positionX="0.0" positionZ="0.3"/> </Axles> <Properties> <Property name="type" value="simulation"/> </Properties> </Vehicle> </ScenarioObject> <ScenarioObject name="standing"> <Vehicle name="vehicle.volkswagen.t2" vehicleCategory="car"> <ParameterDeclarations/> <Performance maxSpeed="69.444" maxAcceleration="200" maxDeceleration="10.0"/> <BoundingBox> <Center x="1.5" y="0.0" z="0.9"/> <Dimensions width="2.1" length="4.5" height="1.8"/> </BoundingBox> <Axles> <FrontAxle maxSteering="0.5" wheelDiameter="0.6" trackWidth="1.8" positionX="3.1" positionZ="0.3"/> <RearAxle maxSteering="0.0" wheelDiameter="0.6" trackWidth="1.8" positionX="0.0" positionZ="0.3"/> </Axles> <Properties> <Property name="type" value="simulation"/> </Properties> </Vehicle> </ScenarioObject> <ScenarioObject name="pedestrian_close_to_adversary_6682"> <Pedestrian model="walker.pedestrian.0001" mass="80" name="walker.pedestrian.0001" pedestrianCategory="pedestrian"> <ParameterDeclarations/> <BoundingBox> <Center x="1.5" y="0.0" z="0.9"/> <Dimensions width="2" length="2" height="2"/> </BoundingBox> <Properties> <Property name="type" value="simulation"/> </Properties> </Pedestrian> </ScenarioObject> <ScenarioObject name="pedestrian_w_transform_6683"> <Pedestrian model="walker.pedestrian.0001" mass="80" name="walker.pedestrian.0001" pedestrianCategory="pedestrian"> <ParameterDeclarations/> <BoundingBox> <Center x="1.5" y="0.0" z="0.9"/> <Dimensions width="2" length="2" height="2"/> </BoundingBox> <Properties> <Property name="type" value="simulation"/> </Properties> </Pedestrian> </ScenarioObject> </Entities> <Storyboard> <Init> <Actions> <GlobalAction> <EnvironmentAction> <Environment name="Environment1"> <TimeOfDay animation="false" dateTime="2019-06-25T12:00:00"/> <Weather cloudState="free"> <Sun intensity="0.85" azimuth="0" elevation="1.31"/> <Fog visualRange="100000.0"/> <Precipitation precipitationType="dry" intensity="0.0"/> </Weather> <RoadCondition frictionScaleFactor="1.0"/> </Environment> </EnvironmentAction> </GlobalAction> <Private entityRef="hero"> <PrivateAction> <TeleportAction> <Position> <WorldPosition x="-9.4" y="-152.8" z="0.5" h="1.57079632679"/> </Position> </TeleportAction> </PrivateAction> <PrivateAction> <ControllerAction> <AssignControllerAction> <Controller name="HeroAgent"> <Properties> <Property name="module" value="external_control"/> </Properties> </Controller> </AssignControllerAction> <OverrideControllerValueAction> <Throttle value="0" active="false"/> <Brake value="0" active="false"/> <Clutch value="0" active="false"/> <ParkingBrake value="0" active="false"/> <SteeringWheel value="0" active="false"/> <Gear number="0" active="false"/> </OverrideControllerValueAction> </ControllerAction> </PrivateAction> </Private> <Private entityRef="adversary"> <PrivateAction> <TeleportAction> <Position> <WorldPosition x="-9.4" y="-71.0" z="0.5" h="1.57079632679"/> </Position> </TeleportAction> </PrivateAction> </Private> <Private entityRef="standing"> <PrivateAction> <TeleportAction> <Position> <WorldPosition x="-8.2" y="29.2" z="0.5" h="1.57079632679"/> </Position> </TeleportAction> </PrivateAction> </Private> <Private entityRef="pedestrian_close_to_adversary_6682"> <PrivateAction> <TeleportAction> <Position> <WorldPosition x="-7.714995384216309" y="-65.27545928955078" z="0.03380287066102028"/> </Position> </TeleportAction> </PrivateAction> </Private> <Private entityRef="pedestrian_w_transform_6683"> <PrivateAction> <TeleportAction> <Position> <WorldPosition x="80.3678207397461" y="47.08924865722656" z="0.5"/> </Position> </TeleportAction> </PrivateAction> </Private> </Actions> </Init> <Story name="MyStory"> <Act name="Behavior"> <ManeuverGroup maximumExecutionCount="1" name="ManeuverSequence"> <Actors selectTriggeringEntities="false"> <EntityRef entityRef="adversary"/> </Actors> <Maneuver name="LaneChangeSimpleManeuver"> <Event name="AdversaryAccelerates" priority="overwrite"> <Action name="AdversaryAccelerates"> <PrivateAction> <LongitudinalAction> <SpeedAction> <SpeedActionDynamics dynamicsShape="step" value="50" dynamicsDimension="distance"/> <SpeedActionTarget> <AbsoluteTargetSpeed value="5.0"/> </SpeedActionTarget> </SpeedAction> </LongitudinalAction> </PrivateAction> </Action> <StartTrigger> <ConditionGroup> <Condition name="StartCondition" delay="0" conditionEdge="rising"> <ByEntityCondition> <TriggeringEntities triggeringEntitiesRule="any"> <EntityRef entityRef="hero"/> </TriggeringEntities> <EntityCondition> <RelativeDistanceCondition entityRef="adversary" relativeDistanceType="cartesianDistance" value="40.0" freespace="false" rule="lessThan"/> </EntityCondition> </ByEntityCondition> </Condition> </ConditionGroup> </StartTrigger> </Event> <Event name="AdversaryChangesLane" priority="overwrite"> <Action name="AdversaryChangesLane"> <PrivateAction> <LateralAction> <LaneChangeAction> <LaneChangeActionDynamics dynamicsShape="linear" value="25" dynamicsDimension="distance"/> <LaneChangeTarget> <RelativeTargetLane entityRef="adversary" value="-1"/> </LaneChangeTarget> </LaneChangeAction> </LateralAction> </PrivateAction> </Action> <StartTrigger> <ConditionGroup> <Condition name="AfterAdversaryAccelerates" delay="0" conditionEdge="rising"> <ByValueCondition> <StoryboardElementStateCondition storyboardElementType="action" storyboardElementRef="AdversaryAccelerates" state="completeState"/> </ByValueCondition> </Condition> </ConditionGroup> </StartTrigger> </Event> </Maneuver> </ManeuverGroup> <StartTrigger> <ConditionGroup> <Condition name="OverallStartCondition" delay="0" conditionEdge="rising"> <ByEntityCondition> <TriggeringEntities triggeringEntitiesRule="any"> <EntityRef entityRef="hero"/> </TriggeringEntities> <EntityCondition> <TraveledDistanceCondition value="1.0"/> </EntityCondition> </ByEntityCondition> </Condition> <Condition name="StartTime" delay="0" conditionEdge="rising"> <ByValueCondition> <SimulationTimeCondition value="0" rule="equalTo"/> </ByValueCondition> </Condition> </ConditionGroup> </StartTrigger> <StopTrigger> <ConditionGroup> <Condition name="EndCondition" delay="0" conditionEdge="rising"> <ByEntityCondition> <TriggeringEntities triggeringEntitiesRule="any"> <EntityRef entityRef="hero"/> </TriggeringEntities> <EntityCondition> <TraveledDistanceCondition value="200.0"/> </EntityCondition> </ByEntityCondition> </Condition> </ConditionGroup> </StopTrigger> </Act> </Story> <StopTrigger> <ConditionGroup> <Condition name="criteria_RunningStopTest" delay="0" conditionEdge="rising"> <ByValueCondition> <ParameterCondition parameterRef="" value="" rule="lessThan"/> </ByValueCondition> </Condition> <Condition name="criteria_RunningRedLightTest" delay="0" conditionEdge="rising"> <ByValueCondition> <ParameterCondition parameterRef="" value="" rule="lessThan"/> </ByValueCondition> </Condition> <Condition name="criteria_WrongLaneTest" delay="0" conditionEdge="rising"> <ByValueCondition> <ParameterCondition parameterRef="" value="" rule="lessThan"/> </ByValueCondition> </Condition> <Condition name="criteria_OnSidewalkTest" delay="0" conditionEdge="rising"> <ByValueCondition> <ParameterCondition parameterRef="" value="" rule="lessThan"/> </ByValueCondition> </Condition> <Condition name="criteria_KeepLaneTest" delay="0" conditionEdge="rising"> <ByValueCondition> <ParameterCondition parameterRef="" value="" rule="lessThan"/> </ByValueCondition> </Condition> <Condition name="criteria_CollisionTest" delay="0" conditionEdge="rising"> <ByValueCondition> <ParameterCondition parameterRef="" value="" rule="lessThan"/> </ByValueCondition> </Condition> <Condition name="criteria_DrivenDistanceTest" delay="0" conditionEdge="rising"> <ByValueCondition> <ParameterCondition parameterRef="distance_success" value="100" rule="lessThan"/> </ByValueCondition> </Condition> </ConditionGroup> </StopTrigger> </Storyboard> </OpenSCENARIO> ```
i would like to ask you to add pedestrian close to hero? ``` <?xml version="1.0" ?> <OpenSCENARIO> <FileHeader revMajor="1" revMinor="0" date="2020-03-24T12:00:00" description="CARLA:LaneChangeSimple" author=""/> <ParameterDeclarations/> <CatalogLocations/> <RoadNetwork> <LogicFile filepath="Town04"/> <SceneGraphFile filepath=""/> </RoadNetwork> <Entities> <ScenarioObject name="hero"> <Vehicle name="vehicle.tesla.model3" vehicleCategory="car"> <ParameterDeclarations/> <Performance maxSpeed="69.444" maxAcceleration="200" maxDeceleration="10.0"/> <BoundingBox> <Center x="1.5" y="0.0" z="0.9"/> <Dimensions width="2.1" length="4.5" height="1.8"/> </BoundingBox> <Axles> <FrontAxle maxSteering="0.5" wheelDiameter="0.6" trackWidth="1.8" positionX="3.1" positionZ="0.3"/> <RearAxle maxSteering="0.0" wheelDiameter="0.6" trackWidth="1.8" positionX="0.0" positionZ="0.3"/> </Axles> <Properties> <Property name="type" value="ego_vehicle"/> </Properties> </Vehicle> </ScenarioObject> <ScenarioObject name="adversary"> <Vehicle name="vehicle.lincoln.mkz_2017" vehicleCategory="car"> <ParameterDeclarations/> <Performance maxSpeed="69.444" maxAcceleration="200" maxDeceleration="10.0"/> <BoundingBox> <Center x="1.5" y="0.0" z="0.9"/> <Dimensions width="2.1" length="4.5" height="1.8"/> </BoundingBox> <Axles> <FrontAxle maxSteering="0.5" wheelDiameter="0.6" trackWidth="1.8" positionX="3.1" positionZ="0.3"/> <RearAxle maxSteering="0.0" wheelDiameter="0.6" trackWidth="1.8" positionX="0.0" positionZ="0.3"/> </Axles> <Properties> <Property name="type" value="simulation"/> </Properties> </Vehicle> </ScenarioObject> <ScenarioObject name="standing"> <Vehicle name="vehicle.volkswagen.t2" vehicleCategory="car"> <ParameterDeclarations/> <Performance maxSpeed="69.444" maxAcceleration="200" maxDeceleration="10.0"/> <BoundingBox> <Center x="1.5" y="0.0" z="0.9"/> <Dimensions width="2.1" length="4.5" height="1.8"/> </BoundingBox> <Axles> <FrontAxle maxSteering="0.5" wheelDiameter="0.6" trackWidth="1.8" positionX="3.1" positionZ="0.3"/> <RearAxle maxSteering="0.0" wheelDiameter="0.6" trackWidth="1.8" positionX="0.0" positionZ="0.3"/> </Axles> <Properties> <Property name="type" value="simulation"/> </Properties> </Vehicle> </ScenarioObject> <ScenarioObject name="pedestrian_close_to_hero_5480"> <Pedestrian model="walker.pedestrian.0001" mass="80" name="walker.pedestrian.0001" pedestrianCategory="pedestrian"> <ParameterDeclarations/> <BoundingBox> <Center x="1.5" y="0.0" z="0.9"/> <Dimensions width="2" length="2" height="2"/> </BoundingBox> <Properties> <Property name="type" value="simulation"/> </Properties> </Pedestrian> </ScenarioObject> <ScenarioObject name="pedestrian_w_transform_5481"> <Pedestrian model="walker.pedestrian.0001" mass="80" name="walker.pedestrian.0001" pedestrianCategory="pedestrian"> <ParameterDeclarations/> <BoundingBox> <Center x="1.5" y="0.0" z="0.9"/> <Dimensions width="2" length="2" height="2"/> </BoundingBox> <Properties> <Property name="type" value="simulation"/> </Properties> </Pedestrian> </ScenarioObject> <ScenarioObject name="pedestrian_close_to_hero_5482"> <Pedestrian model="walker.pedestrian.0001" mass="80" name="walker.pedestrian.0001" pedestrianCategory="pedestrian"> <ParameterDeclarations/> <BoundingBox> <Center x="1.5" y="0.0" z="0.9"/> <Dimensions width="2" length="2" height="2"/> </BoundingBox> <Properties> <Property name="type" value="simulation"/> </Properties> </Pedestrian> </ScenarioObject> <ScenarioObject name="pedestrian_close_to_adversary_5483"> <Pedestrian model="walker.pedestrian.0001" mass="80" name="walker.pedestrian.0001" pedestrianCategory="pedestrian"> <ParameterDeclarations/> <BoundingBox> <Center x="1.5" y="0.0" z="0.9"/> <Dimensions width="2" length="2" height="2"/> </BoundingBox> <Properties> <Property name="type" value="simulation"/> </Properties> </Pedestrian> </ScenarioObject> <ScenarioObject name="pedestrian_w_transform_5484"> <Pedestrian model="walker.pedestrian.0001" mass="80" name="walker.pedestrian.0001" pedestrianCategory="pedestrian"> <ParameterDeclarations/> <BoundingBox> <Center x="1.5" y="0.0" z="0.9"/> <Dimensions width="2" length="2" height="2"/> </BoundingBox> <Properties> <Property name="type" value="simulation"/> </Properties> </Pedestrian> </ScenarioObject> </Entities> <Storyboard> <Init> <Actions> <GlobalAction> <EnvironmentAction> <Environment name="Environment1"> <TimeOfDay animation="false" dateTime="2019-06-25T12:00:00"/> <Weather cloudState="free"> <Sun intensity="0.85" azimuth="0" elevation="1.31"/> <Fog visualRange="100000.0"/> <Precipitation precipitationType="dry" intensity="0.0"/> </Weather> <RoadCondition frictionScaleFactor="1.0"/> </Environment> </EnvironmentAction> </GlobalAction> <Private entityRef="hero"> <PrivateAction> <TeleportAction> <Position> <WorldPosition x="-9.4" y="-152.8" z="0.5" h="1.57079632679"/> </Position> </TeleportAction> </PrivateAction> <PrivateAction> <ControllerAction> <AssignControllerAction> <Controller name="HeroAgent"> <Properties> <Property name="module" value="external_control"/> </Properties> </Controller> </AssignControllerAction> <OverrideControllerValueAction> <Throttle value="0" active="false"/> <Brake value="0" active="false"/> <Clutch value="0" active="false"/> <ParkingBrake value="0" active="false"/> <SteeringWheel value="0" active="false"/> <Gear number="0" active="false"/> </OverrideControllerValueAction> </ControllerAction> </PrivateAction> </Private> <Private entityRef="adversary"> <PrivateAction> <TeleportAction> <Position> <WorldPosition x="-9.4" y="-71.0" z="0.5" h="1.57079632679"/> </Position> </TeleportAction> </PrivateAction> </Private> <Private entityRef="standing"> <PrivateAction> <TeleportAction> <Position> <WorldPosition x="-8.2" y="29.2" z="0.5" h="1.57079632679"/> </Position> </TeleportAction> </PrivateAction> </Private> <Private entityRef="pedestrian_close_to_hero_5480"> <PrivateAction> <TeleportAction> <Position> <WorldPosition x="-15.65457820892334" y="-161.7915496826172" z="0.0014286803780123591"/> </Position> </TeleportAction> </PrivateAction> </Private> <Private entityRef="pedestrian_w_transform_5481"> <PrivateAction> <TeleportAction> <Position> <WorldPosition x="-52.89959716796875" y="-73.55147552490234" z="0.5"/> </Position> </TeleportAction> </PrivateAction> </Private> <Private entityRef="pedestrian_close_to_hero_5482"> <PrivateAction> <TeleportAction> <Position> <WorldPosition x="-10.223411560058594" y="-149.01902770996094" z="0.0014286803780123591"/> </Position> </TeleportAction> </PrivateAction> </Private> <Private entityRef="pedestrian_close_to_adversary_5483"> <PrivateAction> <TeleportAction> <Position> <WorldPosition x="-17.91622543334961" y="-66.8965835571289" z="0.03382854536175728"/> </Position> </TeleportAction> </PrivateAction> </Private> <Private entityRef="pedestrian_w_transform_5484"> <PrivateAction> <TeleportAction> <Position> <WorldPosition x="37.7513313293457" y="-47.154014587402344" z="0.5"/> </Position> </TeleportAction> </PrivateAction> </Private> </Actions> </Init> <Story name="MyStory"> <Act name="Behavior"> <ManeuverGroup maximumExecutionCount="1" name="ManeuverSequence"> <Actors selectTriggeringEntities="false"> <EntityRef entityRef="adversary"/> </Actors> <Maneuver name="LaneChangeSimpleManeuver"> <Event name="AdversaryAccelerates" priority="overwrite"> <Action name="AdversaryAccelerates"> <PrivateAction> <LongitudinalAction> <SpeedAction> <SpeedActionDynamics dynamicsShape="step" value="50" dynamicsDimension="distance"/> <SpeedActionTarget> <AbsoluteTargetSpeed value="5.0"/> </SpeedActionTarget> </SpeedAction> </LongitudinalAction> </PrivateAction> </Action> <StartTrigger> <ConditionGroup> <Condition name="StartCondition" delay="0" conditionEdge="rising"> <ByEntityCondition> <TriggeringEntities triggeringEntitiesRule="any"> <EntityRef entityRef="hero"/> </TriggeringEntities> <EntityCondition> <RelativeDistanceCondition entityRef="adversary" relativeDistanceType="cartesianDistance" value="40.0" freespace="false" rule="lessThan"/> </EntityCondition> </ByEntityCondition> </Condition> </ConditionGroup> </StartTrigger> </Event> <Event name="AdversaryChangesLane" priority="overwrite"> <Action name="AdversaryChangesLane"> <PrivateAction> <LateralAction> <LaneChangeAction> <LaneChangeActionDynamics dynamicsShape="linear" value="25" dynamicsDimension="distance"/> <LaneChangeTarget> <RelativeTargetLane entityRef="adversary" value="-1"/> </LaneChangeTarget> </LaneChangeAction> </LateralAction> </PrivateAction> </Action> <StartTrigger> <ConditionGroup> <Condition name="AfterAdversaryAccelerates" delay="0" conditionEdge="rising"> <ByValueCondition> <StoryboardElementStateCondition storyboardElementType="action" storyboardElementRef="AdversaryAccelerates" state="completeState"/> </ByValueCondition> </Condition> </ConditionGroup> </StartTrigger> </Event> </Maneuver> </ManeuverGroup> <StartTrigger> <ConditionGroup> <Condition name="OverallStartCondition" delay="0" conditionEdge="rising"> <ByEntityCondition> <TriggeringEntities triggeringEntitiesRule="any"> <EntityRef entityRef="hero"/> </TriggeringEntities> <EntityCondition> <TraveledDistanceCondition value="1.0"/> </EntityCondition> </ByEntityCondition> </Condition> <Condition name="StartTime" delay="0" conditionEdge="rising"> <ByValueCondition> <SimulationTimeCondition value="0" rule="equalTo"/> </ByValueCondition> </Condition> </ConditionGroup> </StartTrigger> <StopTrigger> <ConditionGroup> <Condition name="EndCondition" delay="0" conditionEdge="rising"> <ByEntityCondition> <TriggeringEntities triggeringEntitiesRule="any"> <EntityRef entityRef="hero"/> </TriggeringEntities> <EntityCondition> <TraveledDistanceCondition value="200.0"/> </EntityCondition> </ByEntityCondition> </Condition> </ConditionGroup> </StopTrigger> </Act> </Story> <StopTrigger> <ConditionGroup> <Condition name="criteria_RunningStopTest" delay="0" conditionEdge="rising"> <ByValueCondition> <ParameterCondition parameterRef="" value="" rule="lessThan"/> </ByValueCondition> </Condition> <Condition name="criteria_RunningRedLightTest" delay="0" conditionEdge="rising"> <ByValueCondition> <ParameterCondition parameterRef="" value="" rule="lessThan"/> </ByValueCondition> </Condition> <Condition name="criteria_WrongLaneTest" delay="0" conditionEdge="rising"> <ByValueCondition> <ParameterCondition parameterRef="" value="" rule="lessThan"/> </ByValueCondition> </Condition> <Condition name="criteria_OnSidewalkTest" delay="0" conditionEdge="rising"> <ByValueCondition> <ParameterCondition parameterRef="" value="" rule="lessThan"/> </ByValueCondition> </Condition> <Condition name="criteria_KeepLaneTest" delay="0" conditionEdge="rising"> <ByValueCondition> <ParameterCondition parameterRef="" value="" rule="lessThan"/> </ByValueCondition> </Condition> <Condition name="criteria_CollisionTest" delay="0" conditionEdge="rising"> <ByValueCondition> <ParameterCondition parameterRef="" value="" rule="lessThan"/> </ByValueCondition> </Condition> <Condition name="criteria_DrivenDistanceTest" delay="0" conditionEdge="rising"> <ByValueCondition> <ParameterCondition parameterRef="distance_success" value="100" rule="lessThan"/> </ByValueCondition> </Condition> </ConditionGroup> </StopTrigger> </Storyboard> </OpenSCENARIO> ```
Here is the result: ``` <?xml version="1.0" ?> <OpenSCENARIO> <FileHeader revMajor="1" revMinor="0" date="2020-03-24T12:00:00" description="CARLA:LaneChangeSimple" author=""/> <ParameterDeclarations/> <CatalogLocations/> <RoadNetwork> <LogicFile filepath="Town04"/> <SceneGraphFile filepath=""/> </RoadNetwork> <Entities> <ScenarioObject name="hero"> <Vehicle name="vehicle.tesla.model3" vehicleCategory="car"> <ParameterDeclarations/> <Performance maxSpeed="69.444" maxAcceleration="200" maxDeceleration="10.0"/> <BoundingBox> <Center x="1.5" y="0.0" z="0.9"/> <Dimensions width="2.1" length="4.5" height="1.8"/> </BoundingBox> <Axles> <FrontAxle maxSteering="0.5" wheelDiameter="0.6" trackWidth="1.8" positionX="3.1" positionZ="0.3"/> <RearAxle maxSteering="0.0" wheelDiameter="0.6" trackWidth="1.8" positionX="0.0" positionZ="0.3"/> </Axles> <Properties> <Property name="type" value="ego_vehicle"/> </Properties> </Vehicle> </ScenarioObject> <ScenarioObject name="adversary"> <Vehicle name="vehicle.lincoln.mkz_2017" vehicleCategory="car"> <ParameterDeclarations/> <Performance maxSpeed="69.444" maxAcceleration="200" maxDeceleration="10.0"/> <BoundingBox> <Center x="1.5" y="0.0" z="0.9"/> <Dimensions width="2.1" length="4.5" height="1.8"/> </BoundingBox> <Axles> <FrontAxle maxSteering="0.5" wheelDiameter="0.6" trackWidth="1.8" positionX="3.1" positionZ="0.3"/> <RearAxle maxSteering="0.0" wheelDiameter="0.6" trackWidth="1.8" positionX="0.0" positionZ="0.3"/> </Axles> <Properties> <Property name="type" value="simulation"/> </Properties> </Vehicle> </ScenarioObject> <ScenarioObject name="standing"> <Vehicle name="vehicle.volkswagen.t2" vehicleCategory="car"> <ParameterDeclarations/> <Performance maxSpeed="69.444" maxAcceleration="200" maxDeceleration="10.0"/> <BoundingBox> <Center x="1.5" y="0.0" z="0.9"/> <Dimensions width="2.1" length="4.5" height="1.8"/> </BoundingBox> <Axles> <FrontAxle maxSteering="0.5" wheelDiameter="0.6" trackWidth="1.8" positionX="3.1" positionZ="0.3"/> <RearAxle maxSteering="0.0" wheelDiameter="0.6" trackWidth="1.8" positionX="0.0" positionZ="0.3"/> </Axles> <Properties> <Property name="type" value="simulation"/> </Properties> </Vehicle> </ScenarioObject> <ScenarioObject name="pedestrian_close_to_hero_5480"> <Pedestrian model="walker.pedestrian.0001" mass="80" name="walker.pedestrian.0001" pedestrianCategory="pedestrian"> <ParameterDeclarations/> <BoundingBox> <Center x="1.5" y="0.0" z="0.9"/> <Dimensions width="2" length="2" height="2"/> </BoundingBox> <Properties> <Property name="type" value="simulation"/> </Properties> </Pedestrian> </ScenarioObject> <ScenarioObject name="pedestrian_w_transform_5481"> <Pedestrian model="walker.pedestrian.0001" mass="80" name="walker.pedestrian.0001" pedestrianCategory="pedestrian"> <ParameterDeclarations/> <BoundingBox> <Center x="1.5" y="0.0" z="0.9"/> <Dimensions width="2" length="2" height="2"/> </BoundingBox> <Properties> <Property name="type" value="simulation"/> </Properties> </Pedestrian> </ScenarioObject> <ScenarioObject name="pedestrian_close_to_hero_5482"> <Pedestrian model="walker.pedestrian.0001" mass="80" name="walker.pedestrian.0001" pedestrianCategory="pedestrian"> <ParameterDeclarations/> <BoundingBox> <Center x="1.5" y="0.0" z="0.9"/> <Dimensions width="2" length="2" height="2"/> </BoundingBox> <Properties> <Property name="type" value="simulation"/> </Properties> </Pedestrian> </ScenarioObject> <ScenarioObject name="pedestrian_close_to_adversary_5483"> <Pedestrian model="walker.pedestrian.0001" mass="80" name="walker.pedestrian.0001" pedestrianCategory="pedestrian"> <ParameterDeclarations/> <BoundingBox> <Center x="1.5" y="0.0" z="0.9"/> <Dimensions width="2" length="2" height="2"/> </BoundingBox> <Properties> <Property name="type" value="simulation"/> </Properties> </Pedestrian> </ScenarioObject> <ScenarioObject name="pedestrian_w_transform_5484"> <Pedestrian model="walker.pedestrian.0001" mass="80" name="walker.pedestrian.0001" pedestrianCategory="pedestrian"> <ParameterDeclarations/> <BoundingBox> <Center x="1.5" y="0.0" z="0.9"/> <Dimensions width="2" length="2" height="2"/> </BoundingBox> <Properties> <Property name="type" value="simulation"/> </Properties> </Pedestrian> </ScenarioObject> <ScenarioObject name="pedestrian_close_to_hero_5485"> <Pedestrian model="walker.pedestrian.0001" mass="80" name="walker.pedestrian.0001" pedestrianCategory="pedestrian"> <ParameterDeclarations/> <BoundingBox> <Center x="1.5" y="0.0" z="0.9"/> <Dimensions width="2" length="2" height="2"/> </BoundingBox> <Properties> <Property name="type" value="simulation"/> </Properties> </Pedestrian> </ScenarioObject> </Entities> <Storyboard> <Init> <Actions> <GlobalAction> <EnvironmentAction> <Environment name="Environment1"> <TimeOfDay animation="false" dateTime="2019-06-25T12:00:00"/> <Weather cloudState="free"> <Sun intensity="0.85" azimuth="0" elevation="1.31"/> <Fog visualRange="100000.0"/> <Precipitation precipitationType="dry" intensity="0.0"/> </Weather> <RoadCondition frictionScaleFactor="1.0"/> </Environment> </EnvironmentAction> </GlobalAction> <Private entityRef="hero"> <PrivateAction> <TeleportAction> <Position> <WorldPosition x="-9.4" y="-152.8" z="0.5" h="1.57079632679"/> </Position> </TeleportAction> </PrivateAction> <PrivateAction> <ControllerAction> <AssignControllerAction> <Controller name="HeroAgent"> <Properties> <Property name="module" value="external_control"/> </Properties> </Controller> </AssignControllerAction> <OverrideControllerValueAction> <Throttle value="0" active="false"/> <Brake value="0" active="false"/> <Clutch value="0" active="false"/> <ParkingBrake value="0" active="false"/> <SteeringWheel value="0" active="false"/> <Gear number="0" active="false"/> </OverrideControllerValueAction> </ControllerAction> </PrivateAction> </Private> <Private entityRef="adversary"> <PrivateAction> <TeleportAction> <Position> <WorldPosition x="-9.4" y="-71.0" z="0.5" h="1.57079632679"/> </Position> </TeleportAction> </PrivateAction> </Private> <Private entityRef="standing"> <PrivateAction> <TeleportAction> <Position> <WorldPosition x="-8.2" y="29.2" z="0.5" h="1.57079632679"/> </Position> </TeleportAction> </PrivateAction> </Private> <Private entityRef="pedestrian_close_to_hero_5480"> <PrivateAction> <TeleportAction> <Position> <WorldPosition x="-15.65457820892334" y="-161.7915496826172" z="0.0014286803780123591"/> </Position> </TeleportAction> </PrivateAction> </Private> <Private entityRef="pedestrian_w_transform_5481"> <PrivateAction> <TeleportAction> <Position> <WorldPosition x="-52.89959716796875" y="-73.55147552490234" z="0.5"/> </Position> </TeleportAction> </PrivateAction> </Private> <Private entityRef="pedestrian_close_to_hero_5482"> <PrivateAction> <TeleportAction> <Position> <WorldPosition x="-10.223411560058594" y="-149.01902770996094" z="0.0014286803780123591"/> </Position> </TeleportAction> </PrivateAction> </Private> <Private entityRef="pedestrian_close_to_adversary_5483"> <PrivateAction> <TeleportAction> <Position> <WorldPosition x="-17.91622543334961" y="-66.8965835571289" z="0.03382854536175728"/> </Position> </TeleportAction> </PrivateAction> </Private> <Private entityRef="pedestrian_w_transform_5484"> <PrivateAction> <TeleportAction> <Position> <WorldPosition x="37.7513313293457" y="-47.154014587402344" z="0.5"/> </Position> </TeleportAction> </PrivateAction> </Private> <Private entityRef="pedestrian_close_to_hero_5485"> <PrivateAction> <TeleportAction> <Position> <WorldPosition x="-17.16266441345215" y="-157.37615966796875" z="0.0014286803780123591"/> </Position> </TeleportAction> </PrivateAction> </Private> </Actions> </Init> <Story name="MyStory"> <Act name="Behavior"> <ManeuverGroup maximumExecutionCount="1" name="ManeuverSequence"> <Actors selectTriggeringEntities="false"> <EntityRef entityRef="adversary"/> </Actors> <Maneuver name="LaneChangeSimpleManeuver"> <Event name="AdversaryAccelerates" priority="overwrite"> <Action name="AdversaryAccelerates"> <PrivateAction> <LongitudinalAction> <SpeedAction> <SpeedActionDynamics dynamicsShape="step" value="50" dynamicsDimension="distance"/> <SpeedActionTarget> <AbsoluteTargetSpeed value="5.0"/> </SpeedActionTarget> </SpeedAction> </LongitudinalAction> </PrivateAction> </Action> <StartTrigger> <ConditionGroup> <Condition name="StartCondition" delay="0" conditionEdge="rising"> <ByEntityCondition> <TriggeringEntities triggeringEntitiesRule="any"> <EntityRef entityRef="hero"/> </TriggeringEntities> <EntityCondition> <RelativeDistanceCondition entityRef="adversary" relativeDistanceType="cartesianDistance" value="40.0" freespace="false" rule="lessThan"/> </EntityCondition> </ByEntityCondition> </Condition> </ConditionGroup> </StartTrigger> </Event> <Event name="AdversaryChangesLane" priority="overwrite"> <Action name="AdversaryChangesLane"> <PrivateAction> <LateralAction> <LaneChangeAction> <LaneChangeActionDynamics dynamicsShape="linear" value="25" dynamicsDimension="distance"/> <LaneChangeTarget> <RelativeTargetLane entityRef="adversary" value="-1"/> </LaneChangeTarget> </LaneChangeAction> </LateralAction> </PrivateAction> </Action> <StartTrigger> <ConditionGroup> <Condition name="AfterAdversaryAccelerates" delay="0" conditionEdge="rising"> <ByValueCondition> <StoryboardElementStateCondition storyboardElementType="action" storyboardElementRef="AdversaryAccelerates" state="completeState"/> </ByValueCondition> </Condition> </ConditionGroup> </StartTrigger> </Event> </Maneuver> </ManeuverGroup> <StartTrigger> <ConditionGroup> <Condition name="OverallStartCondition" delay="0" conditionEdge="rising"> <ByEntityCondition> <TriggeringEntities triggeringEntitiesRule="any"> <EntityRef entityRef="hero"/> </TriggeringEntities> <EntityCondition> <TraveledDistanceCondition value="1.0"/> </EntityCondition> </ByEntityCondition> </Condition> <Condition name="StartTime" delay="0" conditionEdge="rising"> <ByValueCondition> <SimulationTimeCondition value="0" rule="equalTo"/> </ByValueCondition> </Condition> </ConditionGroup> </StartTrigger> <StopTrigger> <ConditionGroup> <Condition name="EndCondition" delay="0" conditionEdge="rising"> <ByEntityCondition> <TriggeringEntities triggeringEntitiesRule="any"> <EntityRef entityRef="hero"/> </TriggeringEntities> <EntityCondition> <TraveledDistanceCondition value="200.0"/> </EntityCondition> </ByEntityCondition> </Condition> </ConditionGroup> </StopTrigger> </Act> </Story> <StopTrigger> <ConditionGroup> <Condition name="criteria_RunningStopTest" delay="0" conditionEdge="rising"> <ByValueCondition> <ParameterCondition parameterRef="" value="" rule="lessThan"/> </ByValueCondition> </Condition> <Condition name="criteria_RunningRedLightTest" delay="0" conditionEdge="rising"> <ByValueCondition> <ParameterCondition parameterRef="" value="" rule="lessThan"/> </ByValueCondition> </Condition> <Condition name="criteria_WrongLaneTest" delay="0" conditionEdge="rising"> <ByValueCondition> <ParameterCondition parameterRef="" value="" rule="lessThan"/> </ByValueCondition> </Condition> <Condition name="criteria_OnSidewalkTest" delay="0" conditionEdge="rising"> <ByValueCondition> <ParameterCondition parameterRef="" value="" rule="lessThan"/> </ByValueCondition> </Condition> <Condition name="criteria_KeepLaneTest" delay="0" conditionEdge="rising"> <ByValueCondition> <ParameterCondition parameterRef="" value="" rule="lessThan"/> </ByValueCondition> </Condition> <Condition name="criteria_CollisionTest" delay="0" conditionEdge="rising"> <ByValueCondition> <ParameterCondition parameterRef="" value="" rule="lessThan"/> </ByValueCondition> </Condition> <Condition name="criteria_DrivenDistanceTest" delay="0" conditionEdge="rising"> <ByValueCondition> <ParameterCondition parameterRef="distance_success" value="100" rule="lessThan"/> </ByValueCondition> </Condition> </ConditionGroup> </StopTrigger> </Storyboard> </OpenSCENARIO> ```
would you add pedestrian at location (-6.57, -90.91, 0.5)? ``` <?xml version="1.0" ?> <OpenSCENARIO> <FileHeader revMajor="1" revMinor="0" date="2020-03-24T12:00:00" description="CARLA:LaneChangeSimple" author=""/> <ParameterDeclarations/> <CatalogLocations/> <RoadNetwork> <LogicFile filepath="Town04"/> <SceneGraphFile filepath=""/> </RoadNetwork> <Entities> <ScenarioObject name="hero"> <Vehicle name="vehicle.tesla.model3" vehicleCategory="car"> <ParameterDeclarations/> <Performance maxSpeed="69.444" maxAcceleration="200" maxDeceleration="10.0"/> <BoundingBox> <Center x="1.5" y="0.0" z="0.9"/> <Dimensions width="2.1" length="4.5" height="1.8"/> </BoundingBox> <Axles> <FrontAxle maxSteering="0.5" wheelDiameter="0.6" trackWidth="1.8" positionX="3.1" positionZ="0.3"/> <RearAxle maxSteering="0.0" wheelDiameter="0.6" trackWidth="1.8" positionX="0.0" positionZ="0.3"/> </Axles> <Properties> <Property name="type" value="ego_vehicle"/> </Properties> </Vehicle> </ScenarioObject> <ScenarioObject name="adversary"> <Vehicle name="vehicle.lincoln.mkz_2017" vehicleCategory="car"> <ParameterDeclarations/> <Performance maxSpeed="69.444" maxAcceleration="200" maxDeceleration="10.0"/> <BoundingBox> <Center x="1.5" y="0.0" z="0.9"/> <Dimensions width="2.1" length="4.5" height="1.8"/> </BoundingBox> <Axles> <FrontAxle maxSteering="0.5" wheelDiameter="0.6" trackWidth="1.8" positionX="3.1" positionZ="0.3"/> <RearAxle maxSteering="0.0" wheelDiameter="0.6" trackWidth="1.8" positionX="0.0" positionZ="0.3"/> </Axles> <Properties> <Property name="type" value="simulation"/> </Properties> </Vehicle> </ScenarioObject> <ScenarioObject name="standing"> <Vehicle name="vehicle.volkswagen.t2" vehicleCategory="car"> <ParameterDeclarations/> <Performance maxSpeed="69.444" maxAcceleration="200" maxDeceleration="10.0"/> <BoundingBox> <Center x="1.5" y="0.0" z="0.9"/> <Dimensions width="2.1" length="4.5" height="1.8"/> </BoundingBox> <Axles> <FrontAxle maxSteering="0.5" wheelDiameter="0.6" trackWidth="1.8" positionX="3.1" positionZ="0.3"/> <RearAxle maxSteering="0.0" wheelDiameter="0.6" trackWidth="1.8" positionX="0.0" positionZ="0.3"/> </Axles> <Properties> <Property name="type" value="simulation"/> </Properties> </Vehicle> </ScenarioObject> <ScenarioObject name="pedestrian_close_to_standing_687"> <Pedestrian model="walker.pedestrian.0001" mass="80" name="walker.pedestrian.0001" pedestrianCategory="pedestrian"> <ParameterDeclarations/> <BoundingBox> <Center x="1.5" y="0.0" z="0.9"/> <Dimensions width="2" length="2" height="2"/> </BoundingBox> <Properties> <Property name="type" value="simulation"/> </Properties> </Pedestrian> </ScenarioObject> <ScenarioObject name="pedestrian_w_transform_688"> <Pedestrian model="walker.pedestrian.0001" mass="80" name="walker.pedestrian.0001" pedestrianCategory="pedestrian"> <ParameterDeclarations/> <BoundingBox> <Center x="1.5" y="0.0" z="0.9"/> <Dimensions width="2" length="2" height="2"/> </BoundingBox> <Properties> <Property name="type" value="simulation"/> </Properties> </Pedestrian> </ScenarioObject> <ScenarioObject name="pedestrian_close_to_hero_689"> <Pedestrian model="walker.pedestrian.0001" mass="80" name="walker.pedestrian.0001" pedestrianCategory="pedestrian"> <ParameterDeclarations/> <BoundingBox> <Center x="1.5" y="0.0" z="0.9"/> <Dimensions width="2" length="2" height="2"/> </BoundingBox> <Properties> <Property name="type" value="simulation"/> </Properties> </Pedestrian> </ScenarioObject> <ScenarioObject name="pedestrian_w_transform_690"> <Pedestrian model="walker.pedestrian.0001" mass="80" name="walker.pedestrian.0001" pedestrianCategory="pedestrian"> <ParameterDeclarations/> <BoundingBox> <Center x="1.5" y="0.0" z="0.9"/> <Dimensions width="2" length="2" height="2"/> </BoundingBox> <Properties> <Property name="type" value="simulation"/> </Properties> </Pedestrian> </ScenarioObject> <ScenarioObject name="pedestrian_w_transform_691"> <Pedestrian model="walker.pedestrian.0001" mass="80" name="walker.pedestrian.0001" pedestrianCategory="pedestrian"> <ParameterDeclarations/> <BoundingBox> <Center x="1.5" y="0.0" z="0.9"/> <Dimensions width="2" length="2" height="2"/> </BoundingBox> <Properties> <Property name="type" value="simulation"/> </Properties> </Pedestrian> </ScenarioObject> <ScenarioObject name="pedestrian_w_transform_692"> <Pedestrian model="walker.pedestrian.0001" mass="80" name="walker.pedestrian.0001" pedestrianCategory="pedestrian"> <ParameterDeclarations/> <BoundingBox> <Center x="1.5" y="0.0" z="0.9"/> <Dimensions width="2" length="2" height="2"/> </BoundingBox> <Properties> <Property name="type" value="simulation"/> </Properties> </Pedestrian> </ScenarioObject> <ScenarioObject name="pedestrian_w_transform_693"> <Pedestrian model="walker.pedestrian.0001" mass="80" name="walker.pedestrian.0001" pedestrianCategory="pedestrian"> <ParameterDeclarations/> <BoundingBox> <Center x="1.5" y="0.0" z="0.9"/> <Dimensions width="2" length="2" height="2"/> </BoundingBox> <Properties> <Property name="type" value="simulation"/> </Properties> </Pedestrian> </ScenarioObject> <ScenarioObject name="pedestrian_w_transform_694"> <Pedestrian model="walker.pedestrian.0001" mass="80" name="walker.pedestrian.0001" pedestrianCategory="pedestrian"> <ParameterDeclarations/> <BoundingBox> <Center x="1.5" y="0.0" z="0.9"/> <Dimensions width="2" length="2" height="2"/> </BoundingBox> <Properties> <Property name="type" value="simulation"/> </Properties> </Pedestrian> </ScenarioObject> <ScenarioObject name="pedestrian_w_transform_695"> <Pedestrian model="walker.pedestrian.0001" mass="80" name="walker.pedestrian.0001" pedestrianCategory="pedestrian"> <ParameterDeclarations/> <BoundingBox> <Center x="1.5" y="0.0" z="0.9"/> <Dimensions width="2" length="2" height="2"/> </BoundingBox> <Properties> <Property name="type" value="simulation"/> </Properties> </Pedestrian> </ScenarioObject> </Entities> <Storyboard> <Init> <Actions> <GlobalAction> <EnvironmentAction> <Environment name="Environment1"> <TimeOfDay animation="false" dateTime="2019-06-25T12:00:00"/> <Weather cloudState="free"> <Sun intensity="0.85" azimuth="0" elevation="1.31"/> <Fog visualRange="100000.0"/> <Precipitation precipitationType="dry" intensity="0.0"/> </Weather> <RoadCondition frictionScaleFactor="1.0"/> </Environment> </EnvironmentAction> </GlobalAction> <Private entityRef="hero"> <PrivateAction> <TeleportAction> <Position> <WorldPosition x="-9.4" y="-152.8" z="0.5" h="1.57079632679"/> </Position> </TeleportAction> </PrivateAction> <PrivateAction> <ControllerAction> <AssignControllerAction> <Controller name="HeroAgent"> <Properties> <Property name="module" value="external_control"/> </Properties> </Controller> </AssignControllerAction> <OverrideControllerValueAction> <Throttle value="0" active="false"/> <Brake value="0" active="false"/> <Clutch value="0" active="false"/> <ParkingBrake value="0" active="false"/> <SteeringWheel value="0" active="false"/> <Gear number="0" active="false"/> </OverrideControllerValueAction> </ControllerAction> </PrivateAction> </Private> <Private entityRef="adversary"> <PrivateAction> <TeleportAction> <Position> <WorldPosition x="-9.4" y="-71.0" z="0.5" h="1.57079632679"/> </Position> </TeleportAction> </PrivateAction> </Private> <Private entityRef="standing"> <PrivateAction> <TeleportAction> <Position> <WorldPosition x="-8.2" y="29.2" z="0.5" h="1.57079632679"/> </Position> </TeleportAction> </PrivateAction> </Private> <Private entityRef="pedestrian_close_to_standing_687"> <PrivateAction> <TeleportAction> <Position> <WorldPosition x="-18.12013053894043" y="37.96761703491211" z="0.003029899438843131"/> </Position> </TeleportAction> </PrivateAction> </Private> <Private entityRef="pedestrian_w_transform_688"> <PrivateAction> <TeleportAction> <Position> <WorldPosition x="-91.1971435546875" y="-34.2224006652832" z="0.5"/> </Position> </TeleportAction> </PrivateAction> </Private> <Private entityRef="pedestrian_close_to_hero_689"> <PrivateAction> <TeleportAction> <Position> <WorldPosition x="-2.7375094890594482" y="-160.86036682128906" z="0.0014286803780123591"/> </Position> </TeleportAction> </PrivateAction> </Private> <Private entityRef="pedestrian_w_transform_690"> <PrivateAction> <TeleportAction> <Position> <WorldPosition x="-36.216556549072266" y="2.8242623805999756" z="0.5"/> </Position> </TeleportAction> </PrivateAction> </Private> <Private entityRef="pedestrian_w_transform_691"> <PrivateAction> <TeleportAction> <Position> <WorldPosition x="64.25556945800781" y="46.94959259033203" z="0.5"/> </Position> </TeleportAction> </PrivateAction> </Private> <Private entityRef="pedestrian_w_transform_692"> <PrivateAction> <TeleportAction> <Position> <WorldPosition x="-35.316551208496094" y="84.50396728515625" z="0.5"/> </Position> </TeleportAction> </PrivateAction> </Private> <Private entityRef="pedestrian_w_transform_693"> <PrivateAction> <TeleportAction> <Position> <WorldPosition x="-98.64053344726562" y="-77.11675262451172" z="0.5"/> </Position> </TeleportAction> </PrivateAction> </Private> <Private entityRef="pedestrian_w_transform_694"> <PrivateAction> <TeleportAction> <Position> <WorldPosition x="21.41590118408203" y="-1.8566365242004395" z="0.5"/> </Position> </TeleportAction> </PrivateAction> </Private> <Private entityRef="pedestrian_w_transform_695"> <PrivateAction> <TeleportAction> <Position> <WorldPosition x="-67.87628173828125" y="46.639427185058594" z="0.5"/> </Position> </TeleportAction> </PrivateAction> </Private> </Actions> </Init> <Story name="MyStory"> <Act name="Behavior"> <ManeuverGroup maximumExecutionCount="1" name="ManeuverSequence"> <Actors selectTriggeringEntities="false"> <EntityRef entityRef="adversary"/> </Actors> <Maneuver name="LaneChangeSimpleManeuver"> <Event name="AdversaryAccelerates" priority="overwrite"> <Action name="AdversaryAccelerates"> <PrivateAction> <LongitudinalAction> <SpeedAction> <SpeedActionDynamics dynamicsShape="step" value="50" dynamicsDimension="distance"/> <SpeedActionTarget> <AbsoluteTargetSpeed value="5.0"/> </SpeedActionTarget> </SpeedAction> </LongitudinalAction> </PrivateAction> </Action> <StartTrigger> <ConditionGroup> <Condition name="StartCondition" delay="0" conditionEdge="rising"> <ByEntityCondition> <TriggeringEntities triggeringEntitiesRule="any"> <EntityRef entityRef="hero"/> </TriggeringEntities> <EntityCondition> <RelativeDistanceCondition entityRef="adversary" relativeDistanceType="cartesianDistance" value="40.0" freespace="false" rule="lessThan"/> </EntityCondition> </ByEntityCondition> </Condition> </ConditionGroup> </StartTrigger> </Event> <Event name="AdversaryChangesLane" priority="overwrite"> <Action name="AdversaryChangesLane"> <PrivateAction> <LateralAction> <LaneChangeAction> <LaneChangeActionDynamics dynamicsShape="linear" value="25" dynamicsDimension="distance"/> <LaneChangeTarget> <RelativeTargetLane entityRef="adversary" value="-1"/> </LaneChangeTarget> </LaneChangeAction> </LateralAction> </PrivateAction> </Action> <StartTrigger> <ConditionGroup> <Condition name="AfterAdversaryAccelerates" delay="0" conditionEdge="rising"> <ByValueCondition> <StoryboardElementStateCondition storyboardElementType="action" storyboardElementRef="AdversaryAccelerates" state="completeState"/> </ByValueCondition> </Condition> </ConditionGroup> </StartTrigger> </Event> </Maneuver> </ManeuverGroup> <StartTrigger> <ConditionGroup> <Condition name="OverallStartCondition" delay="0" conditionEdge="rising"> <ByEntityCondition> <TriggeringEntities triggeringEntitiesRule="any"> <EntityRef entityRef="hero"/> </TriggeringEntities> <EntityCondition> <TraveledDistanceCondition value="1.0"/> </EntityCondition> </ByEntityCondition> </Condition> <Condition name="StartTime" delay="0" conditionEdge="rising"> <ByValueCondition> <SimulationTimeCondition value="0" rule="equalTo"/> </ByValueCondition> </Condition> </ConditionGroup> </StartTrigger> <StopTrigger> <ConditionGroup> <Condition name="EndCondition" delay="0" conditionEdge="rising"> <ByEntityCondition> <TriggeringEntities triggeringEntitiesRule="any"> <EntityRef entityRef="hero"/> </TriggeringEntities> <EntityCondition> <TraveledDistanceCondition value="200.0"/> </EntityCondition> </ByEntityCondition> </Condition> </ConditionGroup> </StopTrigger> </Act> </Story> <StopTrigger> <ConditionGroup> <Condition name="criteria_RunningStopTest" delay="0" conditionEdge="rising"> <ByValueCondition> <ParameterCondition parameterRef="" value="" rule="lessThan"/> </ByValueCondition> </Condition> <Condition name="criteria_RunningRedLightTest" delay="0" conditionEdge="rising"> <ByValueCondition> <ParameterCondition parameterRef="" value="" rule="lessThan"/> </ByValueCondition> </Condition> <Condition name="criteria_WrongLaneTest" delay="0" conditionEdge="rising"> <ByValueCondition> <ParameterCondition parameterRef="" value="" rule="lessThan"/> </ByValueCondition> </Condition> <Condition name="criteria_OnSidewalkTest" delay="0" conditionEdge="rising"> <ByValueCondition> <ParameterCondition parameterRef="" value="" rule="lessThan"/> </ByValueCondition> </Condition> <Condition name="criteria_KeepLaneTest" delay="0" conditionEdge="rising"> <ByValueCondition> <ParameterCondition parameterRef="" value="" rule="lessThan"/> </ByValueCondition> </Condition> <Condition name="criteria_CollisionTest" delay="0" conditionEdge="rising"> <ByValueCondition> <ParameterCondition parameterRef="" value="" rule="lessThan"/> </ByValueCondition> </Condition> <Condition name="criteria_DrivenDistanceTest" delay="0" conditionEdge="rising"> <ByValueCondition> <ParameterCondition parameterRef="distance_success" value="100" rule="lessThan"/> </ByValueCondition> </Condition> </ConditionGroup> </StopTrigger> </Storyboard> </OpenSCENARIO> ```
Here is the result: ``` <?xml version="1.0" ?> <OpenSCENARIO> <FileHeader revMajor="1" revMinor="0" date="2020-03-24T12:00:00" description="CARLA:LaneChangeSimple" author=""/> <ParameterDeclarations/> <CatalogLocations/> <RoadNetwork> <LogicFile filepath="Town04"/> <SceneGraphFile filepath=""/> </RoadNetwork> <Entities> <ScenarioObject name="hero"> <Vehicle name="vehicle.tesla.model3" vehicleCategory="car"> <ParameterDeclarations/> <Performance maxSpeed="69.444" maxAcceleration="200" maxDeceleration="10.0"/> <BoundingBox> <Center x="1.5" y="0.0" z="0.9"/> <Dimensions width="2.1" length="4.5" height="1.8"/> </BoundingBox> <Axles> <FrontAxle maxSteering="0.5" wheelDiameter="0.6" trackWidth="1.8" positionX="3.1" positionZ="0.3"/> <RearAxle maxSteering="0.0" wheelDiameter="0.6" trackWidth="1.8" positionX="0.0" positionZ="0.3"/> </Axles> <Properties> <Property name="type" value="ego_vehicle"/> </Properties> </Vehicle> </ScenarioObject> <ScenarioObject name="adversary"> <Vehicle name="vehicle.lincoln.mkz_2017" vehicleCategory="car"> <ParameterDeclarations/> <Performance maxSpeed="69.444" maxAcceleration="200" maxDeceleration="10.0"/> <BoundingBox> <Center x="1.5" y="0.0" z="0.9"/> <Dimensions width="2.1" length="4.5" height="1.8"/> </BoundingBox> <Axles> <FrontAxle maxSteering="0.5" wheelDiameter="0.6" trackWidth="1.8" positionX="3.1" positionZ="0.3"/> <RearAxle maxSteering="0.0" wheelDiameter="0.6" trackWidth="1.8" positionX="0.0" positionZ="0.3"/> </Axles> <Properties> <Property name="type" value="simulation"/> </Properties> </Vehicle> </ScenarioObject> <ScenarioObject name="standing"> <Vehicle name="vehicle.volkswagen.t2" vehicleCategory="car"> <ParameterDeclarations/> <Performance maxSpeed="69.444" maxAcceleration="200" maxDeceleration="10.0"/> <BoundingBox> <Center x="1.5" y="0.0" z="0.9"/> <Dimensions width="2.1" length="4.5" height="1.8"/> </BoundingBox> <Axles> <FrontAxle maxSteering="0.5" wheelDiameter="0.6" trackWidth="1.8" positionX="3.1" positionZ="0.3"/> <RearAxle maxSteering="0.0" wheelDiameter="0.6" trackWidth="1.8" positionX="0.0" positionZ="0.3"/> </Axles> <Properties> <Property name="type" value="simulation"/> </Properties> </Vehicle> </ScenarioObject> <ScenarioObject name="pedestrian_close_to_standing_687"> <Pedestrian model="walker.pedestrian.0001" mass="80" name="walker.pedestrian.0001" pedestrianCategory="pedestrian"> <ParameterDeclarations/> <BoundingBox> <Center x="1.5" y="0.0" z="0.9"/> <Dimensions width="2" length="2" height="2"/> </BoundingBox> <Properties> <Property name="type" value="simulation"/> </Properties> </Pedestrian> </ScenarioObject> <ScenarioObject name="pedestrian_w_transform_688"> <Pedestrian model="walker.pedestrian.0001" mass="80" name="walker.pedestrian.0001" pedestrianCategory="pedestrian"> <ParameterDeclarations/> <BoundingBox> <Center x="1.5" y="0.0" z="0.9"/> <Dimensions width="2" length="2" height="2"/> </BoundingBox> <Properties> <Property name="type" value="simulation"/> </Properties> </Pedestrian> </ScenarioObject> <ScenarioObject name="pedestrian_close_to_hero_689"> <Pedestrian model="walker.pedestrian.0001" mass="80" name="walker.pedestrian.0001" pedestrianCategory="pedestrian"> <ParameterDeclarations/> <BoundingBox> <Center x="1.5" y="0.0" z="0.9"/> <Dimensions width="2" length="2" height="2"/> </BoundingBox> <Properties> <Property name="type" value="simulation"/> </Properties> </Pedestrian> </ScenarioObject> <ScenarioObject name="pedestrian_w_transform_690"> <Pedestrian model="walker.pedestrian.0001" mass="80" name="walker.pedestrian.0001" pedestrianCategory="pedestrian"> <ParameterDeclarations/> <BoundingBox> <Center x="1.5" y="0.0" z="0.9"/> <Dimensions width="2" length="2" height="2"/> </BoundingBox> <Properties> <Property name="type" value="simulation"/> </Properties> </Pedestrian> </ScenarioObject> <ScenarioObject name="pedestrian_w_transform_691"> <Pedestrian model="walker.pedestrian.0001" mass="80" name="walker.pedestrian.0001" pedestrianCategory="pedestrian"> <ParameterDeclarations/> <BoundingBox> <Center x="1.5" y="0.0" z="0.9"/> <Dimensions width="2" length="2" height="2"/> </BoundingBox> <Properties> <Property name="type" value="simulation"/> </Properties> </Pedestrian> </ScenarioObject> <ScenarioObject name="pedestrian_w_transform_692"> <Pedestrian model="walker.pedestrian.0001" mass="80" name="walker.pedestrian.0001" pedestrianCategory="pedestrian"> <ParameterDeclarations/> <BoundingBox> <Center x="1.5" y="0.0" z="0.9"/> <Dimensions width="2" length="2" height="2"/> </BoundingBox> <Properties> <Property name="type" value="simulation"/> </Properties> </Pedestrian> </ScenarioObject> <ScenarioObject name="pedestrian_w_transform_693"> <Pedestrian model="walker.pedestrian.0001" mass="80" name="walker.pedestrian.0001" pedestrianCategory="pedestrian"> <ParameterDeclarations/> <BoundingBox> <Center x="1.5" y="0.0" z="0.9"/> <Dimensions width="2" length="2" height="2"/> </BoundingBox> <Properties> <Property name="type" value="simulation"/> </Properties> </Pedestrian> </ScenarioObject> <ScenarioObject name="pedestrian_w_transform_694"> <Pedestrian model="walker.pedestrian.0001" mass="80" name="walker.pedestrian.0001" pedestrianCategory="pedestrian"> <ParameterDeclarations/> <BoundingBox> <Center x="1.5" y="0.0" z="0.9"/> <Dimensions width="2" length="2" height="2"/> </BoundingBox> <Properties> <Property name="type" value="simulation"/> </Properties> </Pedestrian> </ScenarioObject> <ScenarioObject name="pedestrian_w_transform_695"> <Pedestrian model="walker.pedestrian.0001" mass="80" name="walker.pedestrian.0001" pedestrianCategory="pedestrian"> <ParameterDeclarations/> <BoundingBox> <Center x="1.5" y="0.0" z="0.9"/> <Dimensions width="2" length="2" height="2"/> </BoundingBox> <Properties> <Property name="type" value="simulation"/> </Properties> </Pedestrian> </ScenarioObject> <ScenarioObject name="pedestrian_w_transform_696"> <Pedestrian model="walker.pedestrian.0001" mass="80" name="walker.pedestrian.0001" pedestrianCategory="pedestrian"> <ParameterDeclarations/> <BoundingBox> <Center x="1.5" y="0.0" z="0.9"/> <Dimensions width="2" length="2" height="2"/> </BoundingBox> <Properties> <Property name="type" value="simulation"/> </Properties> </Pedestrian> </ScenarioObject> </Entities> <Storyboard> <Init> <Actions> <GlobalAction> <EnvironmentAction> <Environment name="Environment1"> <TimeOfDay animation="false" dateTime="2019-06-25T12:00:00"/> <Weather cloudState="free"> <Sun intensity="0.85" azimuth="0" elevation="1.31"/> <Fog visualRange="100000.0"/> <Precipitation precipitationType="dry" intensity="0.0"/> </Weather> <RoadCondition frictionScaleFactor="1.0"/> </Environment> </EnvironmentAction> </GlobalAction> <Private entityRef="hero"> <PrivateAction> <TeleportAction> <Position> <WorldPosition x="-9.4" y="-152.8" z="0.5" h="1.57079632679"/> </Position> </TeleportAction> </PrivateAction> <PrivateAction> <ControllerAction> <AssignControllerAction> <Controller name="HeroAgent"> <Properties> <Property name="module" value="external_control"/> </Properties> </Controller> </AssignControllerAction> <OverrideControllerValueAction> <Throttle value="0" active="false"/> <Brake value="0" active="false"/> <Clutch value="0" active="false"/> <ParkingBrake value="0" active="false"/> <SteeringWheel value="0" active="false"/> <Gear number="0" active="false"/> </OverrideControllerValueAction> </ControllerAction> </PrivateAction> </Private> <Private entityRef="adversary"> <PrivateAction> <TeleportAction> <Position> <WorldPosition x="-9.4" y="-71.0" z="0.5" h="1.57079632679"/> </Position> </TeleportAction> </PrivateAction> </Private> <Private entityRef="standing"> <PrivateAction> <TeleportAction> <Position> <WorldPosition x="-8.2" y="29.2" z="0.5" h="1.57079632679"/> </Position> </TeleportAction> </PrivateAction> </Private> <Private entityRef="pedestrian_close_to_standing_687"> <PrivateAction> <TeleportAction> <Position> <WorldPosition x="-18.12013053894043" y="37.96761703491211" z="0.003029899438843131"/> </Position> </TeleportAction> </PrivateAction> </Private> <Private entityRef="pedestrian_w_transform_688"> <PrivateAction> <TeleportAction> <Position> <WorldPosition x="-91.1971435546875" y="-34.2224006652832" z="0.5"/> </Position> </TeleportAction> </PrivateAction> </Private> <Private entityRef="pedestrian_close_to_hero_689"> <PrivateAction> <TeleportAction> <Position> <WorldPosition x="-2.7375094890594482" y="-160.86036682128906" z="0.0014286803780123591"/> </Position> </TeleportAction> </PrivateAction> </Private> <Private entityRef="pedestrian_w_transform_690"> <PrivateAction> <TeleportAction> <Position> <WorldPosition x="-36.216556549072266" y="2.8242623805999756" z="0.5"/> </Position> </TeleportAction> </PrivateAction> </Private> <Private entityRef="pedestrian_w_transform_691"> <PrivateAction> <TeleportAction> <Position> <WorldPosition x="64.25556945800781" y="46.94959259033203" z="0.5"/> </Position> </TeleportAction> </PrivateAction> </Private> <Private entityRef="pedestrian_w_transform_692"> <PrivateAction> <TeleportAction> <Position> <WorldPosition x="-35.316551208496094" y="84.50396728515625" z="0.5"/> </Position> </TeleportAction> </PrivateAction> </Private> <Private entityRef="pedestrian_w_transform_693"> <PrivateAction> <TeleportAction> <Position> <WorldPosition x="-98.64053344726562" y="-77.11675262451172" z="0.5"/> </Position> </TeleportAction> </PrivateAction> </Private> <Private entityRef="pedestrian_w_transform_694"> <PrivateAction> <TeleportAction> <Position> <WorldPosition x="21.41590118408203" y="-1.8566365242004395" z="0.5"/> </Position> </TeleportAction> </PrivateAction> </Private> <Private entityRef="pedestrian_w_transform_695"> <PrivateAction> <TeleportAction> <Position> <WorldPosition x="-67.87628173828125" y="46.639427185058594" z="0.5"/> </Position> </TeleportAction> </PrivateAction> </Private> <Private entityRef="pedestrian_w_transform_696"> <PrivateAction> <TeleportAction> <Position> <WorldPosition x="-6.572104454040527" y="-90.91372680664062" z="0.5"/> </Position> </TeleportAction> </PrivateAction> </Private> </Actions> </Init> <Story name="MyStory"> <Act name="Behavior"> <ManeuverGroup maximumExecutionCount="1" name="ManeuverSequence"> <Actors selectTriggeringEntities="false"> <EntityRef entityRef="adversary"/> </Actors> <Maneuver name="LaneChangeSimpleManeuver"> <Event name="AdversaryAccelerates" priority="overwrite"> <Action name="AdversaryAccelerates"> <PrivateAction> <LongitudinalAction> <SpeedAction> <SpeedActionDynamics dynamicsShape="step" value="50" dynamicsDimension="distance"/> <SpeedActionTarget> <AbsoluteTargetSpeed value="5.0"/> </SpeedActionTarget> </SpeedAction> </LongitudinalAction> </PrivateAction> </Action> <StartTrigger> <ConditionGroup> <Condition name="StartCondition" delay="0" conditionEdge="rising"> <ByEntityCondition> <TriggeringEntities triggeringEntitiesRule="any"> <EntityRef entityRef="hero"/> </TriggeringEntities> <EntityCondition> <RelativeDistanceCondition entityRef="adversary" relativeDistanceType="cartesianDistance" value="40.0" freespace="false" rule="lessThan"/> </EntityCondition> </ByEntityCondition> </Condition> </ConditionGroup> </StartTrigger> </Event> <Event name="AdversaryChangesLane" priority="overwrite"> <Action name="AdversaryChangesLane"> <PrivateAction> <LateralAction> <LaneChangeAction> <LaneChangeActionDynamics dynamicsShape="linear" value="25" dynamicsDimension="distance"/> <LaneChangeTarget> <RelativeTargetLane entityRef="adversary" value="-1"/> </LaneChangeTarget> </LaneChangeAction> </LateralAction> </PrivateAction> </Action> <StartTrigger> <ConditionGroup> <Condition name="AfterAdversaryAccelerates" delay="0" conditionEdge="rising"> <ByValueCondition> <StoryboardElementStateCondition storyboardElementType="action" storyboardElementRef="AdversaryAccelerates" state="completeState"/> </ByValueCondition> </Condition> </ConditionGroup> </StartTrigger> </Event> </Maneuver> </ManeuverGroup> <StartTrigger> <ConditionGroup> <Condition name="OverallStartCondition" delay="0" conditionEdge="rising"> <ByEntityCondition> <TriggeringEntities triggeringEntitiesRule="any"> <EntityRef entityRef="hero"/> </TriggeringEntities> <EntityCondition> <TraveledDistanceCondition value="1.0"/> </EntityCondition> </ByEntityCondition> </Condition> <Condition name="StartTime" delay="0" conditionEdge="rising"> <ByValueCondition> <SimulationTimeCondition value="0" rule="equalTo"/> </ByValueCondition> </Condition> </ConditionGroup> </StartTrigger> <StopTrigger> <ConditionGroup> <Condition name="EndCondition" delay="0" conditionEdge="rising"> <ByEntityCondition> <TriggeringEntities triggeringEntitiesRule="any"> <EntityRef entityRef="hero"/> </TriggeringEntities> <EntityCondition> <TraveledDistanceCondition value="200.0"/> </EntityCondition> </ByEntityCondition> </Condition> </ConditionGroup> </StopTrigger> </Act> </Story> <StopTrigger> <ConditionGroup> <Condition name="criteria_RunningStopTest" delay="0" conditionEdge="rising"> <ByValueCondition> <ParameterCondition parameterRef="" value="" rule="lessThan"/> </ByValueCondition> </Condition> <Condition name="criteria_RunningRedLightTest" delay="0" conditionEdge="rising"> <ByValueCondition> <ParameterCondition parameterRef="" value="" rule="lessThan"/> </ByValueCondition> </Condition> <Condition name="criteria_WrongLaneTest" delay="0" conditionEdge="rising"> <ByValueCondition> <ParameterCondition parameterRef="" value="" rule="lessThan"/> </ByValueCondition> </Condition> <Condition name="criteria_OnSidewalkTest" delay="0" conditionEdge="rising"> <ByValueCondition> <ParameterCondition parameterRef="" value="" rule="lessThan"/> </ByValueCondition> </Condition> <Condition name="criteria_KeepLaneTest" delay="0" conditionEdge="rising"> <ByValueCondition> <ParameterCondition parameterRef="" value="" rule="lessThan"/> </ByValueCondition> </Condition> <Condition name="criteria_CollisionTest" delay="0" conditionEdge="rising"> <ByValueCondition> <ParameterCondition parameterRef="" value="" rule="lessThan"/> </ByValueCondition> </Condition> <Condition name="criteria_DrivenDistanceTest" delay="0" conditionEdge="rising"> <ByValueCondition> <ParameterCondition parameterRef="distance_success" value="100" rule="lessThan"/> </ByValueCondition> </Condition> </ConditionGroup> </StopTrigger> </Storyboard> </OpenSCENARIO> ```
i would like to guide you to remove pedestrian close to hero? ``` <?xml version="1.0" ?> <OpenSCENARIO> <FileHeader revMajor="1" revMinor="0" date="2020-03-24T12:00:00" description="CARLA:LaneChangeSimple" author=""/> <ParameterDeclarations/> <CatalogLocations/> <RoadNetwork> <LogicFile filepath="Town04"/> <SceneGraphFile filepath=""/> </RoadNetwork> <Entities> <ScenarioObject name="hero"> <Vehicle name="vehicle.tesla.model3" vehicleCategory="car"> <ParameterDeclarations/> <Performance maxSpeed="69.444" maxAcceleration="200" maxDeceleration="10.0"/> <BoundingBox> <Center x="1.5" y="0.0" z="0.9"/> <Dimensions width="2.1" length="4.5" height="1.8"/> </BoundingBox> <Axles> <FrontAxle maxSteering="0.5" wheelDiameter="0.6" trackWidth="1.8" positionX="3.1" positionZ="0.3"/> <RearAxle maxSteering="0.0" wheelDiameter="0.6" trackWidth="1.8" positionX="0.0" positionZ="0.3"/> </Axles> <Properties> <Property name="type" value="ego_vehicle"/> </Properties> </Vehicle> </ScenarioObject> <ScenarioObject name="adversary"> <Vehicle name="vehicle.lincoln.mkz_2017" vehicleCategory="car"> <ParameterDeclarations/> <Performance maxSpeed="69.444" maxAcceleration="200" maxDeceleration="10.0"/> <BoundingBox> <Center x="1.5" y="0.0" z="0.9"/> <Dimensions width="2.1" length="4.5" height="1.8"/> </BoundingBox> <Axles> <FrontAxle maxSteering="0.5" wheelDiameter="0.6" trackWidth="1.8" positionX="3.1" positionZ="0.3"/> <RearAxle maxSteering="0.0" wheelDiameter="0.6" trackWidth="1.8" positionX="0.0" positionZ="0.3"/> </Axles> <Properties> <Property name="type" value="simulation"/> </Properties> </Vehicle> </ScenarioObject> <ScenarioObject name="standing"> <Vehicle name="vehicle.volkswagen.t2" vehicleCategory="car"> <ParameterDeclarations/> <Performance maxSpeed="69.444" maxAcceleration="200" maxDeceleration="10.0"/> <BoundingBox> <Center x="1.5" y="0.0" z="0.9"/> <Dimensions width="2.1" length="4.5" height="1.8"/> </BoundingBox> <Axles> <FrontAxle maxSteering="0.5" wheelDiameter="0.6" trackWidth="1.8" positionX="3.1" positionZ="0.3"/> <RearAxle maxSteering="0.0" wheelDiameter="0.6" trackWidth="1.8" positionX="0.0" positionZ="0.3"/> </Axles> <Properties> <Property name="type" value="simulation"/> </Properties> </Vehicle> </ScenarioObject> <ScenarioObject name="pedestrian_close_to_standing_17795"> <Pedestrian model="walker.pedestrian.0001" mass="80" name="walker.pedestrian.0001" pedestrianCategory="pedestrian"> <ParameterDeclarations/> <BoundingBox> <Center x="1.5" y="0.0" z="0.9"/> <Dimensions width="2" length="2" height="2"/> </BoundingBox> <Properties> <Property name="type" value="simulation"/> </Properties> </Pedestrian> </ScenarioObject> <ScenarioObject name="pedestrian_w_transform_17796"> <Pedestrian model="walker.pedestrian.0001" mass="80" name="walker.pedestrian.0001" pedestrianCategory="pedestrian"> <ParameterDeclarations/> <BoundingBox> <Center x="1.5" y="0.0" z="0.9"/> <Dimensions width="2" length="2" height="2"/> </BoundingBox> <Properties> <Property name="type" value="simulation"/> </Properties> </Pedestrian> </ScenarioObject> <ScenarioObject name="pedestrian_close_to_hero_17797"> <Pedestrian model="walker.pedestrian.0001" mass="80" name="walker.pedestrian.0001" pedestrianCategory="pedestrian"> <ParameterDeclarations/> <BoundingBox> <Center x="1.5" y="0.0" z="0.9"/> <Dimensions width="2" length="2" height="2"/> </BoundingBox> <Properties> <Property name="type" value="simulation"/> </Properties> </Pedestrian> </ScenarioObject> <ScenarioObject name="pedestrian_close_to_standing_17798"> <Pedestrian model="walker.pedestrian.0001" mass="80" name="walker.pedestrian.0001" pedestrianCategory="pedestrian"> <ParameterDeclarations/> <BoundingBox> <Center x="1.5" y="0.0" z="0.9"/> <Dimensions width="2" length="2" height="2"/> </BoundingBox> <Properties> <Property name="type" value="simulation"/> </Properties> </Pedestrian> </ScenarioObject> <ScenarioObject name="pedestrian_w_transform_17800"> <Pedestrian model="walker.pedestrian.0001" mass="80" name="walker.pedestrian.0001" pedestrianCategory="pedestrian"> <ParameterDeclarations/> <BoundingBox> <Center x="1.5" y="0.0" z="0.9"/> <Dimensions width="2" length="2" height="2"/> </BoundingBox> <Properties> <Property name="type" value="simulation"/> </Properties> </Pedestrian> </ScenarioObject> <ScenarioObject name="pedestrian_w_transform_17801"> <Pedestrian model="walker.pedestrian.0001" mass="80" name="walker.pedestrian.0001" pedestrianCategory="pedestrian"> <ParameterDeclarations/> <BoundingBox> <Center x="1.5" y="0.0" z="0.9"/> <Dimensions width="2" length="2" height="2"/> </BoundingBox> <Properties> <Property name="type" value="simulation"/> </Properties> </Pedestrian> </ScenarioObject> <ScenarioObject name="pedestrian_close_to_standing_17802"> <Pedestrian model="walker.pedestrian.0001" mass="80" name="walker.pedestrian.0001" pedestrianCategory="pedestrian"> <ParameterDeclarations/> <BoundingBox> <Center x="1.5" y="0.0" z="0.9"/> <Dimensions width="2" length="2" height="2"/> </BoundingBox> <Properties> <Property name="type" value="simulation"/> </Properties> </Pedestrian> </ScenarioObject> <ScenarioObject name="pedestrian_close_to_hero_17803"> <Pedestrian model="walker.pedestrian.0001" mass="80" name="walker.pedestrian.0001" pedestrianCategory="pedestrian"> <ParameterDeclarations/> <BoundingBox> <Center x="1.5" y="0.0" z="0.9"/> <Dimensions width="2" length="2" height="2"/> </BoundingBox> <Properties> <Property name="type" value="simulation"/> </Properties> </Pedestrian> </ScenarioObject> <ScenarioObject name="pedestrian_close_to_hero_17804"> <Pedestrian model="walker.pedestrian.0001" mass="80" name="walker.pedestrian.0001" pedestrianCategory="pedestrian"> <ParameterDeclarations/> <BoundingBox> <Center x="1.5" y="0.0" z="0.9"/> <Dimensions width="2" length="2" height="2"/> </BoundingBox> <Properties> <Property name="type" value="simulation"/> </Properties> </Pedestrian> </ScenarioObject> <ScenarioObject name="pedestrian_w_transform_17805"> <Pedestrian model="walker.pedestrian.0001" mass="80" name="walker.pedestrian.0001" pedestrianCategory="pedestrian"> <ParameterDeclarations/> <BoundingBox> <Center x="1.5" y="0.0" z="0.9"/> <Dimensions width="2" length="2" height="2"/> </BoundingBox> <Properties> <Property name="type" value="simulation"/> </Properties> </Pedestrian> </ScenarioObject> <ScenarioObject name="pedestrian_close_to_adversary_17806"> <Pedestrian model="walker.pedestrian.0001" mass="80" name="walker.pedestrian.0001" pedestrianCategory="pedestrian"> <ParameterDeclarations/> <BoundingBox> <Center x="1.5" y="0.0" z="0.9"/> <Dimensions width="2" length="2" height="2"/> </BoundingBox> <Properties> <Property name="type" value="simulation"/> </Properties> </Pedestrian> </ScenarioObject> <ScenarioObject name="pedestrian_w_transform_17807"> <Pedestrian model="walker.pedestrian.0001" mass="80" name="walker.pedestrian.0001" pedestrianCategory="pedestrian"> <ParameterDeclarations/> <BoundingBox> <Center x="1.5" y="0.0" z="0.9"/> <Dimensions width="2" length="2" height="2"/> </BoundingBox> <Properties> <Property name="type" value="simulation"/> </Properties> </Pedestrian> </ScenarioObject> <ScenarioObject name="pedestrian_close_to_hero_17808"> <Pedestrian model="walker.pedestrian.0001" mass="80" name="walker.pedestrian.0001" pedestrianCategory="pedestrian"> <ParameterDeclarations/> <BoundingBox> <Center x="1.5" y="0.0" z="0.9"/> <Dimensions width="2" length="2" height="2"/> </BoundingBox> <Properties> <Property name="type" value="simulation"/> </Properties> </Pedestrian> </ScenarioObject> <ScenarioObject name="pedestrian_w_transform_17809"> <Pedestrian model="walker.pedestrian.0001" mass="80" name="walker.pedestrian.0001" pedestrianCategory="pedestrian"> <ParameterDeclarations/> <BoundingBox> <Center x="1.5" y="0.0" z="0.9"/> <Dimensions width="2" length="2" height="2"/> </BoundingBox> <Properties> <Property name="type" value="simulation"/> </Properties> </Pedestrian> </ScenarioObject> <ScenarioObject name="pedestrian_w_transform_17810"> <Pedestrian model="walker.pedestrian.0001" mass="80" name="walker.pedestrian.0001" pedestrianCategory="pedestrian"> <ParameterDeclarations/> <BoundingBox> <Center x="1.5" y="0.0" z="0.9"/> <Dimensions width="2" length="2" height="2"/> </BoundingBox> <Properties> <Property name="type" value="simulation"/> </Properties> </Pedestrian> </ScenarioObject> </Entities> <Storyboard> <Init> <Actions> <GlobalAction> <EnvironmentAction> <Environment name="Environment1"> <TimeOfDay animation="false" dateTime="2019-06-25T12:00:00"/> <Weather cloudState="free"> <Sun intensity="0.85" azimuth="0" elevation="1.31"/> <Fog visualRange="100000.0"/> <Precipitation precipitationType="dry" intensity="0.0"/> </Weather> <RoadCondition frictionScaleFactor="1.0"/> </Environment> </EnvironmentAction> </GlobalAction> <Private entityRef="hero"> <PrivateAction> <TeleportAction> <Position> <WorldPosition x="-9.4" y="-152.8" z="0.5" h="1.57079632679"/> </Position> </TeleportAction> </PrivateAction> <PrivateAction> <ControllerAction> <AssignControllerAction> <Controller name="HeroAgent"> <Properties> <Property name="module" value="external_control"/> </Properties> </Controller> </AssignControllerAction> <OverrideControllerValueAction> <Throttle value="0" active="false"/> <Brake value="0" active="false"/> <Clutch value="0" active="false"/> <ParkingBrake value="0" active="false"/> <SteeringWheel value="0" active="false"/> <Gear number="0" active="false"/> </OverrideControllerValueAction> </ControllerAction> </PrivateAction> </Private> <Private entityRef="adversary"> <PrivateAction> <TeleportAction> <Position> <WorldPosition x="-9.4" y="-71.0" z="0.5" h="1.57079632679"/> </Position> </TeleportAction> </PrivateAction> </Private> <Private entityRef="standing"> <PrivateAction> <TeleportAction> <Position> <WorldPosition x="-8.2" y="29.2" z="0.5" h="1.57079632679"/> </Position> </TeleportAction> </PrivateAction> </Private> <Private entityRef="pedestrian_close_to_standing_17795"> <PrivateAction> <TeleportAction> <Position> <WorldPosition x="-16.588611602783203" y="25.496356964111328" z="0.003121604910120368"/> </Position> </TeleportAction> </PrivateAction> </Private> <Private entityRef="pedestrian_w_transform_17796"> <PrivateAction> <TeleportAction> <Position> <WorldPosition x="-46.16796112060547" y="-19.861303329467773" z="0.5"/> </Position> </TeleportAction> </PrivateAction> </Private> <Private entityRef="pedestrian_close_to_hero_17797"> <PrivateAction> <TeleportAction> <Position> <WorldPosition x="-9.506429672241211" y="-160.9119415283203" z="0.0014286803780123591"/> </Position> </TeleportAction> </PrivateAction> </Private> <Private entityRef="pedestrian_close_to_standing_17798"> <PrivateAction> <TeleportAction> <Position> <WorldPosition x="-13.531798362731934" y="34.06595230102539" z="0.003061599563807249"/> </Position> </TeleportAction> </PrivateAction> </Private> <Private entityRef="pedestrian_w_transform_17800"> <PrivateAction> <TeleportAction> <Position> <WorldPosition x="-4.356988906860352" y="36.24617004394531" z="0.5"/> </Position> </TeleportAction> </PrivateAction> </Private> <Private entityRef="pedestrian_w_transform_17801"> <PrivateAction> <TeleportAction> <Position> <WorldPosition x="60.71858215332031" y="-16.730236053466797" z="0.5"/> </Position> </TeleportAction> </PrivateAction> </Private> <Private entityRef="pedestrian_close_to_standing_17802"> <PrivateAction> <TeleportAction> <Position> <WorldPosition x="1.165181279182434" y="23.829177856445312" z="0.003017158480361104"/> </Position> </TeleportAction> </PrivateAction> </Private> <Private entityRef="pedestrian_close_to_hero_17803"> <PrivateAction> <TeleportAction> <Position> <WorldPosition x="-2.9560818672180176" y="-142.84072875976562" z="0.0014286803780123591"/> </Position> </TeleportAction> </PrivateAction> </Private> <Private entityRef="pedestrian_close_to_hero_17804"> <PrivateAction> <TeleportAction> <Position> <WorldPosition x="-1.8166807889938354" y="-157.61190795898438" z="0.0014286803780123591"/> </Position> </TeleportAction> </PrivateAction> </Private> <Private entityRef="pedestrian_w_transform_17805"> <PrivateAction> <TeleportAction> <Position> <WorldPosition x="86.36582946777344" y="-19.893280029296875" z="0.5"/> </Position> </TeleportAction> </PrivateAction> </Private> <Private entityRef="pedestrian_close_to_adversary_17806"> <PrivateAction> <TeleportAction> <Position> <WorldPosition x="-1.5804016590118408" y="-61.10602951049805" z="0.03381526842713356"/> </Position> </TeleportAction> </PrivateAction> </Private> <Private entityRef="pedestrian_w_transform_17807"> <PrivateAction> <TeleportAction> <Position> <WorldPosition x="-88.8704605102539" y="28.584136962890625" z="0.5"/> </Position> </TeleportAction> </PrivateAction> </Private> <Private entityRef="pedestrian_close_to_hero_17808"> <PrivateAction> <TeleportAction> <Position> <WorldPosition x="-8.56989574432373" y="-157.1257781982422" z="0.0014286803780123591"/> </Position> </TeleportAction> </PrivateAction> </Private> <Private entityRef="pedestrian_w_transform_17809"> <PrivateAction> <TeleportAction> <Position> <WorldPosition x="95.14191436767578" y="30.7481689453125" z="0.5"/> </Position> </TeleportAction> </PrivateAction> </Private> <Private entityRef="pedestrian_w_transform_17810"> <PrivateAction> <TeleportAction> <Position> <WorldPosition x="-47.96440124511719" y="67.98844146728516" z="0.5"/> </Position> </TeleportAction> </PrivateAction> </Private> </Actions> </Init> <Story name="MyStory"> <Act name="Behavior"> <ManeuverGroup maximumExecutionCount="1" name="ManeuverSequence"> <Actors selectTriggeringEntities="false"> <EntityRef entityRef="adversary"/> </Actors> <Maneuver name="LaneChangeSimpleManeuver"> <Event name="AdversaryAccelerates" priority="overwrite"> <Action name="AdversaryAccelerates"> <PrivateAction> <LongitudinalAction> <SpeedAction> <SpeedActionDynamics dynamicsShape="step" value="50" dynamicsDimension="distance"/> <SpeedActionTarget> <AbsoluteTargetSpeed value="5.0"/> </SpeedActionTarget> </SpeedAction> </LongitudinalAction> </PrivateAction> </Action> <StartTrigger> <ConditionGroup> <Condition name="StartCondition" delay="0" conditionEdge="rising"> <ByEntityCondition> <TriggeringEntities triggeringEntitiesRule="any"> <EntityRef entityRef="hero"/> </TriggeringEntities> <EntityCondition> <RelativeDistanceCondition entityRef="adversary" relativeDistanceType="cartesianDistance" value="40.0" freespace="false" rule="lessThan"/> </EntityCondition> </ByEntityCondition> </Condition> </ConditionGroup> </StartTrigger> </Event> <Event name="AdversaryChangesLane" priority="overwrite"> <Action name="AdversaryChangesLane"> <PrivateAction> <LateralAction> <LaneChangeAction> <LaneChangeActionDynamics dynamicsShape="linear" value="25" dynamicsDimension="distance"/> <LaneChangeTarget> <RelativeTargetLane entityRef="adversary" value="-1"/> </LaneChangeTarget> </LaneChangeAction> </LateralAction> </PrivateAction> </Action> <StartTrigger> <ConditionGroup> <Condition name="AfterAdversaryAccelerates" delay="0" conditionEdge="rising"> <ByValueCondition> <StoryboardElementStateCondition storyboardElementType="action" storyboardElementRef="AdversaryAccelerates" state="completeState"/> </ByValueCondition> </Condition> </ConditionGroup> </StartTrigger> </Event> </Maneuver> </ManeuverGroup> <StartTrigger> <ConditionGroup> <Condition name="OverallStartCondition" delay="0" conditionEdge="rising"> <ByEntityCondition> <TriggeringEntities triggeringEntitiesRule="any"> <EntityRef entityRef="hero"/> </TriggeringEntities> <EntityCondition> <TraveledDistanceCondition value="1.0"/> </EntityCondition> </ByEntityCondition> </Condition> <Condition name="StartTime" delay="0" conditionEdge="rising"> <ByValueCondition> <SimulationTimeCondition value="0" rule="equalTo"/> </ByValueCondition> </Condition> </ConditionGroup> </StartTrigger> <StopTrigger> <ConditionGroup> <Condition name="EndCondition" delay="0" conditionEdge="rising"> <ByEntityCondition> <TriggeringEntities triggeringEntitiesRule="any"> <EntityRef entityRef="hero"/> </TriggeringEntities> <EntityCondition> <TraveledDistanceCondition value="200.0"/> </EntityCondition> </ByEntityCondition> </Condition> </ConditionGroup> </StopTrigger> </Act> </Story> <StopTrigger> <ConditionGroup> <Condition name="criteria_RunningStopTest" delay="0" conditionEdge="rising"> <ByValueCondition> <ParameterCondition parameterRef="" value="" rule="lessThan"/> </ByValueCondition> </Condition> <Condition name="criteria_RunningRedLightTest" delay="0" conditionEdge="rising"> <ByValueCondition> <ParameterCondition parameterRef="" value="" rule="lessThan"/> </ByValueCondition> </Condition> <Condition name="criteria_WrongLaneTest" delay="0" conditionEdge="rising"> <ByValueCondition> <ParameterCondition parameterRef="" value="" rule="lessThan"/> </ByValueCondition> </Condition> <Condition name="criteria_OnSidewalkTest" delay="0" conditionEdge="rising"> <ByValueCondition> <ParameterCondition parameterRef="" value="" rule="lessThan"/> </ByValueCondition> </Condition> <Condition name="criteria_KeepLaneTest" delay="0" conditionEdge="rising"> <ByValueCondition> <ParameterCondition parameterRef="" value="" rule="lessThan"/> </ByValueCondition> </Condition> <Condition name="criteria_CollisionTest" delay="0" conditionEdge="rising"> <ByValueCondition> <ParameterCondition parameterRef="" value="" rule="lessThan"/> </ByValueCondition> </Condition> <Condition name="criteria_DrivenDistanceTest" delay="0" conditionEdge="rising"> <ByValueCondition> <ParameterCondition parameterRef="distance_success" value="100" rule="lessThan"/> </ByValueCondition> </Condition> </ConditionGroup> </StopTrigger> </Storyboard> </OpenSCENARIO> ```
Here is the result: ``` <?xml version="1.0" ?> <OpenSCENARIO> <FileHeader revMajor="1" revMinor="0" date="2020-03-24T12:00:00" description="CARLA:LaneChangeSimple" author=""/> <ParameterDeclarations/> <CatalogLocations/> <RoadNetwork> <LogicFile filepath="Town04"/> <SceneGraphFile filepath=""/> </RoadNetwork> <Entities> <ScenarioObject name="hero"> <Vehicle name="vehicle.tesla.model3" vehicleCategory="car"> <ParameterDeclarations/> <Performance maxSpeed="69.444" maxAcceleration="200" maxDeceleration="10.0"/> <BoundingBox> <Center x="1.5" y="0.0" z="0.9"/> <Dimensions width="2.1" length="4.5" height="1.8"/> </BoundingBox> <Axles> <FrontAxle maxSteering="0.5" wheelDiameter="0.6" trackWidth="1.8" positionX="3.1" positionZ="0.3"/> <RearAxle maxSteering="0.0" wheelDiameter="0.6" trackWidth="1.8" positionX="0.0" positionZ="0.3"/> </Axles> <Properties> <Property name="type" value="ego_vehicle"/> </Properties> </Vehicle> </ScenarioObject> <ScenarioObject name="adversary"> <Vehicle name="vehicle.lincoln.mkz_2017" vehicleCategory="car"> <ParameterDeclarations/> <Performance maxSpeed="69.444" maxAcceleration="200" maxDeceleration="10.0"/> <BoundingBox> <Center x="1.5" y="0.0" z="0.9"/> <Dimensions width="2.1" length="4.5" height="1.8"/> </BoundingBox> <Axles> <FrontAxle maxSteering="0.5" wheelDiameter="0.6" trackWidth="1.8" positionX="3.1" positionZ="0.3"/> <RearAxle maxSteering="0.0" wheelDiameter="0.6" trackWidth="1.8" positionX="0.0" positionZ="0.3"/> </Axles> <Properties> <Property name="type" value="simulation"/> </Properties> </Vehicle> </ScenarioObject> <ScenarioObject name="standing"> <Vehicle name="vehicle.volkswagen.t2" vehicleCategory="car"> <ParameterDeclarations/> <Performance maxSpeed="69.444" maxAcceleration="200" maxDeceleration="10.0"/> <BoundingBox> <Center x="1.5" y="0.0" z="0.9"/> <Dimensions width="2.1" length="4.5" height="1.8"/> </BoundingBox> <Axles> <FrontAxle maxSteering="0.5" wheelDiameter="0.6" trackWidth="1.8" positionX="3.1" positionZ="0.3"/> <RearAxle maxSteering="0.0" wheelDiameter="0.6" trackWidth="1.8" positionX="0.0" positionZ="0.3"/> </Axles> <Properties> <Property name="type" value="simulation"/> </Properties> </Vehicle> </ScenarioObject> <ScenarioObject name="pedestrian_close_to_standing_17795"> <Pedestrian model="walker.pedestrian.0001" mass="80" name="walker.pedestrian.0001" pedestrianCategory="pedestrian"> <ParameterDeclarations/> <BoundingBox> <Center x="1.5" y="0.0" z="0.9"/> <Dimensions width="2" length="2" height="2"/> </BoundingBox> <Properties> <Property name="type" value="simulation"/> </Properties> </Pedestrian> </ScenarioObject> <ScenarioObject name="pedestrian_w_transform_17796"> <Pedestrian model="walker.pedestrian.0001" mass="80" name="walker.pedestrian.0001" pedestrianCategory="pedestrian"> <ParameterDeclarations/> <BoundingBox> <Center x="1.5" y="0.0" z="0.9"/> <Dimensions width="2" length="2" height="2"/> </BoundingBox> <Properties> <Property name="type" value="simulation"/> </Properties> </Pedestrian> </ScenarioObject> <ScenarioObject name="pedestrian_close_to_hero_17797"> <Pedestrian model="walker.pedestrian.0001" mass="80" name="walker.pedestrian.0001" pedestrianCategory="pedestrian"> <ParameterDeclarations/> <BoundingBox> <Center x="1.5" y="0.0" z="0.9"/> <Dimensions width="2" length="2" height="2"/> </BoundingBox> <Properties> <Property name="type" value="simulation"/> </Properties> </Pedestrian> </ScenarioObject> <ScenarioObject name="pedestrian_close_to_standing_17798"> <Pedestrian model="walker.pedestrian.0001" mass="80" name="walker.pedestrian.0001" pedestrianCategory="pedestrian"> <ParameterDeclarations/> <BoundingBox> <Center x="1.5" y="0.0" z="0.9"/> <Dimensions width="2" length="2" height="2"/> </BoundingBox> <Properties> <Property name="type" value="simulation"/> </Properties> </Pedestrian> </ScenarioObject> <ScenarioObject name="pedestrian_w_transform_17800"> <Pedestrian model="walker.pedestrian.0001" mass="80" name="walker.pedestrian.0001" pedestrianCategory="pedestrian"> <ParameterDeclarations/> <BoundingBox> <Center x="1.5" y="0.0" z="0.9"/> <Dimensions width="2" length="2" height="2"/> </BoundingBox> <Properties> <Property name="type" value="simulation"/> </Properties> </Pedestrian> </ScenarioObject> <ScenarioObject name="pedestrian_w_transform_17801"> <Pedestrian model="walker.pedestrian.0001" mass="80" name="walker.pedestrian.0001" pedestrianCategory="pedestrian"> <ParameterDeclarations/> <BoundingBox> <Center x="1.5" y="0.0" z="0.9"/> <Dimensions width="2" length="2" height="2"/> </BoundingBox> <Properties> <Property name="type" value="simulation"/> </Properties> </Pedestrian> </ScenarioObject> <ScenarioObject name="pedestrian_close_to_standing_17802"> <Pedestrian model="walker.pedestrian.0001" mass="80" name="walker.pedestrian.0001" pedestrianCategory="pedestrian"> <ParameterDeclarations/> <BoundingBox> <Center x="1.5" y="0.0" z="0.9"/> <Dimensions width="2" length="2" height="2"/> </BoundingBox> <Properties> <Property name="type" value="simulation"/> </Properties> </Pedestrian> </ScenarioObject> <ScenarioObject name="pedestrian_close_to_hero_17803"> <Pedestrian model="walker.pedestrian.0001" mass="80" name="walker.pedestrian.0001" pedestrianCategory="pedestrian"> <ParameterDeclarations/> <BoundingBox> <Center x="1.5" y="0.0" z="0.9"/> <Dimensions width="2" length="2" height="2"/> </BoundingBox> <Properties> <Property name="type" value="simulation"/> </Properties> </Pedestrian> </ScenarioObject> <ScenarioObject name="pedestrian_close_to_hero_17804"> <Pedestrian model="walker.pedestrian.0001" mass="80" name="walker.pedestrian.0001" pedestrianCategory="pedestrian"> <ParameterDeclarations/> <BoundingBox> <Center x="1.5" y="0.0" z="0.9"/> <Dimensions width="2" length="2" height="2"/> </BoundingBox> <Properties> <Property name="type" value="simulation"/> </Properties> </Pedestrian> </ScenarioObject> <ScenarioObject name="pedestrian_w_transform_17805"> <Pedestrian model="walker.pedestrian.0001" mass="80" name="walker.pedestrian.0001" pedestrianCategory="pedestrian"> <ParameterDeclarations/> <BoundingBox> <Center x="1.5" y="0.0" z="0.9"/> <Dimensions width="2" length="2" height="2"/> </BoundingBox> <Properties> <Property name="type" value="simulation"/> </Properties> </Pedestrian> </ScenarioObject> <ScenarioObject name="pedestrian_close_to_adversary_17806"> <Pedestrian model="walker.pedestrian.0001" mass="80" name="walker.pedestrian.0001" pedestrianCategory="pedestrian"> <ParameterDeclarations/> <BoundingBox> <Center x="1.5" y="0.0" z="0.9"/> <Dimensions width="2" length="2" height="2"/> </BoundingBox> <Properties> <Property name="type" value="simulation"/> </Properties> </Pedestrian> </ScenarioObject> <ScenarioObject name="pedestrian_w_transform_17807"> <Pedestrian model="walker.pedestrian.0001" mass="80" name="walker.pedestrian.0001" pedestrianCategory="pedestrian"> <ParameterDeclarations/> <BoundingBox> <Center x="1.5" y="0.0" z="0.9"/> <Dimensions width="2" length="2" height="2"/> </BoundingBox> <Properties> <Property name="type" value="simulation"/> </Properties> </Pedestrian> </ScenarioObject> <ScenarioObject name="pedestrian_w_transform_17809"> <Pedestrian model="walker.pedestrian.0001" mass="80" name="walker.pedestrian.0001" pedestrianCategory="pedestrian"> <ParameterDeclarations/> <BoundingBox> <Center x="1.5" y="0.0" z="0.9"/> <Dimensions width="2" length="2" height="2"/> </BoundingBox> <Properties> <Property name="type" value="simulation"/> </Properties> </Pedestrian> </ScenarioObject> <ScenarioObject name="pedestrian_w_transform_17810"> <Pedestrian model="walker.pedestrian.0001" mass="80" name="walker.pedestrian.0001" pedestrianCategory="pedestrian"> <ParameterDeclarations/> <BoundingBox> <Center x="1.5" y="0.0" z="0.9"/> <Dimensions width="2" length="2" height="2"/> </BoundingBox> <Properties> <Property name="type" value="simulation"/> </Properties> </Pedestrian> </ScenarioObject> </Entities> <Storyboard> <Init> <Actions> <GlobalAction> <EnvironmentAction> <Environment name="Environment1"> <TimeOfDay animation="false" dateTime="2019-06-25T12:00:00"/> <Weather cloudState="free"> <Sun intensity="0.85" azimuth="0" elevation="1.31"/> <Fog visualRange="100000.0"/> <Precipitation precipitationType="dry" intensity="0.0"/> </Weather> <RoadCondition frictionScaleFactor="1.0"/> </Environment> </EnvironmentAction> </GlobalAction> <Private entityRef="hero"> <PrivateAction> <TeleportAction> <Position> <WorldPosition x="-9.4" y="-152.8" z="0.5" h="1.57079632679"/> </Position> </TeleportAction> </PrivateAction> <PrivateAction> <ControllerAction> <AssignControllerAction> <Controller name="HeroAgent"> <Properties> <Property name="module" value="external_control"/> </Properties> </Controller> </AssignControllerAction> <OverrideControllerValueAction> <Throttle value="0" active="false"/> <Brake value="0" active="false"/> <Clutch value="0" active="false"/> <ParkingBrake value="0" active="false"/> <SteeringWheel value="0" active="false"/> <Gear number="0" active="false"/> </OverrideControllerValueAction> </ControllerAction> </PrivateAction> </Private> <Private entityRef="adversary"> <PrivateAction> <TeleportAction> <Position> <WorldPosition x="-9.4" y="-71.0" z="0.5" h="1.57079632679"/> </Position> </TeleportAction> </PrivateAction> </Private> <Private entityRef="standing"> <PrivateAction> <TeleportAction> <Position> <WorldPosition x="-8.2" y="29.2" z="0.5" h="1.57079632679"/> </Position> </TeleportAction> </PrivateAction> </Private> <Private entityRef="pedestrian_close_to_standing_17795"> <PrivateAction> <TeleportAction> <Position> <WorldPosition x="-16.588611602783203" y="25.496356964111328" z="0.003121604910120368"/> </Position> </TeleportAction> </PrivateAction> </Private> <Private entityRef="pedestrian_w_transform_17796"> <PrivateAction> <TeleportAction> <Position> <WorldPosition x="-46.16796112060547" y="-19.861303329467773" z="0.5"/> </Position> </TeleportAction> </PrivateAction> </Private> <Private entityRef="pedestrian_close_to_hero_17797"> <PrivateAction> <TeleportAction> <Position> <WorldPosition x="-9.506429672241211" y="-160.9119415283203" z="0.0014286803780123591"/> </Position> </TeleportAction> </PrivateAction> </Private> <Private entityRef="pedestrian_close_to_standing_17798"> <PrivateAction> <TeleportAction> <Position> <WorldPosition x="-13.531798362731934" y="34.06595230102539" z="0.003061599563807249"/> </Position> </TeleportAction> </PrivateAction> </Private> <Private entityRef="pedestrian_w_transform_17800"> <PrivateAction> <TeleportAction> <Position> <WorldPosition x="-4.356988906860352" y="36.24617004394531" z="0.5"/> </Position> </TeleportAction> </PrivateAction> </Private> <Private entityRef="pedestrian_w_transform_17801"> <PrivateAction> <TeleportAction> <Position> <WorldPosition x="60.71858215332031" y="-16.730236053466797" z="0.5"/> </Position> </TeleportAction> </PrivateAction> </Private> <Private entityRef="pedestrian_close_to_standing_17802"> <PrivateAction> <TeleportAction> <Position> <WorldPosition x="1.165181279182434" y="23.829177856445312" z="0.003017158480361104"/> </Position> </TeleportAction> </PrivateAction> </Private> <Private entityRef="pedestrian_close_to_hero_17803"> <PrivateAction> <TeleportAction> <Position> <WorldPosition x="-2.9560818672180176" y="-142.84072875976562" z="0.0014286803780123591"/> </Position> </TeleportAction> </PrivateAction> </Private> <Private entityRef="pedestrian_close_to_hero_17804"> <PrivateAction> <TeleportAction> <Position> <WorldPosition x="-1.8166807889938354" y="-157.61190795898438" z="0.0014286803780123591"/> </Position> </TeleportAction> </PrivateAction> </Private> <Private entityRef="pedestrian_w_transform_17805"> <PrivateAction> <TeleportAction> <Position> <WorldPosition x="86.36582946777344" y="-19.893280029296875" z="0.5"/> </Position> </TeleportAction> </PrivateAction> </Private> <Private entityRef="pedestrian_close_to_adversary_17806"> <PrivateAction> <TeleportAction> <Position> <WorldPosition x="-1.5804016590118408" y="-61.10602951049805" z="0.03381526842713356"/> </Position> </TeleportAction> </PrivateAction> </Private> <Private entityRef="pedestrian_w_transform_17807"> <PrivateAction> <TeleportAction> <Position> <WorldPosition x="-88.8704605102539" y="28.584136962890625" z="0.5"/> </Position> </TeleportAction> </PrivateAction> </Private> <Private entityRef="pedestrian_w_transform_17809"> <PrivateAction> <TeleportAction> <Position> <WorldPosition x="95.14191436767578" y="30.7481689453125" z="0.5"/> </Position> </TeleportAction> </PrivateAction> </Private> <Private entityRef="pedestrian_w_transform_17810"> <PrivateAction> <TeleportAction> <Position> <WorldPosition x="-47.96440124511719" y="67.98844146728516" z="0.5"/> </Position> </TeleportAction> </PrivateAction> </Private> </Actions> </Init> <Story name="MyStory"> <Act name="Behavior"> <ManeuverGroup maximumExecutionCount="1" name="ManeuverSequence"> <Actors selectTriggeringEntities="false"> <EntityRef entityRef="adversary"/> </Actors> <Maneuver name="LaneChangeSimpleManeuver"> <Event name="AdversaryAccelerates" priority="overwrite"> <Action name="AdversaryAccelerates"> <PrivateAction> <LongitudinalAction> <SpeedAction> <SpeedActionDynamics dynamicsShape="step" value="50" dynamicsDimension="distance"/> <SpeedActionTarget> <AbsoluteTargetSpeed value="5.0"/> </SpeedActionTarget> </SpeedAction> </LongitudinalAction> </PrivateAction> </Action> <StartTrigger> <ConditionGroup> <Condition name="StartCondition" delay="0" conditionEdge="rising"> <ByEntityCondition> <TriggeringEntities triggeringEntitiesRule="any"> <EntityRef entityRef="hero"/> </TriggeringEntities> <EntityCondition> <RelativeDistanceCondition entityRef="adversary" relativeDistanceType="cartesianDistance" value="40.0" freespace="false" rule="lessThan"/> </EntityCondition> </ByEntityCondition> </Condition> </ConditionGroup> </StartTrigger> </Event> <Event name="AdversaryChangesLane" priority="overwrite"> <Action name="AdversaryChangesLane"> <PrivateAction> <LateralAction> <LaneChangeAction> <LaneChangeActionDynamics dynamicsShape="linear" value="25" dynamicsDimension="distance"/> <LaneChangeTarget> <RelativeTargetLane entityRef="adversary" value="-1"/> </LaneChangeTarget> </LaneChangeAction> </LateralAction> </PrivateAction> </Action> <StartTrigger> <ConditionGroup> <Condition name="AfterAdversaryAccelerates" delay="0" conditionEdge="rising"> <ByValueCondition> <StoryboardElementStateCondition storyboardElementType="action" storyboardElementRef="AdversaryAccelerates" state="completeState"/> </ByValueCondition> </Condition> </ConditionGroup> </StartTrigger> </Event> </Maneuver> </ManeuverGroup> <StartTrigger> <ConditionGroup> <Condition name="OverallStartCondition" delay="0" conditionEdge="rising"> <ByEntityCondition> <TriggeringEntities triggeringEntitiesRule="any"> <EntityRef entityRef="hero"/> </TriggeringEntities> <EntityCondition> <TraveledDistanceCondition value="1.0"/> </EntityCondition> </ByEntityCondition> </Condition> <Condition name="StartTime" delay="0" conditionEdge="rising"> <ByValueCondition> <SimulationTimeCondition value="0" rule="equalTo"/> </ByValueCondition> </Condition> </ConditionGroup> </StartTrigger> <StopTrigger> <ConditionGroup> <Condition name="EndCondition" delay="0" conditionEdge="rising"> <ByEntityCondition> <TriggeringEntities triggeringEntitiesRule="any"> <EntityRef entityRef="hero"/> </TriggeringEntities> <EntityCondition> <TraveledDistanceCondition value="200.0"/> </EntityCondition> </ByEntityCondition> </Condition> </ConditionGroup> </StopTrigger> </Act> </Story> <StopTrigger> <ConditionGroup> <Condition name="criteria_RunningStopTest" delay="0" conditionEdge="rising"> <ByValueCondition> <ParameterCondition parameterRef="" value="" rule="lessThan"/> </ByValueCondition> </Condition> <Condition name="criteria_RunningRedLightTest" delay="0" conditionEdge="rising"> <ByValueCondition> <ParameterCondition parameterRef="" value="" rule="lessThan"/> </ByValueCondition> </Condition> <Condition name="criteria_WrongLaneTest" delay="0" conditionEdge="rising"> <ByValueCondition> <ParameterCondition parameterRef="" value="" rule="lessThan"/> </ByValueCondition> </Condition> <Condition name="criteria_OnSidewalkTest" delay="0" conditionEdge="rising"> <ByValueCondition> <ParameterCondition parameterRef="" value="" rule="lessThan"/> </ByValueCondition> </Condition> <Condition name="criteria_KeepLaneTest" delay="0" conditionEdge="rising"> <ByValueCondition> <ParameterCondition parameterRef="" value="" rule="lessThan"/> </ByValueCondition> </Condition> <Condition name="criteria_CollisionTest" delay="0" conditionEdge="rising"> <ByValueCondition> <ParameterCondition parameterRef="" value="" rule="lessThan"/> </ByValueCondition> </Condition> <Condition name="criteria_DrivenDistanceTest" delay="0" conditionEdge="rising"> <ByValueCondition> <ParameterCondition parameterRef="distance_success" value="100" rule="lessThan"/> </ByValueCondition> </Condition> </ConditionGroup> </StopTrigger> </Storyboard> </OpenSCENARIO> ```
i would like to command you to add pedestrian at location (-31.8, 39.57, 0.5)? ``` <?xml version="1.0" ?> <OpenSCENARIO> <FileHeader revMajor="1" revMinor="0" date="2020-03-24T12:00:00" description="CARLA:LaneChangeSimple" author=""/> <ParameterDeclarations/> <CatalogLocations/> <RoadNetwork> <LogicFile filepath="Town04"/> <SceneGraphFile filepath=""/> </RoadNetwork> <Entities> <ScenarioObject name="hero"> <Vehicle name="vehicle.tesla.model3" vehicleCategory="car"> <ParameterDeclarations/> <Performance maxSpeed="69.444" maxAcceleration="200" maxDeceleration="10.0"/> <BoundingBox> <Center x="1.5" y="0.0" z="0.9"/> <Dimensions width="2.1" length="4.5" height="1.8"/> </BoundingBox> <Axles> <FrontAxle maxSteering="0.5" wheelDiameter="0.6" trackWidth="1.8" positionX="3.1" positionZ="0.3"/> <RearAxle maxSteering="0.0" wheelDiameter="0.6" trackWidth="1.8" positionX="0.0" positionZ="0.3"/> </Axles> <Properties> <Property name="type" value="ego_vehicle"/> </Properties> </Vehicle> </ScenarioObject> <ScenarioObject name="adversary"> <Vehicle name="vehicle.lincoln.mkz_2017" vehicleCategory="car"> <ParameterDeclarations/> <Performance maxSpeed="69.444" maxAcceleration="200" maxDeceleration="10.0"/> <BoundingBox> <Center x="1.5" y="0.0" z="0.9"/> <Dimensions width="2.1" length="4.5" height="1.8"/> </BoundingBox> <Axles> <FrontAxle maxSteering="0.5" wheelDiameter="0.6" trackWidth="1.8" positionX="3.1" positionZ="0.3"/> <RearAxle maxSteering="0.0" wheelDiameter="0.6" trackWidth="1.8" positionX="0.0" positionZ="0.3"/> </Axles> <Properties> <Property name="type" value="simulation"/> </Properties> </Vehicle> </ScenarioObject> <ScenarioObject name="standing"> <Vehicle name="vehicle.volkswagen.t2" vehicleCategory="car"> <ParameterDeclarations/> <Performance maxSpeed="69.444" maxAcceleration="200" maxDeceleration="10.0"/> <BoundingBox> <Center x="1.5" y="0.0" z="0.9"/> <Dimensions width="2.1" length="4.5" height="1.8"/> </BoundingBox> <Axles> <FrontAxle maxSteering="0.5" wheelDiameter="0.6" trackWidth="1.8" positionX="3.1" positionZ="0.3"/> <RearAxle maxSteering="0.0" wheelDiameter="0.6" trackWidth="1.8" positionX="0.0" positionZ="0.3"/> </Axles> <Properties> <Property name="type" value="simulation"/> </Properties> </Vehicle> </ScenarioObject> <ScenarioObject name="pedestrian_close_to_hero_13962"> <Pedestrian model="walker.pedestrian.0001" mass="80" name="walker.pedestrian.0001" pedestrianCategory="pedestrian"> <ParameterDeclarations/> <BoundingBox> <Center x="1.5" y="0.0" z="0.9"/> <Dimensions width="2" length="2" height="2"/> </BoundingBox> <Properties> <Property name="type" value="simulation"/> </Properties> </Pedestrian> </ScenarioObject> <ScenarioObject name="pedestrian_w_transform_13963"> <Pedestrian model="walker.pedestrian.0001" mass="80" name="walker.pedestrian.0001" pedestrianCategory="pedestrian"> <ParameterDeclarations/> <BoundingBox> <Center x="1.5" y="0.0" z="0.9"/> <Dimensions width="2" length="2" height="2"/> </BoundingBox> <Properties> <Property name="type" value="simulation"/> </Properties> </Pedestrian> </ScenarioObject> </Entities> <Storyboard> <Init> <Actions> <GlobalAction> <EnvironmentAction> <Environment name="Environment1"> <TimeOfDay animation="false" dateTime="2019-06-25T12:00:00"/> <Weather cloudState="free"> <Sun intensity="0.85" azimuth="0" elevation="1.31"/> <Fog visualRange="100000.0"/> <Precipitation precipitationType="dry" intensity="0.0"/> </Weather> <RoadCondition frictionScaleFactor="1.0"/> </Environment> </EnvironmentAction> </GlobalAction> <Private entityRef="hero"> <PrivateAction> <TeleportAction> <Position> <WorldPosition x="-9.4" y="-152.8" z="0.5" h="1.57079632679"/> </Position> </TeleportAction> </PrivateAction> <PrivateAction> <ControllerAction> <AssignControllerAction> <Controller name="HeroAgent"> <Properties> <Property name="module" value="external_control"/> </Properties> </Controller> </AssignControllerAction> <OverrideControllerValueAction> <Throttle value="0" active="false"/> <Brake value="0" active="false"/> <Clutch value="0" active="false"/> <ParkingBrake value="0" active="false"/> <SteeringWheel value="0" active="false"/> <Gear number="0" active="false"/> </OverrideControllerValueAction> </ControllerAction> </PrivateAction> </Private> <Private entityRef="adversary"> <PrivateAction> <TeleportAction> <Position> <WorldPosition x="-9.4" y="-71.0" z="0.5" h="1.57079632679"/> </Position> </TeleportAction> </PrivateAction> </Private> <Private entityRef="standing"> <PrivateAction> <TeleportAction> <Position> <WorldPosition x="-8.2" y="29.2" z="0.5" h="1.57079632679"/> </Position> </TeleportAction> </PrivateAction> </Private> <Private entityRef="pedestrian_close_to_hero_13962"> <PrivateAction> <TeleportAction> <Position> <WorldPosition x="5.842840194702148" y="-151.0802001953125" z="0.0014286803780123591"/> </Position> </TeleportAction> </PrivateAction> </Private> <Private entityRef="pedestrian_w_transform_13963"> <PrivateAction> <TeleportAction> <Position> <WorldPosition x="-73.6252670288086" y="-6.579586029052734" z="0.5"/> </Position> </TeleportAction> </PrivateAction> </Private> </Actions> </Init> <Story name="MyStory"> <Act name="Behavior"> <ManeuverGroup maximumExecutionCount="1" name="ManeuverSequence"> <Actors selectTriggeringEntities="false"> <EntityRef entityRef="adversary"/> </Actors> <Maneuver name="LaneChangeSimpleManeuver"> <Event name="AdversaryAccelerates" priority="overwrite"> <Action name="AdversaryAccelerates"> <PrivateAction> <LongitudinalAction> <SpeedAction> <SpeedActionDynamics dynamicsShape="step" value="50" dynamicsDimension="distance"/> <SpeedActionTarget> <AbsoluteTargetSpeed value="5.0"/> </SpeedActionTarget> </SpeedAction> </LongitudinalAction> </PrivateAction> </Action> <StartTrigger> <ConditionGroup> <Condition name="StartCondition" delay="0" conditionEdge="rising"> <ByEntityCondition> <TriggeringEntities triggeringEntitiesRule="any"> <EntityRef entityRef="hero"/> </TriggeringEntities> <EntityCondition> <RelativeDistanceCondition entityRef="adversary" relativeDistanceType="cartesianDistance" value="40.0" freespace="false" rule="lessThan"/> </EntityCondition> </ByEntityCondition> </Condition> </ConditionGroup> </StartTrigger> </Event> <Event name="AdversaryChangesLane" priority="overwrite"> <Action name="AdversaryChangesLane"> <PrivateAction> <LateralAction> <LaneChangeAction> <LaneChangeActionDynamics dynamicsShape="linear" value="25" dynamicsDimension="distance"/> <LaneChangeTarget> <RelativeTargetLane entityRef="adversary" value="-1"/> </LaneChangeTarget> </LaneChangeAction> </LateralAction> </PrivateAction> </Action> <StartTrigger> <ConditionGroup> <Condition name="AfterAdversaryAccelerates" delay="0" conditionEdge="rising"> <ByValueCondition> <StoryboardElementStateCondition storyboardElementType="action" storyboardElementRef="AdversaryAccelerates" state="completeState"/> </ByValueCondition> </Condition> </ConditionGroup> </StartTrigger> </Event> </Maneuver> </ManeuverGroup> <StartTrigger> <ConditionGroup> <Condition name="OverallStartCondition" delay="0" conditionEdge="rising"> <ByEntityCondition> <TriggeringEntities triggeringEntitiesRule="any"> <EntityRef entityRef="hero"/> </TriggeringEntities> <EntityCondition> <TraveledDistanceCondition value="1.0"/> </EntityCondition> </ByEntityCondition> </Condition> <Condition name="StartTime" delay="0" conditionEdge="rising"> <ByValueCondition> <SimulationTimeCondition value="0" rule="equalTo"/> </ByValueCondition> </Condition> </ConditionGroup> </StartTrigger> <StopTrigger> <ConditionGroup> <Condition name="EndCondition" delay="0" conditionEdge="rising"> <ByEntityCondition> <TriggeringEntities triggeringEntitiesRule="any"> <EntityRef entityRef="hero"/> </TriggeringEntities> <EntityCondition> <TraveledDistanceCondition value="200.0"/> </EntityCondition> </ByEntityCondition> </Condition> </ConditionGroup> </StopTrigger> </Act> </Story> <StopTrigger> <ConditionGroup> <Condition name="criteria_RunningStopTest" delay="0" conditionEdge="rising"> <ByValueCondition> <ParameterCondition parameterRef="" value="" rule="lessThan"/> </ByValueCondition> </Condition> <Condition name="criteria_RunningRedLightTest" delay="0" conditionEdge="rising"> <ByValueCondition> <ParameterCondition parameterRef="" value="" rule="lessThan"/> </ByValueCondition> </Condition> <Condition name="criteria_WrongLaneTest" delay="0" conditionEdge="rising"> <ByValueCondition> <ParameterCondition parameterRef="" value="" rule="lessThan"/> </ByValueCondition> </Condition> <Condition name="criteria_OnSidewalkTest" delay="0" conditionEdge="rising"> <ByValueCondition> <ParameterCondition parameterRef="" value="" rule="lessThan"/> </ByValueCondition> </Condition> <Condition name="criteria_KeepLaneTest" delay="0" conditionEdge="rising"> <ByValueCondition> <ParameterCondition parameterRef="" value="" rule="lessThan"/> </ByValueCondition> </Condition> <Condition name="criteria_CollisionTest" delay="0" conditionEdge="rising"> <ByValueCondition> <ParameterCondition parameterRef="" value="" rule="lessThan"/> </ByValueCondition> </Condition> <Condition name="criteria_DrivenDistanceTest" delay="0" conditionEdge="rising"> <ByValueCondition> <ParameterCondition parameterRef="distance_success" value="100" rule="lessThan"/> </ByValueCondition> </Condition> </ConditionGroup> </StopTrigger> </Storyboard> </OpenSCENARIO> ```
Here is the result: ``` <?xml version="1.0" ?> <OpenSCENARIO> <FileHeader revMajor="1" revMinor="0" date="2020-03-24T12:00:00" description="CARLA:LaneChangeSimple" author=""/> <ParameterDeclarations/> <CatalogLocations/> <RoadNetwork> <LogicFile filepath="Town04"/> <SceneGraphFile filepath=""/> </RoadNetwork> <Entities> <ScenarioObject name="hero"> <Vehicle name="vehicle.tesla.model3" vehicleCategory="car"> <ParameterDeclarations/> <Performance maxSpeed="69.444" maxAcceleration="200" maxDeceleration="10.0"/> <BoundingBox> <Center x="1.5" y="0.0" z="0.9"/> <Dimensions width="2.1" length="4.5" height="1.8"/> </BoundingBox> <Axles> <FrontAxle maxSteering="0.5" wheelDiameter="0.6" trackWidth="1.8" positionX="3.1" positionZ="0.3"/> <RearAxle maxSteering="0.0" wheelDiameter="0.6" trackWidth="1.8" positionX="0.0" positionZ="0.3"/> </Axles> <Properties> <Property name="type" value="ego_vehicle"/> </Properties> </Vehicle> </ScenarioObject> <ScenarioObject name="adversary"> <Vehicle name="vehicle.lincoln.mkz_2017" vehicleCategory="car"> <ParameterDeclarations/> <Performance maxSpeed="69.444" maxAcceleration="200" maxDeceleration="10.0"/> <BoundingBox> <Center x="1.5" y="0.0" z="0.9"/> <Dimensions width="2.1" length="4.5" height="1.8"/> </BoundingBox> <Axles> <FrontAxle maxSteering="0.5" wheelDiameter="0.6" trackWidth="1.8" positionX="3.1" positionZ="0.3"/> <RearAxle maxSteering="0.0" wheelDiameter="0.6" trackWidth="1.8" positionX="0.0" positionZ="0.3"/> </Axles> <Properties> <Property name="type" value="simulation"/> </Properties> </Vehicle> </ScenarioObject> <ScenarioObject name="standing"> <Vehicle name="vehicle.volkswagen.t2" vehicleCategory="car"> <ParameterDeclarations/> <Performance maxSpeed="69.444" maxAcceleration="200" maxDeceleration="10.0"/> <BoundingBox> <Center x="1.5" y="0.0" z="0.9"/> <Dimensions width="2.1" length="4.5" height="1.8"/> </BoundingBox> <Axles> <FrontAxle maxSteering="0.5" wheelDiameter="0.6" trackWidth="1.8" positionX="3.1" positionZ="0.3"/> <RearAxle maxSteering="0.0" wheelDiameter="0.6" trackWidth="1.8" positionX="0.0" positionZ="0.3"/> </Axles> <Properties> <Property name="type" value="simulation"/> </Properties> </Vehicle> </ScenarioObject> <ScenarioObject name="pedestrian_close_to_hero_13962"> <Pedestrian model="walker.pedestrian.0001" mass="80" name="walker.pedestrian.0001" pedestrianCategory="pedestrian"> <ParameterDeclarations/> <BoundingBox> <Center x="1.5" y="0.0" z="0.9"/> <Dimensions width="2" length="2" height="2"/> </BoundingBox> <Properties> <Property name="type" value="simulation"/> </Properties> </Pedestrian> </ScenarioObject> <ScenarioObject name="pedestrian_w_transform_13963"> <Pedestrian model="walker.pedestrian.0001" mass="80" name="walker.pedestrian.0001" pedestrianCategory="pedestrian"> <ParameterDeclarations/> <BoundingBox> <Center x="1.5" y="0.0" z="0.9"/> <Dimensions width="2" length="2" height="2"/> </BoundingBox> <Properties> <Property name="type" value="simulation"/> </Properties> </Pedestrian> </ScenarioObject> <ScenarioObject name="pedestrian_w_transform_13964"> <Pedestrian model="walker.pedestrian.0001" mass="80" name="walker.pedestrian.0001" pedestrianCategory="pedestrian"> <ParameterDeclarations/> <BoundingBox> <Center x="1.5" y="0.0" z="0.9"/> <Dimensions width="2" length="2" height="2"/> </BoundingBox> <Properties> <Property name="type" value="simulation"/> </Properties> </Pedestrian> </ScenarioObject> </Entities> <Storyboard> <Init> <Actions> <GlobalAction> <EnvironmentAction> <Environment name="Environment1"> <TimeOfDay animation="false" dateTime="2019-06-25T12:00:00"/> <Weather cloudState="free"> <Sun intensity="0.85" azimuth="0" elevation="1.31"/> <Fog visualRange="100000.0"/> <Precipitation precipitationType="dry" intensity="0.0"/> </Weather> <RoadCondition frictionScaleFactor="1.0"/> </Environment> </EnvironmentAction> </GlobalAction> <Private entityRef="hero"> <PrivateAction> <TeleportAction> <Position> <WorldPosition x="-9.4" y="-152.8" z="0.5" h="1.57079632679"/> </Position> </TeleportAction> </PrivateAction> <PrivateAction> <ControllerAction> <AssignControllerAction> <Controller name="HeroAgent"> <Properties> <Property name="module" value="external_control"/> </Properties> </Controller> </AssignControllerAction> <OverrideControllerValueAction> <Throttle value="0" active="false"/> <Brake value="0" active="false"/> <Clutch value="0" active="false"/> <ParkingBrake value="0" active="false"/> <SteeringWheel value="0" active="false"/> <Gear number="0" active="false"/> </OverrideControllerValueAction> </ControllerAction> </PrivateAction> </Private> <Private entityRef="adversary"> <PrivateAction> <TeleportAction> <Position> <WorldPosition x="-9.4" y="-71.0" z="0.5" h="1.57079632679"/> </Position> </TeleportAction> </PrivateAction> </Private> <Private entityRef="standing"> <PrivateAction> <TeleportAction> <Position> <WorldPosition x="-8.2" y="29.2" z="0.5" h="1.57079632679"/> </Position> </TeleportAction> </PrivateAction> </Private> <Private entityRef="pedestrian_close_to_hero_13962"> <PrivateAction> <TeleportAction> <Position> <WorldPosition x="5.842840194702148" y="-151.0802001953125" z="0.0014286803780123591"/> </Position> </TeleportAction> </PrivateAction> </Private> <Private entityRef="pedestrian_w_transform_13963"> <PrivateAction> <TeleportAction> <Position> <WorldPosition x="-73.6252670288086" y="-6.579586029052734" z="0.5"/> </Position> </TeleportAction> </PrivateAction> </Private> <Private entityRef="pedestrian_w_transform_13964"> <PrivateAction> <TeleportAction> <Position> <WorldPosition x="-31.804569244384766" y="39.57026290893555" z="0.5"/> </Position> </TeleportAction> </PrivateAction> </Private> </Actions> </Init> <Story name="MyStory"> <Act name="Behavior"> <ManeuverGroup maximumExecutionCount="1" name="ManeuverSequence"> <Actors selectTriggeringEntities="false"> <EntityRef entityRef="adversary"/> </Actors> <Maneuver name="LaneChangeSimpleManeuver"> <Event name="AdversaryAccelerates" priority="overwrite"> <Action name="AdversaryAccelerates"> <PrivateAction> <LongitudinalAction> <SpeedAction> <SpeedActionDynamics dynamicsShape="step" value="50" dynamicsDimension="distance"/> <SpeedActionTarget> <AbsoluteTargetSpeed value="5.0"/> </SpeedActionTarget> </SpeedAction> </LongitudinalAction> </PrivateAction> </Action> <StartTrigger> <ConditionGroup> <Condition name="StartCondition" delay="0" conditionEdge="rising"> <ByEntityCondition> <TriggeringEntities triggeringEntitiesRule="any"> <EntityRef entityRef="hero"/> </TriggeringEntities> <EntityCondition> <RelativeDistanceCondition entityRef="adversary" relativeDistanceType="cartesianDistance" value="40.0" freespace="false" rule="lessThan"/> </EntityCondition> </ByEntityCondition> </Condition> </ConditionGroup> </StartTrigger> </Event> <Event name="AdversaryChangesLane" priority="overwrite"> <Action name="AdversaryChangesLane"> <PrivateAction> <LateralAction> <LaneChangeAction> <LaneChangeActionDynamics dynamicsShape="linear" value="25" dynamicsDimension="distance"/> <LaneChangeTarget> <RelativeTargetLane entityRef="adversary" value="-1"/> </LaneChangeTarget> </LaneChangeAction> </LateralAction> </PrivateAction> </Action> <StartTrigger> <ConditionGroup> <Condition name="AfterAdversaryAccelerates" delay="0" conditionEdge="rising"> <ByValueCondition> <StoryboardElementStateCondition storyboardElementType="action" storyboardElementRef="AdversaryAccelerates" state="completeState"/> </ByValueCondition> </Condition> </ConditionGroup> </StartTrigger> </Event> </Maneuver> </ManeuverGroup> <StartTrigger> <ConditionGroup> <Condition name="OverallStartCondition" delay="0" conditionEdge="rising"> <ByEntityCondition> <TriggeringEntities triggeringEntitiesRule="any"> <EntityRef entityRef="hero"/> </TriggeringEntities> <EntityCondition> <TraveledDistanceCondition value="1.0"/> </EntityCondition> </ByEntityCondition> </Condition> <Condition name="StartTime" delay="0" conditionEdge="rising"> <ByValueCondition> <SimulationTimeCondition value="0" rule="equalTo"/> </ByValueCondition> </Condition> </ConditionGroup> </StartTrigger> <StopTrigger> <ConditionGroup> <Condition name="EndCondition" delay="0" conditionEdge="rising"> <ByEntityCondition> <TriggeringEntities triggeringEntitiesRule="any"> <EntityRef entityRef="hero"/> </TriggeringEntities> <EntityCondition> <TraveledDistanceCondition value="200.0"/> </EntityCondition> </ByEntityCondition> </Condition> </ConditionGroup> </StopTrigger> </Act> </Story> <StopTrigger> <ConditionGroup> <Condition name="criteria_RunningStopTest" delay="0" conditionEdge="rising"> <ByValueCondition> <ParameterCondition parameterRef="" value="" rule="lessThan"/> </ByValueCondition> </Condition> <Condition name="criteria_RunningRedLightTest" delay="0" conditionEdge="rising"> <ByValueCondition> <ParameterCondition parameterRef="" value="" rule="lessThan"/> </ByValueCondition> </Condition> <Condition name="criteria_WrongLaneTest" delay="0" conditionEdge="rising"> <ByValueCondition> <ParameterCondition parameterRef="" value="" rule="lessThan"/> </ByValueCondition> </Condition> <Condition name="criteria_OnSidewalkTest" delay="0" conditionEdge="rising"> <ByValueCondition> <ParameterCondition parameterRef="" value="" rule="lessThan"/> </ByValueCondition> </Condition> <Condition name="criteria_KeepLaneTest" delay="0" conditionEdge="rising"> <ByValueCondition> <ParameterCondition parameterRef="" value="" rule="lessThan"/> </ByValueCondition> </Condition> <Condition name="criteria_CollisionTest" delay="0" conditionEdge="rising"> <ByValueCondition> <ParameterCondition parameterRef="" value="" rule="lessThan"/> </ByValueCondition> </Condition> <Condition name="criteria_DrivenDistanceTest" delay="0" conditionEdge="rising"> <ByValueCondition> <ParameterCondition parameterRef="distance_success" value="100" rule="lessThan"/> </ByValueCondition> </Condition> </ConditionGroup> </StopTrigger> </Storyboard> </OpenSCENARIO> ```
i would like you to display add pedestrian at location (94.28, 30.32, 0.5)? ``` <?xml version="1.0" ?> <OpenSCENARIO> <FileHeader revMajor="1" revMinor="0" date="2020-03-24T12:00:00" description="CARLA:LaneChangeSimple" author=""/> <ParameterDeclarations/> <CatalogLocations/> <RoadNetwork> <LogicFile filepath="Town04"/> <SceneGraphFile filepath=""/> </RoadNetwork> <Entities> <ScenarioObject name="hero"> <Vehicle name="vehicle.tesla.model3" vehicleCategory="car"> <ParameterDeclarations/> <Performance maxSpeed="69.444" maxAcceleration="200" maxDeceleration="10.0"/> <BoundingBox> <Center x="1.5" y="0.0" z="0.9"/> <Dimensions width="2.1" length="4.5" height="1.8"/> </BoundingBox> <Axles> <FrontAxle maxSteering="0.5" wheelDiameter="0.6" trackWidth="1.8" positionX="3.1" positionZ="0.3"/> <RearAxle maxSteering="0.0" wheelDiameter="0.6" trackWidth="1.8" positionX="0.0" positionZ="0.3"/> </Axles> <Properties> <Property name="type" value="ego_vehicle"/> </Properties> </Vehicle> </ScenarioObject> <ScenarioObject name="adversary"> <Vehicle name="vehicle.lincoln.mkz_2017" vehicleCategory="car"> <ParameterDeclarations/> <Performance maxSpeed="69.444" maxAcceleration="200" maxDeceleration="10.0"/> <BoundingBox> <Center x="1.5" y="0.0" z="0.9"/> <Dimensions width="2.1" length="4.5" height="1.8"/> </BoundingBox> <Axles> <FrontAxle maxSteering="0.5" wheelDiameter="0.6" trackWidth="1.8" positionX="3.1" positionZ="0.3"/> <RearAxle maxSteering="0.0" wheelDiameter="0.6" trackWidth="1.8" positionX="0.0" positionZ="0.3"/> </Axles> <Properties> <Property name="type" value="simulation"/> </Properties> </Vehicle> </ScenarioObject> <ScenarioObject name="standing"> <Vehicle name="vehicle.volkswagen.t2" vehicleCategory="car"> <ParameterDeclarations/> <Performance maxSpeed="69.444" maxAcceleration="200" maxDeceleration="10.0"/> <BoundingBox> <Center x="1.5" y="0.0" z="0.9"/> <Dimensions width="2.1" length="4.5" height="1.8"/> </BoundingBox> <Axles> <FrontAxle maxSteering="0.5" wheelDiameter="0.6" trackWidth="1.8" positionX="3.1" positionZ="0.3"/> <RearAxle maxSteering="0.0" wheelDiameter="0.6" trackWidth="1.8" positionX="0.0" positionZ="0.3"/> </Axles> <Properties> <Property name="type" value="simulation"/> </Properties> </Vehicle> </ScenarioObject> <ScenarioObject name="pedestrian_close_to_adversary_186"> <Pedestrian model="walker.pedestrian.0001" mass="80" name="walker.pedestrian.0001" pedestrianCategory="pedestrian"> <ParameterDeclarations/> <BoundingBox> <Center x="1.5" y="0.0" z="0.9"/> <Dimensions width="2" length="2" height="2"/> </BoundingBox> <Properties> <Property name="type" value="simulation"/> </Properties> </Pedestrian> </ScenarioObject> </Entities> <Storyboard> <Init> <Actions> <GlobalAction> <EnvironmentAction> <Environment name="Environment1"> <TimeOfDay animation="false" dateTime="2019-06-25T12:00:00"/> <Weather cloudState="free"> <Sun intensity="0.85" azimuth="0" elevation="1.31"/> <Fog visualRange="100000.0"/> <Precipitation precipitationType="dry" intensity="0.0"/> </Weather> <RoadCondition frictionScaleFactor="1.0"/> </Environment> </EnvironmentAction> </GlobalAction> <Private entityRef="hero"> <PrivateAction> <TeleportAction> <Position> <WorldPosition x="-9.4" y="-152.8" z="0.5" h="1.57079632679"/> </Position> </TeleportAction> </PrivateAction> <PrivateAction> <ControllerAction> <AssignControllerAction> <Controller name="HeroAgent"> <Properties> <Property name="module" value="external_control"/> </Properties> </Controller> </AssignControllerAction> <OverrideControllerValueAction> <Throttle value="0" active="false"/> <Brake value="0" active="false"/> <Clutch value="0" active="false"/> <ParkingBrake value="0" active="false"/> <SteeringWheel value="0" active="false"/> <Gear number="0" active="false"/> </OverrideControllerValueAction> </ControllerAction> </PrivateAction> </Private> <Private entityRef="adversary"> <PrivateAction> <TeleportAction> <Position> <WorldPosition x="-9.4" y="-71.0" z="0.5" h="1.57079632679"/> </Position> </TeleportAction> </PrivateAction> </Private> <Private entityRef="standing"> <PrivateAction> <TeleportAction> <Position> <WorldPosition x="-8.2" y="29.2" z="0.5" h="1.57079632679"/> </Position> </TeleportAction> </PrivateAction> </Private> <Private entityRef="pedestrian_close_to_adversary_186"> <PrivateAction> <TeleportAction> <Position> <WorldPosition x="-12.567374229431152" y="-67.79753112792969" z="0.03374091908335686"/> </Position> </TeleportAction> </PrivateAction> </Private> </Actions> </Init> <Story name="MyStory"> <Act name="Behavior"> <ManeuverGroup maximumExecutionCount="1" name="ManeuverSequence"> <Actors selectTriggeringEntities="false"> <EntityRef entityRef="adversary"/> </Actors> <Maneuver name="LaneChangeSimpleManeuver"> <Event name="AdversaryAccelerates" priority="overwrite"> <Action name="AdversaryAccelerates"> <PrivateAction> <LongitudinalAction> <SpeedAction> <SpeedActionDynamics dynamicsShape="step" value="50" dynamicsDimension="distance"/> <SpeedActionTarget> <AbsoluteTargetSpeed value="5.0"/> </SpeedActionTarget> </SpeedAction> </LongitudinalAction> </PrivateAction> </Action> <StartTrigger> <ConditionGroup> <Condition name="StartCondition" delay="0" conditionEdge="rising"> <ByEntityCondition> <TriggeringEntities triggeringEntitiesRule="any"> <EntityRef entityRef="hero"/> </TriggeringEntities> <EntityCondition> <RelativeDistanceCondition entityRef="adversary" relativeDistanceType="cartesianDistance" value="40.0" freespace="false" rule="lessThan"/> </EntityCondition> </ByEntityCondition> </Condition> </ConditionGroup> </StartTrigger> </Event> <Event name="AdversaryChangesLane" priority="overwrite"> <Action name="AdversaryChangesLane"> <PrivateAction> <LateralAction> <LaneChangeAction> <LaneChangeActionDynamics dynamicsShape="linear" value="25" dynamicsDimension="distance"/> <LaneChangeTarget> <RelativeTargetLane entityRef="adversary" value="-1"/> </LaneChangeTarget> </LaneChangeAction> </LateralAction> </PrivateAction> </Action> <StartTrigger> <ConditionGroup> <Condition name="AfterAdversaryAccelerates" delay="0" conditionEdge="rising"> <ByValueCondition> <StoryboardElementStateCondition storyboardElementType="action" storyboardElementRef="AdversaryAccelerates" state="completeState"/> </ByValueCondition> </Condition> </ConditionGroup> </StartTrigger> </Event> </Maneuver> </ManeuverGroup> <StartTrigger> <ConditionGroup> <Condition name="OverallStartCondition" delay="0" conditionEdge="rising"> <ByEntityCondition> <TriggeringEntities triggeringEntitiesRule="any"> <EntityRef entityRef="hero"/> </TriggeringEntities> <EntityCondition> <TraveledDistanceCondition value="1.0"/> </EntityCondition> </ByEntityCondition> </Condition> <Condition name="StartTime" delay="0" conditionEdge="rising"> <ByValueCondition> <SimulationTimeCondition value="0" rule="equalTo"/> </ByValueCondition> </Condition> </ConditionGroup> </StartTrigger> <StopTrigger> <ConditionGroup> <Condition name="EndCondition" delay="0" conditionEdge="rising"> <ByEntityCondition> <TriggeringEntities triggeringEntitiesRule="any"> <EntityRef entityRef="hero"/> </TriggeringEntities> <EntityCondition> <TraveledDistanceCondition value="200.0"/> </EntityCondition> </ByEntityCondition> </Condition> </ConditionGroup> </StopTrigger> </Act> </Story> <StopTrigger> <ConditionGroup> <Condition name="criteria_RunningStopTest" delay="0" conditionEdge="rising"> <ByValueCondition> <ParameterCondition parameterRef="" value="" rule="lessThan"/> </ByValueCondition> </Condition> <Condition name="criteria_RunningRedLightTest" delay="0" conditionEdge="rising"> <ByValueCondition> <ParameterCondition parameterRef="" value="" rule="lessThan"/> </ByValueCondition> </Condition> <Condition name="criteria_WrongLaneTest" delay="0" conditionEdge="rising"> <ByValueCondition> <ParameterCondition parameterRef="" value="" rule="lessThan"/> </ByValueCondition> </Condition> <Condition name="criteria_OnSidewalkTest" delay="0" conditionEdge="rising"> <ByValueCondition> <ParameterCondition parameterRef="" value="" rule="lessThan"/> </ByValueCondition> </Condition> <Condition name="criteria_KeepLaneTest" delay="0" conditionEdge="rising"> <ByValueCondition> <ParameterCondition parameterRef="" value="" rule="lessThan"/> </ByValueCondition> </Condition> <Condition name="criteria_CollisionTest" delay="0" conditionEdge="rising"> <ByValueCondition> <ParameterCondition parameterRef="" value="" rule="lessThan"/> </ByValueCondition> </Condition> <Condition name="criteria_DrivenDistanceTest" delay="0" conditionEdge="rising"> <ByValueCondition> <ParameterCondition parameterRef="distance_success" value="100" rule="lessThan"/> </ByValueCondition> </Condition> </ConditionGroup> </StopTrigger> </Storyboard> </OpenSCENARIO> ```
Here is the result: ``` <?xml version="1.0" ?> <OpenSCENARIO> <FileHeader revMajor="1" revMinor="0" date="2020-03-24T12:00:00" description="CARLA:LaneChangeSimple" author=""/> <ParameterDeclarations/> <CatalogLocations/> <RoadNetwork> <LogicFile filepath="Town04"/> <SceneGraphFile filepath=""/> </RoadNetwork> <Entities> <ScenarioObject name="hero"> <Vehicle name="vehicle.tesla.model3" vehicleCategory="car"> <ParameterDeclarations/> <Performance maxSpeed="69.444" maxAcceleration="200" maxDeceleration="10.0"/> <BoundingBox> <Center x="1.5" y="0.0" z="0.9"/> <Dimensions width="2.1" length="4.5" height="1.8"/> </BoundingBox> <Axles> <FrontAxle maxSteering="0.5" wheelDiameter="0.6" trackWidth="1.8" positionX="3.1" positionZ="0.3"/> <RearAxle maxSteering="0.0" wheelDiameter="0.6" trackWidth="1.8" positionX="0.0" positionZ="0.3"/> </Axles> <Properties> <Property name="type" value="ego_vehicle"/> </Properties> </Vehicle> </ScenarioObject> <ScenarioObject name="adversary"> <Vehicle name="vehicle.lincoln.mkz_2017" vehicleCategory="car"> <ParameterDeclarations/> <Performance maxSpeed="69.444" maxAcceleration="200" maxDeceleration="10.0"/> <BoundingBox> <Center x="1.5" y="0.0" z="0.9"/> <Dimensions width="2.1" length="4.5" height="1.8"/> </BoundingBox> <Axles> <FrontAxle maxSteering="0.5" wheelDiameter="0.6" trackWidth="1.8" positionX="3.1" positionZ="0.3"/> <RearAxle maxSteering="0.0" wheelDiameter="0.6" trackWidth="1.8" positionX="0.0" positionZ="0.3"/> </Axles> <Properties> <Property name="type" value="simulation"/> </Properties> </Vehicle> </ScenarioObject> <ScenarioObject name="standing"> <Vehicle name="vehicle.volkswagen.t2" vehicleCategory="car"> <ParameterDeclarations/> <Performance maxSpeed="69.444" maxAcceleration="200" maxDeceleration="10.0"/> <BoundingBox> <Center x="1.5" y="0.0" z="0.9"/> <Dimensions width="2.1" length="4.5" height="1.8"/> </BoundingBox> <Axles> <FrontAxle maxSteering="0.5" wheelDiameter="0.6" trackWidth="1.8" positionX="3.1" positionZ="0.3"/> <RearAxle maxSteering="0.0" wheelDiameter="0.6" trackWidth="1.8" positionX="0.0" positionZ="0.3"/> </Axles> <Properties> <Property name="type" value="simulation"/> </Properties> </Vehicle> </ScenarioObject> <ScenarioObject name="pedestrian_close_to_adversary_186"> <Pedestrian model="walker.pedestrian.0001" mass="80" name="walker.pedestrian.0001" pedestrianCategory="pedestrian"> <ParameterDeclarations/> <BoundingBox> <Center x="1.5" y="0.0" z="0.9"/> <Dimensions width="2" length="2" height="2"/> </BoundingBox> <Properties> <Property name="type" value="simulation"/> </Properties> </Pedestrian> </ScenarioObject> <ScenarioObject name="pedestrian_w_transform_187"> <Pedestrian model="walker.pedestrian.0001" mass="80" name="walker.pedestrian.0001" pedestrianCategory="pedestrian"> <ParameterDeclarations/> <BoundingBox> <Center x="1.5" y="0.0" z="0.9"/> <Dimensions width="2" length="2" height="2"/> </BoundingBox> <Properties> <Property name="type" value="simulation"/> </Properties> </Pedestrian> </ScenarioObject> </Entities> <Storyboard> <Init> <Actions> <GlobalAction> <EnvironmentAction> <Environment name="Environment1"> <TimeOfDay animation="false" dateTime="2019-06-25T12:00:00"/> <Weather cloudState="free"> <Sun intensity="0.85" azimuth="0" elevation="1.31"/> <Fog visualRange="100000.0"/> <Precipitation precipitationType="dry" intensity="0.0"/> </Weather> <RoadCondition frictionScaleFactor="1.0"/> </Environment> </EnvironmentAction> </GlobalAction> <Private entityRef="hero"> <PrivateAction> <TeleportAction> <Position> <WorldPosition x="-9.4" y="-152.8" z="0.5" h="1.57079632679"/> </Position> </TeleportAction> </PrivateAction> <PrivateAction> <ControllerAction> <AssignControllerAction> <Controller name="HeroAgent"> <Properties> <Property name="module" value="external_control"/> </Properties> </Controller> </AssignControllerAction> <OverrideControllerValueAction> <Throttle value="0" active="false"/> <Brake value="0" active="false"/> <Clutch value="0" active="false"/> <ParkingBrake value="0" active="false"/> <SteeringWheel value="0" active="false"/> <Gear number="0" active="false"/> </OverrideControllerValueAction> </ControllerAction> </PrivateAction> </Private> <Private entityRef="adversary"> <PrivateAction> <TeleportAction> <Position> <WorldPosition x="-9.4" y="-71.0" z="0.5" h="1.57079632679"/> </Position> </TeleportAction> </PrivateAction> </Private> <Private entityRef="standing"> <PrivateAction> <TeleportAction> <Position> <WorldPosition x="-8.2" y="29.2" z="0.5" h="1.57079632679"/> </Position> </TeleportAction> </PrivateAction> </Private> <Private entityRef="pedestrian_close_to_adversary_186"> <PrivateAction> <TeleportAction> <Position> <WorldPosition x="-12.567374229431152" y="-67.79753112792969" z="0.03374091908335686"/> </Position> </TeleportAction> </PrivateAction> </Private> <Private entityRef="pedestrian_w_transform_187"> <PrivateAction> <TeleportAction> <Position> <WorldPosition x="94.28315734863281" y="30.324234008789062" z="0.5"/> </Position> </TeleportAction> </PrivateAction> </Private> </Actions> </Init> <Story name="MyStory"> <Act name="Behavior"> <ManeuverGroup maximumExecutionCount="1" name="ManeuverSequence"> <Actors selectTriggeringEntities="false"> <EntityRef entityRef="adversary"/> </Actors> <Maneuver name="LaneChangeSimpleManeuver"> <Event name="AdversaryAccelerates" priority="overwrite"> <Action name="AdversaryAccelerates"> <PrivateAction> <LongitudinalAction> <SpeedAction> <SpeedActionDynamics dynamicsShape="step" value="50" dynamicsDimension="distance"/> <SpeedActionTarget> <AbsoluteTargetSpeed value="5.0"/> </SpeedActionTarget> </SpeedAction> </LongitudinalAction> </PrivateAction> </Action> <StartTrigger> <ConditionGroup> <Condition name="StartCondition" delay="0" conditionEdge="rising"> <ByEntityCondition> <TriggeringEntities triggeringEntitiesRule="any"> <EntityRef entityRef="hero"/> </TriggeringEntities> <EntityCondition> <RelativeDistanceCondition entityRef="adversary" relativeDistanceType="cartesianDistance" value="40.0" freespace="false" rule="lessThan"/> </EntityCondition> </ByEntityCondition> </Condition> </ConditionGroup> </StartTrigger> </Event> <Event name="AdversaryChangesLane" priority="overwrite"> <Action name="AdversaryChangesLane"> <PrivateAction> <LateralAction> <LaneChangeAction> <LaneChangeActionDynamics dynamicsShape="linear" value="25" dynamicsDimension="distance"/> <LaneChangeTarget> <RelativeTargetLane entityRef="adversary" value="-1"/> </LaneChangeTarget> </LaneChangeAction> </LateralAction> </PrivateAction> </Action> <StartTrigger> <ConditionGroup> <Condition name="AfterAdversaryAccelerates" delay="0" conditionEdge="rising"> <ByValueCondition> <StoryboardElementStateCondition storyboardElementType="action" storyboardElementRef="AdversaryAccelerates" state="completeState"/> </ByValueCondition> </Condition> </ConditionGroup> </StartTrigger> </Event> </Maneuver> </ManeuverGroup> <StartTrigger> <ConditionGroup> <Condition name="OverallStartCondition" delay="0" conditionEdge="rising"> <ByEntityCondition> <TriggeringEntities triggeringEntitiesRule="any"> <EntityRef entityRef="hero"/> </TriggeringEntities> <EntityCondition> <TraveledDistanceCondition value="1.0"/> </EntityCondition> </ByEntityCondition> </Condition> <Condition name="StartTime" delay="0" conditionEdge="rising"> <ByValueCondition> <SimulationTimeCondition value="0" rule="equalTo"/> </ByValueCondition> </Condition> </ConditionGroup> </StartTrigger> <StopTrigger> <ConditionGroup> <Condition name="EndCondition" delay="0" conditionEdge="rising"> <ByEntityCondition> <TriggeringEntities triggeringEntitiesRule="any"> <EntityRef entityRef="hero"/> </TriggeringEntities> <EntityCondition> <TraveledDistanceCondition value="200.0"/> </EntityCondition> </ByEntityCondition> </Condition> </ConditionGroup> </StopTrigger> </Act> </Story> <StopTrigger> <ConditionGroup> <Condition name="criteria_RunningStopTest" delay="0" conditionEdge="rising"> <ByValueCondition> <ParameterCondition parameterRef="" value="" rule="lessThan"/> </ByValueCondition> </Condition> <Condition name="criteria_RunningRedLightTest" delay="0" conditionEdge="rising"> <ByValueCondition> <ParameterCondition parameterRef="" value="" rule="lessThan"/> </ByValueCondition> </Condition> <Condition name="criteria_WrongLaneTest" delay="0" conditionEdge="rising"> <ByValueCondition> <ParameterCondition parameterRef="" value="" rule="lessThan"/> </ByValueCondition> </Condition> <Condition name="criteria_OnSidewalkTest" delay="0" conditionEdge="rising"> <ByValueCondition> <ParameterCondition parameterRef="" value="" rule="lessThan"/> </ByValueCondition> </Condition> <Condition name="criteria_KeepLaneTest" delay="0" conditionEdge="rising"> <ByValueCondition> <ParameterCondition parameterRef="" value="" rule="lessThan"/> </ByValueCondition> </Condition> <Condition name="criteria_CollisionTest" delay="0" conditionEdge="rising"> <ByValueCondition> <ParameterCondition parameterRef="" value="" rule="lessThan"/> </ByValueCondition> </Condition> <Condition name="criteria_DrivenDistanceTest" delay="0" conditionEdge="rising"> <ByValueCondition> <ParameterCondition parameterRef="distance_success" value="100" rule="lessThan"/> </ByValueCondition> </Condition> </ConditionGroup> </StopTrigger> </Storyboard> </OpenSCENARIO> ```
please add pedestrian close to adversary? ``` <?xml version="1.0" ?> <OpenSCENARIO> <FileHeader revMajor="1" revMinor="0" date="2020-03-24T12:00:00" description="CARLA:LaneChangeSimple" author=""/> <ParameterDeclarations/> <CatalogLocations/> <RoadNetwork> <LogicFile filepath="Town04"/> <SceneGraphFile filepath=""/> </RoadNetwork> <Entities> <ScenarioObject name="hero"> <Vehicle name="vehicle.tesla.model3" vehicleCategory="car"> <ParameterDeclarations/> <Performance maxSpeed="69.444" maxAcceleration="200" maxDeceleration="10.0"/> <BoundingBox> <Center x="1.5" y="0.0" z="0.9"/> <Dimensions width="2.1" length="4.5" height="1.8"/> </BoundingBox> <Axles> <FrontAxle maxSteering="0.5" wheelDiameter="0.6" trackWidth="1.8" positionX="3.1" positionZ="0.3"/> <RearAxle maxSteering="0.0" wheelDiameter="0.6" trackWidth="1.8" positionX="0.0" positionZ="0.3"/> </Axles> <Properties> <Property name="type" value="ego_vehicle"/> </Properties> </Vehicle> </ScenarioObject> <ScenarioObject name="adversary"> <Vehicle name="vehicle.lincoln.mkz_2017" vehicleCategory="car"> <ParameterDeclarations/> <Performance maxSpeed="69.444" maxAcceleration="200" maxDeceleration="10.0"/> <BoundingBox> <Center x="1.5" y="0.0" z="0.9"/> <Dimensions width="2.1" length="4.5" height="1.8"/> </BoundingBox> <Axles> <FrontAxle maxSteering="0.5" wheelDiameter="0.6" trackWidth="1.8" positionX="3.1" positionZ="0.3"/> <RearAxle maxSteering="0.0" wheelDiameter="0.6" trackWidth="1.8" positionX="0.0" positionZ="0.3"/> </Axles> <Properties> <Property name="type" value="simulation"/> </Properties> </Vehicle> </ScenarioObject> <ScenarioObject name="standing"> <Vehicle name="vehicle.volkswagen.t2" vehicleCategory="car"> <ParameterDeclarations/> <Performance maxSpeed="69.444" maxAcceleration="200" maxDeceleration="10.0"/> <BoundingBox> <Center x="1.5" y="0.0" z="0.9"/> <Dimensions width="2.1" length="4.5" height="1.8"/> </BoundingBox> <Axles> <FrontAxle maxSteering="0.5" wheelDiameter="0.6" trackWidth="1.8" positionX="3.1" positionZ="0.3"/> <RearAxle maxSteering="0.0" wheelDiameter="0.6" trackWidth="1.8" positionX="0.0" positionZ="0.3"/> </Axles> <Properties> <Property name="type" value="simulation"/> </Properties> </Vehicle> </ScenarioObject> <ScenarioObject name="pedestrian_close_to_adversary_7865"> <Pedestrian model="walker.pedestrian.0001" mass="80" name="walker.pedestrian.0001" pedestrianCategory="pedestrian"> <ParameterDeclarations/> <BoundingBox> <Center x="1.5" y="0.0" z="0.9"/> <Dimensions width="2" length="2" height="2"/> </BoundingBox> <Properties> <Property name="type" value="simulation"/> </Properties> </Pedestrian> </ScenarioObject> <ScenarioObject name="pedestrian_close_to_adversary_7866"> <Pedestrian model="walker.pedestrian.0001" mass="80" name="walker.pedestrian.0001" pedestrianCategory="pedestrian"> <ParameterDeclarations/> <BoundingBox> <Center x="1.5" y="0.0" z="0.9"/> <Dimensions width="2" length="2" height="2"/> </BoundingBox> <Properties> <Property name="type" value="simulation"/> </Properties> </Pedestrian> </ScenarioObject> <ScenarioObject name="pedestrian_close_to_adversary_7867"> <Pedestrian model="walker.pedestrian.0001" mass="80" name="walker.pedestrian.0001" pedestrianCategory="pedestrian"> <ParameterDeclarations/> <BoundingBox> <Center x="1.5" y="0.0" z="0.9"/> <Dimensions width="2" length="2" height="2"/> </BoundingBox> <Properties> <Property name="type" value="simulation"/> </Properties> </Pedestrian> </ScenarioObject> <ScenarioObject name="pedestrian_w_transform_7868"> <Pedestrian model="walker.pedestrian.0001" mass="80" name="walker.pedestrian.0001" pedestrianCategory="pedestrian"> <ParameterDeclarations/> <BoundingBox> <Center x="1.5" y="0.0" z="0.9"/> <Dimensions width="2" length="2" height="2"/> </BoundingBox> <Properties> <Property name="type" value="simulation"/> </Properties> </Pedestrian> </ScenarioObject> <ScenarioObject name="pedestrian_close_to_adversary_7869"> <Pedestrian model="walker.pedestrian.0001" mass="80" name="walker.pedestrian.0001" pedestrianCategory="pedestrian"> <ParameterDeclarations/> <BoundingBox> <Center x="1.5" y="0.0" z="0.9"/> <Dimensions width="2" length="2" height="2"/> </BoundingBox> <Properties> <Property name="type" value="simulation"/> </Properties> </Pedestrian> </ScenarioObject> <ScenarioObject name="pedestrian_w_transform_7870"> <Pedestrian model="walker.pedestrian.0001" mass="80" name="walker.pedestrian.0001" pedestrianCategory="pedestrian"> <ParameterDeclarations/> <BoundingBox> <Center x="1.5" y="0.0" z="0.9"/> <Dimensions width="2" length="2" height="2"/> </BoundingBox> <Properties> <Property name="type" value="simulation"/> </Properties> </Pedestrian> </ScenarioObject> <ScenarioObject name="pedestrian_w_transform_7871"> <Pedestrian model="walker.pedestrian.0001" mass="80" name="walker.pedestrian.0001" pedestrianCategory="pedestrian"> <ParameterDeclarations/> <BoundingBox> <Center x="1.5" y="0.0" z="0.9"/> <Dimensions width="2" length="2" height="2"/> </BoundingBox> <Properties> <Property name="type" value="simulation"/> </Properties> </Pedestrian> </ScenarioObject> <ScenarioObject name="pedestrian_w_transform_7872"> <Pedestrian model="walker.pedestrian.0001" mass="80" name="walker.pedestrian.0001" pedestrianCategory="pedestrian"> <ParameterDeclarations/> <BoundingBox> <Center x="1.5" y="0.0" z="0.9"/> <Dimensions width="2" length="2" height="2"/> </BoundingBox> <Properties> <Property name="type" value="simulation"/> </Properties> </Pedestrian> </ScenarioObject> <ScenarioObject name="pedestrian_w_transform_7873"> <Pedestrian model="walker.pedestrian.0001" mass="80" name="walker.pedestrian.0001" pedestrianCategory="pedestrian"> <ParameterDeclarations/> <BoundingBox> <Center x="1.5" y="0.0" z="0.9"/> <Dimensions width="2" length="2" height="2"/> </BoundingBox> <Properties> <Property name="type" value="simulation"/> </Properties> </Pedestrian> </ScenarioObject> <ScenarioObject name="pedestrian_close_to_standing_7874"> <Pedestrian model="walker.pedestrian.0001" mass="80" name="walker.pedestrian.0001" pedestrianCategory="pedestrian"> <ParameterDeclarations/> <BoundingBox> <Center x="1.5" y="0.0" z="0.9"/> <Dimensions width="2" length="2" height="2"/> </BoundingBox> <Properties> <Property name="type" value="simulation"/> </Properties> </Pedestrian> </ScenarioObject> <ScenarioObject name="pedestrian_close_to_adversary_7875"> <Pedestrian model="walker.pedestrian.0001" mass="80" name="walker.pedestrian.0001" pedestrianCategory="pedestrian"> <ParameterDeclarations/> <BoundingBox> <Center x="1.5" y="0.0" z="0.9"/> <Dimensions width="2" length="2" height="2"/> </BoundingBox> <Properties> <Property name="type" value="simulation"/> </Properties> </Pedestrian> </ScenarioObject> </Entities> <Storyboard> <Init> <Actions> <GlobalAction> <EnvironmentAction> <Environment name="Environment1"> <TimeOfDay animation="false" dateTime="2019-06-25T12:00:00"/> <Weather cloudState="free"> <Sun intensity="0.85" azimuth="0" elevation="1.31"/> <Fog visualRange="100000.0"/> <Precipitation precipitationType="dry" intensity="0.0"/> </Weather> <RoadCondition frictionScaleFactor="1.0"/> </Environment> </EnvironmentAction> </GlobalAction> <Private entityRef="hero"> <PrivateAction> <TeleportAction> <Position> <WorldPosition x="-9.4" y="-152.8" z="0.5" h="1.57079632679"/> </Position> </TeleportAction> </PrivateAction> <PrivateAction> <ControllerAction> <AssignControllerAction> <Controller name="HeroAgent"> <Properties> <Property name="module" value="external_control"/> </Properties> </Controller> </AssignControllerAction> <OverrideControllerValueAction> <Throttle value="0" active="false"/> <Brake value="0" active="false"/> <Clutch value="0" active="false"/> <ParkingBrake value="0" active="false"/> <SteeringWheel value="0" active="false"/> <Gear number="0" active="false"/> </OverrideControllerValueAction> </ControllerAction> </PrivateAction> </Private> <Private entityRef="adversary"> <PrivateAction> <TeleportAction> <Position> <WorldPosition x="-9.4" y="-71.0" z="0.5" h="1.57079632679"/> </Position> </TeleportAction> </PrivateAction> </Private> <Private entityRef="standing"> <PrivateAction> <TeleportAction> <Position> <WorldPosition x="-8.2" y="29.2" z="0.5" h="1.57079632679"/> </Position> </TeleportAction> </PrivateAction> </Private> <Private entityRef="pedestrian_close_to_adversary_7865"> <PrivateAction> <TeleportAction> <Position> <WorldPosition x="-5.329555511474609" y="-66.9017105102539" z="0.03376590833067894"/> </Position> </TeleportAction> </PrivateAction> </Private> <Private entityRef="pedestrian_close_to_adversary_7866"> <PrivateAction> <TeleportAction> <Position> <WorldPosition x="-9.367680549621582" y="-67.86965942382812" z="0.03379348665475845"/> </Position> </TeleportAction> </PrivateAction> </Private> <Private entityRef="pedestrian_close_to_adversary_7867"> <PrivateAction> <TeleportAction> <Position> <WorldPosition x="-1.3425440788269043" y="-63.7186164855957" z="0.03375488147139549"/> </Position> </TeleportAction> </PrivateAction> </Private> <Private entityRef="pedestrian_w_transform_7868"> <PrivateAction> <TeleportAction> <Position> <WorldPosition x="-38.452857971191406" y="94.70111846923828" z="0.5"/> </Position> </TeleportAction> </PrivateAction> </Private> <Private entityRef="pedestrian_close_to_adversary_7869"> <PrivateAction> <TeleportAction> <Position> <WorldPosition x="-12.672834396362305" y="-77.92355346679688" z="0.033769913017749786"/> </Position> </TeleportAction> </PrivateAction> </Private> <Private entityRef="pedestrian_w_transform_7870"> <PrivateAction> <TeleportAction> <Position> <WorldPosition x="-89.70301055908203" y="43.212059020996094" z="0.5"/> </Position> </TeleportAction> </PrivateAction> </Private> <Private entityRef="pedestrian_w_transform_7871"> <PrivateAction> <TeleportAction> <Position> <WorldPosition x="-58.24485778808594" y="91.11527252197266" z="0.5"/> </Position> </TeleportAction> </PrivateAction> </Private> <Private entityRef="pedestrian_w_transform_7872"> <PrivateAction> <TeleportAction> <Position> <WorldPosition x="-68.25031280517578" y="-64.9167251586914" z="0.5"/> </Position> </TeleportAction> </PrivateAction> </Private> <Private entityRef="pedestrian_w_transform_7873"> <PrivateAction> <TeleportAction> <Position> <WorldPosition x="-4.977523326873779" y="-3.2759640216827393" z="0.5"/> </Position> </TeleportAction> </PrivateAction> </Private> <Private entityRef="pedestrian_close_to_standing_7874"> <PrivateAction> <TeleportAction> <Position> <WorldPosition x="-14.043421745300293" y="34.49031448364258" z="0.0030120848678052425"/> </Position> </TeleportAction> </PrivateAction> </Private> <Private entityRef="pedestrian_close_to_adversary_7875"> <PrivateAction> <TeleportAction> <Position> <WorldPosition x="-12.878181457519531" y="-70.54327392578125" z="0.03383495286107063"/> </Position> </TeleportAction> </PrivateAction> </Private> </Actions> </Init> <Story name="MyStory"> <Act name="Behavior"> <ManeuverGroup maximumExecutionCount="1" name="ManeuverSequence"> <Actors selectTriggeringEntities="false"> <EntityRef entityRef="adversary"/> </Actors> <Maneuver name="LaneChangeSimpleManeuver"> <Event name="AdversaryAccelerates" priority="overwrite"> <Action name="AdversaryAccelerates"> <PrivateAction> <LongitudinalAction> <SpeedAction> <SpeedActionDynamics dynamicsShape="step" value="50" dynamicsDimension="distance"/> <SpeedActionTarget> <AbsoluteTargetSpeed value="5.0"/> </SpeedActionTarget> </SpeedAction> </LongitudinalAction> </PrivateAction> </Action> <StartTrigger> <ConditionGroup> <Condition name="StartCondition" delay="0" conditionEdge="rising"> <ByEntityCondition> <TriggeringEntities triggeringEntitiesRule="any"> <EntityRef entityRef="hero"/> </TriggeringEntities> <EntityCondition> <RelativeDistanceCondition entityRef="adversary" relativeDistanceType="cartesianDistance" value="40.0" freespace="false" rule="lessThan"/> </EntityCondition> </ByEntityCondition> </Condition> </ConditionGroup> </StartTrigger> </Event> <Event name="AdversaryChangesLane" priority="overwrite"> <Action name="AdversaryChangesLane"> <PrivateAction> <LateralAction> <LaneChangeAction> <LaneChangeActionDynamics dynamicsShape="linear" value="25" dynamicsDimension="distance"/> <LaneChangeTarget> <RelativeTargetLane entityRef="adversary" value="-1"/> </LaneChangeTarget> </LaneChangeAction> </LateralAction> </PrivateAction> </Action> <StartTrigger> <ConditionGroup> <Condition name="AfterAdversaryAccelerates" delay="0" conditionEdge="rising"> <ByValueCondition> <StoryboardElementStateCondition storyboardElementType="action" storyboardElementRef="AdversaryAccelerates" state="completeState"/> </ByValueCondition> </Condition> </ConditionGroup> </StartTrigger> </Event> </Maneuver> </ManeuverGroup> <StartTrigger> <ConditionGroup> <Condition name="OverallStartCondition" delay="0" conditionEdge="rising"> <ByEntityCondition> <TriggeringEntities triggeringEntitiesRule="any"> <EntityRef entityRef="hero"/> </TriggeringEntities> <EntityCondition> <TraveledDistanceCondition value="1.0"/> </EntityCondition> </ByEntityCondition> </Condition> <Condition name="StartTime" delay="0" conditionEdge="rising"> <ByValueCondition> <SimulationTimeCondition value="0" rule="equalTo"/> </ByValueCondition> </Condition> </ConditionGroup> </StartTrigger> <StopTrigger> <ConditionGroup> <Condition name="EndCondition" delay="0" conditionEdge="rising"> <ByEntityCondition> <TriggeringEntities triggeringEntitiesRule="any"> <EntityRef entityRef="hero"/> </TriggeringEntities> <EntityCondition> <TraveledDistanceCondition value="200.0"/> </EntityCondition> </ByEntityCondition> </Condition> </ConditionGroup> </StopTrigger> </Act> </Story> <StopTrigger> <ConditionGroup> <Condition name="criteria_RunningStopTest" delay="0" conditionEdge="rising"> <ByValueCondition> <ParameterCondition parameterRef="" value="" rule="lessThan"/> </ByValueCondition> </Condition> <Condition name="criteria_RunningRedLightTest" delay="0" conditionEdge="rising"> <ByValueCondition> <ParameterCondition parameterRef="" value="" rule="lessThan"/> </ByValueCondition> </Condition> <Condition name="criteria_WrongLaneTest" delay="0" conditionEdge="rising"> <ByValueCondition> <ParameterCondition parameterRef="" value="" rule="lessThan"/> </ByValueCondition> </Condition> <Condition name="criteria_OnSidewalkTest" delay="0" conditionEdge="rising"> <ByValueCondition> <ParameterCondition parameterRef="" value="" rule="lessThan"/> </ByValueCondition> </Condition> <Condition name="criteria_KeepLaneTest" delay="0" conditionEdge="rising"> <ByValueCondition> <ParameterCondition parameterRef="" value="" rule="lessThan"/> </ByValueCondition> </Condition> <Condition name="criteria_CollisionTest" delay="0" conditionEdge="rising"> <ByValueCondition> <ParameterCondition parameterRef="" value="" rule="lessThan"/> </ByValueCondition> </Condition> <Condition name="criteria_DrivenDistanceTest" delay="0" conditionEdge="rising"> <ByValueCondition> <ParameterCondition parameterRef="distance_success" value="100" rule="lessThan"/> </ByValueCondition> </Condition> </ConditionGroup> </StopTrigger> </Storyboard> </OpenSCENARIO> ```
Here is the result: ``` <?xml version="1.0" ?> <OpenSCENARIO> <FileHeader revMajor="1" revMinor="0" date="2020-03-24T12:00:00" description="CARLA:LaneChangeSimple" author=""/> <ParameterDeclarations/> <CatalogLocations/> <RoadNetwork> <LogicFile filepath="Town04"/> <SceneGraphFile filepath=""/> </RoadNetwork> <Entities> <ScenarioObject name="hero"> <Vehicle name="vehicle.tesla.model3" vehicleCategory="car"> <ParameterDeclarations/> <Performance maxSpeed="69.444" maxAcceleration="200" maxDeceleration="10.0"/> <BoundingBox> <Center x="1.5" y="0.0" z="0.9"/> <Dimensions width="2.1" length="4.5" height="1.8"/> </BoundingBox> <Axles> <FrontAxle maxSteering="0.5" wheelDiameter="0.6" trackWidth="1.8" positionX="3.1" positionZ="0.3"/> <RearAxle maxSteering="0.0" wheelDiameter="0.6" trackWidth="1.8" positionX="0.0" positionZ="0.3"/> </Axles> <Properties> <Property name="type" value="ego_vehicle"/> </Properties> </Vehicle> </ScenarioObject> <ScenarioObject name="adversary"> <Vehicle name="vehicle.lincoln.mkz_2017" vehicleCategory="car"> <ParameterDeclarations/> <Performance maxSpeed="69.444" maxAcceleration="200" maxDeceleration="10.0"/> <BoundingBox> <Center x="1.5" y="0.0" z="0.9"/> <Dimensions width="2.1" length="4.5" height="1.8"/> </BoundingBox> <Axles> <FrontAxle maxSteering="0.5" wheelDiameter="0.6" trackWidth="1.8" positionX="3.1" positionZ="0.3"/> <RearAxle maxSteering="0.0" wheelDiameter="0.6" trackWidth="1.8" positionX="0.0" positionZ="0.3"/> </Axles> <Properties> <Property name="type" value="simulation"/> </Properties> </Vehicle> </ScenarioObject> <ScenarioObject name="standing"> <Vehicle name="vehicle.volkswagen.t2" vehicleCategory="car"> <ParameterDeclarations/> <Performance maxSpeed="69.444" maxAcceleration="200" maxDeceleration="10.0"/> <BoundingBox> <Center x="1.5" y="0.0" z="0.9"/> <Dimensions width="2.1" length="4.5" height="1.8"/> </BoundingBox> <Axles> <FrontAxle maxSteering="0.5" wheelDiameter="0.6" trackWidth="1.8" positionX="3.1" positionZ="0.3"/> <RearAxle maxSteering="0.0" wheelDiameter="0.6" trackWidth="1.8" positionX="0.0" positionZ="0.3"/> </Axles> <Properties> <Property name="type" value="simulation"/> </Properties> </Vehicle> </ScenarioObject> <ScenarioObject name="pedestrian_close_to_adversary_7865"> <Pedestrian model="walker.pedestrian.0001" mass="80" name="walker.pedestrian.0001" pedestrianCategory="pedestrian"> <ParameterDeclarations/> <BoundingBox> <Center x="1.5" y="0.0" z="0.9"/> <Dimensions width="2" length="2" height="2"/> </BoundingBox> <Properties> <Property name="type" value="simulation"/> </Properties> </Pedestrian> </ScenarioObject> <ScenarioObject name="pedestrian_close_to_adversary_7866"> <Pedestrian model="walker.pedestrian.0001" mass="80" name="walker.pedestrian.0001" pedestrianCategory="pedestrian"> <ParameterDeclarations/> <BoundingBox> <Center x="1.5" y="0.0" z="0.9"/> <Dimensions width="2" length="2" height="2"/> </BoundingBox> <Properties> <Property name="type" value="simulation"/> </Properties> </Pedestrian> </ScenarioObject> <ScenarioObject name="pedestrian_close_to_adversary_7867"> <Pedestrian model="walker.pedestrian.0001" mass="80" name="walker.pedestrian.0001" pedestrianCategory="pedestrian"> <ParameterDeclarations/> <BoundingBox> <Center x="1.5" y="0.0" z="0.9"/> <Dimensions width="2" length="2" height="2"/> </BoundingBox> <Properties> <Property name="type" value="simulation"/> </Properties> </Pedestrian> </ScenarioObject> <ScenarioObject name="pedestrian_w_transform_7868"> <Pedestrian model="walker.pedestrian.0001" mass="80" name="walker.pedestrian.0001" pedestrianCategory="pedestrian"> <ParameterDeclarations/> <BoundingBox> <Center x="1.5" y="0.0" z="0.9"/> <Dimensions width="2" length="2" height="2"/> </BoundingBox> <Properties> <Property name="type" value="simulation"/> </Properties> </Pedestrian> </ScenarioObject> <ScenarioObject name="pedestrian_close_to_adversary_7869"> <Pedestrian model="walker.pedestrian.0001" mass="80" name="walker.pedestrian.0001" pedestrianCategory="pedestrian"> <ParameterDeclarations/> <BoundingBox> <Center x="1.5" y="0.0" z="0.9"/> <Dimensions width="2" length="2" height="2"/> </BoundingBox> <Properties> <Property name="type" value="simulation"/> </Properties> </Pedestrian> </ScenarioObject> <ScenarioObject name="pedestrian_w_transform_7870"> <Pedestrian model="walker.pedestrian.0001" mass="80" name="walker.pedestrian.0001" pedestrianCategory="pedestrian"> <ParameterDeclarations/> <BoundingBox> <Center x="1.5" y="0.0" z="0.9"/> <Dimensions width="2" length="2" height="2"/> </BoundingBox> <Properties> <Property name="type" value="simulation"/> </Properties> </Pedestrian> </ScenarioObject> <ScenarioObject name="pedestrian_w_transform_7871"> <Pedestrian model="walker.pedestrian.0001" mass="80" name="walker.pedestrian.0001" pedestrianCategory="pedestrian"> <ParameterDeclarations/> <BoundingBox> <Center x="1.5" y="0.0" z="0.9"/> <Dimensions width="2" length="2" height="2"/> </BoundingBox> <Properties> <Property name="type" value="simulation"/> </Properties> </Pedestrian> </ScenarioObject> <ScenarioObject name="pedestrian_w_transform_7872"> <Pedestrian model="walker.pedestrian.0001" mass="80" name="walker.pedestrian.0001" pedestrianCategory="pedestrian"> <ParameterDeclarations/> <BoundingBox> <Center x="1.5" y="0.0" z="0.9"/> <Dimensions width="2" length="2" height="2"/> </BoundingBox> <Properties> <Property name="type" value="simulation"/> </Properties> </Pedestrian> </ScenarioObject> <ScenarioObject name="pedestrian_w_transform_7873"> <Pedestrian model="walker.pedestrian.0001" mass="80" name="walker.pedestrian.0001" pedestrianCategory="pedestrian"> <ParameterDeclarations/> <BoundingBox> <Center x="1.5" y="0.0" z="0.9"/> <Dimensions width="2" length="2" height="2"/> </BoundingBox> <Properties> <Property name="type" value="simulation"/> </Properties> </Pedestrian> </ScenarioObject> <ScenarioObject name="pedestrian_close_to_standing_7874"> <Pedestrian model="walker.pedestrian.0001" mass="80" name="walker.pedestrian.0001" pedestrianCategory="pedestrian"> <ParameterDeclarations/> <BoundingBox> <Center x="1.5" y="0.0" z="0.9"/> <Dimensions width="2" length="2" height="2"/> </BoundingBox> <Properties> <Property name="type" value="simulation"/> </Properties> </Pedestrian> </ScenarioObject> <ScenarioObject name="pedestrian_close_to_adversary_7875"> <Pedestrian model="walker.pedestrian.0001" mass="80" name="walker.pedestrian.0001" pedestrianCategory="pedestrian"> <ParameterDeclarations/> <BoundingBox> <Center x="1.5" y="0.0" z="0.9"/> <Dimensions width="2" length="2" height="2"/> </BoundingBox> <Properties> <Property name="type" value="simulation"/> </Properties> </Pedestrian> </ScenarioObject> <ScenarioObject name="pedestrian_close_to_adversary_7876"> <Pedestrian model="walker.pedestrian.0001" mass="80" name="walker.pedestrian.0001" pedestrianCategory="pedestrian"> <ParameterDeclarations/> <BoundingBox> <Center x="1.5" y="0.0" z="0.9"/> <Dimensions width="2" length="2" height="2"/> </BoundingBox> <Properties> <Property name="type" value="simulation"/> </Properties> </Pedestrian> </ScenarioObject> </Entities> <Storyboard> <Init> <Actions> <GlobalAction> <EnvironmentAction> <Environment name="Environment1"> <TimeOfDay animation="false" dateTime="2019-06-25T12:00:00"/> <Weather cloudState="free"> <Sun intensity="0.85" azimuth="0" elevation="1.31"/> <Fog visualRange="100000.0"/> <Precipitation precipitationType="dry" intensity="0.0"/> </Weather> <RoadCondition frictionScaleFactor="1.0"/> </Environment> </EnvironmentAction> </GlobalAction> <Private entityRef="hero"> <PrivateAction> <TeleportAction> <Position> <WorldPosition x="-9.4" y="-152.8" z="0.5" h="1.57079632679"/> </Position> </TeleportAction> </PrivateAction> <PrivateAction> <ControllerAction> <AssignControllerAction> <Controller name="HeroAgent"> <Properties> <Property name="module" value="external_control"/> </Properties> </Controller> </AssignControllerAction> <OverrideControllerValueAction> <Throttle value="0" active="false"/> <Brake value="0" active="false"/> <Clutch value="0" active="false"/> <ParkingBrake value="0" active="false"/> <SteeringWheel value="0" active="false"/> <Gear number="0" active="false"/> </OverrideControllerValueAction> </ControllerAction> </PrivateAction> </Private> <Private entityRef="adversary"> <PrivateAction> <TeleportAction> <Position> <WorldPosition x="-9.4" y="-71.0" z="0.5" h="1.57079632679"/> </Position> </TeleportAction> </PrivateAction> </Private> <Private entityRef="standing"> <PrivateAction> <TeleportAction> <Position> <WorldPosition x="-8.2" y="29.2" z="0.5" h="1.57079632679"/> </Position> </TeleportAction> </PrivateAction> </Private> <Private entityRef="pedestrian_close_to_adversary_7865"> <PrivateAction> <TeleportAction> <Position> <WorldPosition x="-5.329555511474609" y="-66.9017105102539" z="0.03376590833067894"/> </Position> </TeleportAction> </PrivateAction> </Private> <Private entityRef="pedestrian_close_to_adversary_7866"> <PrivateAction> <TeleportAction> <Position> <WorldPosition x="-9.367680549621582" y="-67.86965942382812" z="0.03379348665475845"/> </Position> </TeleportAction> </PrivateAction> </Private> <Private entityRef="pedestrian_close_to_adversary_7867"> <PrivateAction> <TeleportAction> <Position> <WorldPosition x="-1.3425440788269043" y="-63.7186164855957" z="0.03375488147139549"/> </Position> </TeleportAction> </PrivateAction> </Private> <Private entityRef="pedestrian_w_transform_7868"> <PrivateAction> <TeleportAction> <Position> <WorldPosition x="-38.452857971191406" y="94.70111846923828" z="0.5"/> </Position> </TeleportAction> </PrivateAction> </Private> <Private entityRef="pedestrian_close_to_adversary_7869"> <PrivateAction> <TeleportAction> <Position> <WorldPosition x="-12.672834396362305" y="-77.92355346679688" z="0.033769913017749786"/> </Position> </TeleportAction> </PrivateAction> </Private> <Private entityRef="pedestrian_w_transform_7870"> <PrivateAction> <TeleportAction> <Position> <WorldPosition x="-89.70301055908203" y="43.212059020996094" z="0.5"/> </Position> </TeleportAction> </PrivateAction> </Private> <Private entityRef="pedestrian_w_transform_7871"> <PrivateAction> <TeleportAction> <Position> <WorldPosition x="-58.24485778808594" y="91.11527252197266" z="0.5"/> </Position> </TeleportAction> </PrivateAction> </Private> <Private entityRef="pedestrian_w_transform_7872"> <PrivateAction> <TeleportAction> <Position> <WorldPosition x="-68.25031280517578" y="-64.9167251586914" z="0.5"/> </Position> </TeleportAction> </PrivateAction> </Private> <Private entityRef="pedestrian_w_transform_7873"> <PrivateAction> <TeleportAction> <Position> <WorldPosition x="-4.977523326873779" y="-3.2759640216827393" z="0.5"/> </Position> </TeleportAction> </PrivateAction> </Private> <Private entityRef="pedestrian_close_to_standing_7874"> <PrivateAction> <TeleportAction> <Position> <WorldPosition x="-14.043421745300293" y="34.49031448364258" z="0.0030120848678052425"/> </Position> </TeleportAction> </PrivateAction> </Private> <Private entityRef="pedestrian_close_to_adversary_7875"> <PrivateAction> <TeleportAction> <Position> <WorldPosition x="-12.878181457519531" y="-70.54327392578125" z="0.03383495286107063"/> </Position> </TeleportAction> </PrivateAction> </Private> <Private entityRef="pedestrian_close_to_adversary_7876"> <PrivateAction> <TeleportAction> <Position> <WorldPosition x="-1.6782011985778809" y="-82.66190338134766" z="0.033863525837659836"/> </Position> </TeleportAction> </PrivateAction> </Private> </Actions> </Init> <Story name="MyStory"> <Act name="Behavior"> <ManeuverGroup maximumExecutionCount="1" name="ManeuverSequence"> <Actors selectTriggeringEntities="false"> <EntityRef entityRef="adversary"/> </Actors> <Maneuver name="LaneChangeSimpleManeuver"> <Event name="AdversaryAccelerates" priority="overwrite"> <Action name="AdversaryAccelerates"> <PrivateAction> <LongitudinalAction> <SpeedAction> <SpeedActionDynamics dynamicsShape="step" value="50" dynamicsDimension="distance"/> <SpeedActionTarget> <AbsoluteTargetSpeed value="5.0"/> </SpeedActionTarget> </SpeedAction> </LongitudinalAction> </PrivateAction> </Action> <StartTrigger> <ConditionGroup> <Condition name="StartCondition" delay="0" conditionEdge="rising"> <ByEntityCondition> <TriggeringEntities triggeringEntitiesRule="any"> <EntityRef entityRef="hero"/> </TriggeringEntities> <EntityCondition> <RelativeDistanceCondition entityRef="adversary" relativeDistanceType="cartesianDistance" value="40.0" freespace="false" rule="lessThan"/> </EntityCondition> </ByEntityCondition> </Condition> </ConditionGroup> </StartTrigger> </Event> <Event name="AdversaryChangesLane" priority="overwrite"> <Action name="AdversaryChangesLane"> <PrivateAction> <LateralAction> <LaneChangeAction> <LaneChangeActionDynamics dynamicsShape="linear" value="25" dynamicsDimension="distance"/> <LaneChangeTarget> <RelativeTargetLane entityRef="adversary" value="-1"/> </LaneChangeTarget> </LaneChangeAction> </LateralAction> </PrivateAction> </Action> <StartTrigger> <ConditionGroup> <Condition name="AfterAdversaryAccelerates" delay="0" conditionEdge="rising"> <ByValueCondition> <StoryboardElementStateCondition storyboardElementType="action" storyboardElementRef="AdversaryAccelerates" state="completeState"/> </ByValueCondition> </Condition> </ConditionGroup> </StartTrigger> </Event> </Maneuver> </ManeuverGroup> <StartTrigger> <ConditionGroup> <Condition name="OverallStartCondition" delay="0" conditionEdge="rising"> <ByEntityCondition> <TriggeringEntities triggeringEntitiesRule="any"> <EntityRef entityRef="hero"/> </TriggeringEntities> <EntityCondition> <TraveledDistanceCondition value="1.0"/> </EntityCondition> </ByEntityCondition> </Condition> <Condition name="StartTime" delay="0" conditionEdge="rising"> <ByValueCondition> <SimulationTimeCondition value="0" rule="equalTo"/> </ByValueCondition> </Condition> </ConditionGroup> </StartTrigger> <StopTrigger> <ConditionGroup> <Condition name="EndCondition" delay="0" conditionEdge="rising"> <ByEntityCondition> <TriggeringEntities triggeringEntitiesRule="any"> <EntityRef entityRef="hero"/> </TriggeringEntities> <EntityCondition> <TraveledDistanceCondition value="200.0"/> </EntityCondition> </ByEntityCondition> </Condition> </ConditionGroup> </StopTrigger> </Act> </Story> <StopTrigger> <ConditionGroup> <Condition name="criteria_RunningStopTest" delay="0" conditionEdge="rising"> <ByValueCondition> <ParameterCondition parameterRef="" value="" rule="lessThan"/> </ByValueCondition> </Condition> <Condition name="criteria_RunningRedLightTest" delay="0" conditionEdge="rising"> <ByValueCondition> <ParameterCondition parameterRef="" value="" rule="lessThan"/> </ByValueCondition> </Condition> <Condition name="criteria_WrongLaneTest" delay="0" conditionEdge="rising"> <ByValueCondition> <ParameterCondition parameterRef="" value="" rule="lessThan"/> </ByValueCondition> </Condition> <Condition name="criteria_OnSidewalkTest" delay="0" conditionEdge="rising"> <ByValueCondition> <ParameterCondition parameterRef="" value="" rule="lessThan"/> </ByValueCondition> </Condition> <Condition name="criteria_KeepLaneTest" delay="0" conditionEdge="rising"> <ByValueCondition> <ParameterCondition parameterRef="" value="" rule="lessThan"/> </ByValueCondition> </Condition> <Condition name="criteria_CollisionTest" delay="0" conditionEdge="rising"> <ByValueCondition> <ParameterCondition parameterRef="" value="" rule="lessThan"/> </ByValueCondition> </Condition> <Condition name="criteria_DrivenDistanceTest" delay="0" conditionEdge="rising"> <ByValueCondition> <ParameterCondition parameterRef="distance_success" value="100" rule="lessThan"/> </ByValueCondition> </Condition> </ConditionGroup> </StopTrigger> </Storyboard> </OpenSCENARIO> ```