request
stringlengths
11k
36.4k
response
stringlengths
11k
36.3k
i would like you to display 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_27958"> <Pedestrian model="walker.pedestrian.0001" mass="80" name="walker.pedestrian.0001" pedestrianCategory="pedestrian"> <ParameterDeclarations/> <BoundingBox> <Center x="1.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_27958"> <PrivateAction> <TeleportAction> <Position> <WorldPosition x="-15.757704734802246" y="-245.99813842773438" z="0.001678848173469305"/> </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_adversary_9771"> <Pedestrian model="walker.pedestrian.0001" mass="80" name="walker.pedestrian.0001" pedestrianCategory="pedestrian"> <ParameterDeclarations/> <BoundingBox> <Center x="1.5" y="0.0" z="0.9"/> <Dimensions width="2" length="2" height="2"/> </BoundingBox> <Properties> <Property name="type" value="simulation"/> </Properties> </Pedestrian> </ScenarioObject> <ScenarioObject name="pedestrian_w_transform_9772"> <Pedestrian model="walker.pedestrian.0001" mass="80" name="walker.pedestrian.0001" pedestrianCategory="pedestrian"> <ParameterDeclarations/> <BoundingBox> <Center x="1.5" y="0.0" z="0.9"/> <Dimensions width="2" length="2" height="2"/> </BoundingBox> <Properties> <Property name="type" value="simulation"/> </Properties> </Pedestrian> </ScenarioObject> <ScenarioObject name="pedestrian_w_transform_9773"> <Pedestrian model="walker.pedestrian.0001" mass="80" name="walker.pedestrian.0001" pedestrianCategory="pedestrian"> <ParameterDeclarations/> <BoundingBox> <Center x="1.5" y="0.0" z="0.9"/> <Dimensions width="2" length="2" height="2"/> </BoundingBox> <Properties> <Property name="type" value="simulation"/> </Properties> </Pedestrian> </ScenarioObject> <ScenarioObject name="pedestrian_w_transform_9774"> <Pedestrian model="walker.pedestrian.0001" mass="80" name="walker.pedestrian.0001" pedestrianCategory="pedestrian"> <ParameterDeclarations/> <BoundingBox> <Center x="1.5" y="0.0" z="0.9"/> <Dimensions width="2" length="2" height="2"/> </BoundingBox> <Properties> <Property name="type" value="simulation"/> </Properties> </Pedestrian> </ScenarioObject> <ScenarioObject name="pedestrian_w_transform_9775"> <Pedestrian model="walker.pedestrian.0001" mass="80" name="walker.pedestrian.0001" pedestrianCategory="pedestrian"> <ParameterDeclarations/> <BoundingBox> <Center x="1.5" y="0.0" z="0.9"/> <Dimensions width="2" length="2" height="2"/> </BoundingBox> <Properties> <Property name="type" value="simulation"/> </Properties> </Pedestrian> </ScenarioObject> <ScenarioObject name="pedestrian_close_to_standing_9776"> <Pedestrian model="walker.pedestrian.0001" mass="80" name="walker.pedestrian.0001" pedestrianCategory="pedestrian"> <ParameterDeclarations/> <BoundingBox> <Center x="1.5" y="0.0" z="0.9"/> <Dimensions width="2" length="2" height="2"/> </BoundingBox> <Properties> <Property name="type" value="simulation"/> </Properties> </Pedestrian> </ScenarioObject> <ScenarioObject name="pedestrian_close_to_hero_9777"> <Pedestrian model="walker.pedestrian.0001" mass="80" name="walker.pedestrian.0001" pedestrianCategory="pedestrian"> <ParameterDeclarations/> <BoundingBox> <Center x="1.5" y="0.0" z="0.9"/> <Dimensions width="2" length="2" height="2"/> </BoundingBox> <Properties> <Property name="type" value="simulation"/> </Properties> </Pedestrian> </ScenarioObject> <ScenarioObject name="pedestrian_w_transform_9778"> <Pedestrian model="walker.pedestrian.0001" mass="80" name="walker.pedestrian.0001" pedestrianCategory="pedestrian"> <ParameterDeclarations/> <BoundingBox> <Center x="1.5" y="0.0" z="0.9"/> <Dimensions width="2" length="2" height="2"/> </BoundingBox> <Properties> <Property name="type" value="simulation"/> </Properties> </Pedestrian> </ScenarioObject> <ScenarioObject name="pedestrian_w_transform_9779"> <Pedestrian model="walker.pedestrian.0001" mass="80" name="walker.pedestrian.0001" pedestrianCategory="pedestrian"> <ParameterDeclarations/> <BoundingBox> <Center x="1.5" y="0.0" z="0.9"/> <Dimensions width="2" length="2" height="2"/> </BoundingBox> <Properties> <Property name="type" value="simulation"/> </Properties> </Pedestrian> </ScenarioObject> <ScenarioObject name="pedestrian_close_to_standing_9780"> <Pedestrian model="walker.pedestrian.0001" mass="80" name="walker.pedestrian.0001" pedestrianCategory="pedestrian"> <ParameterDeclarations/> <BoundingBox> <Center x="1.5" y="0.0" z="0.9"/> <Dimensions width="2" length="2" height="2"/> </BoundingBox> <Properties> <Property name="type" value="simulation"/> </Properties> </Pedestrian> </ScenarioObject> <ScenarioObject name="pedestrian_close_to_hero_9781"> <Pedestrian model="walker.pedestrian.0001" mass="80" name="walker.pedestrian.0001" pedestrianCategory="pedestrian"> <ParameterDeclarations/> <BoundingBox> <Center x="1.5" y="0.0" z="0.9"/> <Dimensions width="2" length="2" height="2"/> </BoundingBox> <Properties> <Property name="type" value="simulation"/> </Properties> </Pedestrian> </ScenarioObject> <ScenarioObject name="pedestrian_close_to_adversary_9782"> <Pedestrian model="walker.pedestrian.0001" mass="80" name="walker.pedestrian.0001" pedestrianCategory="pedestrian"> <ParameterDeclarations/> <BoundingBox> <Center x="1.5" y="0.0" z="0.9"/> <Dimensions width="2" length="2" height="2"/> </BoundingBox> <Properties> <Property name="type" value="simulation"/> </Properties> </Pedestrian> </ScenarioObject> <ScenarioObject name="pedestrian_w_transform_9783"> <Pedestrian model="walker.pedestrian.0001" mass="80" name="walker.pedestrian.0001" pedestrianCategory="pedestrian"> <ParameterDeclarations/> <BoundingBox> <Center x="1.5" y="0.0" z="0.9"/> <Dimensions width="2" length="2" height="2"/> </BoundingBox> <Properties> <Property name="type" value="simulation"/> </Properties> </Pedestrian> </ScenarioObject> <ScenarioObject name="pedestrian_close_to_standing_9784"> <Pedestrian model="walker.pedestrian.0001" mass="80" name="walker.pedestrian.0001" pedestrianCategory="pedestrian"> <ParameterDeclarations/> <BoundingBox> <Center x="1.5" y="0.0" z="0.9"/> <Dimensions width="2" length="2" height="2"/> </BoundingBox> <Properties> <Property name="type" value="simulation"/> </Properties> </Pedestrian> </ScenarioObject> <ScenarioObject name="pedestrian_w_transform_9785"> <Pedestrian model="walker.pedestrian.0001" mass="80" name="walker.pedestrian.0001" pedestrianCategory="pedestrian"> <ParameterDeclarations/> <BoundingBox> <Center x="1.5" y="0.0" z="0.9"/> <Dimensions width="2" length="2" height="2"/> </BoundingBox> <Properties> <Property name="type" value="simulation"/> </Properties> </Pedestrian> </ScenarioObject> <ScenarioObject name="pedestrian_close_to_adversary_9786"> <Pedestrian model="walker.pedestrian.0001" mass="80" name="walker.pedestrian.0001" pedestrianCategory="pedestrian"> <ParameterDeclarations/> <BoundingBox> <Center x="1.5" y="0.0" z="0.9"/> <Dimensions width="2" length="2" height="2"/> </BoundingBox> <Properties> <Property name="type" value="simulation"/> </Properties> </Pedestrian> </ScenarioObject> <ScenarioObject name="pedestrian_close_to_hero_9787"> <Pedestrian model="walker.pedestrian.0001" mass="80" name="walker.pedestrian.0001" pedestrianCategory="pedestrian"> <ParameterDeclarations/> <BoundingBox> <Center x="1.5" y="0.0" z="0.9"/> <Dimensions width="2" length="2" height="2"/> </BoundingBox> <Properties> <Property name="type" value="simulation"/> </Properties> </Pedestrian> </ScenarioObject> <ScenarioObject name="pedestrian_close_to_adversary_9788"> <Pedestrian model="walker.pedestrian.0001" mass="80" name="walker.pedestrian.0001" pedestrianCategory="pedestrian"> <ParameterDeclarations/> <BoundingBox> <Center x="1.5" y="0.0" z="0.9"/> <Dimensions width="2" length="2" height="2"/> </BoundingBox> <Properties> <Property name="type" value="simulation"/> </Properties> </Pedestrian> </ScenarioObject> <ScenarioObject name="pedestrian_w_transform_9789"> <Pedestrian model="walker.pedestrian.0001" mass="80" name="walker.pedestrian.0001" pedestrianCategory="pedestrian"> <ParameterDeclarations/> <BoundingBox> <Center x="1.5" y="0.0" z="0.9"/> <Dimensions width="2" length="2" height="2"/> </BoundingBox> <Properties> <Property name="type" value="simulation"/> </Properties> </Pedestrian> </ScenarioObject> <ScenarioObject name="pedestrian_w_transform_9790"> <Pedestrian model="walker.pedestrian.0001" mass="80" name="walker.pedestrian.0001" pedestrianCategory="pedestrian"> <ParameterDeclarations/> <BoundingBox> <Center x="1.5" y="0.0" z="0.9"/> <Dimensions width="2" length="2" height="2"/> </BoundingBox> <Properties> <Property name="type" value="simulation"/> </Properties> </Pedestrian> </ScenarioObject> <ScenarioObject name="pedestrian_w_transform_9792"> <Pedestrian model="walker.pedestrian.0001" mass="80" name="walker.pedestrian.0001" pedestrianCategory="pedestrian"> <ParameterDeclarations/> <BoundingBox> <Center x="1.5" y="0.0" z="0.9"/> <Dimensions width="2" length="2" height="2"/> </BoundingBox> <Properties> <Property name="type" value="simulation"/> </Properties> </Pedestrian> </ScenarioObject> <ScenarioObject name="pedestrian_close_to_standing_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> </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_9771"> <PrivateAction> <TeleportAction> <Position> <WorldPosition x="-12.650290489196777" y="-71.31747436523438" z="0.03379382938146591"/> </Position> </TeleportAction> </PrivateAction> </Private> <Private entityRef="pedestrian_w_transform_9772"> <PrivateAction> <TeleportAction> <Position> <WorldPosition x="7.418327331542969" y="-55.03416442871094" z="0.5"/> </Position> </TeleportAction> </PrivateAction> </Private> <Private entityRef="pedestrian_w_transform_9773"> <PrivateAction> <TeleportAction> <Position> <WorldPosition x="38.8733024597168" y="96.64009857177734" z="0.5"/> </Position> </TeleportAction> </PrivateAction> </Private> <Private entityRef="pedestrian_w_transform_9774"> <PrivateAction> <TeleportAction> <Position> <WorldPosition x="-39.593936920166016" y="30.530258178710938" z="0.5"/> </Position> </TeleportAction> </PrivateAction> </Private> <Private entityRef="pedestrian_w_transform_9775"> <PrivateAction> <TeleportAction> <Position> <WorldPosition x="28.776899337768555" y="58.3470458984375" z="0.5"/> </Position> </TeleportAction> </PrivateAction> </Private> <Private entityRef="pedestrian_close_to_standing_9776"> <PrivateAction> <TeleportAction> <Position> <WorldPosition x="-15.458487510681152" y="38.654151916503906" z="0.0030489349737763405"/> </Position> </TeleportAction> </PrivateAction> </Private> <Private entityRef="pedestrian_close_to_hero_9777"> <PrivateAction> <TeleportAction> <Position> <WorldPosition x="-7.647889137268066" y="-160.55618286132812" z="0.0016471862327307463"/> </Position> </TeleportAction> </PrivateAction> </Private> <Private entityRef="pedestrian_w_transform_9778"> <PrivateAction> <TeleportAction> <Position> <WorldPosition x="73.06692504882812" y="80.9613037109375" z="0.5"/> </Position> </TeleportAction> </PrivateAction> </Private> <Private entityRef="pedestrian_w_transform_9779"> <PrivateAction> <TeleportAction> <Position> <WorldPosition x="98.44747924804688" y="-1.5550204515457153" z="0.5"/> </Position> </TeleportAction> </PrivateAction> </Private> <Private entityRef="pedestrian_close_to_standing_9780"> <PrivateAction> <TeleportAction> <Position> <WorldPosition x="-16.157939910888672" y="32.34165954589844" z="0.0030488967895507812"/> </Position> </TeleportAction> </PrivateAction> </Private> <Private entityRef="pedestrian_close_to_hero_9781"> <PrivateAction> <TeleportAction> <Position> <WorldPosition x="-5.738213539123535" y="-148.81822204589844" z="0.0016471862327307463"/> </Position> </TeleportAction> </PrivateAction> </Private> <Private entityRef="pedestrian_close_to_adversary_9782"> <PrivateAction> <TeleportAction> <Position> <WorldPosition x="-1.1313812732696533" y="-69.7354507446289" z="0.033769987523555756"/> </Position> </TeleportAction> </PrivateAction> </Private> <Private entityRef="pedestrian_w_transform_9783"> <PrivateAction> <TeleportAction> <Position> <WorldPosition x="-36.9675407409668" y="-8.711359024047852" z="0.5"/> </Position> </TeleportAction> </PrivateAction> </Private> <Private entityRef="pedestrian_close_to_standing_9784"> <PrivateAction> <TeleportAction> <Position> <WorldPosition x="-15.815811157226562" y="34.41223907470703" z="0.003084983676671982"/> </Position> </TeleportAction> </PrivateAction> </Private> <Private entityRef="pedestrian_w_transform_9785"> <PrivateAction> <TeleportAction> <Position> <WorldPosition x="-56.955345153808594" y="9.483410835266113" z="0.5"/> </Position> </TeleportAction> </PrivateAction> </Private> <Private entityRef="pedestrian_close_to_adversary_9786"> <PrivateAction> <TeleportAction> <Position> <WorldPosition x="-6.335092544555664" y="-63.118709564208984" z="0.0337650291621685"/> </Position> </TeleportAction> </PrivateAction> </Private> <Private entityRef="pedestrian_close_to_hero_9787"> <PrivateAction> <TeleportAction> <Position> <WorldPosition x="-3.881660223007202" y="-146.28042602539062" z="0.0016471862327307463"/> </Position> </TeleportAction> </PrivateAction> </Private> <Private entityRef="pedestrian_close_to_adversary_9788"> <PrivateAction> <TeleportAction> <Position> <WorldPosition x="-1.0924328565597534" y="-76.22090148925781" z="0.03380527347326279"/> </Position> </TeleportAction> </PrivateAction> </Private> <Private entityRef="pedestrian_w_transform_9789"> <PrivateAction> <TeleportAction> <Position> <WorldPosition x="78.49214172363281" y="51.06746292114258" z="0.5"/> </Position> </TeleportAction> </PrivateAction> </Private> <Private entityRef="pedestrian_w_transform_9790"> <PrivateAction> <TeleportAction> <Position> <WorldPosition x="-43.65721893310547" y="-3.2989182472229004" z="0.5"/> </Position> </TeleportAction> </PrivateAction> </Private> <Private entityRef="pedestrian_w_transform_9792"> <PrivateAction> <TeleportAction> <Position> <WorldPosition x="-13.698087692260742" y="98.98726654052734" z="0.5"/> </Position> </TeleportAction> </PrivateAction> </Private> <Private entityRef="pedestrian_close_to_standing_9793"> <PrivateAction> <TeleportAction> <Position> <WorldPosition x="-16.089750289916992" y="33.82109069824219" z="0.0030127333011478186"/> </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_9771"> <Pedestrian model="walker.pedestrian.0001" mass="80" name="walker.pedestrian.0001" pedestrianCategory="pedestrian"> <ParameterDeclarations/> <BoundingBox> <Center x="1.5" y="0.0" z="0.9"/> <Dimensions width="2" length="2" height="2"/> </BoundingBox> <Properties> <Property name="type" value="simulation"/> </Properties> </Pedestrian> </ScenarioObject> <ScenarioObject name="pedestrian_w_transform_9772"> <Pedestrian model="walker.pedestrian.0001" mass="80" name="walker.pedestrian.0001" pedestrianCategory="pedestrian"> <ParameterDeclarations/> <BoundingBox> <Center x="1.5" y="0.0" z="0.9"/> <Dimensions width="2" length="2" height="2"/> </BoundingBox> <Properties> <Property name="type" value="simulation"/> </Properties> </Pedestrian> </ScenarioObject> <ScenarioObject name="pedestrian_w_transform_9773"> <Pedestrian model="walker.pedestrian.0001" mass="80" name="walker.pedestrian.0001" pedestrianCategory="pedestrian"> <ParameterDeclarations/> <BoundingBox> <Center x="1.5" y="0.0" z="0.9"/> <Dimensions width="2" length="2" height="2"/> </BoundingBox> <Properties> <Property name="type" value="simulation"/> </Properties> </Pedestrian> </ScenarioObject> <ScenarioObject name="pedestrian_w_transform_9774"> <Pedestrian model="walker.pedestrian.0001" mass="80" name="walker.pedestrian.0001" pedestrianCategory="pedestrian"> <ParameterDeclarations/> <BoundingBox> <Center x="1.5" y="0.0" z="0.9"/> <Dimensions width="2" length="2" height="2"/> </BoundingBox> <Properties> <Property name="type" value="simulation"/> </Properties> </Pedestrian> </ScenarioObject> <ScenarioObject name="pedestrian_w_transform_9775"> <Pedestrian model="walker.pedestrian.0001" mass="80" name="walker.pedestrian.0001" pedestrianCategory="pedestrian"> <ParameterDeclarations/> <BoundingBox> <Center x="1.5" y="0.0" z="0.9"/> <Dimensions width="2" length="2" height="2"/> </BoundingBox> <Properties> <Property name="type" value="simulation"/> </Properties> </Pedestrian> </ScenarioObject> <ScenarioObject name="pedestrian_close_to_standing_9776"> <Pedestrian model="walker.pedestrian.0001" mass="80" name="walker.pedestrian.0001" pedestrianCategory="pedestrian"> <ParameterDeclarations/> <BoundingBox> <Center x="1.5" y="0.0" z="0.9"/> <Dimensions width="2" length="2" height="2"/> </BoundingBox> <Properties> <Property name="type" value="simulation"/> </Properties> </Pedestrian> </ScenarioObject> <ScenarioObject name="pedestrian_w_transform_9778"> <Pedestrian model="walker.pedestrian.0001" mass="80" name="walker.pedestrian.0001" pedestrianCategory="pedestrian"> <ParameterDeclarations/> <BoundingBox> <Center x="1.5" y="0.0" z="0.9"/> <Dimensions width="2" length="2" height="2"/> </BoundingBox> <Properties> <Property name="type" value="simulation"/> </Properties> </Pedestrian> </ScenarioObject> <ScenarioObject name="pedestrian_w_transform_9779"> <Pedestrian model="walker.pedestrian.0001" mass="80" name="walker.pedestrian.0001" pedestrianCategory="pedestrian"> <ParameterDeclarations/> <BoundingBox> <Center x="1.5" y="0.0" z="0.9"/> <Dimensions width="2" length="2" height="2"/> </BoundingBox> <Properties> <Property name="type" value="simulation"/> </Properties> </Pedestrian> </ScenarioObject> <ScenarioObject name="pedestrian_close_to_standing_9780"> <Pedestrian model="walker.pedestrian.0001" mass="80" name="walker.pedestrian.0001" pedestrianCategory="pedestrian"> <ParameterDeclarations/> <BoundingBox> <Center x="1.5" y="0.0" z="0.9"/> <Dimensions width="2" length="2" height="2"/> </BoundingBox> <Properties> <Property name="type" value="simulation"/> </Properties> </Pedestrian> </ScenarioObject> <ScenarioObject name="pedestrian_close_to_hero_9781"> <Pedestrian model="walker.pedestrian.0001" mass="80" name="walker.pedestrian.0001" pedestrianCategory="pedestrian"> <ParameterDeclarations/> <BoundingBox> <Center x="1.5" y="0.0" z="0.9"/> <Dimensions width="2" length="2" height="2"/> </BoundingBox> <Properties> <Property name="type" value="simulation"/> </Properties> </Pedestrian> </ScenarioObject> <ScenarioObject name="pedestrian_close_to_adversary_9782"> <Pedestrian model="walker.pedestrian.0001" mass="80" name="walker.pedestrian.0001" pedestrianCategory="pedestrian"> <ParameterDeclarations/> <BoundingBox> <Center x="1.5" y="0.0" z="0.9"/> <Dimensions width="2" length="2" height="2"/> </BoundingBox> <Properties> <Property name="type" value="simulation"/> </Properties> </Pedestrian> </ScenarioObject> <ScenarioObject name="pedestrian_w_transform_9783"> <Pedestrian model="walker.pedestrian.0001" mass="80" name="walker.pedestrian.0001" pedestrianCategory="pedestrian"> <ParameterDeclarations/> <BoundingBox> <Center x="1.5" y="0.0" z="0.9"/> <Dimensions width="2" length="2" height="2"/> </BoundingBox> <Properties> <Property name="type" value="simulation"/> </Properties> </Pedestrian> </ScenarioObject> <ScenarioObject name="pedestrian_close_to_standing_9784"> <Pedestrian model="walker.pedestrian.0001" mass="80" name="walker.pedestrian.0001" pedestrianCategory="pedestrian"> <ParameterDeclarations/> <BoundingBox> <Center x="1.5" y="0.0" z="0.9"/> <Dimensions width="2" length="2" height="2"/> </BoundingBox> <Properties> <Property name="type" value="simulation"/> </Properties> </Pedestrian> </ScenarioObject> <ScenarioObject name="pedestrian_w_transform_9785"> <Pedestrian model="walker.pedestrian.0001" mass="80" name="walker.pedestrian.0001" pedestrianCategory="pedestrian"> <ParameterDeclarations/> <BoundingBox> <Center x="1.5" y="0.0" z="0.9"/> <Dimensions width="2" length="2" height="2"/> </BoundingBox> <Properties> <Property name="type" value="simulation"/> </Properties> </Pedestrian> </ScenarioObject> <ScenarioObject name="pedestrian_close_to_adversary_9786"> <Pedestrian model="walker.pedestrian.0001" mass="80" name="walker.pedestrian.0001" pedestrianCategory="pedestrian"> <ParameterDeclarations/> <BoundingBox> <Center x="1.5" y="0.0" z="0.9"/> <Dimensions width="2" length="2" height="2"/> </BoundingBox> <Properties> <Property name="type" value="simulation"/> </Properties> </Pedestrian> </ScenarioObject> <ScenarioObject name="pedestrian_close_to_hero_9787"> <Pedestrian model="walker.pedestrian.0001" mass="80" name="walker.pedestrian.0001" pedestrianCategory="pedestrian"> <ParameterDeclarations/> <BoundingBox> <Center x="1.5" y="0.0" z="0.9"/> <Dimensions width="2" length="2" height="2"/> </BoundingBox> <Properties> <Property name="type" value="simulation"/> </Properties> </Pedestrian> </ScenarioObject> <ScenarioObject name="pedestrian_close_to_adversary_9788"> <Pedestrian model="walker.pedestrian.0001" mass="80" name="walker.pedestrian.0001" pedestrianCategory="pedestrian"> <ParameterDeclarations/> <BoundingBox> <Center x="1.5" y="0.0" z="0.9"/> <Dimensions width="2" length="2" height="2"/> </BoundingBox> <Properties> <Property name="type" value="simulation"/> </Properties> </Pedestrian> </ScenarioObject> <ScenarioObject name="pedestrian_w_transform_9789"> <Pedestrian model="walker.pedestrian.0001" mass="80" name="walker.pedestrian.0001" pedestrianCategory="pedestrian"> <ParameterDeclarations/> <BoundingBox> <Center x="1.5" y="0.0" z="0.9"/> <Dimensions width="2" length="2" height="2"/> </BoundingBox> <Properties> <Property name="type" value="simulation"/> </Properties> </Pedestrian> </ScenarioObject> <ScenarioObject name="pedestrian_w_transform_9790"> <Pedestrian model="walker.pedestrian.0001" mass="80" name="walker.pedestrian.0001" pedestrianCategory="pedestrian"> <ParameterDeclarations/> <BoundingBox> <Center x="1.5" y="0.0" z="0.9"/> <Dimensions width="2" length="2" height="2"/> </BoundingBox> <Properties> <Property name="type" value="simulation"/> </Properties> </Pedestrian> </ScenarioObject> <ScenarioObject name="pedestrian_w_transform_9792"> <Pedestrian model="walker.pedestrian.0001" mass="80" name="walker.pedestrian.0001" pedestrianCategory="pedestrian"> <ParameterDeclarations/> <BoundingBox> <Center x="1.5" y="0.0" z="0.9"/> <Dimensions width="2" length="2" height="2"/> </BoundingBox> <Properties> <Property name="type" value="simulation"/> </Properties> </Pedestrian> </ScenarioObject> <ScenarioObject name="pedestrian_close_to_standing_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> </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_9771"> <PrivateAction> <TeleportAction> <Position> <WorldPosition x="-12.650290489196777" y="-71.31747436523438" z="0.03379382938146591"/> </Position> </TeleportAction> </PrivateAction> </Private> <Private entityRef="pedestrian_w_transform_9772"> <PrivateAction> <TeleportAction> <Position> <WorldPosition x="7.418327331542969" y="-55.03416442871094" z="0.5"/> </Position> </TeleportAction> </PrivateAction> </Private> <Private entityRef="pedestrian_w_transform_9773"> <PrivateAction> <TeleportAction> <Position> <WorldPosition x="38.8733024597168" y="96.64009857177734" z="0.5"/> </Position> </TeleportAction> </PrivateAction> </Private> <Private entityRef="pedestrian_w_transform_9774"> <PrivateAction> <TeleportAction> <Position> <WorldPosition x="-39.593936920166016" y="30.530258178710938" z="0.5"/> </Position> </TeleportAction> </PrivateAction> </Private> <Private entityRef="pedestrian_w_transform_9775"> <PrivateAction> <TeleportAction> <Position> <WorldPosition x="28.776899337768555" y="58.3470458984375" z="0.5"/> </Position> </TeleportAction> </PrivateAction> </Private> <Private entityRef="pedestrian_close_to_standing_9776"> <PrivateAction> <TeleportAction> <Position> <WorldPosition x="-15.458487510681152" y="38.654151916503906" z="0.0030489349737763405"/> </Position> </TeleportAction> </PrivateAction> </Private> <Private entityRef="pedestrian_w_transform_9778"> <PrivateAction> <TeleportAction> <Position> <WorldPosition x="73.06692504882812" y="80.9613037109375" z="0.5"/> </Position> </TeleportAction> </PrivateAction> </Private> <Private entityRef="pedestrian_w_transform_9779"> <PrivateAction> <TeleportAction> <Position> <WorldPosition x="98.44747924804688" y="-1.5550204515457153" z="0.5"/> </Position> </TeleportAction> </PrivateAction> </Private> <Private entityRef="pedestrian_close_to_standing_9780"> <PrivateAction> <TeleportAction> <Position> <WorldPosition x="-16.157939910888672" y="32.34165954589844" z="0.0030488967895507812"/> </Position> </TeleportAction> </PrivateAction> </Private> <Private entityRef="pedestrian_close_to_hero_9781"> <PrivateAction> <TeleportAction> <Position> <WorldPosition x="-5.738213539123535" y="-148.81822204589844" z="0.0016471862327307463"/> </Position> </TeleportAction> </PrivateAction> </Private> <Private entityRef="pedestrian_close_to_adversary_9782"> <PrivateAction> <TeleportAction> <Position> <WorldPosition x="-1.1313812732696533" y="-69.7354507446289" z="0.033769987523555756"/> </Position> </TeleportAction> </PrivateAction> </Private> <Private entityRef="pedestrian_w_transform_9783"> <PrivateAction> <TeleportAction> <Position> <WorldPosition x="-36.9675407409668" y="-8.711359024047852" z="0.5"/> </Position> </TeleportAction> </PrivateAction> </Private> <Private entityRef="pedestrian_close_to_standing_9784"> <PrivateAction> <TeleportAction> <Position> <WorldPosition x="-15.815811157226562" y="34.41223907470703" z="0.003084983676671982"/> </Position> </TeleportAction> </PrivateAction> </Private> <Private entityRef="pedestrian_w_transform_9785"> <PrivateAction> <TeleportAction> <Position> <WorldPosition x="-56.955345153808594" y="9.483410835266113" z="0.5"/> </Position> </TeleportAction> </PrivateAction> </Private> <Private entityRef="pedestrian_close_to_adversary_9786"> <PrivateAction> <TeleportAction> <Position> <WorldPosition x="-6.335092544555664" y="-63.118709564208984" z="0.0337650291621685"/> </Position> </TeleportAction> </PrivateAction> </Private> <Private entityRef="pedestrian_close_to_hero_9787"> <PrivateAction> <TeleportAction> <Position> <WorldPosition x="-3.881660223007202" y="-146.28042602539062" z="0.0016471862327307463"/> </Position> </TeleportAction> </PrivateAction> </Private> <Private entityRef="pedestrian_close_to_adversary_9788"> <PrivateAction> <TeleportAction> <Position> <WorldPosition x="-1.0924328565597534" y="-76.22090148925781" z="0.03380527347326279"/> </Position> </TeleportAction> </PrivateAction> </Private> <Private entityRef="pedestrian_w_transform_9789"> <PrivateAction> <TeleportAction> <Position> <WorldPosition x="78.49214172363281" y="51.06746292114258" z="0.5"/> </Position> </TeleportAction> </PrivateAction> </Private> <Private entityRef="pedestrian_w_transform_9790"> <PrivateAction> <TeleportAction> <Position> <WorldPosition x="-43.65721893310547" y="-3.2989182472229004" z="0.5"/> </Position> </TeleportAction> </PrivateAction> </Private> <Private entityRef="pedestrian_w_transform_9792"> <PrivateAction> <TeleportAction> <Position> <WorldPosition x="-13.698087692260742" y="98.98726654052734" z="0.5"/> </Position> </TeleportAction> </PrivateAction> </Private> <Private entityRef="pedestrian_close_to_standing_9793"> <PrivateAction> <TeleportAction> <Position> <WorldPosition x="-16.089750289916992" y="33.82109069824219" z="0.0030127333011478186"/> </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 (6.87, -63.96, 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_23310"> <Pedestrian model="walker.pedestrian.0001" mass="80" name="walker.pedestrian.0001" pedestrianCategory="pedestrian"> <ParameterDeclarations/> <BoundingBox> <Center x="1.5" y="0.0" z="0.9"/> <Dimensions width="2" length="2" height="2"/> </BoundingBox> <Properties> <Property name="type" value="simulation"/> </Properties> </Pedestrian> </ScenarioObject> <ScenarioObject name="pedestrian_w_transform_23311"> <Pedestrian model="walker.pedestrian.0001" mass="80" name="walker.pedestrian.0001" pedestrianCategory="pedestrian"> <ParameterDeclarations/> <BoundingBox> <Center x="1.5" y="0.0" z="0.9"/> <Dimensions width="2" length="2" height="2"/> </BoundingBox> <Properties> <Property name="type" value="simulation"/> </Properties> </Pedestrian> </ScenarioObject> <ScenarioObject name="pedestrian_w_transform_23312"> <Pedestrian model="walker.pedestrian.0001" mass="80" name="walker.pedestrian.0001" pedestrianCategory="pedestrian"> <ParameterDeclarations/> <BoundingBox> <Center x="1.5" y="0.0" z="0.9"/> <Dimensions width="2" length="2" height="2"/> </BoundingBox> <Properties> <Property name="type" value="simulation"/> </Properties> </Pedestrian> </ScenarioObject> <ScenarioObject name="pedestrian_w_transform_23313"> <Pedestrian model="walker.pedestrian.0001" mass="80" name="walker.pedestrian.0001" pedestrianCategory="pedestrian"> <ParameterDeclarations/> <BoundingBox> <Center x="1.5" y="0.0" z="0.9"/> <Dimensions width="2" length="2" height="2"/> </BoundingBox> <Properties> <Property name="type" value="simulation"/> </Properties> </Pedestrian> </ScenarioObject> <ScenarioObject name="pedestrian_w_transform_23314"> <Pedestrian model="walker.pedestrian.0001" mass="80" name="walker.pedestrian.0001" pedestrianCategory="pedestrian"> <ParameterDeclarations/> <BoundingBox> <Center x="1.5" y="0.0" z="0.9"/> <Dimensions width="2" length="2" height="2"/> </BoundingBox> <Properties> <Property name="type" value="simulation"/> </Properties> </Pedestrian> </ScenarioObject> <ScenarioObject name="pedestrian_w_transform_23315"> <Pedestrian model="walker.pedestrian.0001" mass="80" name="walker.pedestrian.0001" pedestrianCategory="pedestrian"> <ParameterDeclarations/> <BoundingBox> <Center x="1.5" y="0.0" z="0.9"/> <Dimensions width="2" length="2" height="2"/> </BoundingBox> <Properties> <Property name="type" value="simulation"/> </Properties> </Pedestrian> </ScenarioObject> <ScenarioObject name="pedestrian_close_to_hero_23316"> <Pedestrian model="walker.pedestrian.0001" mass="80" name="walker.pedestrian.0001" pedestrianCategory="pedestrian"> <ParameterDeclarations/> <BoundingBox> <Center x="1.5" y="0.0" z="0.9"/> <Dimensions width="2" length="2" height="2"/> </BoundingBox> <Properties> <Property name="type" value="simulation"/> </Properties> </Pedestrian> </ScenarioObject> <ScenarioObject name="pedestrian_w_transform_23317"> <Pedestrian model="walker.pedestrian.0001" mass="80" name="walker.pedestrian.0001" pedestrianCategory="pedestrian"> <ParameterDeclarations/> <BoundingBox> <Center x="1.5" y="0.0" z="0.9"/> <Dimensions width="2" length="2" height="2"/> </BoundingBox> <Properties> <Property name="type" value="simulation"/> </Properties> </Pedestrian> </ScenarioObject> <ScenarioObject name="pedestrian_w_transform_23318"> <Pedestrian model="walker.pedestrian.0001" mass="80" name="walker.pedestrian.0001" pedestrianCategory="pedestrian"> <ParameterDeclarations/> <BoundingBox> <Center x="1.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_23310"> <PrivateAction> <TeleportAction> <Position> <WorldPosition x="-9.303168296813965" y="28.761465072631836" z="0.0030648421961814165"/> </Position> </TeleportAction> </PrivateAction> </Private> <Private entityRef="pedestrian_w_transform_23311"> <PrivateAction> <TeleportAction> <Position> <WorldPosition x="-30.601999282836914" y="33.30174255371094" z="0.5"/> </Position> </TeleportAction> </PrivateAction> </Private> <Private entityRef="pedestrian_w_transform_23312"> <PrivateAction> <TeleportAction> <Position> <WorldPosition x="31.902488708496094" y="-19.59165382385254" z="0.5"/> </Position> </TeleportAction> </PrivateAction> </Private> <Private entityRef="pedestrian_w_transform_23313"> <PrivateAction> <TeleportAction> <Position> <WorldPosition x="-70.58570861816406" y="57.02273941040039" z="0.5"/> </Position> </TeleportAction> </PrivateAction> </Private> <Private entityRef="pedestrian_w_transform_23314"> <PrivateAction> <TeleportAction> <Position> <WorldPosition x="36.68788146972656" y="92.16214752197266" z="0.5"/> </Position> </TeleportAction> </PrivateAction> </Private> <Private entityRef="pedestrian_w_transform_23315"> <PrivateAction> <TeleportAction> <Position> <WorldPosition x="-60.074623107910156" y="85.04335021972656" z="0.5"/> </Position> </TeleportAction> </PrivateAction> </Private> <Private entityRef="pedestrian_close_to_hero_23316"> <PrivateAction> <TeleportAction> <Position> <WorldPosition x="-9.137568473815918" y="-156.76223754882812" z="0.001423797570168972"/> </Position> </TeleportAction> </PrivateAction> </Private> <Private entityRef="pedestrian_w_transform_23317"> <PrivateAction> <TeleportAction> <Position> <WorldPosition x="-86.367919921875" y="-0.22504690289497375" z="0.5"/> </Position> </TeleportAction> </PrivateAction> </Private> <Private entityRef="pedestrian_w_transform_23318"> <PrivateAction> <TeleportAction> <Position> <WorldPosition x="-74.96868133544922" y="36.892250061035156" 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_23310"> <Pedestrian model="walker.pedestrian.0001" mass="80" name="walker.pedestrian.0001" pedestrianCategory="pedestrian"> <ParameterDeclarations/> <BoundingBox> <Center x="1.5" y="0.0" z="0.9"/> <Dimensions width="2" length="2" height="2"/> </BoundingBox> <Properties> <Property name="type" value="simulation"/> </Properties> </Pedestrian> </ScenarioObject> <ScenarioObject name="pedestrian_w_transform_23311"> <Pedestrian model="walker.pedestrian.0001" mass="80" name="walker.pedestrian.0001" pedestrianCategory="pedestrian"> <ParameterDeclarations/> <BoundingBox> <Center x="1.5" y="0.0" z="0.9"/> <Dimensions width="2" length="2" height="2"/> </BoundingBox> <Properties> <Property name="type" value="simulation"/> </Properties> </Pedestrian> </ScenarioObject> <ScenarioObject name="pedestrian_w_transform_23312"> <Pedestrian model="walker.pedestrian.0001" mass="80" name="walker.pedestrian.0001" pedestrianCategory="pedestrian"> <ParameterDeclarations/> <BoundingBox> <Center x="1.5" y="0.0" z="0.9"/> <Dimensions width="2" length="2" height="2"/> </BoundingBox> <Properties> <Property name="type" value="simulation"/> </Properties> </Pedestrian> </ScenarioObject> <ScenarioObject name="pedestrian_w_transform_23313"> <Pedestrian model="walker.pedestrian.0001" mass="80" name="walker.pedestrian.0001" pedestrianCategory="pedestrian"> <ParameterDeclarations/> <BoundingBox> <Center x="1.5" y="0.0" z="0.9"/> <Dimensions width="2" length="2" height="2"/> </BoundingBox> <Properties> <Property name="type" value="simulation"/> </Properties> </Pedestrian> </ScenarioObject> <ScenarioObject name="pedestrian_w_transform_23314"> <Pedestrian model="walker.pedestrian.0001" mass="80" name="walker.pedestrian.0001" pedestrianCategory="pedestrian"> <ParameterDeclarations/> <BoundingBox> <Center x="1.5" y="0.0" z="0.9"/> <Dimensions width="2" length="2" height="2"/> </BoundingBox> <Properties> <Property name="type" value="simulation"/> </Properties> </Pedestrian> </ScenarioObject> <ScenarioObject name="pedestrian_w_transform_23315"> <Pedestrian model="walker.pedestrian.0001" mass="80" name="walker.pedestrian.0001" pedestrianCategory="pedestrian"> <ParameterDeclarations/> <BoundingBox> <Center x="1.5" y="0.0" z="0.9"/> <Dimensions width="2" length="2" height="2"/> </BoundingBox> <Properties> <Property name="type" value="simulation"/> </Properties> </Pedestrian> </ScenarioObject> <ScenarioObject name="pedestrian_close_to_hero_23316"> <Pedestrian model="walker.pedestrian.0001" mass="80" name="walker.pedestrian.0001" pedestrianCategory="pedestrian"> <ParameterDeclarations/> <BoundingBox> <Center x="1.5" y="0.0" z="0.9"/> <Dimensions width="2" length="2" height="2"/> </BoundingBox> <Properties> <Property name="type" value="simulation"/> </Properties> </Pedestrian> </ScenarioObject> <ScenarioObject name="pedestrian_w_transform_23317"> <Pedestrian model="walker.pedestrian.0001" mass="80" name="walker.pedestrian.0001" pedestrianCategory="pedestrian"> <ParameterDeclarations/> <BoundingBox> <Center x="1.5" y="0.0" z="0.9"/> <Dimensions width="2" length="2" height="2"/> </BoundingBox> <Properties> <Property name="type" value="simulation"/> </Properties> </Pedestrian> </ScenarioObject> <ScenarioObject name="pedestrian_w_transform_23318"> <Pedestrian model="walker.pedestrian.0001" mass="80" name="walker.pedestrian.0001" pedestrianCategory="pedestrian"> <ParameterDeclarations/> <BoundingBox> <Center x="1.5" y="0.0" z="0.9"/> <Dimensions width="2" length="2" height="2"/> </BoundingBox> <Properties> <Property name="type" value="simulation"/> </Properties> </Pedestrian> </ScenarioObject> <ScenarioObject name="pedestrian_w_transform_23319"> <Pedestrian model="walker.pedestrian.0001" mass="80" name="walker.pedestrian.0001" pedestrianCategory="pedestrian"> <ParameterDeclarations/> <BoundingBox> <Center x="1.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_23310"> <PrivateAction> <TeleportAction> <Position> <WorldPosition x="-9.303168296813965" y="28.761465072631836" z="0.0030648421961814165"/> </Position> </TeleportAction> </PrivateAction> </Private> <Private entityRef="pedestrian_w_transform_23311"> <PrivateAction> <TeleportAction> <Position> <WorldPosition x="-30.601999282836914" y="33.30174255371094" z="0.5"/> </Position> </TeleportAction> </PrivateAction> </Private> <Private entityRef="pedestrian_w_transform_23312"> <PrivateAction> <TeleportAction> <Position> <WorldPosition x="31.902488708496094" y="-19.59165382385254" z="0.5"/> </Position> </TeleportAction> </PrivateAction> </Private> <Private entityRef="pedestrian_w_transform_23313"> <PrivateAction> <TeleportAction> <Position> <WorldPosition x="-70.58570861816406" y="57.02273941040039" z="0.5"/> </Position> </TeleportAction> </PrivateAction> </Private> <Private entityRef="pedestrian_w_transform_23314"> <PrivateAction> <TeleportAction> <Position> <WorldPosition x="36.68788146972656" y="92.16214752197266" z="0.5"/> </Position> </TeleportAction> </PrivateAction> </Private> <Private entityRef="pedestrian_w_transform_23315"> <PrivateAction> <TeleportAction> <Position> <WorldPosition x="-60.074623107910156" y="85.04335021972656" z="0.5"/> </Position> </TeleportAction> </PrivateAction> </Private> <Private entityRef="pedestrian_close_to_hero_23316"> <PrivateAction> <TeleportAction> <Position> <WorldPosition x="-9.137568473815918" y="-156.76223754882812" z="0.001423797570168972"/> </Position> </TeleportAction> </PrivateAction> </Private> <Private entityRef="pedestrian_w_transform_23317"> <PrivateAction> <TeleportAction> <Position> <WorldPosition x="-86.367919921875" y="-0.22504690289497375" z="0.5"/> </Position> </TeleportAction> </PrivateAction> </Private> <Private entityRef="pedestrian_w_transform_23318"> <PrivateAction> <TeleportAction> <Position> <WorldPosition x="-74.96868133544922" y="36.892250061035156" z="0.5"/> </Position> </TeleportAction> </PrivateAction> </Private> <Private entityRef="pedestrian_w_transform_23319"> <PrivateAction> <TeleportAction> <Position> <WorldPosition x="6.866099834442139" y="-63.96392059326172" 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> ```
could you add pedestrian at location (-76.36, 45.61, 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_15140"> <Pedestrian model="walker.pedestrian.0001" mass="80" name="walker.pedestrian.0001" pedestrianCategory="pedestrian"> <ParameterDeclarations/> <BoundingBox> <Center x="1.5" y="0.0" z="0.9"/> <Dimensions width="2" length="2" height="2"/> </BoundingBox> <Properties> <Property name="type" value="simulation"/> </Properties> </Pedestrian> </ScenarioObject> <ScenarioObject name="pedestrian_w_transform_15141"> <Pedestrian model="walker.pedestrian.0001" mass="80" name="walker.pedestrian.0001" pedestrianCategory="pedestrian"> <ParameterDeclarations/> <BoundingBox> <Center x="1.5" y="0.0" z="0.9"/> <Dimensions width="2" length="2" height="2"/> </BoundingBox> <Properties> <Property name="type" value="simulation"/> </Properties> </Pedestrian> </ScenarioObject> <ScenarioObject name="pedestrian_w_transform_15142"> <Pedestrian model="walker.pedestrian.0001" mass="80" name="walker.pedestrian.0001" pedestrianCategory="pedestrian"> <ParameterDeclarations/> <BoundingBox> <Center x="1.5" y="0.0" z="0.9"/> <Dimensions width="2" length="2" height="2"/> </BoundingBox> <Properties> <Property name="type" value="simulation"/> </Properties> </Pedestrian> </ScenarioObject> <ScenarioObject name="pedestrian_w_transform_15143"> <Pedestrian model="walker.pedestrian.0001" mass="80" name="walker.pedestrian.0001" pedestrianCategory="pedestrian"> <ParameterDeclarations/> <BoundingBox> <Center x="1.5" y="0.0" z="0.9"/> <Dimensions width="2" length="2" height="2"/> </BoundingBox> <Properties> <Property name="type" value="simulation"/> </Properties> </Pedestrian> </ScenarioObject> <ScenarioObject name="pedestrian_w_transform_15144"> <Pedestrian model="walker.pedestrian.0001" mass="80" name="walker.pedestrian.0001" pedestrianCategory="pedestrian"> <ParameterDeclarations/> <BoundingBox> <Center x="1.5" y="0.0" z="0.9"/> <Dimensions width="2" length="2" height="2"/> </BoundingBox> <Properties> <Property name="type" value="simulation"/> </Properties> </Pedestrian> </ScenarioObject> <ScenarioObject name="pedestrian_w_transform_15145"> <Pedestrian model="walker.pedestrian.0001" mass="80" name="walker.pedestrian.0001" pedestrianCategory="pedestrian"> <ParameterDeclarations/> <BoundingBox> <Center x="1.5" y="0.0" z="0.9"/> <Dimensions width="2" length="2" height="2"/> </BoundingBox> <Properties> <Property name="type" value="simulation"/> </Properties> </Pedestrian> </ScenarioObject> <ScenarioObject name="pedestrian_close_to_hero_15146"> <Pedestrian model="walker.pedestrian.0001" mass="80" name="walker.pedestrian.0001" pedestrianCategory="pedestrian"> <ParameterDeclarations/> <BoundingBox> <Center x="1.5" y="0.0" z="0.9"/> <Dimensions width="2" length="2" height="2"/> </BoundingBox> <Properties> <Property name="type" value="simulation"/> </Properties> </Pedestrian> </ScenarioObject> <ScenarioObject name="pedestrian_w_transform_15147"> <Pedestrian model="walker.pedestrian.0001" mass="80" name="walker.pedestrian.0001" pedestrianCategory="pedestrian"> <ParameterDeclarations/> <BoundingBox> <Center x="1.5" y="0.0" z="0.9"/> <Dimensions width="2" length="2" height="2"/> </BoundingBox> <Properties> <Property name="type" value="simulation"/> </Properties> </Pedestrian> </ScenarioObject> <ScenarioObject name="pedestrian_w_transform_15148"> <Pedestrian model="walker.pedestrian.0001" mass="80" name="walker.pedestrian.0001" pedestrianCategory="pedestrian"> <ParameterDeclarations/> <BoundingBox> <Center x="1.5" y="0.0" z="0.9"/> <Dimensions width="2" length="2" height="2"/> </BoundingBox> <Properties> <Property name="type" value="simulation"/> </Properties> </Pedestrian> </ScenarioObject> <ScenarioObject name="pedestrian_close_to_hero_15149"> <Pedestrian model="walker.pedestrian.0001" mass="80" name="walker.pedestrian.0001" pedestrianCategory="pedestrian"> <ParameterDeclarations/> <BoundingBox> <Center x="1.5" y="0.0" z="0.9"/> <Dimensions width="2" length="2" height="2"/> </BoundingBox> <Properties> <Property name="type" value="simulation"/> </Properties> </Pedestrian> </ScenarioObject> <ScenarioObject name="pedestrian_close_to_adversary_15150"> <Pedestrian model="walker.pedestrian.0001" mass="80" name="walker.pedestrian.0001" pedestrianCategory="pedestrian"> <ParameterDeclarations/> <BoundingBox> <Center x="1.5" y="0.0" z="0.9"/> <Dimensions width="2" length="2" height="2"/> </BoundingBox> <Properties> <Property name="type" value="simulation"/> </Properties> </Pedestrian> </ScenarioObject> <ScenarioObject name="pedestrian_close_to_standing_15151"> <Pedestrian model="walker.pedestrian.0001" mass="80" name="walker.pedestrian.0001" pedestrianCategory="pedestrian"> <ParameterDeclarations/> <BoundingBox> <Center x="1.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_15140"> <PrivateAction> <TeleportAction> <Position> <WorldPosition x="-6.746183395385742" y="31.81349754333496" z="0.0030942915473133326"/> </Position> </TeleportAction> </PrivateAction> </Private> <Private entityRef="pedestrian_w_transform_15141"> <PrivateAction> <TeleportAction> <Position> <WorldPosition x="27.07511329650879" y="14.933935165405273" z="0.5"/> </Position> </TeleportAction> </PrivateAction> </Private> <Private entityRef="pedestrian_w_transform_15142"> <PrivateAction> <TeleportAction> <Position> <WorldPosition x="3.1532535552978516" y="80.54679107666016" z="0.5"/> </Position> </TeleportAction> </PrivateAction> </Private> <Private entityRef="pedestrian_w_transform_15143"> <PrivateAction> <TeleportAction> <Position> <WorldPosition x="-51.89332580566406" y="-29.906564712524414" z="0.5"/> </Position> </TeleportAction> </PrivateAction> </Private> <Private entityRef="pedestrian_w_transform_15144"> <PrivateAction> <TeleportAction> <Position> <WorldPosition x="-37.37592315673828" y="5.44462776184082" z="0.5"/> </Position> </TeleportAction> </PrivateAction> </Private> <Private entityRef="pedestrian_w_transform_15145"> <PrivateAction> <TeleportAction> <Position> <WorldPosition x="-44.312923431396484" y="-47.113136291503906" z="0.5"/> </Position> </TeleportAction> </PrivateAction> </Private> <Private entityRef="pedestrian_close_to_hero_15146"> <PrivateAction> <TeleportAction> <Position> <WorldPosition x="-5.816307067871094" y="-154.6337432861328" z="0.001423797570168972"/> </Position> </TeleportAction> </PrivateAction> </Private> <Private entityRef="pedestrian_w_transform_15147"> <PrivateAction> <TeleportAction> <Position> <WorldPosition x="-14.317801475524902" y="86.85369110107422" z="0.5"/> </Position> </TeleportAction> </PrivateAction> </Private> <Private entityRef="pedestrian_w_transform_15148"> <PrivateAction> <TeleportAction> <Position> <WorldPosition x="-16.583045959472656" y="78.0237045288086" z="0.5"/> </Position> </TeleportAction> </PrivateAction> </Private> <Private entityRef="pedestrian_close_to_hero_15149"> <PrivateAction> <TeleportAction> <Position> <WorldPosition x="-18.90256118774414" y="-154.27420043945312" z="0.001423797570168972"/> </Position> </TeleportAction> </PrivateAction> </Private> <Private entityRef="pedestrian_close_to_adversary_15150"> <PrivateAction> <TeleportAction> <Position> <WorldPosition x="-5.959298133850098" y="-69.79507446289062" z="0.03377750143408775"/> </Position> </TeleportAction> </PrivateAction> </Private> <Private entityRef="pedestrian_close_to_standing_15151"> <PrivateAction> <TeleportAction> <Position> <WorldPosition x="-2.889436960220337" y="36.663394927978516" z="0.0030173873528838158"/> </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_15140"> <Pedestrian model="walker.pedestrian.0001" mass="80" name="walker.pedestrian.0001" pedestrianCategory="pedestrian"> <ParameterDeclarations/> <BoundingBox> <Center x="1.5" y="0.0" z="0.9"/> <Dimensions width="2" length="2" height="2"/> </BoundingBox> <Properties> <Property name="type" value="simulation"/> </Properties> </Pedestrian> </ScenarioObject> <ScenarioObject name="pedestrian_w_transform_15141"> <Pedestrian model="walker.pedestrian.0001" mass="80" name="walker.pedestrian.0001" pedestrianCategory="pedestrian"> <ParameterDeclarations/> <BoundingBox> <Center x="1.5" y="0.0" z="0.9"/> <Dimensions width="2" length="2" height="2"/> </BoundingBox> <Properties> <Property name="type" value="simulation"/> </Properties> </Pedestrian> </ScenarioObject> <ScenarioObject name="pedestrian_w_transform_15142"> <Pedestrian model="walker.pedestrian.0001" mass="80" name="walker.pedestrian.0001" pedestrianCategory="pedestrian"> <ParameterDeclarations/> <BoundingBox> <Center x="1.5" y="0.0" z="0.9"/> <Dimensions width="2" length="2" height="2"/> </BoundingBox> <Properties> <Property name="type" value="simulation"/> </Properties> </Pedestrian> </ScenarioObject> <ScenarioObject name="pedestrian_w_transform_15143"> <Pedestrian model="walker.pedestrian.0001" mass="80" name="walker.pedestrian.0001" pedestrianCategory="pedestrian"> <ParameterDeclarations/> <BoundingBox> <Center x="1.5" y="0.0" z="0.9"/> <Dimensions width="2" length="2" height="2"/> </BoundingBox> <Properties> <Property name="type" value="simulation"/> </Properties> </Pedestrian> </ScenarioObject> <ScenarioObject name="pedestrian_w_transform_15144"> <Pedestrian model="walker.pedestrian.0001" mass="80" name="walker.pedestrian.0001" pedestrianCategory="pedestrian"> <ParameterDeclarations/> <BoundingBox> <Center x="1.5" y="0.0" z="0.9"/> <Dimensions width="2" length="2" height="2"/> </BoundingBox> <Properties> <Property name="type" value="simulation"/> </Properties> </Pedestrian> </ScenarioObject> <ScenarioObject name="pedestrian_w_transform_15145"> <Pedestrian model="walker.pedestrian.0001" mass="80" name="walker.pedestrian.0001" pedestrianCategory="pedestrian"> <ParameterDeclarations/> <BoundingBox> <Center x="1.5" y="0.0" z="0.9"/> <Dimensions width="2" length="2" height="2"/> </BoundingBox> <Properties> <Property name="type" value="simulation"/> </Properties> </Pedestrian> </ScenarioObject> <ScenarioObject name="pedestrian_close_to_hero_15146"> <Pedestrian model="walker.pedestrian.0001" mass="80" name="walker.pedestrian.0001" pedestrianCategory="pedestrian"> <ParameterDeclarations/> <BoundingBox> <Center x="1.5" y="0.0" z="0.9"/> <Dimensions width="2" length="2" height="2"/> </BoundingBox> <Properties> <Property name="type" value="simulation"/> </Properties> </Pedestrian> </ScenarioObject> <ScenarioObject name="pedestrian_w_transform_15147"> <Pedestrian model="walker.pedestrian.0001" mass="80" name="walker.pedestrian.0001" pedestrianCategory="pedestrian"> <ParameterDeclarations/> <BoundingBox> <Center x="1.5" y="0.0" z="0.9"/> <Dimensions width="2" length="2" height="2"/> </BoundingBox> <Properties> <Property name="type" value="simulation"/> </Properties> </Pedestrian> </ScenarioObject> <ScenarioObject name="pedestrian_w_transform_15148"> <Pedestrian model="walker.pedestrian.0001" mass="80" name="walker.pedestrian.0001" pedestrianCategory="pedestrian"> <ParameterDeclarations/> <BoundingBox> <Center x="1.5" y="0.0" z="0.9"/> <Dimensions width="2" length="2" height="2"/> </BoundingBox> <Properties> <Property name="type" value="simulation"/> </Properties> </Pedestrian> </ScenarioObject> <ScenarioObject name="pedestrian_close_to_hero_15149"> <Pedestrian model="walker.pedestrian.0001" mass="80" name="walker.pedestrian.0001" pedestrianCategory="pedestrian"> <ParameterDeclarations/> <BoundingBox> <Center x="1.5" y="0.0" z="0.9"/> <Dimensions width="2" length="2" height="2"/> </BoundingBox> <Properties> <Property name="type" value="simulation"/> </Properties> </Pedestrian> </ScenarioObject> <ScenarioObject name="pedestrian_close_to_adversary_15150"> <Pedestrian model="walker.pedestrian.0001" mass="80" name="walker.pedestrian.0001" pedestrianCategory="pedestrian"> <ParameterDeclarations/> <BoundingBox> <Center x="1.5" y="0.0" z="0.9"/> <Dimensions width="2" length="2" height="2"/> </BoundingBox> <Properties> <Property name="type" value="simulation"/> </Properties> </Pedestrian> </ScenarioObject> <ScenarioObject name="pedestrian_close_to_standing_15151"> <Pedestrian model="walker.pedestrian.0001" mass="80" name="walker.pedestrian.0001" pedestrianCategory="pedestrian"> <ParameterDeclarations/> <BoundingBox> <Center x="1.5" y="0.0" z="0.9"/> <Dimensions width="2" length="2" height="2"/> </BoundingBox> <Properties> <Property name="type" value="simulation"/> </Properties> </Pedestrian> </ScenarioObject> <ScenarioObject name="pedestrian_w_transform_15152"> <Pedestrian model="walker.pedestrian.0001" mass="80" name="walker.pedestrian.0001" pedestrianCategory="pedestrian"> <ParameterDeclarations/> <BoundingBox> <Center x="1.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_15140"> <PrivateAction> <TeleportAction> <Position> <WorldPosition x="-6.746183395385742" y="31.81349754333496" z="0.0030942915473133326"/> </Position> </TeleportAction> </PrivateAction> </Private> <Private entityRef="pedestrian_w_transform_15141"> <PrivateAction> <TeleportAction> <Position> <WorldPosition x="27.07511329650879" y="14.933935165405273" z="0.5"/> </Position> </TeleportAction> </PrivateAction> </Private> <Private entityRef="pedestrian_w_transform_15142"> <PrivateAction> <TeleportAction> <Position> <WorldPosition x="3.1532535552978516" y="80.54679107666016" z="0.5"/> </Position> </TeleportAction> </PrivateAction> </Private> <Private entityRef="pedestrian_w_transform_15143"> <PrivateAction> <TeleportAction> <Position> <WorldPosition x="-51.89332580566406" y="-29.906564712524414" z="0.5"/> </Position> </TeleportAction> </PrivateAction> </Private> <Private entityRef="pedestrian_w_transform_15144"> <PrivateAction> <TeleportAction> <Position> <WorldPosition x="-37.37592315673828" y="5.44462776184082" z="0.5"/> </Position> </TeleportAction> </PrivateAction> </Private> <Private entityRef="pedestrian_w_transform_15145"> <PrivateAction> <TeleportAction> <Position> <WorldPosition x="-44.312923431396484" y="-47.113136291503906" z="0.5"/> </Position> </TeleportAction> </PrivateAction> </Private> <Private entityRef="pedestrian_close_to_hero_15146"> <PrivateAction> <TeleportAction> <Position> <WorldPosition x="-5.816307067871094" y="-154.6337432861328" z="0.001423797570168972"/> </Position> </TeleportAction> </PrivateAction> </Private> <Private entityRef="pedestrian_w_transform_15147"> <PrivateAction> <TeleportAction> <Position> <WorldPosition x="-14.317801475524902" y="86.85369110107422" z="0.5"/> </Position> </TeleportAction> </PrivateAction> </Private> <Private entityRef="pedestrian_w_transform_15148"> <PrivateAction> <TeleportAction> <Position> <WorldPosition x="-16.583045959472656" y="78.0237045288086" z="0.5"/> </Position> </TeleportAction> </PrivateAction> </Private> <Private entityRef="pedestrian_close_to_hero_15149"> <PrivateAction> <TeleportAction> <Position> <WorldPosition x="-18.90256118774414" y="-154.27420043945312" z="0.001423797570168972"/> </Position> </TeleportAction> </PrivateAction> </Private> <Private entityRef="pedestrian_close_to_adversary_15150"> <PrivateAction> <TeleportAction> <Position> <WorldPosition x="-5.959298133850098" y="-69.79507446289062" z="0.03377750143408775"/> </Position> </TeleportAction> </PrivateAction> </Private> <Private entityRef="pedestrian_close_to_standing_15151"> <PrivateAction> <TeleportAction> <Position> <WorldPosition x="-2.889436960220337" y="36.663394927978516" z="0.0030173873528838158"/> </Position> </TeleportAction> </PrivateAction> </Private> <Private entityRef="pedestrian_w_transform_15152"> <PrivateAction> <TeleportAction> <Position> <WorldPosition x="-76.36360168457031" y="45.61307907104492" 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 actor named pedestrian_close_to_hero_1386? ``` <?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_1384"> <Pedestrian model="walker.pedestrian.0001" mass="80" name="walker.pedestrian.0001" pedestrianCategory="pedestrian"> <ParameterDeclarations/> <BoundingBox> <Center x="1.5" y="0.0" z="0.9"/> <Dimensions width="2" length="2" height="2"/> </BoundingBox> <Properties> <Property name="type" value="simulation"/> </Properties> </Pedestrian> </ScenarioObject> <ScenarioObject name="pedestrian_w_transform_1385"> <Pedestrian model="walker.pedestrian.0001" mass="80" name="walker.pedestrian.0001" pedestrianCategory="pedestrian"> <ParameterDeclarations/> <BoundingBox> <Center x="1.5" y="0.0" z="0.9"/> <Dimensions width="2" length="2" height="2"/> </BoundingBox> <Properties> <Property name="type" value="simulation"/> </Properties> </Pedestrian> </ScenarioObject> <ScenarioObject name="pedestrian_close_to_hero_1386"> <Pedestrian model="walker.pedestrian.0001" mass="80" name="walker.pedestrian.0001" pedestrianCategory="pedestrian"> <ParameterDeclarations/> <BoundingBox> <Center x="1.5" y="0.0" z="0.9"/> <Dimensions width="2" length="2" height="2"/> </BoundingBox> <Properties> <Property name="type" value="simulation"/> </Properties> </Pedestrian> </ScenarioObject> <ScenarioObject name="pedestrian_w_transform_1387"> <Pedestrian model="walker.pedestrian.0001" mass="80" name="walker.pedestrian.0001" pedestrianCategory="pedestrian"> <ParameterDeclarations/> <BoundingBox> <Center x="1.5" y="0.0" z="0.9"/> <Dimensions width="2" length="2" height="2"/> </BoundingBox> <Properties> <Property name="type" value="simulation"/> </Properties> </Pedestrian> </ScenarioObject> <ScenarioObject name="pedestrian_w_transform_1388"> <Pedestrian model="walker.pedestrian.0001" mass="80" name="walker.pedestrian.0001" pedestrianCategory="pedestrian"> <ParameterDeclarations/> <BoundingBox> <Center x="1.5" y="0.0" z="0.9"/> <Dimensions width="2" length="2" height="2"/> </BoundingBox> <Properties> <Property name="type" value="simulation"/> </Properties> </Pedestrian> </ScenarioObject> <ScenarioObject name="pedestrian_w_transform_1389"> <Pedestrian model="walker.pedestrian.0001" mass="80" name="walker.pedestrian.0001" pedestrianCategory="pedestrian"> <ParameterDeclarations/> <BoundingBox> <Center x="1.5" y="0.0" z="0.9"/> <Dimensions width="2" length="2" height="2"/> </BoundingBox> <Properties> <Property name="type" value="simulation"/> </Properties> </Pedestrian> </ScenarioObject> <ScenarioObject name="pedestrian_close_to_hero_1390"> <Pedestrian model="walker.pedestrian.0001" mass="80" name="walker.pedestrian.0001" pedestrianCategory="pedestrian"> <ParameterDeclarations/> <BoundingBox> <Center x="1.5" y="0.0" z="0.9"/> <Dimensions width="2" length="2" height="2"/> </BoundingBox> <Properties> <Property name="type" value="simulation"/> </Properties> </Pedestrian> </ScenarioObject> <ScenarioObject name="pedestrian_w_transform_1391"> <Pedestrian model="walker.pedestrian.0001" mass="80" name="walker.pedestrian.0001" pedestrianCategory="pedestrian"> <ParameterDeclarations/> <BoundingBox> <Center x="1.5" y="0.0" z="0.9"/> <Dimensions width="2" length="2" height="2"/> </BoundingBox> <Properties> <Property name="type" value="simulation"/> </Properties> </Pedestrian> </ScenarioObject> <ScenarioObject name="pedestrian_close_to_adversary_1392"> <Pedestrian model="walker.pedestrian.0001" mass="80" name="walker.pedestrian.0001" pedestrianCategory="pedestrian"> <ParameterDeclarations/> <BoundingBox> <Center x="1.5" y="0.0" z="0.9"/> <Dimensions width="2" length="2" height="2"/> </BoundingBox> <Properties> <Property name="type" value="simulation"/> </Properties> </Pedestrian> </ScenarioObject> <ScenarioObject name="pedestrian_close_to_hero_1393"> <Pedestrian model="walker.pedestrian.0001" mass="80" name="walker.pedestrian.0001" pedestrianCategory="pedestrian"> <ParameterDeclarations/> <BoundingBox> <Center x="1.5" y="0.0" z="0.9"/> <Dimensions width="2" length="2" height="2"/> </BoundingBox> <Properties> <Property name="type" value="simulation"/> </Properties> </Pedestrian> </ScenarioObject> <ScenarioObject name="pedestrian_close_to_adversary_1395"> <Pedestrian model="walker.pedestrian.0001" mass="80" name="walker.pedestrian.0001" pedestrianCategory="pedestrian"> <ParameterDeclarations/> <BoundingBox> <Center x="1.5" y="0.0" z="0.9"/> <Dimensions width="2" length="2" height="2"/> </BoundingBox> <Properties> <Property name="type" value="simulation"/> </Properties> </Pedestrian> </ScenarioObject> <ScenarioObject name="pedestrian_w_transform_1396"> <Pedestrian model="walker.pedestrian.0001" mass="80" name="walker.pedestrian.0001" pedestrianCategory="pedestrian"> <ParameterDeclarations/> <BoundingBox> <Center x="1.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_1384"> <PrivateAction> <TeleportAction> <Position> <WorldPosition x="-6.607243061065674" y="-163.9185028076172" z="0.0013900374760851264"/> </Position> </TeleportAction> </PrivateAction> </Private> <Private entityRef="pedestrian_w_transform_1385"> <PrivateAction> <TeleportAction> <Position> <WorldPosition x="8.964492797851562" y="72.339599609375" z="0.5"/> </Position> </TeleportAction> </PrivateAction> </Private> <Private entityRef="pedestrian_close_to_hero_1386"> <PrivateAction> <TeleportAction> <Position> <WorldPosition x="-61.52401351928711" y="-112.81497955322266" z="0.0013900374760851264"/> </Position> </TeleportAction> </PrivateAction> </Private> <Private entityRef="pedestrian_w_transform_1387"> <PrivateAction> <TeleportAction> <Position> <WorldPosition x="-28.563840866088867" y="67.81929779052734" z="0.5"/> </Position> </TeleportAction> </PrivateAction> </Private> <Private entityRef="pedestrian_w_transform_1388"> <PrivateAction> <TeleportAction> <Position> <WorldPosition x="-64.60169982910156" y="-10.85397720336914" z="0.5"/> </Position> </TeleportAction> </PrivateAction> </Private> <Private entityRef="pedestrian_w_transform_1389"> <PrivateAction> <TeleportAction> <Position> <WorldPosition x="-90.45838165283203" y="-91.72514343261719" z="0.5"/> </Position> </TeleportAction> </PrivateAction> </Private> <Private entityRef="pedestrian_close_to_hero_1390"> <PrivateAction> <TeleportAction> <Position> <WorldPosition x="-1.766859531402588" y="-161.52442932128906" z="0.0013900374760851264"/> </Position> </TeleportAction> </PrivateAction> </Private> <Private entityRef="pedestrian_w_transform_1391"> <PrivateAction> <TeleportAction> <Position> <WorldPosition x="23.035818099975586" y="-83.33757019042969" z="0.5"/> </Position> </TeleportAction> </PrivateAction> </Private> <Private entityRef="pedestrian_close_to_adversary_1392"> <PrivateAction> <TeleportAction> <Position> <WorldPosition x="-12.517400741577148" y="-69.04338073730469" z="0.03385230898857117"/> </Position> </TeleportAction> </PrivateAction> </Private> <Private entityRef="pedestrian_close_to_hero_1393"> <PrivateAction> <TeleportAction> <Position> <WorldPosition x="-13.9605131149292" y="-156.82476806640625" z="0.0013900374760851264"/> </Position> </TeleportAction> </PrivateAction> </Private> <Private entityRef="pedestrian_close_to_adversary_1395"> <PrivateAction> <TeleportAction> <Position> <WorldPosition x="-9.056794166564941" y="-78.63040161132812" z="0.03374290466308594"/> </Position> </TeleportAction> </PrivateAction> </Private> <Private entityRef="pedestrian_w_transform_1396"> <PrivateAction> <TeleportAction> <Position> <WorldPosition x="-50.14906692504883" y="-43.710636138916016" 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_1384"> <Pedestrian model="walker.pedestrian.0001" mass="80" name="walker.pedestrian.0001" pedestrianCategory="pedestrian"> <ParameterDeclarations/> <BoundingBox> <Center x="1.5" y="0.0" z="0.9"/> <Dimensions width="2" length="2" height="2"/> </BoundingBox> <Properties> <Property name="type" value="simulation"/> </Properties> </Pedestrian> </ScenarioObject> <ScenarioObject name="pedestrian_w_transform_1385"> <Pedestrian model="walker.pedestrian.0001" mass="80" name="walker.pedestrian.0001" pedestrianCategory="pedestrian"> <ParameterDeclarations/> <BoundingBox> <Center x="1.5" y="0.0" z="0.9"/> <Dimensions width="2" length="2" height="2"/> </BoundingBox> <Properties> <Property name="type" value="simulation"/> </Properties> </Pedestrian> </ScenarioObject> <ScenarioObject name="pedestrian_w_transform_1387"> <Pedestrian model="walker.pedestrian.0001" mass="80" name="walker.pedestrian.0001" pedestrianCategory="pedestrian"> <ParameterDeclarations/> <BoundingBox> <Center x="1.5" y="0.0" z="0.9"/> <Dimensions width="2" length="2" height="2"/> </BoundingBox> <Properties> <Property name="type" value="simulation"/> </Properties> </Pedestrian> </ScenarioObject> <ScenarioObject name="pedestrian_w_transform_1388"> <Pedestrian model="walker.pedestrian.0001" mass="80" name="walker.pedestrian.0001" pedestrianCategory="pedestrian"> <ParameterDeclarations/> <BoundingBox> <Center x="1.5" y="0.0" z="0.9"/> <Dimensions width="2" length="2" height="2"/> </BoundingBox> <Properties> <Property name="type" value="simulation"/> </Properties> </Pedestrian> </ScenarioObject> <ScenarioObject name="pedestrian_w_transform_1389"> <Pedestrian model="walker.pedestrian.0001" mass="80" name="walker.pedestrian.0001" pedestrianCategory="pedestrian"> <ParameterDeclarations/> <BoundingBox> <Center x="1.5" y="0.0" z="0.9"/> <Dimensions width="2" length="2" height="2"/> </BoundingBox> <Properties> <Property name="type" value="simulation"/> </Properties> </Pedestrian> </ScenarioObject> <ScenarioObject name="pedestrian_close_to_hero_1390"> <Pedestrian model="walker.pedestrian.0001" mass="80" name="walker.pedestrian.0001" pedestrianCategory="pedestrian"> <ParameterDeclarations/> <BoundingBox> <Center x="1.5" y="0.0" z="0.9"/> <Dimensions width="2" length="2" height="2"/> </BoundingBox> <Properties> <Property name="type" value="simulation"/> </Properties> </Pedestrian> </ScenarioObject> <ScenarioObject name="pedestrian_w_transform_1391"> <Pedestrian model="walker.pedestrian.0001" mass="80" name="walker.pedestrian.0001" pedestrianCategory="pedestrian"> <ParameterDeclarations/> <BoundingBox> <Center x="1.5" y="0.0" z="0.9"/> <Dimensions width="2" length="2" height="2"/> </BoundingBox> <Properties> <Property name="type" value="simulation"/> </Properties> </Pedestrian> </ScenarioObject> <ScenarioObject name="pedestrian_close_to_adversary_1392"> <Pedestrian model="walker.pedestrian.0001" mass="80" name="walker.pedestrian.0001" pedestrianCategory="pedestrian"> <ParameterDeclarations/> <BoundingBox> <Center x="1.5" y="0.0" z="0.9"/> <Dimensions width="2" length="2" height="2"/> </BoundingBox> <Properties> <Property name="type" value="simulation"/> </Properties> </Pedestrian> </ScenarioObject> <ScenarioObject name="pedestrian_close_to_hero_1393"> <Pedestrian model="walker.pedestrian.0001" mass="80" name="walker.pedestrian.0001" pedestrianCategory="pedestrian"> <ParameterDeclarations/> <BoundingBox> <Center x="1.5" y="0.0" z="0.9"/> <Dimensions width="2" length="2" height="2"/> </BoundingBox> <Properties> <Property name="type" value="simulation"/> </Properties> </Pedestrian> </ScenarioObject> <ScenarioObject name="pedestrian_close_to_adversary_1395"> <Pedestrian model="walker.pedestrian.0001" mass="80" name="walker.pedestrian.0001" pedestrianCategory="pedestrian"> <ParameterDeclarations/> <BoundingBox> <Center x="1.5" y="0.0" z="0.9"/> <Dimensions width="2" length="2" height="2"/> </BoundingBox> <Properties> <Property name="type" value="simulation"/> </Properties> </Pedestrian> </ScenarioObject> <ScenarioObject name="pedestrian_w_transform_1396"> <Pedestrian model="walker.pedestrian.0001" mass="80" name="walker.pedestrian.0001" pedestrianCategory="pedestrian"> <ParameterDeclarations/> <BoundingBox> <Center x="1.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_1384"> <PrivateAction> <TeleportAction> <Position> <WorldPosition x="-6.607243061065674" y="-163.9185028076172" z="0.0013900374760851264"/> </Position> </TeleportAction> </PrivateAction> </Private> <Private entityRef="pedestrian_w_transform_1385"> <PrivateAction> <TeleportAction> <Position> <WorldPosition x="8.964492797851562" y="72.339599609375" z="0.5"/> </Position> </TeleportAction> </PrivateAction> </Private> <Private entityRef="pedestrian_w_transform_1387"> <PrivateAction> <TeleportAction> <Position> <WorldPosition x="-28.563840866088867" y="67.81929779052734" z="0.5"/> </Position> </TeleportAction> </PrivateAction> </Private> <Private entityRef="pedestrian_w_transform_1388"> <PrivateAction> <TeleportAction> <Position> <WorldPosition x="-64.60169982910156" y="-10.85397720336914" z="0.5"/> </Position> </TeleportAction> </PrivateAction> </Private> <Private entityRef="pedestrian_w_transform_1389"> <PrivateAction> <TeleportAction> <Position> <WorldPosition x="-90.45838165283203" y="-91.72514343261719" z="0.5"/> </Position> </TeleportAction> </PrivateAction> </Private> <Private entityRef="pedestrian_close_to_hero_1390"> <PrivateAction> <TeleportAction> <Position> <WorldPosition x="-1.766859531402588" y="-161.52442932128906" z="0.0013900374760851264"/> </Position> </TeleportAction> </PrivateAction> </Private> <Private entityRef="pedestrian_w_transform_1391"> <PrivateAction> <TeleportAction> <Position> <WorldPosition x="23.035818099975586" y="-83.33757019042969" z="0.5"/> </Position> </TeleportAction> </PrivateAction> </Private> <Private entityRef="pedestrian_close_to_adversary_1392"> <PrivateAction> <TeleportAction> <Position> <WorldPosition x="-12.517400741577148" y="-69.04338073730469" z="0.03385230898857117"/> </Position> </TeleportAction> </PrivateAction> </Private> <Private entityRef="pedestrian_close_to_hero_1393"> <PrivateAction> <TeleportAction> <Position> <WorldPosition x="-13.9605131149292" y="-156.82476806640625" z="0.0013900374760851264"/> </Position> </TeleportAction> </PrivateAction> </Private> <Private entityRef="pedestrian_close_to_adversary_1395"> <PrivateAction> <TeleportAction> <Position> <WorldPosition x="-9.056794166564941" y="-78.63040161132812" z="0.03374290466308594"/> </Position> </TeleportAction> </PrivateAction> </Private> <Private entityRef="pedestrian_w_transform_1396"> <PrivateAction> <TeleportAction> <Position> <WorldPosition x="-50.14906692504883" y="-43.710636138916016" 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_standing_28047"> <Pedestrian model="walker.pedestrian.0001" mass="80" name="walker.pedestrian.0001" pedestrianCategory="pedestrian"> <ParameterDeclarations/> <BoundingBox> <Center x="1.5" y="0.0" z="0.9"/> <Dimensions width="2" length="2" height="2"/> </BoundingBox> <Properties> <Property name="type" value="simulation"/> </Properties> </Pedestrian> </ScenarioObject> <ScenarioObject name="pedestrian_close_to_hero_28048"> <Pedestrian model="walker.pedestrian.0001" mass="80" name="walker.pedestrian.0001" pedestrianCategory="pedestrian"> <ParameterDeclarations/> <BoundingBox> <Center x="1.5" y="0.0" z="0.9"/> <Dimensions width="2" length="2" height="2"/> </BoundingBox> <Properties> <Property name="type" value="simulation"/> </Properties> </Pedestrian> </ScenarioObject> <ScenarioObject name="pedestrian_close_to_adversary_28049"> <Pedestrian model="walker.pedestrian.0001" mass="80" name="walker.pedestrian.0001" pedestrianCategory="pedestrian"> <ParameterDeclarations/> <BoundingBox> <Center x="1.5" y="0.0" z="0.9"/> <Dimensions width="2" length="2" height="2"/> </BoundingBox> <Properties> <Property name="type" value="simulation"/> </Properties> </Pedestrian> </ScenarioObject> <ScenarioObject name="pedestrian_w_transform_28050"> <Pedestrian model="walker.pedestrian.0001" mass="80" name="walker.pedestrian.0001" pedestrianCategory="pedestrian"> <ParameterDeclarations/> <BoundingBox> <Center x="1.5" y="0.0" z="0.9"/> <Dimensions width="2" length="2" height="2"/> </BoundingBox> <Properties> <Property name="type" value="simulation"/> </Properties> </Pedestrian> </ScenarioObject> <ScenarioObject name="pedestrian_w_transform_28051"> <Pedestrian model="walker.pedestrian.0001" mass="80" name="walker.pedestrian.0001" pedestrianCategory="pedestrian"> <ParameterDeclarations/> <BoundingBox> <Center x="1.5" y="0.0" z="0.9"/> <Dimensions width="2" length="2" height="2"/> </BoundingBox> <Properties> <Property name="type" value="simulation"/> </Properties> </Pedestrian> </ScenarioObject> <ScenarioObject name="pedestrian_close_to_adversary_28052"> <Pedestrian model="walker.pedestrian.0001" mass="80" name="walker.pedestrian.0001" pedestrianCategory="pedestrian"> <ParameterDeclarations/> <BoundingBox> <Center x="1.5" y="0.0" z="0.9"/> <Dimensions width="2" length="2" height="2"/> </BoundingBox> <Properties> <Property name="type" value="simulation"/> </Properties> </Pedestrian> </ScenarioObject> <ScenarioObject name="pedestrian_close_to_standing_28053"> <Pedestrian model="walker.pedestrian.0001" mass="80" name="walker.pedestrian.0001" pedestrianCategory="pedestrian"> <ParameterDeclarations/> <BoundingBox> <Center x="1.5" y="0.0" z="0.9"/> <Dimensions width="2" length="2" height="2"/> </BoundingBox> <Properties> <Property name="type" value="simulation"/> </Properties> </Pedestrian> </ScenarioObject> <ScenarioObject name="pedestrian_w_transform_28054"> <Pedestrian model="walker.pedestrian.0001" mass="80" name="walker.pedestrian.0001" pedestrianCategory="pedestrian"> <ParameterDeclarations/> <BoundingBox> <Center x="1.5" y="0.0" z="0.9"/> <Dimensions width="2" length="2" height="2"/> </BoundingBox> <Properties> <Property name="type" value="simulation"/> </Properties> </Pedestrian> </ScenarioObject> <ScenarioObject name="pedestrian_close_to_hero_28055"> <Pedestrian model="walker.pedestrian.0001" mass="80" name="walker.pedestrian.0001" pedestrianCategory="pedestrian"> <ParameterDeclarations/> <BoundingBox> <Center x="1.5" y="0.0" z="0.9"/> <Dimensions width="2" length="2" height="2"/> </BoundingBox> <Properties> <Property name="type" value="simulation"/> </Properties> </Pedestrian> </ScenarioObject> <ScenarioObject name="pedestrian_close_to_adversary_28056"> <Pedestrian model="walker.pedestrian.0001" mass="80" name="walker.pedestrian.0001" pedestrianCategory="pedestrian"> <ParameterDeclarations/> <BoundingBox> <Center x="1.5" y="0.0" z="0.9"/> <Dimensions width="2" length="2" height="2"/> </BoundingBox> <Properties> <Property name="type" value="simulation"/> </Properties> </Pedestrian> </ScenarioObject> <ScenarioObject name="pedestrian_close_to_standing_28057"> <Pedestrian model="walker.pedestrian.0001" mass="80" name="walker.pedestrian.0001" pedestrianCategory="pedestrian"> <ParameterDeclarations/> <BoundingBox> <Center x="1.5" y="0.0" z="0.9"/> <Dimensions width="2" length="2" height="2"/> </BoundingBox> <Properties> <Property name="type" value="simulation"/> </Properties> </Pedestrian> </ScenarioObject> <ScenarioObject name="pedestrian_w_transform_28058"> <Pedestrian model="walker.pedestrian.0001" mass="80" name="walker.pedestrian.0001" pedestrianCategory="pedestrian"> <ParameterDeclarations/> <BoundingBox> <Center x="1.5" y="0.0" z="0.9"/> <Dimensions width="2" length="2" height="2"/> </BoundingBox> <Properties> <Property name="type" value="simulation"/> </Properties> </Pedestrian> </ScenarioObject> <ScenarioObject name="pedestrian_w_transform_28059"> <Pedestrian model="walker.pedestrian.0001" mass="80" name="walker.pedestrian.0001" pedestrianCategory="pedestrian"> <ParameterDeclarations/> <BoundingBox> <Center x="1.5" y="0.0" z="0.9"/> <Dimensions width="2" length="2" height="2"/> </BoundingBox> <Properties> <Property name="type" value="simulation"/> </Properties> </Pedestrian> </ScenarioObject> <ScenarioObject name="pedestrian_close_to_standing_28060"> <Pedestrian model="walker.pedestrian.0001" mass="80" name="walker.pedestrian.0001" pedestrianCategory="pedestrian"> <ParameterDeclarations/> <BoundingBox> <Center x="1.5" y="0.0" z="0.9"/> <Dimensions width="2" length="2" height="2"/> </BoundingBox> <Properties> <Property name="type" value="simulation"/> </Properties> </Pedestrian> </ScenarioObject> <ScenarioObject name="pedestrian_w_transform_28061"> <Pedestrian model="walker.pedestrian.0001" mass="80" name="walker.pedestrian.0001" pedestrianCategory="pedestrian"> <ParameterDeclarations/> <BoundingBox> <Center x="1.5" y="0.0" z="0.9"/> <Dimensions width="2" length="2" height="2"/> </BoundingBox> <Properties> <Property name="type" value="simulation"/> </Properties> </Pedestrian> </ScenarioObject> <ScenarioObject name="pedestrian_w_transform_28062"> <Pedestrian model="walker.pedestrian.0001" mass="80" name="walker.pedestrian.0001" pedestrianCategory="pedestrian"> <ParameterDeclarations/> <BoundingBox> <Center x="1.5" y="0.0" z="0.9"/> <Dimensions width="2" length="2" height="2"/> </BoundingBox> <Properties> <Property name="type" value="simulation"/> </Properties> </Pedestrian> </ScenarioObject> <ScenarioObject name="pedestrian_w_transform_28063"> <Pedestrian model="walker.pedestrian.0001" mass="80" name="walker.pedestrian.0001" pedestrianCategory="pedestrian"> <ParameterDeclarations/> <BoundingBox> <Center x="1.5" y="0.0" z="0.9"/> <Dimensions width="2" length="2" height="2"/> </BoundingBox> <Properties> <Property name="type" value="simulation"/> </Properties> </Pedestrian> </ScenarioObject> <ScenarioObject name="pedestrian_close_to_standing_28064"> <Pedestrian model="walker.pedestrian.0001" mass="80" name="walker.pedestrian.0001" pedestrianCategory="pedestrian"> <ParameterDeclarations/> <BoundingBox> <Center x="1.5" y="0.0" z="0.9"/> <Dimensions width="2" length="2" height="2"/> </BoundingBox> <Properties> <Property name="type" value="simulation"/> </Properties> </Pedestrian> </ScenarioObject> <ScenarioObject name="pedestrian_w_transform_28065"> <Pedestrian model="walker.pedestrian.0001" mass="80" name="walker.pedestrian.0001" pedestrianCategory="pedestrian"> <ParameterDeclarations/> <BoundingBox> <Center x="1.5" y="0.0" z="0.9"/> <Dimensions width="2" length="2" height="2"/> </BoundingBox> <Properties> <Property name="type" value="simulation"/> </Properties> </Pedestrian> </ScenarioObject> <ScenarioObject name="pedestrian_close_to_hero_28068"> <Pedestrian model="walker.pedestrian.0001" mass="80" name="walker.pedestrian.0001" pedestrianCategory="pedestrian"> <ParameterDeclarations/> <BoundingBox> <Center x="1.5" y="0.0" z="0.9"/> <Dimensions width="2" length="2" height="2"/> </BoundingBox> <Properties> <Property name="type" value="simulation"/> </Properties> </Pedestrian> </ScenarioObject> <ScenarioObject name="pedestrian_w_transform_28069"> <Pedestrian model="walker.pedestrian.0001" mass="80" name="walker.pedestrian.0001" pedestrianCategory="pedestrian"> <ParameterDeclarations/> <BoundingBox> <Center x="1.5" y="0.0" z="0.9"/> <Dimensions width="2" length="2" height="2"/> </BoundingBox> <Properties> <Property name="type" value="simulation"/> </Properties> </Pedestrian> </ScenarioObject> <ScenarioObject name="pedestrian_w_transform_28070"> <Pedestrian model="walker.pedestrian.0001" mass="80" name="walker.pedestrian.0001" pedestrianCategory="pedestrian"> <ParameterDeclarations/> <BoundingBox> <Center x="1.5" y="0.0" z="0.9"/> <Dimensions width="2" length="2" height="2"/> </BoundingBox> <Properties> <Property name="type" value="simulation"/> </Properties> </Pedestrian> </ScenarioObject> <ScenarioObject name="pedestrian_close_to_hero_28071"> <Pedestrian model="walker.pedestrian.0001" mass="80" name="walker.pedestrian.0001" pedestrianCategory="pedestrian"> <ParameterDeclarations/> <BoundingBox> <Center x="1.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_28047"> <PrivateAction> <TeleportAction> <Position> <WorldPosition x="-13.927652359008789" y="28.854124069213867" z="0.0031062315683811903"/> </Position> </TeleportAction> </PrivateAction> </Private> <Private entityRef="pedestrian_close_to_hero_28048"> <PrivateAction> <TeleportAction> <Position> <WorldPosition x="-9.435404777526855" y="-143.28939819335938" z="0.0014652633108198643"/> </Position> </TeleportAction> </PrivateAction> </Private> <Private entityRef="pedestrian_close_to_adversary_28049"> <PrivateAction> <TeleportAction> <Position> <WorldPosition x="7.801913261413574" y="-79.43204498291016" z="0.0338405966758728"/> </Position> </TeleportAction> </PrivateAction> </Private> <Private entityRef="pedestrian_w_transform_28050"> <PrivateAction> <TeleportAction> <Position> <WorldPosition x="60.75823211669922" y="72.4695053100586" z="0.5"/> </Position> </TeleportAction> </PrivateAction> </Private> <Private entityRef="pedestrian_w_transform_28051"> <PrivateAction> <TeleportAction> <Position> <WorldPosition x="-62.27976989746094" y="94.24174499511719" z="0.5"/> </Position> </TeleportAction> </PrivateAction> </Private> <Private entityRef="pedestrian_close_to_adversary_28052"> <PrivateAction> <TeleportAction> <Position> <WorldPosition x="-5.440444469451904" y="-72.7054443359375" z="0.033792417496442795"/> </Position> </TeleportAction> </PrivateAction> </Private> <Private entityRef="pedestrian_close_to_standing_28053"> <PrivateAction> <TeleportAction> <Position> <WorldPosition x="-5.305864334106445" y="24.989839553833008" z="0.0030678939074277878"/> </Position> </TeleportAction> </PrivateAction> </Private> <Private entityRef="pedestrian_w_transform_28054"> <PrivateAction> <TeleportAction> <Position> <WorldPosition x="-99.18537139892578" y="38.23195266723633" z="0.5"/> </Position> </TeleportAction> </PrivateAction> </Private> <Private entityRef="pedestrian_close_to_hero_28055"> <PrivateAction> <TeleportAction> <Position> <WorldPosition x="-6.468256950378418" y="-150.76486206054688" z="0.0014652633108198643"/> </Position> </TeleportAction> </PrivateAction> </Private> <Private entityRef="pedestrian_close_to_adversary_28056"> <PrivateAction> <TeleportAction> <Position> <WorldPosition x="-5.528721332550049" y="-65.48456573486328" z="0.03381606936454773"/> </Position> </TeleportAction> </PrivateAction> </Private> <Private entityRef="pedestrian_close_to_standing_28057"> <PrivateAction> <TeleportAction> <Position> <WorldPosition x="-9.272955894470215" y="25.11905288696289" z="0.003103790106251836"/> </Position> </TeleportAction> </PrivateAction> </Private> <Private entityRef="pedestrian_w_transform_28058"> <PrivateAction> <TeleportAction> <Position> <WorldPosition x="80.27561950683594" y="49.11677169799805" z="0.5"/> </Position> </TeleportAction> </PrivateAction> </Private> <Private entityRef="pedestrian_w_transform_28059"> <PrivateAction> <TeleportAction> <Position> <WorldPosition x="6.266435146331787" y="85.76424407958984" z="0.5"/> </Position> </TeleportAction> </PrivateAction> </Private> <Private entityRef="pedestrian_close_to_standing_28060"> <PrivateAction> <TeleportAction> <Position> <WorldPosition x="-16.861618041992188" y="26.13831901550293" z="0.003080177353695035"/> </Position> </TeleportAction> </PrivateAction> </Private> <Private entityRef="pedestrian_w_transform_28061"> <PrivateAction> <TeleportAction> <Position> <WorldPosition x="-75.4417495727539" y="-41.94162368774414" z="0.5"/> </Position> </TeleportAction> </PrivateAction> </Private> <Private entityRef="pedestrian_w_transform_28062"> <PrivateAction> <TeleportAction> <Position> <WorldPosition x="-40.05698013305664" y="92.3105697631836" z="0.5"/> </Position> </TeleportAction> </PrivateAction> </Private> <Private entityRef="pedestrian_w_transform_28063"> <PrivateAction> <TeleportAction> <Position> <WorldPosition x="-67.40636444091797" y="-52.105167388916016" z="0.5"/> </Position> </TeleportAction> </PrivateAction> </Private> <Private entityRef="pedestrian_close_to_standing_28064"> <PrivateAction> <TeleportAction> <Position> <WorldPosition x="-16.556367874145508" y="30.620988845825195" z="0.0030448532197624445"/> </Position> </TeleportAction> </PrivateAction> </Private> <Private entityRef="pedestrian_w_transform_28065"> <PrivateAction> <TeleportAction> <Position> <WorldPosition x="88.05480194091797" y="-41.71900177001953" z="0.5"/> </Position> </TeleportAction> </PrivateAction> </Private> <Private entityRef="pedestrian_close_to_hero_28068"> <PrivateAction> <TeleportAction> <Position> <WorldPosition x="-9.61147689819336" y="-159.10855102539062" z="0.0014652633108198643"/> </Position> </TeleportAction> </PrivateAction> </Private> <Private entityRef="pedestrian_w_transform_28069"> <PrivateAction> <TeleportAction> <Position> <WorldPosition x="74.56511688232422" y="4.267163276672363" z="0.5"/> </Position> </TeleportAction> </PrivateAction> </Private> <Private entityRef="pedestrian_w_transform_28070"> <PrivateAction> <TeleportAction> <Position> <WorldPosition x="29.789587020874023" y="45.606266021728516" z="0.5"/> </Position> </TeleportAction> </PrivateAction> </Private> <Private entityRef="pedestrian_close_to_hero_28071"> <PrivateAction> <TeleportAction> <Position> <WorldPosition x="-6.533568382263184" y="-149.18301391601562" z="0.0014652633108198643"/> </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_28047"> <Pedestrian model="walker.pedestrian.0001" mass="80" name="walker.pedestrian.0001" pedestrianCategory="pedestrian"> <ParameterDeclarations/> <BoundingBox> <Center x="1.5" y="0.0" z="0.9"/> <Dimensions width="2" length="2" height="2"/> </BoundingBox> <Properties> <Property name="type" value="simulation"/> </Properties> </Pedestrian> </ScenarioObject> <ScenarioObject name="pedestrian_close_to_hero_28048"> <Pedestrian model="walker.pedestrian.0001" mass="80" name="walker.pedestrian.0001" pedestrianCategory="pedestrian"> <ParameterDeclarations/> <BoundingBox> <Center x="1.5" y="0.0" z="0.9"/> <Dimensions width="2" length="2" height="2"/> </BoundingBox> <Properties> <Property name="type" value="simulation"/> </Properties> </Pedestrian> </ScenarioObject> <ScenarioObject name="pedestrian_close_to_adversary_28049"> <Pedestrian model="walker.pedestrian.0001" mass="80" name="walker.pedestrian.0001" pedestrianCategory="pedestrian"> <ParameterDeclarations/> <BoundingBox> <Center x="1.5" y="0.0" z="0.9"/> <Dimensions width="2" length="2" height="2"/> </BoundingBox> <Properties> <Property name="type" value="simulation"/> </Properties> </Pedestrian> </ScenarioObject> <ScenarioObject name="pedestrian_w_transform_28050"> <Pedestrian model="walker.pedestrian.0001" mass="80" name="walker.pedestrian.0001" pedestrianCategory="pedestrian"> <ParameterDeclarations/> <BoundingBox> <Center x="1.5" y="0.0" z="0.9"/> <Dimensions width="2" length="2" height="2"/> </BoundingBox> <Properties> <Property name="type" value="simulation"/> </Properties> </Pedestrian> </ScenarioObject> <ScenarioObject name="pedestrian_w_transform_28051"> <Pedestrian model="walker.pedestrian.0001" mass="80" name="walker.pedestrian.0001" pedestrianCategory="pedestrian"> <ParameterDeclarations/> <BoundingBox> <Center x="1.5" y="0.0" z="0.9"/> <Dimensions width="2" length="2" height="2"/> </BoundingBox> <Properties> <Property name="type" value="simulation"/> </Properties> </Pedestrian> </ScenarioObject> <ScenarioObject name="pedestrian_close_to_adversary_28052"> <Pedestrian model="walker.pedestrian.0001" mass="80" name="walker.pedestrian.0001" pedestrianCategory="pedestrian"> <ParameterDeclarations/> <BoundingBox> <Center x="1.5" y="0.0" z="0.9"/> <Dimensions width="2" length="2" height="2"/> </BoundingBox> <Properties> <Property name="type" value="simulation"/> </Properties> </Pedestrian> </ScenarioObject> <ScenarioObject name="pedestrian_close_to_standing_28053"> <Pedestrian model="walker.pedestrian.0001" mass="80" name="walker.pedestrian.0001" pedestrianCategory="pedestrian"> <ParameterDeclarations/> <BoundingBox> <Center x="1.5" y="0.0" z="0.9"/> <Dimensions width="2" length="2" height="2"/> </BoundingBox> <Properties> <Property name="type" value="simulation"/> </Properties> </Pedestrian> </ScenarioObject> <ScenarioObject name="pedestrian_w_transform_28054"> <Pedestrian model="walker.pedestrian.0001" mass="80" name="walker.pedestrian.0001" pedestrianCategory="pedestrian"> <ParameterDeclarations/> <BoundingBox> <Center x="1.5" y="0.0" z="0.9"/> <Dimensions width="2" length="2" height="2"/> </BoundingBox> <Properties> <Property name="type" value="simulation"/> </Properties> </Pedestrian> </ScenarioObject> <ScenarioObject name="pedestrian_close_to_hero_28055"> <Pedestrian model="walker.pedestrian.0001" mass="80" name="walker.pedestrian.0001" pedestrianCategory="pedestrian"> <ParameterDeclarations/> <BoundingBox> <Center x="1.5" y="0.0" z="0.9"/> <Dimensions width="2" length="2" height="2"/> </BoundingBox> <Properties> <Property name="type" value="simulation"/> </Properties> </Pedestrian> </ScenarioObject> <ScenarioObject name="pedestrian_close_to_adversary_28056"> <Pedestrian model="walker.pedestrian.0001" mass="80" name="walker.pedestrian.0001" pedestrianCategory="pedestrian"> <ParameterDeclarations/> <BoundingBox> <Center x="1.5" y="0.0" z="0.9"/> <Dimensions width="2" length="2" height="2"/> </BoundingBox> <Properties> <Property name="type" value="simulation"/> </Properties> </Pedestrian> </ScenarioObject> <ScenarioObject name="pedestrian_close_to_standing_28057"> <Pedestrian model="walker.pedestrian.0001" mass="80" name="walker.pedestrian.0001" pedestrianCategory="pedestrian"> <ParameterDeclarations/> <BoundingBox> <Center x="1.5" y="0.0" z="0.9"/> <Dimensions width="2" length="2" height="2"/> </BoundingBox> <Properties> <Property name="type" value="simulation"/> </Properties> </Pedestrian> </ScenarioObject> <ScenarioObject name="pedestrian_w_transform_28058"> <Pedestrian model="walker.pedestrian.0001" mass="80" name="walker.pedestrian.0001" pedestrianCategory="pedestrian"> <ParameterDeclarations/> <BoundingBox> <Center x="1.5" y="0.0" z="0.9"/> <Dimensions width="2" length="2" height="2"/> </BoundingBox> <Properties> <Property name="type" value="simulation"/> </Properties> </Pedestrian> </ScenarioObject> <ScenarioObject name="pedestrian_w_transform_28059"> <Pedestrian model="walker.pedestrian.0001" mass="80" name="walker.pedestrian.0001" pedestrianCategory="pedestrian"> <ParameterDeclarations/> <BoundingBox> <Center x="1.5" y="0.0" z="0.9"/> <Dimensions width="2" length="2" height="2"/> </BoundingBox> <Properties> <Property name="type" value="simulation"/> </Properties> </Pedestrian> </ScenarioObject> <ScenarioObject name="pedestrian_close_to_standing_28060"> <Pedestrian model="walker.pedestrian.0001" mass="80" name="walker.pedestrian.0001" pedestrianCategory="pedestrian"> <ParameterDeclarations/> <BoundingBox> <Center x="1.5" y="0.0" z="0.9"/> <Dimensions width="2" length="2" height="2"/> </BoundingBox> <Properties> <Property name="type" value="simulation"/> </Properties> </Pedestrian> </ScenarioObject> <ScenarioObject name="pedestrian_w_transform_28061"> <Pedestrian model="walker.pedestrian.0001" mass="80" name="walker.pedestrian.0001" pedestrianCategory="pedestrian"> <ParameterDeclarations/> <BoundingBox> <Center x="1.5" y="0.0" z="0.9"/> <Dimensions width="2" length="2" height="2"/> </BoundingBox> <Properties> <Property name="type" value="simulation"/> </Properties> </Pedestrian> </ScenarioObject> <ScenarioObject name="pedestrian_w_transform_28062"> <Pedestrian model="walker.pedestrian.0001" mass="80" name="walker.pedestrian.0001" pedestrianCategory="pedestrian"> <ParameterDeclarations/> <BoundingBox> <Center x="1.5" y="0.0" z="0.9"/> <Dimensions width="2" length="2" height="2"/> </BoundingBox> <Properties> <Property name="type" value="simulation"/> </Properties> </Pedestrian> </ScenarioObject> <ScenarioObject name="pedestrian_w_transform_28063"> <Pedestrian model="walker.pedestrian.0001" mass="80" name="walker.pedestrian.0001" pedestrianCategory="pedestrian"> <ParameterDeclarations/> <BoundingBox> <Center x="1.5" y="0.0" z="0.9"/> <Dimensions width="2" length="2" height="2"/> </BoundingBox> <Properties> <Property name="type" value="simulation"/> </Properties> </Pedestrian> </ScenarioObject> <ScenarioObject name="pedestrian_close_to_standing_28064"> <Pedestrian model="walker.pedestrian.0001" mass="80" name="walker.pedestrian.0001" pedestrianCategory="pedestrian"> <ParameterDeclarations/> <BoundingBox> <Center x="1.5" y="0.0" z="0.9"/> <Dimensions width="2" length="2" height="2"/> </BoundingBox> <Properties> <Property name="type" value="simulation"/> </Properties> </Pedestrian> </ScenarioObject> <ScenarioObject name="pedestrian_w_transform_28065"> <Pedestrian model="walker.pedestrian.0001" mass="80" name="walker.pedestrian.0001" pedestrianCategory="pedestrian"> <ParameterDeclarations/> <BoundingBox> <Center x="1.5" y="0.0" z="0.9"/> <Dimensions width="2" length="2" height="2"/> </BoundingBox> <Properties> <Property name="type" value="simulation"/> </Properties> </Pedestrian> </ScenarioObject> <ScenarioObject name="pedestrian_close_to_hero_28068"> <Pedestrian model="walker.pedestrian.0001" mass="80" name="walker.pedestrian.0001" pedestrianCategory="pedestrian"> <ParameterDeclarations/> <BoundingBox> <Center x="1.5" y="0.0" z="0.9"/> <Dimensions width="2" length="2" height="2"/> </BoundingBox> <Properties> <Property name="type" value="simulation"/> </Properties> </Pedestrian> </ScenarioObject> <ScenarioObject name="pedestrian_w_transform_28069"> <Pedestrian model="walker.pedestrian.0001" mass="80" name="walker.pedestrian.0001" pedestrianCategory="pedestrian"> <ParameterDeclarations/> <BoundingBox> <Center x="1.5" y="0.0" z="0.9"/> <Dimensions width="2" length="2" height="2"/> </BoundingBox> <Properties> <Property name="type" value="simulation"/> </Properties> </Pedestrian> </ScenarioObject> <ScenarioObject name="pedestrian_w_transform_28070"> <Pedestrian model="walker.pedestrian.0001" mass="80" name="walker.pedestrian.0001" pedestrianCategory="pedestrian"> <ParameterDeclarations/> <BoundingBox> <Center x="1.5" y="0.0" z="0.9"/> <Dimensions width="2" length="2" height="2"/> </BoundingBox> <Properties> <Property name="type" value="simulation"/> </Properties> </Pedestrian> </ScenarioObject> <ScenarioObject name="pedestrian_close_to_hero_28071"> <Pedestrian model="walker.pedestrian.0001" mass="80" name="walker.pedestrian.0001" pedestrianCategory="pedestrian"> <ParameterDeclarations/> <BoundingBox> <Center x="1.5" y="0.0" z="0.9"/> <Dimensions width="2" length="2" height="2"/> </BoundingBox> <Properties> <Property name="type" value="simulation"/> </Properties> </Pedestrian> </ScenarioObject> <ScenarioObject name="pedestrian_close_to_hero_28072"> <Pedestrian model="walker.pedestrian.0001" mass="80" name="walker.pedestrian.0001" pedestrianCategory="pedestrian"> <ParameterDeclarations/> <BoundingBox> <Center x="1.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_28047"> <PrivateAction> <TeleportAction> <Position> <WorldPosition x="-13.927652359008789" y="28.854124069213867" z="0.0031062315683811903"/> </Position> </TeleportAction> </PrivateAction> </Private> <Private entityRef="pedestrian_close_to_hero_28048"> <PrivateAction> <TeleportAction> <Position> <WorldPosition x="-9.435404777526855" y="-143.28939819335938" z="0.0014652633108198643"/> </Position> </TeleportAction> </PrivateAction> </Private> <Private entityRef="pedestrian_close_to_adversary_28049"> <PrivateAction> <TeleportAction> <Position> <WorldPosition x="7.801913261413574" y="-79.43204498291016" z="0.0338405966758728"/> </Position> </TeleportAction> </PrivateAction> </Private> <Private entityRef="pedestrian_w_transform_28050"> <PrivateAction> <TeleportAction> <Position> <WorldPosition x="60.75823211669922" y="72.4695053100586" z="0.5"/> </Position> </TeleportAction> </PrivateAction> </Private> <Private entityRef="pedestrian_w_transform_28051"> <PrivateAction> <TeleportAction> <Position> <WorldPosition x="-62.27976989746094" y="94.24174499511719" z="0.5"/> </Position> </TeleportAction> </PrivateAction> </Private> <Private entityRef="pedestrian_close_to_adversary_28052"> <PrivateAction> <TeleportAction> <Position> <WorldPosition x="-5.440444469451904" y="-72.7054443359375" z="0.033792417496442795"/> </Position> </TeleportAction> </PrivateAction> </Private> <Private entityRef="pedestrian_close_to_standing_28053"> <PrivateAction> <TeleportAction> <Position> <WorldPosition x="-5.305864334106445" y="24.989839553833008" z="0.0030678939074277878"/> </Position> </TeleportAction> </PrivateAction> </Private> <Private entityRef="pedestrian_w_transform_28054"> <PrivateAction> <TeleportAction> <Position> <WorldPosition x="-99.18537139892578" y="38.23195266723633" z="0.5"/> </Position> </TeleportAction> </PrivateAction> </Private> <Private entityRef="pedestrian_close_to_hero_28055"> <PrivateAction> <TeleportAction> <Position> <WorldPosition x="-6.468256950378418" y="-150.76486206054688" z="0.0014652633108198643"/> </Position> </TeleportAction> </PrivateAction> </Private> <Private entityRef="pedestrian_close_to_adversary_28056"> <PrivateAction> <TeleportAction> <Position> <WorldPosition x="-5.528721332550049" y="-65.48456573486328" z="0.03381606936454773"/> </Position> </TeleportAction> </PrivateAction> </Private> <Private entityRef="pedestrian_close_to_standing_28057"> <PrivateAction> <TeleportAction> <Position> <WorldPosition x="-9.272955894470215" y="25.11905288696289" z="0.003103790106251836"/> </Position> </TeleportAction> </PrivateAction> </Private> <Private entityRef="pedestrian_w_transform_28058"> <PrivateAction> <TeleportAction> <Position> <WorldPosition x="80.27561950683594" y="49.11677169799805" z="0.5"/> </Position> </TeleportAction> </PrivateAction> </Private> <Private entityRef="pedestrian_w_transform_28059"> <PrivateAction> <TeleportAction> <Position> <WorldPosition x="6.266435146331787" y="85.76424407958984" z="0.5"/> </Position> </TeleportAction> </PrivateAction> </Private> <Private entityRef="pedestrian_close_to_standing_28060"> <PrivateAction> <TeleportAction> <Position> <WorldPosition x="-16.861618041992188" y="26.13831901550293" z="0.003080177353695035"/> </Position> </TeleportAction> </PrivateAction> </Private> <Private entityRef="pedestrian_w_transform_28061"> <PrivateAction> <TeleportAction> <Position> <WorldPosition x="-75.4417495727539" y="-41.94162368774414" z="0.5"/> </Position> </TeleportAction> </PrivateAction> </Private> <Private entityRef="pedestrian_w_transform_28062"> <PrivateAction> <TeleportAction> <Position> <WorldPosition x="-40.05698013305664" y="92.3105697631836" z="0.5"/> </Position> </TeleportAction> </PrivateAction> </Private> <Private entityRef="pedestrian_w_transform_28063"> <PrivateAction> <TeleportAction> <Position> <WorldPosition x="-67.40636444091797" y="-52.105167388916016" z="0.5"/> </Position> </TeleportAction> </PrivateAction> </Private> <Private entityRef="pedestrian_close_to_standing_28064"> <PrivateAction> <TeleportAction> <Position> <WorldPosition x="-16.556367874145508" y="30.620988845825195" z="0.0030448532197624445"/> </Position> </TeleportAction> </PrivateAction> </Private> <Private entityRef="pedestrian_w_transform_28065"> <PrivateAction> <TeleportAction> <Position> <WorldPosition x="88.05480194091797" y="-41.71900177001953" z="0.5"/> </Position> </TeleportAction> </PrivateAction> </Private> <Private entityRef="pedestrian_close_to_hero_28068"> <PrivateAction> <TeleportAction> <Position> <WorldPosition x="-9.61147689819336" y="-159.10855102539062" z="0.0014652633108198643"/> </Position> </TeleportAction> </PrivateAction> </Private> <Private entityRef="pedestrian_w_transform_28069"> <PrivateAction> <TeleportAction> <Position> <WorldPosition x="74.56511688232422" y="4.267163276672363" z="0.5"/> </Position> </TeleportAction> </PrivateAction> </Private> <Private entityRef="pedestrian_w_transform_28070"> <PrivateAction> <TeleportAction> <Position> <WorldPosition x="29.789587020874023" y="45.606266021728516" z="0.5"/> </Position> </TeleportAction> </PrivateAction> </Private> <Private entityRef="pedestrian_close_to_hero_28071"> <PrivateAction> <TeleportAction> <Position> <WorldPosition x="-6.533568382263184" y="-149.18301391601562" z="0.0014652633108198643"/> </Position> </TeleportAction> </PrivateAction> </Private> <Private entityRef="pedestrian_close_to_hero_28072"> <PrivateAction> <TeleportAction> <Position> <WorldPosition x="2.0619914531707764" y="-138.49276733398438" z="0.0014652633108198643"/> </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 actor named pedestrian_w_transform_1762? ``` <?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_1741"> <Pedestrian model="walker.pedestrian.0001" mass="80" name="walker.pedestrian.0001" pedestrianCategory="pedestrian"> <ParameterDeclarations/> <BoundingBox> <Center x="1.5" y="0.0" z="0.9"/> <Dimensions width="2" length="2" height="2"/> </BoundingBox> <Properties> <Property name="type" value="simulation"/> </Properties> </Pedestrian> </ScenarioObject> <ScenarioObject name="pedestrian_close_to_standing_1742"> <Pedestrian model="walker.pedestrian.0001" mass="80" name="walker.pedestrian.0001" pedestrianCategory="pedestrian"> <ParameterDeclarations/> <BoundingBox> <Center x="1.5" y="0.0" z="0.9"/> <Dimensions width="2" length="2" height="2"/> </BoundingBox> <Properties> <Property name="type" value="simulation"/> </Properties> </Pedestrian> </ScenarioObject> <ScenarioObject name="pedestrian_close_to_adversary_1743"> <Pedestrian model="walker.pedestrian.0001" mass="80" name="walker.pedestrian.0001" pedestrianCategory="pedestrian"> <ParameterDeclarations/> <BoundingBox> <Center x="1.5" y="0.0" z="0.9"/> <Dimensions width="2" length="2" height="2"/> </BoundingBox> <Properties> <Property name="type" value="simulation"/> </Properties> </Pedestrian> </ScenarioObject> <ScenarioObject name="pedestrian_w_transform_1744"> <Pedestrian model="walker.pedestrian.0001" mass="80" name="walker.pedestrian.0001" pedestrianCategory="pedestrian"> <ParameterDeclarations/> <BoundingBox> <Center x="1.5" y="0.0" z="0.9"/> <Dimensions width="2" length="2" height="2"/> </BoundingBox> <Properties> <Property name="type" value="simulation"/> </Properties> </Pedestrian> </ScenarioObject> <ScenarioObject name="pedestrian_close_to_adversary_1745"> <Pedestrian model="walker.pedestrian.0001" mass="80" name="walker.pedestrian.0001" pedestrianCategory="pedestrian"> <ParameterDeclarations/> <BoundingBox> <Center x="1.5" y="0.0" z="0.9"/> <Dimensions width="2" length="2" height="2"/> </BoundingBox> <Properties> <Property name="type" value="simulation"/> </Properties> </Pedestrian> </ScenarioObject> <ScenarioObject name="pedestrian_close_to_hero_1746"> <Pedestrian model="walker.pedestrian.0001" mass="80" name="walker.pedestrian.0001" pedestrianCategory="pedestrian"> <ParameterDeclarations/> <BoundingBox> <Center x="1.5" y="0.0" z="0.9"/> <Dimensions width="2" length="2" height="2"/> </BoundingBox> <Properties> <Property name="type" value="simulation"/> </Properties> </Pedestrian> </ScenarioObject> <ScenarioObject name="pedestrian_w_transform_1747"> <Pedestrian model="walker.pedestrian.0001" mass="80" name="walker.pedestrian.0001" pedestrianCategory="pedestrian"> <ParameterDeclarations/> <BoundingBox> <Center x="1.5" y="0.0" z="0.9"/> <Dimensions width="2" length="2" height="2"/> </BoundingBox> <Properties> <Property name="type" value="simulation"/> </Properties> </Pedestrian> </ScenarioObject> <ScenarioObject name="pedestrian_w_transform_1748"> <Pedestrian model="walker.pedestrian.0001" mass="80" name="walker.pedestrian.0001" pedestrianCategory="pedestrian"> <ParameterDeclarations/> <BoundingBox> <Center x="1.5" y="0.0" z="0.9"/> <Dimensions width="2" length="2" height="2"/> </BoundingBox> <Properties> <Property name="type" value="simulation"/> </Properties> </Pedestrian> </ScenarioObject> <ScenarioObject name="pedestrian_w_transform_1749"> <Pedestrian model="walker.pedestrian.0001" mass="80" name="walker.pedestrian.0001" pedestrianCategory="pedestrian"> <ParameterDeclarations/> <BoundingBox> <Center x="1.5" y="0.0" z="0.9"/> <Dimensions width="2" length="2" height="2"/> </BoundingBox> <Properties> <Property name="type" value="simulation"/> </Properties> </Pedestrian> </ScenarioObject> <ScenarioObject name="pedestrian_close_to_standing_1754"> <Pedestrian model="walker.pedestrian.0001" mass="80" name="walker.pedestrian.0001" pedestrianCategory="pedestrian"> <ParameterDeclarations/> <BoundingBox> <Center x="1.5" y="0.0" z="0.9"/> <Dimensions width="2" length="2" height="2"/> </BoundingBox> <Properties> <Property name="type" value="simulation"/> </Properties> </Pedestrian> </ScenarioObject> <ScenarioObject name="pedestrian_w_transform_1755"> <Pedestrian model="walker.pedestrian.0001" mass="80" name="walker.pedestrian.0001" pedestrianCategory="pedestrian"> <ParameterDeclarations/> <BoundingBox> <Center x="1.5" y="0.0" z="0.9"/> <Dimensions width="2" length="2" height="2"/> </BoundingBox> <Properties> <Property name="type" value="simulation"/> </Properties> </Pedestrian> </ScenarioObject> <ScenarioObject name="pedestrian_w_transform_1756"> <Pedestrian model="walker.pedestrian.0001" mass="80" name="walker.pedestrian.0001" pedestrianCategory="pedestrian"> <ParameterDeclarations/> <BoundingBox> <Center x="1.5" y="0.0" z="0.9"/> <Dimensions width="2" length="2" height="2"/> </BoundingBox> <Properties> <Property name="type" value="simulation"/> </Properties> </Pedestrian> </ScenarioObject> <ScenarioObject name="pedestrian_close_to_standing_1757"> <Pedestrian model="walker.pedestrian.0001" mass="80" name="walker.pedestrian.0001" pedestrianCategory="pedestrian"> <ParameterDeclarations/> <BoundingBox> <Center x="1.5" y="0.0" z="0.9"/> <Dimensions width="2" length="2" height="2"/> </BoundingBox> <Properties> <Property name="type" value="simulation"/> </Properties> </Pedestrian> </ScenarioObject> <ScenarioObject name="pedestrian_w_transform_1759"> <Pedestrian model="walker.pedestrian.0001" mass="80" name="walker.pedestrian.0001" pedestrianCategory="pedestrian"> <ParameterDeclarations/> <BoundingBox> <Center x="1.5" y="0.0" z="0.9"/> <Dimensions width="2" length="2" height="2"/> </BoundingBox> <Properties> <Property name="type" value="simulation"/> </Properties> </Pedestrian> </ScenarioObject> <ScenarioObject name="pedestrian_close_to_adversary_1760"> <Pedestrian model="walker.pedestrian.0001" mass="80" name="walker.pedestrian.0001" pedestrianCategory="pedestrian"> <ParameterDeclarations/> <BoundingBox> <Center x="1.5" y="0.0" z="0.9"/> <Dimensions width="2" length="2" height="2"/> </BoundingBox> <Properties> <Property name="type" value="simulation"/> </Properties> </Pedestrian> </ScenarioObject> <ScenarioObject name="pedestrian_w_transform_1761"> <Pedestrian model="walker.pedestrian.0001" mass="80" name="walker.pedestrian.0001" pedestrianCategory="pedestrian"> <ParameterDeclarations/> <BoundingBox> <Center x="1.5" y="0.0" z="0.9"/> <Dimensions width="2" length="2" height="2"/> </BoundingBox> <Properties> <Property name="type" value="simulation"/> </Properties> </Pedestrian> </ScenarioObject> <ScenarioObject name="pedestrian_w_transform_1762"> <Pedestrian model="walker.pedestrian.0001" mass="80" name="walker.pedestrian.0001" pedestrianCategory="pedestrian"> <ParameterDeclarations/> <BoundingBox> <Center x="1.5" y="0.0" z="0.9"/> <Dimensions width="2" length="2" height="2"/> </BoundingBox> <Properties> <Property name="type" value="simulation"/> </Properties> </Pedestrian> </ScenarioObject> <ScenarioObject name="pedestrian_w_transform_1763"> <Pedestrian model="walker.pedestrian.0001" mass="80" name="walker.pedestrian.0001" pedestrianCategory="pedestrian"> <ParameterDeclarations/> <BoundingBox> <Center x="1.5" y="0.0" z="0.9"/> <Dimensions width="2" length="2" height="2"/> </BoundingBox> <Properties> <Property name="type" value="simulation"/> </Properties> </Pedestrian> </ScenarioObject> <ScenarioObject name="pedestrian_close_to_hero_1764"> <Pedestrian model="walker.pedestrian.0001" mass="80" name="walker.pedestrian.0001" pedestrianCategory="pedestrian"> <ParameterDeclarations/> <BoundingBox> <Center x="1.5" y="0.0" z="0.9"/> <Dimensions width="2" length="2" height="2"/> </BoundingBox> <Properties> <Property name="type" value="simulation"/> </Properties> </Pedestrian> </ScenarioObject> <ScenarioObject name="pedestrian_w_transform_1765"> <Pedestrian model="walker.pedestrian.0001" mass="80" name="walker.pedestrian.0001" pedestrianCategory="pedestrian"> <ParameterDeclarations/> <BoundingBox> <Center x="1.5" y="0.0" z="0.9"/> <Dimensions width="2" length="2" height="2"/> </BoundingBox> <Properties> <Property name="type" value="simulation"/> </Properties> </Pedestrian> </ScenarioObject> <ScenarioObject name="pedestrian_w_transform_1766"> <Pedestrian model="walker.pedestrian.0001" mass="80" name="walker.pedestrian.0001" pedestrianCategory="pedestrian"> <ParameterDeclarations/> <BoundingBox> <Center x="1.5" y="0.0" z="0.9"/> <Dimensions width="2" length="2" height="2"/> </BoundingBox> <Properties> <Property name="type" value="simulation"/> </Properties> </Pedestrian> </ScenarioObject> <ScenarioObject name="pedestrian_w_transform_1767"> <Pedestrian model="walker.pedestrian.0001" mass="80" name="walker.pedestrian.0001" pedestrianCategory="pedestrian"> <ParameterDeclarations/> <BoundingBox> <Center x="1.5" y="0.0" z="0.9"/> <Dimensions width="2" length="2" height="2"/> </BoundingBox> <Properties> <Property name="type" value="simulation"/> </Properties> </Pedestrian> </ScenarioObject> <ScenarioObject name="pedestrian_w_transform_1769"> <Pedestrian model="walker.pedestrian.0001" mass="80" name="walker.pedestrian.0001" pedestrianCategory="pedestrian"> <ParameterDeclarations/> <BoundingBox> <Center x="1.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_1741"> <PrivateAction> <TeleportAction> <Position> <WorldPosition x="-18.147920608520508" y="-149.45004272460938" z="0.0014525604201480746"/> </Position> </TeleportAction> </PrivateAction> </Private> <Private entityRef="pedestrian_close_to_standing_1742"> <PrivateAction> <TeleportAction> <Position> <WorldPosition x="-15.534564971923828" y="25.759546279907227" z="0.0030433654319494963"/> </Position> </TeleportAction> </PrivateAction> </Private> <Private entityRef="pedestrian_close_to_adversary_1743"> <PrivateAction> <TeleportAction> <Position> <WorldPosition x="-2.682828187942505" y="-70.0909194946289" z="0.03377010300755501"/> </Position> </TeleportAction> </PrivateAction> </Private> <Private entityRef="pedestrian_w_transform_1744"> <PrivateAction> <TeleportAction> <Position> <WorldPosition x="-90.34205627441406" y="-87.27428436279297" z="0.5"/> </Position> </TeleportAction> </PrivateAction> </Private> <Private entityRef="pedestrian_close_to_adversary_1745"> <PrivateAction> <TeleportAction> <Position> <WorldPosition x="0.9483069181442261" y="-66.78168487548828" z="0.0337483212351799"/> </Position> </TeleportAction> </PrivateAction> </Private> <Private entityRef="pedestrian_close_to_hero_1746"> <PrivateAction> <TeleportAction> <Position> <WorldPosition x="-5.433462619781494" y="-152.07594299316406" z="0.0014525604201480746"/> </Position> </TeleportAction> </PrivateAction> </Private> <Private entityRef="pedestrian_w_transform_1747"> <PrivateAction> <TeleportAction> <Position> <WorldPosition x="45.674102783203125" y="75.50662231445312" z="0.5"/> </Position> </TeleportAction> </PrivateAction> </Private> <Private entityRef="pedestrian_w_transform_1748"> <PrivateAction> <TeleportAction> <Position> <WorldPosition x="56.24765396118164" y="-52.530025482177734" z="0.5"/> </Position> </TeleportAction> </PrivateAction> </Private> <Private entityRef="pedestrian_w_transform_1749"> <PrivateAction> <TeleportAction> <Position> <WorldPosition x="29.34738540649414" y="66.77080535888672" z="0.5"/> </Position> </TeleportAction> </PrivateAction> </Private> <Private entityRef="pedestrian_close_to_standing_1754"> <PrivateAction> <TeleportAction> <Position> <WorldPosition x="-13.301920890808105" y="38.71479034423828" z="0.003015403635799885"/> </Position> </TeleportAction> </PrivateAction> </Private> <Private entityRef="pedestrian_w_transform_1755"> <PrivateAction> <TeleportAction> <Position> <WorldPosition x="36.517173767089844" y="86.2261734008789" z="0.5"/> </Position> </TeleportAction> </PrivateAction> </Private> <Private entityRef="pedestrian_w_transform_1756"> <PrivateAction> <TeleportAction> <Position> <WorldPosition x="-85.50709533691406" y="50.10831069946289" z="0.5"/> </Position> </TeleportAction> </PrivateAction> </Private> <Private entityRef="pedestrian_close_to_standing_1757"> <PrivateAction> <TeleportAction> <Position> <WorldPosition x="-15.896941184997559" y="36.90532684326172" z="0.0030283736996352673"/> </Position> </TeleportAction> </PrivateAction> </Private> <Private entityRef="pedestrian_w_transform_1759"> <PrivateAction> <TeleportAction> <Position> <WorldPosition x="45.3929443359375" y="-87.72969818115234" z="0.5"/> </Position> </TeleportAction> </PrivateAction> </Private> <Private entityRef="pedestrian_close_to_adversary_1760"> <PrivateAction> <TeleportAction> <Position> <WorldPosition x="-13.571676254272461" y="-79.2277603149414" z="0.03374599292874336"/> </Position> </TeleportAction> </PrivateAction> </Private> <Private entityRef="pedestrian_w_transform_1761"> <PrivateAction> <TeleportAction> <Position> <WorldPosition x="79.79034423828125" y="54.39234161376953" z="0.5"/> </Position> </TeleportAction> </PrivateAction> </Private> <Private entityRef="pedestrian_w_transform_1762"> <PrivateAction> <TeleportAction> <Position> <WorldPosition x="-92.94927215576172" y="-50.259403228759766" z="0.5"/> </Position> </TeleportAction> </PrivateAction> </Private> <Private entityRef="pedestrian_w_transform_1763"> <PrivateAction> <TeleportAction> <Position> <WorldPosition x="-67.05795288085938" y="16.926776885986328" z="0.5"/> </Position> </TeleportAction> </PrivateAction> </Private> <Private entityRef="pedestrian_close_to_hero_1764"> <PrivateAction> <TeleportAction> <Position> <WorldPosition x="0.41460728645324707" y="-152.90866088867188" z="0.0014525604201480746"/> </Position> </TeleportAction> </PrivateAction> </Private> <Private entityRef="pedestrian_w_transform_1765"> <PrivateAction> <TeleportAction> <Position> <WorldPosition x="-99.81476593017578" y="68.25749206542969" z="0.5"/> </Position> </TeleportAction> </PrivateAction> </Private> <Private entityRef="pedestrian_w_transform_1766"> <PrivateAction> <TeleportAction> <Position> <WorldPosition x="64.87946319580078" y="-58.14539337158203" z="0.5"/> </Position> </TeleportAction> </PrivateAction> </Private> <Private entityRef="pedestrian_w_transform_1767"> <PrivateAction> <TeleportAction> <Position> <WorldPosition x="76.55560302734375" y="-68.2450942993164" z="0.5"/> </Position> </TeleportAction> </PrivateAction> </Private> <Private entityRef="pedestrian_w_transform_1769"> <PrivateAction> <TeleportAction> <Position> <WorldPosition x="4.358065128326416" y="-45.04940414428711" 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_1741"> <Pedestrian model="walker.pedestrian.0001" mass="80" name="walker.pedestrian.0001" pedestrianCategory="pedestrian"> <ParameterDeclarations/> <BoundingBox> <Center x="1.5" y="0.0" z="0.9"/> <Dimensions width="2" length="2" height="2"/> </BoundingBox> <Properties> <Property name="type" value="simulation"/> </Properties> </Pedestrian> </ScenarioObject> <ScenarioObject name="pedestrian_close_to_standing_1742"> <Pedestrian model="walker.pedestrian.0001" mass="80" name="walker.pedestrian.0001" pedestrianCategory="pedestrian"> <ParameterDeclarations/> <BoundingBox> <Center x="1.5" y="0.0" z="0.9"/> <Dimensions width="2" length="2" height="2"/> </BoundingBox> <Properties> <Property name="type" value="simulation"/> </Properties> </Pedestrian> </ScenarioObject> <ScenarioObject name="pedestrian_close_to_adversary_1743"> <Pedestrian model="walker.pedestrian.0001" mass="80" name="walker.pedestrian.0001" pedestrianCategory="pedestrian"> <ParameterDeclarations/> <BoundingBox> <Center x="1.5" y="0.0" z="0.9"/> <Dimensions width="2" length="2" height="2"/> </BoundingBox> <Properties> <Property name="type" value="simulation"/> </Properties> </Pedestrian> </ScenarioObject> <ScenarioObject name="pedestrian_w_transform_1744"> <Pedestrian model="walker.pedestrian.0001" mass="80" name="walker.pedestrian.0001" pedestrianCategory="pedestrian"> <ParameterDeclarations/> <BoundingBox> <Center x="1.5" y="0.0" z="0.9"/> <Dimensions width="2" length="2" height="2"/> </BoundingBox> <Properties> <Property name="type" value="simulation"/> </Properties> </Pedestrian> </ScenarioObject> <ScenarioObject name="pedestrian_close_to_adversary_1745"> <Pedestrian model="walker.pedestrian.0001" mass="80" name="walker.pedestrian.0001" pedestrianCategory="pedestrian"> <ParameterDeclarations/> <BoundingBox> <Center x="1.5" y="0.0" z="0.9"/> <Dimensions width="2" length="2" height="2"/> </BoundingBox> <Properties> <Property name="type" value="simulation"/> </Properties> </Pedestrian> </ScenarioObject> <ScenarioObject name="pedestrian_close_to_hero_1746"> <Pedestrian model="walker.pedestrian.0001" mass="80" name="walker.pedestrian.0001" pedestrianCategory="pedestrian"> <ParameterDeclarations/> <BoundingBox> <Center x="1.5" y="0.0" z="0.9"/> <Dimensions width="2" length="2" height="2"/> </BoundingBox> <Properties> <Property name="type" value="simulation"/> </Properties> </Pedestrian> </ScenarioObject> <ScenarioObject name="pedestrian_w_transform_1747"> <Pedestrian model="walker.pedestrian.0001" mass="80" name="walker.pedestrian.0001" pedestrianCategory="pedestrian"> <ParameterDeclarations/> <BoundingBox> <Center x="1.5" y="0.0" z="0.9"/> <Dimensions width="2" length="2" height="2"/> </BoundingBox> <Properties> <Property name="type" value="simulation"/> </Properties> </Pedestrian> </ScenarioObject> <ScenarioObject name="pedestrian_w_transform_1748"> <Pedestrian model="walker.pedestrian.0001" mass="80" name="walker.pedestrian.0001" pedestrianCategory="pedestrian"> <ParameterDeclarations/> <BoundingBox> <Center x="1.5" y="0.0" z="0.9"/> <Dimensions width="2" length="2" height="2"/> </BoundingBox> <Properties> <Property name="type" value="simulation"/> </Properties> </Pedestrian> </ScenarioObject> <ScenarioObject name="pedestrian_w_transform_1749"> <Pedestrian model="walker.pedestrian.0001" mass="80" name="walker.pedestrian.0001" pedestrianCategory="pedestrian"> <ParameterDeclarations/> <BoundingBox> <Center x="1.5" y="0.0" z="0.9"/> <Dimensions width="2" length="2" height="2"/> </BoundingBox> <Properties> <Property name="type" value="simulation"/> </Properties> </Pedestrian> </ScenarioObject> <ScenarioObject name="pedestrian_close_to_standing_1754"> <Pedestrian model="walker.pedestrian.0001" mass="80" name="walker.pedestrian.0001" pedestrianCategory="pedestrian"> <ParameterDeclarations/> <BoundingBox> <Center x="1.5" y="0.0" z="0.9"/> <Dimensions width="2" length="2" height="2"/> </BoundingBox> <Properties> <Property name="type" value="simulation"/> </Properties> </Pedestrian> </ScenarioObject> <ScenarioObject name="pedestrian_w_transform_1755"> <Pedestrian model="walker.pedestrian.0001" mass="80" name="walker.pedestrian.0001" pedestrianCategory="pedestrian"> <ParameterDeclarations/> <BoundingBox> <Center x="1.5" y="0.0" z="0.9"/> <Dimensions width="2" length="2" height="2"/> </BoundingBox> <Properties> <Property name="type" value="simulation"/> </Properties> </Pedestrian> </ScenarioObject> <ScenarioObject name="pedestrian_w_transform_1756"> <Pedestrian model="walker.pedestrian.0001" mass="80" name="walker.pedestrian.0001" pedestrianCategory="pedestrian"> <ParameterDeclarations/> <BoundingBox> <Center x="1.5" y="0.0" z="0.9"/> <Dimensions width="2" length="2" height="2"/> </BoundingBox> <Properties> <Property name="type" value="simulation"/> </Properties> </Pedestrian> </ScenarioObject> <ScenarioObject name="pedestrian_close_to_standing_1757"> <Pedestrian model="walker.pedestrian.0001" mass="80" name="walker.pedestrian.0001" pedestrianCategory="pedestrian"> <ParameterDeclarations/> <BoundingBox> <Center x="1.5" y="0.0" z="0.9"/> <Dimensions width="2" length="2" height="2"/> </BoundingBox> <Properties> <Property name="type" value="simulation"/> </Properties> </Pedestrian> </ScenarioObject> <ScenarioObject name="pedestrian_w_transform_1759"> <Pedestrian model="walker.pedestrian.0001" mass="80" name="walker.pedestrian.0001" pedestrianCategory="pedestrian"> <ParameterDeclarations/> <BoundingBox> <Center x="1.5" y="0.0" z="0.9"/> <Dimensions width="2" length="2" height="2"/> </BoundingBox> <Properties> <Property name="type" value="simulation"/> </Properties> </Pedestrian> </ScenarioObject> <ScenarioObject name="pedestrian_close_to_adversary_1760"> <Pedestrian model="walker.pedestrian.0001" mass="80" name="walker.pedestrian.0001" pedestrianCategory="pedestrian"> <ParameterDeclarations/> <BoundingBox> <Center x="1.5" y="0.0" z="0.9"/> <Dimensions width="2" length="2" height="2"/> </BoundingBox> <Properties> <Property name="type" value="simulation"/> </Properties> </Pedestrian> </ScenarioObject> <ScenarioObject name="pedestrian_w_transform_1761"> <Pedestrian model="walker.pedestrian.0001" mass="80" name="walker.pedestrian.0001" pedestrianCategory="pedestrian"> <ParameterDeclarations/> <BoundingBox> <Center x="1.5" y="0.0" z="0.9"/> <Dimensions width="2" length="2" height="2"/> </BoundingBox> <Properties> <Property name="type" value="simulation"/> </Properties> </Pedestrian> </ScenarioObject> <ScenarioObject name="pedestrian_w_transform_1763"> <Pedestrian model="walker.pedestrian.0001" mass="80" name="walker.pedestrian.0001" pedestrianCategory="pedestrian"> <ParameterDeclarations/> <BoundingBox> <Center x="1.5" y="0.0" z="0.9"/> <Dimensions width="2" length="2" height="2"/> </BoundingBox> <Properties> <Property name="type" value="simulation"/> </Properties> </Pedestrian> </ScenarioObject> <ScenarioObject name="pedestrian_close_to_hero_1764"> <Pedestrian model="walker.pedestrian.0001" mass="80" name="walker.pedestrian.0001" pedestrianCategory="pedestrian"> <ParameterDeclarations/> <BoundingBox> <Center x="1.5" y="0.0" z="0.9"/> <Dimensions width="2" length="2" height="2"/> </BoundingBox> <Properties> <Property name="type" value="simulation"/> </Properties> </Pedestrian> </ScenarioObject> <ScenarioObject name="pedestrian_w_transform_1765"> <Pedestrian model="walker.pedestrian.0001" mass="80" name="walker.pedestrian.0001" pedestrianCategory="pedestrian"> <ParameterDeclarations/> <BoundingBox> <Center x="1.5" y="0.0" z="0.9"/> <Dimensions width="2" length="2" height="2"/> </BoundingBox> <Properties> <Property name="type" value="simulation"/> </Properties> </Pedestrian> </ScenarioObject> <ScenarioObject name="pedestrian_w_transform_1766"> <Pedestrian model="walker.pedestrian.0001" mass="80" name="walker.pedestrian.0001" pedestrianCategory="pedestrian"> <ParameterDeclarations/> <BoundingBox> <Center x="1.5" y="0.0" z="0.9"/> <Dimensions width="2" length="2" height="2"/> </BoundingBox> <Properties> <Property name="type" value="simulation"/> </Properties> </Pedestrian> </ScenarioObject> <ScenarioObject name="pedestrian_w_transform_1767"> <Pedestrian model="walker.pedestrian.0001" mass="80" name="walker.pedestrian.0001" pedestrianCategory="pedestrian"> <ParameterDeclarations/> <BoundingBox> <Center x="1.5" y="0.0" z="0.9"/> <Dimensions width="2" length="2" height="2"/> </BoundingBox> <Properties> <Property name="type" value="simulation"/> </Properties> </Pedestrian> </ScenarioObject> <ScenarioObject name="pedestrian_w_transform_1769"> <Pedestrian model="walker.pedestrian.0001" mass="80" name="walker.pedestrian.0001" pedestrianCategory="pedestrian"> <ParameterDeclarations/> <BoundingBox> <Center x="1.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_1741"> <PrivateAction> <TeleportAction> <Position> <WorldPosition x="-18.147920608520508" y="-149.45004272460938" z="0.0014525604201480746"/> </Position> </TeleportAction> </PrivateAction> </Private> <Private entityRef="pedestrian_close_to_standing_1742"> <PrivateAction> <TeleportAction> <Position> <WorldPosition x="-15.534564971923828" y="25.759546279907227" z="0.0030433654319494963"/> </Position> </TeleportAction> </PrivateAction> </Private> <Private entityRef="pedestrian_close_to_adversary_1743"> <PrivateAction> <TeleportAction> <Position> <WorldPosition x="-2.682828187942505" y="-70.0909194946289" z="0.03377010300755501"/> </Position> </TeleportAction> </PrivateAction> </Private> <Private entityRef="pedestrian_w_transform_1744"> <PrivateAction> <TeleportAction> <Position> <WorldPosition x="-90.34205627441406" y="-87.27428436279297" z="0.5"/> </Position> </TeleportAction> </PrivateAction> </Private> <Private entityRef="pedestrian_close_to_adversary_1745"> <PrivateAction> <TeleportAction> <Position> <WorldPosition x="0.9483069181442261" y="-66.78168487548828" z="0.0337483212351799"/> </Position> </TeleportAction> </PrivateAction> </Private> <Private entityRef="pedestrian_close_to_hero_1746"> <PrivateAction> <TeleportAction> <Position> <WorldPosition x="-5.433462619781494" y="-152.07594299316406" z="0.0014525604201480746"/> </Position> </TeleportAction> </PrivateAction> </Private> <Private entityRef="pedestrian_w_transform_1747"> <PrivateAction> <TeleportAction> <Position> <WorldPosition x="45.674102783203125" y="75.50662231445312" z="0.5"/> </Position> </TeleportAction> </PrivateAction> </Private> <Private entityRef="pedestrian_w_transform_1748"> <PrivateAction> <TeleportAction> <Position> <WorldPosition x="56.24765396118164" y="-52.530025482177734" z="0.5"/> </Position> </TeleportAction> </PrivateAction> </Private> <Private entityRef="pedestrian_w_transform_1749"> <PrivateAction> <TeleportAction> <Position> <WorldPosition x="29.34738540649414" y="66.77080535888672" z="0.5"/> </Position> </TeleportAction> </PrivateAction> </Private> <Private entityRef="pedestrian_close_to_standing_1754"> <PrivateAction> <TeleportAction> <Position> <WorldPosition x="-13.301920890808105" y="38.71479034423828" z="0.003015403635799885"/> </Position> </TeleportAction> </PrivateAction> </Private> <Private entityRef="pedestrian_w_transform_1755"> <PrivateAction> <TeleportAction> <Position> <WorldPosition x="36.517173767089844" y="86.2261734008789" z="0.5"/> </Position> </TeleportAction> </PrivateAction> </Private> <Private entityRef="pedestrian_w_transform_1756"> <PrivateAction> <TeleportAction> <Position> <WorldPosition x="-85.50709533691406" y="50.10831069946289" z="0.5"/> </Position> </TeleportAction> </PrivateAction> </Private> <Private entityRef="pedestrian_close_to_standing_1757"> <PrivateAction> <TeleportAction> <Position> <WorldPosition x="-15.896941184997559" y="36.90532684326172" z="0.0030283736996352673"/> </Position> </TeleportAction> </PrivateAction> </Private> <Private entityRef="pedestrian_w_transform_1759"> <PrivateAction> <TeleportAction> <Position> <WorldPosition x="45.3929443359375" y="-87.72969818115234" z="0.5"/> </Position> </TeleportAction> </PrivateAction> </Private> <Private entityRef="pedestrian_close_to_adversary_1760"> <PrivateAction> <TeleportAction> <Position> <WorldPosition x="-13.571676254272461" y="-79.2277603149414" z="0.03374599292874336"/> </Position> </TeleportAction> </PrivateAction> </Private> <Private entityRef="pedestrian_w_transform_1761"> <PrivateAction> <TeleportAction> <Position> <WorldPosition x="79.79034423828125" y="54.39234161376953" z="0.5"/> </Position> </TeleportAction> </PrivateAction> </Private> <Private entityRef="pedestrian_w_transform_1763"> <PrivateAction> <TeleportAction> <Position> <WorldPosition x="-67.05795288085938" y="16.926776885986328" z="0.5"/> </Position> </TeleportAction> </PrivateAction> </Private> <Private entityRef="pedestrian_close_to_hero_1764"> <PrivateAction> <TeleportAction> <Position> <WorldPosition x="0.41460728645324707" y="-152.90866088867188" z="0.0014525604201480746"/> </Position> </TeleportAction> </PrivateAction> </Private> <Private entityRef="pedestrian_w_transform_1765"> <PrivateAction> <TeleportAction> <Position> <WorldPosition x="-99.81476593017578" y="68.25749206542969" z="0.5"/> </Position> </TeleportAction> </PrivateAction> </Private> <Private entityRef="pedestrian_w_transform_1766"> <PrivateAction> <TeleportAction> <Position> <WorldPosition x="64.87946319580078" y="-58.14539337158203" z="0.5"/> </Position> </TeleportAction> </PrivateAction> </Private> <Private entityRef="pedestrian_w_transform_1767"> <PrivateAction> <TeleportAction> <Position> <WorldPosition x="76.55560302734375" y="-68.2450942993164" z="0.5"/> </Position> </TeleportAction> </PrivateAction> </Private> <Private entityRef="pedestrian_w_transform_1769"> <PrivateAction> <TeleportAction> <Position> <WorldPosition x="4.358065128326416" y="-45.04940414428711" 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_adversary_29210"> <Pedestrian model="walker.pedestrian.0001" mass="80" name="walker.pedestrian.0001" pedestrianCategory="pedestrian"> <ParameterDeclarations/> <BoundingBox> <Center x="1.5" y="0.0" z="0.9"/> <Dimensions width="2" length="2" height="2"/> </BoundingBox> <Properties> <Property name="type" value="simulation"/> </Properties> </Pedestrian> </ScenarioObject> <ScenarioObject name="pedestrian_close_to_hero_29211"> <Pedestrian model="walker.pedestrian.0001" mass="80" name="walker.pedestrian.0001" pedestrianCategory="pedestrian"> <ParameterDeclarations/> <BoundingBox> <Center x="1.5" y="0.0" z="0.9"/> <Dimensions width="2" length="2" height="2"/> </BoundingBox> <Properties> <Property name="type" value="simulation"/> </Properties> </Pedestrian> </ScenarioObject> <ScenarioObject name="pedestrian_w_transform_29212"> <Pedestrian model="walker.pedestrian.0001" mass="80" name="walker.pedestrian.0001" pedestrianCategory="pedestrian"> <ParameterDeclarations/> <BoundingBox> <Center x="1.5" y="0.0" z="0.9"/> <Dimensions width="2" length="2" height="2"/> </BoundingBox> <Properties> <Property name="type" value="simulation"/> </Properties> </Pedestrian> </ScenarioObject> <ScenarioObject name="pedestrian_w_transform_29213"> <Pedestrian model="walker.pedestrian.0001" mass="80" name="walker.pedestrian.0001" pedestrianCategory="pedestrian"> <ParameterDeclarations/> <BoundingBox> <Center x="1.5" y="0.0" z="0.9"/> <Dimensions width="2" length="2" height="2"/> </BoundingBox> <Properties> <Property name="type" value="simulation"/> </Properties> </Pedestrian> </ScenarioObject> <ScenarioObject name="pedestrian_w_transform_29214"> <Pedestrian model="walker.pedestrian.0001" mass="80" name="walker.pedestrian.0001" pedestrianCategory="pedestrian"> <ParameterDeclarations/> <BoundingBox> <Center x="1.5" y="0.0" z="0.9"/> <Dimensions width="2" length="2" height="2"/> </BoundingBox> <Properties> <Property name="type" value="simulation"/> </Properties> </Pedestrian> </ScenarioObject> <ScenarioObject name="pedestrian_close_to_adversary_29215"> <Pedestrian model="walker.pedestrian.0001" mass="80" name="walker.pedestrian.0001" pedestrianCategory="pedestrian"> <ParameterDeclarations/> <BoundingBox> <Center x="1.5" y="0.0" z="0.9"/> <Dimensions width="2" length="2" height="2"/> </BoundingBox> <Properties> <Property name="type" value="simulation"/> </Properties> </Pedestrian> </ScenarioObject> <ScenarioObject name="pedestrian_close_to_hero_29216"> <Pedestrian model="walker.pedestrian.0001" mass="80" name="walker.pedestrian.0001" pedestrianCategory="pedestrian"> <ParameterDeclarations/> <BoundingBox> <Center x="1.5" y="0.0" z="0.9"/> <Dimensions width="2" length="2" height="2"/> </BoundingBox> <Properties> <Property name="type" value="simulation"/> </Properties> </Pedestrian> </ScenarioObject> <ScenarioObject name="pedestrian_w_transform_29217"> <Pedestrian model="walker.pedestrian.0001" mass="80" name="walker.pedestrian.0001" pedestrianCategory="pedestrian"> <ParameterDeclarations/> <BoundingBox> <Center x="1.5" y="0.0" z="0.9"/> <Dimensions width="2" length="2" height="2"/> </BoundingBox> <Properties> <Property name="type" value="simulation"/> </Properties> </Pedestrian> </ScenarioObject> <ScenarioObject name="pedestrian_close_to_standing_29218"> <Pedestrian model="walker.pedestrian.0001" mass="80" name="walker.pedestrian.0001" pedestrianCategory="pedestrian"> <ParameterDeclarations/> <BoundingBox> <Center x="1.5" y="0.0" z="0.9"/> <Dimensions width="2" length="2" height="2"/> </BoundingBox> <Properties> <Property name="type" value="simulation"/> </Properties> </Pedestrian> </ScenarioObject> <ScenarioObject name="pedestrian_w_transform_29219"> <Pedestrian model="walker.pedestrian.0001" mass="80" name="walker.pedestrian.0001" pedestrianCategory="pedestrian"> <ParameterDeclarations/> <BoundingBox> <Center x="1.5" y="0.0" z="0.9"/> <Dimensions width="2" length="2" height="2"/> </BoundingBox> <Properties> <Property name="type" value="simulation"/> </Properties> </Pedestrian> </ScenarioObject> <ScenarioObject name="pedestrian_w_transform_29220"> <Pedestrian model="walker.pedestrian.0001" mass="80" name="walker.pedestrian.0001" pedestrianCategory="pedestrian"> <ParameterDeclarations/> <BoundingBox> <Center x="1.5" y="0.0" z="0.9"/> <Dimensions width="2" length="2" height="2"/> </BoundingBox> <Properties> <Property name="type" value="simulation"/> </Properties> </Pedestrian> </ScenarioObject> <ScenarioObject name="pedestrian_close_to_hero_29221"> <Pedestrian model="walker.pedestrian.0001" mass="80" name="walker.pedestrian.0001" pedestrianCategory="pedestrian"> <ParameterDeclarations/> <BoundingBox> <Center x="1.5" y="0.0" z="0.9"/> <Dimensions width="2" length="2" height="2"/> </BoundingBox> <Properties> <Property name="type" value="simulation"/> </Properties> </Pedestrian> </ScenarioObject> <ScenarioObject name="pedestrian_close_to_standing_29222"> <Pedestrian model="walker.pedestrian.0001" mass="80" name="walker.pedestrian.0001" pedestrianCategory="pedestrian"> <ParameterDeclarations/> <BoundingBox> <Center x="1.5" y="0.0" z="0.9"/> <Dimensions width="2" length="2" height="2"/> </BoundingBox> <Properties> <Property name="type" value="simulation"/> </Properties> </Pedestrian> </ScenarioObject> <ScenarioObject name="pedestrian_w_transform_29223"> <Pedestrian model="walker.pedestrian.0001" mass="80" name="walker.pedestrian.0001" pedestrianCategory="pedestrian"> <ParameterDeclarations/> <BoundingBox> <Center x="1.5" y="0.0" z="0.9"/> <Dimensions width="2" length="2" height="2"/> </BoundingBox> <Properties> <Property name="type" value="simulation"/> </Properties> </Pedestrian> </ScenarioObject> <ScenarioObject name="pedestrian_close_to_adversary_29224"> <Pedestrian model="walker.pedestrian.0001" mass="80" name="walker.pedestrian.0001" pedestrianCategory="pedestrian"> <ParameterDeclarations/> <BoundingBox> <Center x="1.5" y="0.0" z="0.9"/> <Dimensions width="2" length="2" height="2"/> </BoundingBox> <Properties> <Property name="type" value="simulation"/> </Properties> </Pedestrian> </ScenarioObject> <ScenarioObject name="pedestrian_w_transform_29225"> <Pedestrian model="walker.pedestrian.0001" mass="80" name="walker.pedestrian.0001" pedestrianCategory="pedestrian"> <ParameterDeclarations/> <BoundingBox> <Center x="1.5" y="0.0" z="0.9"/> <Dimensions width="2" length="2" height="2"/> </BoundingBox> <Properties> <Property name="type" value="simulation"/> </Properties> </Pedestrian> </ScenarioObject> <ScenarioObject name="pedestrian_w_transform_29226"> <Pedestrian model="walker.pedestrian.0001" mass="80" name="walker.pedestrian.0001" pedestrianCategory="pedestrian"> <ParameterDeclarations/> <BoundingBox> <Center x="1.5" y="0.0" z="0.9"/> <Dimensions width="2" length="2" height="2"/> </BoundingBox> <Properties> <Property name="type" value="simulation"/> </Properties> </Pedestrian> </ScenarioObject> <ScenarioObject name="pedestrian_w_transform_29227"> <Pedestrian model="walker.pedestrian.0001" mass="80" name="walker.pedestrian.0001" pedestrianCategory="pedestrian"> <ParameterDeclarations/> <BoundingBox> <Center x="1.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_29210"> <PrivateAction> <TeleportAction> <Position> <WorldPosition x="-1.805735468864441" y="-63.18098449707031" z="0.03381858766078949"/> </Position> </TeleportAction> </PrivateAction> </Private> <Private entityRef="pedestrian_close_to_hero_29211"> <PrivateAction> <TeleportAction> <Position> <WorldPosition x="-8.340277671813965" y="-160.7421875" z="0.001423797570168972"/> </Position> </TeleportAction> </PrivateAction> </Private> <Private entityRef="pedestrian_w_transform_29212"> <PrivateAction> <TeleportAction> <Position> <WorldPosition x="11.327752113342285" y="31.77349090576172" z="0.5"/> </Position> </TeleportAction> </PrivateAction> </Private> <Private entityRef="pedestrian_w_transform_29213"> <PrivateAction> <TeleportAction> <Position> <WorldPosition x="99.18936157226562" y="70.63209533691406" z="0.5"/> </Position> </TeleportAction> </PrivateAction> </Private> <Private entityRef="pedestrian_w_transform_29214"> <PrivateAction> <TeleportAction> <Position> <WorldPosition x="-9.385836601257324" y="-87.1196060180664" z="0.5"/> </Position> </TeleportAction> </PrivateAction> </Private> <Private entityRef="pedestrian_close_to_adversary_29215"> <PrivateAction> <TeleportAction> <Position> <WorldPosition x="-1.4716532230377197" y="-67.98976135253906" z="0.03376079350709915"/> </Position> </TeleportAction> </PrivateAction> </Private> <Private entityRef="pedestrian_close_to_hero_29216"> <PrivateAction> <TeleportAction> <Position> <WorldPosition x="0.059943243861198425" y="-144.5464324951172" z="0.001423797570168972"/> </Position> </TeleportAction> </PrivateAction> </Private> <Private entityRef="pedestrian_w_transform_29217"> <PrivateAction> <TeleportAction> <Position> <WorldPosition x="-18.660783767700195" y="-90.19178771972656" z="0.5"/> </Position> </TeleportAction> </PrivateAction> </Private> <Private entityRef="pedestrian_close_to_standing_29218"> <PrivateAction> <TeleportAction> <Position> <WorldPosition x="0.9825084805488586" y="31.222352981567383" z="0.0030674743466079235"/> </Position> </TeleportAction> </PrivateAction> </Private> <Private entityRef="pedestrian_w_transform_29219"> <PrivateAction> <TeleportAction> <Position> <WorldPosition x="-14.591224670410156" y="3.9477531909942627" z="0.5"/> </Position> </TeleportAction> </PrivateAction> </Private> <Private entityRef="pedestrian_w_transform_29220"> <PrivateAction> <TeleportAction> <Position> <WorldPosition x="93.040283203125" y="35.97922897338867" z="0.5"/> </Position> </TeleportAction> </PrivateAction> </Private> <Private entityRef="pedestrian_close_to_hero_29221"> <PrivateAction> <TeleportAction> <Position> <WorldPosition x="-6.0224127769470215" y="-145.56097412109375" z="0.001423797570168972"/> </Position> </TeleportAction> </PrivateAction> </Private> <Private entityRef="pedestrian_close_to_standing_29222"> <PrivateAction> <TeleportAction> <Position> <WorldPosition x="-16.00494384765625" y="32.66530227661133" z="0.003062286414206028"/> </Position> </TeleportAction> </PrivateAction> </Private> <Private entityRef="pedestrian_w_transform_29223"> <PrivateAction> <TeleportAction> <Position> <WorldPosition x="-84.89460754394531" y="-49.259830474853516" z="0.5"/> </Position> </TeleportAction> </PrivateAction> </Private> <Private entityRef="pedestrian_close_to_adversary_29224"> <PrivateAction> <TeleportAction> <Position> <WorldPosition x="-4.958373069763184" y="-67.2085952758789" z="0.033813055604696274"/> </Position> </TeleportAction> </PrivateAction> </Private> <Private entityRef="pedestrian_w_transform_29225"> <PrivateAction> <TeleportAction> <Position> <WorldPosition x="13.69269847869873" y="49.37248611450195" z="0.5"/> </Position> </TeleportAction> </PrivateAction> </Private> <Private entityRef="pedestrian_w_transform_29226"> <PrivateAction> <TeleportAction> <Position> <WorldPosition x="-74.51374053955078" y="45.41291046142578" z="0.5"/> </Position> </TeleportAction> </PrivateAction> </Private> <Private entityRef="pedestrian_w_transform_29227"> <PrivateAction> <TeleportAction> <Position> <WorldPosition x="-74.46829986572266" y="13.345902442932129" 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_29210"> <Pedestrian model="walker.pedestrian.0001" mass="80" name="walker.pedestrian.0001" pedestrianCategory="pedestrian"> <ParameterDeclarations/> <BoundingBox> <Center x="1.5" y="0.0" z="0.9"/> <Dimensions width="2" length="2" height="2"/> </BoundingBox> <Properties> <Property name="type" value="simulation"/> </Properties> </Pedestrian> </ScenarioObject> <ScenarioObject name="pedestrian_close_to_hero_29211"> <Pedestrian model="walker.pedestrian.0001" mass="80" name="walker.pedestrian.0001" pedestrianCategory="pedestrian"> <ParameterDeclarations/> <BoundingBox> <Center x="1.5" y="0.0" z="0.9"/> <Dimensions width="2" length="2" height="2"/> </BoundingBox> <Properties> <Property name="type" value="simulation"/> </Properties> </Pedestrian> </ScenarioObject> <ScenarioObject name="pedestrian_w_transform_29212"> <Pedestrian model="walker.pedestrian.0001" mass="80" name="walker.pedestrian.0001" pedestrianCategory="pedestrian"> <ParameterDeclarations/> <BoundingBox> <Center x="1.5" y="0.0" z="0.9"/> <Dimensions width="2" length="2" height="2"/> </BoundingBox> <Properties> <Property name="type" value="simulation"/> </Properties> </Pedestrian> </ScenarioObject> <ScenarioObject name="pedestrian_w_transform_29213"> <Pedestrian model="walker.pedestrian.0001" mass="80" name="walker.pedestrian.0001" pedestrianCategory="pedestrian"> <ParameterDeclarations/> <BoundingBox> <Center x="1.5" y="0.0" z="0.9"/> <Dimensions width="2" length="2" height="2"/> </BoundingBox> <Properties> <Property name="type" value="simulation"/> </Properties> </Pedestrian> </ScenarioObject> <ScenarioObject name="pedestrian_w_transform_29214"> <Pedestrian model="walker.pedestrian.0001" mass="80" name="walker.pedestrian.0001" pedestrianCategory="pedestrian"> <ParameterDeclarations/> <BoundingBox> <Center x="1.5" y="0.0" z="0.9"/> <Dimensions width="2" length="2" height="2"/> </BoundingBox> <Properties> <Property name="type" value="simulation"/> </Properties> </Pedestrian> </ScenarioObject> <ScenarioObject name="pedestrian_close_to_adversary_29215"> <Pedestrian model="walker.pedestrian.0001" mass="80" name="walker.pedestrian.0001" pedestrianCategory="pedestrian"> <ParameterDeclarations/> <BoundingBox> <Center x="1.5" y="0.0" z="0.9"/> <Dimensions width="2" length="2" height="2"/> </BoundingBox> <Properties> <Property name="type" value="simulation"/> </Properties> </Pedestrian> </ScenarioObject> <ScenarioObject name="pedestrian_close_to_hero_29216"> <Pedestrian model="walker.pedestrian.0001" mass="80" name="walker.pedestrian.0001" pedestrianCategory="pedestrian"> <ParameterDeclarations/> <BoundingBox> <Center x="1.5" y="0.0" z="0.9"/> <Dimensions width="2" length="2" height="2"/> </BoundingBox> <Properties> <Property name="type" value="simulation"/> </Properties> </Pedestrian> </ScenarioObject> <ScenarioObject name="pedestrian_w_transform_29217"> <Pedestrian model="walker.pedestrian.0001" mass="80" name="walker.pedestrian.0001" pedestrianCategory="pedestrian"> <ParameterDeclarations/> <BoundingBox> <Center x="1.5" y="0.0" z="0.9"/> <Dimensions width="2" length="2" height="2"/> </BoundingBox> <Properties> <Property name="type" value="simulation"/> </Properties> </Pedestrian> </ScenarioObject> <ScenarioObject name="pedestrian_close_to_standing_29218"> <Pedestrian model="walker.pedestrian.0001" mass="80" name="walker.pedestrian.0001" pedestrianCategory="pedestrian"> <ParameterDeclarations/> <BoundingBox> <Center x="1.5" y="0.0" z="0.9"/> <Dimensions width="2" length="2" height="2"/> </BoundingBox> <Properties> <Property name="type" value="simulation"/> </Properties> </Pedestrian> </ScenarioObject> <ScenarioObject name="pedestrian_w_transform_29219"> <Pedestrian model="walker.pedestrian.0001" mass="80" name="walker.pedestrian.0001" pedestrianCategory="pedestrian"> <ParameterDeclarations/> <BoundingBox> <Center x="1.5" y="0.0" z="0.9"/> <Dimensions width="2" length="2" height="2"/> </BoundingBox> <Properties> <Property name="type" value="simulation"/> </Properties> </Pedestrian> </ScenarioObject> <ScenarioObject name="pedestrian_w_transform_29220"> <Pedestrian model="walker.pedestrian.0001" mass="80" name="walker.pedestrian.0001" pedestrianCategory="pedestrian"> <ParameterDeclarations/> <BoundingBox> <Center x="1.5" y="0.0" z="0.9"/> <Dimensions width="2" length="2" height="2"/> </BoundingBox> <Properties> <Property name="type" value="simulation"/> </Properties> </Pedestrian> </ScenarioObject> <ScenarioObject name="pedestrian_close_to_hero_29221"> <Pedestrian model="walker.pedestrian.0001" mass="80" name="walker.pedestrian.0001" pedestrianCategory="pedestrian"> <ParameterDeclarations/> <BoundingBox> <Center x="1.5" y="0.0" z="0.9"/> <Dimensions width="2" length="2" height="2"/> </BoundingBox> <Properties> <Property name="type" value="simulation"/> </Properties> </Pedestrian> </ScenarioObject> <ScenarioObject name="pedestrian_close_to_standing_29222"> <Pedestrian model="walker.pedestrian.0001" mass="80" name="walker.pedestrian.0001" pedestrianCategory="pedestrian"> <ParameterDeclarations/> <BoundingBox> <Center x="1.5" y="0.0" z="0.9"/> <Dimensions width="2" length="2" height="2"/> </BoundingBox> <Properties> <Property name="type" value="simulation"/> </Properties> </Pedestrian> </ScenarioObject> <ScenarioObject name="pedestrian_w_transform_29223"> <Pedestrian model="walker.pedestrian.0001" mass="80" name="walker.pedestrian.0001" pedestrianCategory="pedestrian"> <ParameterDeclarations/> <BoundingBox> <Center x="1.5" y="0.0" z="0.9"/> <Dimensions width="2" length="2" height="2"/> </BoundingBox> <Properties> <Property name="type" value="simulation"/> </Properties> </Pedestrian> </ScenarioObject> <ScenarioObject name="pedestrian_close_to_adversary_29224"> <Pedestrian model="walker.pedestrian.0001" mass="80" name="walker.pedestrian.0001" pedestrianCategory="pedestrian"> <ParameterDeclarations/> <BoundingBox> <Center x="1.5" y="0.0" z="0.9"/> <Dimensions width="2" length="2" height="2"/> </BoundingBox> <Properties> <Property name="type" value="simulation"/> </Properties> </Pedestrian> </ScenarioObject> <ScenarioObject name="pedestrian_w_transform_29225"> <Pedestrian model="walker.pedestrian.0001" mass="80" name="walker.pedestrian.0001" pedestrianCategory="pedestrian"> <ParameterDeclarations/> <BoundingBox> <Center x="1.5" y="0.0" z="0.9"/> <Dimensions width="2" length="2" height="2"/> </BoundingBox> <Properties> <Property name="type" value="simulation"/> </Properties> </Pedestrian> </ScenarioObject> <ScenarioObject name="pedestrian_w_transform_29226"> <Pedestrian model="walker.pedestrian.0001" mass="80" name="walker.pedestrian.0001" pedestrianCategory="pedestrian"> <ParameterDeclarations/> <BoundingBox> <Center x="1.5" y="0.0" z="0.9"/> <Dimensions width="2" length="2" height="2"/> </BoundingBox> <Properties> <Property name="type" value="simulation"/> </Properties> </Pedestrian> </ScenarioObject> <ScenarioObject name="pedestrian_w_transform_29227"> <Pedestrian model="walker.pedestrian.0001" mass="80" name="walker.pedestrian.0001" pedestrianCategory="pedestrian"> <ParameterDeclarations/> <BoundingBox> <Center x="1.5" y="0.0" z="0.9"/> <Dimensions width="2" length="2" height="2"/> </BoundingBox> <Properties> <Property name="type" value="simulation"/> </Properties> </Pedestrian> </ScenarioObject> <ScenarioObject name="pedestrian_close_to_adversary_29228"> <Pedestrian model="walker.pedestrian.0001" mass="80" name="walker.pedestrian.0001" pedestrianCategory="pedestrian"> <ParameterDeclarations/> <BoundingBox> <Center x="1.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_29210"> <PrivateAction> <TeleportAction> <Position> <WorldPosition x="-1.805735468864441" y="-63.18098449707031" z="0.03381858766078949"/> </Position> </TeleportAction> </PrivateAction> </Private> <Private entityRef="pedestrian_close_to_hero_29211"> <PrivateAction> <TeleportAction> <Position> <WorldPosition x="-8.340277671813965" y="-160.7421875" z="0.001423797570168972"/> </Position> </TeleportAction> </PrivateAction> </Private> <Private entityRef="pedestrian_w_transform_29212"> <PrivateAction> <TeleportAction> <Position> <WorldPosition x="11.327752113342285" y="31.77349090576172" z="0.5"/> </Position> </TeleportAction> </PrivateAction> </Private> <Private entityRef="pedestrian_w_transform_29213"> <PrivateAction> <TeleportAction> <Position> <WorldPosition x="99.18936157226562" y="70.63209533691406" z="0.5"/> </Position> </TeleportAction> </PrivateAction> </Private> <Private entityRef="pedestrian_w_transform_29214"> <PrivateAction> <TeleportAction> <Position> <WorldPosition x="-9.385836601257324" y="-87.1196060180664" z="0.5"/> </Position> </TeleportAction> </PrivateAction> </Private> <Private entityRef="pedestrian_close_to_adversary_29215"> <PrivateAction> <TeleportAction> <Position> <WorldPosition x="-1.4716532230377197" y="-67.98976135253906" z="0.03376079350709915"/> </Position> </TeleportAction> </PrivateAction> </Private> <Private entityRef="pedestrian_close_to_hero_29216"> <PrivateAction> <TeleportAction> <Position> <WorldPosition x="0.059943243861198425" y="-144.5464324951172" z="0.001423797570168972"/> </Position> </TeleportAction> </PrivateAction> </Private> <Private entityRef="pedestrian_w_transform_29217"> <PrivateAction> <TeleportAction> <Position> <WorldPosition x="-18.660783767700195" y="-90.19178771972656" z="0.5"/> </Position> </TeleportAction> </PrivateAction> </Private> <Private entityRef="pedestrian_close_to_standing_29218"> <PrivateAction> <TeleportAction> <Position> <WorldPosition x="0.9825084805488586" y="31.222352981567383" z="0.0030674743466079235"/> </Position> </TeleportAction> </PrivateAction> </Private> <Private entityRef="pedestrian_w_transform_29219"> <PrivateAction> <TeleportAction> <Position> <WorldPosition x="-14.591224670410156" y="3.9477531909942627" z="0.5"/> </Position> </TeleportAction> </PrivateAction> </Private> <Private entityRef="pedestrian_w_transform_29220"> <PrivateAction> <TeleportAction> <Position> <WorldPosition x="93.040283203125" y="35.97922897338867" z="0.5"/> </Position> </TeleportAction> </PrivateAction> </Private> <Private entityRef="pedestrian_close_to_hero_29221"> <PrivateAction> <TeleportAction> <Position> <WorldPosition x="-6.0224127769470215" y="-145.56097412109375" z="0.001423797570168972"/> </Position> </TeleportAction> </PrivateAction> </Private> <Private entityRef="pedestrian_close_to_standing_29222"> <PrivateAction> <TeleportAction> <Position> <WorldPosition x="-16.00494384765625" y="32.66530227661133" z="0.003062286414206028"/> </Position> </TeleportAction> </PrivateAction> </Private> <Private entityRef="pedestrian_w_transform_29223"> <PrivateAction> <TeleportAction> <Position> <WorldPosition x="-84.89460754394531" y="-49.259830474853516" z="0.5"/> </Position> </TeleportAction> </PrivateAction> </Private> <Private entityRef="pedestrian_close_to_adversary_29224"> <PrivateAction> <TeleportAction> <Position> <WorldPosition x="-4.958373069763184" y="-67.2085952758789" z="0.033813055604696274"/> </Position> </TeleportAction> </PrivateAction> </Private> <Private entityRef="pedestrian_w_transform_29225"> <PrivateAction> <TeleportAction> <Position> <WorldPosition x="13.69269847869873" y="49.37248611450195" z="0.5"/> </Position> </TeleportAction> </PrivateAction> </Private> <Private entityRef="pedestrian_w_transform_29226"> <PrivateAction> <TeleportAction> <Position> <WorldPosition x="-74.51374053955078" y="45.41291046142578" z="0.5"/> </Position> </TeleportAction> </PrivateAction> </Private> <Private entityRef="pedestrian_w_transform_29227"> <PrivateAction> <TeleportAction> <Position> <WorldPosition x="-74.46829986572266" y="13.345902442932129" z="0.5"/> </Position> </TeleportAction> </PrivateAction> </Private> <Private entityRef="pedestrian_close_to_adversary_29228"> <PrivateAction> <TeleportAction> <Position> <WorldPosition x="-15.351486206054688" y="-70.8454818725586" z="0.03375152498483658"/> </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 (-49.93, 29.78, 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_21496"> <Pedestrian model="walker.pedestrian.0001" mass="80" name="walker.pedestrian.0001" pedestrianCategory="pedestrian"> <ParameterDeclarations/> <BoundingBox> <Center x="1.5" y="0.0" z="0.9"/> <Dimensions width="2" length="2" height="2"/> </BoundingBox> <Properties> <Property name="type" value="simulation"/> </Properties> </Pedestrian> </ScenarioObject> <ScenarioObject name="pedestrian_close_to_standing_21497"> <Pedestrian model="walker.pedestrian.0001" mass="80" name="walker.pedestrian.0001" pedestrianCategory="pedestrian"> <ParameterDeclarations/> <BoundingBox> <Center x="1.5" y="0.0" z="0.9"/> <Dimensions width="2" length="2" height="2"/> </BoundingBox> <Properties> <Property name="type" value="simulation"/> </Properties> </Pedestrian> </ScenarioObject> <ScenarioObject name="pedestrian_w_transform_21498"> <Pedestrian model="walker.pedestrian.0001" mass="80" name="walker.pedestrian.0001" pedestrianCategory="pedestrian"> <ParameterDeclarations/> <BoundingBox> <Center x="1.5" y="0.0" z="0.9"/> <Dimensions width="2" length="2" height="2"/> </BoundingBox> <Properties> <Property name="type" value="simulation"/> </Properties> </Pedestrian> </ScenarioObject> <ScenarioObject name="pedestrian_close_to_adversary_21499"> <Pedestrian model="walker.pedestrian.0001" mass="80" name="walker.pedestrian.0001" pedestrianCategory="pedestrian"> <ParameterDeclarations/> <BoundingBox> <Center x="1.5" y="0.0" z="0.9"/> <Dimensions width="2" length="2" height="2"/> </BoundingBox> <Properties> <Property name="type" value="simulation"/> </Properties> </Pedestrian> </ScenarioObject> <ScenarioObject name="pedestrian_close_to_adversary_21500"> <Pedestrian model="walker.pedestrian.0001" mass="80" name="walker.pedestrian.0001" pedestrianCategory="pedestrian"> <ParameterDeclarations/> <BoundingBox> <Center x="1.5" y="0.0" z="0.9"/> <Dimensions width="2" length="2" height="2"/> </BoundingBox> <Properties> <Property name="type" value="simulation"/> </Properties> </Pedestrian> </ScenarioObject> <ScenarioObject name="pedestrian_w_transform_21501"> <Pedestrian model="walker.pedestrian.0001" mass="80" name="walker.pedestrian.0001" pedestrianCategory="pedestrian"> <ParameterDeclarations/> <BoundingBox> <Center x="1.5" y="0.0" z="0.9"/> <Dimensions width="2" length="2" height="2"/> </BoundingBox> <Properties> <Property name="type" value="simulation"/> </Properties> </Pedestrian> </ScenarioObject> <ScenarioObject name="pedestrian_w_transform_21503"> <Pedestrian model="walker.pedestrian.0001" mass="80" name="walker.pedestrian.0001" pedestrianCategory="pedestrian"> <ParameterDeclarations/> <BoundingBox> <Center x="1.5" y="0.0" z="0.9"/> <Dimensions width="2" length="2" height="2"/> </BoundingBox> <Properties> <Property name="type" value="simulation"/> </Properties> </Pedestrian> </ScenarioObject> <ScenarioObject name="pedestrian_close_to_hero_21504"> <Pedestrian model="walker.pedestrian.0001" mass="80" name="walker.pedestrian.0001" pedestrianCategory="pedestrian"> <ParameterDeclarations/> <BoundingBox> <Center x="1.5" y="0.0" z="0.9"/> <Dimensions width="2" length="2" height="2"/> </BoundingBox> <Properties> <Property name="type" value="simulation"/> </Properties> </Pedestrian> </ScenarioObject> <ScenarioObject name="pedestrian_w_transform_21506"> <Pedestrian model="walker.pedestrian.0001" mass="80" name="walker.pedestrian.0001" pedestrianCategory="pedestrian"> <ParameterDeclarations/> <BoundingBox> <Center x="1.5" y="0.0" z="0.9"/> <Dimensions width="2" length="2" height="2"/> </BoundingBox> <Properties> <Property name="type" value="simulation"/> </Properties> </Pedestrian> </ScenarioObject> <ScenarioObject name="pedestrian_close_to_standing_21507"> <Pedestrian model="walker.pedestrian.0001" mass="80" name="walker.pedestrian.0001" pedestrianCategory="pedestrian"> <ParameterDeclarations/> <BoundingBox> <Center x="1.5" y="0.0" z="0.9"/> <Dimensions width="2" length="2" height="2"/> </BoundingBox> <Properties> <Property name="type" value="simulation"/> </Properties> </Pedestrian> </ScenarioObject> <ScenarioObject name="pedestrian_close_to_hero_21508"> <Pedestrian model="walker.pedestrian.0001" mass="80" name="walker.pedestrian.0001" pedestrianCategory="pedestrian"> <ParameterDeclarations/> <BoundingBox> <Center x="1.5" y="0.0" z="0.9"/> <Dimensions width="2" length="2" height="2"/> </BoundingBox> <Properties> <Property name="type" value="simulation"/> </Properties> </Pedestrian> </ScenarioObject> <ScenarioObject name="pedestrian_w_transform_21509"> <Pedestrian model="walker.pedestrian.0001" mass="80" name="walker.pedestrian.0001" pedestrianCategory="pedestrian"> <ParameterDeclarations/> <BoundingBox> <Center x="1.5" y="0.0" z="0.9"/> <Dimensions width="2" length="2" height="2"/> </BoundingBox> <Properties> <Property name="type" value="simulation"/> </Properties> </Pedestrian> </ScenarioObject> <ScenarioObject name="pedestrian_close_to_hero_21510"> <Pedestrian model="walker.pedestrian.0001" mass="80" name="walker.pedestrian.0001" pedestrianCategory="pedestrian"> <ParameterDeclarations/> <BoundingBox> <Center x="1.5" y="0.0" z="0.9"/> <Dimensions width="2" length="2" height="2"/> </BoundingBox> <Properties> <Property name="type" value="simulation"/> </Properties> </Pedestrian> </ScenarioObject> <ScenarioObject name="pedestrian_w_transform_21511"> <Pedestrian model="walker.pedestrian.0001" mass="80" name="walker.pedestrian.0001" pedestrianCategory="pedestrian"> <ParameterDeclarations/> <BoundingBox> <Center x="1.5" y="0.0" z="0.9"/> <Dimensions width="2" length="2" height="2"/> </BoundingBox> <Properties> <Property name="type" value="simulation"/> </Properties> </Pedestrian> </ScenarioObject> <ScenarioObject name="pedestrian_close_to_hero_21512"> <Pedestrian model="walker.pedestrian.0001" mass="80" name="walker.pedestrian.0001" pedestrianCategory="pedestrian"> <ParameterDeclarations/> <BoundingBox> <Center x="1.5" y="0.0" z="0.9"/> <Dimensions width="2" length="2" height="2"/> </BoundingBox> <Properties> <Property name="type" value="simulation"/> </Properties> </Pedestrian> </ScenarioObject> <ScenarioObject name="pedestrian_w_transform_21513"> <Pedestrian model="walker.pedestrian.0001" mass="80" name="walker.pedestrian.0001" pedestrianCategory="pedestrian"> <ParameterDeclarations/> <BoundingBox> <Center x="1.5" y="0.0" z="0.9"/> <Dimensions width="2" length="2" height="2"/> </BoundingBox> <Properties> <Property name="type" value="simulation"/> </Properties> </Pedestrian> </ScenarioObject> <ScenarioObject name="pedestrian_w_transform_21514"> <Pedestrian model="walker.pedestrian.0001" mass="80" name="walker.pedestrian.0001" pedestrianCategory="pedestrian"> <ParameterDeclarations/> <BoundingBox> <Center x="1.5" y="0.0" z="0.9"/> <Dimensions width="2" length="2" height="2"/> </BoundingBox> <Properties> <Property name="type" value="simulation"/> </Properties> </Pedestrian> </ScenarioObject> <ScenarioObject name="pedestrian_w_transform_21515"> <Pedestrian model="walker.pedestrian.0001" mass="80" name="walker.pedestrian.0001" pedestrianCategory="pedestrian"> <ParameterDeclarations/> <BoundingBox> <Center x="1.5" y="0.0" z="0.9"/> <Dimensions width="2" length="2" height="2"/> </BoundingBox> <Properties> <Property name="type" value="simulation"/> </Properties> </Pedestrian> </ScenarioObject> <ScenarioObject name="pedestrian_close_to_standing_21516"> <Pedestrian model="walker.pedestrian.0001" mass="80" name="walker.pedestrian.0001" pedestrianCategory="pedestrian"> <ParameterDeclarations/> <BoundingBox> <Center x="1.5" y="0.0" z="0.9"/> <Dimensions width="2" length="2" height="2"/> </BoundingBox> <Properties> <Property name="type" value="simulation"/> </Properties> </Pedestrian> </ScenarioObject> <ScenarioObject name="pedestrian_close_to_adversary_21517"> <Pedestrian model="walker.pedestrian.0001" mass="80" name="walker.pedestrian.0001" pedestrianCategory="pedestrian"> <ParameterDeclarations/> <BoundingBox> <Center x="1.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_21496"> <PrivateAction> <TeleportAction> <Position> <WorldPosition x="-6.950484752655029" y="-241.88072204589844" z="0.001678848173469305"/> </Position> </TeleportAction> </PrivateAction> </Private> <Private entityRef="pedestrian_close_to_standing_21497"> <PrivateAction> <TeleportAction> <Position> <WorldPosition x="-6.822939872741699" y="30.88006591796875" z="0.0030472564976662397"/> </Position> </TeleportAction> </PrivateAction> </Private> <Private entityRef="pedestrian_w_transform_21498"> <PrivateAction> <TeleportAction> <Position> <WorldPosition x="-51.102745056152344" y="35.68743133544922" z="0.5"/> </Position> </TeleportAction> </PrivateAction> </Private> <Private entityRef="pedestrian_close_to_adversary_21499"> <PrivateAction> <TeleportAction> <Position> <WorldPosition x="-14.04796028137207" y="-68.79383087158203" z="0.03379127383232117"/> </Position> </TeleportAction> </PrivateAction> </Private> <Private entityRef="pedestrian_close_to_adversary_21500"> <PrivateAction> <TeleportAction> <Position> <WorldPosition x="-8.38137435913086" y="-72.42849731445312" z="0.03374115005135536"/> </Position> </TeleportAction> </PrivateAction> </Private> <Private entityRef="pedestrian_w_transform_21501"> <PrivateAction> <TeleportAction> <Position> <WorldPosition x="-14.101703643798828" y="-98.10883331298828" z="0.5"/> </Position> </TeleportAction> </PrivateAction> </Private> <Private entityRef="pedestrian_w_transform_21503"> <PrivateAction> <TeleportAction> <Position> <WorldPosition x="81.3407211303711" y="40.482948303222656" z="0.5"/> </Position> </TeleportAction> </PrivateAction> </Private> <Private entityRef="pedestrian_close_to_hero_21504"> <PrivateAction> <TeleportAction> <Position> <WorldPosition x="-7.3180952072143555" y="-245.38795471191406" z="0.001678848173469305"/> </Position> </TeleportAction> </PrivateAction> </Private> <Private entityRef="pedestrian_w_transform_21506"> <PrivateAction> <TeleportAction> <Position> <WorldPosition x="49.49840545654297" y="-54.33723449707031" z="0.5"/> </Position> </TeleportAction> </PrivateAction> </Private> <Private entityRef="pedestrian_close_to_standing_21507"> <PrivateAction> <TeleportAction> <Position> <WorldPosition x="-15.68956470489502" y="36.573577880859375" z="0.0030566786881536245"/> </Position> </TeleportAction> </PrivateAction> </Private> <Private entityRef="pedestrian_close_to_hero_21508"> <PrivateAction> <TeleportAction> <Position> <WorldPosition x="-9.232665061950684" y="-240.92039489746094" z="0.001678848173469305"/> </Position> </TeleportAction> </PrivateAction> </Private> <Private entityRef="pedestrian_w_transform_21509"> <PrivateAction> <TeleportAction> <Position> <WorldPosition x="-50.480953216552734" y="42.2298698425293" z="0.5"/> </Position> </TeleportAction> </PrivateAction> </Private> <Private entityRef="pedestrian_close_to_hero_21510"> <PrivateAction> <TeleportAction> <Position> <WorldPosition x="-25.728378295898438" y="-244.06350708007812" z="0.001678848173469305"/> </Position> </TeleportAction> </PrivateAction> </Private> <Private entityRef="pedestrian_w_transform_21511"> <PrivateAction> <TeleportAction> <Position> <WorldPosition x="-86.25039672851562" y="-68.2105941772461" z="0.5"/> </Position> </TeleportAction> </PrivateAction> </Private> <Private entityRef="pedestrian_close_to_hero_21512"> <PrivateAction> <TeleportAction> <Position> <WorldPosition x="-9.573929786682129" y="-256.13751220703125" z="0.001678848173469305"/> </Position> </TeleportAction> </PrivateAction> </Private> <Private entityRef="pedestrian_w_transform_21513"> <PrivateAction> <TeleportAction> <Position> <WorldPosition x="76.89723205566406" y="-35.61095428466797" z="0.5"/> </Position> </TeleportAction> </PrivateAction> </Private> <Private entityRef="pedestrian_w_transform_21514"> <PrivateAction> <TeleportAction> <Position> <WorldPosition x="56.093116760253906" y="90.4001235961914" z="0.5"/> </Position> </TeleportAction> </PrivateAction> </Private> <Private entityRef="pedestrian_w_transform_21515"> <PrivateAction> <TeleportAction> <Position> <WorldPosition x="-3.534778356552124" y="-87.47606658935547" z="0.5"/> </Position> </TeleportAction> </PrivateAction> </Private> <Private entityRef="pedestrian_close_to_standing_21516"> <PrivateAction> <TeleportAction> <Position> <WorldPosition x="-16.55173683166504" y="35.0711669921875" z="0.003031310858204961"/> </Position> </TeleportAction> </PrivateAction> </Private> <Private entityRef="pedestrian_close_to_adversary_21517"> <PrivateAction> <TeleportAction> <Position> <WorldPosition x="-4.8156046867370605" y="-70.8173828125" z="0.03376377001404762"/> </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_21496"> <Pedestrian model="walker.pedestrian.0001" mass="80" name="walker.pedestrian.0001" pedestrianCategory="pedestrian"> <ParameterDeclarations/> <BoundingBox> <Center x="1.5" y="0.0" z="0.9"/> <Dimensions width="2" length="2" height="2"/> </BoundingBox> <Properties> <Property name="type" value="simulation"/> </Properties> </Pedestrian> </ScenarioObject> <ScenarioObject name="pedestrian_close_to_standing_21497"> <Pedestrian model="walker.pedestrian.0001" mass="80" name="walker.pedestrian.0001" pedestrianCategory="pedestrian"> <ParameterDeclarations/> <BoundingBox> <Center x="1.5" y="0.0" z="0.9"/> <Dimensions width="2" length="2" height="2"/> </BoundingBox> <Properties> <Property name="type" value="simulation"/> </Properties> </Pedestrian> </ScenarioObject> <ScenarioObject name="pedestrian_w_transform_21498"> <Pedestrian model="walker.pedestrian.0001" mass="80" name="walker.pedestrian.0001" pedestrianCategory="pedestrian"> <ParameterDeclarations/> <BoundingBox> <Center x="1.5" y="0.0" z="0.9"/> <Dimensions width="2" length="2" height="2"/> </BoundingBox> <Properties> <Property name="type" value="simulation"/> </Properties> </Pedestrian> </ScenarioObject> <ScenarioObject name="pedestrian_close_to_adversary_21499"> <Pedestrian model="walker.pedestrian.0001" mass="80" name="walker.pedestrian.0001" pedestrianCategory="pedestrian"> <ParameterDeclarations/> <BoundingBox> <Center x="1.5" y="0.0" z="0.9"/> <Dimensions width="2" length="2" height="2"/> </BoundingBox> <Properties> <Property name="type" value="simulation"/> </Properties> </Pedestrian> </ScenarioObject> <ScenarioObject name="pedestrian_close_to_adversary_21500"> <Pedestrian model="walker.pedestrian.0001" mass="80" name="walker.pedestrian.0001" pedestrianCategory="pedestrian"> <ParameterDeclarations/> <BoundingBox> <Center x="1.5" y="0.0" z="0.9"/> <Dimensions width="2" length="2" height="2"/> </BoundingBox> <Properties> <Property name="type" value="simulation"/> </Properties> </Pedestrian> </ScenarioObject> <ScenarioObject name="pedestrian_w_transform_21501"> <Pedestrian model="walker.pedestrian.0001" mass="80" name="walker.pedestrian.0001" pedestrianCategory="pedestrian"> <ParameterDeclarations/> <BoundingBox> <Center x="1.5" y="0.0" z="0.9"/> <Dimensions width="2" length="2" height="2"/> </BoundingBox> <Properties> <Property name="type" value="simulation"/> </Properties> </Pedestrian> </ScenarioObject> <ScenarioObject name="pedestrian_w_transform_21503"> <Pedestrian model="walker.pedestrian.0001" mass="80" name="walker.pedestrian.0001" pedestrianCategory="pedestrian"> <ParameterDeclarations/> <BoundingBox> <Center x="1.5" y="0.0" z="0.9"/> <Dimensions width="2" length="2" height="2"/> </BoundingBox> <Properties> <Property name="type" value="simulation"/> </Properties> </Pedestrian> </ScenarioObject> <ScenarioObject name="pedestrian_close_to_hero_21504"> <Pedestrian model="walker.pedestrian.0001" mass="80" name="walker.pedestrian.0001" pedestrianCategory="pedestrian"> <ParameterDeclarations/> <BoundingBox> <Center x="1.5" y="0.0" z="0.9"/> <Dimensions width="2" length="2" height="2"/> </BoundingBox> <Properties> <Property name="type" value="simulation"/> </Properties> </Pedestrian> </ScenarioObject> <ScenarioObject name="pedestrian_w_transform_21506"> <Pedestrian model="walker.pedestrian.0001" mass="80" name="walker.pedestrian.0001" pedestrianCategory="pedestrian"> <ParameterDeclarations/> <BoundingBox> <Center x="1.5" y="0.0" z="0.9"/> <Dimensions width="2" length="2" height="2"/> </BoundingBox> <Properties> <Property name="type" value="simulation"/> </Properties> </Pedestrian> </ScenarioObject> <ScenarioObject name="pedestrian_close_to_standing_21507"> <Pedestrian model="walker.pedestrian.0001" mass="80" name="walker.pedestrian.0001" pedestrianCategory="pedestrian"> <ParameterDeclarations/> <BoundingBox> <Center x="1.5" y="0.0" z="0.9"/> <Dimensions width="2" length="2" height="2"/> </BoundingBox> <Properties> <Property name="type" value="simulation"/> </Properties> </Pedestrian> </ScenarioObject> <ScenarioObject name="pedestrian_close_to_hero_21508"> <Pedestrian model="walker.pedestrian.0001" mass="80" name="walker.pedestrian.0001" pedestrianCategory="pedestrian"> <ParameterDeclarations/> <BoundingBox> <Center x="1.5" y="0.0" z="0.9"/> <Dimensions width="2" length="2" height="2"/> </BoundingBox> <Properties> <Property name="type" value="simulation"/> </Properties> </Pedestrian> </ScenarioObject> <ScenarioObject name="pedestrian_w_transform_21509"> <Pedestrian model="walker.pedestrian.0001" mass="80" name="walker.pedestrian.0001" pedestrianCategory="pedestrian"> <ParameterDeclarations/> <BoundingBox> <Center x="1.5" y="0.0" z="0.9"/> <Dimensions width="2" length="2" height="2"/> </BoundingBox> <Properties> <Property name="type" value="simulation"/> </Properties> </Pedestrian> </ScenarioObject> <ScenarioObject name="pedestrian_close_to_hero_21510"> <Pedestrian model="walker.pedestrian.0001" mass="80" name="walker.pedestrian.0001" pedestrianCategory="pedestrian"> <ParameterDeclarations/> <BoundingBox> <Center x="1.5" y="0.0" z="0.9"/> <Dimensions width="2" length="2" height="2"/> </BoundingBox> <Properties> <Property name="type" value="simulation"/> </Properties> </Pedestrian> </ScenarioObject> <ScenarioObject name="pedestrian_w_transform_21511"> <Pedestrian model="walker.pedestrian.0001" mass="80" name="walker.pedestrian.0001" pedestrianCategory="pedestrian"> <ParameterDeclarations/> <BoundingBox> <Center x="1.5" y="0.0" z="0.9"/> <Dimensions width="2" length="2" height="2"/> </BoundingBox> <Properties> <Property name="type" value="simulation"/> </Properties> </Pedestrian> </ScenarioObject> <ScenarioObject name="pedestrian_close_to_hero_21512"> <Pedestrian model="walker.pedestrian.0001" mass="80" name="walker.pedestrian.0001" pedestrianCategory="pedestrian"> <ParameterDeclarations/> <BoundingBox> <Center x="1.5" y="0.0" z="0.9"/> <Dimensions width="2" length="2" height="2"/> </BoundingBox> <Properties> <Property name="type" value="simulation"/> </Properties> </Pedestrian> </ScenarioObject> <ScenarioObject name="pedestrian_w_transform_21513"> <Pedestrian model="walker.pedestrian.0001" mass="80" name="walker.pedestrian.0001" pedestrianCategory="pedestrian"> <ParameterDeclarations/> <BoundingBox> <Center x="1.5" y="0.0" z="0.9"/> <Dimensions width="2" length="2" height="2"/> </BoundingBox> <Properties> <Property name="type" value="simulation"/> </Properties> </Pedestrian> </ScenarioObject> <ScenarioObject name="pedestrian_w_transform_21514"> <Pedestrian model="walker.pedestrian.0001" mass="80" name="walker.pedestrian.0001" pedestrianCategory="pedestrian"> <ParameterDeclarations/> <BoundingBox> <Center x="1.5" y="0.0" z="0.9"/> <Dimensions width="2" length="2" height="2"/> </BoundingBox> <Properties> <Property name="type" value="simulation"/> </Properties> </Pedestrian> </ScenarioObject> <ScenarioObject name="pedestrian_w_transform_21515"> <Pedestrian model="walker.pedestrian.0001" mass="80" name="walker.pedestrian.0001" pedestrianCategory="pedestrian"> <ParameterDeclarations/> <BoundingBox> <Center x="1.5" y="0.0" z="0.9"/> <Dimensions width="2" length="2" height="2"/> </BoundingBox> <Properties> <Property name="type" value="simulation"/> </Properties> </Pedestrian> </ScenarioObject> <ScenarioObject name="pedestrian_close_to_standing_21516"> <Pedestrian model="walker.pedestrian.0001" mass="80" name="walker.pedestrian.0001" pedestrianCategory="pedestrian"> <ParameterDeclarations/> <BoundingBox> <Center x="1.5" y="0.0" z="0.9"/> <Dimensions width="2" length="2" height="2"/> </BoundingBox> <Properties> <Property name="type" value="simulation"/> </Properties> </Pedestrian> </ScenarioObject> <ScenarioObject name="pedestrian_close_to_adversary_21517"> <Pedestrian model="walker.pedestrian.0001" mass="80" name="walker.pedestrian.0001" pedestrianCategory="pedestrian"> <ParameterDeclarations/> <BoundingBox> <Center x="1.5" y="0.0" z="0.9"/> <Dimensions width="2" length="2" height="2"/> </BoundingBox> <Properties> <Property name="type" value="simulation"/> </Properties> </Pedestrian> </ScenarioObject> <ScenarioObject name="pedestrian_w_transform_21518"> <Pedestrian model="walker.pedestrian.0001" mass="80" name="walker.pedestrian.0001" pedestrianCategory="pedestrian"> <ParameterDeclarations/> <BoundingBox> <Center x="1.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_21496"> <PrivateAction> <TeleportAction> <Position> <WorldPosition x="-6.950484752655029" y="-241.88072204589844" z="0.001678848173469305"/> </Position> </TeleportAction> </PrivateAction> </Private> <Private entityRef="pedestrian_close_to_standing_21497"> <PrivateAction> <TeleportAction> <Position> <WorldPosition x="-6.822939872741699" y="30.88006591796875" z="0.0030472564976662397"/> </Position> </TeleportAction> </PrivateAction> </Private> <Private entityRef="pedestrian_w_transform_21498"> <PrivateAction> <TeleportAction> <Position> <WorldPosition x="-51.102745056152344" y="35.68743133544922" z="0.5"/> </Position> </TeleportAction> </PrivateAction> </Private> <Private entityRef="pedestrian_close_to_adversary_21499"> <PrivateAction> <TeleportAction> <Position> <WorldPosition x="-14.04796028137207" y="-68.79383087158203" z="0.03379127383232117"/> </Position> </TeleportAction> </PrivateAction> </Private> <Private entityRef="pedestrian_close_to_adversary_21500"> <PrivateAction> <TeleportAction> <Position> <WorldPosition x="-8.38137435913086" y="-72.42849731445312" z="0.03374115005135536"/> </Position> </TeleportAction> </PrivateAction> </Private> <Private entityRef="pedestrian_w_transform_21501"> <PrivateAction> <TeleportAction> <Position> <WorldPosition x="-14.101703643798828" y="-98.10883331298828" z="0.5"/> </Position> </TeleportAction> </PrivateAction> </Private> <Private entityRef="pedestrian_w_transform_21503"> <PrivateAction> <TeleportAction> <Position> <WorldPosition x="81.3407211303711" y="40.482948303222656" z="0.5"/> </Position> </TeleportAction> </PrivateAction> </Private> <Private entityRef="pedestrian_close_to_hero_21504"> <PrivateAction> <TeleportAction> <Position> <WorldPosition x="-7.3180952072143555" y="-245.38795471191406" z="0.001678848173469305"/> </Position> </TeleportAction> </PrivateAction> </Private> <Private entityRef="pedestrian_w_transform_21506"> <PrivateAction> <TeleportAction> <Position> <WorldPosition x="49.49840545654297" y="-54.33723449707031" z="0.5"/> </Position> </TeleportAction> </PrivateAction> </Private> <Private entityRef="pedestrian_close_to_standing_21507"> <PrivateAction> <TeleportAction> <Position> <WorldPosition x="-15.68956470489502" y="36.573577880859375" z="0.0030566786881536245"/> </Position> </TeleportAction> </PrivateAction> </Private> <Private entityRef="pedestrian_close_to_hero_21508"> <PrivateAction> <TeleportAction> <Position> <WorldPosition x="-9.232665061950684" y="-240.92039489746094" z="0.001678848173469305"/> </Position> </TeleportAction> </PrivateAction> </Private> <Private entityRef="pedestrian_w_transform_21509"> <PrivateAction> <TeleportAction> <Position> <WorldPosition x="-50.480953216552734" y="42.2298698425293" z="0.5"/> </Position> </TeleportAction> </PrivateAction> </Private> <Private entityRef="pedestrian_close_to_hero_21510"> <PrivateAction> <TeleportAction> <Position> <WorldPosition x="-25.728378295898438" y="-244.06350708007812" z="0.001678848173469305"/> </Position> </TeleportAction> </PrivateAction> </Private> <Private entityRef="pedestrian_w_transform_21511"> <PrivateAction> <TeleportAction> <Position> <WorldPosition x="-86.25039672851562" y="-68.2105941772461" z="0.5"/> </Position> </TeleportAction> </PrivateAction> </Private> <Private entityRef="pedestrian_close_to_hero_21512"> <PrivateAction> <TeleportAction> <Position> <WorldPosition x="-9.573929786682129" y="-256.13751220703125" z="0.001678848173469305"/> </Position> </TeleportAction> </PrivateAction> </Private> <Private entityRef="pedestrian_w_transform_21513"> <PrivateAction> <TeleportAction> <Position> <WorldPosition x="76.89723205566406" y="-35.61095428466797" z="0.5"/> </Position> </TeleportAction> </PrivateAction> </Private> <Private entityRef="pedestrian_w_transform_21514"> <PrivateAction> <TeleportAction> <Position> <WorldPosition x="56.093116760253906" y="90.4001235961914" z="0.5"/> </Position> </TeleportAction> </PrivateAction> </Private> <Private entityRef="pedestrian_w_transform_21515"> <PrivateAction> <TeleportAction> <Position> <WorldPosition x="-3.534778356552124" y="-87.47606658935547" z="0.5"/> </Position> </TeleportAction> </PrivateAction> </Private> <Private entityRef="pedestrian_close_to_standing_21516"> <PrivateAction> <TeleportAction> <Position> <WorldPosition x="-16.55173683166504" y="35.0711669921875" z="0.003031310858204961"/> </Position> </TeleportAction> </PrivateAction> </Private> <Private entityRef="pedestrian_close_to_adversary_21517"> <PrivateAction> <TeleportAction> <Position> <WorldPosition x="-4.8156046867370605" y="-70.8173828125" z="0.03376377001404762"/> </Position> </TeleportAction> </PrivateAction> </Private> <Private entityRef="pedestrian_w_transform_21518"> <PrivateAction> <TeleportAction> <Position> <WorldPosition x="-49.92863082885742" y="29.77638053894043" 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 request you to add pedestrian at location (-57.63, -5.96, 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_21680"> <Pedestrian model="walker.pedestrian.0001" mass="80" name="walker.pedestrian.0001" pedestrianCategory="pedestrian"> <ParameterDeclarations/> <BoundingBox> <Center x="1.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_21680"> <PrivateAction> <TeleportAction> <Position> <WorldPosition x="-2.596005439758301" y="28.750076293945312" z="0.003125152550637722"/> </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_21680"> <Pedestrian model="walker.pedestrian.0001" mass="80" name="walker.pedestrian.0001" pedestrianCategory="pedestrian"> <ParameterDeclarations/> <BoundingBox> <Center x="1.5" y="0.0" z="0.9"/> <Dimensions width="2" length="2" height="2"/> </BoundingBox> <Properties> <Property name="type" value="simulation"/> </Properties> </Pedestrian> </ScenarioObject> <ScenarioObject name="pedestrian_w_transform_21681"> <Pedestrian model="walker.pedestrian.0001" mass="80" name="walker.pedestrian.0001" pedestrianCategory="pedestrian"> <ParameterDeclarations/> <BoundingBox> <Center x="1.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_21680"> <PrivateAction> <TeleportAction> <Position> <WorldPosition x="-2.596005439758301" y="28.750076293945312" z="0.003125152550637722"/> </Position> </TeleportAction> </PrivateAction> </Private> <Private entityRef="pedestrian_w_transform_21681"> <PrivateAction> <TeleportAction> <Position> <WorldPosition x="-57.63368225097656" y="-5.96398401260376" 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 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_25327"> <Pedestrian model="walker.pedestrian.0001" mass="80" name="walker.pedestrian.0001" pedestrianCategory="pedestrian"> <ParameterDeclarations/> <BoundingBox> <Center x="1.5" y="0.0" z="0.9"/> <Dimensions width="2" length="2" height="2"/> </BoundingBox> <Properties> <Property name="type" value="simulation"/> </Properties> </Pedestrian> </ScenarioObject> <ScenarioObject name="pedestrian_w_transform_25328"> <Pedestrian model="walker.pedestrian.0001" mass="80" name="walker.pedestrian.0001" pedestrianCategory="pedestrian"> <ParameterDeclarations/> <BoundingBox> <Center x="1.5" y="0.0" z="0.9"/> <Dimensions width="2" length="2" height="2"/> </BoundingBox> <Properties> <Property name="type" value="simulation"/> </Properties> </Pedestrian> </ScenarioObject> <ScenarioObject name="pedestrian_close_to_hero_25329"> <Pedestrian model="walker.pedestrian.0001" mass="80" name="walker.pedestrian.0001" pedestrianCategory="pedestrian"> <ParameterDeclarations/> <BoundingBox> <Center x="1.5" y="0.0" z="0.9"/> <Dimensions width="2" length="2" height="2"/> </BoundingBox> <Properties> <Property name="type" value="simulation"/> </Properties> </Pedestrian> </ScenarioObject> <ScenarioObject name="pedestrian_close_to_hero_25330"> <Pedestrian model="walker.pedestrian.0001" mass="80" name="walker.pedestrian.0001" pedestrianCategory="pedestrian"> <ParameterDeclarations/> <BoundingBox> <Center x="1.5" y="0.0" z="0.9"/> <Dimensions width="2" length="2" height="2"/> </BoundingBox> <Properties> <Property name="type" value="simulation"/> </Properties> </Pedestrian> </ScenarioObject> <ScenarioObject name="pedestrian_close_to_adversary_25331"> <Pedestrian model="walker.pedestrian.0001" mass="80" name="walker.pedestrian.0001" pedestrianCategory="pedestrian"> <ParameterDeclarations/> <BoundingBox> <Center x="1.5" y="0.0" z="0.9"/> <Dimensions width="2" length="2" height="2"/> </BoundingBox> <Properties> <Property name="type" value="simulation"/> </Properties> </Pedestrian> </ScenarioObject> <ScenarioObject name="pedestrian_w_transform_25332"> <Pedestrian model="walker.pedestrian.0001" mass="80" name="walker.pedestrian.0001" pedestrianCategory="pedestrian"> <ParameterDeclarations/> <BoundingBox> <Center x="1.5" y="0.0" z="0.9"/> <Dimensions width="2" length="2" height="2"/> </BoundingBox> <Properties> <Property name="type" value="simulation"/> </Properties> </Pedestrian> </ScenarioObject> <ScenarioObject name="pedestrian_close_to_hero_25333"> <Pedestrian model="walker.pedestrian.0001" mass="80" name="walker.pedestrian.0001" pedestrianCategory="pedestrian"> <ParameterDeclarations/> <BoundingBox> <Center x="1.5" y="0.0" z="0.9"/> <Dimensions width="2" length="2" height="2"/> </BoundingBox> <Properties> <Property name="type" value="simulation"/> </Properties> </Pedestrian> </ScenarioObject> <ScenarioObject name="pedestrian_w_transform_25334"> <Pedestrian model="walker.pedestrian.0001" mass="80" name="walker.pedestrian.0001" pedestrianCategory="pedestrian"> <ParameterDeclarations/> <BoundingBox> <Center x="1.5" y="0.0" z="0.9"/> <Dimensions width="2" length="2" height="2"/> </BoundingBox> <Properties> <Property name="type" value="simulation"/> </Properties> </Pedestrian> </ScenarioObject> <ScenarioObject name="pedestrian_close_to_standing_25335"> <Pedestrian model="walker.pedestrian.0001" mass="80" name="walker.pedestrian.0001" pedestrianCategory="pedestrian"> <ParameterDeclarations/> <BoundingBox> <Center x="1.5" y="0.0" z="0.9"/> <Dimensions width="2" length="2" height="2"/> </BoundingBox> <Properties> <Property name="type" value="simulation"/> </Properties> </Pedestrian> </ScenarioObject> <ScenarioObject name="pedestrian_w_transform_25336"> <Pedestrian model="walker.pedestrian.0001" mass="80" name="walker.pedestrian.0001" pedestrianCategory="pedestrian"> <ParameterDeclarations/> <BoundingBox> <Center x="1.5" y="0.0" z="0.9"/> <Dimensions width="2" length="2" height="2"/> </BoundingBox> <Properties> <Property name="type" value="simulation"/> </Properties> </Pedestrian> </ScenarioObject> <ScenarioObject name="pedestrian_w_transform_25337"> <Pedestrian model="walker.pedestrian.0001" mass="80" name="walker.pedestrian.0001" pedestrianCategory="pedestrian"> <ParameterDeclarations/> <BoundingBox> <Center x="1.5" y="0.0" z="0.9"/> <Dimensions width="2" length="2" height="2"/> </BoundingBox> <Properties> <Property name="type" value="simulation"/> </Properties> </Pedestrian> </ScenarioObject> <ScenarioObject name="pedestrian_close_to_standing_25340"> <Pedestrian model="walker.pedestrian.0001" mass="80" name="walker.pedestrian.0001" pedestrianCategory="pedestrian"> <ParameterDeclarations/> <BoundingBox> <Center x="1.5" y="0.0" z="0.9"/> <Dimensions width="2" length="2" height="2"/> </BoundingBox> <Properties> <Property name="type" value="simulation"/> </Properties> </Pedestrian> </ScenarioObject> <ScenarioObject name="pedestrian_w_transform_25341"> <Pedestrian model="walker.pedestrian.0001" mass="80" name="walker.pedestrian.0001" pedestrianCategory="pedestrian"> <ParameterDeclarations/> <BoundingBox> <Center x="1.5" y="0.0" z="0.9"/> <Dimensions width="2" length="2" height="2"/> </BoundingBox> <Properties> <Property name="type" value="simulation"/> </Properties> </Pedestrian> </ScenarioObject> <ScenarioObject name="pedestrian_close_to_hero_25342"> <Pedestrian model="walker.pedestrian.0001" mass="80" name="walker.pedestrian.0001" pedestrianCategory="pedestrian"> <ParameterDeclarations/> <BoundingBox> <Center x="1.5" y="0.0" z="0.9"/> <Dimensions width="2" length="2" height="2"/> </BoundingBox> <Properties> <Property name="type" value="simulation"/> </Properties> </Pedestrian> </ScenarioObject> <ScenarioObject name="pedestrian_close_to_hero_25343"> <Pedestrian model="walker.pedestrian.0001" mass="80" name="walker.pedestrian.0001" pedestrianCategory="pedestrian"> <ParameterDeclarations/> <BoundingBox> <Center x="1.5" y="0.0" z="0.9"/> <Dimensions width="2" length="2" height="2"/> </BoundingBox> <Properties> <Property name="type" value="simulation"/> </Properties> </Pedestrian> </ScenarioObject> <ScenarioObject name="pedestrian_w_transform_25344"> <Pedestrian model="walker.pedestrian.0001" mass="80" name="walker.pedestrian.0001" pedestrianCategory="pedestrian"> <ParameterDeclarations/> <BoundingBox> <Center x="1.5" y="0.0" z="0.9"/> <Dimensions width="2" length="2" height="2"/> </BoundingBox> <Properties> <Property name="type" value="simulation"/> </Properties> </Pedestrian> </ScenarioObject> <ScenarioObject name="pedestrian_close_to_adversary_25345"> <Pedestrian model="walker.pedestrian.0001" mass="80" name="walker.pedestrian.0001" pedestrianCategory="pedestrian"> <ParameterDeclarations/> <BoundingBox> <Center x="1.5" y="0.0" z="0.9"/> <Dimensions width="2" length="2" height="2"/> </BoundingBox> <Properties> <Property name="type" value="simulation"/> </Properties> </Pedestrian> </ScenarioObject> <ScenarioObject name="pedestrian_w_transform_25346"> <Pedestrian model="walker.pedestrian.0001" mass="80" name="walker.pedestrian.0001" pedestrianCategory="pedestrian"> <ParameterDeclarations/> <BoundingBox> <Center x="1.5" y="0.0" z="0.9"/> <Dimensions width="2" length="2" height="2"/> </BoundingBox> <Properties> <Property name="type" value="simulation"/> </Properties> </Pedestrian> </ScenarioObject> <ScenarioObject name="pedestrian_w_transform_25347"> <Pedestrian model="walker.pedestrian.0001" mass="80" name="walker.pedestrian.0001" pedestrianCategory="pedestrian"> <ParameterDeclarations/> <BoundingBox> <Center x="1.5" y="0.0" z="0.9"/> <Dimensions width="2" length="2" height="2"/> </BoundingBox> <Properties> <Property name="type" value="simulation"/> </Properties> </Pedestrian> </ScenarioObject> <ScenarioObject name="pedestrian_w_transform_25348"> <Pedestrian model="walker.pedestrian.0001" mass="80" name="walker.pedestrian.0001" pedestrianCategory="pedestrian"> <ParameterDeclarations/> <BoundingBox> <Center x="1.5" y="0.0" z="0.9"/> <Dimensions width="2" length="2" height="2"/> </BoundingBox> <Properties> <Property name="type" value="simulation"/> </Properties> </Pedestrian> </ScenarioObject> <ScenarioObject name="pedestrian_close_to_adversary_25349"> <Pedestrian model="walker.pedestrian.0001" mass="80" name="walker.pedestrian.0001" pedestrianCategory="pedestrian"> <ParameterDeclarations/> <BoundingBox> <Center x="1.5" y="0.0" z="0.9"/> <Dimensions width="2" length="2" height="2"/> </BoundingBox> <Properties> <Property name="type" value="simulation"/> </Properties> </Pedestrian> </ScenarioObject> <ScenarioObject name="pedestrian_close_to_standing_25350"> <Pedestrian model="walker.pedestrian.0001" mass="80" name="walker.pedestrian.0001" pedestrianCategory="pedestrian"> <ParameterDeclarations/> <BoundingBox> <Center x="1.5" y="0.0" z="0.9"/> <Dimensions width="2" length="2" height="2"/> </BoundingBox> <Properties> <Property name="type" value="simulation"/> </Properties> </Pedestrian> </ScenarioObject> <ScenarioObject name="pedestrian_w_transform_25351"> <Pedestrian model="walker.pedestrian.0001" mass="80" name="walker.pedestrian.0001" pedestrianCategory="pedestrian"> <ParameterDeclarations/> <BoundingBox> <Center x="1.5" y="0.0" z="0.9"/> <Dimensions width="2" length="2" height="2"/> </BoundingBox> <Properties> <Property name="type" value="simulation"/> </Properties> </Pedestrian> </ScenarioObject> <ScenarioObject name="pedestrian_w_transform_25352"> <Pedestrian model="walker.pedestrian.0001" mass="80" name="walker.pedestrian.0001" pedestrianCategory="pedestrian"> <ParameterDeclarations/> <BoundingBox> <Center x="1.5" y="0.0" z="0.9"/> <Dimensions width="2" length="2" height="2"/> </BoundingBox> <Properties> <Property name="type" value="simulation"/> </Properties> </Pedestrian> </ScenarioObject> <ScenarioObject name="pedestrian_close_to_hero_25353"> <Pedestrian model="walker.pedestrian.0001" mass="80" name="walker.pedestrian.0001" pedestrianCategory="pedestrian"> <ParameterDeclarations/> <BoundingBox> <Center x="1.5" y="0.0" z="0.9"/> <Dimensions width="2" length="2" height="2"/> </BoundingBox> <Properties> <Property name="type" value="simulation"/> </Properties> </Pedestrian> </ScenarioObject> <ScenarioObject name="pedestrian_close_to_hero_25354"> <Pedestrian model="walker.pedestrian.0001" mass="80" name="walker.pedestrian.0001" pedestrianCategory="pedestrian"> <ParameterDeclarations/> <BoundingBox> <Center x="1.5" y="0.0" z="0.9"/> <Dimensions width="2" length="2" height="2"/> </BoundingBox> <Properties> <Property name="type" value="simulation"/> </Properties> </Pedestrian> </ScenarioObject> <ScenarioObject name="pedestrian_close_to_standing_25355"> <Pedestrian model="walker.pedestrian.0001" mass="80" name="walker.pedestrian.0001" pedestrianCategory="pedestrian"> <ParameterDeclarations/> <BoundingBox> <Center x="1.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_25327"> <PrivateAction> <TeleportAction> <Position> <WorldPosition x="-8.306436538696289" y="37.686649322509766" z="0.0030140685848891735"/> </Position> </TeleportAction> </PrivateAction> </Private> <Private entityRef="pedestrian_w_transform_25328"> <PrivateAction> <TeleportAction> <Position> <WorldPosition x="-62.214500427246094" y="-33.56753921508789" z="0.5"/> </Position> </TeleportAction> </PrivateAction> </Private> <Private entityRef="pedestrian_close_to_hero_25329"> <PrivateAction> <TeleportAction> <Position> <WorldPosition x="-14.393634796142578" y="-148.94558715820312" z="0.0013734435196965933"/> </Position> </TeleportAction> </PrivateAction> </Private> <Private entityRef="pedestrian_close_to_hero_25330"> <PrivateAction> <TeleportAction> <Position> <WorldPosition x="-5.45058536529541" y="-162.41799926757812" z="0.0013734435196965933"/> </Position> </TeleportAction> </PrivateAction> </Private> <Private entityRef="pedestrian_close_to_adversary_25331"> <PrivateAction> <TeleportAction> <Position> <WorldPosition x="-2.4215400218963623" y="-64.86397552490234" z="0.03375747427344322"/> </Position> </TeleportAction> </PrivateAction> </Private> <Private entityRef="pedestrian_w_transform_25332"> <PrivateAction> <TeleportAction> <Position> <WorldPosition x="53.15966033935547" y="40.68853759765625" z="0.5"/> </Position> </TeleportAction> </PrivateAction> </Private> <Private entityRef="pedestrian_close_to_hero_25333"> <PrivateAction> <TeleportAction> <Position> <WorldPosition x="-9.728434562683105" y="-154.9979248046875" z="0.0013734435196965933"/> </Position> </TeleportAction> </PrivateAction> </Private> <Private entityRef="pedestrian_w_transform_25334"> <PrivateAction> <TeleportAction> <Position> <WorldPosition x="-12.926053047180176" y="8.929834365844727" z="0.5"/> </Position> </TeleportAction> </PrivateAction> </Private> <Private entityRef="pedestrian_close_to_standing_25335"> <PrivateAction> <TeleportAction> <Position> <WorldPosition x="-10.048514366149902" y="47.79756546020508" z="0.003008613595739007"/> </Position> </TeleportAction> </PrivateAction> </Private> <Private entityRef="pedestrian_w_transform_25336"> <PrivateAction> <TeleportAction> <Position> <WorldPosition x="14.029886245727539" y="-78.17108154296875" z="0.5"/> </Position> </TeleportAction> </PrivateAction> </Private> <Private entityRef="pedestrian_w_transform_25337"> <PrivateAction> <TeleportAction> <Position> <WorldPosition x="-66.4540023803711" y="-60.09901428222656" z="0.5"/> </Position> </TeleportAction> </PrivateAction> </Private> <Private entityRef="pedestrian_close_to_standing_25340"> <PrivateAction> <TeleportAction> <Position> <WorldPosition x="-1.469030499458313" y="37.42388916015625" z="0.0030090713407844305"/> </Position> </TeleportAction> </PrivateAction> </Private> <Private entityRef="pedestrian_w_transform_25341"> <PrivateAction> <TeleportAction> <Position> <WorldPosition x="-10.669703483581543" y="-56.39752197265625" z="0.5"/> </Position> </TeleportAction> </PrivateAction> </Private> <Private entityRef="pedestrian_close_to_hero_25342"> <PrivateAction> <TeleportAction> <Position> <WorldPosition x="1.0459601879119873" y="-136.32363891601562" z="0.0013734435196965933"/> </Position> </TeleportAction> </PrivateAction> </Private> <Private entityRef="pedestrian_close_to_hero_25343"> <PrivateAction> <TeleportAction> <Position> <WorldPosition x="-22.750953674316406" y="-152.79281616210938" z="0.0013734435196965933"/> </Position> </TeleportAction> </PrivateAction> </Private> <Private entityRef="pedestrian_w_transform_25344"> <PrivateAction> <TeleportAction> <Position> <WorldPosition x="-76.84502410888672" y="52.67488098144531" z="0.5"/> </Position> </TeleportAction> </PrivateAction> </Private> <Private entityRef="pedestrian_close_to_adversary_25345"> <PrivateAction> <TeleportAction> <Position> <WorldPosition x="-16.555322647094727" y="-67.67962646484375" z="0.033770255744457245"/> </Position> </TeleportAction> </PrivateAction> </Private> <Private entityRef="pedestrian_w_transform_25346"> <PrivateAction> <TeleportAction> <Position> <WorldPosition x="-93.35708618164062" y="44.7370719909668" z="0.5"/> </Position> </TeleportAction> </PrivateAction> </Private> <Private entityRef="pedestrian_w_transform_25347"> <PrivateAction> <TeleportAction> <Position> <WorldPosition x="75.4298095703125" y="-12.581022262573242" z="0.5"/> </Position> </TeleportAction> </PrivateAction> </Private> <Private entityRef="pedestrian_w_transform_25348"> <PrivateAction> <TeleportAction> <Position> <WorldPosition x="82.01028442382812" y="41.27822494506836" z="0.5"/> </Position> </TeleportAction> </PrivateAction> </Private> <Private entityRef="pedestrian_close_to_adversary_25349"> <PrivateAction> <TeleportAction> <Position> <WorldPosition x="-6.695196151733398" y="-77.58499908447266" z="0.03379005193710327"/> </Position> </TeleportAction> </PrivateAction> </Private> <Private entityRef="pedestrian_close_to_standing_25350"> <PrivateAction> <TeleportAction> <Position> <WorldPosition x="-4.520578861236572" y="29.4641170501709" z="0.0030248642433434725"/> </Position> </TeleportAction> </PrivateAction> </Private> <Private entityRef="pedestrian_w_transform_25351"> <PrivateAction> <TeleportAction> <Position> <WorldPosition x="-37.44059371948242" y="-42.00408935546875" z="0.5"/> </Position> </TeleportAction> </PrivateAction> </Private> <Private entityRef="pedestrian_w_transform_25352"> <PrivateAction> <TeleportAction> <Position> <WorldPosition x="98.38008880615234" y="-92.41463470458984" z="0.5"/> </Position> </TeleportAction> </PrivateAction> </Private> <Private entityRef="pedestrian_close_to_hero_25353"> <PrivateAction> <TeleportAction> <Position> <WorldPosition x="-12.149892807006836" y="-145.7711944580078" z="0.0013734435196965933"/> </Position> </TeleportAction> </PrivateAction> </Private> <Private entityRef="pedestrian_close_to_hero_25354"> <PrivateAction> <TeleportAction> <Position> <WorldPosition x="-8.145813941955566" y="-144.0453338623047" z="0.0013734435196965933"/> </Position> </TeleportAction> </PrivateAction> </Private> <Private entityRef="pedestrian_close_to_standing_25355"> <PrivateAction> <TeleportAction> <Position> <WorldPosition x="-10.626484870910645" y="23.814998626708984" z="0.003039131173864007"/> </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_25327"> <Pedestrian model="walker.pedestrian.0001" mass="80" name="walker.pedestrian.0001" pedestrianCategory="pedestrian"> <ParameterDeclarations/> <BoundingBox> <Center x="1.5" y="0.0" z="0.9"/> <Dimensions width="2" length="2" height="2"/> </BoundingBox> <Properties> <Property name="type" value="simulation"/> </Properties> </Pedestrian> </ScenarioObject> <ScenarioObject name="pedestrian_w_transform_25328"> <Pedestrian model="walker.pedestrian.0001" mass="80" name="walker.pedestrian.0001" pedestrianCategory="pedestrian"> <ParameterDeclarations/> <BoundingBox> <Center x="1.5" y="0.0" z="0.9"/> <Dimensions width="2" length="2" height="2"/> </BoundingBox> <Properties> <Property name="type" value="simulation"/> </Properties> </Pedestrian> </ScenarioObject> <ScenarioObject name="pedestrian_close_to_hero_25329"> <Pedestrian model="walker.pedestrian.0001" mass="80" name="walker.pedestrian.0001" pedestrianCategory="pedestrian"> <ParameterDeclarations/> <BoundingBox> <Center x="1.5" y="0.0" z="0.9"/> <Dimensions width="2" length="2" height="2"/> </BoundingBox> <Properties> <Property name="type" value="simulation"/> </Properties> </Pedestrian> </ScenarioObject> <ScenarioObject name="pedestrian_close_to_hero_25330"> <Pedestrian model="walker.pedestrian.0001" mass="80" name="walker.pedestrian.0001" pedestrianCategory="pedestrian"> <ParameterDeclarations/> <BoundingBox> <Center x="1.5" y="0.0" z="0.9"/> <Dimensions width="2" length="2" height="2"/> </BoundingBox> <Properties> <Property name="type" value="simulation"/> </Properties> </Pedestrian> </ScenarioObject> <ScenarioObject name="pedestrian_close_to_adversary_25331"> <Pedestrian model="walker.pedestrian.0001" mass="80" name="walker.pedestrian.0001" pedestrianCategory="pedestrian"> <ParameterDeclarations/> <BoundingBox> <Center x="1.5" y="0.0" z="0.9"/> <Dimensions width="2" length="2" height="2"/> </BoundingBox> <Properties> <Property name="type" value="simulation"/> </Properties> </Pedestrian> </ScenarioObject> <ScenarioObject name="pedestrian_w_transform_25332"> <Pedestrian model="walker.pedestrian.0001" mass="80" name="walker.pedestrian.0001" pedestrianCategory="pedestrian"> <ParameterDeclarations/> <BoundingBox> <Center x="1.5" y="0.0" z="0.9"/> <Dimensions width="2" length="2" height="2"/> </BoundingBox> <Properties> <Property name="type" value="simulation"/> </Properties> </Pedestrian> </ScenarioObject> <ScenarioObject name="pedestrian_close_to_hero_25333"> <Pedestrian model="walker.pedestrian.0001" mass="80" name="walker.pedestrian.0001" pedestrianCategory="pedestrian"> <ParameterDeclarations/> <BoundingBox> <Center x="1.5" y="0.0" z="0.9"/> <Dimensions width="2" length="2" height="2"/> </BoundingBox> <Properties> <Property name="type" value="simulation"/> </Properties> </Pedestrian> </ScenarioObject> <ScenarioObject name="pedestrian_w_transform_25334"> <Pedestrian model="walker.pedestrian.0001" mass="80" name="walker.pedestrian.0001" pedestrianCategory="pedestrian"> <ParameterDeclarations/> <BoundingBox> <Center x="1.5" y="0.0" z="0.9"/> <Dimensions width="2" length="2" height="2"/> </BoundingBox> <Properties> <Property name="type" value="simulation"/> </Properties> </Pedestrian> </ScenarioObject> <ScenarioObject name="pedestrian_close_to_standing_25335"> <Pedestrian model="walker.pedestrian.0001" mass="80" name="walker.pedestrian.0001" pedestrianCategory="pedestrian"> <ParameterDeclarations/> <BoundingBox> <Center x="1.5" y="0.0" z="0.9"/> <Dimensions width="2" length="2" height="2"/> </BoundingBox> <Properties> <Property name="type" value="simulation"/> </Properties> </Pedestrian> </ScenarioObject> <ScenarioObject name="pedestrian_w_transform_25336"> <Pedestrian model="walker.pedestrian.0001" mass="80" name="walker.pedestrian.0001" pedestrianCategory="pedestrian"> <ParameterDeclarations/> <BoundingBox> <Center x="1.5" y="0.0" z="0.9"/> <Dimensions width="2" length="2" height="2"/> </BoundingBox> <Properties> <Property name="type" value="simulation"/> </Properties> </Pedestrian> </ScenarioObject> <ScenarioObject name="pedestrian_w_transform_25337"> <Pedestrian model="walker.pedestrian.0001" mass="80" name="walker.pedestrian.0001" pedestrianCategory="pedestrian"> <ParameterDeclarations/> <BoundingBox> <Center x="1.5" y="0.0" z="0.9"/> <Dimensions width="2" length="2" height="2"/> </BoundingBox> <Properties> <Property name="type" value="simulation"/> </Properties> </Pedestrian> </ScenarioObject> <ScenarioObject name="pedestrian_close_to_standing_25340"> <Pedestrian model="walker.pedestrian.0001" mass="80" name="walker.pedestrian.0001" pedestrianCategory="pedestrian"> <ParameterDeclarations/> <BoundingBox> <Center x="1.5" y="0.0" z="0.9"/> <Dimensions width="2" length="2" height="2"/> </BoundingBox> <Properties> <Property name="type" value="simulation"/> </Properties> </Pedestrian> </ScenarioObject> <ScenarioObject name="pedestrian_w_transform_25341"> <Pedestrian model="walker.pedestrian.0001" mass="80" name="walker.pedestrian.0001" pedestrianCategory="pedestrian"> <ParameterDeclarations/> <BoundingBox> <Center x="1.5" y="0.0" z="0.9"/> <Dimensions width="2" length="2" height="2"/> </BoundingBox> <Properties> <Property name="type" value="simulation"/> </Properties> </Pedestrian> </ScenarioObject> <ScenarioObject name="pedestrian_close_to_hero_25342"> <Pedestrian model="walker.pedestrian.0001" mass="80" name="walker.pedestrian.0001" pedestrianCategory="pedestrian"> <ParameterDeclarations/> <BoundingBox> <Center x="1.5" y="0.0" z="0.9"/> <Dimensions width="2" length="2" height="2"/> </BoundingBox> <Properties> <Property name="type" value="simulation"/> </Properties> </Pedestrian> </ScenarioObject> <ScenarioObject name="pedestrian_close_to_hero_25343"> <Pedestrian model="walker.pedestrian.0001" mass="80" name="walker.pedestrian.0001" pedestrianCategory="pedestrian"> <ParameterDeclarations/> <BoundingBox> <Center x="1.5" y="0.0" z="0.9"/> <Dimensions width="2" length="2" height="2"/> </BoundingBox> <Properties> <Property name="type" value="simulation"/> </Properties> </Pedestrian> </ScenarioObject> <ScenarioObject name="pedestrian_w_transform_25344"> <Pedestrian model="walker.pedestrian.0001" mass="80" name="walker.pedestrian.0001" pedestrianCategory="pedestrian"> <ParameterDeclarations/> <BoundingBox> <Center x="1.5" y="0.0" z="0.9"/> <Dimensions width="2" length="2" height="2"/> </BoundingBox> <Properties> <Property name="type" value="simulation"/> </Properties> </Pedestrian> </ScenarioObject> <ScenarioObject name="pedestrian_close_to_adversary_25345"> <Pedestrian model="walker.pedestrian.0001" mass="80" name="walker.pedestrian.0001" pedestrianCategory="pedestrian"> <ParameterDeclarations/> <BoundingBox> <Center x="1.5" y="0.0" z="0.9"/> <Dimensions width="2" length="2" height="2"/> </BoundingBox> <Properties> <Property name="type" value="simulation"/> </Properties> </Pedestrian> </ScenarioObject> <ScenarioObject name="pedestrian_w_transform_25346"> <Pedestrian model="walker.pedestrian.0001" mass="80" name="walker.pedestrian.0001" pedestrianCategory="pedestrian"> <ParameterDeclarations/> <BoundingBox> <Center x="1.5" y="0.0" z="0.9"/> <Dimensions width="2" length="2" height="2"/> </BoundingBox> <Properties> <Property name="type" value="simulation"/> </Properties> </Pedestrian> </ScenarioObject> <ScenarioObject name="pedestrian_w_transform_25347"> <Pedestrian model="walker.pedestrian.0001" mass="80" name="walker.pedestrian.0001" pedestrianCategory="pedestrian"> <ParameterDeclarations/> <BoundingBox> <Center x="1.5" y="0.0" z="0.9"/> <Dimensions width="2" length="2" height="2"/> </BoundingBox> <Properties> <Property name="type" value="simulation"/> </Properties> </Pedestrian> </ScenarioObject> <ScenarioObject name="pedestrian_w_transform_25348"> <Pedestrian model="walker.pedestrian.0001" mass="80" name="walker.pedestrian.0001" pedestrianCategory="pedestrian"> <ParameterDeclarations/> <BoundingBox> <Center x="1.5" y="0.0" z="0.9"/> <Dimensions width="2" length="2" height="2"/> </BoundingBox> <Properties> <Property name="type" value="simulation"/> </Properties> </Pedestrian> </ScenarioObject> <ScenarioObject name="pedestrian_close_to_adversary_25349"> <Pedestrian model="walker.pedestrian.0001" mass="80" name="walker.pedestrian.0001" pedestrianCategory="pedestrian"> <ParameterDeclarations/> <BoundingBox> <Center x="1.5" y="0.0" z="0.9"/> <Dimensions width="2" length="2" height="2"/> </BoundingBox> <Properties> <Property name="type" value="simulation"/> </Properties> </Pedestrian> </ScenarioObject> <ScenarioObject name="pedestrian_close_to_standing_25350"> <Pedestrian model="walker.pedestrian.0001" mass="80" name="walker.pedestrian.0001" pedestrianCategory="pedestrian"> <ParameterDeclarations/> <BoundingBox> <Center x="1.5" y="0.0" z="0.9"/> <Dimensions width="2" length="2" height="2"/> </BoundingBox> <Properties> <Property name="type" value="simulation"/> </Properties> </Pedestrian> </ScenarioObject> <ScenarioObject name="pedestrian_w_transform_25351"> <Pedestrian model="walker.pedestrian.0001" mass="80" name="walker.pedestrian.0001" pedestrianCategory="pedestrian"> <ParameterDeclarations/> <BoundingBox> <Center x="1.5" y="0.0" z="0.9"/> <Dimensions width="2" length="2" height="2"/> </BoundingBox> <Properties> <Property name="type" value="simulation"/> </Properties> </Pedestrian> </ScenarioObject> <ScenarioObject name="pedestrian_w_transform_25352"> <Pedestrian model="walker.pedestrian.0001" mass="80" name="walker.pedestrian.0001" pedestrianCategory="pedestrian"> <ParameterDeclarations/> <BoundingBox> <Center x="1.5" y="0.0" z="0.9"/> <Dimensions width="2" length="2" height="2"/> </BoundingBox> <Properties> <Property name="type" value="simulation"/> </Properties> </Pedestrian> </ScenarioObject> <ScenarioObject name="pedestrian_close_to_hero_25353"> <Pedestrian model="walker.pedestrian.0001" mass="80" name="walker.pedestrian.0001" pedestrianCategory="pedestrian"> <ParameterDeclarations/> <BoundingBox> <Center x="1.5" y="0.0" z="0.9"/> <Dimensions width="2" length="2" height="2"/> </BoundingBox> <Properties> <Property name="type" value="simulation"/> </Properties> </Pedestrian> </ScenarioObject> <ScenarioObject name="pedestrian_close_to_hero_25354"> <Pedestrian model="walker.pedestrian.0001" mass="80" name="walker.pedestrian.0001" pedestrianCategory="pedestrian"> <ParameterDeclarations/> <BoundingBox> <Center x="1.5" y="0.0" z="0.9"/> <Dimensions width="2" length="2" height="2"/> </BoundingBox> <Properties> <Property name="type" value="simulation"/> </Properties> </Pedestrian> </ScenarioObject> <ScenarioObject name="pedestrian_close_to_standing_25355"> <Pedestrian model="walker.pedestrian.0001" mass="80" name="walker.pedestrian.0001" pedestrianCategory="pedestrian"> <ParameterDeclarations/> <BoundingBox> <Center x="1.5" y="0.0" z="0.9"/> <Dimensions width="2" length="2" height="2"/> </BoundingBox> <Properties> <Property name="type" value="simulation"/> </Properties> </Pedestrian> </ScenarioObject> <ScenarioObject name="pedestrian_close_to_adversary_25356"> <Pedestrian model="walker.pedestrian.0001" mass="80" name="walker.pedestrian.0001" pedestrianCategory="pedestrian"> <ParameterDeclarations/> <BoundingBox> <Center x="1.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_25327"> <PrivateAction> <TeleportAction> <Position> <WorldPosition x="-8.306436538696289" y="37.686649322509766" z="0.0030140685848891735"/> </Position> </TeleportAction> </PrivateAction> </Private> <Private entityRef="pedestrian_w_transform_25328"> <PrivateAction> <TeleportAction> <Position> <WorldPosition x="-62.214500427246094" y="-33.56753921508789" z="0.5"/> </Position> </TeleportAction> </PrivateAction> </Private> <Private entityRef="pedestrian_close_to_hero_25329"> <PrivateAction> <TeleportAction> <Position> <WorldPosition x="-14.393634796142578" y="-148.94558715820312" z="0.0013734435196965933"/> </Position> </TeleportAction> </PrivateAction> </Private> <Private entityRef="pedestrian_close_to_hero_25330"> <PrivateAction> <TeleportAction> <Position> <WorldPosition x="-5.45058536529541" y="-162.41799926757812" z="0.0013734435196965933"/> </Position> </TeleportAction> </PrivateAction> </Private> <Private entityRef="pedestrian_close_to_adversary_25331"> <PrivateAction> <TeleportAction> <Position> <WorldPosition x="-2.4215400218963623" y="-64.86397552490234" z="0.03375747427344322"/> </Position> </TeleportAction> </PrivateAction> </Private> <Private entityRef="pedestrian_w_transform_25332"> <PrivateAction> <TeleportAction> <Position> <WorldPosition x="53.15966033935547" y="40.68853759765625" z="0.5"/> </Position> </TeleportAction> </PrivateAction> </Private> <Private entityRef="pedestrian_close_to_hero_25333"> <PrivateAction> <TeleportAction> <Position> <WorldPosition x="-9.728434562683105" y="-154.9979248046875" z="0.0013734435196965933"/> </Position> </TeleportAction> </PrivateAction> </Private> <Private entityRef="pedestrian_w_transform_25334"> <PrivateAction> <TeleportAction> <Position> <WorldPosition x="-12.926053047180176" y="8.929834365844727" z="0.5"/> </Position> </TeleportAction> </PrivateAction> </Private> <Private entityRef="pedestrian_close_to_standing_25335"> <PrivateAction> <TeleportAction> <Position> <WorldPosition x="-10.048514366149902" y="47.79756546020508" z="0.003008613595739007"/> </Position> </TeleportAction> </PrivateAction> </Private> <Private entityRef="pedestrian_w_transform_25336"> <PrivateAction> <TeleportAction> <Position> <WorldPosition x="14.029886245727539" y="-78.17108154296875" z="0.5"/> </Position> </TeleportAction> </PrivateAction> </Private> <Private entityRef="pedestrian_w_transform_25337"> <PrivateAction> <TeleportAction> <Position> <WorldPosition x="-66.4540023803711" y="-60.09901428222656" z="0.5"/> </Position> </TeleportAction> </PrivateAction> </Private> <Private entityRef="pedestrian_close_to_standing_25340"> <PrivateAction> <TeleportAction> <Position> <WorldPosition x="-1.469030499458313" y="37.42388916015625" z="0.0030090713407844305"/> </Position> </TeleportAction> </PrivateAction> </Private> <Private entityRef="pedestrian_w_transform_25341"> <PrivateAction> <TeleportAction> <Position> <WorldPosition x="-10.669703483581543" y="-56.39752197265625" z="0.5"/> </Position> </TeleportAction> </PrivateAction> </Private> <Private entityRef="pedestrian_close_to_hero_25342"> <PrivateAction> <TeleportAction> <Position> <WorldPosition x="1.0459601879119873" y="-136.32363891601562" z="0.0013734435196965933"/> </Position> </TeleportAction> </PrivateAction> </Private> <Private entityRef="pedestrian_close_to_hero_25343"> <PrivateAction> <TeleportAction> <Position> <WorldPosition x="-22.750953674316406" y="-152.79281616210938" z="0.0013734435196965933"/> </Position> </TeleportAction> </PrivateAction> </Private> <Private entityRef="pedestrian_w_transform_25344"> <PrivateAction> <TeleportAction> <Position> <WorldPosition x="-76.84502410888672" y="52.67488098144531" z="0.5"/> </Position> </TeleportAction> </PrivateAction> </Private> <Private entityRef="pedestrian_close_to_adversary_25345"> <PrivateAction> <TeleportAction> <Position> <WorldPosition x="-16.555322647094727" y="-67.67962646484375" z="0.033770255744457245"/> </Position> </TeleportAction> </PrivateAction> </Private> <Private entityRef="pedestrian_w_transform_25346"> <PrivateAction> <TeleportAction> <Position> <WorldPosition x="-93.35708618164062" y="44.7370719909668" z="0.5"/> </Position> </TeleportAction> </PrivateAction> </Private> <Private entityRef="pedestrian_w_transform_25347"> <PrivateAction> <TeleportAction> <Position> <WorldPosition x="75.4298095703125" y="-12.581022262573242" z="0.5"/> </Position> </TeleportAction> </PrivateAction> </Private> <Private entityRef="pedestrian_w_transform_25348"> <PrivateAction> <TeleportAction> <Position> <WorldPosition x="82.01028442382812" y="41.27822494506836" z="0.5"/> </Position> </TeleportAction> </PrivateAction> </Private> <Private entityRef="pedestrian_close_to_adversary_25349"> <PrivateAction> <TeleportAction> <Position> <WorldPosition x="-6.695196151733398" y="-77.58499908447266" z="0.03379005193710327"/> </Position> </TeleportAction> </PrivateAction> </Private> <Private entityRef="pedestrian_close_to_standing_25350"> <PrivateAction> <TeleportAction> <Position> <WorldPosition x="-4.520578861236572" y="29.4641170501709" z="0.0030248642433434725"/> </Position> </TeleportAction> </PrivateAction> </Private> <Private entityRef="pedestrian_w_transform_25351"> <PrivateAction> <TeleportAction> <Position> <WorldPosition x="-37.44059371948242" y="-42.00408935546875" z="0.5"/> </Position> </TeleportAction> </PrivateAction> </Private> <Private entityRef="pedestrian_w_transform_25352"> <PrivateAction> <TeleportAction> <Position> <WorldPosition x="98.38008880615234" y="-92.41463470458984" z="0.5"/> </Position> </TeleportAction> </PrivateAction> </Private> <Private entityRef="pedestrian_close_to_hero_25353"> <PrivateAction> <TeleportAction> <Position> <WorldPosition x="-12.149892807006836" y="-145.7711944580078" z="0.0013734435196965933"/> </Position> </TeleportAction> </PrivateAction> </Private> <Private entityRef="pedestrian_close_to_hero_25354"> <PrivateAction> <TeleportAction> <Position> <WorldPosition x="-8.145813941955566" y="-144.0453338623047" z="0.0013734435196965933"/> </Position> </TeleportAction> </PrivateAction> </Private> <Private entityRef="pedestrian_close_to_standing_25355"> <PrivateAction> <TeleportAction> <Position> <WorldPosition x="-10.626484870910645" y="23.814998626708984" z="0.003039131173864007"/> </Position> </TeleportAction> </PrivateAction> </Private> <Private entityRef="pedestrian_close_to_adversary_25356"> <PrivateAction> <TeleportAction> <Position> <WorldPosition x="-18.71125030517578" y="-74.32901763916016" z="0.03376350179314613"/> </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 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_19721"> <Pedestrian model="walker.pedestrian.0001" mass="80" name="walker.pedestrian.0001" pedestrianCategory="pedestrian"> <ParameterDeclarations/> <BoundingBox> <Center x="1.5" y="0.0" z="0.9"/> <Dimensions width="2" length="2" height="2"/> </BoundingBox> <Properties> <Property name="type" value="simulation"/> </Properties> </Pedestrian> </ScenarioObject> <ScenarioObject name="pedestrian_close_to_adversary_19722"> <Pedestrian model="walker.pedestrian.0001" mass="80" name="walker.pedestrian.0001" pedestrianCategory="pedestrian"> <ParameterDeclarations/> <BoundingBox> <Center x="1.5" y="0.0" z="0.9"/> <Dimensions width="2" length="2" height="2"/> </BoundingBox> <Properties> <Property name="type" value="simulation"/> </Properties> </Pedestrian> </ScenarioObject> <ScenarioObject name="pedestrian_w_transform_19723"> <Pedestrian model="walker.pedestrian.0001" mass="80" name="walker.pedestrian.0001" pedestrianCategory="pedestrian"> <ParameterDeclarations/> <BoundingBox> <Center x="1.5" y="0.0" z="0.9"/> <Dimensions width="2" length="2" height="2"/> </BoundingBox> <Properties> <Property name="type" value="simulation"/> </Properties> </Pedestrian> </ScenarioObject> <ScenarioObject name="pedestrian_close_to_hero_19724"> <Pedestrian model="walker.pedestrian.0001" mass="80" name="walker.pedestrian.0001" pedestrianCategory="pedestrian"> <ParameterDeclarations/> <BoundingBox> <Center x="1.5" y="0.0" z="0.9"/> <Dimensions width="2" length="2" height="2"/> </BoundingBox> <Properties> <Property name="type" value="simulation"/> </Properties> </Pedestrian> </ScenarioObject> <ScenarioObject name="pedestrian_close_to_adversary_19725"> <Pedestrian model="walker.pedestrian.0001" mass="80" name="walker.pedestrian.0001" pedestrianCategory="pedestrian"> <ParameterDeclarations/> <BoundingBox> <Center x="1.5" y="0.0" z="0.9"/> <Dimensions width="2" length="2" height="2"/> </BoundingBox> <Properties> <Property name="type" value="simulation"/> </Properties> </Pedestrian> </ScenarioObject> <ScenarioObject name="pedestrian_close_to_adversary_19726"> <Pedestrian model="walker.pedestrian.0001" mass="80" name="walker.pedestrian.0001" pedestrianCategory="pedestrian"> <ParameterDeclarations/> <BoundingBox> <Center x="1.5" y="0.0" z="0.9"/> <Dimensions width="2" length="2" height="2"/> </BoundingBox> <Properties> <Property name="type" value="simulation"/> </Properties> </Pedestrian> </ScenarioObject> <ScenarioObject name="pedestrian_w_transform_19727"> <Pedestrian model="walker.pedestrian.0001" mass="80" name="walker.pedestrian.0001" pedestrianCategory="pedestrian"> <ParameterDeclarations/> <BoundingBox> <Center x="1.5" y="0.0" z="0.9"/> <Dimensions width="2" length="2" height="2"/> </BoundingBox> <Properties> <Property name="type" value="simulation"/> </Properties> </Pedestrian> </ScenarioObject> <ScenarioObject name="pedestrian_w_transform_19728"> <Pedestrian model="walker.pedestrian.0001" mass="80" name="walker.pedestrian.0001" pedestrianCategory="pedestrian"> <ParameterDeclarations/> <BoundingBox> <Center x="1.5" y="0.0" z="0.9"/> <Dimensions width="2" length="2" height="2"/> </BoundingBox> <Properties> <Property name="type" value="simulation"/> </Properties> </Pedestrian> </ScenarioObject> <ScenarioObject name="pedestrian_w_transform_19729"> <Pedestrian model="walker.pedestrian.0001" mass="80" name="walker.pedestrian.0001" pedestrianCategory="pedestrian"> <ParameterDeclarations/> <BoundingBox> <Center x="1.5" y="0.0" z="0.9"/> <Dimensions width="2" length="2" height="2"/> </BoundingBox> <Properties> <Property name="type" value="simulation"/> </Properties> </Pedestrian> </ScenarioObject> <ScenarioObject name="pedestrian_w_transform_19730"> <Pedestrian model="walker.pedestrian.0001" mass="80" name="walker.pedestrian.0001" pedestrianCategory="pedestrian"> <ParameterDeclarations/> <BoundingBox> <Center x="1.5" y="0.0" z="0.9"/> <Dimensions width="2" length="2" height="2"/> </BoundingBox> <Properties> <Property name="type" value="simulation"/> </Properties> </Pedestrian> </ScenarioObject> <ScenarioObject name="pedestrian_close_to_hero_19731"> <Pedestrian model="walker.pedestrian.0001" mass="80" name="walker.pedestrian.0001" pedestrianCategory="pedestrian"> <ParameterDeclarations/> <BoundingBox> <Center x="1.5" y="0.0" z="0.9"/> <Dimensions width="2" length="2" height="2"/> </BoundingBox> <Properties> <Property name="type" value="simulation"/> </Properties> </Pedestrian> </ScenarioObject> <ScenarioObject name="pedestrian_w_transform_19732"> <Pedestrian model="walker.pedestrian.0001" mass="80" name="walker.pedestrian.0001" pedestrianCategory="pedestrian"> <ParameterDeclarations/> <BoundingBox> <Center x="1.5" y="0.0" z="0.9"/> <Dimensions width="2" length="2" height="2"/> </BoundingBox> <Properties> <Property name="type" value="simulation"/> </Properties> </Pedestrian> </ScenarioObject> <ScenarioObject name="pedestrian_close_to_hero_19733"> <Pedestrian model="walker.pedestrian.0001" mass="80" name="walker.pedestrian.0001" pedestrianCategory="pedestrian"> <ParameterDeclarations/> <BoundingBox> <Center x="1.5" y="0.0" z="0.9"/> <Dimensions width="2" length="2" height="2"/> </BoundingBox> <Properties> <Property name="type" value="simulation"/> </Properties> </Pedestrian> </ScenarioObject> <ScenarioObject name="pedestrian_w_transform_19734"> <Pedestrian model="walker.pedestrian.0001" mass="80" name="walker.pedestrian.0001" pedestrianCategory="pedestrian"> <ParameterDeclarations/> <BoundingBox> <Center x="1.5" y="0.0" z="0.9"/> <Dimensions width="2" length="2" height="2"/> </BoundingBox> <Properties> <Property name="type" value="simulation"/> </Properties> </Pedestrian> </ScenarioObject> <ScenarioObject name="pedestrian_w_transform_19735"> <Pedestrian model="walker.pedestrian.0001" mass="80" name="walker.pedestrian.0001" pedestrianCategory="pedestrian"> <ParameterDeclarations/> <BoundingBox> <Center x="1.5" y="0.0" z="0.9"/> <Dimensions width="2" length="2" height="2"/> </BoundingBox> <Properties> <Property name="type" value="simulation"/> </Properties> </Pedestrian> </ScenarioObject> <ScenarioObject name="pedestrian_close_to_standing_19736"> <Pedestrian model="walker.pedestrian.0001" mass="80" name="walker.pedestrian.0001" pedestrianCategory="pedestrian"> <ParameterDeclarations/> <BoundingBox> <Center x="1.5" y="0.0" z="0.9"/> <Dimensions width="2" length="2" height="2"/> </BoundingBox> <Properties> <Property name="type" value="simulation"/> </Properties> </Pedestrian> </ScenarioObject> <ScenarioObject name="pedestrian_close_to_adversary_19737"> <Pedestrian model="walker.pedestrian.0001" mass="80" name="walker.pedestrian.0001" pedestrianCategory="pedestrian"> <ParameterDeclarations/> <BoundingBox> <Center x="1.5" y="0.0" z="0.9"/> <Dimensions width="2" length="2" height="2"/> </BoundingBox> <Properties> <Property name="type" value="simulation"/> </Properties> </Pedestrian> </ScenarioObject> <ScenarioObject name="pedestrian_close_to_hero_19738"> <Pedestrian model="walker.pedestrian.0001" mass="80" name="walker.pedestrian.0001" pedestrianCategory="pedestrian"> <ParameterDeclarations/> <BoundingBox> <Center x="1.5" y="0.0" z="0.9"/> <Dimensions width="2" length="2" height="2"/> </BoundingBox> <Properties> <Property name="type" value="simulation"/> </Properties> </Pedestrian> </ScenarioObject> <ScenarioObject name="pedestrian_close_to_standing_19740"> <Pedestrian model="walker.pedestrian.0001" mass="80" name="walker.pedestrian.0001" pedestrianCategory="pedestrian"> <ParameterDeclarations/> <BoundingBox> <Center x="1.5" y="0.0" z="0.9"/> <Dimensions width="2" length="2" height="2"/> </BoundingBox> <Properties> <Property name="type" value="simulation"/> </Properties> </Pedestrian> </ScenarioObject> <ScenarioObject name="pedestrian_close_to_hero_19742"> <Pedestrian model="walker.pedestrian.0001" mass="80" name="walker.pedestrian.0001" pedestrianCategory="pedestrian"> <ParameterDeclarations/> <BoundingBox> <Center x="1.5" y="0.0" z="0.9"/> <Dimensions width="2" length="2" height="2"/> </BoundingBox> <Properties> <Property name="type" value="simulation"/> </Properties> </Pedestrian> </ScenarioObject> <ScenarioObject name="pedestrian_w_transform_19743"> <Pedestrian model="walker.pedestrian.0001" mass="80" name="walker.pedestrian.0001" pedestrianCategory="pedestrian"> <ParameterDeclarations/> <BoundingBox> <Center x="1.5" y="0.0" z="0.9"/> <Dimensions width="2" length="2" height="2"/> </BoundingBox> <Properties> <Property name="type" value="simulation"/> </Properties> </Pedestrian> </ScenarioObject> <ScenarioObject name="pedestrian_w_transform_19745"> <Pedestrian model="walker.pedestrian.0001" mass="80" name="walker.pedestrian.0001" pedestrianCategory="pedestrian"> <ParameterDeclarations/> <BoundingBox> <Center x="1.5" y="0.0" z="0.9"/> <Dimensions width="2" length="2" height="2"/> </BoundingBox> <Properties> <Property name="type" value="simulation"/> </Properties> </Pedestrian> </ScenarioObject> <ScenarioObject name="pedestrian_w_transform_19746"> <Pedestrian model="walker.pedestrian.0001" mass="80" name="walker.pedestrian.0001" pedestrianCategory="pedestrian"> <ParameterDeclarations/> <BoundingBox> <Center x="1.5" y="0.0" z="0.9"/> <Dimensions width="2" length="2" height="2"/> </BoundingBox> <Properties> <Property name="type" value="simulation"/> </Properties> </Pedestrian> </ScenarioObject> <ScenarioObject name="pedestrian_w_transform_19747"> <Pedestrian model="walker.pedestrian.0001" mass="80" name="walker.pedestrian.0001" pedestrianCategory="pedestrian"> <ParameterDeclarations/> <BoundingBox> <Center x="1.5" y="0.0" z="0.9"/> <Dimensions width="2" length="2" height="2"/> </BoundingBox> <Properties> <Property name="type" value="simulation"/> </Properties> </Pedestrian> </ScenarioObject> <ScenarioObject name="pedestrian_close_to_adversary_19748"> <Pedestrian model="walker.pedestrian.0001" mass="80" name="walker.pedestrian.0001" pedestrianCategory="pedestrian"> <ParameterDeclarations/> <BoundingBox> <Center x="1.5" y="0.0" z="0.9"/> <Dimensions width="2" length="2" height="2"/> </BoundingBox> <Properties> <Property name="type" value="simulation"/> </Properties> </Pedestrian> </ScenarioObject> <ScenarioObject name="pedestrian_close_to_hero_19749"> <Pedestrian model="walker.pedestrian.0001" mass="80" name="walker.pedestrian.0001" pedestrianCategory="pedestrian"> <ParameterDeclarations/> <BoundingBox> <Center x="1.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_19721"> <PrivateAction> <TeleportAction> <Position> <WorldPosition x="-6.334939479827881" y="-154.797119140625" z="0.0013734435196965933"/> </Position> </TeleportAction> </PrivateAction> </Private> <Private entityRef="pedestrian_close_to_adversary_19722"> <PrivateAction> <TeleportAction> <Position> <WorldPosition x="-15.746055603027344" y="-63.83751678466797" z="0.03380821272730827"/> </Position> </TeleportAction> </PrivateAction> </Private> <Private entityRef="pedestrian_w_transform_19723"> <PrivateAction> <TeleportAction> <Position> <WorldPosition x="96.88047790527344" y="-6.998281478881836" z="0.5"/> </Position> </TeleportAction> </PrivateAction> </Private> <Private entityRef="pedestrian_close_to_hero_19724"> <PrivateAction> <TeleportAction> <Position> <WorldPosition x="-8.325414657592773" y="-150.16818237304688" z="0.0013734435196965933"/> </Position> </TeleportAction> </PrivateAction> </Private> <Private entityRef="pedestrian_close_to_adversary_19725"> <PrivateAction> <TeleportAction> <Position> <WorldPosition x="-9.790772438049316" y="-77.18700408935547" z="0.03375709429383278"/> </Position> </TeleportAction> </PrivateAction> </Private> <Private entityRef="pedestrian_close_to_adversary_19726"> <PrivateAction> <TeleportAction> <Position> <WorldPosition x="-10.797347068786621" y="-78.88644409179688" z="0.03375709429383278"/> </Position> </TeleportAction> </PrivateAction> </Private> <Private entityRef="pedestrian_w_transform_19727"> <PrivateAction> <TeleportAction> <Position> <WorldPosition x="59.2702522277832" y="-11.254541397094727" z="0.5"/> </Position> </TeleportAction> </PrivateAction> </Private> <Private entityRef="pedestrian_w_transform_19728"> <PrivateAction> <TeleportAction> <Position> <WorldPosition x="-90.40406799316406" y="52.08279800415039" z="0.5"/> </Position> </TeleportAction> </PrivateAction> </Private> <Private entityRef="pedestrian_w_transform_19729"> <PrivateAction> <TeleportAction> <Position> <WorldPosition x="-12.880950927734375" y="30.987567901611328" z="0.5"/> </Position> </TeleportAction> </PrivateAction> </Private> <Private entityRef="pedestrian_w_transform_19730"> <PrivateAction> <TeleportAction> <Position> <WorldPosition x="-40.688133239746094" y="72.6158218383789" z="0.5"/> </Position> </TeleportAction> </PrivateAction> </Private> <Private entityRef="pedestrian_close_to_hero_19731"> <PrivateAction> <TeleportAction> <Position> <WorldPosition x="-13.099991798400879" y="-145.9739532470703" z="0.0013734435196965933"/> </Position> </TeleportAction> </PrivateAction> </Private> <Private entityRef="pedestrian_w_transform_19732"> <PrivateAction> <TeleportAction> <Position> <WorldPosition x="41.145469665527344" y="92.46257781982422" z="0.5"/> </Position> </TeleportAction> </PrivateAction> </Private> <Private entityRef="pedestrian_close_to_hero_19733"> <PrivateAction> <TeleportAction> <Position> <WorldPosition x="-1.9909824132919312" y="-146.93124389648438" z="0.0013734435196965933"/> </Position> </TeleportAction> </PrivateAction> </Private> <Private entityRef="pedestrian_w_transform_19734"> <PrivateAction> <TeleportAction> <Position> <WorldPosition x="60.519325256347656" y="-8.210725784301758" z="0.5"/> </Position> </TeleportAction> </PrivateAction> </Private> <Private entityRef="pedestrian_w_transform_19735"> <PrivateAction> <TeleportAction> <Position> <WorldPosition x="-64.2802963256836" y="-43.27245330810547" z="0.5"/> </Position> </TeleportAction> </PrivateAction> </Private> <Private entityRef="pedestrian_close_to_standing_19736"> <PrivateAction> <TeleportAction> <Position> <WorldPosition x="0.13713906705379486" y="37.60152816772461" z="0.0030102920718491077"/> </Position> </TeleportAction> </PrivateAction> </Private> <Private entityRef="pedestrian_close_to_adversary_19737"> <PrivateAction> <TeleportAction> <Position> <WorldPosition x="5.962245464324951" y="-78.180419921875" z="0.033757779747247696"/> </Position> </TeleportAction> </PrivateAction> </Private> <Private entityRef="pedestrian_close_to_hero_19738"> <PrivateAction> <TeleportAction> <Position> <WorldPosition x="-9.816195487976074" y="-159.01358032226562" z="0.0013734435196965933"/> </Position> </TeleportAction> </PrivateAction> </Private> <Private entityRef="pedestrian_close_to_standing_19740"> <PrivateAction> <TeleportAction> <Position> <WorldPosition x="-13.886853218078613" y="21.677274703979492" z="0.0030154800042510033"/> </Position> </TeleportAction> </PrivateAction> </Private> <Private entityRef="pedestrian_close_to_hero_19742"> <PrivateAction> <TeleportAction> <Position> <WorldPosition x="-1.8812814950942993" y="-160.57225036621094" z="0.0013734435196965933"/> </Position> </TeleportAction> </PrivateAction> </Private> <Private entityRef="pedestrian_w_transform_19743"> <PrivateAction> <TeleportAction> <Position> <WorldPosition x="-2.774268627166748" y="-20.00634002685547" z="0.5"/> </Position> </TeleportAction> </PrivateAction> </Private> <Private entityRef="pedestrian_w_transform_19745"> <PrivateAction> <TeleportAction> <Position> <WorldPosition x="10.314004898071289" y="-49.67428207397461" z="0.5"/> </Position> </TeleportAction> </PrivateAction> </Private> <Private entityRef="pedestrian_w_transform_19746"> <PrivateAction> <TeleportAction> <Position> <WorldPosition x="10.60908317565918" y="-35.09646224975586" z="0.5"/> </Position> </TeleportAction> </PrivateAction> </Private> <Private entityRef="pedestrian_w_transform_19747"> <PrivateAction> <TeleportAction> <Position> <WorldPosition x="-60.32213592529297" y="37.19771194458008" z="0.5"/> </Position> </TeleportAction> </PrivateAction> </Private> <Private entityRef="pedestrian_close_to_adversary_19748"> <PrivateAction> <TeleportAction> <Position> <WorldPosition x="-15.573173522949219" y="-61.972286224365234" z="0.03375686705112457"/> </Position> </TeleportAction> </PrivateAction> </Private> <Private entityRef="pedestrian_close_to_hero_19749"> <PrivateAction> <TeleportAction> <Position> <WorldPosition x="-14.622320175170898" y="-143.2715606689453" z="0.0013734435196965933"/> </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_19721"> <Pedestrian model="walker.pedestrian.0001" mass="80" name="walker.pedestrian.0001" pedestrianCategory="pedestrian"> <ParameterDeclarations/> <BoundingBox> <Center x="1.5" y="0.0" z="0.9"/> <Dimensions width="2" length="2" height="2"/> </BoundingBox> <Properties> <Property name="type" value="simulation"/> </Properties> </Pedestrian> </ScenarioObject> <ScenarioObject name="pedestrian_close_to_adversary_19722"> <Pedestrian model="walker.pedestrian.0001" mass="80" name="walker.pedestrian.0001" pedestrianCategory="pedestrian"> <ParameterDeclarations/> <BoundingBox> <Center x="1.5" y="0.0" z="0.9"/> <Dimensions width="2" length="2" height="2"/> </BoundingBox> <Properties> <Property name="type" value="simulation"/> </Properties> </Pedestrian> </ScenarioObject> <ScenarioObject name="pedestrian_w_transform_19723"> <Pedestrian model="walker.pedestrian.0001" mass="80" name="walker.pedestrian.0001" pedestrianCategory="pedestrian"> <ParameterDeclarations/> <BoundingBox> <Center x="1.5" y="0.0" z="0.9"/> <Dimensions width="2" length="2" height="2"/> </BoundingBox> <Properties> <Property name="type" value="simulation"/> </Properties> </Pedestrian> </ScenarioObject> <ScenarioObject name="pedestrian_close_to_hero_19724"> <Pedestrian model="walker.pedestrian.0001" mass="80" name="walker.pedestrian.0001" pedestrianCategory="pedestrian"> <ParameterDeclarations/> <BoundingBox> <Center x="1.5" y="0.0" z="0.9"/> <Dimensions width="2" length="2" height="2"/> </BoundingBox> <Properties> <Property name="type" value="simulation"/> </Properties> </Pedestrian> </ScenarioObject> <ScenarioObject name="pedestrian_close_to_adversary_19725"> <Pedestrian model="walker.pedestrian.0001" mass="80" name="walker.pedestrian.0001" pedestrianCategory="pedestrian"> <ParameterDeclarations/> <BoundingBox> <Center x="1.5" y="0.0" z="0.9"/> <Dimensions width="2" length="2" height="2"/> </BoundingBox> <Properties> <Property name="type" value="simulation"/> </Properties> </Pedestrian> </ScenarioObject> <ScenarioObject name="pedestrian_close_to_adversary_19726"> <Pedestrian model="walker.pedestrian.0001" mass="80" name="walker.pedestrian.0001" pedestrianCategory="pedestrian"> <ParameterDeclarations/> <BoundingBox> <Center x="1.5" y="0.0" z="0.9"/> <Dimensions width="2" length="2" height="2"/> </BoundingBox> <Properties> <Property name="type" value="simulation"/> </Properties> </Pedestrian> </ScenarioObject> <ScenarioObject name="pedestrian_w_transform_19727"> <Pedestrian model="walker.pedestrian.0001" mass="80" name="walker.pedestrian.0001" pedestrianCategory="pedestrian"> <ParameterDeclarations/> <BoundingBox> <Center x="1.5" y="0.0" z="0.9"/> <Dimensions width="2" length="2" height="2"/> </BoundingBox> <Properties> <Property name="type" value="simulation"/> </Properties> </Pedestrian> </ScenarioObject> <ScenarioObject name="pedestrian_w_transform_19728"> <Pedestrian model="walker.pedestrian.0001" mass="80" name="walker.pedestrian.0001" pedestrianCategory="pedestrian"> <ParameterDeclarations/> <BoundingBox> <Center x="1.5" y="0.0" z="0.9"/> <Dimensions width="2" length="2" height="2"/> </BoundingBox> <Properties> <Property name="type" value="simulation"/> </Properties> </Pedestrian> </ScenarioObject> <ScenarioObject name="pedestrian_w_transform_19729"> <Pedestrian model="walker.pedestrian.0001" mass="80" name="walker.pedestrian.0001" pedestrianCategory="pedestrian"> <ParameterDeclarations/> <BoundingBox> <Center x="1.5" y="0.0" z="0.9"/> <Dimensions width="2" length="2" height="2"/> </BoundingBox> <Properties> <Property name="type" value="simulation"/> </Properties> </Pedestrian> </ScenarioObject> <ScenarioObject name="pedestrian_w_transform_19730"> <Pedestrian model="walker.pedestrian.0001" mass="80" name="walker.pedestrian.0001" pedestrianCategory="pedestrian"> <ParameterDeclarations/> <BoundingBox> <Center x="1.5" y="0.0" z="0.9"/> <Dimensions width="2" length="2" height="2"/> </BoundingBox> <Properties> <Property name="type" value="simulation"/> </Properties> </Pedestrian> </ScenarioObject> <ScenarioObject name="pedestrian_close_to_hero_19731"> <Pedestrian model="walker.pedestrian.0001" mass="80" name="walker.pedestrian.0001" pedestrianCategory="pedestrian"> <ParameterDeclarations/> <BoundingBox> <Center x="1.5" y="0.0" z="0.9"/> <Dimensions width="2" length="2" height="2"/> </BoundingBox> <Properties> <Property name="type" value="simulation"/> </Properties> </Pedestrian> </ScenarioObject> <ScenarioObject name="pedestrian_w_transform_19732"> <Pedestrian model="walker.pedestrian.0001" mass="80" name="walker.pedestrian.0001" pedestrianCategory="pedestrian"> <ParameterDeclarations/> <BoundingBox> <Center x="1.5" y="0.0" z="0.9"/> <Dimensions width="2" length="2" height="2"/> </BoundingBox> <Properties> <Property name="type" value="simulation"/> </Properties> </Pedestrian> </ScenarioObject> <ScenarioObject name="pedestrian_close_to_hero_19733"> <Pedestrian model="walker.pedestrian.0001" mass="80" name="walker.pedestrian.0001" pedestrianCategory="pedestrian"> <ParameterDeclarations/> <BoundingBox> <Center x="1.5" y="0.0" z="0.9"/> <Dimensions width="2" length="2" height="2"/> </BoundingBox> <Properties> <Property name="type" value="simulation"/> </Properties> </Pedestrian> </ScenarioObject> <ScenarioObject name="pedestrian_w_transform_19734"> <Pedestrian model="walker.pedestrian.0001" mass="80" name="walker.pedestrian.0001" pedestrianCategory="pedestrian"> <ParameterDeclarations/> <BoundingBox> <Center x="1.5" y="0.0" z="0.9"/> <Dimensions width="2" length="2" height="2"/> </BoundingBox> <Properties> <Property name="type" value="simulation"/> </Properties> </Pedestrian> </ScenarioObject> <ScenarioObject name="pedestrian_w_transform_19735"> <Pedestrian model="walker.pedestrian.0001" mass="80" name="walker.pedestrian.0001" pedestrianCategory="pedestrian"> <ParameterDeclarations/> <BoundingBox> <Center x="1.5" y="0.0" z="0.9"/> <Dimensions width="2" length="2" height="2"/> </BoundingBox> <Properties> <Property name="type" value="simulation"/> </Properties> </Pedestrian> </ScenarioObject> <ScenarioObject name="pedestrian_close_to_standing_19736"> <Pedestrian model="walker.pedestrian.0001" mass="80" name="walker.pedestrian.0001" pedestrianCategory="pedestrian"> <ParameterDeclarations/> <BoundingBox> <Center x="1.5" y="0.0" z="0.9"/> <Dimensions width="2" length="2" height="2"/> </BoundingBox> <Properties> <Property name="type" value="simulation"/> </Properties> </Pedestrian> </ScenarioObject> <ScenarioObject name="pedestrian_close_to_adversary_19737"> <Pedestrian model="walker.pedestrian.0001" mass="80" name="walker.pedestrian.0001" pedestrianCategory="pedestrian"> <ParameterDeclarations/> <BoundingBox> <Center x="1.5" y="0.0" z="0.9"/> <Dimensions width="2" length="2" height="2"/> </BoundingBox> <Properties> <Property name="type" value="simulation"/> </Properties> </Pedestrian> </ScenarioObject> <ScenarioObject name="pedestrian_close_to_hero_19738"> <Pedestrian model="walker.pedestrian.0001" mass="80" name="walker.pedestrian.0001" pedestrianCategory="pedestrian"> <ParameterDeclarations/> <BoundingBox> <Center x="1.5" y="0.0" z="0.9"/> <Dimensions width="2" length="2" height="2"/> </BoundingBox> <Properties> <Property name="type" value="simulation"/> </Properties> </Pedestrian> </ScenarioObject> <ScenarioObject name="pedestrian_close_to_hero_19742"> <Pedestrian model="walker.pedestrian.0001" mass="80" name="walker.pedestrian.0001" pedestrianCategory="pedestrian"> <ParameterDeclarations/> <BoundingBox> <Center x="1.5" y="0.0" z="0.9"/> <Dimensions width="2" length="2" height="2"/> </BoundingBox> <Properties> <Property name="type" value="simulation"/> </Properties> </Pedestrian> </ScenarioObject> <ScenarioObject name="pedestrian_w_transform_19743"> <Pedestrian model="walker.pedestrian.0001" mass="80" name="walker.pedestrian.0001" pedestrianCategory="pedestrian"> <ParameterDeclarations/> <BoundingBox> <Center x="1.5" y="0.0" z="0.9"/> <Dimensions width="2" length="2" height="2"/> </BoundingBox> <Properties> <Property name="type" value="simulation"/> </Properties> </Pedestrian> </ScenarioObject> <ScenarioObject name="pedestrian_w_transform_19745"> <Pedestrian model="walker.pedestrian.0001" mass="80" name="walker.pedestrian.0001" pedestrianCategory="pedestrian"> <ParameterDeclarations/> <BoundingBox> <Center x="1.5" y="0.0" z="0.9"/> <Dimensions width="2" length="2" height="2"/> </BoundingBox> <Properties> <Property name="type" value="simulation"/> </Properties> </Pedestrian> </ScenarioObject> <ScenarioObject name="pedestrian_w_transform_19746"> <Pedestrian model="walker.pedestrian.0001" mass="80" name="walker.pedestrian.0001" pedestrianCategory="pedestrian"> <ParameterDeclarations/> <BoundingBox> <Center x="1.5" y="0.0" z="0.9"/> <Dimensions width="2" length="2" height="2"/> </BoundingBox> <Properties> <Property name="type" value="simulation"/> </Properties> </Pedestrian> </ScenarioObject> <ScenarioObject name="pedestrian_w_transform_19747"> <Pedestrian model="walker.pedestrian.0001" mass="80" name="walker.pedestrian.0001" pedestrianCategory="pedestrian"> <ParameterDeclarations/> <BoundingBox> <Center x="1.5" y="0.0" z="0.9"/> <Dimensions width="2" length="2" height="2"/> </BoundingBox> <Properties> <Property name="type" value="simulation"/> </Properties> </Pedestrian> </ScenarioObject> <ScenarioObject name="pedestrian_close_to_adversary_19748"> <Pedestrian model="walker.pedestrian.0001" mass="80" name="walker.pedestrian.0001" pedestrianCategory="pedestrian"> <ParameterDeclarations/> <BoundingBox> <Center x="1.5" y="0.0" z="0.9"/> <Dimensions width="2" length="2" height="2"/> </BoundingBox> <Properties> <Property name="type" value="simulation"/> </Properties> </Pedestrian> </ScenarioObject> <ScenarioObject name="pedestrian_close_to_hero_19749"> <Pedestrian model="walker.pedestrian.0001" mass="80" name="walker.pedestrian.0001" pedestrianCategory="pedestrian"> <ParameterDeclarations/> <BoundingBox> <Center x="1.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_19721"> <PrivateAction> <TeleportAction> <Position> <WorldPosition x="-6.334939479827881" y="-154.797119140625" z="0.0013734435196965933"/> </Position> </TeleportAction> </PrivateAction> </Private> <Private entityRef="pedestrian_close_to_adversary_19722"> <PrivateAction> <TeleportAction> <Position> <WorldPosition x="-15.746055603027344" y="-63.83751678466797" z="0.03380821272730827"/> </Position> </TeleportAction> </PrivateAction> </Private> <Private entityRef="pedestrian_w_transform_19723"> <PrivateAction> <TeleportAction> <Position> <WorldPosition x="96.88047790527344" y="-6.998281478881836" z="0.5"/> </Position> </TeleportAction> </PrivateAction> </Private> <Private entityRef="pedestrian_close_to_hero_19724"> <PrivateAction> <TeleportAction> <Position> <WorldPosition x="-8.325414657592773" y="-150.16818237304688" z="0.0013734435196965933"/> </Position> </TeleportAction> </PrivateAction> </Private> <Private entityRef="pedestrian_close_to_adversary_19725"> <PrivateAction> <TeleportAction> <Position> <WorldPosition x="-9.790772438049316" y="-77.18700408935547" z="0.03375709429383278"/> </Position> </TeleportAction> </PrivateAction> </Private> <Private entityRef="pedestrian_close_to_adversary_19726"> <PrivateAction> <TeleportAction> <Position> <WorldPosition x="-10.797347068786621" y="-78.88644409179688" z="0.03375709429383278"/> </Position> </TeleportAction> </PrivateAction> </Private> <Private entityRef="pedestrian_w_transform_19727"> <PrivateAction> <TeleportAction> <Position> <WorldPosition x="59.2702522277832" y="-11.254541397094727" z="0.5"/> </Position> </TeleportAction> </PrivateAction> </Private> <Private entityRef="pedestrian_w_transform_19728"> <PrivateAction> <TeleportAction> <Position> <WorldPosition x="-90.40406799316406" y="52.08279800415039" z="0.5"/> </Position> </TeleportAction> </PrivateAction> </Private> <Private entityRef="pedestrian_w_transform_19729"> <PrivateAction> <TeleportAction> <Position> <WorldPosition x="-12.880950927734375" y="30.987567901611328" z="0.5"/> </Position> </TeleportAction> </PrivateAction> </Private> <Private entityRef="pedestrian_w_transform_19730"> <PrivateAction> <TeleportAction> <Position> <WorldPosition x="-40.688133239746094" y="72.6158218383789" z="0.5"/> </Position> </TeleportAction> </PrivateAction> </Private> <Private entityRef="pedestrian_close_to_hero_19731"> <PrivateAction> <TeleportAction> <Position> <WorldPosition x="-13.099991798400879" y="-145.9739532470703" z="0.0013734435196965933"/> </Position> </TeleportAction> </PrivateAction> </Private> <Private entityRef="pedestrian_w_transform_19732"> <PrivateAction> <TeleportAction> <Position> <WorldPosition x="41.145469665527344" y="92.46257781982422" z="0.5"/> </Position> </TeleportAction> </PrivateAction> </Private> <Private entityRef="pedestrian_close_to_hero_19733"> <PrivateAction> <TeleportAction> <Position> <WorldPosition x="-1.9909824132919312" y="-146.93124389648438" z="0.0013734435196965933"/> </Position> </TeleportAction> </PrivateAction> </Private> <Private entityRef="pedestrian_w_transform_19734"> <PrivateAction> <TeleportAction> <Position> <WorldPosition x="60.519325256347656" y="-8.210725784301758" z="0.5"/> </Position> </TeleportAction> </PrivateAction> </Private> <Private entityRef="pedestrian_w_transform_19735"> <PrivateAction> <TeleportAction> <Position> <WorldPosition x="-64.2802963256836" y="-43.27245330810547" z="0.5"/> </Position> </TeleportAction> </PrivateAction> </Private> <Private entityRef="pedestrian_close_to_standing_19736"> <PrivateAction> <TeleportAction> <Position> <WorldPosition x="0.13713906705379486" y="37.60152816772461" z="0.0030102920718491077"/> </Position> </TeleportAction> </PrivateAction> </Private> <Private entityRef="pedestrian_close_to_adversary_19737"> <PrivateAction> <TeleportAction> <Position> <WorldPosition x="5.962245464324951" y="-78.180419921875" z="0.033757779747247696"/> </Position> </TeleportAction> </PrivateAction> </Private> <Private entityRef="pedestrian_close_to_hero_19738"> <PrivateAction> <TeleportAction> <Position> <WorldPosition x="-9.816195487976074" y="-159.01358032226562" z="0.0013734435196965933"/> </Position> </TeleportAction> </PrivateAction> </Private> <Private entityRef="pedestrian_close_to_hero_19742"> <PrivateAction> <TeleportAction> <Position> <WorldPosition x="-1.8812814950942993" y="-160.57225036621094" z="0.0013734435196965933"/> </Position> </TeleportAction> </PrivateAction> </Private> <Private entityRef="pedestrian_w_transform_19743"> <PrivateAction> <TeleportAction> <Position> <WorldPosition x="-2.774268627166748" y="-20.00634002685547" z="0.5"/> </Position> </TeleportAction> </PrivateAction> </Private> <Private entityRef="pedestrian_w_transform_19745"> <PrivateAction> <TeleportAction> <Position> <WorldPosition x="10.314004898071289" y="-49.67428207397461" z="0.5"/> </Position> </TeleportAction> </PrivateAction> </Private> <Private entityRef="pedestrian_w_transform_19746"> <PrivateAction> <TeleportAction> <Position> <WorldPosition x="10.60908317565918" y="-35.09646224975586" z="0.5"/> </Position> </TeleportAction> </PrivateAction> </Private> <Private entityRef="pedestrian_w_transform_19747"> <PrivateAction> <TeleportAction> <Position> <WorldPosition x="-60.32213592529297" y="37.19771194458008" z="0.5"/> </Position> </TeleportAction> </PrivateAction> </Private> <Private entityRef="pedestrian_close_to_adversary_19748"> <PrivateAction> <TeleportAction> <Position> <WorldPosition x="-15.573173522949219" y="-61.972286224365234" z="0.03375686705112457"/> </Position> </TeleportAction> </PrivateAction> </Private> <Private entityRef="pedestrian_close_to_hero_19749"> <PrivateAction> <TeleportAction> <Position> <WorldPosition x="-14.622320175170898" y="-143.2715606689453" z="0.0013734435196965933"/> </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 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_18115"> <Pedestrian model="walker.pedestrian.0001" mass="80" name="walker.pedestrian.0001" pedestrianCategory="pedestrian"> <ParameterDeclarations/> <BoundingBox> <Center x="1.5" y="0.0" z="0.9"/> <Dimensions width="2" length="2" height="2"/> </BoundingBox> <Properties> <Property name="type" value="simulation"/> </Properties> </Pedestrian> </ScenarioObject> <ScenarioObject name="pedestrian_close_to_adversary_18116"> <Pedestrian model="walker.pedestrian.0001" mass="80" name="walker.pedestrian.0001" pedestrianCategory="pedestrian"> <ParameterDeclarations/> <BoundingBox> <Center x="1.5" y="0.0" z="0.9"/> <Dimensions width="2" length="2" height="2"/> </BoundingBox> <Properties> <Property name="type" value="simulation"/> </Properties> </Pedestrian> </ScenarioObject> <ScenarioObject name="pedestrian_close_to_adversary_18117"> <Pedestrian model="walker.pedestrian.0001" mass="80" name="walker.pedestrian.0001" pedestrianCategory="pedestrian"> <ParameterDeclarations/> <BoundingBox> <Center x="1.5" y="0.0" z="0.9"/> <Dimensions width="2" length="2" height="2"/> </BoundingBox> <Properties> <Property name="type" value="simulation"/> </Properties> </Pedestrian> </ScenarioObject> <ScenarioObject name="pedestrian_close_to_adversary_18118"> <Pedestrian model="walker.pedestrian.0001" mass="80" name="walker.pedestrian.0001" pedestrianCategory="pedestrian"> <ParameterDeclarations/> <BoundingBox> <Center x="1.5" y="0.0" z="0.9"/> <Dimensions width="2" length="2" height="2"/> </BoundingBox> <Properties> <Property name="type" value="simulation"/> </Properties> </Pedestrian> </ScenarioObject> <ScenarioObject name="pedestrian_close_to_standing_18119"> <Pedestrian model="walker.pedestrian.0001" mass="80" name="walker.pedestrian.0001" pedestrianCategory="pedestrian"> <ParameterDeclarations/> <BoundingBox> <Center x="1.5" y="0.0" z="0.9"/> <Dimensions width="2" length="2" height="2"/> </BoundingBox> <Properties> <Property name="type" value="simulation"/> </Properties> </Pedestrian> </ScenarioObject> <ScenarioObject name="pedestrian_w_transform_18120"> <Pedestrian model="walker.pedestrian.0001" mass="80" name="walker.pedestrian.0001" pedestrianCategory="pedestrian"> <ParameterDeclarations/> <BoundingBox> <Center x="1.5" y="0.0" z="0.9"/> <Dimensions width="2" length="2" height="2"/> </BoundingBox> <Properties> <Property name="type" value="simulation"/> </Properties> </Pedestrian> </ScenarioObject> <ScenarioObject name="pedestrian_close_to_hero_18121"> <Pedestrian model="walker.pedestrian.0001" mass="80" name="walker.pedestrian.0001" pedestrianCategory="pedestrian"> <ParameterDeclarations/> <BoundingBox> <Center x="1.5" y="0.0" z="0.9"/> <Dimensions width="2" length="2" height="2"/> </BoundingBox> <Properties> <Property name="type" value="simulation"/> </Properties> </Pedestrian> </ScenarioObject> <ScenarioObject name="pedestrian_close_to_adversary_18122"> <Pedestrian model="walker.pedestrian.0001" mass="80" name="walker.pedestrian.0001" pedestrianCategory="pedestrian"> <ParameterDeclarations/> <BoundingBox> <Center x="1.5" y="0.0" z="0.9"/> <Dimensions width="2" length="2" height="2"/> </BoundingBox> <Properties> <Property name="type" value="simulation"/> </Properties> </Pedestrian> </ScenarioObject> <ScenarioObject name="pedestrian_close_to_standing_18123"> <Pedestrian model="walker.pedestrian.0001" mass="80" name="walker.pedestrian.0001" pedestrianCategory="pedestrian"> <ParameterDeclarations/> <BoundingBox> <Center x="1.5" y="0.0" z="0.9"/> <Dimensions width="2" length="2" height="2"/> </BoundingBox> <Properties> <Property name="type" value="simulation"/> </Properties> </Pedestrian> </ScenarioObject> <ScenarioObject name="pedestrian_close_to_standing_18124"> <Pedestrian model="walker.pedestrian.0001" mass="80" name="walker.pedestrian.0001" pedestrianCategory="pedestrian"> <ParameterDeclarations/> <BoundingBox> <Center x="1.5" y="0.0" z="0.9"/> <Dimensions width="2" length="2" height="2"/> </BoundingBox> <Properties> <Property name="type" value="simulation"/> </Properties> </Pedestrian> </ScenarioObject> <ScenarioObject name="pedestrian_close_to_adversary_18125"> <Pedestrian model="walker.pedestrian.0001" mass="80" name="walker.pedestrian.0001" pedestrianCategory="pedestrian"> <ParameterDeclarations/> <BoundingBox> <Center x="1.5" y="0.0" z="0.9"/> <Dimensions width="2" length="2" height="2"/> </BoundingBox> <Properties> <Property name="type" value="simulation"/> </Properties> </Pedestrian> </ScenarioObject> <ScenarioObject name="pedestrian_w_transform_18126"> <Pedestrian model="walker.pedestrian.0001" mass="80" name="walker.pedestrian.0001" pedestrianCategory="pedestrian"> <ParameterDeclarations/> <BoundingBox> <Center x="1.5" y="0.0" z="0.9"/> <Dimensions width="2" length="2" height="2"/> </BoundingBox> <Properties> <Property name="type" value="simulation"/> </Properties> </Pedestrian> </ScenarioObject> <ScenarioObject name="pedestrian_close_to_hero_18127"> <Pedestrian model="walker.pedestrian.0001" mass="80" name="walker.pedestrian.0001" pedestrianCategory="pedestrian"> <ParameterDeclarations/> <BoundingBox> <Center x="1.5" y="0.0" z="0.9"/> <Dimensions width="2" length="2" height="2"/> </BoundingBox> <Properties> <Property name="type" value="simulation"/> </Properties> </Pedestrian> </ScenarioObject> <ScenarioObject name="pedestrian_close_to_standing_18128"> <Pedestrian model="walker.pedestrian.0001" mass="80" name="walker.pedestrian.0001" pedestrianCategory="pedestrian"> <ParameterDeclarations/> <BoundingBox> <Center x="1.5" y="0.0" z="0.9"/> <Dimensions width="2" length="2" height="2"/> </BoundingBox> <Properties> <Property name="type" value="simulation"/> </Properties> </Pedestrian> </ScenarioObject> <ScenarioObject name="pedestrian_close_to_standing_18129"> <Pedestrian model="walker.pedestrian.0001" mass="80" name="walker.pedestrian.0001" pedestrianCategory="pedestrian"> <ParameterDeclarations/> <BoundingBox> <Center x="1.5" y="0.0" z="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_standing_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_adversary_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_w_transform_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_w_transform_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_hero_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_standing_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_close_to_hero_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_close_to_hero_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_w_transform_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> </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_18115"> <PrivateAction> <TeleportAction> <Position> <WorldPosition x="-6.24855899810791" y="-77.99755859375" z="0.03388240560889244"/> </Position> </TeleportAction> </PrivateAction> </Private> <Private entityRef="pedestrian_close_to_adversary_18116"> <PrivateAction> <TeleportAction> <Position> <WorldPosition x="-11.522682189941406" y="-61.5812873840332" z="0.03387538716197014"/> </Position> </TeleportAction> </PrivateAction> </Private> <Private entityRef="pedestrian_close_to_adversary_18117"> <PrivateAction> <TeleportAction> <Position> <WorldPosition x="-2.0086045265197754" y="-75.03814697265625" z="0.03386901691555977"/> </Position> </TeleportAction> </PrivateAction> </Private> <Private entityRef="pedestrian_close_to_adversary_18118"> <PrivateAction> <TeleportAction> <Position> <WorldPosition x="-16.484088897705078" y="-72.65333557128906" z="0.033864859491586685"/> </Position> </TeleportAction> </PrivateAction> </Private> <Private entityRef="pedestrian_close_to_standing_18119"> <PrivateAction> <TeleportAction> <Position> <WorldPosition x="-2.607717514038086" y="19.81056785583496" z="0.0031291197519749403"/> </Position> </TeleportAction> </PrivateAction> </Private> <Private entityRef="pedestrian_w_transform_18120"> <PrivateAction> <TeleportAction> <Position> <WorldPosition x="-79.97077941894531" y="23.67298698425293" z="0.5"/> </Position> </TeleportAction> </PrivateAction> </Private> <Private entityRef="pedestrian_close_to_hero_18121"> <PrivateAction> <TeleportAction> <Position> <WorldPosition x="-13.758955955505371" y="-145.66481018066406" z="0.0018838500836864114"/> </Position> </TeleportAction> </PrivateAction> </Private> <Private entityRef="pedestrian_close_to_adversary_18122"> <PrivateAction> <TeleportAction> <Position> <WorldPosition x="-8.027910232543945" y="-75.79647064208984" z="0.03387439623475075"/> </Position> </TeleportAction> </PrivateAction> </Private> <Private entityRef="pedestrian_close_to_standing_18123"> <PrivateAction> <TeleportAction> <Position> <WorldPosition x="-5.689816474914551" y="29.273942947387695" z="0.003126296913251281"/> </Position> </TeleportAction> </PrivateAction> </Private> <Private entityRef="pedestrian_close_to_standing_18124"> <PrivateAction> <TeleportAction> <Position> <WorldPosition x="-5.935545444488525" y="21.58074951171875" z="0.0031277465168386698"/> </Position> </TeleportAction> </PrivateAction> </Private> <Private entityRef="pedestrian_close_to_adversary_18125"> <PrivateAction> <TeleportAction> <Position> <WorldPosition x="-5.770840644836426" y="-71.09307861328125" z="0.03388321027159691"/> </Position> </TeleportAction> </PrivateAction> </Private> <Private entityRef="pedestrian_w_transform_18126"> <PrivateAction> <TeleportAction> <Position> <WorldPosition x="81.2980728149414" y="-13.722236633300781" z="0.5"/> </Position> </TeleportAction> </PrivateAction> </Private> <Private entityRef="pedestrian_close_to_hero_18127"> <PrivateAction> <TeleportAction> <Position> <WorldPosition x="-17.00333023071289" y="-152.77853393554688" z="0.0018838500836864114"/> </Position> </TeleportAction> </PrivateAction> </Private> <Private entityRef="pedestrian_close_to_standing_18128"> <PrivateAction> <TeleportAction> <Position> <WorldPosition x="-22.133325576782227" y="40.328269958496094" z="0.0031523513607680798"/> </Position> </TeleportAction> </PrivateAction> </Private> <Private entityRef="pedestrian_close_to_standing_18129"> <PrivateAction> <TeleportAction> <Position> <WorldPosition x="1.030165195465088" y="21.591367721557617" z="0.0031491087283939123"/> </Position> </TeleportAction> </PrivateAction> </Private> <Private entityRef="pedestrian_w_transform_18131"> <PrivateAction> <TeleportAction> <Position> <WorldPosition x="50.4885368347168" y="30.868043899536133" z="0.5"/> </Position> </TeleportAction> </PrivateAction> </Private> <Private entityRef="pedestrian_close_to_standing_18132"> <PrivateAction> <TeleportAction> <Position> <WorldPosition x="-14.720966339111328" y="27.79164695739746" z="0.0031309127807617188"/> </Position> </TeleportAction> </PrivateAction> </Private> <Private entityRef="pedestrian_close_to_adversary_18133"> <PrivateAction> <TeleportAction> <Position> <WorldPosition x="-12.142450332641602" y="-69.60078430175781" z="0.0338764563202858"/> </Position> </TeleportAction> </PrivateAction> </Private> <Private entityRef="pedestrian_w_transform_18134"> <PrivateAction> <TeleportAction> <Position> <WorldPosition x="-63.01919174194336" y="-55.24091339111328" z="0.5"/> </Position> </TeleportAction> </PrivateAction> </Private> <Private entityRef="pedestrian_w_transform_18135"> <PrivateAction> <TeleportAction> <Position> <WorldPosition x="-72.30924224853516" y="79.55575561523438" z="0.5"/> </Position> </TeleportAction> </PrivateAction> </Private> <Private entityRef="pedestrian_w_transform_18136"> <PrivateAction> <TeleportAction> <Position> <WorldPosition x="-47.30818557739258" y="67.12535858154297" z="0.5"/> </Position> </TeleportAction> </PrivateAction> </Private> <Private entityRef="pedestrian_w_transform_18137"> <PrivateAction> <TeleportAction> <Position> <WorldPosition x="-43.41048812866211" y="-25.721940994262695" z="0.5"/> </Position> </TeleportAction> </PrivateAction> </Private> <Private entityRef="pedestrian_close_to_hero_18138"> <PrivateAction> <TeleportAction> <Position> <WorldPosition x="-11.043806076049805" y="-152.44912719726562" z="0.0018838500836864114"/> </Position> </TeleportAction> </PrivateAction> </Private> <Private entityRef="pedestrian_close_to_standing_18139"> <PrivateAction> <TeleportAction> <Position> <WorldPosition x="-9.563810348510742" y="30.77012825012207" z="0.003124580252915621"/> </Position> </TeleportAction> </PrivateAction> </Private> <Private entityRef="pedestrian_close_to_hero_18140"> <PrivateAction> <TeleportAction> <Position> <WorldPosition x="-7.38926362991333" y="-155.98565673828125" z="0.0018838500836864114"/> </Position> </TeleportAction> </PrivateAction> </Private> <Private entityRef="pedestrian_close_to_hero_18141"> <PrivateAction> <TeleportAction> <Position> <WorldPosition x="-15.498957633972168" y="-143.4612579345703" z="0.0018838500836864114"/> </Position> </TeleportAction> </PrivateAction> </Private> <Private entityRef="pedestrian_w_transform_18142"> <PrivateAction> <TeleportAction> <Position> <WorldPosition x="-54.50343704223633" y="-4.816995143890381" 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_18115"> <Pedestrian model="walker.pedestrian.0001" mass="80" name="walker.pedestrian.0001" pedestrianCategory="pedestrian"> <ParameterDeclarations/> <BoundingBox> <Center x="1.5" y="0.0" z="0.9"/> <Dimensions width="2" length="2" height="2"/> </BoundingBox> <Properties> <Property name="type" value="simulation"/> </Properties> </Pedestrian> </ScenarioObject> <ScenarioObject name="pedestrian_close_to_adversary_18116"> <Pedestrian model="walker.pedestrian.0001" mass="80" name="walker.pedestrian.0001" pedestrianCategory="pedestrian"> <ParameterDeclarations/> <BoundingBox> <Center x="1.5" y="0.0" z="0.9"/> <Dimensions width="2" length="2" height="2"/> </BoundingBox> <Properties> <Property name="type" value="simulation"/> </Properties> </Pedestrian> </ScenarioObject> <ScenarioObject name="pedestrian_close_to_adversary_18117"> <Pedestrian model="walker.pedestrian.0001" mass="80" name="walker.pedestrian.0001" pedestrianCategory="pedestrian"> <ParameterDeclarations/> <BoundingBox> <Center x="1.5" y="0.0" z="0.9"/> <Dimensions width="2" length="2" height="2"/> </BoundingBox> <Properties> <Property name="type" value="simulation"/> </Properties> </Pedestrian> </ScenarioObject> <ScenarioObject name="pedestrian_close_to_adversary_18118"> <Pedestrian model="walker.pedestrian.0001" mass="80" name="walker.pedestrian.0001" pedestrianCategory="pedestrian"> <ParameterDeclarations/> <BoundingBox> <Center x="1.5" y="0.0" z="0.9"/> <Dimensions width="2" length="2" height="2"/> </BoundingBox> <Properties> <Property name="type" value="simulation"/> </Properties> </Pedestrian> </ScenarioObject> <ScenarioObject name="pedestrian_close_to_standing_18119"> <Pedestrian model="walker.pedestrian.0001" mass="80" name="walker.pedestrian.0001" pedestrianCategory="pedestrian"> <ParameterDeclarations/> <BoundingBox> <Center x="1.5" y="0.0" z="0.9"/> <Dimensions width="2" length="2" height="2"/> </BoundingBox> <Properties> <Property name="type" value="simulation"/> </Properties> </Pedestrian> </ScenarioObject> <ScenarioObject name="pedestrian_w_transform_18120"> <Pedestrian model="walker.pedestrian.0001" mass="80" name="walker.pedestrian.0001" pedestrianCategory="pedestrian"> <ParameterDeclarations/> <BoundingBox> <Center x="1.5" y="0.0" z="0.9"/> <Dimensions width="2" length="2" height="2"/> </BoundingBox> <Properties> <Property name="type" value="simulation"/> </Properties> </Pedestrian> </ScenarioObject> <ScenarioObject name="pedestrian_close_to_hero_18121"> <Pedestrian model="walker.pedestrian.0001" mass="80" name="walker.pedestrian.0001" pedestrianCategory="pedestrian"> <ParameterDeclarations/> <BoundingBox> <Center x="1.5" y="0.0" z="0.9"/> <Dimensions width="2" length="2" height="2"/> </BoundingBox> <Properties> <Property name="type" value="simulation"/> </Properties> </Pedestrian> </ScenarioObject> <ScenarioObject name="pedestrian_close_to_adversary_18122"> <Pedestrian model="walker.pedestrian.0001" mass="80" name="walker.pedestrian.0001" pedestrianCategory="pedestrian"> <ParameterDeclarations/> <BoundingBox> <Center x="1.5" y="0.0" z="0.9"/> <Dimensions width="2" length="2" height="2"/> </BoundingBox> <Properties> <Property name="type" value="simulation"/> </Properties> </Pedestrian> </ScenarioObject> <ScenarioObject name="pedestrian_close_to_standing_18123"> <Pedestrian model="walker.pedestrian.0001" mass="80" name="walker.pedestrian.0001" pedestrianCategory="pedestrian"> <ParameterDeclarations/> <BoundingBox> <Center x="1.5" y="0.0" z="0.9"/> <Dimensions width="2" length="2" height="2"/> </BoundingBox> <Properties> <Property name="type" value="simulation"/> </Properties> </Pedestrian> </ScenarioObject> <ScenarioObject name="pedestrian_close_to_standing_18124"> <Pedestrian model="walker.pedestrian.0001" mass="80" name="walker.pedestrian.0001" pedestrianCategory="pedestrian"> <ParameterDeclarations/> <BoundingBox> <Center x="1.5" y="0.0" z="0.9"/> <Dimensions width="2" length="2" height="2"/> </BoundingBox> <Properties> <Property name="type" value="simulation"/> </Properties> </Pedestrian> </ScenarioObject> <ScenarioObject name="pedestrian_w_transform_18126"> <Pedestrian model="walker.pedestrian.0001" mass="80" name="walker.pedestrian.0001" pedestrianCategory="pedestrian"> <ParameterDeclarations/> <BoundingBox> <Center x="1.5" y="0.0" z="0.9"/> <Dimensions width="2" length="2" height="2"/> </BoundingBox> <Properties> <Property name="type" value="simulation"/> </Properties> </Pedestrian> </ScenarioObject> <ScenarioObject name="pedestrian_close_to_hero_18127"> <Pedestrian model="walker.pedestrian.0001" mass="80" name="walker.pedestrian.0001" pedestrianCategory="pedestrian"> <ParameterDeclarations/> <BoundingBox> <Center x="1.5" y="0.0" z="0.9"/> <Dimensions width="2" length="2" height="2"/> </BoundingBox> <Properties> <Property name="type" value="simulation"/> </Properties> </Pedestrian> </ScenarioObject> <ScenarioObject name="pedestrian_close_to_standing_18128"> <Pedestrian model="walker.pedestrian.0001" mass="80" name="walker.pedestrian.0001" pedestrianCategory="pedestrian"> <ParameterDeclarations/> <BoundingBox> <Center x="1.5" y="0.0" z="0.9"/> <Dimensions width="2" length="2" height="2"/> </BoundingBox> <Properties> <Property name="type" value="simulation"/> </Properties> </Pedestrian> </ScenarioObject> <ScenarioObject name="pedestrian_close_to_standing_18129"> <Pedestrian model="walker.pedestrian.0001" mass="80" name="walker.pedestrian.0001" pedestrianCategory="pedestrian"> <ParameterDeclarations/> <BoundingBox> <Center x="1.5" y="0.0" z="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_standing_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_adversary_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_w_transform_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_w_transform_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_hero_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_standing_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_close_to_hero_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_close_to_hero_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_w_transform_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> </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_18115"> <PrivateAction> <TeleportAction> <Position> <WorldPosition x="-6.24855899810791" y="-77.99755859375" z="0.03388240560889244"/> </Position> </TeleportAction> </PrivateAction> </Private> <Private entityRef="pedestrian_close_to_adversary_18116"> <PrivateAction> <TeleportAction> <Position> <WorldPosition x="-11.522682189941406" y="-61.5812873840332" z="0.03387538716197014"/> </Position> </TeleportAction> </PrivateAction> </Private> <Private entityRef="pedestrian_close_to_adversary_18117"> <PrivateAction> <TeleportAction> <Position> <WorldPosition x="-2.0086045265197754" y="-75.03814697265625" z="0.03386901691555977"/> </Position> </TeleportAction> </PrivateAction> </Private> <Private entityRef="pedestrian_close_to_adversary_18118"> <PrivateAction> <TeleportAction> <Position> <WorldPosition x="-16.484088897705078" y="-72.65333557128906" z="0.033864859491586685"/> </Position> </TeleportAction> </PrivateAction> </Private> <Private entityRef="pedestrian_close_to_standing_18119"> <PrivateAction> <TeleportAction> <Position> <WorldPosition x="-2.607717514038086" y="19.81056785583496" z="0.0031291197519749403"/> </Position> </TeleportAction> </PrivateAction> </Private> <Private entityRef="pedestrian_w_transform_18120"> <PrivateAction> <TeleportAction> <Position> <WorldPosition x="-79.97077941894531" y="23.67298698425293" z="0.5"/> </Position> </TeleportAction> </PrivateAction> </Private> <Private entityRef="pedestrian_close_to_hero_18121"> <PrivateAction> <TeleportAction> <Position> <WorldPosition x="-13.758955955505371" y="-145.66481018066406" z="0.0018838500836864114"/> </Position> </TeleportAction> </PrivateAction> </Private> <Private entityRef="pedestrian_close_to_adversary_18122"> <PrivateAction> <TeleportAction> <Position> <WorldPosition x="-8.027910232543945" y="-75.79647064208984" z="0.03387439623475075"/> </Position> </TeleportAction> </PrivateAction> </Private> <Private entityRef="pedestrian_close_to_standing_18123"> <PrivateAction> <TeleportAction> <Position> <WorldPosition x="-5.689816474914551" y="29.273942947387695" z="0.003126296913251281"/> </Position> </TeleportAction> </PrivateAction> </Private> <Private entityRef="pedestrian_close_to_standing_18124"> <PrivateAction> <TeleportAction> <Position> <WorldPosition x="-5.935545444488525" y="21.58074951171875" z="0.0031277465168386698"/> </Position> </TeleportAction> </PrivateAction> </Private> <Private entityRef="pedestrian_w_transform_18126"> <PrivateAction> <TeleportAction> <Position> <WorldPosition x="81.2980728149414" y="-13.722236633300781" z="0.5"/> </Position> </TeleportAction> </PrivateAction> </Private> <Private entityRef="pedestrian_close_to_hero_18127"> <PrivateAction> <TeleportAction> <Position> <WorldPosition x="-17.00333023071289" y="-152.77853393554688" z="0.0018838500836864114"/> </Position> </TeleportAction> </PrivateAction> </Private> <Private entityRef="pedestrian_close_to_standing_18128"> <PrivateAction> <TeleportAction> <Position> <WorldPosition x="-22.133325576782227" y="40.328269958496094" z="0.0031523513607680798"/> </Position> </TeleportAction> </PrivateAction> </Private> <Private entityRef="pedestrian_close_to_standing_18129"> <PrivateAction> <TeleportAction> <Position> <WorldPosition x="1.030165195465088" y="21.591367721557617" z="0.0031491087283939123"/> </Position> </TeleportAction> </PrivateAction> </Private> <Private entityRef="pedestrian_w_transform_18131"> <PrivateAction> <TeleportAction> <Position> <WorldPosition x="50.4885368347168" y="30.868043899536133" z="0.5"/> </Position> </TeleportAction> </PrivateAction> </Private> <Private entityRef="pedestrian_close_to_standing_18132"> <PrivateAction> <TeleportAction> <Position> <WorldPosition x="-14.720966339111328" y="27.79164695739746" z="0.0031309127807617188"/> </Position> </TeleportAction> </PrivateAction> </Private> <Private entityRef="pedestrian_close_to_adversary_18133"> <PrivateAction> <TeleportAction> <Position> <WorldPosition x="-12.142450332641602" y="-69.60078430175781" z="0.0338764563202858"/> </Position> </TeleportAction> </PrivateAction> </Private> <Private entityRef="pedestrian_w_transform_18134"> <PrivateAction> <TeleportAction> <Position> <WorldPosition x="-63.01919174194336" y="-55.24091339111328" z="0.5"/> </Position> </TeleportAction> </PrivateAction> </Private> <Private entityRef="pedestrian_w_transform_18135"> <PrivateAction> <TeleportAction> <Position> <WorldPosition x="-72.30924224853516" y="79.55575561523438" z="0.5"/> </Position> </TeleportAction> </PrivateAction> </Private> <Private entityRef="pedestrian_w_transform_18136"> <PrivateAction> <TeleportAction> <Position> <WorldPosition x="-47.30818557739258" y="67.12535858154297" z="0.5"/> </Position> </TeleportAction> </PrivateAction> </Private> <Private entityRef="pedestrian_w_transform_18137"> <PrivateAction> <TeleportAction> <Position> <WorldPosition x="-43.41048812866211" y="-25.721940994262695" z="0.5"/> </Position> </TeleportAction> </PrivateAction> </Private> <Private entityRef="pedestrian_close_to_hero_18138"> <PrivateAction> <TeleportAction> <Position> <WorldPosition x="-11.043806076049805" y="-152.44912719726562" z="0.0018838500836864114"/> </Position> </TeleportAction> </PrivateAction> </Private> <Private entityRef="pedestrian_close_to_standing_18139"> <PrivateAction> <TeleportAction> <Position> <WorldPosition x="-9.563810348510742" y="30.77012825012207" z="0.003124580252915621"/> </Position> </TeleportAction> </PrivateAction> </Private> <Private entityRef="pedestrian_close_to_hero_18140"> <PrivateAction> <TeleportAction> <Position> <WorldPosition x="-7.38926362991333" y="-155.98565673828125" z="0.0018838500836864114"/> </Position> </TeleportAction> </PrivateAction> </Private> <Private entityRef="pedestrian_close_to_hero_18141"> <PrivateAction> <TeleportAction> <Position> <WorldPosition x="-15.498957633972168" y="-143.4612579345703" z="0.0018838500836864114"/> </Position> </TeleportAction> </PrivateAction> </Private> <Private entityRef="pedestrian_w_transform_18142"> <PrivateAction> <TeleportAction> <Position> <WorldPosition x="-54.50343704223633" y="-4.816995143890381" 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 (-25.89, -66.29, 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_8169"> <Pedestrian model="walker.pedestrian.0001" mass="80" name="walker.pedestrian.0001" pedestrianCategory="pedestrian"> <ParameterDeclarations/> <BoundingBox> <Center x="1.5" y="0.0" z="0.9"/> <Dimensions width="2" length="2" height="2"/> </BoundingBox> <Properties> <Property name="type" value="simulation"/> </Properties> </Pedestrian> </ScenarioObject> <ScenarioObject name="pedestrian_close_to_hero_8170"> <Pedestrian model="walker.pedestrian.0001" mass="80" name="walker.pedestrian.0001" pedestrianCategory="pedestrian"> <ParameterDeclarations/> <BoundingBox> <Center x="1.5" y="0.0" z="0.9"/> <Dimensions width="2" length="2" height="2"/> </BoundingBox> <Properties> <Property name="type" value="simulation"/> </Properties> </Pedestrian> </ScenarioObject> <ScenarioObject name="pedestrian_close_to_hero_8171"> <Pedestrian model="walker.pedestrian.0001" mass="80" name="walker.pedestrian.0001" pedestrianCategory="pedestrian"> <ParameterDeclarations/> <BoundingBox> <Center x="1.5" y="0.0" z="0.9"/> <Dimensions width="2" length="2" height="2"/> </BoundingBox> <Properties> <Property name="type" value="simulation"/> </Properties> </Pedestrian> </ScenarioObject> <ScenarioObject name="pedestrian_close_to_hero_8172"> <Pedestrian model="walker.pedestrian.0001" mass="80" name="walker.pedestrian.0001" pedestrianCategory="pedestrian"> <ParameterDeclarations/> <BoundingBox> <Center x="1.5" y="0.0" z="0.9"/> <Dimensions width="2" length="2" height="2"/> </BoundingBox> <Properties> <Property name="type" value="simulation"/> </Properties> </Pedestrian> </ScenarioObject> <ScenarioObject name="pedestrian_close_to_hero_8174"> <Pedestrian model="walker.pedestrian.0001" mass="80" name="walker.pedestrian.0001" pedestrianCategory="pedestrian"> <ParameterDeclarations/> <BoundingBox> <Center x="1.5" y="0.0" z="0.9"/> <Dimensions width="2" length="2" height="2"/> </BoundingBox> <Properties> <Property name="type" value="simulation"/> </Properties> </Pedestrian> </ScenarioObject> <ScenarioObject name="pedestrian_close_to_adversary_8175"> <Pedestrian model="walker.pedestrian.0001" mass="80" name="walker.pedestrian.0001" pedestrianCategory="pedestrian"> <ParameterDeclarations/> <BoundingBox> <Center x="1.5" y="0.0" z="0.9"/> <Dimensions width="2" length="2" height="2"/> </BoundingBox> <Properties> <Property name="type" value="simulation"/> </Properties> </Pedestrian> </ScenarioObject> <ScenarioObject name="pedestrian_close_to_hero_8176"> <Pedestrian model="walker.pedestrian.0001" mass="80" name="walker.pedestrian.0001" pedestrianCategory="pedestrian"> <ParameterDeclarations/> <BoundingBox> <Center x="1.5" y="0.0" z="0.9"/> <Dimensions width="2" length="2" height="2"/> </BoundingBox> <Properties> <Property name="type" value="simulation"/> </Properties> </Pedestrian> </ScenarioObject> <ScenarioObject name="pedestrian_w_transform_8177"> <Pedestrian model="walker.pedestrian.0001" mass="80" name="walker.pedestrian.0001" pedestrianCategory="pedestrian"> <ParameterDeclarations/> <BoundingBox> <Center x="1.5" y="0.0" z="0.9"/> <Dimensions width="2" length="2" height="2"/> </BoundingBox> <Properties> <Property name="type" value="simulation"/> </Properties> </Pedestrian> </ScenarioObject> <ScenarioObject name="pedestrian_w_transform_8178"> <Pedestrian model="walker.pedestrian.0001" mass="80" name="walker.pedestrian.0001" pedestrianCategory="pedestrian"> <ParameterDeclarations/> <BoundingBox> <Center x="1.5" y="0.0" z="0.9"/> <Dimensions width="2" length="2" height="2"/> </BoundingBox> <Properties> <Property name="type" value="simulation"/> </Properties> </Pedestrian> </ScenarioObject> <ScenarioObject name="pedestrian_w_transform_8179"> <Pedestrian model="walker.pedestrian.0001" mass="80" name="walker.pedestrian.0001" pedestrianCategory="pedestrian"> <ParameterDeclarations/> <BoundingBox> <Center x="1.5" y="0.0" z="0.9"/> <Dimensions width="2" length="2" height="2"/> </BoundingBox> <Properties> <Property name="type" value="simulation"/> </Properties> </Pedestrian> </ScenarioObject> <ScenarioObject name="pedestrian_w_transform_8180"> <Pedestrian model="walker.pedestrian.0001" mass="80" name="walker.pedestrian.0001" pedestrianCategory="pedestrian"> <ParameterDeclarations/> <BoundingBox> <Center x="1.5" y="0.0" z="0.9"/> <Dimensions width="2" length="2" height="2"/> </BoundingBox> <Properties> <Property name="type" value="simulation"/> </Properties> </Pedestrian> </ScenarioObject> <ScenarioObject name="pedestrian_w_transform_8181"> <Pedestrian model="walker.pedestrian.0001" mass="80" name="walker.pedestrian.0001" pedestrianCategory="pedestrian"> <ParameterDeclarations/> <BoundingBox> <Center x="1.5" y="0.0" z="0.9"/> <Dimensions width="2" length="2" height="2"/> </BoundingBox> <Properties> <Property name="type" value="simulation"/> </Properties> </Pedestrian> </ScenarioObject> <ScenarioObject name="pedestrian_close_to_adversary_8182"> <Pedestrian model="walker.pedestrian.0001" mass="80" name="walker.pedestrian.0001" pedestrianCategory="pedestrian"> <ParameterDeclarations/> <BoundingBox> <Center x="1.5" y="0.0" z="0.9"/> <Dimensions width="2" length="2" height="2"/> </BoundingBox> <Properties> <Property name="type" value="simulation"/> </Properties> </Pedestrian> </ScenarioObject> <ScenarioObject name="pedestrian_close_to_hero_8183"> <Pedestrian model="walker.pedestrian.0001" mass="80" name="walker.pedestrian.0001" pedestrianCategory="pedestrian"> <ParameterDeclarations/> <BoundingBox> <Center x="1.5" y="0.0" z="0.9"/> <Dimensions width="2" length="2" height="2"/> </BoundingBox> <Properties> <Property name="type" value="simulation"/> </Properties> </Pedestrian> </ScenarioObject> <ScenarioObject name="pedestrian_close_to_hero_8184"> <Pedestrian model="walker.pedestrian.0001" mass="80" name="walker.pedestrian.0001" pedestrianCategory="pedestrian"> <ParameterDeclarations/> <BoundingBox> <Center x="1.5" y="0.0" z="0.9"/> <Dimensions width="2" length="2" height="2"/> </BoundingBox> <Properties> <Property name="type" value="simulation"/> </Properties> </Pedestrian> </ScenarioObject> <ScenarioObject name="pedestrian_w_transform_8185"> <Pedestrian model="walker.pedestrian.0001" mass="80" name="walker.pedestrian.0001" pedestrianCategory="pedestrian"> <ParameterDeclarations/> <BoundingBox> <Center x="1.5" y="0.0" z="0.9"/> <Dimensions width="2" length="2" height="2"/> </BoundingBox> <Properties> <Property name="type" value="simulation"/> </Properties> </Pedestrian> </ScenarioObject> <ScenarioObject name="pedestrian_close_to_adversary_8186"> <Pedestrian model="walker.pedestrian.0001" mass="80" name="walker.pedestrian.0001" pedestrianCategory="pedestrian"> <ParameterDeclarations/> <BoundingBox> <Center x="1.5" y="0.0" z="0.9"/> <Dimensions width="2" length="2" height="2"/> </BoundingBox> <Properties> <Property name="type" value="simulation"/> </Properties> </Pedestrian> </ScenarioObject> <ScenarioObject name="pedestrian_close_to_standing_8187"> <Pedestrian model="walker.pedestrian.0001" mass="80" name="walker.pedestrian.0001" pedestrianCategory="pedestrian"> <ParameterDeclarations/> <BoundingBox> <Center x="1.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_8169"> <PrivateAction> <TeleportAction> <Position> <WorldPosition x="-16.356550216674805" y="19.946043014526367" z="0.0030138397123664618"/> </Position> </TeleportAction> </PrivateAction> </Private> <Private entityRef="pedestrian_close_to_hero_8170"> <PrivateAction> <TeleportAction> <Position> <WorldPosition x="-12.257209777832031" y="-143.40968322753906" z="0.0013734435196965933"/> </Position> </TeleportAction> </PrivateAction> </Private> <Private entityRef="pedestrian_close_to_hero_8171"> <PrivateAction> <TeleportAction> <Position> <WorldPosition x="0.22279666364192963" y="-146.3578338623047" z="0.0013734435196965933"/> </Position> </TeleportAction> </PrivateAction> </Private> <Private entityRef="pedestrian_close_to_hero_8172"> <PrivateAction> <TeleportAction> <Position> <WorldPosition x="-7.2334699630737305" y="-163.913330078125" z="0.0013734435196965933"/> </Position> </TeleportAction> </PrivateAction> </Private> <Private entityRef="pedestrian_close_to_hero_8174"> <PrivateAction> <TeleportAction> <Position> <WorldPosition x="-2.01250958442688" y="-153.70950317382812" z="0.0013734435196965933"/> </Position> </TeleportAction> </PrivateAction> </Private> <Private entityRef="pedestrian_close_to_adversary_8175"> <PrivateAction> <TeleportAction> <Position> <WorldPosition x="0.8305975198745728" y="-64.22979736328125" z="0.03377166762948036"/> </Position> </TeleportAction> </PrivateAction> </Private> <Private entityRef="pedestrian_close_to_hero_8176"> <PrivateAction> <TeleportAction> <Position> <WorldPosition x="-14.721823692321777" y="-152.22421264648438" z="0.0013734435196965933"/> </Position> </TeleportAction> </PrivateAction> </Private> <Private entityRef="pedestrian_w_transform_8177"> <PrivateAction> <TeleportAction> <Position> <WorldPosition x="-80.47502136230469" y="12.243185997009277" z="0.5"/> </Position> </TeleportAction> </PrivateAction> </Private> <Private entityRef="pedestrian_w_transform_8178"> <PrivateAction> <TeleportAction> <Position> <WorldPosition x="-15.622166633605957" y="-53.80101013183594" z="0.5"/> </Position> </TeleportAction> </PrivateAction> </Private> <Private entityRef="pedestrian_w_transform_8179"> <PrivateAction> <TeleportAction> <Position> <WorldPosition x="-14.005206108093262" y="-83.65512084960938" z="0.5"/> </Position> </TeleportAction> </PrivateAction> </Private> <Private entityRef="pedestrian_w_transform_8180"> <PrivateAction> <TeleportAction> <Position> <WorldPosition x="-83.7515869140625" y="88.18696594238281" z="0.5"/> </Position> </TeleportAction> </PrivateAction> </Private> <Private entityRef="pedestrian_w_transform_8181"> <PrivateAction> <TeleportAction> <Position> <WorldPosition x="-77.42420959472656" y="-74.01464080810547" z="0.5"/> </Position> </TeleportAction> </PrivateAction> </Private> <Private entityRef="pedestrian_close_to_adversary_8182"> <PrivateAction> <TeleportAction> <Position> <WorldPosition x="-9.776823043823242" y="-71.48152923583984" z="0.033769071102142334"/> </Position> </TeleportAction> </PrivateAction> </Private> <Private entityRef="pedestrian_close_to_hero_8183"> <PrivateAction> <TeleportAction> <Position> <WorldPosition x="6.195635795593262" y="-157.84567260742188" z="0.0013734435196965933"/> </Position> </TeleportAction> </PrivateAction> </Private> <Private entityRef="pedestrian_close_to_hero_8184"> <PrivateAction> <TeleportAction> <Position> <WorldPosition x="-16.79730796813965" y="-149.21517944335938" z="0.0013734435196965933"/> </Position> </TeleportAction> </PrivateAction> </Private> <Private entityRef="pedestrian_w_transform_8185"> <PrivateAction> <TeleportAction> <Position> <WorldPosition x="-91.17271423339844" y="13.772770881652832" z="0.5"/> </Position> </TeleportAction> </PrivateAction> </Private> <Private entityRef="pedestrian_close_to_adversary_8186"> <PrivateAction> <TeleportAction> <Position> <WorldPosition x="-15.09223747253418" y="-68.85360717773438" z="0.033780936151742935"/> </Position> </TeleportAction> </PrivateAction> </Private> <Private entityRef="pedestrian_close_to_standing_8187"> <PrivateAction> <TeleportAction> <Position> <WorldPosition x="-16.621360778808594" y="23.080312728881836" z="0.003023071214556694"/> </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_8169"> <Pedestrian model="walker.pedestrian.0001" mass="80" name="walker.pedestrian.0001" pedestrianCategory="pedestrian"> <ParameterDeclarations/> <BoundingBox> <Center x="1.5" y="0.0" z="0.9"/> <Dimensions width="2" length="2" height="2"/> </BoundingBox> <Properties> <Property name="type" value="simulation"/> </Properties> </Pedestrian> </ScenarioObject> <ScenarioObject name="pedestrian_close_to_hero_8170"> <Pedestrian model="walker.pedestrian.0001" mass="80" name="walker.pedestrian.0001" pedestrianCategory="pedestrian"> <ParameterDeclarations/> <BoundingBox> <Center x="1.5" y="0.0" z="0.9"/> <Dimensions width="2" length="2" height="2"/> </BoundingBox> <Properties> <Property name="type" value="simulation"/> </Properties> </Pedestrian> </ScenarioObject> <ScenarioObject name="pedestrian_close_to_hero_8171"> <Pedestrian model="walker.pedestrian.0001" mass="80" name="walker.pedestrian.0001" pedestrianCategory="pedestrian"> <ParameterDeclarations/> <BoundingBox> <Center x="1.5" y="0.0" z="0.9"/> <Dimensions width="2" length="2" height="2"/> </BoundingBox> <Properties> <Property name="type" value="simulation"/> </Properties> </Pedestrian> </ScenarioObject> <ScenarioObject name="pedestrian_close_to_hero_8172"> <Pedestrian model="walker.pedestrian.0001" mass="80" name="walker.pedestrian.0001" pedestrianCategory="pedestrian"> <ParameterDeclarations/> <BoundingBox> <Center x="1.5" y="0.0" z="0.9"/> <Dimensions width="2" length="2" height="2"/> </BoundingBox> <Properties> <Property name="type" value="simulation"/> </Properties> </Pedestrian> </ScenarioObject> <ScenarioObject name="pedestrian_close_to_hero_8174"> <Pedestrian model="walker.pedestrian.0001" mass="80" name="walker.pedestrian.0001" pedestrianCategory="pedestrian"> <ParameterDeclarations/> <BoundingBox> <Center x="1.5" y="0.0" z="0.9"/> <Dimensions width="2" length="2" height="2"/> </BoundingBox> <Properties> <Property name="type" value="simulation"/> </Properties> </Pedestrian> </ScenarioObject> <ScenarioObject name="pedestrian_close_to_adversary_8175"> <Pedestrian model="walker.pedestrian.0001" mass="80" name="walker.pedestrian.0001" pedestrianCategory="pedestrian"> <ParameterDeclarations/> <BoundingBox> <Center x="1.5" y="0.0" z="0.9"/> <Dimensions width="2" length="2" height="2"/> </BoundingBox> <Properties> <Property name="type" value="simulation"/> </Properties> </Pedestrian> </ScenarioObject> <ScenarioObject name="pedestrian_close_to_hero_8176"> <Pedestrian model="walker.pedestrian.0001" mass="80" name="walker.pedestrian.0001" pedestrianCategory="pedestrian"> <ParameterDeclarations/> <BoundingBox> <Center x="1.5" y="0.0" z="0.9"/> <Dimensions width="2" length="2" height="2"/> </BoundingBox> <Properties> <Property name="type" value="simulation"/> </Properties> </Pedestrian> </ScenarioObject> <ScenarioObject name="pedestrian_w_transform_8177"> <Pedestrian model="walker.pedestrian.0001" mass="80" name="walker.pedestrian.0001" pedestrianCategory="pedestrian"> <ParameterDeclarations/> <BoundingBox> <Center x="1.5" y="0.0" z="0.9"/> <Dimensions width="2" length="2" height="2"/> </BoundingBox> <Properties> <Property name="type" value="simulation"/> </Properties> </Pedestrian> </ScenarioObject> <ScenarioObject name="pedestrian_w_transform_8178"> <Pedestrian model="walker.pedestrian.0001" mass="80" name="walker.pedestrian.0001" pedestrianCategory="pedestrian"> <ParameterDeclarations/> <BoundingBox> <Center x="1.5" y="0.0" z="0.9"/> <Dimensions width="2" length="2" height="2"/> </BoundingBox> <Properties> <Property name="type" value="simulation"/> </Properties> </Pedestrian> </ScenarioObject> <ScenarioObject name="pedestrian_w_transform_8179"> <Pedestrian model="walker.pedestrian.0001" mass="80" name="walker.pedestrian.0001" pedestrianCategory="pedestrian"> <ParameterDeclarations/> <BoundingBox> <Center x="1.5" y="0.0" z="0.9"/> <Dimensions width="2" length="2" height="2"/> </BoundingBox> <Properties> <Property name="type" value="simulation"/> </Properties> </Pedestrian> </ScenarioObject> <ScenarioObject name="pedestrian_w_transform_8180"> <Pedestrian model="walker.pedestrian.0001" mass="80" name="walker.pedestrian.0001" pedestrianCategory="pedestrian"> <ParameterDeclarations/> <BoundingBox> <Center x="1.5" y="0.0" z="0.9"/> <Dimensions width="2" length="2" height="2"/> </BoundingBox> <Properties> <Property name="type" value="simulation"/> </Properties> </Pedestrian> </ScenarioObject> <ScenarioObject name="pedestrian_w_transform_8181"> <Pedestrian model="walker.pedestrian.0001" mass="80" name="walker.pedestrian.0001" pedestrianCategory="pedestrian"> <ParameterDeclarations/> <BoundingBox> <Center x="1.5" y="0.0" z="0.9"/> <Dimensions width="2" length="2" height="2"/> </BoundingBox> <Properties> <Property name="type" value="simulation"/> </Properties> </Pedestrian> </ScenarioObject> <ScenarioObject name="pedestrian_close_to_adversary_8182"> <Pedestrian model="walker.pedestrian.0001" mass="80" name="walker.pedestrian.0001" pedestrianCategory="pedestrian"> <ParameterDeclarations/> <BoundingBox> <Center x="1.5" y="0.0" z="0.9"/> <Dimensions width="2" length="2" height="2"/> </BoundingBox> <Properties> <Property name="type" value="simulation"/> </Properties> </Pedestrian> </ScenarioObject> <ScenarioObject name="pedestrian_close_to_hero_8183"> <Pedestrian model="walker.pedestrian.0001" mass="80" name="walker.pedestrian.0001" pedestrianCategory="pedestrian"> <ParameterDeclarations/> <BoundingBox> <Center x="1.5" y="0.0" z="0.9"/> <Dimensions width="2" length="2" height="2"/> </BoundingBox> <Properties> <Property name="type" value="simulation"/> </Properties> </Pedestrian> </ScenarioObject> <ScenarioObject name="pedestrian_close_to_hero_8184"> <Pedestrian model="walker.pedestrian.0001" mass="80" name="walker.pedestrian.0001" pedestrianCategory="pedestrian"> <ParameterDeclarations/> <BoundingBox> <Center x="1.5" y="0.0" z="0.9"/> <Dimensions width="2" length="2" height="2"/> </BoundingBox> <Properties> <Property name="type" value="simulation"/> </Properties> </Pedestrian> </ScenarioObject> <ScenarioObject name="pedestrian_w_transform_8185"> <Pedestrian model="walker.pedestrian.0001" mass="80" name="walker.pedestrian.0001" pedestrianCategory="pedestrian"> <ParameterDeclarations/> <BoundingBox> <Center x="1.5" y="0.0" z="0.9"/> <Dimensions width="2" length="2" height="2"/> </BoundingBox> <Properties> <Property name="type" value="simulation"/> </Properties> </Pedestrian> </ScenarioObject> <ScenarioObject name="pedestrian_close_to_adversary_8186"> <Pedestrian model="walker.pedestrian.0001" mass="80" name="walker.pedestrian.0001" pedestrianCategory="pedestrian"> <ParameterDeclarations/> <BoundingBox> <Center x="1.5" y="0.0" z="0.9"/> <Dimensions width="2" length="2" height="2"/> </BoundingBox> <Properties> <Property name="type" value="simulation"/> </Properties> </Pedestrian> </ScenarioObject> <ScenarioObject name="pedestrian_close_to_standing_8187"> <Pedestrian model="walker.pedestrian.0001" mass="80" name="walker.pedestrian.0001" pedestrianCategory="pedestrian"> <ParameterDeclarations/> <BoundingBox> <Center x="1.5" y="0.0" z="0.9"/> <Dimensions width="2" length="2" height="2"/> </BoundingBox> <Properties> <Property name="type" value="simulation"/> </Properties> </Pedestrian> </ScenarioObject> <ScenarioObject name="pedestrian_w_transform_8188"> <Pedestrian model="walker.pedestrian.0001" mass="80" name="walker.pedestrian.0001" pedestrianCategory="pedestrian"> <ParameterDeclarations/> <BoundingBox> <Center x="1.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_8169"> <PrivateAction> <TeleportAction> <Position> <WorldPosition x="-16.356550216674805" y="19.946043014526367" z="0.0030138397123664618"/> </Position> </TeleportAction> </PrivateAction> </Private> <Private entityRef="pedestrian_close_to_hero_8170"> <PrivateAction> <TeleportAction> <Position> <WorldPosition x="-12.257209777832031" y="-143.40968322753906" z="0.0013734435196965933"/> </Position> </TeleportAction> </PrivateAction> </Private> <Private entityRef="pedestrian_close_to_hero_8171"> <PrivateAction> <TeleportAction> <Position> <WorldPosition x="0.22279666364192963" y="-146.3578338623047" z="0.0013734435196965933"/> </Position> </TeleportAction> </PrivateAction> </Private> <Private entityRef="pedestrian_close_to_hero_8172"> <PrivateAction> <TeleportAction> <Position> <WorldPosition x="-7.2334699630737305" y="-163.913330078125" z="0.0013734435196965933"/> </Position> </TeleportAction> </PrivateAction> </Private> <Private entityRef="pedestrian_close_to_hero_8174"> <PrivateAction> <TeleportAction> <Position> <WorldPosition x="-2.01250958442688" y="-153.70950317382812" z="0.0013734435196965933"/> </Position> </TeleportAction> </PrivateAction> </Private> <Private entityRef="pedestrian_close_to_adversary_8175"> <PrivateAction> <TeleportAction> <Position> <WorldPosition x="0.8305975198745728" y="-64.22979736328125" z="0.03377166762948036"/> </Position> </TeleportAction> </PrivateAction> </Private> <Private entityRef="pedestrian_close_to_hero_8176"> <PrivateAction> <TeleportAction> <Position> <WorldPosition x="-14.721823692321777" y="-152.22421264648438" z="0.0013734435196965933"/> </Position> </TeleportAction> </PrivateAction> </Private> <Private entityRef="pedestrian_w_transform_8177"> <PrivateAction> <TeleportAction> <Position> <WorldPosition x="-80.47502136230469" y="12.243185997009277" z="0.5"/> </Position> </TeleportAction> </PrivateAction> </Private> <Private entityRef="pedestrian_w_transform_8178"> <PrivateAction> <TeleportAction> <Position> <WorldPosition x="-15.622166633605957" y="-53.80101013183594" z="0.5"/> </Position> </TeleportAction> </PrivateAction> </Private> <Private entityRef="pedestrian_w_transform_8179"> <PrivateAction> <TeleportAction> <Position> <WorldPosition x="-14.005206108093262" y="-83.65512084960938" z="0.5"/> </Position> </TeleportAction> </PrivateAction> </Private> <Private entityRef="pedestrian_w_transform_8180"> <PrivateAction> <TeleportAction> <Position> <WorldPosition x="-83.7515869140625" y="88.18696594238281" z="0.5"/> </Position> </TeleportAction> </PrivateAction> </Private> <Private entityRef="pedestrian_w_transform_8181"> <PrivateAction> <TeleportAction> <Position> <WorldPosition x="-77.42420959472656" y="-74.01464080810547" z="0.5"/> </Position> </TeleportAction> </PrivateAction> </Private> <Private entityRef="pedestrian_close_to_adversary_8182"> <PrivateAction> <TeleportAction> <Position> <WorldPosition x="-9.776823043823242" y="-71.48152923583984" z="0.033769071102142334"/> </Position> </TeleportAction> </PrivateAction> </Private> <Private entityRef="pedestrian_close_to_hero_8183"> <PrivateAction> <TeleportAction> <Position> <WorldPosition x="6.195635795593262" y="-157.84567260742188" z="0.0013734435196965933"/> </Position> </TeleportAction> </PrivateAction> </Private> <Private entityRef="pedestrian_close_to_hero_8184"> <PrivateAction> <TeleportAction> <Position> <WorldPosition x="-16.79730796813965" y="-149.21517944335938" z="0.0013734435196965933"/> </Position> </TeleportAction> </PrivateAction> </Private> <Private entityRef="pedestrian_w_transform_8185"> <PrivateAction> <TeleportAction> <Position> <WorldPosition x="-91.17271423339844" y="13.772770881652832" z="0.5"/> </Position> </TeleportAction> </PrivateAction> </Private> <Private entityRef="pedestrian_close_to_adversary_8186"> <PrivateAction> <TeleportAction> <Position> <WorldPosition x="-15.09223747253418" y="-68.85360717773438" z="0.033780936151742935"/> </Position> </TeleportAction> </PrivateAction> </Private> <Private entityRef="pedestrian_close_to_standing_8187"> <PrivateAction> <TeleportAction> <Position> <WorldPosition x="-16.621360778808594" y="23.080312728881836" z="0.003023071214556694"/> </Position> </TeleportAction> </PrivateAction> </Private> <Private entityRef="pedestrian_w_transform_8188"> <PrivateAction> <TeleportAction> <Position> <WorldPosition x="-25.8914794921875" y="-66.2850341796875" 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 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_23135"> <Pedestrian model="walker.pedestrian.0001" mass="80" name="walker.pedestrian.0001" pedestrianCategory="pedestrian"> <ParameterDeclarations/> <BoundingBox> <Center x="1.5" y="0.0" z="0.9"/> <Dimensions width="2" length="2" height="2"/> </BoundingBox> <Properties> <Property name="type" value="simulation"/> </Properties> </Pedestrian> </ScenarioObject> <ScenarioObject name="pedestrian_close_to_adversary_23136"> <Pedestrian model="walker.pedestrian.0001" mass="80" name="walker.pedestrian.0001" pedestrianCategory="pedestrian"> <ParameterDeclarations/> <BoundingBox> <Center x="1.5" y="0.0" z="0.9"/> <Dimensions width="2" length="2" height="2"/> </BoundingBox> <Properties> <Property name="type" value="simulation"/> </Properties> </Pedestrian> </ScenarioObject> <ScenarioObject name="pedestrian_w_transform_23137"> <Pedestrian model="walker.pedestrian.0001" mass="80" name="walker.pedestrian.0001" pedestrianCategory="pedestrian"> <ParameterDeclarations/> <BoundingBox> <Center x="1.5" y="0.0" z="0.9"/> <Dimensions width="2" length="2" height="2"/> </BoundingBox> <Properties> <Property name="type" value="simulation"/> </Properties> </Pedestrian> </ScenarioObject> <ScenarioObject name="pedestrian_w_transform_23138"> <Pedestrian model="walker.pedestrian.0001" mass="80" name="walker.pedestrian.0001" pedestrianCategory="pedestrian"> <ParameterDeclarations/> <BoundingBox> <Center x="1.5" y="0.0" z="0.9"/> <Dimensions width="2" length="2" height="2"/> </BoundingBox> <Properties> <Property name="type" value="simulation"/> </Properties> </Pedestrian> </ScenarioObject> <ScenarioObject name="pedestrian_close_to_standing_23139"> <Pedestrian model="walker.pedestrian.0001" mass="80" name="walker.pedestrian.0001" pedestrianCategory="pedestrian"> <ParameterDeclarations/> <BoundingBox> <Center x="1.5" y="0.0" z="0.9"/> <Dimensions width="2" length="2" height="2"/> </BoundingBox> <Properties> <Property name="type" value="simulation"/> </Properties> </Pedestrian> </ScenarioObject> <ScenarioObject name="pedestrian_close_to_adversary_23140"> <Pedestrian model="walker.pedestrian.0001" mass="80" name="walker.pedestrian.0001" pedestrianCategory="pedestrian"> <ParameterDeclarations/> <BoundingBox> <Center x="1.5" y="0.0" z="0.9"/> <Dimensions width="2" length="2" height="2"/> </BoundingBox> <Properties> <Property name="type" value="simulation"/> </Properties> </Pedestrian> </ScenarioObject> <ScenarioObject name="pedestrian_w_transform_23141"> <Pedestrian model="walker.pedestrian.0001" mass="80" name="walker.pedestrian.0001" pedestrianCategory="pedestrian"> <ParameterDeclarations/> <BoundingBox> <Center x="1.5" y="0.0" z="0.9"/> <Dimensions width="2" length="2" height="2"/> </BoundingBox> <Properties> <Property name="type" value="simulation"/> </Properties> </Pedestrian> </ScenarioObject> <ScenarioObject name="pedestrian_w_transform_23142"> <Pedestrian model="walker.pedestrian.0001" mass="80" name="walker.pedestrian.0001" pedestrianCategory="pedestrian"> <ParameterDeclarations/> <BoundingBox> <Center x="1.5" y="0.0" z="0.9"/> <Dimensions width="2" length="2" height="2"/> </BoundingBox> <Properties> <Property name="type" value="simulation"/> </Properties> </Pedestrian> </ScenarioObject> <ScenarioObject name="pedestrian_w_transform_23143"> <Pedestrian model="walker.pedestrian.0001" mass="80" name="walker.pedestrian.0001" pedestrianCategory="pedestrian"> <ParameterDeclarations/> <BoundingBox> <Center x="1.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_23135"> <PrivateAction> <TeleportAction> <Position> <WorldPosition x="-10.053542137145996" y="26.503755569458008" z="0.0030190276447683573"/> </Position> </TeleportAction> </PrivateAction> </Private> <Private entityRef="pedestrian_close_to_adversary_23136"> <PrivateAction> <TeleportAction> <Position> <WorldPosition x="-8.459863662719727" y="-72.06362915039062" z="0.033757857978343964"/> </Position> </TeleportAction> </PrivateAction> </Private> <Private entityRef="pedestrian_w_transform_23137"> <PrivateAction> <TeleportAction> <Position> <WorldPosition x="23.014419555664062" y="71.033203125" z="0.5"/> </Position> </TeleportAction> </PrivateAction> </Private> <Private entityRef="pedestrian_w_transform_23138"> <PrivateAction> <TeleportAction> <Position> <WorldPosition x="92.66061401367188" y="-24.440460205078125" z="0.5"/> </Position> </TeleportAction> </PrivateAction> </Private> <Private entityRef="pedestrian_close_to_standing_23139"> <PrivateAction> <TeleportAction> <Position> <WorldPosition x="-4.572933673858643" y="31.317974090576172" z="0.003017692593857646"/> </Position> </TeleportAction> </PrivateAction> </Private> <Private entityRef="pedestrian_close_to_adversary_23140"> <PrivateAction> <TeleportAction> <Position> <WorldPosition x="-11.829794883728027" y="-81.1048355102539" z="0.033756714314222336"/> </Position> </TeleportAction> </PrivateAction> </Private> <Private entityRef="pedestrian_w_transform_23141"> <PrivateAction> <TeleportAction> <Position> <WorldPosition x="-79.12882232666016" y="64.51727294921875" z="0.5"/> </Position> </TeleportAction> </PrivateAction> </Private> <Private entityRef="pedestrian_w_transform_23142"> <PrivateAction> <TeleportAction> <Position> <WorldPosition x="-99.33588409423828" y="-84.73306274414062" z="0.5"/> </Position> </TeleportAction> </PrivateAction> </Private> <Private entityRef="pedestrian_w_transform_23143"> <PrivateAction> <TeleportAction> <Position> <WorldPosition x="-57.92710494995117" y="0.24267025291919708" 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_23135"> <Pedestrian model="walker.pedestrian.0001" mass="80" name="walker.pedestrian.0001" pedestrianCategory="pedestrian"> <ParameterDeclarations/> <BoundingBox> <Center x="1.5" y="0.0" z="0.9"/> <Dimensions width="2" length="2" height="2"/> </BoundingBox> <Properties> <Property name="type" value="simulation"/> </Properties> </Pedestrian> </ScenarioObject> <ScenarioObject name="pedestrian_close_to_adversary_23136"> <Pedestrian model="walker.pedestrian.0001" mass="80" name="walker.pedestrian.0001" pedestrianCategory="pedestrian"> <ParameterDeclarations/> <BoundingBox> <Center x="1.5" y="0.0" z="0.9"/> <Dimensions width="2" length="2" height="2"/> </BoundingBox> <Properties> <Property name="type" value="simulation"/> </Properties> </Pedestrian> </ScenarioObject> <ScenarioObject name="pedestrian_w_transform_23137"> <Pedestrian model="walker.pedestrian.0001" mass="80" name="walker.pedestrian.0001" pedestrianCategory="pedestrian"> <ParameterDeclarations/> <BoundingBox> <Center x="1.5" y="0.0" z="0.9"/> <Dimensions width="2" length="2" height="2"/> </BoundingBox> <Properties> <Property name="type" value="simulation"/> </Properties> </Pedestrian> </ScenarioObject> <ScenarioObject name="pedestrian_w_transform_23138"> <Pedestrian model="walker.pedestrian.0001" mass="80" name="walker.pedestrian.0001" pedestrianCategory="pedestrian"> <ParameterDeclarations/> <BoundingBox> <Center x="1.5" y="0.0" z="0.9"/> <Dimensions width="2" length="2" height="2"/> </BoundingBox> <Properties> <Property name="type" value="simulation"/> </Properties> </Pedestrian> </ScenarioObject> <ScenarioObject name="pedestrian_close_to_adversary_23140"> <Pedestrian model="walker.pedestrian.0001" mass="80" name="walker.pedestrian.0001" pedestrianCategory="pedestrian"> <ParameterDeclarations/> <BoundingBox> <Center x="1.5" y="0.0" z="0.9"/> <Dimensions width="2" length="2" height="2"/> </BoundingBox> <Properties> <Property name="type" value="simulation"/> </Properties> </Pedestrian> </ScenarioObject> <ScenarioObject name="pedestrian_w_transform_23141"> <Pedestrian model="walker.pedestrian.0001" mass="80" name="walker.pedestrian.0001" pedestrianCategory="pedestrian"> <ParameterDeclarations/> <BoundingBox> <Center x="1.5" y="0.0" z="0.9"/> <Dimensions width="2" length="2" height="2"/> </BoundingBox> <Properties> <Property name="type" value="simulation"/> </Properties> </Pedestrian> </ScenarioObject> <ScenarioObject name="pedestrian_w_transform_23142"> <Pedestrian model="walker.pedestrian.0001" mass="80" name="walker.pedestrian.0001" pedestrianCategory="pedestrian"> <ParameterDeclarations/> <BoundingBox> <Center x="1.5" y="0.0" z="0.9"/> <Dimensions width="2" length="2" height="2"/> </BoundingBox> <Properties> <Property name="type" value="simulation"/> </Properties> </Pedestrian> </ScenarioObject> <ScenarioObject name="pedestrian_w_transform_23143"> <Pedestrian model="walker.pedestrian.0001" mass="80" name="walker.pedestrian.0001" pedestrianCategory="pedestrian"> <ParameterDeclarations/> <BoundingBox> <Center x="1.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_23135"> <PrivateAction> <TeleportAction> <Position> <WorldPosition x="-10.053542137145996" y="26.503755569458008" z="0.0030190276447683573"/> </Position> </TeleportAction> </PrivateAction> </Private> <Private entityRef="pedestrian_close_to_adversary_23136"> <PrivateAction> <TeleportAction> <Position> <WorldPosition x="-8.459863662719727" y="-72.06362915039062" z="0.033757857978343964"/> </Position> </TeleportAction> </PrivateAction> </Private> <Private entityRef="pedestrian_w_transform_23137"> <PrivateAction> <TeleportAction> <Position> <WorldPosition x="23.014419555664062" y="71.033203125" z="0.5"/> </Position> </TeleportAction> </PrivateAction> </Private> <Private entityRef="pedestrian_w_transform_23138"> <PrivateAction> <TeleportAction> <Position> <WorldPosition x="92.66061401367188" y="-24.440460205078125" z="0.5"/> </Position> </TeleportAction> </PrivateAction> </Private> <Private entityRef="pedestrian_close_to_adversary_23140"> <PrivateAction> <TeleportAction> <Position> <WorldPosition x="-11.829794883728027" y="-81.1048355102539" z="0.033756714314222336"/> </Position> </TeleportAction> </PrivateAction> </Private> <Private entityRef="pedestrian_w_transform_23141"> <PrivateAction> <TeleportAction> <Position> <WorldPosition x="-79.12882232666016" y="64.51727294921875" z="0.5"/> </Position> </TeleportAction> </PrivateAction> </Private> <Private entityRef="pedestrian_w_transform_23142"> <PrivateAction> <TeleportAction> <Position> <WorldPosition x="-99.33588409423828" y="-84.73306274414062" z="0.5"/> </Position> </TeleportAction> </PrivateAction> </Private> <Private entityRef="pedestrian_w_transform_23143"> <PrivateAction> <TeleportAction> <Position> <WorldPosition x="-57.92710494995117" y="0.24267025291919708" 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 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_w_transform_12055"> <Pedestrian model="walker.pedestrian.0001" mass="80" name="walker.pedestrian.0001" pedestrianCategory="pedestrian"> <ParameterDeclarations/> <BoundingBox> <Center x="1.5" y="0.0" z="0.9"/> <Dimensions width="2" length="2" height="2"/> </BoundingBox> <Properties> <Property name="type" value="simulation"/> </Properties> </Pedestrian> </ScenarioObject> <ScenarioObject name="pedestrian_w_transform_12056"> <Pedestrian model="walker.pedestrian.0001" mass="80" name="walker.pedestrian.0001" pedestrianCategory="pedestrian"> <ParameterDeclarations/> <BoundingBox> <Center x="1.5" y="0.0" z="0.9"/> <Dimensions width="2" length="2" height="2"/> </BoundingBox> <Properties> <Property name="type" value="simulation"/> </Properties> </Pedestrian> </ScenarioObject> <ScenarioObject name="pedestrian_close_to_standing_12057"> <Pedestrian model="walker.pedestrian.0001" mass="80" name="walker.pedestrian.0001" pedestrianCategory="pedestrian"> <ParameterDeclarations/> <BoundingBox> <Center x="1.5" y="0.0" z="0.9"/> <Dimensions width="2" length="2" height="2"/> </BoundingBox> <Properties> <Property name="type" value="simulation"/> </Properties> </Pedestrian> </ScenarioObject> <ScenarioObject name="pedestrian_w_transform_12058"> <Pedestrian model="walker.pedestrian.0001" mass="80" name="walker.pedestrian.0001" pedestrianCategory="pedestrian"> <ParameterDeclarations/> <BoundingBox> <Center x="1.5" y="0.0" z="0.9"/> <Dimensions width="2" length="2" height="2"/> </BoundingBox> <Properties> <Property name="type" value="simulation"/> </Properties> </Pedestrian> </ScenarioObject> <ScenarioObject name="pedestrian_w_transform_12059"> <Pedestrian model="walker.pedestrian.0001" mass="80" name="walker.pedestrian.0001" pedestrianCategory="pedestrian"> <ParameterDeclarations/> <BoundingBox> <Center x="1.5" y="0.0" z="0.9"/> <Dimensions width="2" length="2" height="2"/> </BoundingBox> <Properties> <Property name="type" value="simulation"/> </Properties> </Pedestrian> </ScenarioObject> <ScenarioObject name="pedestrian_close_to_standing_12060"> <Pedestrian model="walker.pedestrian.0001" mass="80" name="walker.pedestrian.0001" pedestrianCategory="pedestrian"> <ParameterDeclarations/> <BoundingBox> <Center x="1.5" y="0.0" z="0.9"/> <Dimensions width="2" length="2" height="2"/> </BoundingBox> <Properties> <Property name="type" value="simulation"/> </Properties> </Pedestrian> </ScenarioObject> <ScenarioObject name="pedestrian_close_to_hero_12062"> <Pedestrian model="walker.pedestrian.0001" mass="80" name="walker.pedestrian.0001" pedestrianCategory="pedestrian"> <ParameterDeclarations/> <BoundingBox> <Center x="1.5" y="0.0" z="0.9"/> <Dimensions width="2" length="2" height="2"/> </BoundingBox> <Properties> <Property name="type" value="simulation"/> </Properties> </Pedestrian> </ScenarioObject> <ScenarioObject name="pedestrian_close_to_adversary_12063"> <Pedestrian model="walker.pedestrian.0001" mass="80" name="walker.pedestrian.0001" pedestrianCategory="pedestrian"> <ParameterDeclarations/> <BoundingBox> <Center x="1.5" y="0.0" z="0.9"/> <Dimensions width="2" length="2" height="2"/> </BoundingBox> <Properties> <Property name="type" value="simulation"/> </Properties> </Pedestrian> </ScenarioObject> <ScenarioObject name="pedestrian_close_to_hero_12064"> <Pedestrian model="walker.pedestrian.0001" mass="80" name="walker.pedestrian.0001" pedestrianCategory="pedestrian"> <ParameterDeclarations/> <BoundingBox> <Center x="1.5" y="0.0" z="0.9"/> <Dimensions width="2" length="2" height="2"/> </BoundingBox> <Properties> <Property name="type" value="simulation"/> </Properties> </Pedestrian> </ScenarioObject> <ScenarioObject name="pedestrian_w_transform_12065"> <Pedestrian model="walker.pedestrian.0001" mass="80" name="walker.pedestrian.0001" pedestrianCategory="pedestrian"> <ParameterDeclarations/> <BoundingBox> <Center x="1.5" y="0.0" z="0.9"/> <Dimensions width="2" length="2" height="2"/> </BoundingBox> <Properties> <Property name="type" value="simulation"/> </Properties> </Pedestrian> </ScenarioObject> <ScenarioObject name="pedestrian_close_to_adversary_12066"> <Pedestrian model="walker.pedestrian.0001" mass="80" name="walker.pedestrian.0001" pedestrianCategory="pedestrian"> <ParameterDeclarations/> <BoundingBox> <Center x="1.5" y="0.0" z="0.9"/> <Dimensions width="2" length="2" height="2"/> </BoundingBox> <Properties> <Property name="type" value="simulation"/> </Properties> </Pedestrian> </ScenarioObject> <ScenarioObject name="pedestrian_w_transform_12067"> <Pedestrian model="walker.pedestrian.0001" mass="80" name="walker.pedestrian.0001" pedestrianCategory="pedestrian"> <ParameterDeclarations/> <BoundingBox> <Center x="1.5" y="0.0" z="0.9"/> <Dimensions width="2" length="2" height="2"/> </BoundingBox> <Properties> <Property name="type" value="simulation"/> </Properties> </Pedestrian> </ScenarioObject> <ScenarioObject name="pedestrian_close_to_adversary_12070"> <Pedestrian model="walker.pedestrian.0001" mass="80" name="walker.pedestrian.0001" pedestrianCategory="pedestrian"> <ParameterDeclarations/> <BoundingBox> <Center x="1.5" y="0.0" z="0.9"/> <Dimensions width="2" length="2" height="2"/> </BoundingBox> <Properties> <Property name="type" value="simulation"/> </Properties> </Pedestrian> </ScenarioObject> <ScenarioObject name="pedestrian_close_to_standing_12073"> <Pedestrian model="walker.pedestrian.0001" mass="80" name="walker.pedestrian.0001" pedestrianCategory="pedestrian"> <ParameterDeclarations/> <BoundingBox> <Center x="1.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_12055"> <PrivateAction> <TeleportAction> <Position> <WorldPosition x="-1.2850672006607056" y="-66.02118682861328" z="0.5"/> </Position> </TeleportAction> </PrivateAction> </Private> <Private entityRef="pedestrian_w_transform_12056"> <PrivateAction> <TeleportAction> <Position> <WorldPosition x="38.16387939453125" y="-7.454466342926025" z="0.5"/> </Position> </TeleportAction> </PrivateAction> </Private> <Private entityRef="pedestrian_close_to_standing_12057"> <PrivateAction> <TeleportAction> <Position> <WorldPosition x="-13.908571243286133" y="20.45418930053711" z="0.00306327803991735"/> </Position> </TeleportAction> </PrivateAction> </Private> <Private entityRef="pedestrian_w_transform_12058"> <PrivateAction> <TeleportAction> <Position> <WorldPosition x="-36.88406753540039" y="31.821609497070312" z="0.5"/> </Position> </TeleportAction> </PrivateAction> </Private> <Private entityRef="pedestrian_w_transform_12059"> <PrivateAction> <TeleportAction> <Position> <WorldPosition x="33.73687744140625" y="13.62951374053955" z="0.5"/> </Position> </TeleportAction> </PrivateAction> </Private> <Private entityRef="pedestrian_close_to_standing_12060"> <PrivateAction> <TeleportAction> <Position> <WorldPosition x="4.230560302734375" y="20.214468002319336" z="0.0030620575416833162"/> </Position> </TeleportAction> </PrivateAction> </Private> <Private entityRef="pedestrian_close_to_hero_12062"> <PrivateAction> <TeleportAction> <Position> <WorldPosition x="2.9227893352508545" y="-152.39376831054688" z="0.0016471862327307463"/> </Position> </TeleportAction> </PrivateAction> </Private> <Private entityRef="pedestrian_close_to_adversary_12063"> <PrivateAction> <TeleportAction> <Position> <WorldPosition x="-14.848611831665039" y="-63.68730163574219" z="0.03379550948739052"/> </Position> </TeleportAction> </PrivateAction> </Private> <Private entityRef="pedestrian_close_to_hero_12064"> <PrivateAction> <TeleportAction> <Position> <WorldPosition x="-23.521509170532227" y="-167.4327850341797" z="0.0016471862327307463"/> </Position> </TeleportAction> </PrivateAction> </Private> <Private entityRef="pedestrian_w_transform_12065"> <PrivateAction> <TeleportAction> <Position> <WorldPosition x="-6.27444314956665" y="-3.011507272720337" z="0.5"/> </Position> </TeleportAction> </PrivateAction> </Private> <Private entityRef="pedestrian_close_to_adversary_12066"> <PrivateAction> <TeleportAction> <Position> <WorldPosition x="-9.98248291015625" y="-65.93424224853516" z="0.03376933932304382"/> </Position> </TeleportAction> </PrivateAction> </Private> <Private entityRef="pedestrian_w_transform_12067"> <PrivateAction> <TeleportAction> <Position> <WorldPosition x="-71.78038024902344" y="34.80045700073242" z="0.5"/> </Position> </TeleportAction> </PrivateAction> </Private> <Private entityRef="pedestrian_close_to_adversary_12070"> <PrivateAction> <TeleportAction> <Position> <WorldPosition x="-10.47638988494873" y="-65.50364685058594" z="0.03380618989467621"/> </Position> </TeleportAction> </PrivateAction> </Private> <Private entityRef="pedestrian_close_to_standing_12073"> <PrivateAction> <TeleportAction> <Position> <WorldPosition x="-10.740277290344238" y="23.54802703857422" z="0.0030487440526485443"/> </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_12055"> <Pedestrian model="walker.pedestrian.0001" mass="80" name="walker.pedestrian.0001" pedestrianCategory="pedestrian"> <ParameterDeclarations/> <BoundingBox> <Center x="1.5" y="0.0" z="0.9"/> <Dimensions width="2" length="2" height="2"/> </BoundingBox> <Properties> <Property name="type" value="simulation"/> </Properties> </Pedestrian> </ScenarioObject> <ScenarioObject name="pedestrian_w_transform_12056"> <Pedestrian model="walker.pedestrian.0001" mass="80" name="walker.pedestrian.0001" pedestrianCategory="pedestrian"> <ParameterDeclarations/> <BoundingBox> <Center x="1.5" y="0.0" z="0.9"/> <Dimensions width="2" length="2" height="2"/> </BoundingBox> <Properties> <Property name="type" value="simulation"/> </Properties> </Pedestrian> </ScenarioObject> <ScenarioObject name="pedestrian_close_to_standing_12057"> <Pedestrian model="walker.pedestrian.0001" mass="80" name="walker.pedestrian.0001" pedestrianCategory="pedestrian"> <ParameterDeclarations/> <BoundingBox> <Center x="1.5" y="0.0" z="0.9"/> <Dimensions width="2" length="2" height="2"/> </BoundingBox> <Properties> <Property name="type" value="simulation"/> </Properties> </Pedestrian> </ScenarioObject> <ScenarioObject name="pedestrian_w_transform_12058"> <Pedestrian model="walker.pedestrian.0001" mass="80" name="walker.pedestrian.0001" pedestrianCategory="pedestrian"> <ParameterDeclarations/> <BoundingBox> <Center x="1.5" y="0.0" z="0.9"/> <Dimensions width="2" length="2" height="2"/> </BoundingBox> <Properties> <Property name="type" value="simulation"/> </Properties> </Pedestrian> </ScenarioObject> <ScenarioObject name="pedestrian_w_transform_12059"> <Pedestrian model="walker.pedestrian.0001" mass="80" name="walker.pedestrian.0001" pedestrianCategory="pedestrian"> <ParameterDeclarations/> <BoundingBox> <Center x="1.5" y="0.0" z="0.9"/> <Dimensions width="2" length="2" height="2"/> </BoundingBox> <Properties> <Property name="type" value="simulation"/> </Properties> </Pedestrian> </ScenarioObject> <ScenarioObject name="pedestrian_close_to_standing_12060"> <Pedestrian model="walker.pedestrian.0001" mass="80" name="walker.pedestrian.0001" pedestrianCategory="pedestrian"> <ParameterDeclarations/> <BoundingBox> <Center x="1.5" y="0.0" z="0.9"/> <Dimensions width="2" length="2" height="2"/> </BoundingBox> <Properties> <Property name="type" value="simulation"/> </Properties> </Pedestrian> </ScenarioObject> <ScenarioObject name="pedestrian_close_to_hero_12062"> <Pedestrian model="walker.pedestrian.0001" mass="80" name="walker.pedestrian.0001" pedestrianCategory="pedestrian"> <ParameterDeclarations/> <BoundingBox> <Center x="1.5" y="0.0" z="0.9"/> <Dimensions width="2" length="2" height="2"/> </BoundingBox> <Properties> <Property name="type" value="simulation"/> </Properties> </Pedestrian> </ScenarioObject> <ScenarioObject name="pedestrian_close_to_adversary_12063"> <Pedestrian model="walker.pedestrian.0001" mass="80" name="walker.pedestrian.0001" pedestrianCategory="pedestrian"> <ParameterDeclarations/> <BoundingBox> <Center x="1.5" y="0.0" z="0.9"/> <Dimensions width="2" length="2" height="2"/> </BoundingBox> <Properties> <Property name="type" value="simulation"/> </Properties> </Pedestrian> </ScenarioObject> <ScenarioObject name="pedestrian_close_to_hero_12064"> <Pedestrian model="walker.pedestrian.0001" mass="80" name="walker.pedestrian.0001" pedestrianCategory="pedestrian"> <ParameterDeclarations/> <BoundingBox> <Center x="1.5" y="0.0" z="0.9"/> <Dimensions width="2" length="2" height="2"/> </BoundingBox> <Properties> <Property name="type" value="simulation"/> </Properties> </Pedestrian> </ScenarioObject> <ScenarioObject name="pedestrian_w_transform_12065"> <Pedestrian model="walker.pedestrian.0001" mass="80" name="walker.pedestrian.0001" pedestrianCategory="pedestrian"> <ParameterDeclarations/> <BoundingBox> <Center x="1.5" y="0.0" z="0.9"/> <Dimensions width="2" length="2" height="2"/> </BoundingBox> <Properties> <Property name="type" value="simulation"/> </Properties> </Pedestrian> </ScenarioObject> <ScenarioObject name="pedestrian_close_to_adversary_12066"> <Pedestrian model="walker.pedestrian.0001" mass="80" name="walker.pedestrian.0001" pedestrianCategory="pedestrian"> <ParameterDeclarations/> <BoundingBox> <Center x="1.5" y="0.0" z="0.9"/> <Dimensions width="2" length="2" height="2"/> </BoundingBox> <Properties> <Property name="type" value="simulation"/> </Properties> </Pedestrian> </ScenarioObject> <ScenarioObject name="pedestrian_w_transform_12067"> <Pedestrian model="walker.pedestrian.0001" mass="80" name="walker.pedestrian.0001" pedestrianCategory="pedestrian"> <ParameterDeclarations/> <BoundingBox> <Center x="1.5" y="0.0" z="0.9"/> <Dimensions width="2" length="2" height="2"/> </BoundingBox> <Properties> <Property name="type" value="simulation"/> </Properties> </Pedestrian> </ScenarioObject> <ScenarioObject name="pedestrian_close_to_adversary_12070"> <Pedestrian model="walker.pedestrian.0001" mass="80" name="walker.pedestrian.0001" pedestrianCategory="pedestrian"> <ParameterDeclarations/> <BoundingBox> <Center x="1.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_12055"> <PrivateAction> <TeleportAction> <Position> <WorldPosition x="-1.2850672006607056" y="-66.02118682861328" z="0.5"/> </Position> </TeleportAction> </PrivateAction> </Private> <Private entityRef="pedestrian_w_transform_12056"> <PrivateAction> <TeleportAction> <Position> <WorldPosition x="38.16387939453125" y="-7.454466342926025" z="0.5"/> </Position> </TeleportAction> </PrivateAction> </Private> <Private entityRef="pedestrian_close_to_standing_12057"> <PrivateAction> <TeleportAction> <Position> <WorldPosition x="-13.908571243286133" y="20.45418930053711" z="0.00306327803991735"/> </Position> </TeleportAction> </PrivateAction> </Private> <Private entityRef="pedestrian_w_transform_12058"> <PrivateAction> <TeleportAction> <Position> <WorldPosition x="-36.88406753540039" y="31.821609497070312" z="0.5"/> </Position> </TeleportAction> </PrivateAction> </Private> <Private entityRef="pedestrian_w_transform_12059"> <PrivateAction> <TeleportAction> <Position> <WorldPosition x="33.73687744140625" y="13.62951374053955" z="0.5"/> </Position> </TeleportAction> </PrivateAction> </Private> <Private entityRef="pedestrian_close_to_standing_12060"> <PrivateAction> <TeleportAction> <Position> <WorldPosition x="4.230560302734375" y="20.214468002319336" z="0.0030620575416833162"/> </Position> </TeleportAction> </PrivateAction> </Private> <Private entityRef="pedestrian_close_to_hero_12062"> <PrivateAction> <TeleportAction> <Position> <WorldPosition x="2.9227893352508545" y="-152.39376831054688" z="0.0016471862327307463"/> </Position> </TeleportAction> </PrivateAction> </Private> <Private entityRef="pedestrian_close_to_adversary_12063"> <PrivateAction> <TeleportAction> <Position> <WorldPosition x="-14.848611831665039" y="-63.68730163574219" z="0.03379550948739052"/> </Position> </TeleportAction> </PrivateAction> </Private> <Private entityRef="pedestrian_close_to_hero_12064"> <PrivateAction> <TeleportAction> <Position> <WorldPosition x="-23.521509170532227" y="-167.4327850341797" z="0.0016471862327307463"/> </Position> </TeleportAction> </PrivateAction> </Private> <Private entityRef="pedestrian_w_transform_12065"> <PrivateAction> <TeleportAction> <Position> <WorldPosition x="-6.27444314956665" y="-3.011507272720337" z="0.5"/> </Position> </TeleportAction> </PrivateAction> </Private> <Private entityRef="pedestrian_close_to_adversary_12066"> <PrivateAction> <TeleportAction> <Position> <WorldPosition x="-9.98248291015625" y="-65.93424224853516" z="0.03376933932304382"/> </Position> </TeleportAction> </PrivateAction> </Private> <Private entityRef="pedestrian_w_transform_12067"> <PrivateAction> <TeleportAction> <Position> <WorldPosition x="-71.78038024902344" y="34.80045700073242" z="0.5"/> </Position> </TeleportAction> </PrivateAction> </Private> <Private entityRef="pedestrian_close_to_adversary_12070"> <PrivateAction> <TeleportAction> <Position> <WorldPosition x="-10.47638988494873" y="-65.50364685058594" z="0.03380618989467621"/> </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 actor named pedestrian_close_to_adversary_10003? ``` <?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_10003"> <Pedestrian model="walker.pedestrian.0001" mass="80" name="walker.pedestrian.0001" pedestrianCategory="pedestrian"> <ParameterDeclarations/> <BoundingBox> <Center x="1.5" y="0.0" z="0.9"/> <Dimensions width="2" length="2" height="2"/> </BoundingBox> <Properties> <Property name="type" value="simulation"/> </Properties> </Pedestrian> </ScenarioObject> <ScenarioObject name="pedestrian_close_to_standing_10004"> <Pedestrian model="walker.pedestrian.0001" mass="80" name="walker.pedestrian.0001" pedestrianCategory="pedestrian"> <ParameterDeclarations/> <BoundingBox> <Center x="1.5" y="0.0" z="0.9"/> <Dimensions width="2" length="2" height="2"/> </BoundingBox> <Properties> <Property name="type" value="simulation"/> </Properties> </Pedestrian> </ScenarioObject> <ScenarioObject name="pedestrian_w_transform_10005"> <Pedestrian model="walker.pedestrian.0001" mass="80" name="walker.pedestrian.0001" pedestrianCategory="pedestrian"> <ParameterDeclarations/> <BoundingBox> <Center x="1.5" y="0.0" z="0.9"/> <Dimensions width="2" length="2" height="2"/> </BoundingBox> <Properties> <Property name="type" value="simulation"/> </Properties> </Pedestrian> </ScenarioObject> <ScenarioObject name="pedestrian_w_transform_10006"> <Pedestrian model="walker.pedestrian.0001" mass="80" name="walker.pedestrian.0001" pedestrianCategory="pedestrian"> <ParameterDeclarations/> <BoundingBox> <Center x="1.5" y="0.0" z="0.9"/> <Dimensions width="2" length="2" height="2"/> </BoundingBox> <Properties> <Property name="type" value="simulation"/> </Properties> </Pedestrian> </ScenarioObject> <ScenarioObject name="pedestrian_close_to_standing_10007"> <Pedestrian model="walker.pedestrian.0001" mass="80" name="walker.pedestrian.0001" pedestrianCategory="pedestrian"> <ParameterDeclarations/> <BoundingBox> <Center x="1.5" y="0.0" z="0.9"/> <Dimensions width="2" length="2" height="2"/> </BoundingBox> <Properties> <Property name="type" value="simulation"/> </Properties> </Pedestrian> </ScenarioObject> <ScenarioObject name="pedestrian_close_to_hero_10008"> <Pedestrian model="walker.pedestrian.0001" mass="80" name="walker.pedestrian.0001" pedestrianCategory="pedestrian"> <ParameterDeclarations/> <BoundingBox> <Center x="1.5" y="0.0" z="0.9"/> <Dimensions width="2" length="2" height="2"/> </BoundingBox> <Properties> <Property name="type" value="simulation"/> </Properties> </Pedestrian> </ScenarioObject> <ScenarioObject name="pedestrian_close_to_adversary_10009"> <Pedestrian model="walker.pedestrian.0001" mass="80" name="walker.pedestrian.0001" pedestrianCategory="pedestrian"> <ParameterDeclarations/> <BoundingBox> <Center x="1.5" y="0.0" z="0.9"/> <Dimensions width="2" length="2" height="2"/> </BoundingBox> <Properties> <Property name="type" value="simulation"/> </Properties> </Pedestrian> </ScenarioObject> <ScenarioObject name="pedestrian_close_to_standing_10010"> <Pedestrian model="walker.pedestrian.0001" mass="80" name="walker.pedestrian.0001" pedestrianCategory="pedestrian"> <ParameterDeclarations/> <BoundingBox> <Center x="1.5" y="0.0" z="0.9"/> <Dimensions width="2" length="2" height="2"/> </BoundingBox> <Properties> <Property name="type" value="simulation"/> </Properties> </Pedestrian> </ScenarioObject> <ScenarioObject name="pedestrian_close_to_standing_10011"> <Pedestrian model="walker.pedestrian.0001" mass="80" name="walker.pedestrian.0001" pedestrianCategory="pedestrian"> <ParameterDeclarations/> <BoundingBox> <Center x="1.5" y="0.0" z="0.9"/> <Dimensions width="2" length="2" height="2"/> </BoundingBox> <Properties> <Property name="type" value="simulation"/> </Properties> </Pedestrian> </ScenarioObject> <ScenarioObject name="pedestrian_close_to_hero_10013"> <Pedestrian model="walker.pedestrian.0001" mass="80" name="walker.pedestrian.0001" pedestrianCategory="pedestrian"> <ParameterDeclarations/> <BoundingBox> <Center x="1.5" y="0.0" z="0.9"/> <Dimensions width="2" length="2" height="2"/> </BoundingBox> <Properties> <Property name="type" value="simulation"/> </Properties> </Pedestrian> </ScenarioObject> <ScenarioObject name="pedestrian_w_transform_10014"> <Pedestrian model="walker.pedestrian.0001" mass="80" name="walker.pedestrian.0001" pedestrianCategory="pedestrian"> <ParameterDeclarations/> <BoundingBox> <Center x="1.5" y="0.0" z="0.9"/> <Dimensions width="2" length="2" height="2"/> </BoundingBox> <Properties> <Property name="type" value="simulation"/> </Properties> </Pedestrian> </ScenarioObject> <ScenarioObject name="pedestrian_close_to_hero_10015"> <Pedestrian model="walker.pedestrian.0001" mass="80" name="walker.pedestrian.0001" pedestrianCategory="pedestrian"> <ParameterDeclarations/> <BoundingBox> <Center x="1.5" y="0.0" z="0.9"/> <Dimensions width="2" length="2" height="2"/> </BoundingBox> <Properties> <Property name="type" value="simulation"/> </Properties> </Pedestrian> </ScenarioObject> <ScenarioObject name="pedestrian_close_to_hero_10016"> <Pedestrian model="walker.pedestrian.0001" mass="80" name="walker.pedestrian.0001" pedestrianCategory="pedestrian"> <ParameterDeclarations/> <BoundingBox> <Center x="1.5" y="0.0" z="0.9"/> <Dimensions width="2" length="2" height="2"/> </BoundingBox> <Properties> <Property name="type" value="simulation"/> </Properties> </Pedestrian> </ScenarioObject> <ScenarioObject name="pedestrian_w_transform_10018"> <Pedestrian model="walker.pedestrian.0001" mass="80" name="walker.pedestrian.0001" pedestrianCategory="pedestrian"> <ParameterDeclarations/> <BoundingBox> <Center x="1.5" y="0.0" z="0.9"/> <Dimensions width="2" length="2" height="2"/> </BoundingBox> <Properties> <Property name="type" value="simulation"/> </Properties> </Pedestrian> </ScenarioObject> <ScenarioObject name="pedestrian_close_to_adversary_10019"> <Pedestrian model="walker.pedestrian.0001" mass="80" name="walker.pedestrian.0001" pedestrianCategory="pedestrian"> <ParameterDeclarations/> <BoundingBox> <Center x="1.5" y="0.0" z="0.9"/> <Dimensions width="2" length="2" height="2"/> </BoundingBox> <Properties> <Property name="type" value="simulation"/> </Properties> </Pedestrian> </ScenarioObject> <ScenarioObject name="pedestrian_close_to_hero_10020"> <Pedestrian model="walker.pedestrian.0001" mass="80" name="walker.pedestrian.0001" pedestrianCategory="pedestrian"> <ParameterDeclarations/> <BoundingBox> <Center x="1.5" y="0.0" z="0.9"/> <Dimensions width="2" length="2" height="2"/> </BoundingBox> <Properties> <Property name="type" value="simulation"/> </Properties> </Pedestrian> </ScenarioObject> <ScenarioObject name="pedestrian_w_transform_10021"> <Pedestrian model="walker.pedestrian.0001" mass="80" name="walker.pedestrian.0001" pedestrianCategory="pedestrian"> <ParameterDeclarations/> <BoundingBox> <Center x="1.5" y="0.0" z="0.9"/> <Dimensions width="2" length="2" height="2"/> </BoundingBox> <Properties> <Property name="type" value="simulation"/> </Properties> </Pedestrian> </ScenarioObject> <ScenarioObject name="pedestrian_w_transform_10022"> <Pedestrian model="walker.pedestrian.0001" mass="80" name="walker.pedestrian.0001" pedestrianCategory="pedestrian"> <ParameterDeclarations/> <BoundingBox> <Center x="1.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_10003"> <PrivateAction> <TeleportAction> <Position> <WorldPosition x="-12.904861450195312" y="-58.26932144165039" z="0.03382854536175728"/> </Position> </TeleportAction> </PrivateAction> </Private> <Private entityRef="pedestrian_close_to_standing_10004"> <PrivateAction> <TeleportAction> <Position> <WorldPosition x="-13.05037784576416" y="25.836986541748047" z="0.003083801129832864"/> </Position> </TeleportAction> </PrivateAction> </Private> <Private entityRef="pedestrian_w_transform_10005"> <PrivateAction> <TeleportAction> <Position> <WorldPosition x="0.965344250202179" y="11.349509239196777" z="0.5"/> </Position> </TeleportAction> </PrivateAction> </Private> <Private entityRef="pedestrian_w_transform_10006"> <PrivateAction> <TeleportAction> <Position> <WorldPosition x="53.506988525390625" y="85.16207885742188" z="0.5"/> </Position> </TeleportAction> </PrivateAction> </Private> <Private entityRef="pedestrian_close_to_standing_10007"> <PrivateAction> <TeleportAction> <Position> <WorldPosition x="-6.621910095214844" y="26.57964324951172" z="0.0030768204014748335"/> </Position> </TeleportAction> </PrivateAction> </Private> <Private entityRef="pedestrian_close_to_hero_10008"> <PrivateAction> <TeleportAction> <Position> <WorldPosition x="-8.307365417480469" y="-148.58204650878906" z="0.0014652633108198643"/> </Position> </TeleportAction> </PrivateAction> </Private> <Private entityRef="pedestrian_close_to_adversary_10009"> <PrivateAction> <TeleportAction> <Position> <WorldPosition x="-1.9375649690628052" y="-68.86756896972656" z="0.03375053405761719"/> </Position> </TeleportAction> </PrivateAction> </Private> <Private entityRef="pedestrian_close_to_standing_10010"> <PrivateAction> <TeleportAction> <Position> <WorldPosition x="-4.451868534088135" y="21.57160758972168" z="0.0030196760781109333"/> </Position> </TeleportAction> </PrivateAction> </Private> <Private entityRef="pedestrian_close_to_standing_10011"> <PrivateAction> <TeleportAction> <Position> <WorldPosition x="-12.141230583190918" y="20.61910629272461" z="0.0030483626760542393"/> </Position> </TeleportAction> </PrivateAction> </Private> <Private entityRef="pedestrian_close_to_hero_10013"> <PrivateAction> <TeleportAction> <Position> <WorldPosition x="-10.770596504211426" y="-157.8015899658203" z="0.0014652633108198643"/> </Position> </TeleportAction> </PrivateAction> </Private> <Private entityRef="pedestrian_w_transform_10014"> <PrivateAction> <TeleportAction> <Position> <WorldPosition x="-89.78074645996094" y="57.733978271484375" z="0.5"/> </Position> </TeleportAction> </PrivateAction> </Private> <Private entityRef="pedestrian_close_to_hero_10015"> <PrivateAction> <TeleportAction> <Position> <WorldPosition x="-2.5380706787109375" y="-157.4897918701172" z="0.0014652633108198643"/> </Position> </TeleportAction> </PrivateAction> </Private> <Private entityRef="pedestrian_close_to_hero_10016"> <PrivateAction> <TeleportAction> <Position> <WorldPosition x="-17.480026245117188" y="-157.99819946289062" z="0.0014652633108198643"/> </Position> </TeleportAction> </PrivateAction> </Private> <Private entityRef="pedestrian_w_transform_10018"> <PrivateAction> <TeleportAction> <Position> <WorldPosition x="-6.9756059646606445" y="-77.47260284423828" z="0.5"/> </Position> </TeleportAction> </PrivateAction> </Private> <Private entityRef="pedestrian_close_to_adversary_10019"> <PrivateAction> <TeleportAction> <Position> <WorldPosition x="-14.014009475708008" y="-62.9198112487793" z="0.033768653869628906"/> </Position> </TeleportAction> </PrivateAction> </Private> <Private entityRef="pedestrian_close_to_hero_10020"> <PrivateAction> <TeleportAction> <Position> <WorldPosition x="-13.24521541595459" y="-154.48114013671875" z="0.0014652633108198643"/> </Position> </TeleportAction> </PrivateAction> </Private> <Private entityRef="pedestrian_w_transform_10021"> <PrivateAction> <TeleportAction> <Position> <WorldPosition x="35.85530090332031" y="-40.906246185302734" z="0.5"/> </Position> </TeleportAction> </PrivateAction> </Private> <Private entityRef="pedestrian_w_transform_10022"> <PrivateAction> <TeleportAction> <Position> <WorldPosition x="-57.705589294433594" y="26.33185386657715" 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_10004"> <Pedestrian model="walker.pedestrian.0001" mass="80" name="walker.pedestrian.0001" pedestrianCategory="pedestrian"> <ParameterDeclarations/> <BoundingBox> <Center x="1.5" y="0.0" z="0.9"/> <Dimensions width="2" length="2" height="2"/> </BoundingBox> <Properties> <Property name="type" value="simulation"/> </Properties> </Pedestrian> </ScenarioObject> <ScenarioObject name="pedestrian_w_transform_10005"> <Pedestrian model="walker.pedestrian.0001" mass="80" name="walker.pedestrian.0001" pedestrianCategory="pedestrian"> <ParameterDeclarations/> <BoundingBox> <Center x="1.5" y="0.0" z="0.9"/> <Dimensions width="2" length="2" height="2"/> </BoundingBox> <Properties> <Property name="type" value="simulation"/> </Properties> </Pedestrian> </ScenarioObject> <ScenarioObject name="pedestrian_w_transform_10006"> <Pedestrian model="walker.pedestrian.0001" mass="80" name="walker.pedestrian.0001" pedestrianCategory="pedestrian"> <ParameterDeclarations/> <BoundingBox> <Center x="1.5" y="0.0" z="0.9"/> <Dimensions width="2" length="2" height="2"/> </BoundingBox> <Properties> <Property name="type" value="simulation"/> </Properties> </Pedestrian> </ScenarioObject> <ScenarioObject name="pedestrian_close_to_standing_10007"> <Pedestrian model="walker.pedestrian.0001" mass="80" name="walker.pedestrian.0001" pedestrianCategory="pedestrian"> <ParameterDeclarations/> <BoundingBox> <Center x="1.5" y="0.0" z="0.9"/> <Dimensions width="2" length="2" height="2"/> </BoundingBox> <Properties> <Property name="type" value="simulation"/> </Properties> </Pedestrian> </ScenarioObject> <ScenarioObject name="pedestrian_close_to_hero_10008"> <Pedestrian model="walker.pedestrian.0001" mass="80" name="walker.pedestrian.0001" pedestrianCategory="pedestrian"> <ParameterDeclarations/> <BoundingBox> <Center x="1.5" y="0.0" z="0.9"/> <Dimensions width="2" length="2" height="2"/> </BoundingBox> <Properties> <Property name="type" value="simulation"/> </Properties> </Pedestrian> </ScenarioObject> <ScenarioObject name="pedestrian_close_to_adversary_10009"> <Pedestrian model="walker.pedestrian.0001" mass="80" name="walker.pedestrian.0001" pedestrianCategory="pedestrian"> <ParameterDeclarations/> <BoundingBox> <Center x="1.5" y="0.0" z="0.9"/> <Dimensions width="2" length="2" height="2"/> </BoundingBox> <Properties> <Property name="type" value="simulation"/> </Properties> </Pedestrian> </ScenarioObject> <ScenarioObject name="pedestrian_close_to_standing_10010"> <Pedestrian model="walker.pedestrian.0001" mass="80" name="walker.pedestrian.0001" pedestrianCategory="pedestrian"> <ParameterDeclarations/> <BoundingBox> <Center x="1.5" y="0.0" z="0.9"/> <Dimensions width="2" length="2" height="2"/> </BoundingBox> <Properties> <Property name="type" value="simulation"/> </Properties> </Pedestrian> </ScenarioObject> <ScenarioObject name="pedestrian_close_to_standing_10011"> <Pedestrian model="walker.pedestrian.0001" mass="80" name="walker.pedestrian.0001" pedestrianCategory="pedestrian"> <ParameterDeclarations/> <BoundingBox> <Center x="1.5" y="0.0" z="0.9"/> <Dimensions width="2" length="2" height="2"/> </BoundingBox> <Properties> <Property name="type" value="simulation"/> </Properties> </Pedestrian> </ScenarioObject> <ScenarioObject name="pedestrian_close_to_hero_10013"> <Pedestrian model="walker.pedestrian.0001" mass="80" name="walker.pedestrian.0001" pedestrianCategory="pedestrian"> <ParameterDeclarations/> <BoundingBox> <Center x="1.5" y="0.0" z="0.9"/> <Dimensions width="2" length="2" height="2"/> </BoundingBox> <Properties> <Property name="type" value="simulation"/> </Properties> </Pedestrian> </ScenarioObject> <ScenarioObject name="pedestrian_w_transform_10014"> <Pedestrian model="walker.pedestrian.0001" mass="80" name="walker.pedestrian.0001" pedestrianCategory="pedestrian"> <ParameterDeclarations/> <BoundingBox> <Center x="1.5" y="0.0" z="0.9"/> <Dimensions width="2" length="2" height="2"/> </BoundingBox> <Properties> <Property name="type" value="simulation"/> </Properties> </Pedestrian> </ScenarioObject> <ScenarioObject name="pedestrian_close_to_hero_10015"> <Pedestrian model="walker.pedestrian.0001" mass="80" name="walker.pedestrian.0001" pedestrianCategory="pedestrian"> <ParameterDeclarations/> <BoundingBox> <Center x="1.5" y="0.0" z="0.9"/> <Dimensions width="2" length="2" height="2"/> </BoundingBox> <Properties> <Property name="type" value="simulation"/> </Properties> </Pedestrian> </ScenarioObject> <ScenarioObject name="pedestrian_close_to_hero_10016"> <Pedestrian model="walker.pedestrian.0001" mass="80" name="walker.pedestrian.0001" pedestrianCategory="pedestrian"> <ParameterDeclarations/> <BoundingBox> <Center x="1.5" y="0.0" z="0.9"/> <Dimensions width="2" length="2" height="2"/> </BoundingBox> <Properties> <Property name="type" value="simulation"/> </Properties> </Pedestrian> </ScenarioObject> <ScenarioObject name="pedestrian_w_transform_10018"> <Pedestrian model="walker.pedestrian.0001" mass="80" name="walker.pedestrian.0001" pedestrianCategory="pedestrian"> <ParameterDeclarations/> <BoundingBox> <Center x="1.5" y="0.0" z="0.9"/> <Dimensions width="2" length="2" height="2"/> </BoundingBox> <Properties> <Property name="type" value="simulation"/> </Properties> </Pedestrian> </ScenarioObject> <ScenarioObject name="pedestrian_close_to_adversary_10019"> <Pedestrian model="walker.pedestrian.0001" mass="80" name="walker.pedestrian.0001" pedestrianCategory="pedestrian"> <ParameterDeclarations/> <BoundingBox> <Center x="1.5" y="0.0" z="0.9"/> <Dimensions width="2" length="2" height="2"/> </BoundingBox> <Properties> <Property name="type" value="simulation"/> </Properties> </Pedestrian> </ScenarioObject> <ScenarioObject name="pedestrian_close_to_hero_10020"> <Pedestrian model="walker.pedestrian.0001" mass="80" name="walker.pedestrian.0001" pedestrianCategory="pedestrian"> <ParameterDeclarations/> <BoundingBox> <Center x="1.5" y="0.0" z="0.9"/> <Dimensions width="2" length="2" height="2"/> </BoundingBox> <Properties> <Property name="type" value="simulation"/> </Properties> </Pedestrian> </ScenarioObject> <ScenarioObject name="pedestrian_w_transform_10021"> <Pedestrian model="walker.pedestrian.0001" mass="80" name="walker.pedestrian.0001" pedestrianCategory="pedestrian"> <ParameterDeclarations/> <BoundingBox> <Center x="1.5" y="0.0" z="0.9"/> <Dimensions width="2" length="2" height="2"/> </BoundingBox> <Properties> <Property name="type" value="simulation"/> </Properties> </Pedestrian> </ScenarioObject> <ScenarioObject name="pedestrian_w_transform_10022"> <Pedestrian model="walker.pedestrian.0001" mass="80" name="walker.pedestrian.0001" pedestrianCategory="pedestrian"> <ParameterDeclarations/> <BoundingBox> <Center x="1.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_10004"> <PrivateAction> <TeleportAction> <Position> <WorldPosition x="-13.05037784576416" y="25.836986541748047" z="0.003083801129832864"/> </Position> </TeleportAction> </PrivateAction> </Private> <Private entityRef="pedestrian_w_transform_10005"> <PrivateAction> <TeleportAction> <Position> <WorldPosition x="0.965344250202179" y="11.349509239196777" z="0.5"/> </Position> </TeleportAction> </PrivateAction> </Private> <Private entityRef="pedestrian_w_transform_10006"> <PrivateAction> <TeleportAction> <Position> <WorldPosition x="53.506988525390625" y="85.16207885742188" z="0.5"/> </Position> </TeleportAction> </PrivateAction> </Private> <Private entityRef="pedestrian_close_to_standing_10007"> <PrivateAction> <TeleportAction> <Position> <WorldPosition x="-6.621910095214844" y="26.57964324951172" z="0.0030768204014748335"/> </Position> </TeleportAction> </PrivateAction> </Private> <Private entityRef="pedestrian_close_to_hero_10008"> <PrivateAction> <TeleportAction> <Position> <WorldPosition x="-8.307365417480469" y="-148.58204650878906" z="0.0014652633108198643"/> </Position> </TeleportAction> </PrivateAction> </Private> <Private entityRef="pedestrian_close_to_adversary_10009"> <PrivateAction> <TeleportAction> <Position> <WorldPosition x="-1.9375649690628052" y="-68.86756896972656" z="0.03375053405761719"/> </Position> </TeleportAction> </PrivateAction> </Private> <Private entityRef="pedestrian_close_to_standing_10010"> <PrivateAction> <TeleportAction> <Position> <WorldPosition x="-4.451868534088135" y="21.57160758972168" z="0.0030196760781109333"/> </Position> </TeleportAction> </PrivateAction> </Private> <Private entityRef="pedestrian_close_to_standing_10011"> <PrivateAction> <TeleportAction> <Position> <WorldPosition x="-12.141230583190918" y="20.61910629272461" z="0.0030483626760542393"/> </Position> </TeleportAction> </PrivateAction> </Private> <Private entityRef="pedestrian_close_to_hero_10013"> <PrivateAction> <TeleportAction> <Position> <WorldPosition x="-10.770596504211426" y="-157.8015899658203" z="0.0014652633108198643"/> </Position> </TeleportAction> </PrivateAction> </Private> <Private entityRef="pedestrian_w_transform_10014"> <PrivateAction> <TeleportAction> <Position> <WorldPosition x="-89.78074645996094" y="57.733978271484375" z="0.5"/> </Position> </TeleportAction> </PrivateAction> </Private> <Private entityRef="pedestrian_close_to_hero_10015"> <PrivateAction> <TeleportAction> <Position> <WorldPosition x="-2.5380706787109375" y="-157.4897918701172" z="0.0014652633108198643"/> </Position> </TeleportAction> </PrivateAction> </Private> <Private entityRef="pedestrian_close_to_hero_10016"> <PrivateAction> <TeleportAction> <Position> <WorldPosition x="-17.480026245117188" y="-157.99819946289062" z="0.0014652633108198643"/> </Position> </TeleportAction> </PrivateAction> </Private> <Private entityRef="pedestrian_w_transform_10018"> <PrivateAction> <TeleportAction> <Position> <WorldPosition x="-6.9756059646606445" y="-77.47260284423828" z="0.5"/> </Position> </TeleportAction> </PrivateAction> </Private> <Private entityRef="pedestrian_close_to_adversary_10019"> <PrivateAction> <TeleportAction> <Position> <WorldPosition x="-14.014009475708008" y="-62.9198112487793" z="0.033768653869628906"/> </Position> </TeleportAction> </PrivateAction> </Private> <Private entityRef="pedestrian_close_to_hero_10020"> <PrivateAction> <TeleportAction> <Position> <WorldPosition x="-13.24521541595459" y="-154.48114013671875" z="0.0014652633108198643"/> </Position> </TeleportAction> </PrivateAction> </Private> <Private entityRef="pedestrian_w_transform_10021"> <PrivateAction> <TeleportAction> <Position> <WorldPosition x="35.85530090332031" y="-40.906246185302734" z="0.5"/> </Position> </TeleportAction> </PrivateAction> </Private> <Private entityRef="pedestrian_w_transform_10022"> <PrivateAction> <TeleportAction> <Position> <WorldPosition x="-57.705589294433594" y="26.33185386657715" 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> ```
can 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> </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_19715"> <Pedestrian model="walker.pedestrian.0001" mass="80" name="walker.pedestrian.0001" pedestrianCategory="pedestrian"> <ParameterDeclarations/> <BoundingBox> <Center x="1.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_19715"> <PrivateAction> <TeleportAction> <Position> <WorldPosition x="-15.151215553283691" y="-148.68984985351562" z="0.0014652633108198643"/> </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 (-38.27, -25.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_adversary_19636"> <Pedestrian model="walker.pedestrian.0001" mass="80" name="walker.pedestrian.0001" pedestrianCategory="pedestrian"> <ParameterDeclarations/> <BoundingBox> <Center x="1.5" y="0.0" z="0.9"/> <Dimensions width="2" length="2" height="2"/> </BoundingBox> <Properties> <Property name="type" value="simulation"/> </Properties> </Pedestrian> </ScenarioObject> <ScenarioObject name="pedestrian_close_to_adversary_19637"> <Pedestrian model="walker.pedestrian.0001" mass="80" name="walker.pedestrian.0001" pedestrianCategory="pedestrian"> <ParameterDeclarations/> <BoundingBox> <Center x="1.5" y="0.0" z="0.9"/> <Dimensions width="2" length="2" height="2"/> </BoundingBox> <Properties> <Property name="type" value="simulation"/> </Properties> </Pedestrian> </ScenarioObject> <ScenarioObject name="pedestrian_close_to_adversary_19638"> <Pedestrian model="walker.pedestrian.0001" mass="80" name="walker.pedestrian.0001" pedestrianCategory="pedestrian"> <ParameterDeclarations/> <BoundingBox> <Center x="1.5" y="0.0" z="0.9"/> <Dimensions width="2" length="2" height="2"/> </BoundingBox> <Properties> <Property name="type" value="simulation"/> </Properties> </Pedestrian> </ScenarioObject> <ScenarioObject name="pedestrian_close_to_adversary_19639"> <Pedestrian model="walker.pedestrian.0001" mass="80" name="walker.pedestrian.0001" pedestrianCategory="pedestrian"> <ParameterDeclarations/> <BoundingBox> <Center x="1.5" y="0.0" z="0.9"/> <Dimensions width="2" length="2" height="2"/> </BoundingBox> <Properties> <Property name="type" value="simulation"/> </Properties> </Pedestrian> </ScenarioObject> <ScenarioObject name="pedestrian_w_transform_19640"> <Pedestrian model="walker.pedestrian.0001" mass="80" name="walker.pedestrian.0001" pedestrianCategory="pedestrian"> <ParameterDeclarations/> <BoundingBox> <Center x="1.5" y="0.0" z="0.9"/> <Dimensions width="2" length="2" height="2"/> </BoundingBox> <Properties> <Property name="type" value="simulation"/> </Properties> </Pedestrian> </ScenarioObject> <ScenarioObject name="pedestrian_close_to_standing_19641"> <Pedestrian model="walker.pedestrian.0001" mass="80" name="walker.pedestrian.0001" pedestrianCategory="pedestrian"> <ParameterDeclarations/> <BoundingBox> <Center x="1.5" y="0.0" z="0.9"/> <Dimensions width="2" length="2" height="2"/> </BoundingBox> <Properties> <Property name="type" value="simulation"/> </Properties> </Pedestrian> </ScenarioObject> <ScenarioObject name="pedestrian_w_transform_19642"> <Pedestrian model="walker.pedestrian.0001" mass="80" name="walker.pedestrian.0001" pedestrianCategory="pedestrian"> <ParameterDeclarations/> <BoundingBox> <Center x="1.5" y="0.0" z="0.9"/> <Dimensions width="2" length="2" height="2"/> </BoundingBox> <Properties> <Property name="type" value="simulation"/> </Properties> </Pedestrian> </ScenarioObject> <ScenarioObject name="pedestrian_close_to_adversary_19643"> <Pedestrian model="walker.pedestrian.0001" mass="80" name="walker.pedestrian.0001" pedestrianCategory="pedestrian"> <ParameterDeclarations/> <BoundingBox> <Center x="1.5" y="0.0" z="0.9"/> <Dimensions width="2" length="2" height="2"/> </BoundingBox> <Properties> <Property name="type" value="simulation"/> </Properties> </Pedestrian> </ScenarioObject> <ScenarioObject name="pedestrian_w_transform_19644"> <Pedestrian model="walker.pedestrian.0001" mass="80" name="walker.pedestrian.0001" pedestrianCategory="pedestrian"> <ParameterDeclarations/> <BoundingBox> <Center x="1.5" y="0.0" z="0.9"/> <Dimensions width="2" length="2" height="2"/> </BoundingBox> <Properties> <Property name="type" value="simulation"/> </Properties> </Pedestrian> </ScenarioObject> <ScenarioObject name="pedestrian_close_to_standing_19645"> <Pedestrian model="walker.pedestrian.0001" mass="80" name="walker.pedestrian.0001" pedestrianCategory="pedestrian"> <ParameterDeclarations/> <BoundingBox> <Center x="1.5" y="0.0" z="0.9"/> <Dimensions width="2" length="2" height="2"/> </BoundingBox> <Properties> <Property name="type" value="simulation"/> </Properties> </Pedestrian> </ScenarioObject> <ScenarioObject name="pedestrian_close_to_adversary_19646"> <Pedestrian model="walker.pedestrian.0001" mass="80" name="walker.pedestrian.0001" pedestrianCategory="pedestrian"> <ParameterDeclarations/> <BoundingBox> <Center x="1.5" y="0.0" z="0.9"/> <Dimensions width="2" length="2" height="2"/> </BoundingBox> <Properties> <Property name="type" value="simulation"/> </Properties> </Pedestrian> </ScenarioObject> <ScenarioObject name="pedestrian_close_to_hero_19647"> <Pedestrian model="walker.pedestrian.0001" mass="80" name="walker.pedestrian.0001" pedestrianCategory="pedestrian"> <ParameterDeclarations/> <BoundingBox> <Center x="1.5" y="0.0" z="0.9"/> <Dimensions width="2" length="2" height="2"/> </BoundingBox> <Properties> <Property name="type" value="simulation"/> </Properties> </Pedestrian> </ScenarioObject> <ScenarioObject name="pedestrian_w_transform_19648"> <Pedestrian model="walker.pedestrian.0001" mass="80" name="walker.pedestrian.0001" pedestrianCategory="pedestrian"> <ParameterDeclarations/> <BoundingBox> <Center x="1.5" y="0.0" z="0.9"/> <Dimensions width="2" length="2" height="2"/> </BoundingBox> <Properties> <Property name="type" value="simulation"/> </Properties> </Pedestrian> </ScenarioObject> <ScenarioObject name="pedestrian_close_to_adversary_19649"> <Pedestrian model="walker.pedestrian.0001" mass="80" name="walker.pedestrian.0001" pedestrianCategory="pedestrian"> <ParameterDeclarations/> <BoundingBox> <Center x="1.5" y="0.0" z="0.9"/> <Dimensions width="2" length="2" height="2"/> </BoundingBox> <Properties> <Property name="type" value="simulation"/> </Properties> </Pedestrian> </ScenarioObject> <ScenarioObject name="pedestrian_w_transform_19650"> <Pedestrian model="walker.pedestrian.0001" mass="80" name="walker.pedestrian.0001" pedestrianCategory="pedestrian"> <ParameterDeclarations/> <BoundingBox> <Center x="1.5" y="0.0" z="0.9"/> <Dimensions width="2" length="2" height="2"/> </BoundingBox> <Properties> <Property name="type" value="simulation"/> </Properties> </Pedestrian> </ScenarioObject> <ScenarioObject name="pedestrian_close_to_hero_19651"> <Pedestrian model="walker.pedestrian.0001" mass="80" name="walker.pedestrian.0001" pedestrianCategory="pedestrian"> <ParameterDeclarations/> <BoundingBox> <Center x="1.5" y="0.0" z="0.9"/> <Dimensions width="2" length="2" height="2"/> </BoundingBox> <Properties> <Property name="type" value="simulation"/> </Properties> </Pedestrian> </ScenarioObject> <ScenarioObject name="pedestrian_w_transform_19652"> <Pedestrian model="walker.pedestrian.0001" mass="80" name="walker.pedestrian.0001" pedestrianCategory="pedestrian"> <ParameterDeclarations/> <BoundingBox> <Center x="1.5" y="0.0" z="0.9"/> <Dimensions width="2" length="2" height="2"/> </BoundingBox> <Properties> <Property name="type" value="simulation"/> </Properties> </Pedestrian> </ScenarioObject> <ScenarioObject name="pedestrian_w_transform_19653"> <Pedestrian model="walker.pedestrian.0001" mass="80" name="walker.pedestrian.0001" pedestrianCategory="pedestrian"> <ParameterDeclarations/> <BoundingBox> <Center x="1.5" y="0.0" z="0.9"/> <Dimensions width="2" length="2" height="2"/> </BoundingBox> <Properties> <Property name="type" value="simulation"/> </Properties> </Pedestrian> </ScenarioObject> <ScenarioObject name="pedestrian_close_to_adversary_19654"> <Pedestrian model="walker.pedestrian.0001" mass="80" name="walker.pedestrian.0001" pedestrianCategory="pedestrian"> <ParameterDeclarations/> <BoundingBox> <Center x="1.5" y="0.0" z="0.9"/> <Dimensions width="2" length="2" height="2"/> </BoundingBox> <Properties> <Property name="type" value="simulation"/> </Properties> </Pedestrian> </ScenarioObject> <ScenarioObject name="pedestrian_w_transform_19655"> <Pedestrian model="walker.pedestrian.0001" mass="80" name="walker.pedestrian.0001" pedestrianCategory="pedestrian"> <ParameterDeclarations/> <BoundingBox> <Center x="1.5" y="0.0" z="0.9"/> <Dimensions width="2" length="2" height="2"/> </BoundingBox> <Properties> <Property name="type" value="simulation"/> </Properties> </Pedestrian> </ScenarioObject> <ScenarioObject name="pedestrian_close_to_hero_19656"> <Pedestrian model="walker.pedestrian.0001" mass="80" name="walker.pedestrian.0001" pedestrianCategory="pedestrian"> <ParameterDeclarations/> <BoundingBox> <Center x="1.5" y="0.0" z="0.9"/> <Dimensions width="2" length="2" height="2"/> </BoundingBox> <Properties> <Property name="type" value="simulation"/> </Properties> </Pedestrian> </ScenarioObject> <ScenarioObject name="pedestrian_close_to_standing_19658"> <Pedestrian model="walker.pedestrian.0001" mass="80" name="walker.pedestrian.0001" pedestrianCategory="pedestrian"> <ParameterDeclarations/> <BoundingBox> <Center x="1.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_19636"> <PrivateAction> <TeleportAction> <Position> <WorldPosition x="-15.976221084594727" y="-72.96146392822266" z="0.03381362929940224"/> </Position> </TeleportAction> </PrivateAction> </Private> <Private entityRef="pedestrian_close_to_adversary_19637"> <PrivateAction> <TeleportAction> <Position> <WorldPosition x="-18.734416961669922" y="-79.72735595703125" z="0.03376457095146179"/> </Position> </TeleportAction> </PrivateAction> </Private> <Private entityRef="pedestrian_close_to_adversary_19638"> <PrivateAction> <TeleportAction> <Position> <WorldPosition x="-19.734394073486328" y="-78.72988891601562" z="0.03376777470111847"/> </Position> </TeleportAction> </PrivateAction> </Private> <Private entityRef="pedestrian_close_to_adversary_19639"> <PrivateAction> <TeleportAction> <Position> <WorldPosition x="-12.228931427001953" y="-70.48971557617188" z="0.03378116711974144"/> </Position> </TeleportAction> </PrivateAction> </Private> <Private entityRef="pedestrian_w_transform_19640"> <PrivateAction> <TeleportAction> <Position> <WorldPosition x="20.066669464111328" y="72.779296875" z="0.5"/> </Position> </TeleportAction> </PrivateAction> </Private> <Private entityRef="pedestrian_close_to_standing_19641"> <PrivateAction> <TeleportAction> <Position> <WorldPosition x="-7.048714637756348" y="34.344764709472656" z="0.0030762481037527323"/> </Position> </TeleportAction> </PrivateAction> </Private> <Private entityRef="pedestrian_w_transform_19642"> <PrivateAction> <TeleportAction> <Position> <WorldPosition x="57.20100784301758" y="96.5929946899414" z="0.5"/> </Position> </TeleportAction> </PrivateAction> </Private> <Private entityRef="pedestrian_close_to_adversary_19643"> <PrivateAction> <TeleportAction> <Position> <WorldPosition x="-14.95840072631836" y="-68.7072525024414" z="0.03380771726369858"/> </Position> </TeleportAction> </PrivateAction> </Private> <Private entityRef="pedestrian_w_transform_19644"> <PrivateAction> <TeleportAction> <Position> <WorldPosition x="-18.46012306213379" y="-23.361719131469727" z="0.5"/> </Position> </TeleportAction> </PrivateAction> </Private> <Private entityRef="pedestrian_close_to_standing_19645"> <PrivateAction> <TeleportAction> <Position> <WorldPosition x="-16.825868606567383" y="38.65278244018555" z="0.0030524444300681353"/> </Position> </TeleportAction> </PrivateAction> </Private> <Private entityRef="pedestrian_close_to_adversary_19646"> <PrivateAction> <TeleportAction> <Position> <WorldPosition x="-14.906341552734375" y="-62.28337860107422" z="0.03381359204649925"/> </Position> </TeleportAction> </PrivateAction> </Private> <Private entityRef="pedestrian_close_to_hero_19647"> <PrivateAction> <TeleportAction> <Position> <WorldPosition x="-11.699213981628418" y="-144.6645050048828" z="0.001423797570168972"/> </Position> </TeleportAction> </PrivateAction> </Private> <Private entityRef="pedestrian_w_transform_19648"> <PrivateAction> <TeleportAction> <Position> <WorldPosition x="-32.46287536621094" y="30.93424415588379" z="0.5"/> </Position> </TeleportAction> </PrivateAction> </Private> <Private entityRef="pedestrian_close_to_adversary_19649"> <PrivateAction> <TeleportAction> <Position> <WorldPosition x="-8.016755104064941" y="-70.01566314697266" z="0.03379371389746666"/> </Position> </TeleportAction> </PrivateAction> </Private> <Private entityRef="pedestrian_w_transform_19650"> <PrivateAction> <TeleportAction> <Position> <WorldPosition x="-45.23159408569336" y="-42.48884201049805" z="0.5"/> </Position> </TeleportAction> </PrivateAction> </Private> <Private entityRef="pedestrian_close_to_hero_19651"> <PrivateAction> <TeleportAction> <Position> <WorldPosition x="-1.6728309392929077" y="-149.37994384765625" z="0.001423797570168972"/> </Position> </TeleportAction> </PrivateAction> </Private> <Private entityRef="pedestrian_w_transform_19652"> <PrivateAction> <TeleportAction> <Position> <WorldPosition x="-78.86865997314453" y="-95.25628662109375" z="0.5"/> </Position> </TeleportAction> </PrivateAction> </Private> <Private entityRef="pedestrian_w_transform_19653"> <PrivateAction> <TeleportAction> <Position> <WorldPosition x="34.65520477294922" y="-18.242225646972656" z="0.5"/> </Position> </TeleportAction> </PrivateAction> </Private> <Private entityRef="pedestrian_close_to_adversary_19654"> <PrivateAction> <TeleportAction> <Position> <WorldPosition x="-2.1276252269744873" y="-66.33023071289062" z="0.03377017751336098"/> </Position> </TeleportAction> </PrivateAction> </Private> <Private entityRef="pedestrian_w_transform_19655"> <PrivateAction> <TeleportAction> <Position> <WorldPosition x="-68.96011352539062" y="15.334444046020508" z="0.5"/> </Position> </TeleportAction> </PrivateAction> </Private> <Private entityRef="pedestrian_close_to_hero_19656"> <PrivateAction> <TeleportAction> <Position> <WorldPosition x="-13.356315612792969" y="-151.0182342529297" z="0.001423797570168972"/> </Position> </TeleportAction> </PrivateAction> </Private> <Private entityRef="pedestrian_close_to_standing_19658"> <PrivateAction> <TeleportAction> <Position> <WorldPosition x="-7.282690048217773" y="25.486783981323242" z="0.003089065430685878"/> </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_19636"> <Pedestrian model="walker.pedestrian.0001" mass="80" name="walker.pedestrian.0001" pedestrianCategory="pedestrian"> <ParameterDeclarations/> <BoundingBox> <Center x="1.5" y="0.0" z="0.9"/> <Dimensions width="2" length="2" height="2"/> </BoundingBox> <Properties> <Property name="type" value="simulation"/> </Properties> </Pedestrian> </ScenarioObject> <ScenarioObject name="pedestrian_close_to_adversary_19637"> <Pedestrian model="walker.pedestrian.0001" mass="80" name="walker.pedestrian.0001" pedestrianCategory="pedestrian"> <ParameterDeclarations/> <BoundingBox> <Center x="1.5" y="0.0" z="0.9"/> <Dimensions width="2" length="2" height="2"/> </BoundingBox> <Properties> <Property name="type" value="simulation"/> </Properties> </Pedestrian> </ScenarioObject> <ScenarioObject name="pedestrian_close_to_adversary_19638"> <Pedestrian model="walker.pedestrian.0001" mass="80" name="walker.pedestrian.0001" pedestrianCategory="pedestrian"> <ParameterDeclarations/> <BoundingBox> <Center x="1.5" y="0.0" z="0.9"/> <Dimensions width="2" length="2" height="2"/> </BoundingBox> <Properties> <Property name="type" value="simulation"/> </Properties> </Pedestrian> </ScenarioObject> <ScenarioObject name="pedestrian_close_to_adversary_19639"> <Pedestrian model="walker.pedestrian.0001" mass="80" name="walker.pedestrian.0001" pedestrianCategory="pedestrian"> <ParameterDeclarations/> <BoundingBox> <Center x="1.5" y="0.0" z="0.9"/> <Dimensions width="2" length="2" height="2"/> </BoundingBox> <Properties> <Property name="type" value="simulation"/> </Properties> </Pedestrian> </ScenarioObject> <ScenarioObject name="pedestrian_w_transform_19640"> <Pedestrian model="walker.pedestrian.0001" mass="80" name="walker.pedestrian.0001" pedestrianCategory="pedestrian"> <ParameterDeclarations/> <BoundingBox> <Center x="1.5" y="0.0" z="0.9"/> <Dimensions width="2" length="2" height="2"/> </BoundingBox> <Properties> <Property name="type" value="simulation"/> </Properties> </Pedestrian> </ScenarioObject> <ScenarioObject name="pedestrian_close_to_standing_19641"> <Pedestrian model="walker.pedestrian.0001" mass="80" name="walker.pedestrian.0001" pedestrianCategory="pedestrian"> <ParameterDeclarations/> <BoundingBox> <Center x="1.5" y="0.0" z="0.9"/> <Dimensions width="2" length="2" height="2"/> </BoundingBox> <Properties> <Property name="type" value="simulation"/> </Properties> </Pedestrian> </ScenarioObject> <ScenarioObject name="pedestrian_w_transform_19642"> <Pedestrian model="walker.pedestrian.0001" mass="80" name="walker.pedestrian.0001" pedestrianCategory="pedestrian"> <ParameterDeclarations/> <BoundingBox> <Center x="1.5" y="0.0" z="0.9"/> <Dimensions width="2" length="2" height="2"/> </BoundingBox> <Properties> <Property name="type" value="simulation"/> </Properties> </Pedestrian> </ScenarioObject> <ScenarioObject name="pedestrian_close_to_adversary_19643"> <Pedestrian model="walker.pedestrian.0001" mass="80" name="walker.pedestrian.0001" pedestrianCategory="pedestrian"> <ParameterDeclarations/> <BoundingBox> <Center x="1.5" y="0.0" z="0.9"/> <Dimensions width="2" length="2" height="2"/> </BoundingBox> <Properties> <Property name="type" value="simulation"/> </Properties> </Pedestrian> </ScenarioObject> <ScenarioObject name="pedestrian_w_transform_19644"> <Pedestrian model="walker.pedestrian.0001" mass="80" name="walker.pedestrian.0001" pedestrianCategory="pedestrian"> <ParameterDeclarations/> <BoundingBox> <Center x="1.5" y="0.0" z="0.9"/> <Dimensions width="2" length="2" height="2"/> </BoundingBox> <Properties> <Property name="type" value="simulation"/> </Properties> </Pedestrian> </ScenarioObject> <ScenarioObject name="pedestrian_close_to_standing_19645"> <Pedestrian model="walker.pedestrian.0001" mass="80" name="walker.pedestrian.0001" pedestrianCategory="pedestrian"> <ParameterDeclarations/> <BoundingBox> <Center x="1.5" y="0.0" z="0.9"/> <Dimensions width="2" length="2" height="2"/> </BoundingBox> <Properties> <Property name="type" value="simulation"/> </Properties> </Pedestrian> </ScenarioObject> <ScenarioObject name="pedestrian_close_to_adversary_19646"> <Pedestrian model="walker.pedestrian.0001" mass="80" name="walker.pedestrian.0001" pedestrianCategory="pedestrian"> <ParameterDeclarations/> <BoundingBox> <Center x="1.5" y="0.0" z="0.9"/> <Dimensions width="2" length="2" height="2"/> </BoundingBox> <Properties> <Property name="type" value="simulation"/> </Properties> </Pedestrian> </ScenarioObject> <ScenarioObject name="pedestrian_close_to_hero_19647"> <Pedestrian model="walker.pedestrian.0001" mass="80" name="walker.pedestrian.0001" pedestrianCategory="pedestrian"> <ParameterDeclarations/> <BoundingBox> <Center x="1.5" y="0.0" z="0.9"/> <Dimensions width="2" length="2" height="2"/> </BoundingBox> <Properties> <Property name="type" value="simulation"/> </Properties> </Pedestrian> </ScenarioObject> <ScenarioObject name="pedestrian_w_transform_19648"> <Pedestrian model="walker.pedestrian.0001" mass="80" name="walker.pedestrian.0001" pedestrianCategory="pedestrian"> <ParameterDeclarations/> <BoundingBox> <Center x="1.5" y="0.0" z="0.9"/> <Dimensions width="2" length="2" height="2"/> </BoundingBox> <Properties> <Property name="type" value="simulation"/> </Properties> </Pedestrian> </ScenarioObject> <ScenarioObject name="pedestrian_close_to_adversary_19649"> <Pedestrian model="walker.pedestrian.0001" mass="80" name="walker.pedestrian.0001" pedestrianCategory="pedestrian"> <ParameterDeclarations/> <BoundingBox> <Center x="1.5" y="0.0" z="0.9"/> <Dimensions width="2" length="2" height="2"/> </BoundingBox> <Properties> <Property name="type" value="simulation"/> </Properties> </Pedestrian> </ScenarioObject> <ScenarioObject name="pedestrian_w_transform_19650"> <Pedestrian model="walker.pedestrian.0001" mass="80" name="walker.pedestrian.0001" pedestrianCategory="pedestrian"> <ParameterDeclarations/> <BoundingBox> <Center x="1.5" y="0.0" z="0.9"/> <Dimensions width="2" length="2" height="2"/> </BoundingBox> <Properties> <Property name="type" value="simulation"/> </Properties> </Pedestrian> </ScenarioObject> <ScenarioObject name="pedestrian_close_to_hero_19651"> <Pedestrian model="walker.pedestrian.0001" mass="80" name="walker.pedestrian.0001" pedestrianCategory="pedestrian"> <ParameterDeclarations/> <BoundingBox> <Center x="1.5" y="0.0" z="0.9"/> <Dimensions width="2" length="2" height="2"/> </BoundingBox> <Properties> <Property name="type" value="simulation"/> </Properties> </Pedestrian> </ScenarioObject> <ScenarioObject name="pedestrian_w_transform_19652"> <Pedestrian model="walker.pedestrian.0001" mass="80" name="walker.pedestrian.0001" pedestrianCategory="pedestrian"> <ParameterDeclarations/> <BoundingBox> <Center x="1.5" y="0.0" z="0.9"/> <Dimensions width="2" length="2" height="2"/> </BoundingBox> <Properties> <Property name="type" value="simulation"/> </Properties> </Pedestrian> </ScenarioObject> <ScenarioObject name="pedestrian_w_transform_19653"> <Pedestrian model="walker.pedestrian.0001" mass="80" name="walker.pedestrian.0001" pedestrianCategory="pedestrian"> <ParameterDeclarations/> <BoundingBox> <Center x="1.5" y="0.0" z="0.9"/> <Dimensions width="2" length="2" height="2"/> </BoundingBox> <Properties> <Property name="type" value="simulation"/> </Properties> </Pedestrian> </ScenarioObject> <ScenarioObject name="pedestrian_close_to_adversary_19654"> <Pedestrian model="walker.pedestrian.0001" mass="80" name="walker.pedestrian.0001" pedestrianCategory="pedestrian"> <ParameterDeclarations/> <BoundingBox> <Center x="1.5" y="0.0" z="0.9"/> <Dimensions width="2" length="2" height="2"/> </BoundingBox> <Properties> <Property name="type" value="simulation"/> </Properties> </Pedestrian> </ScenarioObject> <ScenarioObject name="pedestrian_w_transform_19655"> <Pedestrian model="walker.pedestrian.0001" mass="80" name="walker.pedestrian.0001" pedestrianCategory="pedestrian"> <ParameterDeclarations/> <BoundingBox> <Center x="1.5" y="0.0" z="0.9"/> <Dimensions width="2" length="2" height="2"/> </BoundingBox> <Properties> <Property name="type" value="simulation"/> </Properties> </Pedestrian> </ScenarioObject> <ScenarioObject name="pedestrian_close_to_hero_19656"> <Pedestrian model="walker.pedestrian.0001" mass="80" name="walker.pedestrian.0001" pedestrianCategory="pedestrian"> <ParameterDeclarations/> <BoundingBox> <Center x="1.5" y="0.0" z="0.9"/> <Dimensions width="2" length="2" height="2"/> </BoundingBox> <Properties> <Property name="type" value="simulation"/> </Properties> </Pedestrian> </ScenarioObject> <ScenarioObject name="pedestrian_close_to_standing_19658"> <Pedestrian model="walker.pedestrian.0001" mass="80" name="walker.pedestrian.0001" pedestrianCategory="pedestrian"> <ParameterDeclarations/> <BoundingBox> <Center x="1.5" y="0.0" z="0.9"/> <Dimensions width="2" length="2" height="2"/> </BoundingBox> <Properties> <Property name="type" value="simulation"/> </Properties> </Pedestrian> </ScenarioObject> <ScenarioObject name="pedestrian_w_transform_19659"> <Pedestrian model="walker.pedestrian.0001" mass="80" name="walker.pedestrian.0001" pedestrianCategory="pedestrian"> <ParameterDeclarations/> <BoundingBox> <Center x="1.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_19636"> <PrivateAction> <TeleportAction> <Position> <WorldPosition x="-15.976221084594727" y="-72.96146392822266" z="0.03381362929940224"/> </Position> </TeleportAction> </PrivateAction> </Private> <Private entityRef="pedestrian_close_to_adversary_19637"> <PrivateAction> <TeleportAction> <Position> <WorldPosition x="-18.734416961669922" y="-79.72735595703125" z="0.03376457095146179"/> </Position> </TeleportAction> </PrivateAction> </Private> <Private entityRef="pedestrian_close_to_adversary_19638"> <PrivateAction> <TeleportAction> <Position> <WorldPosition x="-19.734394073486328" y="-78.72988891601562" z="0.03376777470111847"/> </Position> </TeleportAction> </PrivateAction> </Private> <Private entityRef="pedestrian_close_to_adversary_19639"> <PrivateAction> <TeleportAction> <Position> <WorldPosition x="-12.228931427001953" y="-70.48971557617188" z="0.03378116711974144"/> </Position> </TeleportAction> </PrivateAction> </Private> <Private entityRef="pedestrian_w_transform_19640"> <PrivateAction> <TeleportAction> <Position> <WorldPosition x="20.066669464111328" y="72.779296875" z="0.5"/> </Position> </TeleportAction> </PrivateAction> </Private> <Private entityRef="pedestrian_close_to_standing_19641"> <PrivateAction> <TeleportAction> <Position> <WorldPosition x="-7.048714637756348" y="34.344764709472656" z="0.0030762481037527323"/> </Position> </TeleportAction> </PrivateAction> </Private> <Private entityRef="pedestrian_w_transform_19642"> <PrivateAction> <TeleportAction> <Position> <WorldPosition x="57.20100784301758" y="96.5929946899414" z="0.5"/> </Position> </TeleportAction> </PrivateAction> </Private> <Private entityRef="pedestrian_close_to_adversary_19643"> <PrivateAction> <TeleportAction> <Position> <WorldPosition x="-14.95840072631836" y="-68.7072525024414" z="0.03380771726369858"/> </Position> </TeleportAction> </PrivateAction> </Private> <Private entityRef="pedestrian_w_transform_19644"> <PrivateAction> <TeleportAction> <Position> <WorldPosition x="-18.46012306213379" y="-23.361719131469727" z="0.5"/> </Position> </TeleportAction> </PrivateAction> </Private> <Private entityRef="pedestrian_close_to_standing_19645"> <PrivateAction> <TeleportAction> <Position> <WorldPosition x="-16.825868606567383" y="38.65278244018555" z="0.0030524444300681353"/> </Position> </TeleportAction> </PrivateAction> </Private> <Private entityRef="pedestrian_close_to_adversary_19646"> <PrivateAction> <TeleportAction> <Position> <WorldPosition x="-14.906341552734375" y="-62.28337860107422" z="0.03381359204649925"/> </Position> </TeleportAction> </PrivateAction> </Private> <Private entityRef="pedestrian_close_to_hero_19647"> <PrivateAction> <TeleportAction> <Position> <WorldPosition x="-11.699213981628418" y="-144.6645050048828" z="0.001423797570168972"/> </Position> </TeleportAction> </PrivateAction> </Private> <Private entityRef="pedestrian_w_transform_19648"> <PrivateAction> <TeleportAction> <Position> <WorldPosition x="-32.46287536621094" y="30.93424415588379" z="0.5"/> </Position> </TeleportAction> </PrivateAction> </Private> <Private entityRef="pedestrian_close_to_adversary_19649"> <PrivateAction> <TeleportAction> <Position> <WorldPosition x="-8.016755104064941" y="-70.01566314697266" z="0.03379371389746666"/> </Position> </TeleportAction> </PrivateAction> </Private> <Private entityRef="pedestrian_w_transform_19650"> <PrivateAction> <TeleportAction> <Position> <WorldPosition x="-45.23159408569336" y="-42.48884201049805" z="0.5"/> </Position> </TeleportAction> </PrivateAction> </Private> <Private entityRef="pedestrian_close_to_hero_19651"> <PrivateAction> <TeleportAction> <Position> <WorldPosition x="-1.6728309392929077" y="-149.37994384765625" z="0.001423797570168972"/> </Position> </TeleportAction> </PrivateAction> </Private> <Private entityRef="pedestrian_w_transform_19652"> <PrivateAction> <TeleportAction> <Position> <WorldPosition x="-78.86865997314453" y="-95.25628662109375" z="0.5"/> </Position> </TeleportAction> </PrivateAction> </Private> <Private entityRef="pedestrian_w_transform_19653"> <PrivateAction> <TeleportAction> <Position> <WorldPosition x="34.65520477294922" y="-18.242225646972656" z="0.5"/> </Position> </TeleportAction> </PrivateAction> </Private> <Private entityRef="pedestrian_close_to_adversary_19654"> <PrivateAction> <TeleportAction> <Position> <WorldPosition x="-2.1276252269744873" y="-66.33023071289062" z="0.03377017751336098"/> </Position> </TeleportAction> </PrivateAction> </Private> <Private entityRef="pedestrian_w_transform_19655"> <PrivateAction> <TeleportAction> <Position> <WorldPosition x="-68.96011352539062" y="15.334444046020508" z="0.5"/> </Position> </TeleportAction> </PrivateAction> </Private> <Private entityRef="pedestrian_close_to_hero_19656"> <PrivateAction> <TeleportAction> <Position> <WorldPosition x="-13.356315612792969" y="-151.0182342529297" z="0.001423797570168972"/> </Position> </TeleportAction> </PrivateAction> </Private> <Private entityRef="pedestrian_close_to_standing_19658"> <PrivateAction> <TeleportAction> <Position> <WorldPosition x="-7.282690048217773" y="25.486783981323242" z="0.003089065430685878"/> </Position> </TeleportAction> </PrivateAction> </Private> <Private entityRef="pedestrian_w_transform_19659"> <PrivateAction> <TeleportAction> <Position> <WorldPosition x="-38.27077102661133" y="-25.838123321533203" 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 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_79"> <Pedestrian model="walker.pedestrian.0001" mass="80" name="walker.pedestrian.0001" pedestrianCategory="pedestrian"> <ParameterDeclarations/> <BoundingBox> <Center x="1.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_79"> <PrivateAction> <TeleportAction> <Position> <WorldPosition x="-14.808863639831543" y="-78.10591888427734" z="0.03380546346306801"/> </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> <ScenarioObject name="pedestrian_close_to_hero_3261"> <Pedestrian model="walker.pedestrian.0001" mass="80" name="walker.pedestrian.0001" pedestrianCategory="pedestrian"> <ParameterDeclarations/> <BoundingBox> <Center x="1.5" y="0.0" z="0.9"/> <Dimensions width="2" length="2" height="2"/> </BoundingBox> <Properties> <Property name="type" value="simulation"/> </Properties> </Pedestrian> </ScenarioObject> <ScenarioObject name="pedestrian_close_to_hero_3262"> <Pedestrian model="walker.pedestrian.0001" mass="80" name="walker.pedestrian.0001" pedestrianCategory="pedestrian"> <ParameterDeclarations/> <BoundingBox> <Center x="1.5" y="0.0" z="0.9"/> <Dimensions width="2" length="2" height="2"/> </BoundingBox> <Properties> <Property name="type" value="simulation"/> </Properties> </Pedestrian> </ScenarioObject> <ScenarioObject name="pedestrian_w_transform_3263"> <Pedestrian model="walker.pedestrian.0001" mass="80" name="walker.pedestrian.0001" pedestrianCategory="pedestrian"> <ParameterDeclarations/> <BoundingBox> <Center x="1.5" y="0.0" z="0.9"/> <Dimensions width="2" length="2" height="2"/> </BoundingBox> <Properties> <Property name="type" value="simulation"/> </Properties> </Pedestrian> </ScenarioObject> <ScenarioObject name="pedestrian_close_to_standing_3264"> <Pedestrian model="walker.pedestrian.0001" mass="80" name="walker.pedestrian.0001" pedestrianCategory="pedestrian"> <ParameterDeclarations/> <BoundingBox> <Center x="1.5" y="0.0" z="0.9"/> <Dimensions width="2" length="2" height="2"/> </BoundingBox> <Properties> <Property name="type" value="simulation"/> </Properties> </Pedestrian> </ScenarioObject> <ScenarioObject name="pedestrian_w_transform_3265"> <Pedestrian model="walker.pedestrian.0001" mass="80" name="walker.pedestrian.0001" pedestrianCategory="pedestrian"> <ParameterDeclarations/> <BoundingBox> <Center x="1.5" y="0.0" z="0.9"/> <Dimensions width="2" length="2" height="2"/> </BoundingBox> <Properties> <Property name="type" value="simulation"/> </Properties> </Pedestrian> </ScenarioObject> <ScenarioObject name="pedestrian_w_transform_3266"> <Pedestrian model="walker.pedestrian.0001" mass="80" name="walker.pedestrian.0001" pedestrianCategory="pedestrian"> <ParameterDeclarations/> <BoundingBox> <Center x="1.5" y="0.0" z="0.9"/> <Dimensions width="2" length="2" height="2"/> </BoundingBox> <Properties> <Property name="type" value="simulation"/> </Properties> </Pedestrian> </ScenarioObject> <ScenarioObject name="pedestrian_w_transform_3267"> <Pedestrian model="walker.pedestrian.0001" mass="80" name="walker.pedestrian.0001" pedestrianCategory="pedestrian"> <ParameterDeclarations/> <BoundingBox> <Center x="1.5" y="0.0" z="0.9"/> <Dimensions width="2" length="2" height="2"/> </BoundingBox> <Properties> <Property name="type" value="simulation"/> </Properties> </Pedestrian> </ScenarioObject> <ScenarioObject name="pedestrian_close_to_hero_3268"> <Pedestrian model="walker.pedestrian.0001" mass="80" name="walker.pedestrian.0001" pedestrianCategory="pedestrian"> <ParameterDeclarations/> <BoundingBox> <Center x="1.5" y="0.0" z="0.9"/> <Dimensions width="2" length="2" height="2"/> </BoundingBox> <Properties> <Property name="type" value="simulation"/> </Properties> </Pedestrian> </ScenarioObject> <ScenarioObject name="pedestrian_w_transform_3269"> <Pedestrian model="walker.pedestrian.0001" mass="80" name="walker.pedestrian.0001" pedestrianCategory="pedestrian"> <ParameterDeclarations/> <BoundingBox> <Center x="1.5" y="0.0" z="0.9"/> <Dimensions width="2" length="2" height="2"/> </BoundingBox> <Properties> <Property name="type" value="simulation"/> </Properties> </Pedestrian> </ScenarioObject> <ScenarioObject name="pedestrian_close_to_hero_3270"> <Pedestrian model="walker.pedestrian.0001" mass="80" name="walker.pedestrian.0001" pedestrianCategory="pedestrian"> <ParameterDeclarations/> <BoundingBox> <Center x="1.5" y="0.0" z="0.9"/> <Dimensions width="2" length="2" height="2"/> </BoundingBox> <Properties> <Property name="type" value="simulation"/> </Properties> </Pedestrian> </ScenarioObject> <ScenarioObject name="pedestrian_w_transform_3271"> <Pedestrian model="walker.pedestrian.0001" mass="80" name="walker.pedestrian.0001" pedestrianCategory="pedestrian"> <ParameterDeclarations/> <BoundingBox> <Center x="1.5" y="0.0" z="0.9"/> <Dimensions width="2" length="2" height="2"/> </BoundingBox> <Properties> <Property name="type" value="simulation"/> </Properties> </Pedestrian> </ScenarioObject> <ScenarioObject name="pedestrian_close_to_hero_3272"> <Pedestrian model="walker.pedestrian.0001" mass="80" name="walker.pedestrian.0001" pedestrianCategory="pedestrian"> <ParameterDeclarations/> <BoundingBox> <Center x="1.5" y="0.0" z="0.9"/> <Dimensions width="2" length="2" height="2"/> </BoundingBox> <Properties> <Property name="type" value="simulation"/> </Properties> </Pedestrian> </ScenarioObject> <ScenarioObject name="pedestrian_w_transform_3273"> <Pedestrian model="walker.pedestrian.0001" mass="80" name="walker.pedestrian.0001" pedestrianCategory="pedestrian"> <ParameterDeclarations/> <BoundingBox> <Center x="1.5" y="0.0" z="0.9"/> <Dimensions width="2" length="2" height="2"/> </BoundingBox> <Properties> <Property name="type" value="simulation"/> </Properties> </Pedestrian> </ScenarioObject> <ScenarioObject name="pedestrian_w_transform_3274"> <Pedestrian model="walker.pedestrian.0001" mass="80" name="walker.pedestrian.0001" pedestrianCategory="pedestrian"> <ParameterDeclarations/> <BoundingBox> <Center x="1.5" y="0.0" z="0.9"/> <Dimensions width="2" length="2" height="2"/> </BoundingBox> <Properties> <Property name="type" value="simulation"/> </Properties> </Pedestrian> </ScenarioObject> <ScenarioObject name="pedestrian_w_transform_3275"> <Pedestrian model="walker.pedestrian.0001" mass="80" name="walker.pedestrian.0001" pedestrianCategory="pedestrian"> <ParameterDeclarations/> <BoundingBox> <Center x="1.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_3261"> <PrivateAction> <TeleportAction> <Position> <WorldPosition x="-5.938521385192871" y="-156.021728515625" z="0.0018838500836864114"/> </Position> </TeleportAction> </PrivateAction> </Private> <Private entityRef="pedestrian_close_to_hero_3262"> <PrivateAction> <TeleportAction> <Position> <WorldPosition x="-7.867907524108887" y="-146.63278198242188" z="0.0018838500836864114"/> </Position> </TeleportAction> </PrivateAction> </Private> <Private entityRef="pedestrian_w_transform_3263"> <PrivateAction> <TeleportAction> <Position> <WorldPosition x="-31.317581176757812" y="13.58151626586914" z="0.5"/> </Position> </TeleportAction> </PrivateAction> </Private> <Private entityRef="pedestrian_close_to_standing_3264"> <PrivateAction> <TeleportAction> <Position> <WorldPosition x="-11.8927001953125" y="25.767358779907227" z="0.0030907439067959785"/> </Position> </TeleportAction> </PrivateAction> </Private> <Private entityRef="pedestrian_w_transform_3265"> <PrivateAction> <TeleportAction> <Position> <WorldPosition x="67.33575439453125" y="-72.36700439453125" z="0.5"/> </Position> </TeleportAction> </PrivateAction> </Private> <Private entityRef="pedestrian_w_transform_3266"> <PrivateAction> <TeleportAction> <Position> <WorldPosition x="-9.686917304992676" y="5.2324347496032715" z="0.5"/> </Position> </TeleportAction> </PrivateAction> </Private> <Private entityRef="pedestrian_w_transform_3267"> <PrivateAction> <TeleportAction> <Position> <WorldPosition x="21.28926658630371" y="-84.50988006591797" z="0.5"/> </Position> </TeleportAction> </PrivateAction> </Private> <Private entityRef="pedestrian_close_to_hero_3268"> <PrivateAction> <TeleportAction> <Position> <WorldPosition x="0.26824256777763367" y="-153.74147033691406" z="0.0018838500836864114"/> </Position> </TeleportAction> </PrivateAction> </Private> <Private entityRef="pedestrian_w_transform_3269"> <PrivateAction> <TeleportAction> <Position> <WorldPosition x="84.98239135742188" y="63.81194305419922" z="0.5"/> </Position> </TeleportAction> </PrivateAction> </Private> <Private entityRef="pedestrian_close_to_hero_3270"> <PrivateAction> <TeleportAction> <Position> <WorldPosition x="-6.891845703125" y="-147.0966339111328" z="0.0018838500836864114"/> </Position> </TeleportAction> </PrivateAction> </Private> <Private entityRef="pedestrian_w_transform_3271"> <PrivateAction> <TeleportAction> <Position> <WorldPosition x="12.538841247558594" y="-69.73328399658203" z="0.5"/> </Position> </TeleportAction> </PrivateAction> </Private> <Private entityRef="pedestrian_close_to_hero_3272"> <PrivateAction> <TeleportAction> <Position> <WorldPosition x="-1.6072123050689697" y="-159.3079833984375" z="0.0018838500836864114"/> </Position> </TeleportAction> </PrivateAction> </Private> <Private entityRef="pedestrian_w_transform_3273"> <PrivateAction> <TeleportAction> <Position> <WorldPosition x="19.106916427612305" y="-43.1832160949707" z="0.5"/> </Position> </TeleportAction> </PrivateAction> </Private> <Private entityRef="pedestrian_w_transform_3274"> <PrivateAction> <TeleportAction> <Position> <WorldPosition x="-68.29707336425781" y="97.10865020751953" z="0.5"/> </Position> </TeleportAction> </PrivateAction> </Private> <Private entityRef="pedestrian_w_transform_3275"> <PrivateAction> <TeleportAction> <Position> <WorldPosition x="26.284149169921875" y="-69.36844635009766" 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_3261"> <Pedestrian model="walker.pedestrian.0001" mass="80" name="walker.pedestrian.0001" pedestrianCategory="pedestrian"> <ParameterDeclarations/> <BoundingBox> <Center x="1.5" y="0.0" z="0.9"/> <Dimensions width="2" length="2" height="2"/> </BoundingBox> <Properties> <Property name="type" value="simulation"/> </Properties> </Pedestrian> </ScenarioObject> <ScenarioObject name="pedestrian_close_to_hero_3262"> <Pedestrian model="walker.pedestrian.0001" mass="80" name="walker.pedestrian.0001" pedestrianCategory="pedestrian"> <ParameterDeclarations/> <BoundingBox> <Center x="1.5" y="0.0" z="0.9"/> <Dimensions width="2" length="2" height="2"/> </BoundingBox> <Properties> <Property name="type" value="simulation"/> </Properties> </Pedestrian> </ScenarioObject> <ScenarioObject name="pedestrian_w_transform_3263"> <Pedestrian model="walker.pedestrian.0001" mass="80" name="walker.pedestrian.0001" pedestrianCategory="pedestrian"> <ParameterDeclarations/> <BoundingBox> <Center x="1.5" y="0.0" z="0.9"/> <Dimensions width="2" length="2" height="2"/> </BoundingBox> <Properties> <Property name="type" value="simulation"/> </Properties> </Pedestrian> </ScenarioObject> <ScenarioObject name="pedestrian_close_to_standing_3264"> <Pedestrian model="walker.pedestrian.0001" mass="80" name="walker.pedestrian.0001" pedestrianCategory="pedestrian"> <ParameterDeclarations/> <BoundingBox> <Center x="1.5" y="0.0" z="0.9"/> <Dimensions width="2" length="2" height="2"/> </BoundingBox> <Properties> <Property name="type" value="simulation"/> </Properties> </Pedestrian> </ScenarioObject> <ScenarioObject name="pedestrian_w_transform_3265"> <Pedestrian model="walker.pedestrian.0001" mass="80" name="walker.pedestrian.0001" pedestrianCategory="pedestrian"> <ParameterDeclarations/> <BoundingBox> <Center x="1.5" y="0.0" z="0.9"/> <Dimensions width="2" length="2" height="2"/> </BoundingBox> <Properties> <Property name="type" value="simulation"/> </Properties> </Pedestrian> </ScenarioObject> <ScenarioObject name="pedestrian_w_transform_3266"> <Pedestrian model="walker.pedestrian.0001" mass="80" name="walker.pedestrian.0001" pedestrianCategory="pedestrian"> <ParameterDeclarations/> <BoundingBox> <Center x="1.5" y="0.0" z="0.9"/> <Dimensions width="2" length="2" height="2"/> </BoundingBox> <Properties> <Property name="type" value="simulation"/> </Properties> </Pedestrian> </ScenarioObject> <ScenarioObject name="pedestrian_w_transform_3267"> <Pedestrian model="walker.pedestrian.0001" mass="80" name="walker.pedestrian.0001" pedestrianCategory="pedestrian"> <ParameterDeclarations/> <BoundingBox> <Center x="1.5" y="0.0" z="0.9"/> <Dimensions width="2" length="2" height="2"/> </BoundingBox> <Properties> <Property name="type" value="simulation"/> </Properties> </Pedestrian> </ScenarioObject> <ScenarioObject name="pedestrian_close_to_hero_3268"> <Pedestrian model="walker.pedestrian.0001" mass="80" name="walker.pedestrian.0001" pedestrianCategory="pedestrian"> <ParameterDeclarations/> <BoundingBox> <Center x="1.5" y="0.0" z="0.9"/> <Dimensions width="2" length="2" height="2"/> </BoundingBox> <Properties> <Property name="type" value="simulation"/> </Properties> </Pedestrian> </ScenarioObject> <ScenarioObject name="pedestrian_w_transform_3269"> <Pedestrian model="walker.pedestrian.0001" mass="80" name="walker.pedestrian.0001" pedestrianCategory="pedestrian"> <ParameterDeclarations/> <BoundingBox> <Center x="1.5" y="0.0" z="0.9"/> <Dimensions width="2" length="2" height="2"/> </BoundingBox> <Properties> <Property name="type" value="simulation"/> </Properties> </Pedestrian> </ScenarioObject> <ScenarioObject name="pedestrian_close_to_hero_3270"> <Pedestrian model="walker.pedestrian.0001" mass="80" name="walker.pedestrian.0001" pedestrianCategory="pedestrian"> <ParameterDeclarations/> <BoundingBox> <Center x="1.5" y="0.0" z="0.9"/> <Dimensions width="2" length="2" height="2"/> </BoundingBox> <Properties> <Property name="type" value="simulation"/> </Properties> </Pedestrian> </ScenarioObject> <ScenarioObject name="pedestrian_w_transform_3271"> <Pedestrian model="walker.pedestrian.0001" mass="80" name="walker.pedestrian.0001" pedestrianCategory="pedestrian"> <ParameterDeclarations/> <BoundingBox> <Center x="1.5" y="0.0" z="0.9"/> <Dimensions width="2" length="2" height="2"/> </BoundingBox> <Properties> <Property name="type" value="simulation"/> </Properties> </Pedestrian> </ScenarioObject> <ScenarioObject name="pedestrian_close_to_hero_3272"> <Pedestrian model="walker.pedestrian.0001" mass="80" name="walker.pedestrian.0001" pedestrianCategory="pedestrian"> <ParameterDeclarations/> <BoundingBox> <Center x="1.5" y="0.0" z="0.9"/> <Dimensions width="2" length="2" height="2"/> </BoundingBox> <Properties> <Property name="type" value="simulation"/> </Properties> </Pedestrian> </ScenarioObject> <ScenarioObject name="pedestrian_w_transform_3273"> <Pedestrian model="walker.pedestrian.0001" mass="80" name="walker.pedestrian.0001" pedestrianCategory="pedestrian"> <ParameterDeclarations/> <BoundingBox> <Center x="1.5" y="0.0" z="0.9"/> <Dimensions width="2" length="2" height="2"/> </BoundingBox> <Properties> <Property name="type" value="simulation"/> </Properties> </Pedestrian> </ScenarioObject> <ScenarioObject name="pedestrian_w_transform_3274"> <Pedestrian model="walker.pedestrian.0001" mass="80" name="walker.pedestrian.0001" pedestrianCategory="pedestrian"> <ParameterDeclarations/> <BoundingBox> <Center x="1.5" y="0.0" z="0.9"/> <Dimensions width="2" length="2" height="2"/> </BoundingBox> <Properties> <Property name="type" value="simulation"/> </Properties> </Pedestrian> </ScenarioObject> <ScenarioObject name="pedestrian_w_transform_3275"> <Pedestrian model="walker.pedestrian.0001" mass="80" name="walker.pedestrian.0001" pedestrianCategory="pedestrian"> <ParameterDeclarations/> <BoundingBox> <Center x="1.5" y="0.0" z="0.9"/> <Dimensions width="2" length="2" height="2"/> </BoundingBox> <Properties> <Property name="type" value="simulation"/> </Properties> </Pedestrian> </ScenarioObject> <ScenarioObject name="pedestrian_close_to_hero_3276"> <Pedestrian model="walker.pedestrian.0001" mass="80" name="walker.pedestrian.0001" pedestrianCategory="pedestrian"> <ParameterDeclarations/> <BoundingBox> <Center x="1.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_3261"> <PrivateAction> <TeleportAction> <Position> <WorldPosition x="-5.938521385192871" y="-156.021728515625" z="0.0018838500836864114"/> </Position> </TeleportAction> </PrivateAction> </Private> <Private entityRef="pedestrian_close_to_hero_3262"> <PrivateAction> <TeleportAction> <Position> <WorldPosition x="-7.867907524108887" y="-146.63278198242188" z="0.0018838500836864114"/> </Position> </TeleportAction> </PrivateAction> </Private> <Private entityRef="pedestrian_w_transform_3263"> <PrivateAction> <TeleportAction> <Position> <WorldPosition x="-31.317581176757812" y="13.58151626586914" z="0.5"/> </Position> </TeleportAction> </PrivateAction> </Private> <Private entityRef="pedestrian_close_to_standing_3264"> <PrivateAction> <TeleportAction> <Position> <WorldPosition x="-11.8927001953125" y="25.767358779907227" z="0.0030907439067959785"/> </Position> </TeleportAction> </PrivateAction> </Private> <Private entityRef="pedestrian_w_transform_3265"> <PrivateAction> <TeleportAction> <Position> <WorldPosition x="67.33575439453125" y="-72.36700439453125" z="0.5"/> </Position> </TeleportAction> </PrivateAction> </Private> <Private entityRef="pedestrian_w_transform_3266"> <PrivateAction> <TeleportAction> <Position> <WorldPosition x="-9.686917304992676" y="5.2324347496032715" z="0.5"/> </Position> </TeleportAction> </PrivateAction> </Private> <Private entityRef="pedestrian_w_transform_3267"> <PrivateAction> <TeleportAction> <Position> <WorldPosition x="21.28926658630371" y="-84.50988006591797" z="0.5"/> </Position> </TeleportAction> </PrivateAction> </Private> <Private entityRef="pedestrian_close_to_hero_3268"> <PrivateAction> <TeleportAction> <Position> <WorldPosition x="0.26824256777763367" y="-153.74147033691406" z="0.0018838500836864114"/> </Position> </TeleportAction> </PrivateAction> </Private> <Private entityRef="pedestrian_w_transform_3269"> <PrivateAction> <TeleportAction> <Position> <WorldPosition x="84.98239135742188" y="63.81194305419922" z="0.5"/> </Position> </TeleportAction> </PrivateAction> </Private> <Private entityRef="pedestrian_close_to_hero_3270"> <PrivateAction> <TeleportAction> <Position> <WorldPosition x="-6.891845703125" y="-147.0966339111328" z="0.0018838500836864114"/> </Position> </TeleportAction> </PrivateAction> </Private> <Private entityRef="pedestrian_w_transform_3271"> <PrivateAction> <TeleportAction> <Position> <WorldPosition x="12.538841247558594" y="-69.73328399658203" z="0.5"/> </Position> </TeleportAction> </PrivateAction> </Private> <Private entityRef="pedestrian_close_to_hero_3272"> <PrivateAction> <TeleportAction> <Position> <WorldPosition x="-1.6072123050689697" y="-159.3079833984375" z="0.0018838500836864114"/> </Position> </TeleportAction> </PrivateAction> </Private> <Private entityRef="pedestrian_w_transform_3273"> <PrivateAction> <TeleportAction> <Position> <WorldPosition x="19.106916427612305" y="-43.1832160949707" z="0.5"/> </Position> </TeleportAction> </PrivateAction> </Private> <Private entityRef="pedestrian_w_transform_3274"> <PrivateAction> <TeleportAction> <Position> <WorldPosition x="-68.29707336425781" y="97.10865020751953" z="0.5"/> </Position> </TeleportAction> </PrivateAction> </Private> <Private entityRef="pedestrian_w_transform_3275"> <PrivateAction> <TeleportAction> <Position> <WorldPosition x="26.284149169921875" y="-69.36844635009766" z="0.5"/> </Position> </TeleportAction> </PrivateAction> </Private> <Private entityRef="pedestrian_close_to_hero_3276"> <PrivateAction> <TeleportAction> <Position> <WorldPosition x="-8.785186767578125" y="-150.88368225097656" z="0.0018838500836864114"/> </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_adversary_15113"> <Pedestrian model="walker.pedestrian.0001" mass="80" name="walker.pedestrian.0001" pedestrianCategory="pedestrian"> <ParameterDeclarations/> <BoundingBox> <Center x="1.5" y="0.0" z="0.9"/> <Dimensions width="2" length="2" height="2"/> </BoundingBox> <Properties> <Property name="type" value="simulation"/> </Properties> </Pedestrian> </ScenarioObject> <ScenarioObject name="pedestrian_close_to_standing_15114"> <Pedestrian model="walker.pedestrian.0001" mass="80" name="walker.pedestrian.0001" pedestrianCategory="pedestrian"> <ParameterDeclarations/> <BoundingBox> <Center x="1.5" y="0.0" z="0.9"/> <Dimensions width="2" length="2" height="2"/> </BoundingBox> <Properties> <Property name="type" value="simulation"/> </Properties> </Pedestrian> </ScenarioObject> <ScenarioObject name="pedestrian_close_to_standing_15115"> <Pedestrian model="walker.pedestrian.0001" mass="80" name="walker.pedestrian.0001" pedestrianCategory="pedestrian"> <ParameterDeclarations/> <BoundingBox> <Center x="1.5" y="0.0" z="0.9"/> <Dimensions width="2" length="2" height="2"/> </BoundingBox> <Properties> <Property name="type" value="simulation"/> </Properties> </Pedestrian> </ScenarioObject> <ScenarioObject name="pedestrian_w_transform_15116"> <Pedestrian model="walker.pedestrian.0001" mass="80" name="walker.pedestrian.0001" pedestrianCategory="pedestrian"> <ParameterDeclarations/> <BoundingBox> <Center x="1.5" y="0.0" z="0.9"/> <Dimensions width="2" length="2" height="2"/> </BoundingBox> <Properties> <Property name="type" value="simulation"/> </Properties> </Pedestrian> </ScenarioObject> <ScenarioObject name="pedestrian_w_transform_15117"> <Pedestrian model="walker.pedestrian.0001" mass="80" name="walker.pedestrian.0001" pedestrianCategory="pedestrian"> <ParameterDeclarations/> <BoundingBox> <Center x="1.5" y="0.0" z="0.9"/> <Dimensions width="2" length="2" height="2"/> </BoundingBox> <Properties> <Property name="type" value="simulation"/> </Properties> </Pedestrian> </ScenarioObject> <ScenarioObject name="pedestrian_close_to_adversary_15118"> <Pedestrian model="walker.pedestrian.0001" mass="80" name="walker.pedestrian.0001" pedestrianCategory="pedestrian"> <ParameterDeclarations/> <BoundingBox> <Center x="1.5" y="0.0" z="0.9"/> <Dimensions width="2" length="2" height="2"/> </BoundingBox> <Properties> <Property name="type" value="simulation"/> </Properties> </Pedestrian> </ScenarioObject> <ScenarioObject name="pedestrian_w_transform_15119"> <Pedestrian model="walker.pedestrian.0001" mass="80" name="walker.pedestrian.0001" pedestrianCategory="pedestrian"> <ParameterDeclarations/> <BoundingBox> <Center x="1.5" y="0.0" z="0.9"/> <Dimensions width="2" length="2" height="2"/> </BoundingBox> <Properties> <Property name="type" value="simulation"/> </Properties> </Pedestrian> </ScenarioObject> <ScenarioObject name="pedestrian_w_transform_15120"> <Pedestrian model="walker.pedestrian.0001" mass="80" name="walker.pedestrian.0001" pedestrianCategory="pedestrian"> <ParameterDeclarations/> <BoundingBox> <Center x="1.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_15113"> <PrivateAction> <TeleportAction> <Position> <WorldPosition x="-22.728483200073242" y="-76.56298065185547" z="0.03377101942896843"/> </Position> </TeleportAction> </PrivateAction> </Private> <Private entityRef="pedestrian_close_to_standing_15114"> <PrivateAction> <TeleportAction> <Position> <WorldPosition x="1.2263325452804565" y="29.588972091674805" z="0.0030009460169821978"/> </Position> </TeleportAction> </PrivateAction> </Private> <Private entityRef="pedestrian_close_to_standing_15115"> <PrivateAction> <TeleportAction> <Position> <WorldPosition x="-12.894081115722656" y="28.812084197998047" z="0.0029900360386818647"/> </Position> </TeleportAction> </PrivateAction> </Private> <Private entityRef="pedestrian_w_transform_15116"> <PrivateAction> <TeleportAction> <Position> <WorldPosition x="34.67356872558594" y="27.15265464782715" z="0.5"/> </Position> </TeleportAction> </PrivateAction> </Private> <Private entityRef="pedestrian_w_transform_15117"> <PrivateAction> <TeleportAction> <Position> <WorldPosition x="-94.54812622070312" y="-19.503862380981445" z="0.5"/> </Position> </TeleportAction> </PrivateAction> </Private> <Private entityRef="pedestrian_close_to_adversary_15118"> <PrivateAction> <TeleportAction> <Position> <WorldPosition x="-2.3494367599487305" y="-67.12089538574219" z="0.033808402717113495"/> </Position> </TeleportAction> </PrivateAction> </Private> <Private entityRef="pedestrian_w_transform_15119"> <PrivateAction> <TeleportAction> <Position> <WorldPosition x="-24.534957885742188" y="-57.317710876464844" z="0.5"/> </Position> </TeleportAction> </PrivateAction> </Private> <Private entityRef="pedestrian_w_transform_15120"> <PrivateAction> <TeleportAction> <Position> <WorldPosition x="17.03895378112793" y="-42.78720474243164" 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_15113"> <Pedestrian model="walker.pedestrian.0001" mass="80" name="walker.pedestrian.0001" pedestrianCategory="pedestrian"> <ParameterDeclarations/> <BoundingBox> <Center x="1.5" y="0.0" z="0.9"/> <Dimensions width="2" length="2" height="2"/> </BoundingBox> <Properties> <Property name="type" value="simulation"/> </Properties> </Pedestrian> </ScenarioObject> <ScenarioObject name="pedestrian_close_to_standing_15114"> <Pedestrian model="walker.pedestrian.0001" mass="80" name="walker.pedestrian.0001" pedestrianCategory="pedestrian"> <ParameterDeclarations/> <BoundingBox> <Center x="1.5" y="0.0" z="0.9"/> <Dimensions width="2" length="2" height="2"/> </BoundingBox> <Properties> <Property name="type" value="simulation"/> </Properties> </Pedestrian> </ScenarioObject> <ScenarioObject name="pedestrian_close_to_standing_15115"> <Pedestrian model="walker.pedestrian.0001" mass="80" name="walker.pedestrian.0001" pedestrianCategory="pedestrian"> <ParameterDeclarations/> <BoundingBox> <Center x="1.5" y="0.0" z="0.9"/> <Dimensions width="2" length="2" height="2"/> </BoundingBox> <Properties> <Property name="type" value="simulation"/> </Properties> </Pedestrian> </ScenarioObject> <ScenarioObject name="pedestrian_w_transform_15116"> <Pedestrian model="walker.pedestrian.0001" mass="80" name="walker.pedestrian.0001" pedestrianCategory="pedestrian"> <ParameterDeclarations/> <BoundingBox> <Center x="1.5" y="0.0" z="0.9"/> <Dimensions width="2" length="2" height="2"/> </BoundingBox> <Properties> <Property name="type" value="simulation"/> </Properties> </Pedestrian> </ScenarioObject> <ScenarioObject name="pedestrian_w_transform_15117"> <Pedestrian model="walker.pedestrian.0001" mass="80" name="walker.pedestrian.0001" pedestrianCategory="pedestrian"> <ParameterDeclarations/> <BoundingBox> <Center x="1.5" y="0.0" z="0.9"/> <Dimensions width="2" length="2" height="2"/> </BoundingBox> <Properties> <Property name="type" value="simulation"/> </Properties> </Pedestrian> </ScenarioObject> <ScenarioObject name="pedestrian_close_to_adversary_15118"> <Pedestrian model="walker.pedestrian.0001" mass="80" name="walker.pedestrian.0001" pedestrianCategory="pedestrian"> <ParameterDeclarations/> <BoundingBox> <Center x="1.5" y="0.0" z="0.9"/> <Dimensions width="2" length="2" height="2"/> </BoundingBox> <Properties> <Property name="type" value="simulation"/> </Properties> </Pedestrian> </ScenarioObject> <ScenarioObject name="pedestrian_w_transform_15119"> <Pedestrian model="walker.pedestrian.0001" mass="80" name="walker.pedestrian.0001" pedestrianCategory="pedestrian"> <ParameterDeclarations/> <BoundingBox> <Center x="1.5" y="0.0" z="0.9"/> <Dimensions width="2" length="2" height="2"/> </BoundingBox> <Properties> <Property name="type" value="simulation"/> </Properties> </Pedestrian> </ScenarioObject> <ScenarioObject name="pedestrian_w_transform_15120"> <Pedestrian model="walker.pedestrian.0001" mass="80" name="walker.pedestrian.0001" pedestrianCategory="pedestrian"> <ParameterDeclarations/> <BoundingBox> <Center x="1.5" y="0.0" z="0.9"/> <Dimensions width="2" length="2" height="2"/> </BoundingBox> <Properties> <Property name="type" value="simulation"/> </Properties> </Pedestrian> </ScenarioObject> <ScenarioObject name="pedestrian_close_to_adversary_15121"> <Pedestrian model="walker.pedestrian.0001" mass="80" name="walker.pedestrian.0001" pedestrianCategory="pedestrian"> <ParameterDeclarations/> <BoundingBox> <Center x="1.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_15113"> <PrivateAction> <TeleportAction> <Position> <WorldPosition x="-22.728483200073242" y="-76.56298065185547" z="0.03377101942896843"/> </Position> </TeleportAction> </PrivateAction> </Private> <Private entityRef="pedestrian_close_to_standing_15114"> <PrivateAction> <TeleportAction> <Position> <WorldPosition x="1.2263325452804565" y="29.588972091674805" z="0.0030009460169821978"/> </Position> </TeleportAction> </PrivateAction> </Private> <Private entityRef="pedestrian_close_to_standing_15115"> <PrivateAction> <TeleportAction> <Position> <WorldPosition x="-12.894081115722656" y="28.812084197998047" z="0.0029900360386818647"/> </Position> </TeleportAction> </PrivateAction> </Private> <Private entityRef="pedestrian_w_transform_15116"> <PrivateAction> <TeleportAction> <Position> <WorldPosition x="34.67356872558594" y="27.15265464782715" z="0.5"/> </Position> </TeleportAction> </PrivateAction> </Private> <Private entityRef="pedestrian_w_transform_15117"> <PrivateAction> <TeleportAction> <Position> <WorldPosition x="-94.54812622070312" y="-19.503862380981445" z="0.5"/> </Position> </TeleportAction> </PrivateAction> </Private> <Private entityRef="pedestrian_close_to_adversary_15118"> <PrivateAction> <TeleportAction> <Position> <WorldPosition x="-2.3494367599487305" y="-67.12089538574219" z="0.033808402717113495"/> </Position> </TeleportAction> </PrivateAction> </Private> <Private entityRef="pedestrian_w_transform_15119"> <PrivateAction> <TeleportAction> <Position> <WorldPosition x="-24.534957885742188" y="-57.317710876464844" z="0.5"/> </Position> </TeleportAction> </PrivateAction> </Private> <Private entityRef="pedestrian_w_transform_15120"> <PrivateAction> <TeleportAction> <Position> <WorldPosition x="17.03895378112793" y="-42.78720474243164" z="0.5"/> </Position> </TeleportAction> </PrivateAction> </Private> <Private entityRef="pedestrian_close_to_adversary_15121"> <PrivateAction> <TeleportAction> <Position> <WorldPosition x="9.45595645904541" y="-78.66380310058594" z="0.033841513097286224"/> </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 (-93.48, -24.13, 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_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_20409"> <Pedestrian model="walker.pedestrian.0001" mass="80" name="walker.pedestrian.0001" pedestrianCategory="pedestrian"> <ParameterDeclarations/> <BoundingBox> <Center x="1.5" y="0.0" z="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_w_transform_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_w_transform_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_adversary_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> <ScenarioObject name="pedestrian_w_transform_20417"> <Pedestrian model="walker.pedestrian.0001" mass="80" name="walker.pedestrian.0001" pedestrianCategory="pedestrian"> <ParameterDeclarations/> <BoundingBox> <Center x="1.5" y="0.0" z="0.9"/> <Dimensions width="2" length="2" height="2"/> </BoundingBox> <Properties> <Property name="type" value="simulation"/> </Properties> </Pedestrian> </ScenarioObject> <ScenarioObject name="pedestrian_w_transform_20418"> <Pedestrian model="walker.pedestrian.0001" mass="80" name="walker.pedestrian.0001" pedestrianCategory="pedestrian"> <ParameterDeclarations/> <BoundingBox> <Center x="1.5" y="0.0" z="0.9"/> <Dimensions width="2" length="2" height="2"/> </BoundingBox> <Properties> <Property name="type" value="simulation"/> </Properties> </Pedestrian> </ScenarioObject> <ScenarioObject name="pedestrian_w_transform_20419"> <Pedestrian model="walker.pedestrian.0001" mass="80" name="walker.pedestrian.0001" pedestrianCategory="pedestrian"> <ParameterDeclarations/> <BoundingBox> <Center x="1.5" y="0.0" z="0.9"/> <Dimensions width="2" length="2" height="2"/> </BoundingBox> <Properties> <Property name="type" value="simulation"/> </Properties> </Pedestrian> </ScenarioObject> <ScenarioObject name="pedestrian_close_to_standing_20420"> <Pedestrian model="walker.pedestrian.0001" mass="80" name="walker.pedestrian.0001" pedestrianCategory="pedestrian"> <ParameterDeclarations/> <BoundingBox> <Center x="1.5" y="0.0" z="0.9"/> <Dimensions width="2" length="2" height="2"/> </BoundingBox> <Properties> <Property name="type" value="simulation"/> </Properties> </Pedestrian> </ScenarioObject> <ScenarioObject name="pedestrian_w_transform_20421"> <Pedestrian model="walker.pedestrian.0001" mass="80" name="walker.pedestrian.0001" pedestrianCategory="pedestrian"> <ParameterDeclarations/> <BoundingBox> <Center x="1.5" y="0.0" z="0.9"/> <Dimensions width="2" length="2" height="2"/> </BoundingBox> <Properties> <Property name="type" value="simulation"/> </Properties> </Pedestrian> </ScenarioObject> <ScenarioObject name="pedestrian_close_to_adversary_20422"> <Pedestrian model="walker.pedestrian.0001" mass="80" name="walker.pedestrian.0001" pedestrianCategory="pedestrian"> <ParameterDeclarations/> <BoundingBox> <Center x="1.5" y="0.0" z="0.9"/> <Dimensions width="2" length="2" height="2"/> </BoundingBox> <Properties> <Property name="type" value="simulation"/> </Properties> </Pedestrian> </ScenarioObject> <ScenarioObject name="pedestrian_close_to_hero_20423"> <Pedestrian model="walker.pedestrian.0001" mass="80" name="walker.pedestrian.0001" pedestrianCategory="pedestrian"> <ParameterDeclarations/> <BoundingBox> <Center x="1.5" y="0.0" z="0.9"/> <Dimensions width="2" length="2" height="2"/> </BoundingBox> <Properties> <Property name="type" value="simulation"/> </Properties> </Pedestrian> </ScenarioObject> <ScenarioObject name="pedestrian_w_transform_20424"> <Pedestrian model="walker.pedestrian.0001" mass="80" name="walker.pedestrian.0001" pedestrianCategory="pedestrian"> <ParameterDeclarations/> <BoundingBox> <Center x="1.5" y="0.0" z="0.9"/> <Dimensions width="2" length="2" height="2"/> </BoundingBox> <Properties> <Property name="type" value="simulation"/> </Properties> </Pedestrian> </ScenarioObject> <ScenarioObject name="pedestrian_close_to_adversary_20425"> <Pedestrian model="walker.pedestrian.0001" mass="80" name="walker.pedestrian.0001" pedestrianCategory="pedestrian"> <ParameterDeclarations/> <BoundingBox> <Center x="1.5" y="0.0" z="0.9"/> <Dimensions width="2" length="2" height="2"/> </BoundingBox> <Properties> <Property name="type" value="simulation"/> </Properties> </Pedestrian> </ScenarioObject> <ScenarioObject name="pedestrian_close_to_hero_20426"> <Pedestrian model="walker.pedestrian.0001" mass="80" name="walker.pedestrian.0001" pedestrianCategory="pedestrian"> <ParameterDeclarations/> <BoundingBox> <Center x="1.5" y="0.0" z="0.9"/> <Dimensions width="2" length="2" height="2"/> </BoundingBox> <Properties> <Property name="type" value="simulation"/> </Properties> </Pedestrian> </ScenarioObject> <ScenarioObject name="pedestrian_w_transform_20427"> <Pedestrian model="walker.pedestrian.0001" mass="80" name="walker.pedestrian.0001" pedestrianCategory="pedestrian"> <ParameterDeclarations/> <BoundingBox> <Center x="1.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_20408"> <PrivateAction> <TeleportAction> <Position> <WorldPosition x="-11.41843032836914" y="22.859058380126953" z="0.0030653763096779585"/> </Position> </TeleportAction> </PrivateAction> </Private> <Private entityRef="pedestrian_w_transform_20409"> <PrivateAction> <TeleportAction> <Position> <WorldPosition x="14.029553413391113" y="92.73170471191406" z="0.5"/> </Position> </TeleportAction> </PrivateAction> </Private> <Private entityRef="pedestrian_w_transform_20410"> <PrivateAction> <TeleportAction> <Position> <WorldPosition x="98.17566680908203" y="61.189674377441406" z="0.5"/> </Position> </TeleportAction> </PrivateAction> </Private> <Private entityRef="pedestrian_w_transform_20411"> <PrivateAction> <TeleportAction> <Position> <WorldPosition x="-93.2263412475586" y="92.79915618896484" z="0.5"/> </Position> </TeleportAction> </PrivateAction> </Private> <Private entityRef="pedestrian_w_transform_20412"> <PrivateAction> <TeleportAction> <Position> <WorldPosition x="95.41236877441406" y="30.25099754333496" z="0.5"/> </Position> </TeleportAction> </PrivateAction> </Private> <Private entityRef="pedestrian_close_to_hero_20413"> <PrivateAction> <TeleportAction> <Position> <WorldPosition x="-6.484043598175049" y="-146.80355834960938" z="0.0020974730141460896"/> </Position> </TeleportAction> </PrivateAction> </Private> <Private entityRef="pedestrian_w_transform_20414"> <PrivateAction> <TeleportAction> <Position> <WorldPosition x="-11.184225082397461" y="69.56026458740234" z="0.5"/> </Position> </TeleportAction> </PrivateAction> </Private> <Private entityRef="pedestrian_w_transform_20415"> <PrivateAction> <TeleportAction> <Position> <WorldPosition x="-41.97262191772461" y="58.8131217956543" z="0.5"/> </Position> </TeleportAction> </PrivateAction> </Private> <Private entityRef="pedestrian_close_to_adversary_20416"> <PrivateAction> <TeleportAction> <Position> <WorldPosition x="-2.0576682090759277" y="-79.6561508178711" z="0.03385555371642113"/> </Position> </TeleportAction> </PrivateAction> </Private> <Private entityRef="pedestrian_w_transform_20417"> <PrivateAction> <TeleportAction> <Position> <WorldPosition x="91.4918441772461" y="43.224151611328125" z="0.5"/> </Position> </TeleportAction> </PrivateAction> </Private> <Private entityRef="pedestrian_w_transform_20418"> <PrivateAction> <TeleportAction> <Position> <WorldPosition x="48.30902862548828" y="57.6395378112793" z="0.5"/> </Position> </TeleportAction> </PrivateAction> </Private> <Private entityRef="pedestrian_w_transform_20419"> <PrivateAction> <TeleportAction> <Position> <WorldPosition x="-25.144418716430664" y="-76.86022186279297" z="0.5"/> </Position> </TeleportAction> </PrivateAction> </Private> <Private entityRef="pedestrian_close_to_standing_20420"> <PrivateAction> <TeleportAction> <Position> <WorldPosition x="-1.8630354404449463" y="36.194175720214844" z="0.0031027221120893955"/> </Position> </TeleportAction> </PrivateAction> </Private> <Private entityRef="pedestrian_w_transform_20421"> <PrivateAction> <TeleportAction> <Position> <WorldPosition x="-40.43659591674805" y="-51.0945930480957" z="0.5"/> </Position> </TeleportAction> </PrivateAction> </Private> <Private entityRef="pedestrian_close_to_adversary_20422"> <PrivateAction> <TeleportAction> <Position> <WorldPosition x="-2.4540927410125732" y="-81.5959243774414" z="0.03381847217679024"/> </Position> </TeleportAction> </PrivateAction> </Private> <Private entityRef="pedestrian_close_to_hero_20423"> <PrivateAction> <TeleportAction> <Position> <WorldPosition x="-12.95108699798584" y="-161.85682678222656" z="0.0020974730141460896"/> </Position> </TeleportAction> </PrivateAction> </Private> <Private entityRef="pedestrian_w_transform_20424"> <PrivateAction> <TeleportAction> <Position> <WorldPosition x="10.931328773498535" y="94.90885925292969" z="0.5"/> </Position> </TeleportAction> </PrivateAction> </Private> <Private entityRef="pedestrian_close_to_adversary_20425"> <PrivateAction> <TeleportAction> <Position> <WorldPosition x="-1.1339564323425293" y="-63.15623474121094" z="0.03374713659286499"/> </Position> </TeleportAction> </PrivateAction> </Private> <Private entityRef="pedestrian_close_to_hero_20426"> <PrivateAction> <TeleportAction> <Position> <WorldPosition x="-6.38196325302124" y="-148.48434448242188" z="0.0020974730141460896"/> </Position> </TeleportAction> </PrivateAction> </Private> <Private entityRef="pedestrian_w_transform_20427"> <PrivateAction> <TeleportAction> <Position> <WorldPosition x="94.6371078491211" y="99.75647735595703" 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_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_20409"> <Pedestrian model="walker.pedestrian.0001" mass="80" name="walker.pedestrian.0001" pedestrianCategory="pedestrian"> <ParameterDeclarations/> <BoundingBox> <Center x="1.5" y="0.0" z="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_w_transform_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_w_transform_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_adversary_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> <ScenarioObject name="pedestrian_w_transform_20417"> <Pedestrian model="walker.pedestrian.0001" mass="80" name="walker.pedestrian.0001" pedestrianCategory="pedestrian"> <ParameterDeclarations/> <BoundingBox> <Center x="1.5" y="0.0" z="0.9"/> <Dimensions width="2" length="2" height="2"/> </BoundingBox> <Properties> <Property name="type" value="simulation"/> </Properties> </Pedestrian> </ScenarioObject> <ScenarioObject name="pedestrian_w_transform_20418"> <Pedestrian model="walker.pedestrian.0001" mass="80" name="walker.pedestrian.0001" pedestrianCategory="pedestrian"> <ParameterDeclarations/> <BoundingBox> <Center x="1.5" y="0.0" z="0.9"/> <Dimensions width="2" length="2" height="2"/> </BoundingBox> <Properties> <Property name="type" value="simulation"/> </Properties> </Pedestrian> </ScenarioObject> <ScenarioObject name="pedestrian_w_transform_20419"> <Pedestrian model="walker.pedestrian.0001" mass="80" name="walker.pedestrian.0001" pedestrianCategory="pedestrian"> <ParameterDeclarations/> <BoundingBox> <Center x="1.5" y="0.0" z="0.9"/> <Dimensions width="2" length="2" height="2"/> </BoundingBox> <Properties> <Property name="type" value="simulation"/> </Properties> </Pedestrian> </ScenarioObject> <ScenarioObject name="pedestrian_close_to_standing_20420"> <Pedestrian model="walker.pedestrian.0001" mass="80" name="walker.pedestrian.0001" pedestrianCategory="pedestrian"> <ParameterDeclarations/> <BoundingBox> <Center x="1.5" y="0.0" z="0.9"/> <Dimensions width="2" length="2" height="2"/> </BoundingBox> <Properties> <Property name="type" value="simulation"/> </Properties> </Pedestrian> </ScenarioObject> <ScenarioObject name="pedestrian_w_transform_20421"> <Pedestrian model="walker.pedestrian.0001" mass="80" name="walker.pedestrian.0001" pedestrianCategory="pedestrian"> <ParameterDeclarations/> <BoundingBox> <Center x="1.5" y="0.0" z="0.9"/> <Dimensions width="2" length="2" height="2"/> </BoundingBox> <Properties> <Property name="type" value="simulation"/> </Properties> </Pedestrian> </ScenarioObject> <ScenarioObject name="pedestrian_close_to_adversary_20422"> <Pedestrian model="walker.pedestrian.0001" mass="80" name="walker.pedestrian.0001" pedestrianCategory="pedestrian"> <ParameterDeclarations/> <BoundingBox> <Center x="1.5" y="0.0" z="0.9"/> <Dimensions width="2" length="2" height="2"/> </BoundingBox> <Properties> <Property name="type" value="simulation"/> </Properties> </Pedestrian> </ScenarioObject> <ScenarioObject name="pedestrian_close_to_hero_20423"> <Pedestrian model="walker.pedestrian.0001" mass="80" name="walker.pedestrian.0001" pedestrianCategory="pedestrian"> <ParameterDeclarations/> <BoundingBox> <Center x="1.5" y="0.0" z="0.9"/> <Dimensions width="2" length="2" height="2"/> </BoundingBox> <Properties> <Property name="type" value="simulation"/> </Properties> </Pedestrian> </ScenarioObject> <ScenarioObject name="pedestrian_w_transform_20424"> <Pedestrian model="walker.pedestrian.0001" mass="80" name="walker.pedestrian.0001" pedestrianCategory="pedestrian"> <ParameterDeclarations/> <BoundingBox> <Center x="1.5" y="0.0" z="0.9"/> <Dimensions width="2" length="2" height="2"/> </BoundingBox> <Properties> <Property name="type" value="simulation"/> </Properties> </Pedestrian> </ScenarioObject> <ScenarioObject name="pedestrian_close_to_adversary_20425"> <Pedestrian model="walker.pedestrian.0001" mass="80" name="walker.pedestrian.0001" pedestrianCategory="pedestrian"> <ParameterDeclarations/> <BoundingBox> <Center x="1.5" y="0.0" z="0.9"/> <Dimensions width="2" length="2" height="2"/> </BoundingBox> <Properties> <Property name="type" value="simulation"/> </Properties> </Pedestrian> </ScenarioObject> <ScenarioObject name="pedestrian_close_to_hero_20426"> <Pedestrian model="walker.pedestrian.0001" mass="80" name="walker.pedestrian.0001" pedestrianCategory="pedestrian"> <ParameterDeclarations/> <BoundingBox> <Center x="1.5" y="0.0" z="0.9"/> <Dimensions width="2" length="2" height="2"/> </BoundingBox> <Properties> <Property name="type" value="simulation"/> </Properties> </Pedestrian> </ScenarioObject> <ScenarioObject name="pedestrian_w_transform_20427"> <Pedestrian model="walker.pedestrian.0001" mass="80" name="walker.pedestrian.0001" pedestrianCategory="pedestrian"> <ParameterDeclarations/> <BoundingBox> <Center x="1.5" y="0.0" z="0.9"/> <Dimensions width="2" length="2" height="2"/> </BoundingBox> <Properties> <Property name="type" value="simulation"/> </Properties> </Pedestrian> </ScenarioObject> <ScenarioObject name="pedestrian_w_transform_20428"> <Pedestrian model="walker.pedestrian.0001" mass="80" name="walker.pedestrian.0001" pedestrianCategory="pedestrian"> <ParameterDeclarations/> <BoundingBox> <Center x="1.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_20408"> <PrivateAction> <TeleportAction> <Position> <WorldPosition x="-11.41843032836914" y="22.859058380126953" z="0.0030653763096779585"/> </Position> </TeleportAction> </PrivateAction> </Private> <Private entityRef="pedestrian_w_transform_20409"> <PrivateAction> <TeleportAction> <Position> <WorldPosition x="14.029553413391113" y="92.73170471191406" z="0.5"/> </Position> </TeleportAction> </PrivateAction> </Private> <Private entityRef="pedestrian_w_transform_20410"> <PrivateAction> <TeleportAction> <Position> <WorldPosition x="98.17566680908203" y="61.189674377441406" z="0.5"/> </Position> </TeleportAction> </PrivateAction> </Private> <Private entityRef="pedestrian_w_transform_20411"> <PrivateAction> <TeleportAction> <Position> <WorldPosition x="-93.2263412475586" y="92.79915618896484" z="0.5"/> </Position> </TeleportAction> </PrivateAction> </Private> <Private entityRef="pedestrian_w_transform_20412"> <PrivateAction> <TeleportAction> <Position> <WorldPosition x="95.41236877441406" y="30.25099754333496" z="0.5"/> </Position> </TeleportAction> </PrivateAction> </Private> <Private entityRef="pedestrian_close_to_hero_20413"> <PrivateAction> <TeleportAction> <Position> <WorldPosition x="-6.484043598175049" y="-146.80355834960938" z="0.0020974730141460896"/> </Position> </TeleportAction> </PrivateAction> </Private> <Private entityRef="pedestrian_w_transform_20414"> <PrivateAction> <TeleportAction> <Position> <WorldPosition x="-11.184225082397461" y="69.56026458740234" z="0.5"/> </Position> </TeleportAction> </PrivateAction> </Private> <Private entityRef="pedestrian_w_transform_20415"> <PrivateAction> <TeleportAction> <Position> <WorldPosition x="-41.97262191772461" y="58.8131217956543" z="0.5"/> </Position> </TeleportAction> </PrivateAction> </Private> <Private entityRef="pedestrian_close_to_adversary_20416"> <PrivateAction> <TeleportAction> <Position> <WorldPosition x="-2.0576682090759277" y="-79.6561508178711" z="0.03385555371642113"/> </Position> </TeleportAction> </PrivateAction> </Private> <Private entityRef="pedestrian_w_transform_20417"> <PrivateAction> <TeleportAction> <Position> <WorldPosition x="91.4918441772461" y="43.224151611328125" z="0.5"/> </Position> </TeleportAction> </PrivateAction> </Private> <Private entityRef="pedestrian_w_transform_20418"> <PrivateAction> <TeleportAction> <Position> <WorldPosition x="48.30902862548828" y="57.6395378112793" z="0.5"/> </Position> </TeleportAction> </PrivateAction> </Private> <Private entityRef="pedestrian_w_transform_20419"> <PrivateAction> <TeleportAction> <Position> <WorldPosition x="-25.144418716430664" y="-76.86022186279297" z="0.5"/> </Position> </TeleportAction> </PrivateAction> </Private> <Private entityRef="pedestrian_close_to_standing_20420"> <PrivateAction> <TeleportAction> <Position> <WorldPosition x="-1.8630354404449463" y="36.194175720214844" z="0.0031027221120893955"/> </Position> </TeleportAction> </PrivateAction> </Private> <Private entityRef="pedestrian_w_transform_20421"> <PrivateAction> <TeleportAction> <Position> <WorldPosition x="-40.43659591674805" y="-51.0945930480957" z="0.5"/> </Position> </TeleportAction> </PrivateAction> </Private> <Private entityRef="pedestrian_close_to_adversary_20422"> <PrivateAction> <TeleportAction> <Position> <WorldPosition x="-2.4540927410125732" y="-81.5959243774414" z="0.03381847217679024"/> </Position> </TeleportAction> </PrivateAction> </Private> <Private entityRef="pedestrian_close_to_hero_20423"> <PrivateAction> <TeleportAction> <Position> <WorldPosition x="-12.95108699798584" y="-161.85682678222656" z="0.0020974730141460896"/> </Position> </TeleportAction> </PrivateAction> </Private> <Private entityRef="pedestrian_w_transform_20424"> <PrivateAction> <TeleportAction> <Position> <WorldPosition x="10.931328773498535" y="94.90885925292969" z="0.5"/> </Position> </TeleportAction> </PrivateAction> </Private> <Private entityRef="pedestrian_close_to_adversary_20425"> <PrivateAction> <TeleportAction> <Position> <WorldPosition x="-1.1339564323425293" y="-63.15623474121094" z="0.03374713659286499"/> </Position> </TeleportAction> </PrivateAction> </Private> <Private entityRef="pedestrian_close_to_hero_20426"> <PrivateAction> <TeleportAction> <Position> <WorldPosition x="-6.38196325302124" y="-148.48434448242188" z="0.0020974730141460896"/> </Position> </TeleportAction> </PrivateAction> </Private> <Private entityRef="pedestrian_w_transform_20427"> <PrivateAction> <TeleportAction> <Position> <WorldPosition x="94.6371078491211" y="99.75647735595703" z="0.5"/> </Position> </TeleportAction> </PrivateAction> </Private> <Private entityRef="pedestrian_w_transform_20428"> <PrivateAction> <TeleportAction> <Position> <WorldPosition x="-93.47756958007812" y="-24.1318302154541" 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 at location (71.33, -21.37, 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_15729"> <Pedestrian model="walker.pedestrian.0001" mass="80" name="walker.pedestrian.0001" pedestrianCategory="pedestrian"> <ParameterDeclarations/> <BoundingBox> <Center x="1.5" y="0.0" z="0.9"/> <Dimensions width="2" length="2" height="2"/> </BoundingBox> <Properties> <Property name="type" value="simulation"/> </Properties> </Pedestrian> </ScenarioObject> <ScenarioObject name="pedestrian_close_to_standing_15730"> <Pedestrian model="walker.pedestrian.0001" mass="80" name="walker.pedestrian.0001" pedestrianCategory="pedestrian"> <ParameterDeclarations/> <BoundingBox> <Center x="1.5" y="0.0" z="0.9"/> <Dimensions width="2" length="2" height="2"/> </BoundingBox> <Properties> <Property name="type" value="simulation"/> </Properties> </Pedestrian> </ScenarioObject> <ScenarioObject name="pedestrian_w_transform_15731"> <Pedestrian model="walker.pedestrian.0001" mass="80" name="walker.pedestrian.0001" pedestrianCategory="pedestrian"> <ParameterDeclarations/> <BoundingBox> <Center x="1.5" y="0.0" z="0.9"/> <Dimensions width="2" length="2" height="2"/> </BoundingBox> <Properties> <Property name="type" value="simulation"/> </Properties> </Pedestrian> </ScenarioObject> <ScenarioObject name="pedestrian_close_to_hero_15732"> <Pedestrian model="walker.pedestrian.0001" mass="80" name="walker.pedestrian.0001" pedestrianCategory="pedestrian"> <ParameterDeclarations/> <BoundingBox> <Center x="1.5" y="0.0" z="0.9"/> <Dimensions width="2" length="2" height="2"/> </BoundingBox> <Properties> <Property name="type" value="simulation"/> </Properties> </Pedestrian> </ScenarioObject> <ScenarioObject name="pedestrian_close_to_hero_15733"> <Pedestrian model="walker.pedestrian.0001" mass="80" name="walker.pedestrian.0001" pedestrianCategory="pedestrian"> <ParameterDeclarations/> <BoundingBox> <Center x="1.5" y="0.0" z="0.9"/> <Dimensions width="2" length="2" height="2"/> </BoundingBox> <Properties> <Property name="type" value="simulation"/> </Properties> </Pedestrian> </ScenarioObject> <ScenarioObject name="pedestrian_close_to_standing_15734"> <Pedestrian model="walker.pedestrian.0001" mass="80" name="walker.pedestrian.0001" pedestrianCategory="pedestrian"> <ParameterDeclarations/> <BoundingBox> <Center x="1.5" y="0.0" z="0.9"/> <Dimensions width="2" length="2" height="2"/> </BoundingBox> <Properties> <Property name="type" value="simulation"/> </Properties> </Pedestrian> </ScenarioObject> <ScenarioObject name="pedestrian_close_to_standing_15735"> <Pedestrian model="walker.pedestrian.0001" mass="80" name="walker.pedestrian.0001" pedestrianCategory="pedestrian"> <ParameterDeclarations/> <BoundingBox> <Center x="1.5" y="0.0" z="0.9"/> <Dimensions width="2" length="2" height="2"/> </BoundingBox> <Properties> <Property name="type" value="simulation"/> </Properties> </Pedestrian> </ScenarioObject> <ScenarioObject name="pedestrian_w_transform_15736"> <Pedestrian model="walker.pedestrian.0001" mass="80" name="walker.pedestrian.0001" pedestrianCategory="pedestrian"> <ParameterDeclarations/> <BoundingBox> <Center x="1.5" y="0.0" z="0.9"/> <Dimensions width="2" length="2" height="2"/> </BoundingBox> <Properties> <Property name="type" value="simulation"/> </Properties> </Pedestrian> </ScenarioObject> <ScenarioObject name="pedestrian_close_to_standing_15737"> <Pedestrian model="walker.pedestrian.0001" mass="80" name="walker.pedestrian.0001" pedestrianCategory="pedestrian"> <ParameterDeclarations/> <BoundingBox> <Center x="1.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_15729"> <PrivateAction> <TeleportAction> <Position> <WorldPosition x="-13.475573539733887" y="-248.27609252929688" z="0.001678848173469305"/> </Position> </TeleportAction> </PrivateAction> </Private> <Private entityRef="pedestrian_close_to_standing_15730"> <PrivateAction> <TeleportAction> <Position> <WorldPosition x="-2.711188793182373" y="19.756832122802734" z="0.003046493511646986"/> </Position> </TeleportAction> </PrivateAction> </Private> <Private entityRef="pedestrian_w_transform_15731"> <PrivateAction> <TeleportAction> <Position> <WorldPosition x="62.14058303833008" y="-75.21480560302734" z="0.5"/> </Position> </TeleportAction> </PrivateAction> </Private> <Private entityRef="pedestrian_close_to_hero_15732"> <PrivateAction> <TeleportAction> <Position> <WorldPosition x="-4.286510944366455" y="-256.4341125488281" z="0.001678848173469305"/> </Position> </TeleportAction> </PrivateAction> </Private> <Private entityRef="pedestrian_close_to_hero_15733"> <PrivateAction> <TeleportAction> <Position> <WorldPosition x="-18.55678939819336" y="-238.9634552001953" z="0.001678848173469305"/> </Position> </TeleportAction> </PrivateAction> </Private> <Private entityRef="pedestrian_close_to_standing_15734"> <PrivateAction> <TeleportAction> <Position> <WorldPosition x="-5.969668388366699" y="33.70192337036133" z="0.0030199813190847635"/> </Position> </TeleportAction> </PrivateAction> </Private> <Private entityRef="pedestrian_close_to_standing_15735"> <PrivateAction> <TeleportAction> <Position> <WorldPosition x="-1.6315277814865112" y="44.85468673706055" z="0.0030334852635860443"/> </Position> </TeleportAction> </PrivateAction> </Private> <Private entityRef="pedestrian_w_transform_15736"> <PrivateAction> <TeleportAction> <Position> <WorldPosition x="-9.013627052307129" y="-49.58467483520508" z="0.5"/> </Position> </TeleportAction> </PrivateAction> </Private> <Private entityRef="pedestrian_close_to_standing_15737"> <PrivateAction> <TeleportAction> <Position> <WorldPosition x="-22.79521369934082" y="24.781719207763672" z="0.0030290603172034025"/> </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_15729"> <Pedestrian model="walker.pedestrian.0001" mass="80" name="walker.pedestrian.0001" pedestrianCategory="pedestrian"> <ParameterDeclarations/> <BoundingBox> <Center x="1.5" y="0.0" z="0.9"/> <Dimensions width="2" length="2" height="2"/> </BoundingBox> <Properties> <Property name="type" value="simulation"/> </Properties> </Pedestrian> </ScenarioObject> <ScenarioObject name="pedestrian_close_to_standing_15730"> <Pedestrian model="walker.pedestrian.0001" mass="80" name="walker.pedestrian.0001" pedestrianCategory="pedestrian"> <ParameterDeclarations/> <BoundingBox> <Center x="1.5" y="0.0" z="0.9"/> <Dimensions width="2" length="2" height="2"/> </BoundingBox> <Properties> <Property name="type" value="simulation"/> </Properties> </Pedestrian> </ScenarioObject> <ScenarioObject name="pedestrian_w_transform_15731"> <Pedestrian model="walker.pedestrian.0001" mass="80" name="walker.pedestrian.0001" pedestrianCategory="pedestrian"> <ParameterDeclarations/> <BoundingBox> <Center x="1.5" y="0.0" z="0.9"/> <Dimensions width="2" length="2" height="2"/> </BoundingBox> <Properties> <Property name="type" value="simulation"/> </Properties> </Pedestrian> </ScenarioObject> <ScenarioObject name="pedestrian_close_to_hero_15732"> <Pedestrian model="walker.pedestrian.0001" mass="80" name="walker.pedestrian.0001" pedestrianCategory="pedestrian"> <ParameterDeclarations/> <BoundingBox> <Center x="1.5" y="0.0" z="0.9"/> <Dimensions width="2" length="2" height="2"/> </BoundingBox> <Properties> <Property name="type" value="simulation"/> </Properties> </Pedestrian> </ScenarioObject> <ScenarioObject name="pedestrian_close_to_hero_15733"> <Pedestrian model="walker.pedestrian.0001" mass="80" name="walker.pedestrian.0001" pedestrianCategory="pedestrian"> <ParameterDeclarations/> <BoundingBox> <Center x="1.5" y="0.0" z="0.9"/> <Dimensions width="2" length="2" height="2"/> </BoundingBox> <Properties> <Property name="type" value="simulation"/> </Properties> </Pedestrian> </ScenarioObject> <ScenarioObject name="pedestrian_close_to_standing_15734"> <Pedestrian model="walker.pedestrian.0001" mass="80" name="walker.pedestrian.0001" pedestrianCategory="pedestrian"> <ParameterDeclarations/> <BoundingBox> <Center x="1.5" y="0.0" z="0.9"/> <Dimensions width="2" length="2" height="2"/> </BoundingBox> <Properties> <Property name="type" value="simulation"/> </Properties> </Pedestrian> </ScenarioObject> <ScenarioObject name="pedestrian_close_to_standing_15735"> <Pedestrian model="walker.pedestrian.0001" mass="80" name="walker.pedestrian.0001" pedestrianCategory="pedestrian"> <ParameterDeclarations/> <BoundingBox> <Center x="1.5" y="0.0" z="0.9"/> <Dimensions width="2" length="2" height="2"/> </BoundingBox> <Properties> <Property name="type" value="simulation"/> </Properties> </Pedestrian> </ScenarioObject> <ScenarioObject name="pedestrian_w_transform_15736"> <Pedestrian model="walker.pedestrian.0001" mass="80" name="walker.pedestrian.0001" pedestrianCategory="pedestrian"> <ParameterDeclarations/> <BoundingBox> <Center x="1.5" y="0.0" z="0.9"/> <Dimensions width="2" length="2" height="2"/> </BoundingBox> <Properties> <Property name="type" value="simulation"/> </Properties> </Pedestrian> </ScenarioObject> <ScenarioObject name="pedestrian_close_to_standing_15737"> <Pedestrian model="walker.pedestrian.0001" mass="80" name="walker.pedestrian.0001" pedestrianCategory="pedestrian"> <ParameterDeclarations/> <BoundingBox> <Center x="1.5" y="0.0" z="0.9"/> <Dimensions width="2" length="2" height="2"/> </BoundingBox> <Properties> <Property name="type" value="simulation"/> </Properties> </Pedestrian> </ScenarioObject> <ScenarioObject name="pedestrian_w_transform_15738"> <Pedestrian model="walker.pedestrian.0001" mass="80" name="walker.pedestrian.0001" pedestrianCategory="pedestrian"> <ParameterDeclarations/> <BoundingBox> <Center x="1.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_15729"> <PrivateAction> <TeleportAction> <Position> <WorldPosition x="-13.475573539733887" y="-248.27609252929688" z="0.001678848173469305"/> </Position> </TeleportAction> </PrivateAction> </Private> <Private entityRef="pedestrian_close_to_standing_15730"> <PrivateAction> <TeleportAction> <Position> <WorldPosition x="-2.711188793182373" y="19.756832122802734" z="0.003046493511646986"/> </Position> </TeleportAction> </PrivateAction> </Private> <Private entityRef="pedestrian_w_transform_15731"> <PrivateAction> <TeleportAction> <Position> <WorldPosition x="62.14058303833008" y="-75.21480560302734" z="0.5"/> </Position> </TeleportAction> </PrivateAction> </Private> <Private entityRef="pedestrian_close_to_hero_15732"> <PrivateAction> <TeleportAction> <Position> <WorldPosition x="-4.286510944366455" y="-256.4341125488281" z="0.001678848173469305"/> </Position> </TeleportAction> </PrivateAction> </Private> <Private entityRef="pedestrian_close_to_hero_15733"> <PrivateAction> <TeleportAction> <Position> <WorldPosition x="-18.55678939819336" y="-238.9634552001953" z="0.001678848173469305"/> </Position> </TeleportAction> </PrivateAction> </Private> <Private entityRef="pedestrian_close_to_standing_15734"> <PrivateAction> <TeleportAction> <Position> <WorldPosition x="-5.969668388366699" y="33.70192337036133" z="0.0030199813190847635"/> </Position> </TeleportAction> </PrivateAction> </Private> <Private entityRef="pedestrian_close_to_standing_15735"> <PrivateAction> <TeleportAction> <Position> <WorldPosition x="-1.6315277814865112" y="44.85468673706055" z="0.0030334852635860443"/> </Position> </TeleportAction> </PrivateAction> </Private> <Private entityRef="pedestrian_w_transform_15736"> <PrivateAction> <TeleportAction> <Position> <WorldPosition x="-9.013627052307129" y="-49.58467483520508" z="0.5"/> </Position> </TeleportAction> </PrivateAction> </Private> <Private entityRef="pedestrian_close_to_standing_15737"> <PrivateAction> <TeleportAction> <Position> <WorldPosition x="-22.79521369934082" y="24.781719207763672" z="0.0030290603172034025"/> </Position> </TeleportAction> </PrivateAction> </Private> <Private entityRef="pedestrian_w_transform_15738"> <PrivateAction> <TeleportAction> <Position> <WorldPosition x="71.32556915283203" y="-21.367414474487305" 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 (41.16, 72.63, 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_20061"> <Pedestrian model="walker.pedestrian.0001" mass="80" name="walker.pedestrian.0001" pedestrianCategory="pedestrian"> <ParameterDeclarations/> <BoundingBox> <Center x="1.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_20061"> <PrivateAction> <TeleportAction> <Position> <WorldPosition x="-12.68364429473877" y="-71.92691802978516" z="0.03377368673682213"/> </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_20061"> <Pedestrian model="walker.pedestrian.0001" mass="80" name="walker.pedestrian.0001" pedestrianCategory="pedestrian"> <ParameterDeclarations/> <BoundingBox> <Center x="1.5" y="0.0" z="0.9"/> <Dimensions width="2" length="2" height="2"/> </BoundingBox> <Properties> <Property name="type" value="simulation"/> </Properties> </Pedestrian> </ScenarioObject> <ScenarioObject name="pedestrian_w_transform_20062"> <Pedestrian model="walker.pedestrian.0001" mass="80" name="walker.pedestrian.0001" pedestrianCategory="pedestrian"> <ParameterDeclarations/> <BoundingBox> <Center x="1.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_20061"> <PrivateAction> <TeleportAction> <Position> <WorldPosition x="-12.68364429473877" y="-71.92691802978516" z="0.03377368673682213"/> </Position> </TeleportAction> </PrivateAction> </Private> <Private entityRef="pedestrian_w_transform_20062"> <PrivateAction> <TeleportAction> <Position> <WorldPosition x="41.162837982177734" y="72.62836456298828" 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 (77.24, -5.68, 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_7198"> <Pedestrian model="walker.pedestrian.0001" mass="80" name="walker.pedestrian.0001" pedestrianCategory="pedestrian"> <ParameterDeclarations/> <BoundingBox> <Center x="1.5" y="0.0" z="0.9"/> <Dimensions width="2" length="2" height="2"/> </BoundingBox> <Properties> <Property name="type" value="simulation"/> </Properties> </Pedestrian> </ScenarioObject> <ScenarioObject name="pedestrian_close_to_hero_7200"> <Pedestrian model="walker.pedestrian.0001" mass="80" name="walker.pedestrian.0001" pedestrianCategory="pedestrian"> <ParameterDeclarations/> <BoundingBox> <Center x="1.5" y="0.0" z="0.9"/> <Dimensions width="2" length="2" height="2"/> </BoundingBox> <Properties> <Property name="type" value="simulation"/> </Properties> </Pedestrian> </ScenarioObject> <ScenarioObject name="pedestrian_close_to_standing_7201"> <Pedestrian model="walker.pedestrian.0001" mass="80" name="walker.pedestrian.0001" pedestrianCategory="pedestrian"> <ParameterDeclarations/> <BoundingBox> <Center x="1.5" y="0.0" z="0.9"/> <Dimensions width="2" length="2" height="2"/> </BoundingBox> <Properties> <Property name="type" value="simulation"/> </Properties> </Pedestrian> </ScenarioObject> <ScenarioObject name="pedestrian_close_to_adversary_7202"> <Pedestrian model="walker.pedestrian.0001" mass="80" name="walker.pedestrian.0001" pedestrianCategory="pedestrian"> <ParameterDeclarations/> <BoundingBox> <Center x="1.5" y="0.0" z="0.9"/> <Dimensions width="2" length="2" height="2"/> </BoundingBox> <Properties> <Property name="type" value="simulation"/> </Properties> </Pedestrian> </ScenarioObject> <ScenarioObject name="pedestrian_w_transform_7203"> <Pedestrian model="walker.pedestrian.0001" mass="80" name="walker.pedestrian.0001" pedestrianCategory="pedestrian"> <ParameterDeclarations/> <BoundingBox> <Center x="1.5" y="0.0" z="0.9"/> <Dimensions width="2" length="2" height="2"/> </BoundingBox> <Properties> <Property name="type" value="simulation"/> </Properties> </Pedestrian> </ScenarioObject> <ScenarioObject name="pedestrian_w_transform_7204"> <Pedestrian model="walker.pedestrian.0001" mass="80" name="walker.pedestrian.0001" pedestrianCategory="pedestrian"> <ParameterDeclarations/> <BoundingBox> <Center x="1.5" y="0.0" z="0.9"/> <Dimensions width="2" length="2" height="2"/> </BoundingBox> <Properties> <Property name="type" value="simulation"/> </Properties> </Pedestrian> </ScenarioObject> <ScenarioObject name="pedestrian_close_to_hero_7205"> <Pedestrian model="walker.pedestrian.0001" mass="80" name="walker.pedestrian.0001" pedestrianCategory="pedestrian"> <ParameterDeclarations/> <BoundingBox> <Center x="1.5" y="0.0" z="0.9"/> <Dimensions width="2" length="2" height="2"/> </BoundingBox> <Properties> <Property name="type" value="simulation"/> </Properties> </Pedestrian> </ScenarioObject> <ScenarioObject name="pedestrian_w_transform_7206"> <Pedestrian model="walker.pedestrian.0001" mass="80" name="walker.pedestrian.0001" pedestrianCategory="pedestrian"> <ParameterDeclarations/> <BoundingBox> <Center x="1.5" y="0.0" z="0.9"/> <Dimensions width="2" length="2" height="2"/> </BoundingBox> <Properties> <Property name="type" value="simulation"/> </Properties> </Pedestrian> </ScenarioObject> <ScenarioObject name="pedestrian_w_transform_7207"> <Pedestrian model="walker.pedestrian.0001" mass="80" name="walker.pedestrian.0001" pedestrianCategory="pedestrian"> <ParameterDeclarations/> <BoundingBox> <Center x="1.5" y="0.0" z="0.9"/> <Dimensions width="2" length="2" height="2"/> </BoundingBox> <Properties> <Property name="type" value="simulation"/> </Properties> </Pedestrian> </ScenarioObject> <ScenarioObject name="pedestrian_w_transform_7208"> <Pedestrian model="walker.pedestrian.0001" mass="80" name="walker.pedestrian.0001" pedestrianCategory="pedestrian"> <ParameterDeclarations/> <BoundingBox> <Center x="1.5" y="0.0" z="0.9"/> <Dimensions width="2" length="2" height="2"/> </BoundingBox> <Properties> <Property name="type" value="simulation"/> </Properties> </Pedestrian> </ScenarioObject> <ScenarioObject name="pedestrian_w_transform_7209"> <Pedestrian model="walker.pedestrian.0001" mass="80" name="walker.pedestrian.0001" pedestrianCategory="pedestrian"> <ParameterDeclarations/> <BoundingBox> <Center x="1.5" y="0.0" z="0.9"/> <Dimensions width="2" length="2" height="2"/> </BoundingBox> <Properties> <Property name="type" value="simulation"/> </Properties> </Pedestrian> </ScenarioObject> <ScenarioObject name="pedestrian_close_to_adversary_7210"> <Pedestrian model="walker.pedestrian.0001" mass="80" name="walker.pedestrian.0001" pedestrianCategory="pedestrian"> <ParameterDeclarations/> <BoundingBox> <Center x="1.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_7198"> <PrivateAction> <TeleportAction> <Position> <WorldPosition x="-12.045257568359375" y="-146.02920532226562" z="0.0015143966302275658"/> </Position> </TeleportAction> </PrivateAction> </Private> <Private entityRef="pedestrian_close_to_hero_7200"> <PrivateAction> <TeleportAction> <Position> <WorldPosition x="-9.628375053405762" y="-147.98043823242188" z="0.0015143966302275658"/> </Position> </TeleportAction> </PrivateAction> </Private> <Private entityRef="pedestrian_close_to_standing_7201"> <PrivateAction> <TeleportAction> <Position> <WorldPosition x="-18.09884262084961" y="23.317232131958008" z="0.0030593490228056908"/> </Position> </TeleportAction> </PrivateAction> </Private> <Private entityRef="pedestrian_close_to_adversary_7202"> <PrivateAction> <TeleportAction> <Position> <WorldPosition x="-16.26976776123047" y="-78.6243896484375" z="0.03375980257987976"/> </Position> </TeleportAction> </PrivateAction> </Private> <Private entityRef="pedestrian_w_transform_7203"> <PrivateAction> <TeleportAction> <Position> <WorldPosition x="58.76427459716797" y="-29.00667381286621" z="0.5"/> </Position> </TeleportAction> </PrivateAction> </Private> <Private entityRef="pedestrian_w_transform_7204"> <PrivateAction> <TeleportAction> <Position> <WorldPosition x="65.37789916992188" y="41.98432159423828" z="0.5"/> </Position> </TeleportAction> </PrivateAction> </Private> <Private entityRef="pedestrian_close_to_hero_7205"> <PrivateAction> <TeleportAction> <Position> <WorldPosition x="-23.394792556762695" y="-159.79525756835938" z="0.0015143966302275658"/> </Position> </TeleportAction> </PrivateAction> </Private> <Private entityRef="pedestrian_w_transform_7206"> <PrivateAction> <TeleportAction> <Position> <WorldPosition x="19.71194839477539" y="75.6645736694336" z="0.5"/> </Position> </TeleportAction> </PrivateAction> </Private> <Private entityRef="pedestrian_w_transform_7207"> <PrivateAction> <TeleportAction> <Position> <WorldPosition x="40.357940673828125" y="94.399658203125" z="0.5"/> </Position> </TeleportAction> </PrivateAction> </Private> <Private entityRef="pedestrian_w_transform_7208"> <PrivateAction> <TeleportAction> <Position> <WorldPosition x="82.25759887695312" y="-57.59621810913086" z="0.5"/> </Position> </TeleportAction> </PrivateAction> </Private> <Private entityRef="pedestrian_w_transform_7209"> <PrivateAction> <TeleportAction> <Position> <WorldPosition x="59.3769416809082" y="-37.27949142456055" z="0.5"/> </Position> </TeleportAction> </PrivateAction> </Private> <Private entityRef="pedestrian_close_to_adversary_7210"> <PrivateAction> <TeleportAction> <Position> <WorldPosition x="-12.952963829040527" y="-65.08122253417969" z="0.03383197635412216"/> </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_7198"> <Pedestrian model="walker.pedestrian.0001" mass="80" name="walker.pedestrian.0001" pedestrianCategory="pedestrian"> <ParameterDeclarations/> <BoundingBox> <Center x="1.5" y="0.0" z="0.9"/> <Dimensions width="2" length="2" height="2"/> </BoundingBox> <Properties> <Property name="type" value="simulation"/> </Properties> </Pedestrian> </ScenarioObject> <ScenarioObject name="pedestrian_close_to_hero_7200"> <Pedestrian model="walker.pedestrian.0001" mass="80" name="walker.pedestrian.0001" pedestrianCategory="pedestrian"> <ParameterDeclarations/> <BoundingBox> <Center x="1.5" y="0.0" z="0.9"/> <Dimensions width="2" length="2" height="2"/> </BoundingBox> <Properties> <Property name="type" value="simulation"/> </Properties> </Pedestrian> </ScenarioObject> <ScenarioObject name="pedestrian_close_to_standing_7201"> <Pedestrian model="walker.pedestrian.0001" mass="80" name="walker.pedestrian.0001" pedestrianCategory="pedestrian"> <ParameterDeclarations/> <BoundingBox> <Center x="1.5" y="0.0" z="0.9"/> <Dimensions width="2" length="2" height="2"/> </BoundingBox> <Properties> <Property name="type" value="simulation"/> </Properties> </Pedestrian> </ScenarioObject> <ScenarioObject name="pedestrian_close_to_adversary_7202"> <Pedestrian model="walker.pedestrian.0001" mass="80" name="walker.pedestrian.0001" pedestrianCategory="pedestrian"> <ParameterDeclarations/> <BoundingBox> <Center x="1.5" y="0.0" z="0.9"/> <Dimensions width="2" length="2" height="2"/> </BoundingBox> <Properties> <Property name="type" value="simulation"/> </Properties> </Pedestrian> </ScenarioObject> <ScenarioObject name="pedestrian_w_transform_7203"> <Pedestrian model="walker.pedestrian.0001" mass="80" name="walker.pedestrian.0001" pedestrianCategory="pedestrian"> <ParameterDeclarations/> <BoundingBox> <Center x="1.5" y="0.0" z="0.9"/> <Dimensions width="2" length="2" height="2"/> </BoundingBox> <Properties> <Property name="type" value="simulation"/> </Properties> </Pedestrian> </ScenarioObject> <ScenarioObject name="pedestrian_w_transform_7204"> <Pedestrian model="walker.pedestrian.0001" mass="80" name="walker.pedestrian.0001" pedestrianCategory="pedestrian"> <ParameterDeclarations/> <BoundingBox> <Center x="1.5" y="0.0" z="0.9"/> <Dimensions width="2" length="2" height="2"/> </BoundingBox> <Properties> <Property name="type" value="simulation"/> </Properties> </Pedestrian> </ScenarioObject> <ScenarioObject name="pedestrian_close_to_hero_7205"> <Pedestrian model="walker.pedestrian.0001" mass="80" name="walker.pedestrian.0001" pedestrianCategory="pedestrian"> <ParameterDeclarations/> <BoundingBox> <Center x="1.5" y="0.0" z="0.9"/> <Dimensions width="2" length="2" height="2"/> </BoundingBox> <Properties> <Property name="type" value="simulation"/> </Properties> </Pedestrian> </ScenarioObject> <ScenarioObject name="pedestrian_w_transform_7206"> <Pedestrian model="walker.pedestrian.0001" mass="80" name="walker.pedestrian.0001" pedestrianCategory="pedestrian"> <ParameterDeclarations/> <BoundingBox> <Center x="1.5" y="0.0" z="0.9"/> <Dimensions width="2" length="2" height="2"/> </BoundingBox> <Properties> <Property name="type" value="simulation"/> </Properties> </Pedestrian> </ScenarioObject> <ScenarioObject name="pedestrian_w_transform_7207"> <Pedestrian model="walker.pedestrian.0001" mass="80" name="walker.pedestrian.0001" pedestrianCategory="pedestrian"> <ParameterDeclarations/> <BoundingBox> <Center x="1.5" y="0.0" z="0.9"/> <Dimensions width="2" length="2" height="2"/> </BoundingBox> <Properties> <Property name="type" value="simulation"/> </Properties> </Pedestrian> </ScenarioObject> <ScenarioObject name="pedestrian_w_transform_7208"> <Pedestrian model="walker.pedestrian.0001" mass="80" name="walker.pedestrian.0001" pedestrianCategory="pedestrian"> <ParameterDeclarations/> <BoundingBox> <Center x="1.5" y="0.0" z="0.9"/> <Dimensions width="2" length="2" height="2"/> </BoundingBox> <Properties> <Property name="type" value="simulation"/> </Properties> </Pedestrian> </ScenarioObject> <ScenarioObject name="pedestrian_w_transform_7209"> <Pedestrian model="walker.pedestrian.0001" mass="80" name="walker.pedestrian.0001" pedestrianCategory="pedestrian"> <ParameterDeclarations/> <BoundingBox> <Center x="1.5" y="0.0" z="0.9"/> <Dimensions width="2" length="2" height="2"/> </BoundingBox> <Properties> <Property name="type" value="simulation"/> </Properties> </Pedestrian> </ScenarioObject> <ScenarioObject name="pedestrian_close_to_adversary_7210"> <Pedestrian model="walker.pedestrian.0001" mass="80" name="walker.pedestrian.0001" pedestrianCategory="pedestrian"> <ParameterDeclarations/> <BoundingBox> <Center x="1.5" y="0.0" z="0.9"/> <Dimensions width="2" length="2" height="2"/> </BoundingBox> <Properties> <Property name="type" value="simulation"/> </Properties> </Pedestrian> </ScenarioObject> <ScenarioObject name="pedestrian_w_transform_7211"> <Pedestrian model="walker.pedestrian.0001" mass="80" name="walker.pedestrian.0001" pedestrianCategory="pedestrian"> <ParameterDeclarations/> <BoundingBox> <Center x="1.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_7198"> <PrivateAction> <TeleportAction> <Position> <WorldPosition x="-12.045257568359375" y="-146.02920532226562" z="0.0015143966302275658"/> </Position> </TeleportAction> </PrivateAction> </Private> <Private entityRef="pedestrian_close_to_hero_7200"> <PrivateAction> <TeleportAction> <Position> <WorldPosition x="-9.628375053405762" y="-147.98043823242188" z="0.0015143966302275658"/> </Position> </TeleportAction> </PrivateAction> </Private> <Private entityRef="pedestrian_close_to_standing_7201"> <PrivateAction> <TeleportAction> <Position> <WorldPosition x="-18.09884262084961" y="23.317232131958008" z="0.0030593490228056908"/> </Position> </TeleportAction> </PrivateAction> </Private> <Private entityRef="pedestrian_close_to_adversary_7202"> <PrivateAction> <TeleportAction> <Position> <WorldPosition x="-16.26976776123047" y="-78.6243896484375" z="0.03375980257987976"/> </Position> </TeleportAction> </PrivateAction> </Private> <Private entityRef="pedestrian_w_transform_7203"> <PrivateAction> <TeleportAction> <Position> <WorldPosition x="58.76427459716797" y="-29.00667381286621" z="0.5"/> </Position> </TeleportAction> </PrivateAction> </Private> <Private entityRef="pedestrian_w_transform_7204"> <PrivateAction> <TeleportAction> <Position> <WorldPosition x="65.37789916992188" y="41.98432159423828" z="0.5"/> </Position> </TeleportAction> </PrivateAction> </Private> <Private entityRef="pedestrian_close_to_hero_7205"> <PrivateAction> <TeleportAction> <Position> <WorldPosition x="-23.394792556762695" y="-159.79525756835938" z="0.0015143966302275658"/> </Position> </TeleportAction> </PrivateAction> </Private> <Private entityRef="pedestrian_w_transform_7206"> <PrivateAction> <TeleportAction> <Position> <WorldPosition x="19.71194839477539" y="75.6645736694336" z="0.5"/> </Position> </TeleportAction> </PrivateAction> </Private> <Private entityRef="pedestrian_w_transform_7207"> <PrivateAction> <TeleportAction> <Position> <WorldPosition x="40.357940673828125" y="94.399658203125" z="0.5"/> </Position> </TeleportAction> </PrivateAction> </Private> <Private entityRef="pedestrian_w_transform_7208"> <PrivateAction> <TeleportAction> <Position> <WorldPosition x="82.25759887695312" y="-57.59621810913086" z="0.5"/> </Position> </TeleportAction> </PrivateAction> </Private> <Private entityRef="pedestrian_w_transform_7209"> <PrivateAction> <TeleportAction> <Position> <WorldPosition x="59.3769416809082" y="-37.27949142456055" z="0.5"/> </Position> </TeleportAction> </PrivateAction> </Private> <Private entityRef="pedestrian_close_to_adversary_7210"> <PrivateAction> <TeleportAction> <Position> <WorldPosition x="-12.952963829040527" y="-65.08122253417969" z="0.03383197635412216"/> </Position> </TeleportAction> </PrivateAction> </Private> <Private entityRef="pedestrian_w_transform_7211"> <PrivateAction> <TeleportAction> <Position> <WorldPosition x="77.2420425415039" y="-5.6759352684021" 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 actor named pedestrian_w_transform_17814? ``` <?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_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_w_transform_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_17799"> <Pedestrian model="walker.pedestrian.0001" mass="80" name="walker.pedestrian.0001" pedestrianCategory="pedestrian"> <ParameterDeclarations/> <BoundingBox> <Center x="1.5" y="0.0" z="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_w_transform_17814"> <Pedestrian model="walker.pedestrian.0001" mass="80" name="walker.pedestrian.0001" pedestrianCategory="pedestrian"> <ParameterDeclarations/> <BoundingBox> <Center x="1.5" y="0.0" z="0.9"/> <Dimensions width="2" length="2" height="2"/> </BoundingBox> <Properties> <Property name="type" value="simulation"/> </Properties> </Pedestrian> </ScenarioObject> <ScenarioObject name="pedestrian_w_transform_17816"> <Pedestrian model="walker.pedestrian.0001" mass="80" name="walker.pedestrian.0001" pedestrianCategory="pedestrian"> <ParameterDeclarations/> <BoundingBox> <Center x="1.5" y="0.0" z="0.9"/> <Dimensions width="2" length="2" height="2"/> </BoundingBox> <Properties> <Property name="type" value="simulation"/> </Properties> </Pedestrian> </ScenarioObject> <ScenarioObject name="pedestrian_close_to_adversary_17821"> <Pedestrian model="walker.pedestrian.0001" mass="80" name="walker.pedestrian.0001" pedestrianCategory="pedestrian"> <ParameterDeclarations/> <BoundingBox> <Center x="1.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_17796"> <PrivateAction> <TeleportAction> <Position> <WorldPosition x="87.7831802368164" y="17.389150619506836" z="0.5"/> </Position> </TeleportAction> </PrivateAction> </Private> <Private entityRef="pedestrian_w_transform_17798"> <PrivateAction> <TeleportAction> <Position> <WorldPosition x="6.786280632019043" y="-61.274349212646484" z="0.5"/> </Position> </TeleportAction> </PrivateAction> </Private> <Private entityRef="pedestrian_w_transform_17799"> <PrivateAction> <TeleportAction> <Position> <WorldPosition x="-4.615163803100586" y="94.73927307128906" z="0.5"/> </Position> </TeleportAction> </PrivateAction> </Private> <Private entityRef="pedestrian_w_transform_17805"> <PrivateAction> <TeleportAction> <Position> <WorldPosition x="-13.045571327209473" y="-94.86236572265625" z="0.5"/> </Position> </TeleportAction> </PrivateAction> </Private> <Private entityRef="pedestrian_w_transform_17814"> <PrivateAction> <TeleportAction> <Position> <WorldPosition x="-98.94921112060547" y="75.17253875732422" z="0.5"/> </Position> </TeleportAction> </PrivateAction> </Private> <Private entityRef="pedestrian_w_transform_17816"> <PrivateAction> <TeleportAction> <Position> <WorldPosition x="-99.35661315917969" y="-93.32047271728516" z="0.5"/> </Position> </TeleportAction> </PrivateAction> </Private> <Private entityRef="pedestrian_close_to_adversary_17821"> <PrivateAction> <TeleportAction> <Position> <WorldPosition x="-15.265765190124512" y="-61.425228118896484" z="0.033760108053684235"/> </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_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_w_transform_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_17799"> <Pedestrian model="walker.pedestrian.0001" mass="80" name="walker.pedestrian.0001" pedestrianCategory="pedestrian"> <ParameterDeclarations/> <BoundingBox> <Center x="1.5" y="0.0" z="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_w_transform_17816"> <Pedestrian model="walker.pedestrian.0001" mass="80" name="walker.pedestrian.0001" pedestrianCategory="pedestrian"> <ParameterDeclarations/> <BoundingBox> <Center x="1.5" y="0.0" z="0.9"/> <Dimensions width="2" length="2" height="2"/> </BoundingBox> <Properties> <Property name="type" value="simulation"/> </Properties> </Pedestrian> </ScenarioObject> <ScenarioObject name="pedestrian_close_to_adversary_17821"> <Pedestrian model="walker.pedestrian.0001" mass="80" name="walker.pedestrian.0001" pedestrianCategory="pedestrian"> <ParameterDeclarations/> <BoundingBox> <Center x="1.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_17796"> <PrivateAction> <TeleportAction> <Position> <WorldPosition x="87.7831802368164" y="17.389150619506836" z="0.5"/> </Position> </TeleportAction> </PrivateAction> </Private> <Private entityRef="pedestrian_w_transform_17798"> <PrivateAction> <TeleportAction> <Position> <WorldPosition x="6.786280632019043" y="-61.274349212646484" z="0.5"/> </Position> </TeleportAction> </PrivateAction> </Private> <Private entityRef="pedestrian_w_transform_17799"> <PrivateAction> <TeleportAction> <Position> <WorldPosition x="-4.615163803100586" y="94.73927307128906" z="0.5"/> </Position> </TeleportAction> </PrivateAction> </Private> <Private entityRef="pedestrian_w_transform_17805"> <PrivateAction> <TeleportAction> <Position> <WorldPosition x="-13.045571327209473" y="-94.86236572265625" z="0.5"/> </Position> </TeleportAction> </PrivateAction> </Private> <Private entityRef="pedestrian_w_transform_17816"> <PrivateAction> <TeleportAction> <Position> <WorldPosition x="-99.35661315917969" y="-93.32047271728516" z="0.5"/> </Position> </TeleportAction> </PrivateAction> </Private> <Private entityRef="pedestrian_close_to_adversary_17821"> <PrivateAction> <TeleportAction> <Position> <WorldPosition x="-15.265765190124512" y="-61.425228118896484" z="0.033760108053684235"/> </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_5135? ``` <?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_5128"> <Pedestrian model="walker.pedestrian.0001" mass="80" name="walker.pedestrian.0001" pedestrianCategory="pedestrian"> <ParameterDeclarations/> <BoundingBox> <Center x="1.5" y="0.0" z="0.9"/> <Dimensions width="2" length="2" height="2"/> </BoundingBox> <Properties> <Property name="type" value="simulation"/> </Properties> </Pedestrian> </ScenarioObject> <ScenarioObject name="pedestrian_w_transform_5129"> <Pedestrian model="walker.pedestrian.0001" mass="80" name="walker.pedestrian.0001" pedestrianCategory="pedestrian"> <ParameterDeclarations/> <BoundingBox> <Center x="1.5" y="0.0" z="0.9"/> <Dimensions width="2" length="2" height="2"/> </BoundingBox> <Properties> <Property name="type" value="simulation"/> </Properties> </Pedestrian> </ScenarioObject> <ScenarioObject name="pedestrian_w_transform_5132"> <Pedestrian model="walker.pedestrian.0001" mass="80" name="walker.pedestrian.0001" pedestrianCategory="pedestrian"> <ParameterDeclarations/> <BoundingBox> <Center x="1.5" y="0.0" z="0.9"/> <Dimensions width="2" length="2" height="2"/> </BoundingBox> <Properties> <Property name="type" value="simulation"/> </Properties> </Pedestrian> </ScenarioObject> <ScenarioObject name="pedestrian_w_transform_5133"> <Pedestrian model="walker.pedestrian.0001" mass="80" name="walker.pedestrian.0001" pedestrianCategory="pedestrian"> <ParameterDeclarations/> <BoundingBox> <Center x="1.5" y="0.0" z="0.9"/> <Dimensions width="2" length="2" height="2"/> </BoundingBox> <Properties> <Property name="type" value="simulation"/> </Properties> </Pedestrian> </ScenarioObject> <ScenarioObject name="pedestrian_w_transform_5134"> <Pedestrian model="walker.pedestrian.0001" mass="80" name="walker.pedestrian.0001" pedestrianCategory="pedestrian"> <ParameterDeclarations/> <BoundingBox> <Center x="1.5" y="0.0" z="0.9"/> <Dimensions width="2" length="2" height="2"/> </BoundingBox> <Properties> <Property name="type" value="simulation"/> </Properties> </Pedestrian> </ScenarioObject> <ScenarioObject name="pedestrian_close_to_hero_5135"> <Pedestrian model="walker.pedestrian.0001" mass="80" name="walker.pedestrian.0001" pedestrianCategory="pedestrian"> <ParameterDeclarations/> <BoundingBox> <Center x="1.5" y="0.0" z="0.9"/> <Dimensions width="2" length="2" height="2"/> </BoundingBox> <Properties> <Property name="type" value="simulation"/> </Properties> </Pedestrian> </ScenarioObject> <ScenarioObject name="pedestrian_close_to_standing_5137"> <Pedestrian model="walker.pedestrian.0001" mass="80" name="walker.pedestrian.0001" pedestrianCategory="pedestrian"> <ParameterDeclarations/> <BoundingBox> <Center x="1.5" y="0.0" z="0.9"/> <Dimensions width="2" length="2" height="2"/> </BoundingBox> <Properties> <Property name="type" value="simulation"/> </Properties> </Pedestrian> </ScenarioObject> <ScenarioObject name="pedestrian_w_transform_5138"> <Pedestrian model="walker.pedestrian.0001" mass="80" name="walker.pedestrian.0001" pedestrianCategory="pedestrian"> <ParameterDeclarations/> <BoundingBox> <Center x="1.5" y="0.0" z="0.9"/> <Dimensions width="2" length="2" height="2"/> </BoundingBox> <Properties> <Property name="type" value="simulation"/> </Properties> </Pedestrian> </ScenarioObject> <ScenarioObject name="pedestrian_close_to_hero_5139"> <Pedestrian model="walker.pedestrian.0001" mass="80" name="walker.pedestrian.0001" pedestrianCategory="pedestrian"> <ParameterDeclarations/> <BoundingBox> <Center x="1.5" y="0.0" z="0.9"/> <Dimensions width="2" length="2" height="2"/> </BoundingBox> <Properties> <Property name="type" value="simulation"/> </Properties> </Pedestrian> </ScenarioObject> <ScenarioObject name="pedestrian_close_to_hero_5140"> <Pedestrian model="walker.pedestrian.0001" mass="80" name="walker.pedestrian.0001" pedestrianCategory="pedestrian"> <ParameterDeclarations/> <BoundingBox> <Center x="1.5" y="0.0" z="0.9"/> <Dimensions width="2" length="2" height="2"/> </BoundingBox> <Properties> <Property name="type" value="simulation"/> </Properties> </Pedestrian> </ScenarioObject> <ScenarioObject name="pedestrian_close_to_standing_5141"> <Pedestrian model="walker.pedestrian.0001" mass="80" name="walker.pedestrian.0001" pedestrianCategory="pedestrian"> <ParameterDeclarations/> <BoundingBox> <Center x="1.5" y="0.0" z="0.9"/> <Dimensions width="2" length="2" height="2"/> </BoundingBox> <Properties> <Property name="type" value="simulation"/> </Properties> </Pedestrian> </ScenarioObject> <ScenarioObject name="pedestrian_w_transform_5142"> <Pedestrian model="walker.pedestrian.0001" mass="80" name="walker.pedestrian.0001" pedestrianCategory="pedestrian"> <ParameterDeclarations/> <BoundingBox> <Center x="1.5" y="0.0" z="0.9"/> <Dimensions width="2" length="2" height="2"/> </BoundingBox> <Properties> <Property name="type" value="simulation"/> </Properties> </Pedestrian> </ScenarioObject> <ScenarioObject name="pedestrian_close_to_hero_5143"> <Pedestrian model="walker.pedestrian.0001" mass="80" name="walker.pedestrian.0001" pedestrianCategory="pedestrian"> <ParameterDeclarations/> <BoundingBox> <Center x="1.5" y="0.0" z="0.9"/> <Dimensions width="2" length="2" height="2"/> </BoundingBox> <Properties> <Property name="type" value="simulation"/> </Properties> </Pedestrian> </ScenarioObject> <ScenarioObject name="pedestrian_w_transform_5144"> <Pedestrian model="walker.pedestrian.0001" mass="80" name="walker.pedestrian.0001" pedestrianCategory="pedestrian"> <ParameterDeclarations/> <BoundingBox> <Center x="1.5" y="0.0" z="0.9"/> <Dimensions width="2" length="2" height="2"/> </BoundingBox> <Properties> <Property name="type" value="simulation"/> </Properties> </Pedestrian> </ScenarioObject> <ScenarioObject name="pedestrian_close_to_adversary_5145"> <Pedestrian model="walker.pedestrian.0001" mass="80" name="walker.pedestrian.0001" pedestrianCategory="pedestrian"> <ParameterDeclarations/> <BoundingBox> <Center x="1.5" y="0.0" z="0.9"/> <Dimensions width="2" length="2" height="2"/> </BoundingBox> <Properties> <Property name="type" value="simulation"/> </Properties> </Pedestrian> </ScenarioObject> <ScenarioObject name="pedestrian_w_transform_5146"> <Pedestrian model="walker.pedestrian.0001" mass="80" name="walker.pedestrian.0001" pedestrianCategory="pedestrian"> <ParameterDeclarations/> <BoundingBox> <Center x="1.5" y="0.0" z="0.9"/> <Dimensions width="2" length="2" height="2"/> </BoundingBox> <Properties> <Property name="type" value="simulation"/> </Properties> </Pedestrian> </ScenarioObject> <ScenarioObject name="pedestrian_w_transform_5147"> <Pedestrian model="walker.pedestrian.0001" mass="80" name="walker.pedestrian.0001" pedestrianCategory="pedestrian"> <ParameterDeclarations/> <BoundingBox> <Center x="1.5" y="0.0" z="0.9"/> <Dimensions width="2" length="2" height="2"/> </BoundingBox> <Properties> <Property name="type" value="simulation"/> </Properties> </Pedestrian> </ScenarioObject> <ScenarioObject name="pedestrian_w_transform_5148"> <Pedestrian model="walker.pedestrian.0001" mass="80" name="walker.pedestrian.0001" pedestrianCategory="pedestrian"> <ParameterDeclarations/> <BoundingBox> <Center x="1.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_5128"> <PrivateAction> <TeleportAction> <Position> <WorldPosition x="-12.221519470214844" y="-143.55413818359375" z="0.0013900374760851264"/> </Position> </TeleportAction> </PrivateAction> </Private> <Private entityRef="pedestrian_w_transform_5129"> <PrivateAction> <TeleportAction> <Position> <WorldPosition x="-26.6479434967041" y="3.8098807334899902" z="0.5"/> </Position> </TeleportAction> </PrivateAction> </Private> <Private entityRef="pedestrian_w_transform_5132"> <PrivateAction> <TeleportAction> <Position> <WorldPosition x="7.999826431274414" y="-81.8425521850586" z="0.5"/> </Position> </TeleportAction> </PrivateAction> </Private> <Private entityRef="pedestrian_w_transform_5133"> <PrivateAction> <TeleportAction> <Position> <WorldPosition x="-84.7315673828125" y="61.76258087158203" z="0.5"/> </Position> </TeleportAction> </PrivateAction> </Private> <Private entityRef="pedestrian_w_transform_5134"> <PrivateAction> <TeleportAction> <Position> <WorldPosition x="-5.670446872711182" y="58.29923629760742" z="0.5"/> </Position> </TeleportAction> </PrivateAction> </Private> <Private entityRef="pedestrian_close_to_hero_5135"> <PrivateAction> <TeleportAction> <Position> <WorldPosition x="-15.589136123657227" y="-159.15684509277344" z="0.0013900374760851264"/> </Position> </TeleportAction> </PrivateAction> </Private> <Private entityRef="pedestrian_close_to_standing_5137"> <PrivateAction> <TeleportAction> <Position> <WorldPosition x="-7.484981060028076" y="38.57742691040039" z="0.0030346298590302467"/> </Position> </TeleportAction> </PrivateAction> </Private> <Private entityRef="pedestrian_w_transform_5138"> <PrivateAction> <TeleportAction> <Position> <WorldPosition x="39.00570297241211" y="-23.679977416992188" z="0.5"/> </Position> </TeleportAction> </PrivateAction> </Private> <Private entityRef="pedestrian_close_to_hero_5139"> <PrivateAction> <TeleportAction> <Position> <WorldPosition x="-6.1996965408325195" y="-158.84326171875" z="0.0013900374760851264"/> </Position> </TeleportAction> </PrivateAction> </Private> <Private entityRef="pedestrian_close_to_hero_5140"> <PrivateAction> <TeleportAction> <Position> <WorldPosition x="-7.192099571228027" y="-153.39666748046875" z="0.0013900374760851264"/> </Position> </TeleportAction> </PrivateAction> </Private> <Private entityRef="pedestrian_close_to_standing_5141"> <PrivateAction> <TeleportAction> <Position> <WorldPosition x="0.8017043471336365" y="23.079835891723633" z="0.0030215452425181866"/> </Position> </TeleportAction> </PrivateAction> </Private> <Private entityRef="pedestrian_w_transform_5142"> <PrivateAction> <TeleportAction> <Position> <WorldPosition x="35.78624725341797" y="24.482093811035156" z="0.5"/> </Position> </TeleportAction> </PrivateAction> </Private> <Private entityRef="pedestrian_close_to_hero_5143"> <PrivateAction> <TeleportAction> <Position> <WorldPosition x="-2.1008987426757812" y="-145.25811767578125" z="0.0013900374760851264"/> </Position> </TeleportAction> </PrivateAction> </Private> <Private entityRef="pedestrian_w_transform_5144"> <PrivateAction> <TeleportAction> <Position> <WorldPosition x="79.5311279296875" y="-61.34981155395508" z="0.5"/> </Position> </TeleportAction> </PrivateAction> </Private> <Private entityRef="pedestrian_close_to_adversary_5145"> <PrivateAction> <TeleportAction> <Position> <WorldPosition x="-5.40788459777832" y="-65.51030731201172" z="0.03375595062971115"/> </Position> </TeleportAction> </PrivateAction> </Private> <Private entityRef="pedestrian_w_transform_5146"> <PrivateAction> <TeleportAction> <Position> <WorldPosition x="-61.97720718383789" y="99.258544921875" z="0.5"/> </Position> </TeleportAction> </PrivateAction> </Private> <Private entityRef="pedestrian_w_transform_5147"> <PrivateAction> <TeleportAction> <Position> <WorldPosition x="-69.72960662841797" y="15.501790046691895" z="0.5"/> </Position> </TeleportAction> </PrivateAction> </Private> <Private entityRef="pedestrian_w_transform_5148"> <PrivateAction> <TeleportAction> <Position> <WorldPosition x="76.15245056152344" y="26.822458267211914" 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_5128"> <Pedestrian model="walker.pedestrian.0001" mass="80" name="walker.pedestrian.0001" pedestrianCategory="pedestrian"> <ParameterDeclarations/> <BoundingBox> <Center x="1.5" y="0.0" z="0.9"/> <Dimensions width="2" length="2" height="2"/> </BoundingBox> <Properties> <Property name="type" value="simulation"/> </Properties> </Pedestrian> </ScenarioObject> <ScenarioObject name="pedestrian_w_transform_5129"> <Pedestrian model="walker.pedestrian.0001" mass="80" name="walker.pedestrian.0001" pedestrianCategory="pedestrian"> <ParameterDeclarations/> <BoundingBox> <Center x="1.5" y="0.0" z="0.9"/> <Dimensions width="2" length="2" height="2"/> </BoundingBox> <Properties> <Property name="type" value="simulation"/> </Properties> </Pedestrian> </ScenarioObject> <ScenarioObject name="pedestrian_w_transform_5132"> <Pedestrian model="walker.pedestrian.0001" mass="80" name="walker.pedestrian.0001" pedestrianCategory="pedestrian"> <ParameterDeclarations/> <BoundingBox> <Center x="1.5" y="0.0" z="0.9"/> <Dimensions width="2" length="2" height="2"/> </BoundingBox> <Properties> <Property name="type" value="simulation"/> </Properties> </Pedestrian> </ScenarioObject> <ScenarioObject name="pedestrian_w_transform_5133"> <Pedestrian model="walker.pedestrian.0001" mass="80" name="walker.pedestrian.0001" pedestrianCategory="pedestrian"> <ParameterDeclarations/> <BoundingBox> <Center x="1.5" y="0.0" z="0.9"/> <Dimensions width="2" length="2" height="2"/> </BoundingBox> <Properties> <Property name="type" value="simulation"/> </Properties> </Pedestrian> </ScenarioObject> <ScenarioObject name="pedestrian_w_transform_5134"> <Pedestrian model="walker.pedestrian.0001" mass="80" name="walker.pedestrian.0001" pedestrianCategory="pedestrian"> <ParameterDeclarations/> <BoundingBox> <Center x="1.5" y="0.0" z="0.9"/> <Dimensions width="2" length="2" height="2"/> </BoundingBox> <Properties> <Property name="type" value="simulation"/> </Properties> </Pedestrian> </ScenarioObject> <ScenarioObject name="pedestrian_close_to_standing_5137"> <Pedestrian model="walker.pedestrian.0001" mass="80" name="walker.pedestrian.0001" pedestrianCategory="pedestrian"> <ParameterDeclarations/> <BoundingBox> <Center x="1.5" y="0.0" z="0.9"/> <Dimensions width="2" length="2" height="2"/> </BoundingBox> <Properties> <Property name="type" value="simulation"/> </Properties> </Pedestrian> </ScenarioObject> <ScenarioObject name="pedestrian_w_transform_5138"> <Pedestrian model="walker.pedestrian.0001" mass="80" name="walker.pedestrian.0001" pedestrianCategory="pedestrian"> <ParameterDeclarations/> <BoundingBox> <Center x="1.5" y="0.0" z="0.9"/> <Dimensions width="2" length="2" height="2"/> </BoundingBox> <Properties> <Property name="type" value="simulation"/> </Properties> </Pedestrian> </ScenarioObject> <ScenarioObject name="pedestrian_close_to_hero_5139"> <Pedestrian model="walker.pedestrian.0001" mass="80" name="walker.pedestrian.0001" pedestrianCategory="pedestrian"> <ParameterDeclarations/> <BoundingBox> <Center x="1.5" y="0.0" z="0.9"/> <Dimensions width="2" length="2" height="2"/> </BoundingBox> <Properties> <Property name="type" value="simulation"/> </Properties> </Pedestrian> </ScenarioObject> <ScenarioObject name="pedestrian_close_to_hero_5140"> <Pedestrian model="walker.pedestrian.0001" mass="80" name="walker.pedestrian.0001" pedestrianCategory="pedestrian"> <ParameterDeclarations/> <BoundingBox> <Center x="1.5" y="0.0" z="0.9"/> <Dimensions width="2" length="2" height="2"/> </BoundingBox> <Properties> <Property name="type" value="simulation"/> </Properties> </Pedestrian> </ScenarioObject> <ScenarioObject name="pedestrian_close_to_standing_5141"> <Pedestrian model="walker.pedestrian.0001" mass="80" name="walker.pedestrian.0001" pedestrianCategory="pedestrian"> <ParameterDeclarations/> <BoundingBox> <Center x="1.5" y="0.0" z="0.9"/> <Dimensions width="2" length="2" height="2"/> </BoundingBox> <Properties> <Property name="type" value="simulation"/> </Properties> </Pedestrian> </ScenarioObject> <ScenarioObject name="pedestrian_w_transform_5142"> <Pedestrian model="walker.pedestrian.0001" mass="80" name="walker.pedestrian.0001" pedestrianCategory="pedestrian"> <ParameterDeclarations/> <BoundingBox> <Center x="1.5" y="0.0" z="0.9"/> <Dimensions width="2" length="2" height="2"/> </BoundingBox> <Properties> <Property name="type" value="simulation"/> </Properties> </Pedestrian> </ScenarioObject> <ScenarioObject name="pedestrian_close_to_hero_5143"> <Pedestrian model="walker.pedestrian.0001" mass="80" name="walker.pedestrian.0001" pedestrianCategory="pedestrian"> <ParameterDeclarations/> <BoundingBox> <Center x="1.5" y="0.0" z="0.9"/> <Dimensions width="2" length="2" height="2"/> </BoundingBox> <Properties> <Property name="type" value="simulation"/> </Properties> </Pedestrian> </ScenarioObject> <ScenarioObject name="pedestrian_w_transform_5144"> <Pedestrian model="walker.pedestrian.0001" mass="80" name="walker.pedestrian.0001" pedestrianCategory="pedestrian"> <ParameterDeclarations/> <BoundingBox> <Center x="1.5" y="0.0" z="0.9"/> <Dimensions width="2" length="2" height="2"/> </BoundingBox> <Properties> <Property name="type" value="simulation"/> </Properties> </Pedestrian> </ScenarioObject> <ScenarioObject name="pedestrian_close_to_adversary_5145"> <Pedestrian model="walker.pedestrian.0001" mass="80" name="walker.pedestrian.0001" pedestrianCategory="pedestrian"> <ParameterDeclarations/> <BoundingBox> <Center x="1.5" y="0.0" z="0.9"/> <Dimensions width="2" length="2" height="2"/> </BoundingBox> <Properties> <Property name="type" value="simulation"/> </Properties> </Pedestrian> </ScenarioObject> <ScenarioObject name="pedestrian_w_transform_5146"> <Pedestrian model="walker.pedestrian.0001" mass="80" name="walker.pedestrian.0001" pedestrianCategory="pedestrian"> <ParameterDeclarations/> <BoundingBox> <Center x="1.5" y="0.0" z="0.9"/> <Dimensions width="2" length="2" height="2"/> </BoundingBox> <Properties> <Property name="type" value="simulation"/> </Properties> </Pedestrian> </ScenarioObject> <ScenarioObject name="pedestrian_w_transform_5147"> <Pedestrian model="walker.pedestrian.0001" mass="80" name="walker.pedestrian.0001" pedestrianCategory="pedestrian"> <ParameterDeclarations/> <BoundingBox> <Center x="1.5" y="0.0" z="0.9"/> <Dimensions width="2" length="2" height="2"/> </BoundingBox> <Properties> <Property name="type" value="simulation"/> </Properties> </Pedestrian> </ScenarioObject> <ScenarioObject name="pedestrian_w_transform_5148"> <Pedestrian model="walker.pedestrian.0001" mass="80" name="walker.pedestrian.0001" pedestrianCategory="pedestrian"> <ParameterDeclarations/> <BoundingBox> <Center x="1.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_5128"> <PrivateAction> <TeleportAction> <Position> <WorldPosition x="-12.221519470214844" y="-143.55413818359375" z="0.0013900374760851264"/> </Position> </TeleportAction> </PrivateAction> </Private> <Private entityRef="pedestrian_w_transform_5129"> <PrivateAction> <TeleportAction> <Position> <WorldPosition x="-26.6479434967041" y="3.8098807334899902" z="0.5"/> </Position> </TeleportAction> </PrivateAction> </Private> <Private entityRef="pedestrian_w_transform_5132"> <PrivateAction> <TeleportAction> <Position> <WorldPosition x="7.999826431274414" y="-81.8425521850586" z="0.5"/> </Position> </TeleportAction> </PrivateAction> </Private> <Private entityRef="pedestrian_w_transform_5133"> <PrivateAction> <TeleportAction> <Position> <WorldPosition x="-84.7315673828125" y="61.76258087158203" z="0.5"/> </Position> </TeleportAction> </PrivateAction> </Private> <Private entityRef="pedestrian_w_transform_5134"> <PrivateAction> <TeleportAction> <Position> <WorldPosition x="-5.670446872711182" y="58.29923629760742" z="0.5"/> </Position> </TeleportAction> </PrivateAction> </Private> <Private entityRef="pedestrian_close_to_standing_5137"> <PrivateAction> <TeleportAction> <Position> <WorldPosition x="-7.484981060028076" y="38.57742691040039" z="0.0030346298590302467"/> </Position> </TeleportAction> </PrivateAction> </Private> <Private entityRef="pedestrian_w_transform_5138"> <PrivateAction> <TeleportAction> <Position> <WorldPosition x="39.00570297241211" y="-23.679977416992188" z="0.5"/> </Position> </TeleportAction> </PrivateAction> </Private> <Private entityRef="pedestrian_close_to_hero_5139"> <PrivateAction> <TeleportAction> <Position> <WorldPosition x="-6.1996965408325195" y="-158.84326171875" z="0.0013900374760851264"/> </Position> </TeleportAction> </PrivateAction> </Private> <Private entityRef="pedestrian_close_to_hero_5140"> <PrivateAction> <TeleportAction> <Position> <WorldPosition x="-7.192099571228027" y="-153.39666748046875" z="0.0013900374760851264"/> </Position> </TeleportAction> </PrivateAction> </Private> <Private entityRef="pedestrian_close_to_standing_5141"> <PrivateAction> <TeleportAction> <Position> <WorldPosition x="0.8017043471336365" y="23.079835891723633" z="0.0030215452425181866"/> </Position> </TeleportAction> </PrivateAction> </Private> <Private entityRef="pedestrian_w_transform_5142"> <PrivateAction> <TeleportAction> <Position> <WorldPosition x="35.78624725341797" y="24.482093811035156" z="0.5"/> </Position> </TeleportAction> </PrivateAction> </Private> <Private entityRef="pedestrian_close_to_hero_5143"> <PrivateAction> <TeleportAction> <Position> <WorldPosition x="-2.1008987426757812" y="-145.25811767578125" z="0.0013900374760851264"/> </Position> </TeleportAction> </PrivateAction> </Private> <Private entityRef="pedestrian_w_transform_5144"> <PrivateAction> <TeleportAction> <Position> <WorldPosition x="79.5311279296875" y="-61.34981155395508" z="0.5"/> </Position> </TeleportAction> </PrivateAction> </Private> <Private entityRef="pedestrian_close_to_adversary_5145"> <PrivateAction> <TeleportAction> <Position> <WorldPosition x="-5.40788459777832" y="-65.51030731201172" z="0.03375595062971115"/> </Position> </TeleportAction> </PrivateAction> </Private> <Private entityRef="pedestrian_w_transform_5146"> <PrivateAction> <TeleportAction> <Position> <WorldPosition x="-61.97720718383789" y="99.258544921875" z="0.5"/> </Position> </TeleportAction> </PrivateAction> </Private> <Private entityRef="pedestrian_w_transform_5147"> <PrivateAction> <TeleportAction> <Position> <WorldPosition x="-69.72960662841797" y="15.501790046691895" z="0.5"/> </Position> </TeleportAction> </PrivateAction> </Private> <Private entityRef="pedestrian_w_transform_5148"> <PrivateAction> <TeleportAction> <Position> <WorldPosition x="76.15245056152344" y="26.822458267211914" 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> ```
can you add pedestrian at location (-88.49, 72.17, 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_9037"> <Pedestrian model="walker.pedestrian.0001" mass="80" name="walker.pedestrian.0001" pedestrianCategory="pedestrian"> <ParameterDeclarations/> <BoundingBox> <Center x="1.5" y="0.0" z="0.9"/> <Dimensions width="2" length="2" height="2"/> </BoundingBox> <Properties> <Property name="type" value="simulation"/> </Properties> </Pedestrian> </ScenarioObject> <ScenarioObject name="pedestrian_w_transform_9038"> <Pedestrian model="walker.pedestrian.0001" mass="80" name="walker.pedestrian.0001" pedestrianCategory="pedestrian"> <ParameterDeclarations/> <BoundingBox> <Center x="1.5" y="0.0" z="0.9"/> <Dimensions width="2" length="2" height="2"/> </BoundingBox> <Properties> <Property name="type" value="simulation"/> </Properties> </Pedestrian> </ScenarioObject> <ScenarioObject name="pedestrian_w_transform_9039"> <Pedestrian model="walker.pedestrian.0001" mass="80" name="walker.pedestrian.0001" pedestrianCategory="pedestrian"> <ParameterDeclarations/> <BoundingBox> <Center x="1.5" y="0.0" z="0.9"/> <Dimensions width="2" length="2" height="2"/> </BoundingBox> <Properties> <Property name="type" value="simulation"/> </Properties> </Pedestrian> </ScenarioObject> <ScenarioObject name="pedestrian_w_transform_9040"> <Pedestrian model="walker.pedestrian.0001" mass="80" name="walker.pedestrian.0001" pedestrianCategory="pedestrian"> <ParameterDeclarations/> <BoundingBox> <Center x="1.5" y="0.0" z="0.9"/> <Dimensions width="2" length="2" height="2"/> </BoundingBox> <Properties> <Property name="type" value="simulation"/> </Properties> </Pedestrian> </ScenarioObject> <ScenarioObject name="pedestrian_close_to_adversary_9041"> <Pedestrian model="walker.pedestrian.0001" mass="80" name="walker.pedestrian.0001" pedestrianCategory="pedestrian"> <ParameterDeclarations/> <BoundingBox> <Center x="1.5" y="0.0" z="0.9"/> <Dimensions width="2" length="2" height="2"/> </BoundingBox> <Properties> <Property name="type" value="simulation"/> </Properties> </Pedestrian> </ScenarioObject> <ScenarioObject name="pedestrian_close_to_standing_9043"> <Pedestrian model="walker.pedestrian.0001" mass="80" name="walker.pedestrian.0001" pedestrianCategory="pedestrian"> <ParameterDeclarations/> <BoundingBox> <Center x="1.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_9037"> <PrivateAction> <TeleportAction> <Position> <WorldPosition x="4.151560306549072" y="-71.85833740234375" z="0.033805083483457565"/> </Position> </TeleportAction> </PrivateAction> </Private> <Private entityRef="pedestrian_w_transform_9038"> <PrivateAction> <TeleportAction> <Position> <WorldPosition x="74.07556915283203" y="24.732131958007812" z="0.5"/> </Position> </TeleportAction> </PrivateAction> </Private> <Private entityRef="pedestrian_w_transform_9039"> <PrivateAction> <TeleportAction> <Position> <WorldPosition x="-42.44698715209961" y="17.14313316345215" z="0.5"/> </Position> </TeleportAction> </PrivateAction> </Private> <Private entityRef="pedestrian_w_transform_9040"> <PrivateAction> <TeleportAction> <Position> <WorldPosition x="-56.085391998291016" y="93.80474090576172" z="0.5"/> </Position> </TeleportAction> </PrivateAction> </Private> <Private entityRef="pedestrian_close_to_adversary_9041"> <PrivateAction> <TeleportAction> <Position> <WorldPosition x="-9.539430618286133" y="-79.7459487915039" z="0.03379760682582855"/> </Position> </TeleportAction> </PrivateAction> </Private> <Private entityRef="pedestrian_close_to_standing_9043"> <PrivateAction> <TeleportAction> <Position> <WorldPosition x="-0.9784839153289795" y="28.861217498779297" z="0.0030609893146902323"/> </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_9037"> <Pedestrian model="walker.pedestrian.0001" mass="80" name="walker.pedestrian.0001" pedestrianCategory="pedestrian"> <ParameterDeclarations/> <BoundingBox> <Center x="1.5" y="0.0" z="0.9"/> <Dimensions width="2" length="2" height="2"/> </BoundingBox> <Properties> <Property name="type" value="simulation"/> </Properties> </Pedestrian> </ScenarioObject> <ScenarioObject name="pedestrian_w_transform_9038"> <Pedestrian model="walker.pedestrian.0001" mass="80" name="walker.pedestrian.0001" pedestrianCategory="pedestrian"> <ParameterDeclarations/> <BoundingBox> <Center x="1.5" y="0.0" z="0.9"/> <Dimensions width="2" length="2" height="2"/> </BoundingBox> <Properties> <Property name="type" value="simulation"/> </Properties> </Pedestrian> </ScenarioObject> <ScenarioObject name="pedestrian_w_transform_9039"> <Pedestrian model="walker.pedestrian.0001" mass="80" name="walker.pedestrian.0001" pedestrianCategory="pedestrian"> <ParameterDeclarations/> <BoundingBox> <Center x="1.5" y="0.0" z="0.9"/> <Dimensions width="2" length="2" height="2"/> </BoundingBox> <Properties> <Property name="type" value="simulation"/> </Properties> </Pedestrian> </ScenarioObject> <ScenarioObject name="pedestrian_w_transform_9040"> <Pedestrian model="walker.pedestrian.0001" mass="80" name="walker.pedestrian.0001" pedestrianCategory="pedestrian"> <ParameterDeclarations/> <BoundingBox> <Center x="1.5" y="0.0" z="0.9"/> <Dimensions width="2" length="2" height="2"/> </BoundingBox> <Properties> <Property name="type" value="simulation"/> </Properties> </Pedestrian> </ScenarioObject> <ScenarioObject name="pedestrian_close_to_adversary_9041"> <Pedestrian model="walker.pedestrian.0001" mass="80" name="walker.pedestrian.0001" pedestrianCategory="pedestrian"> <ParameterDeclarations/> <BoundingBox> <Center x="1.5" y="0.0" z="0.9"/> <Dimensions width="2" length="2" height="2"/> </BoundingBox> <Properties> <Property name="type" value="simulation"/> </Properties> </Pedestrian> </ScenarioObject> <ScenarioObject name="pedestrian_close_to_standing_9043"> <Pedestrian model="walker.pedestrian.0001" mass="80" name="walker.pedestrian.0001" pedestrianCategory="pedestrian"> <ParameterDeclarations/> <BoundingBox> <Center x="1.5" y="0.0" z="0.9"/> <Dimensions width="2" length="2" height="2"/> </BoundingBox> <Properties> <Property name="type" value="simulation"/> </Properties> </Pedestrian> </ScenarioObject> <ScenarioObject name="pedestrian_w_transform_9044"> <Pedestrian model="walker.pedestrian.0001" mass="80" name="walker.pedestrian.0001" pedestrianCategory="pedestrian"> <ParameterDeclarations/> <BoundingBox> <Center x="1.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_9037"> <PrivateAction> <TeleportAction> <Position> <WorldPosition x="4.151560306549072" y="-71.85833740234375" z="0.033805083483457565"/> </Position> </TeleportAction> </PrivateAction> </Private> <Private entityRef="pedestrian_w_transform_9038"> <PrivateAction> <TeleportAction> <Position> <WorldPosition x="74.07556915283203" y="24.732131958007812" z="0.5"/> </Position> </TeleportAction> </PrivateAction> </Private> <Private entityRef="pedestrian_w_transform_9039"> <PrivateAction> <TeleportAction> <Position> <WorldPosition x="-42.44698715209961" y="17.14313316345215" z="0.5"/> </Position> </TeleportAction> </PrivateAction> </Private> <Private entityRef="pedestrian_w_transform_9040"> <PrivateAction> <TeleportAction> <Position> <WorldPosition x="-56.085391998291016" y="93.80474090576172" z="0.5"/> </Position> </TeleportAction> </PrivateAction> </Private> <Private entityRef="pedestrian_close_to_adversary_9041"> <PrivateAction> <TeleportAction> <Position> <WorldPosition x="-9.539430618286133" y="-79.7459487915039" z="0.03379760682582855"/> </Position> </TeleportAction> </PrivateAction> </Private> <Private entityRef="pedestrian_close_to_standing_9043"> <PrivateAction> <TeleportAction> <Position> <WorldPosition x="-0.9784839153289795" y="28.861217498779297" z="0.0030609893146902323"/> </Position> </TeleportAction> </PrivateAction> </Private> <Private entityRef="pedestrian_w_transform_9044"> <PrivateAction> <TeleportAction> <Position> <WorldPosition x="-88.48638153076172" y="72.17463684082031" 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 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_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> <ScenarioObject name="pedestrian_close_to_hero_2057"> <Pedestrian model="walker.pedestrian.0001" mass="80" name="walker.pedestrian.0001" pedestrianCategory="pedestrian"> <ParameterDeclarations/> <BoundingBox> <Center x="1.5" y="0.0" z="0.9"/> <Dimensions width="2" length="2" height="2"/> </BoundingBox> <Properties> <Property name="type" value="simulation"/> </Properties> </Pedestrian> </ScenarioObject> <ScenarioObject name="pedestrian_w_transform_2058"> <Pedestrian model="walker.pedestrian.0001" mass="80" name="walker.pedestrian.0001" pedestrianCategory="pedestrian"> <ParameterDeclarations/> <BoundingBox> <Center x="1.5" y="0.0" z="0.9"/> <Dimensions width="2" length="2" height="2"/> </BoundingBox> <Properties> <Property name="type" value="simulation"/> </Properties> </Pedestrian> </ScenarioObject> <ScenarioObject name="pedestrian_close_to_adversary_2059"> <Pedestrian model="walker.pedestrian.0001" mass="80" name="walker.pedestrian.0001" pedestrianCategory="pedestrian"> <ParameterDeclarations/> <BoundingBox> <Center x="1.5" y="0.0" z="0.9"/> <Dimensions width="2" length="2" height="2"/> </BoundingBox> <Properties> <Property name="type" value="simulation"/> </Properties> </Pedestrian> </ScenarioObject> <ScenarioObject name="pedestrian_close_to_hero_2060"> <Pedestrian model="walker.pedestrian.0001" mass="80" name="walker.pedestrian.0001" pedestrianCategory="pedestrian"> <ParameterDeclarations/> <BoundingBox> <Center x="1.5" y="0.0" z="0.9"/> <Dimensions width="2" length="2" height="2"/> </BoundingBox> <Properties> <Property name="type" value="simulation"/> </Properties> </Pedestrian> </ScenarioObject> <ScenarioObject name="pedestrian_close_to_standing_2061"> <Pedestrian model="walker.pedestrian.0001" mass="80" name="walker.pedestrian.0001" pedestrianCategory="pedestrian"> <ParameterDeclarations/> <BoundingBox> <Center x="1.5" y="0.0" z="0.9"/> <Dimensions width="2" length="2" height="2"/> </BoundingBox> <Properties> <Property name="type" value="simulation"/> </Properties> </Pedestrian> </ScenarioObject> <ScenarioObject name="pedestrian_w_transform_2062"> <Pedestrian model="walker.pedestrian.0001" mass="80" name="walker.pedestrian.0001" pedestrianCategory="pedestrian"> <ParameterDeclarations/> <BoundingBox> <Center x="1.5" y="0.0" z="0.9"/> <Dimensions width="2" length="2" height="2"/> </BoundingBox> <Properties> <Property name="type" value="simulation"/> </Properties> </Pedestrian> </ScenarioObject> <ScenarioObject name="pedestrian_close_to_hero_2063"> <Pedestrian model="walker.pedestrian.0001" mass="80" name="walker.pedestrian.0001" pedestrianCategory="pedestrian"> <ParameterDeclarations/> <BoundingBox> <Center x="1.5" y="0.0" z="0.9"/> <Dimensions width="2" length="2" height="2"/> </BoundingBox> <Properties> <Property name="type" value="simulation"/> </Properties> </Pedestrian> </ScenarioObject> <ScenarioObject name="pedestrian_close_to_hero_2064"> <Pedestrian model="walker.pedestrian.0001" mass="80" name="walker.pedestrian.0001" pedestrianCategory="pedestrian"> <ParameterDeclarations/> <BoundingBox> <Center x="1.5" y="0.0" z="0.9"/> <Dimensions width="2" length="2" height="2"/> </BoundingBox> <Properties> <Property name="type" value="simulation"/> </Properties> </Pedestrian> </ScenarioObject> <ScenarioObject name="pedestrian_w_transform_2065"> <Pedestrian model="walker.pedestrian.0001" mass="80" name="walker.pedestrian.0001" pedestrianCategory="pedestrian"> <ParameterDeclarations/> <BoundingBox> <Center x="1.5" y="0.0" z="0.9"/> <Dimensions width="2" length="2" height="2"/> </BoundingBox> <Properties> <Property name="type" value="simulation"/> </Properties> </Pedestrian> </ScenarioObject> <ScenarioObject name="pedestrian_w_transform_2066"> <Pedestrian model="walker.pedestrian.0001" mass="80" name="walker.pedestrian.0001" pedestrianCategory="pedestrian"> <ParameterDeclarations/> <BoundingBox> <Center x="1.5" y="0.0" z="0.9"/> <Dimensions width="2" length="2" height="2"/> </BoundingBox> <Properties> <Property name="type" value="simulation"/> </Properties> </Pedestrian> </ScenarioObject> <ScenarioObject name="pedestrian_w_transform_2067"> <Pedestrian model="walker.pedestrian.0001" mass="80" name="walker.pedestrian.0001" pedestrianCategory="pedestrian"> <ParameterDeclarations/> <BoundingBox> <Center x="1.5" y="0.0" z="0.9"/> <Dimensions width="2" length="2" height="2"/> </BoundingBox> <Properties> <Property name="type" value="simulation"/> </Properties> </Pedestrian> </ScenarioObject> <ScenarioObject name="pedestrian_close_to_adversary_2068"> <Pedestrian model="walker.pedestrian.0001" mass="80" name="walker.pedestrian.0001" pedestrianCategory="pedestrian"> <ParameterDeclarations/> <BoundingBox> <Center x="1.5" y="0.0" z="0.9"/> <Dimensions width="2" length="2" height="2"/> </BoundingBox> <Properties> <Property name="type" value="simulation"/> </Properties> </Pedestrian> </ScenarioObject> <ScenarioObject name="pedestrian_w_transform_2069"> <Pedestrian model="walker.pedestrian.0001" mass="80" name="walker.pedestrian.0001" pedestrianCategory="pedestrian"> <ParameterDeclarations/> <BoundingBox> <Center x="1.5" y="0.0" z="0.9"/> <Dimensions width="2" length="2" height="2"/> </BoundingBox> <Properties> <Property name="type" value="simulation"/> </Properties> </Pedestrian> </ScenarioObject> <ScenarioObject name="pedestrian_w_transform_2070"> <Pedestrian model="walker.pedestrian.0001" mass="80" name="walker.pedestrian.0001" pedestrianCategory="pedestrian"> <ParameterDeclarations/> <BoundingBox> <Center x="1.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_2056"> <PrivateAction> <TeleportAction> <Position> <WorldPosition x="-1.6918891668319702" y="22.435344696044922" z="0.0030613327398896217"/> </Position> </TeleportAction> </PrivateAction> </Private> <Private entityRef="pedestrian_close_to_hero_2057"> <PrivateAction> <TeleportAction> <Position> <WorldPosition x="-6.726730823516846" y="-157.34107971191406" z="0.0014525604201480746"/> </Position> </TeleportAction> </PrivateAction> </Private> <Private entityRef="pedestrian_w_transform_2058"> <PrivateAction> <TeleportAction> <Position> <WorldPosition x="8.473060607910156" y="-81.4713363647461" z="0.5"/> </Position> </TeleportAction> </PrivateAction> </Private> <Private entityRef="pedestrian_close_to_adversary_2059"> <PrivateAction> <TeleportAction> <Position> <WorldPosition x="-6.0645976066589355" y="-75.63294982910156" z="0.03379680588841438"/> </Position> </TeleportAction> </PrivateAction> </Private> <Private entityRef="pedestrian_close_to_hero_2060"> <PrivateAction> <TeleportAction> <Position> <WorldPosition x="-13.424429893493652" y="-145.91856384277344" z="0.0014525604201480746"/> </Position> </TeleportAction> </PrivateAction> </Private> <Private entityRef="pedestrian_close_to_standing_2061"> <PrivateAction> <TeleportAction> <Position> <WorldPosition x="-12.055602073669434" y="35.40184020996094" z="0.0030529021751135588"/> </Position> </TeleportAction> </PrivateAction> </Private> <Private entityRef="pedestrian_w_transform_2062"> <PrivateAction> <TeleportAction> <Position> <WorldPosition x="41.004859924316406" y="-90.12963104248047" z="0.5"/> </Position> </TeleportAction> </PrivateAction> </Private> <Private entityRef="pedestrian_close_to_hero_2063"> <PrivateAction> <TeleportAction> <Position> <WorldPosition x="-17.507177352905273" y="-157.13258361816406" z="0.0014525604201480746"/> </Position> </TeleportAction> </PrivateAction> </Private> <Private entityRef="pedestrian_close_to_hero_2064"> <PrivateAction> <TeleportAction> <Position> <WorldPosition x="-12.558622360229492" y="-159.76295471191406" z="0.0014525604201480746"/> </Position> </TeleportAction> </PrivateAction> </Private> <Private entityRef="pedestrian_w_transform_2065"> <PrivateAction> <TeleportAction> <Position> <WorldPosition x="-16.70583724975586" y="40.00391387939453" z="0.5"/> </Position> </TeleportAction> </PrivateAction> </Private> <Private entityRef="pedestrian_w_transform_2066"> <PrivateAction> <TeleportAction> <Position> <WorldPosition x="92.7759017944336" y="-74.71463775634766" z="0.5"/> </Position> </TeleportAction> </PrivateAction> </Private> <Private entityRef="pedestrian_w_transform_2067"> <PrivateAction> <TeleportAction> <Position> <WorldPosition x="-1.721008062362671" y="30.180950164794922" z="0.5"/> </Position> </TeleportAction> </PrivateAction> </Private> <Private entityRef="pedestrian_close_to_adversary_2068"> <PrivateAction> <TeleportAction> <Position> <WorldPosition x="14.473543167114258" y="-66.2989730834961" z="0.033769454807043076"/> </Position> </TeleportAction> </PrivateAction> </Private> <Private entityRef="pedestrian_w_transform_2069"> <PrivateAction> <TeleportAction> <Position> <WorldPosition x="53.35316848754883" y="-96.59566497802734" z="0.5"/> </Position> </TeleportAction> </PrivateAction> </Private> <Private entityRef="pedestrian_w_transform_2070"> <PrivateAction> <TeleportAction> <Position> <WorldPosition x="-50.861663818359375" y="-29.89853858947754" 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_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> <ScenarioObject name="pedestrian_close_to_hero_2057"> <Pedestrian model="walker.pedestrian.0001" mass="80" name="walker.pedestrian.0001" pedestrianCategory="pedestrian"> <ParameterDeclarations/> <BoundingBox> <Center x="1.5" y="0.0" z="0.9"/> <Dimensions width="2" length="2" height="2"/> </BoundingBox> <Properties> <Property name="type" value="simulation"/> </Properties> </Pedestrian> </ScenarioObject> <ScenarioObject name="pedestrian_w_transform_2058"> <Pedestrian model="walker.pedestrian.0001" mass="80" name="walker.pedestrian.0001" pedestrianCategory="pedestrian"> <ParameterDeclarations/> <BoundingBox> <Center x="1.5" y="0.0" z="0.9"/> <Dimensions width="2" length="2" height="2"/> </BoundingBox> <Properties> <Property name="type" value="simulation"/> </Properties> </Pedestrian> </ScenarioObject> <ScenarioObject name="pedestrian_close_to_adversary_2059"> <Pedestrian model="walker.pedestrian.0001" mass="80" name="walker.pedestrian.0001" pedestrianCategory="pedestrian"> <ParameterDeclarations/> <BoundingBox> <Center x="1.5" y="0.0" z="0.9"/> <Dimensions width="2" length="2" height="2"/> </BoundingBox> <Properties> <Property name="type" value="simulation"/> </Properties> </Pedestrian> </ScenarioObject> <ScenarioObject name="pedestrian_close_to_hero_2060"> <Pedestrian model="walker.pedestrian.0001" mass="80" name="walker.pedestrian.0001" pedestrianCategory="pedestrian"> <ParameterDeclarations/> <BoundingBox> <Center x="1.5" y="0.0" z="0.9"/> <Dimensions width="2" length="2" height="2"/> </BoundingBox> <Properties> <Property name="type" value="simulation"/> </Properties> </Pedestrian> </ScenarioObject> <ScenarioObject name="pedestrian_close_to_standing_2061"> <Pedestrian model="walker.pedestrian.0001" mass="80" name="walker.pedestrian.0001" pedestrianCategory="pedestrian"> <ParameterDeclarations/> <BoundingBox> <Center x="1.5" y="0.0" z="0.9"/> <Dimensions width="2" length="2" height="2"/> </BoundingBox> <Properties> <Property name="type" value="simulation"/> </Properties> </Pedestrian> </ScenarioObject> <ScenarioObject name="pedestrian_w_transform_2062"> <Pedestrian model="walker.pedestrian.0001" mass="80" name="walker.pedestrian.0001" pedestrianCategory="pedestrian"> <ParameterDeclarations/> <BoundingBox> <Center x="1.5" y="0.0" z="0.9"/> <Dimensions width="2" length="2" height="2"/> </BoundingBox> <Properties> <Property name="type" value="simulation"/> </Properties> </Pedestrian> </ScenarioObject> <ScenarioObject name="pedestrian_close_to_hero_2063"> <Pedestrian model="walker.pedestrian.0001" mass="80" name="walker.pedestrian.0001" pedestrianCategory="pedestrian"> <ParameterDeclarations/> <BoundingBox> <Center x="1.5" y="0.0" z="0.9"/> <Dimensions width="2" length="2" height="2"/> </BoundingBox> <Properties> <Property name="type" value="simulation"/> </Properties> </Pedestrian> </ScenarioObject> <ScenarioObject name="pedestrian_close_to_hero_2064"> <Pedestrian model="walker.pedestrian.0001" mass="80" name="walker.pedestrian.0001" pedestrianCategory="pedestrian"> <ParameterDeclarations/> <BoundingBox> <Center x="1.5" y="0.0" z="0.9"/> <Dimensions width="2" length="2" height="2"/> </BoundingBox> <Properties> <Property name="type" value="simulation"/> </Properties> </Pedestrian> </ScenarioObject> <ScenarioObject name="pedestrian_w_transform_2065"> <Pedestrian model="walker.pedestrian.0001" mass="80" name="walker.pedestrian.0001" pedestrianCategory="pedestrian"> <ParameterDeclarations/> <BoundingBox> <Center x="1.5" y="0.0" z="0.9"/> <Dimensions width="2" length="2" height="2"/> </BoundingBox> <Properties> <Property name="type" value="simulation"/> </Properties> </Pedestrian> </ScenarioObject> <ScenarioObject name="pedestrian_w_transform_2066"> <Pedestrian model="walker.pedestrian.0001" mass="80" name="walker.pedestrian.0001" pedestrianCategory="pedestrian"> <ParameterDeclarations/> <BoundingBox> <Center x="1.5" y="0.0" z="0.9"/> <Dimensions width="2" length="2" height="2"/> </BoundingBox> <Properties> <Property name="type" value="simulation"/> </Properties> </Pedestrian> </ScenarioObject> <ScenarioObject name="pedestrian_w_transform_2067"> <Pedestrian model="walker.pedestrian.0001" mass="80" name="walker.pedestrian.0001" pedestrianCategory="pedestrian"> <ParameterDeclarations/> <BoundingBox> <Center x="1.5" y="0.0" z="0.9"/> <Dimensions width="2" length="2" height="2"/> </BoundingBox> <Properties> <Property name="type" value="simulation"/> </Properties> </Pedestrian> </ScenarioObject> <ScenarioObject name="pedestrian_close_to_adversary_2068"> <Pedestrian model="walker.pedestrian.0001" mass="80" name="walker.pedestrian.0001" pedestrianCategory="pedestrian"> <ParameterDeclarations/> <BoundingBox> <Center x="1.5" y="0.0" z="0.9"/> <Dimensions width="2" length="2" height="2"/> </BoundingBox> <Properties> <Property name="type" value="simulation"/> </Properties> </Pedestrian> </ScenarioObject> <ScenarioObject name="pedestrian_w_transform_2069"> <Pedestrian model="walker.pedestrian.0001" mass="80" name="walker.pedestrian.0001" pedestrianCategory="pedestrian"> <ParameterDeclarations/> <BoundingBox> <Center x="1.5" y="0.0" z="0.9"/> <Dimensions width="2" length="2" height="2"/> </BoundingBox> <Properties> <Property name="type" value="simulation"/> </Properties> </Pedestrian> </ScenarioObject> <ScenarioObject name="pedestrian_w_transform_2070"> <Pedestrian model="walker.pedestrian.0001" mass="80" name="walker.pedestrian.0001" pedestrianCategory="pedestrian"> <ParameterDeclarations/> <BoundingBox> <Center x="1.5" y="0.0" z="0.9"/> <Dimensions width="2" length="2" height="2"/> </BoundingBox> <Properties> <Property name="type" value="simulation"/> </Properties> </Pedestrian> </ScenarioObject> <ScenarioObject name="pedestrian_close_to_hero_2071"> <Pedestrian model="walker.pedestrian.0001" mass="80" name="walker.pedestrian.0001" pedestrianCategory="pedestrian"> <ParameterDeclarations/> <BoundingBox> <Center x="1.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_2056"> <PrivateAction> <TeleportAction> <Position> <WorldPosition x="-1.6918891668319702" y="22.435344696044922" z="0.0030613327398896217"/> </Position> </TeleportAction> </PrivateAction> </Private> <Private entityRef="pedestrian_close_to_hero_2057"> <PrivateAction> <TeleportAction> <Position> <WorldPosition x="-6.726730823516846" y="-157.34107971191406" z="0.0014525604201480746"/> </Position> </TeleportAction> </PrivateAction> </Private> <Private entityRef="pedestrian_w_transform_2058"> <PrivateAction> <TeleportAction> <Position> <WorldPosition x="8.473060607910156" y="-81.4713363647461" z="0.5"/> </Position> </TeleportAction> </PrivateAction> </Private> <Private entityRef="pedestrian_close_to_adversary_2059"> <PrivateAction> <TeleportAction> <Position> <WorldPosition x="-6.0645976066589355" y="-75.63294982910156" z="0.03379680588841438"/> </Position> </TeleportAction> </PrivateAction> </Private> <Private entityRef="pedestrian_close_to_hero_2060"> <PrivateAction> <TeleportAction> <Position> <WorldPosition x="-13.424429893493652" y="-145.91856384277344" z="0.0014525604201480746"/> </Position> </TeleportAction> </PrivateAction> </Private> <Private entityRef="pedestrian_close_to_standing_2061"> <PrivateAction> <TeleportAction> <Position> <WorldPosition x="-12.055602073669434" y="35.40184020996094" z="0.0030529021751135588"/> </Position> </TeleportAction> </PrivateAction> </Private> <Private entityRef="pedestrian_w_transform_2062"> <PrivateAction> <TeleportAction> <Position> <WorldPosition x="41.004859924316406" y="-90.12963104248047" z="0.5"/> </Position> </TeleportAction> </PrivateAction> </Private> <Private entityRef="pedestrian_close_to_hero_2063"> <PrivateAction> <TeleportAction> <Position> <WorldPosition x="-17.507177352905273" y="-157.13258361816406" z="0.0014525604201480746"/> </Position> </TeleportAction> </PrivateAction> </Private> <Private entityRef="pedestrian_close_to_hero_2064"> <PrivateAction> <TeleportAction> <Position> <WorldPosition x="-12.558622360229492" y="-159.76295471191406" z="0.0014525604201480746"/> </Position> </TeleportAction> </PrivateAction> </Private> <Private entityRef="pedestrian_w_transform_2065"> <PrivateAction> <TeleportAction> <Position> <WorldPosition x="-16.70583724975586" y="40.00391387939453" z="0.5"/> </Position> </TeleportAction> </PrivateAction> </Private> <Private entityRef="pedestrian_w_transform_2066"> <PrivateAction> <TeleportAction> <Position> <WorldPosition x="92.7759017944336" y="-74.71463775634766" z="0.5"/> </Position> </TeleportAction> </PrivateAction> </Private> <Private entityRef="pedestrian_w_transform_2067"> <PrivateAction> <TeleportAction> <Position> <WorldPosition x="-1.721008062362671" y="30.180950164794922" z="0.5"/> </Position> </TeleportAction> </PrivateAction> </Private> <Private entityRef="pedestrian_close_to_adversary_2068"> <PrivateAction> <TeleportAction> <Position> <WorldPosition x="14.473543167114258" y="-66.2989730834961" z="0.033769454807043076"/> </Position> </TeleportAction> </PrivateAction> </Private> <Private entityRef="pedestrian_w_transform_2069"> <PrivateAction> <TeleportAction> <Position> <WorldPosition x="53.35316848754883" y="-96.59566497802734" z="0.5"/> </Position> </TeleportAction> </PrivateAction> </Private> <Private entityRef="pedestrian_w_transform_2070"> <PrivateAction> <TeleportAction> <Position> <WorldPosition x="-50.861663818359375" y="-29.89853858947754" z="0.5"/> </Position> </TeleportAction> </PrivateAction> </Private> <Private entityRef="pedestrian_close_to_hero_2071"> <PrivateAction> <TeleportAction> <Position> <WorldPosition x="-13.321210861206055" y="-143.54612731933594" z="0.0014525604201480746"/> </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 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_w_transform_27614"> <Pedestrian model="walker.pedestrian.0001" mass="80" name="walker.pedestrian.0001" pedestrianCategory="pedestrian"> <ParameterDeclarations/> <BoundingBox> <Center x="1.5" y="0.0" z="0.9"/> <Dimensions width="2" length="2" height="2"/> </BoundingBox> <Properties> <Property name="type" value="simulation"/> </Properties> </Pedestrian> </ScenarioObject> <ScenarioObject name="pedestrian_w_transform_27615"> <Pedestrian model="walker.pedestrian.0001" mass="80" name="walker.pedestrian.0001" pedestrianCategory="pedestrian"> <ParameterDeclarations/> <BoundingBox> <Center x="1.5" y="0.0" z="0.9"/> <Dimensions width="2" length="2" height="2"/> </BoundingBox> <Properties> <Property name="type" value="simulation"/> </Properties> </Pedestrian> </ScenarioObject> <ScenarioObject name="pedestrian_w_transform_27616"> <Pedestrian model="walker.pedestrian.0001" mass="80" name="walker.pedestrian.0001" pedestrianCategory="pedestrian"> <ParameterDeclarations/> <BoundingBox> <Center x="1.5" y="0.0" z="0.9"/> <Dimensions width="2" length="2" height="2"/> </BoundingBox> <Properties> <Property name="type" value="simulation"/> </Properties> </Pedestrian> </ScenarioObject> <ScenarioObject name="pedestrian_close_to_hero_27617"> <Pedestrian model="walker.pedestrian.0001" mass="80" name="walker.pedestrian.0001" pedestrianCategory="pedestrian"> <ParameterDeclarations/> <BoundingBox> <Center x="1.5" y="0.0" z="0.9"/> <Dimensions width="2" length="2" height="2"/> </BoundingBox> <Properties> <Property name="type" value="simulation"/> </Properties> </Pedestrian> </ScenarioObject> <ScenarioObject name="pedestrian_w_transform_27619"> <Pedestrian model="walker.pedestrian.0001" mass="80" name="walker.pedestrian.0001" pedestrianCategory="pedestrian"> <ParameterDeclarations/> <BoundingBox> <Center x="1.5" y="0.0" z="0.9"/> <Dimensions width="2" length="2" height="2"/> </BoundingBox> <Properties> <Property name="type" value="simulation"/> </Properties> </Pedestrian> </ScenarioObject> <ScenarioObject name="pedestrian_w_transform_27621"> <Pedestrian model="walker.pedestrian.0001" mass="80" name="walker.pedestrian.0001" pedestrianCategory="pedestrian"> <ParameterDeclarations/> <BoundingBox> <Center x="1.5" y="0.0" z="0.9"/> <Dimensions width="2" length="2" height="2"/> </BoundingBox> <Properties> <Property name="type" value="simulation"/> </Properties> </Pedestrian> </ScenarioObject> <ScenarioObject name="pedestrian_close_to_adversary_27622"> <Pedestrian model="walker.pedestrian.0001" mass="80" name="walker.pedestrian.0001" pedestrianCategory="pedestrian"> <ParameterDeclarations/> <BoundingBox> <Center x="1.5" y="0.0" z="0.9"/> <Dimensions width="2" length="2" height="2"/> </BoundingBox> <Properties> <Property name="type" value="simulation"/> </Properties> </Pedestrian> </ScenarioObject> <ScenarioObject name="pedestrian_close_to_adversary_27623"> <Pedestrian model="walker.pedestrian.0001" mass="80" name="walker.pedestrian.0001" pedestrianCategory="pedestrian"> <ParameterDeclarations/> <BoundingBox> <Center x="1.5" y="0.0" z="0.9"/> <Dimensions width="2" length="2" height="2"/> </BoundingBox> <Properties> <Property name="type" value="simulation"/> </Properties> </Pedestrian> </ScenarioObject> <ScenarioObject name="pedestrian_w_transform_27624"> <Pedestrian model="walker.pedestrian.0001" mass="80" name="walker.pedestrian.0001" pedestrianCategory="pedestrian"> <ParameterDeclarations/> <BoundingBox> <Center x="1.5" y="0.0" z="0.9"/> <Dimensions width="2" length="2" height="2"/> </BoundingBox> <Properties> <Property name="type" value="simulation"/> </Properties> </Pedestrian> </ScenarioObject> <ScenarioObject name="pedestrian_close_to_standing_27625"> <Pedestrian model="walker.pedestrian.0001" mass="80" name="walker.pedestrian.0001" pedestrianCategory="pedestrian"> <ParameterDeclarations/> <BoundingBox> <Center x="1.5" y="0.0" z="0.9"/> <Dimensions width="2" length="2" height="2"/> </BoundingBox> <Properties> <Property name="type" value="simulation"/> </Properties> </Pedestrian> </ScenarioObject> <ScenarioObject name="pedestrian_close_to_adversary_27629"> <Pedestrian model="walker.pedestrian.0001" mass="80" name="walker.pedestrian.0001" pedestrianCategory="pedestrian"> <ParameterDeclarations/> <BoundingBox> <Center x="1.5" y="0.0" z="0.9"/> <Dimensions width="2" length="2" height="2"/> </BoundingBox> <Properties> <Property name="type" value="simulation"/> </Properties> </Pedestrian> </ScenarioObject> <ScenarioObject name="pedestrian_w_transform_27630"> <Pedestrian model="walker.pedestrian.0001" mass="80" name="walker.pedestrian.0001" pedestrianCategory="pedestrian"> <ParameterDeclarations/> <BoundingBox> <Center x="1.5" y="0.0" z="0.9"/> <Dimensions width="2" length="2" height="2"/> </BoundingBox> <Properties> <Property name="type" value="simulation"/> </Properties> </Pedestrian> </ScenarioObject> <ScenarioObject name="pedestrian_close_to_standing_27633"> <Pedestrian model="walker.pedestrian.0001" mass="80" name="walker.pedestrian.0001" pedestrianCategory="pedestrian"> <ParameterDeclarations/> <BoundingBox> <Center x="1.5" y="0.0" z="0.9"/> <Dimensions width="2" length="2" height="2"/> </BoundingBox> <Properties> <Property name="type" value="simulation"/> </Properties> </Pedestrian> </ScenarioObject> <ScenarioObject name="pedestrian_w_transform_27634"> <Pedestrian model="walker.pedestrian.0001" mass="80" name="walker.pedestrian.0001" pedestrianCategory="pedestrian"> <ParameterDeclarations/> <BoundingBox> <Center x="1.5" y="0.0" z="0.9"/> <Dimensions width="2" length="2" height="2"/> </BoundingBox> <Properties> <Property name="type" value="simulation"/> </Properties> </Pedestrian> </ScenarioObject> <ScenarioObject name="pedestrian_close_to_hero_27636"> <Pedestrian model="walker.pedestrian.0001" mass="80" name="walker.pedestrian.0001" pedestrianCategory="pedestrian"> <ParameterDeclarations/> <BoundingBox> <Center x="1.5" y="0.0" z="0.9"/> <Dimensions width="2" length="2" height="2"/> </BoundingBox> <Properties> <Property name="type" value="simulation"/> </Properties> </Pedestrian> </ScenarioObject> <ScenarioObject name="pedestrian_close_to_standing_27637"> <Pedestrian model="walker.pedestrian.0001" mass="80" name="walker.pedestrian.0001" pedestrianCategory="pedestrian"> <ParameterDeclarations/> <BoundingBox> <Center x="1.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_27614"> <PrivateAction> <TeleportAction> <Position> <WorldPosition x="71.70645141601562" y="67.87174224853516" z="0.5"/> </Position> </TeleportAction> </PrivateAction> </Private> <Private entityRef="pedestrian_w_transform_27615"> <PrivateAction> <TeleportAction> <Position> <WorldPosition x="-87.34850311279297" y="-80.71833801269531" z="0.5"/> </Position> </TeleportAction> </PrivateAction> </Private> <Private entityRef="pedestrian_w_transform_27616"> <PrivateAction> <TeleportAction> <Position> <WorldPosition x="54.21688461303711" y="19.71137237548828" z="0.5"/> </Position> </TeleportAction> </PrivateAction> </Private> <Private entityRef="pedestrian_close_to_hero_27617"> <PrivateAction> <TeleportAction> <Position> <WorldPosition x="-22.405982971191406" y="-246.21693420410156" z="0.001678848173469305"/> </Position> </TeleportAction> </PrivateAction> </Private> <Private entityRef="pedestrian_w_transform_27619"> <PrivateAction> <TeleportAction> <Position> <WorldPosition x="-84.37052154541016" y="22.09419822692871" z="0.5"/> </Position> </TeleportAction> </PrivateAction> </Private> <Private entityRef="pedestrian_w_transform_27621"> <PrivateAction> <TeleportAction> <Position> <WorldPosition x="77.67949676513672" y="-83.65821075439453" z="0.5"/> </Position> </TeleportAction> </PrivateAction> </Private> <Private entityRef="pedestrian_close_to_adversary_27622"> <PrivateAction> <TeleportAction> <Position> <WorldPosition x="-8.512059211730957" y="-69.43470764160156" z="0.033777158707380295"/> </Position> </TeleportAction> </PrivateAction> </Private> <Private entityRef="pedestrian_close_to_adversary_27623"> <PrivateAction> <TeleportAction> <Position> <WorldPosition x="-6.036080837249756" y="-69.47721099853516" z="0.03378181532025337"/> </Position> </TeleportAction> </PrivateAction> </Private> <Private entityRef="pedestrian_w_transform_27624"> <PrivateAction> <TeleportAction> <Position> <WorldPosition x="-40.52633285522461" y="2.5692217350006104" z="0.5"/> </Position> </TeleportAction> </PrivateAction> </Private> <Private entityRef="pedestrian_close_to_standing_27625"> <PrivateAction> <TeleportAction> <Position> <WorldPosition x="-2.383338451385498" y="33.056907653808594" z="0.003018035786226392"/> </Position> </TeleportAction> </PrivateAction> </Private> <Private entityRef="pedestrian_close_to_adversary_27629"> <PrivateAction> <TeleportAction> <Position> <WorldPosition x="-5.403825759887695" y="-71.01201629638672" z="0.033791884779930115"/> </Position> </TeleportAction> </PrivateAction> </Private> <Private entityRef="pedestrian_w_transform_27630"> <PrivateAction> <TeleportAction> <Position> <WorldPosition x="36.46044921875" y="50.51041793823242" z="0.5"/> </Position> </TeleportAction> </PrivateAction> </Private> <Private entityRef="pedestrian_close_to_standing_27633"> <PrivateAction> <TeleportAction> <Position> <WorldPosition x="-6.709212779998779" y="21.575965881347656" z="0.003026885911822319"/> </Position> </TeleportAction> </PrivateAction> </Private> <Private entityRef="pedestrian_w_transform_27634"> <PrivateAction> <TeleportAction> <Position> <WorldPosition x="-8.47409725189209" y="-45.66725158691406" z="0.5"/> </Position> </TeleportAction> </PrivateAction> </Private> <Private entityRef="pedestrian_close_to_hero_27636"> <PrivateAction> <TeleportAction> <Position> <WorldPosition x="-20.513607025146484" y="-253.0747833251953" z="0.001678848173469305"/> </Position> </TeleportAction> </PrivateAction> </Private> <Private entityRef="pedestrian_close_to_standing_27637"> <PrivateAction> <TeleportAction> <Position> <WorldPosition x="-1.3543453216552734" y="22.336095809936523" z="0.0030049514025449753"/> </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_27614"> <Pedestrian model="walker.pedestrian.0001" mass="80" name="walker.pedestrian.0001" pedestrianCategory="pedestrian"> <ParameterDeclarations/> <BoundingBox> <Center x="1.5" y="0.0" z="0.9"/> <Dimensions width="2" length="2" height="2"/> </BoundingBox> <Properties> <Property name="type" value="simulation"/> </Properties> </Pedestrian> </ScenarioObject> <ScenarioObject name="pedestrian_w_transform_27615"> <Pedestrian model="walker.pedestrian.0001" mass="80" name="walker.pedestrian.0001" pedestrianCategory="pedestrian"> <ParameterDeclarations/> <BoundingBox> <Center x="1.5" y="0.0" z="0.9"/> <Dimensions width="2" length="2" height="2"/> </BoundingBox> <Properties> <Property name="type" value="simulation"/> </Properties> </Pedestrian> </ScenarioObject> <ScenarioObject name="pedestrian_w_transform_27616"> <Pedestrian model="walker.pedestrian.0001" mass="80" name="walker.pedestrian.0001" pedestrianCategory="pedestrian"> <ParameterDeclarations/> <BoundingBox> <Center x="1.5" y="0.0" z="0.9"/> <Dimensions width="2" length="2" height="2"/> </BoundingBox> <Properties> <Property name="type" value="simulation"/> </Properties> </Pedestrian> </ScenarioObject> <ScenarioObject name="pedestrian_close_to_hero_27617"> <Pedestrian model="walker.pedestrian.0001" mass="80" name="walker.pedestrian.0001" pedestrianCategory="pedestrian"> <ParameterDeclarations/> <BoundingBox> <Center x="1.5" y="0.0" z="0.9"/> <Dimensions width="2" length="2" height="2"/> </BoundingBox> <Properties> <Property name="type" value="simulation"/> </Properties> </Pedestrian> </ScenarioObject> <ScenarioObject name="pedestrian_w_transform_27619"> <Pedestrian model="walker.pedestrian.0001" mass="80" name="walker.pedestrian.0001" pedestrianCategory="pedestrian"> <ParameterDeclarations/> <BoundingBox> <Center x="1.5" y="0.0" z="0.9"/> <Dimensions width="2" length="2" height="2"/> </BoundingBox> <Properties> <Property name="type" value="simulation"/> </Properties> </Pedestrian> </ScenarioObject> <ScenarioObject name="pedestrian_w_transform_27621"> <Pedestrian model="walker.pedestrian.0001" mass="80" name="walker.pedestrian.0001" pedestrianCategory="pedestrian"> <ParameterDeclarations/> <BoundingBox> <Center x="1.5" y="0.0" z="0.9"/> <Dimensions width="2" length="2" height="2"/> </BoundingBox> <Properties> <Property name="type" value="simulation"/> </Properties> </Pedestrian> </ScenarioObject> <ScenarioObject name="pedestrian_close_to_adversary_27622"> <Pedestrian model="walker.pedestrian.0001" mass="80" name="walker.pedestrian.0001" pedestrianCategory="pedestrian"> <ParameterDeclarations/> <BoundingBox> <Center x="1.5" y="0.0" z="0.9"/> <Dimensions width="2" length="2" height="2"/> </BoundingBox> <Properties> <Property name="type" value="simulation"/> </Properties> </Pedestrian> </ScenarioObject> <ScenarioObject name="pedestrian_close_to_adversary_27623"> <Pedestrian model="walker.pedestrian.0001" mass="80" name="walker.pedestrian.0001" pedestrianCategory="pedestrian"> <ParameterDeclarations/> <BoundingBox> <Center x="1.5" y="0.0" z="0.9"/> <Dimensions width="2" length="2" height="2"/> </BoundingBox> <Properties> <Property name="type" value="simulation"/> </Properties> </Pedestrian> </ScenarioObject> <ScenarioObject name="pedestrian_w_transform_27624"> <Pedestrian model="walker.pedestrian.0001" mass="80" name="walker.pedestrian.0001" pedestrianCategory="pedestrian"> <ParameterDeclarations/> <BoundingBox> <Center x="1.5" y="0.0" z="0.9"/> <Dimensions width="2" length="2" height="2"/> </BoundingBox> <Properties> <Property name="type" value="simulation"/> </Properties> </Pedestrian> </ScenarioObject> <ScenarioObject name="pedestrian_close_to_standing_27625"> <Pedestrian model="walker.pedestrian.0001" mass="80" name="walker.pedestrian.0001" pedestrianCategory="pedestrian"> <ParameterDeclarations/> <BoundingBox> <Center x="1.5" y="0.0" z="0.9"/> <Dimensions width="2" length="2" height="2"/> </BoundingBox> <Properties> <Property name="type" value="simulation"/> </Properties> </Pedestrian> </ScenarioObject> <ScenarioObject name="pedestrian_close_to_adversary_27629"> <Pedestrian model="walker.pedestrian.0001" mass="80" name="walker.pedestrian.0001" pedestrianCategory="pedestrian"> <ParameterDeclarations/> <BoundingBox> <Center x="1.5" y="0.0" z="0.9"/> <Dimensions width="2" length="2" height="2"/> </BoundingBox> <Properties> <Property name="type" value="simulation"/> </Properties> </Pedestrian> </ScenarioObject> <ScenarioObject name="pedestrian_w_transform_27630"> <Pedestrian model="walker.pedestrian.0001" mass="80" name="walker.pedestrian.0001" pedestrianCategory="pedestrian"> <ParameterDeclarations/> <BoundingBox> <Center x="1.5" y="0.0" z="0.9"/> <Dimensions width="2" length="2" height="2"/> </BoundingBox> <Properties> <Property name="type" value="simulation"/> </Properties> </Pedestrian> </ScenarioObject> <ScenarioObject name="pedestrian_close_to_standing_27633"> <Pedestrian model="walker.pedestrian.0001" mass="80" name="walker.pedestrian.0001" pedestrianCategory="pedestrian"> <ParameterDeclarations/> <BoundingBox> <Center x="1.5" y="0.0" z="0.9"/> <Dimensions width="2" length="2" height="2"/> </BoundingBox> <Properties> <Property name="type" value="simulation"/> </Properties> </Pedestrian> </ScenarioObject> <ScenarioObject name="pedestrian_w_transform_27634"> <Pedestrian model="walker.pedestrian.0001" mass="80" name="walker.pedestrian.0001" pedestrianCategory="pedestrian"> <ParameterDeclarations/> <BoundingBox> <Center x="1.5" y="0.0" z="0.9"/> <Dimensions width="2" length="2" height="2"/> </BoundingBox> <Properties> <Property name="type" value="simulation"/> </Properties> </Pedestrian> </ScenarioObject> <ScenarioObject name="pedestrian_close_to_hero_27636"> <Pedestrian model="walker.pedestrian.0001" mass="80" name="walker.pedestrian.0001" pedestrianCategory="pedestrian"> <ParameterDeclarations/> <BoundingBox> <Center x="1.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_27614"> <PrivateAction> <TeleportAction> <Position> <WorldPosition x="71.70645141601562" y="67.87174224853516" z="0.5"/> </Position> </TeleportAction> </PrivateAction> </Private> <Private entityRef="pedestrian_w_transform_27615"> <PrivateAction> <TeleportAction> <Position> <WorldPosition x="-87.34850311279297" y="-80.71833801269531" z="0.5"/> </Position> </TeleportAction> </PrivateAction> </Private> <Private entityRef="pedestrian_w_transform_27616"> <PrivateAction> <TeleportAction> <Position> <WorldPosition x="54.21688461303711" y="19.71137237548828" z="0.5"/> </Position> </TeleportAction> </PrivateAction> </Private> <Private entityRef="pedestrian_close_to_hero_27617"> <PrivateAction> <TeleportAction> <Position> <WorldPosition x="-22.405982971191406" y="-246.21693420410156" z="0.001678848173469305"/> </Position> </TeleportAction> </PrivateAction> </Private> <Private entityRef="pedestrian_w_transform_27619"> <PrivateAction> <TeleportAction> <Position> <WorldPosition x="-84.37052154541016" y="22.09419822692871" z="0.5"/> </Position> </TeleportAction> </PrivateAction> </Private> <Private entityRef="pedestrian_w_transform_27621"> <PrivateAction> <TeleportAction> <Position> <WorldPosition x="77.67949676513672" y="-83.65821075439453" z="0.5"/> </Position> </TeleportAction> </PrivateAction> </Private> <Private entityRef="pedestrian_close_to_adversary_27622"> <PrivateAction> <TeleportAction> <Position> <WorldPosition x="-8.512059211730957" y="-69.43470764160156" z="0.033777158707380295"/> </Position> </TeleportAction> </PrivateAction> </Private> <Private entityRef="pedestrian_close_to_adversary_27623"> <PrivateAction> <TeleportAction> <Position> <WorldPosition x="-6.036080837249756" y="-69.47721099853516" z="0.03378181532025337"/> </Position> </TeleportAction> </PrivateAction> </Private> <Private entityRef="pedestrian_w_transform_27624"> <PrivateAction> <TeleportAction> <Position> <WorldPosition x="-40.52633285522461" y="2.5692217350006104" z="0.5"/> </Position> </TeleportAction> </PrivateAction> </Private> <Private entityRef="pedestrian_close_to_standing_27625"> <PrivateAction> <TeleportAction> <Position> <WorldPosition x="-2.383338451385498" y="33.056907653808594" z="0.003018035786226392"/> </Position> </TeleportAction> </PrivateAction> </Private> <Private entityRef="pedestrian_close_to_adversary_27629"> <PrivateAction> <TeleportAction> <Position> <WorldPosition x="-5.403825759887695" y="-71.01201629638672" z="0.033791884779930115"/> </Position> </TeleportAction> </PrivateAction> </Private> <Private entityRef="pedestrian_w_transform_27630"> <PrivateAction> <TeleportAction> <Position> <WorldPosition x="36.46044921875" y="50.51041793823242" z="0.5"/> </Position> </TeleportAction> </PrivateAction> </Private> <Private entityRef="pedestrian_close_to_standing_27633"> <PrivateAction> <TeleportAction> <Position> <WorldPosition x="-6.709212779998779" y="21.575965881347656" z="0.003026885911822319"/> </Position> </TeleportAction> </PrivateAction> </Private> <Private entityRef="pedestrian_w_transform_27634"> <PrivateAction> <TeleportAction> <Position> <WorldPosition x="-8.47409725189209" y="-45.66725158691406" z="0.5"/> </Position> </TeleportAction> </PrivateAction> </Private> <Private entityRef="pedestrian_close_to_hero_27636"> <PrivateAction> <TeleportAction> <Position> <WorldPosition x="-20.513607025146484" y="-253.0747833251953" z="0.001678848173469305"/> </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 (-48.83, 53.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_adversary_3462"> <Pedestrian model="walker.pedestrian.0001" mass="80" name="walker.pedestrian.0001" pedestrianCategory="pedestrian"> <ParameterDeclarations/> <BoundingBox> <Center x="1.5" y="0.0" z="0.9"/> <Dimensions width="2" length="2" height="2"/> </BoundingBox> <Properties> <Property name="type" value="simulation"/> </Properties> </Pedestrian> </ScenarioObject> <ScenarioObject name="pedestrian_w_transform_3463"> <Pedestrian model="walker.pedestrian.0001" mass="80" name="walker.pedestrian.0001" pedestrianCategory="pedestrian"> <ParameterDeclarations/> <BoundingBox> <Center x="1.5" y="0.0" z="0.9"/> <Dimensions width="2" length="2" height="2"/> </BoundingBox> <Properties> <Property name="type" value="simulation"/> </Properties> </Pedestrian> </ScenarioObject> <ScenarioObject name="pedestrian_close_to_adversary_3464"> <Pedestrian model="walker.pedestrian.0001" mass="80" name="walker.pedestrian.0001" pedestrianCategory="pedestrian"> <ParameterDeclarations/> <BoundingBox> <Center x="1.5" y="0.0" z="0.9"/> <Dimensions width="2" length="2" height="2"/> </BoundingBox> <Properties> <Property name="type" value="simulation"/> </Properties> </Pedestrian> </ScenarioObject> <ScenarioObject name="pedestrian_close_to_standing_3465"> <Pedestrian model="walker.pedestrian.0001" mass="80" name="walker.pedestrian.0001" pedestrianCategory="pedestrian"> <ParameterDeclarations/> <BoundingBox> <Center x="1.5" y="0.0" z="0.9"/> <Dimensions width="2" length="2" height="2"/> </BoundingBox> <Properties> <Property name="type" value="simulation"/> </Properties> </Pedestrian> </ScenarioObject> <ScenarioObject name="pedestrian_close_to_hero_3466"> <Pedestrian model="walker.pedestrian.0001" mass="80" name="walker.pedestrian.0001" pedestrianCategory="pedestrian"> <ParameterDeclarations/> <BoundingBox> <Center x="1.5" y="0.0" z="0.9"/> <Dimensions width="2" length="2" height="2"/> </BoundingBox> <Properties> <Property name="type" value="simulation"/> </Properties> </Pedestrian> </ScenarioObject> <ScenarioObject name="pedestrian_close_to_standing_3467"> <Pedestrian model="walker.pedestrian.0001" mass="80" name="walker.pedestrian.0001" pedestrianCategory="pedestrian"> <ParameterDeclarations/> <BoundingBox> <Center x="1.5" y="0.0" z="0.9"/> <Dimensions width="2" length="2" height="2"/> </BoundingBox> <Properties> <Property name="type" value="simulation"/> </Properties> </Pedestrian> </ScenarioObject> <ScenarioObject name="pedestrian_close_to_standing_3468"> <Pedestrian model="walker.pedestrian.0001" mass="80" name="walker.pedestrian.0001" pedestrianCategory="pedestrian"> <ParameterDeclarations/> <BoundingBox> <Center x="1.5" y="0.0" z="0.9"/> <Dimensions width="2" length="2" height="2"/> </BoundingBox> <Properties> <Property name="type" value="simulation"/> </Properties> </Pedestrian> </ScenarioObject> <ScenarioObject name="pedestrian_close_to_standing_3469"> <Pedestrian model="walker.pedestrian.0001" mass="80" name="walker.pedestrian.0001" pedestrianCategory="pedestrian"> <ParameterDeclarations/> <BoundingBox> <Center x="1.5" y="0.0" z="0.9"/> <Dimensions width="2" length="2" height="2"/> </BoundingBox> <Properties> <Property name="type" value="simulation"/> </Properties> </Pedestrian> </ScenarioObject> <ScenarioObject name="pedestrian_close_to_adversary_3471"> <Pedestrian model="walker.pedestrian.0001" mass="80" name="walker.pedestrian.0001" pedestrianCategory="pedestrian"> <ParameterDeclarations/> <BoundingBox> <Center x="1.5" y="0.0" z="0.9"/> <Dimensions width="2" length="2" height="2"/> </BoundingBox> <Properties> <Property name="type" value="simulation"/> </Properties> </Pedestrian> </ScenarioObject> <ScenarioObject name="pedestrian_w_transform_3472"> <Pedestrian model="walker.pedestrian.0001" mass="80" name="walker.pedestrian.0001" pedestrianCategory="pedestrian"> <ParameterDeclarations/> <BoundingBox> <Center x="1.5" y="0.0" z="0.9"/> <Dimensions width="2" length="2" height="2"/> </BoundingBox> <Properties> <Property name="type" value="simulation"/> </Properties> </Pedestrian> </ScenarioObject> <ScenarioObject name="pedestrian_close_to_standing_3473"> <Pedestrian model="walker.pedestrian.0001" mass="80" name="walker.pedestrian.0001" pedestrianCategory="pedestrian"> <ParameterDeclarations/> <BoundingBox> <Center x="1.5" y="0.0" z="0.9"/> <Dimensions width="2" length="2" height="2"/> </BoundingBox> <Properties> <Property name="type" value="simulation"/> </Properties> </Pedestrian> </ScenarioObject> <ScenarioObject name="pedestrian_w_transform_3474"> <Pedestrian model="walker.pedestrian.0001" mass="80" name="walker.pedestrian.0001" pedestrianCategory="pedestrian"> <ParameterDeclarations/> <BoundingBox> <Center x="1.5" y="0.0" z="0.9"/> <Dimensions width="2" length="2" height="2"/> </BoundingBox> <Properties> <Property name="type" value="simulation"/> </Properties> </Pedestrian> </ScenarioObject> <ScenarioObject name="pedestrian_w_transform_3475"> <Pedestrian model="walker.pedestrian.0001" mass="80" name="walker.pedestrian.0001" pedestrianCategory="pedestrian"> <ParameterDeclarations/> <BoundingBox> <Center x="1.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_3462"> <PrivateAction> <TeleportAction> <Position> <WorldPosition x="-10.644210815429688" y="-63.387577056884766" z="0.033752020448446274"/> </Position> </TeleportAction> </PrivateAction> </Private> <Private entityRef="pedestrian_w_transform_3463"> <PrivateAction> <TeleportAction> <Position> <WorldPosition x="97.91468048095703" y="-23.215579986572266" z="0.5"/> </Position> </TeleportAction> </PrivateAction> </Private> <Private entityRef="pedestrian_close_to_adversary_3464"> <PrivateAction> <TeleportAction> <Position> <WorldPosition x="0.8346390128135681" y="-84.44136047363281" z="0.03377998247742653"/> </Position> </TeleportAction> </PrivateAction> </Private> <Private entityRef="pedestrian_close_to_standing_3465"> <PrivateAction> <TeleportAction> <Position> <WorldPosition x="-11.046913146972656" y="25.228687286376953" z="0.0030492781661450863"/> </Position> </TeleportAction> </PrivateAction> </Private> <Private entityRef="pedestrian_close_to_hero_3466"> <PrivateAction> <TeleportAction> <Position> <WorldPosition x="-15.421331405639648" y="-144.8627166748047" z="0.0013900374760851264"/> </Position> </TeleportAction> </PrivateAction> </Private> <Private entityRef="pedestrian_close_to_standing_3467"> <PrivateAction> <TeleportAction> <Position> <WorldPosition x="4.70425271987915" y="29.363750457763672" z="0.0030849457252770662"/> </Position> </TeleportAction> </PrivateAction> </Private> <Private entityRef="pedestrian_close_to_standing_3468"> <PrivateAction> <TeleportAction> <Position> <WorldPosition x="-16.053600311279297" y="22.36908531188965" z="0.003061180002987385"/> </Position> </TeleportAction> </PrivateAction> </Private> <Private entityRef="pedestrian_close_to_standing_3469"> <PrivateAction> <TeleportAction> <Position> <WorldPosition x="-7.002729892730713" y="24.971473693847656" z="0.003046226454898715"/> </Position> </TeleportAction> </PrivateAction> </Private> <Private entityRef="pedestrian_close_to_adversary_3471"> <PrivateAction> <TeleportAction> <Position> <WorldPosition x="-5.245608329772949" y="-77.35261535644531" z="0.033797454088926315"/> </Position> </TeleportAction> </PrivateAction> </Private> <Private entityRef="pedestrian_w_transform_3472"> <PrivateAction> <TeleportAction> <Position> <WorldPosition x="-56.5118408203125" y="-51.3808708190918" z="0.5"/> </Position> </TeleportAction> </PrivateAction> </Private> <Private entityRef="pedestrian_close_to_standing_3473"> <PrivateAction> <TeleportAction> <Position> <WorldPosition x="-5.231469631195068" y="31.042001724243164" z="0.003037528833374381"/> </Position> </TeleportAction> </PrivateAction> </Private> <Private entityRef="pedestrian_w_transform_3474"> <PrivateAction> <TeleportAction> <Position> <WorldPosition x="-67.33575439453125" y="84.19581604003906" z="0.5"/> </Position> </TeleportAction> </PrivateAction> </Private> <Private entityRef="pedestrian_w_transform_3475"> <PrivateAction> <TeleportAction> <Position> <WorldPosition x="35.48155212402344" y="-79.80802917480469" 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_3462"> <Pedestrian model="walker.pedestrian.0001" mass="80" name="walker.pedestrian.0001" pedestrianCategory="pedestrian"> <ParameterDeclarations/> <BoundingBox> <Center x="1.5" y="0.0" z="0.9"/> <Dimensions width="2" length="2" height="2"/> </BoundingBox> <Properties> <Property name="type" value="simulation"/> </Properties> </Pedestrian> </ScenarioObject> <ScenarioObject name="pedestrian_w_transform_3463"> <Pedestrian model="walker.pedestrian.0001" mass="80" name="walker.pedestrian.0001" pedestrianCategory="pedestrian"> <ParameterDeclarations/> <BoundingBox> <Center x="1.5" y="0.0" z="0.9"/> <Dimensions width="2" length="2" height="2"/> </BoundingBox> <Properties> <Property name="type" value="simulation"/> </Properties> </Pedestrian> </ScenarioObject> <ScenarioObject name="pedestrian_close_to_adversary_3464"> <Pedestrian model="walker.pedestrian.0001" mass="80" name="walker.pedestrian.0001" pedestrianCategory="pedestrian"> <ParameterDeclarations/> <BoundingBox> <Center x="1.5" y="0.0" z="0.9"/> <Dimensions width="2" length="2" height="2"/> </BoundingBox> <Properties> <Property name="type" value="simulation"/> </Properties> </Pedestrian> </ScenarioObject> <ScenarioObject name="pedestrian_close_to_standing_3465"> <Pedestrian model="walker.pedestrian.0001" mass="80" name="walker.pedestrian.0001" pedestrianCategory="pedestrian"> <ParameterDeclarations/> <BoundingBox> <Center x="1.5" y="0.0" z="0.9"/> <Dimensions width="2" length="2" height="2"/> </BoundingBox> <Properties> <Property name="type" value="simulation"/> </Properties> </Pedestrian> </ScenarioObject> <ScenarioObject name="pedestrian_close_to_hero_3466"> <Pedestrian model="walker.pedestrian.0001" mass="80" name="walker.pedestrian.0001" pedestrianCategory="pedestrian"> <ParameterDeclarations/> <BoundingBox> <Center x="1.5" y="0.0" z="0.9"/> <Dimensions width="2" length="2" height="2"/> </BoundingBox> <Properties> <Property name="type" value="simulation"/> </Properties> </Pedestrian> </ScenarioObject> <ScenarioObject name="pedestrian_close_to_standing_3467"> <Pedestrian model="walker.pedestrian.0001" mass="80" name="walker.pedestrian.0001" pedestrianCategory="pedestrian"> <ParameterDeclarations/> <BoundingBox> <Center x="1.5" y="0.0" z="0.9"/> <Dimensions width="2" length="2" height="2"/> </BoundingBox> <Properties> <Property name="type" value="simulation"/> </Properties> </Pedestrian> </ScenarioObject> <ScenarioObject name="pedestrian_close_to_standing_3468"> <Pedestrian model="walker.pedestrian.0001" mass="80" name="walker.pedestrian.0001" pedestrianCategory="pedestrian"> <ParameterDeclarations/> <BoundingBox> <Center x="1.5" y="0.0" z="0.9"/> <Dimensions width="2" length="2" height="2"/> </BoundingBox> <Properties> <Property name="type" value="simulation"/> </Properties> </Pedestrian> </ScenarioObject> <ScenarioObject name="pedestrian_close_to_standing_3469"> <Pedestrian model="walker.pedestrian.0001" mass="80" name="walker.pedestrian.0001" pedestrianCategory="pedestrian"> <ParameterDeclarations/> <BoundingBox> <Center x="1.5" y="0.0" z="0.9"/> <Dimensions width="2" length="2" height="2"/> </BoundingBox> <Properties> <Property name="type" value="simulation"/> </Properties> </Pedestrian> </ScenarioObject> <ScenarioObject name="pedestrian_close_to_adversary_3471"> <Pedestrian model="walker.pedestrian.0001" mass="80" name="walker.pedestrian.0001" pedestrianCategory="pedestrian"> <ParameterDeclarations/> <BoundingBox> <Center x="1.5" y="0.0" z="0.9"/> <Dimensions width="2" length="2" height="2"/> </BoundingBox> <Properties> <Property name="type" value="simulation"/> </Properties> </Pedestrian> </ScenarioObject> <ScenarioObject name="pedestrian_w_transform_3472"> <Pedestrian model="walker.pedestrian.0001" mass="80" name="walker.pedestrian.0001" pedestrianCategory="pedestrian"> <ParameterDeclarations/> <BoundingBox> <Center x="1.5" y="0.0" z="0.9"/> <Dimensions width="2" length="2" height="2"/> </BoundingBox> <Properties> <Property name="type" value="simulation"/> </Properties> </Pedestrian> </ScenarioObject> <ScenarioObject name="pedestrian_close_to_standing_3473"> <Pedestrian model="walker.pedestrian.0001" mass="80" name="walker.pedestrian.0001" pedestrianCategory="pedestrian"> <ParameterDeclarations/> <BoundingBox> <Center x="1.5" y="0.0" z="0.9"/> <Dimensions width="2" length="2" height="2"/> </BoundingBox> <Properties> <Property name="type" value="simulation"/> </Properties> </Pedestrian> </ScenarioObject> <ScenarioObject name="pedestrian_w_transform_3474"> <Pedestrian model="walker.pedestrian.0001" mass="80" name="walker.pedestrian.0001" pedestrianCategory="pedestrian"> <ParameterDeclarations/> <BoundingBox> <Center x="1.5" y="0.0" z="0.9"/> <Dimensions width="2" length="2" height="2"/> </BoundingBox> <Properties> <Property name="type" value="simulation"/> </Properties> </Pedestrian> </ScenarioObject> <ScenarioObject name="pedestrian_w_transform_3475"> <Pedestrian model="walker.pedestrian.0001" mass="80" name="walker.pedestrian.0001" pedestrianCategory="pedestrian"> <ParameterDeclarations/> <BoundingBox> <Center x="1.5" y="0.0" z="0.9"/> <Dimensions width="2" length="2" height="2"/> </BoundingBox> <Properties> <Property name="type" value="simulation"/> </Properties> </Pedestrian> </ScenarioObject> <ScenarioObject name="pedestrian_w_transform_3476"> <Pedestrian model="walker.pedestrian.0001" mass="80" name="walker.pedestrian.0001" pedestrianCategory="pedestrian"> <ParameterDeclarations/> <BoundingBox> <Center x="1.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_3462"> <PrivateAction> <TeleportAction> <Position> <WorldPosition x="-10.644210815429688" y="-63.387577056884766" z="0.033752020448446274"/> </Position> </TeleportAction> </PrivateAction> </Private> <Private entityRef="pedestrian_w_transform_3463"> <PrivateAction> <TeleportAction> <Position> <WorldPosition x="97.91468048095703" y="-23.215579986572266" z="0.5"/> </Position> </TeleportAction> </PrivateAction> </Private> <Private entityRef="pedestrian_close_to_adversary_3464"> <PrivateAction> <TeleportAction> <Position> <WorldPosition x="0.8346390128135681" y="-84.44136047363281" z="0.03377998247742653"/> </Position> </TeleportAction> </PrivateAction> </Private> <Private entityRef="pedestrian_close_to_standing_3465"> <PrivateAction> <TeleportAction> <Position> <WorldPosition x="-11.046913146972656" y="25.228687286376953" z="0.0030492781661450863"/> </Position> </TeleportAction> </PrivateAction> </Private> <Private entityRef="pedestrian_close_to_hero_3466"> <PrivateAction> <TeleportAction> <Position> <WorldPosition x="-15.421331405639648" y="-144.8627166748047" z="0.0013900374760851264"/> </Position> </TeleportAction> </PrivateAction> </Private> <Private entityRef="pedestrian_close_to_standing_3467"> <PrivateAction> <TeleportAction> <Position> <WorldPosition x="4.70425271987915" y="29.363750457763672" z="0.0030849457252770662"/> </Position> </TeleportAction> </PrivateAction> </Private> <Private entityRef="pedestrian_close_to_standing_3468"> <PrivateAction> <TeleportAction> <Position> <WorldPosition x="-16.053600311279297" y="22.36908531188965" z="0.003061180002987385"/> </Position> </TeleportAction> </PrivateAction> </Private> <Private entityRef="pedestrian_close_to_standing_3469"> <PrivateAction> <TeleportAction> <Position> <WorldPosition x="-7.002729892730713" y="24.971473693847656" z="0.003046226454898715"/> </Position> </TeleportAction> </PrivateAction> </Private> <Private entityRef="pedestrian_close_to_adversary_3471"> <PrivateAction> <TeleportAction> <Position> <WorldPosition x="-5.245608329772949" y="-77.35261535644531" z="0.033797454088926315"/> </Position> </TeleportAction> </PrivateAction> </Private> <Private entityRef="pedestrian_w_transform_3472"> <PrivateAction> <TeleportAction> <Position> <WorldPosition x="-56.5118408203125" y="-51.3808708190918" z="0.5"/> </Position> </TeleportAction> </PrivateAction> </Private> <Private entityRef="pedestrian_close_to_standing_3473"> <PrivateAction> <TeleportAction> <Position> <WorldPosition x="-5.231469631195068" y="31.042001724243164" z="0.003037528833374381"/> </Position> </TeleportAction> </PrivateAction> </Private> <Private entityRef="pedestrian_w_transform_3474"> <PrivateAction> <TeleportAction> <Position> <WorldPosition x="-67.33575439453125" y="84.19581604003906" z="0.5"/> </Position> </TeleportAction> </PrivateAction> </Private> <Private entityRef="pedestrian_w_transform_3475"> <PrivateAction> <TeleportAction> <Position> <WorldPosition x="35.48155212402344" y="-79.80802917480469" z="0.5"/> </Position> </TeleportAction> </PrivateAction> </Private> <Private entityRef="pedestrian_w_transform_3476"> <PrivateAction> <TeleportAction> <Position> <WorldPosition x="-48.83414077758789" y="53.56723403930664" 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 at location (16.36, -29.07, 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_13787"> <Pedestrian model="walker.pedestrian.0001" mass="80" name="walker.pedestrian.0001" pedestrianCategory="pedestrian"> <ParameterDeclarations/> <BoundingBox> <Center x="1.5" y="0.0" z="0.9"/> <Dimensions width="2" length="2" height="2"/> </BoundingBox> <Properties> <Property name="type" value="simulation"/> </Properties> </Pedestrian> </ScenarioObject> <ScenarioObject name="pedestrian_w_transform_13788"> <Pedestrian model="walker.pedestrian.0001" mass="80" name="walker.pedestrian.0001" pedestrianCategory="pedestrian"> <ParameterDeclarations/> <BoundingBox> <Center x="1.5" y="0.0" z="0.9"/> <Dimensions width="2" length="2" height="2"/> </BoundingBox> <Properties> <Property name="type" value="simulation"/> </Properties> </Pedestrian> </ScenarioObject> <ScenarioObject name="pedestrian_close_to_hero_13789"> <Pedestrian model="walker.pedestrian.0001" mass="80" name="walker.pedestrian.0001" pedestrianCategory="pedestrian"> <ParameterDeclarations/> <BoundingBox> <Center x="1.5" y="0.0" z="0.9"/> <Dimensions width="2" length="2" height="2"/> </BoundingBox> <Properties> <Property name="type" value="simulation"/> </Properties> </Pedestrian> </ScenarioObject> <ScenarioObject name="pedestrian_close_to_adversary_13790"> <Pedestrian model="walker.pedestrian.0001" mass="80" name="walker.pedestrian.0001" pedestrianCategory="pedestrian"> <ParameterDeclarations/> <BoundingBox> <Center x="1.5" y="0.0" z="0.9"/> <Dimensions width="2" length="2" height="2"/> </BoundingBox> <Properties> <Property name="type" value="simulation"/> </Properties> </Pedestrian> </ScenarioObject> <ScenarioObject name="pedestrian_close_to_hero_13791"> <Pedestrian model="walker.pedestrian.0001" mass="80" name="walker.pedestrian.0001" pedestrianCategory="pedestrian"> <ParameterDeclarations/> <BoundingBox> <Center x="1.5" y="0.0" z="0.9"/> <Dimensions width="2" length="2" height="2"/> </BoundingBox> <Properties> <Property name="type" value="simulation"/> </Properties> </Pedestrian> </ScenarioObject> <ScenarioObject name="pedestrian_w_transform_13792"> <Pedestrian model="walker.pedestrian.0001" mass="80" name="walker.pedestrian.0001" pedestrianCategory="pedestrian"> <ParameterDeclarations/> <BoundingBox> <Center x="1.5" y="0.0" z="0.9"/> <Dimensions width="2" length="2" height="2"/> </BoundingBox> <Properties> <Property name="type" value="simulation"/> </Properties> </Pedestrian> </ScenarioObject> <ScenarioObject name="pedestrian_close_to_adversary_13793"> <Pedestrian model="walker.pedestrian.0001" mass="80" name="walker.pedestrian.0001" pedestrianCategory="pedestrian"> <ParameterDeclarations/> <BoundingBox> <Center x="1.5" y="0.0" z="0.9"/> <Dimensions width="2" length="2" height="2"/> </BoundingBox> <Properties> <Property name="type" value="simulation"/> </Properties> </Pedestrian> </ScenarioObject> <ScenarioObject name="pedestrian_close_to_standing_13794"> <Pedestrian model="walker.pedestrian.0001" mass="80" name="walker.pedestrian.0001" pedestrianCategory="pedestrian"> <ParameterDeclarations/> <BoundingBox> <Center x="1.5" y="0.0" z="0.9"/> <Dimensions width="2" length="2" height="2"/> </BoundingBox> <Properties> <Property name="type" value="simulation"/> </Properties> </Pedestrian> </ScenarioObject> <ScenarioObject name="pedestrian_w_transform_13795"> <Pedestrian model="walker.pedestrian.0001" mass="80" name="walker.pedestrian.0001" pedestrianCategory="pedestrian"> <ParameterDeclarations/> <BoundingBox> <Center x="1.5" y="0.0" z="0.9"/> <Dimensions width="2" length="2" height="2"/> </BoundingBox> <Properties> <Property name="type" value="simulation"/> </Properties> </Pedestrian> </ScenarioObject> <ScenarioObject name="pedestrian_close_to_adversary_13796"> <Pedestrian model="walker.pedestrian.0001" mass="80" name="walker.pedestrian.0001" pedestrianCategory="pedestrian"> <ParameterDeclarations/> <BoundingBox> <Center x="1.5" y="0.0" z="0.9"/> <Dimensions width="2" length="2" height="2"/> </BoundingBox> <Properties> <Property name="type" value="simulation"/> </Properties> </Pedestrian> </ScenarioObject> <ScenarioObject name="pedestrian_close_to_standing_13797"> <Pedestrian model="walker.pedestrian.0001" mass="80" name="walker.pedestrian.0001" pedestrianCategory="pedestrian"> <ParameterDeclarations/> <BoundingBox> <Center x="1.5" y="0.0" z="0.9"/> <Dimensions width="2" length="2" height="2"/> </BoundingBox> <Properties> <Property name="type" value="simulation"/> </Properties> </Pedestrian> </ScenarioObject> <ScenarioObject name="pedestrian_w_transform_13798"> <Pedestrian model="walker.pedestrian.0001" mass="80" name="walker.pedestrian.0001" pedestrianCategory="pedestrian"> <ParameterDeclarations/> <BoundingBox> <Center x="1.5" y="0.0" z="0.9"/> <Dimensions width="2" length="2" height="2"/> </BoundingBox> <Properties> <Property name="type" value="simulation"/> </Properties> </Pedestrian> </ScenarioObject> <ScenarioObject name="pedestrian_w_transform_13799"> <Pedestrian model="walker.pedestrian.0001" mass="80" name="walker.pedestrian.0001" pedestrianCategory="pedestrian"> <ParameterDeclarations/> <BoundingBox> <Center x="1.5" y="0.0" z="0.9"/> <Dimensions width="2" length="2" height="2"/> </BoundingBox> <Properties> <Property name="type" value="simulation"/> </Properties> </Pedestrian> </ScenarioObject> <ScenarioObject name="pedestrian_close_to_standing_13800"> <Pedestrian model="walker.pedestrian.0001" mass="80" name="walker.pedestrian.0001" pedestrianCategory="pedestrian"> <ParameterDeclarations/> <BoundingBox> <Center x="1.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_13787"> <PrivateAction> <TeleportAction> <Position> <WorldPosition x="-1.1133981943130493" y="-70.82210540771484" z="0.03381488844752312"/> </Position> </TeleportAction> </PrivateAction> </Private> <Private entityRef="pedestrian_w_transform_13788"> <PrivateAction> <TeleportAction> <Position> <WorldPosition x="-62.44105529785156" y="-65.15390014648438" z="0.5"/> </Position> </TeleportAction> </PrivateAction> </Private> <Private entityRef="pedestrian_close_to_hero_13789"> <PrivateAction> <TeleportAction> <Position> <WorldPosition x="-22.232135772705078" y="-248.9184112548828" z="0.001678848173469305"/> </Position> </TeleportAction> </PrivateAction> </Private> <Private entityRef="pedestrian_close_to_adversary_13790"> <PrivateAction> <TeleportAction> <Position> <WorldPosition x="-9.75952434539795" y="-60.112060546875" z="0.033741340041160583"/> </Position> </TeleportAction> </PrivateAction> </Private> <Private entityRef="pedestrian_close_to_hero_13791"> <PrivateAction> <TeleportAction> <Position> <WorldPosition x="-5.962889194488525" y="-241.7567138671875" z="0.001678848173469305"/> </Position> </TeleportAction> </PrivateAction> </Private> <Private entityRef="pedestrian_w_transform_13792"> <PrivateAction> <TeleportAction> <Position> <WorldPosition x="-34.271583557128906" y="-31.457077026367188" z="0.5"/> </Position> </TeleportAction> </PrivateAction> </Private> <Private entityRef="pedestrian_close_to_adversary_13793"> <PrivateAction> <TeleportAction> <Position> <WorldPosition x="-16.92930793762207" y="-70.36067199707031" z="0.0337386317551136"/> </Position> </TeleportAction> </PrivateAction> </Private> <Private entityRef="pedestrian_close_to_standing_13794"> <PrivateAction> <TeleportAction> <Position> <WorldPosition x="-12.825386047363281" y="37.28630828857422" z="0.0030259322375059128"/> </Position> </TeleportAction> </PrivateAction> </Private> <Private entityRef="pedestrian_w_transform_13795"> <PrivateAction> <TeleportAction> <Position> <WorldPosition x="-75.6827621459961" y="-62.04782485961914" z="0.5"/> </Position> </TeleportAction> </PrivateAction> </Private> <Private entityRef="pedestrian_close_to_adversary_13796"> <PrivateAction> <TeleportAction> <Position> <WorldPosition x="5.2652482986450195" y="-71.03190612792969" z="0.03377216309309006"/> </Position> </TeleportAction> </PrivateAction> </Private> <Private entityRef="pedestrian_close_to_standing_13797"> <PrivateAction> <TeleportAction> <Position> <WorldPosition x="-6.153624534606934" y="25.265365600585938" z="0.003059463342651725"/> </Position> </TeleportAction> </PrivateAction> </Private> <Private entityRef="pedestrian_w_transform_13798"> <PrivateAction> <TeleportAction> <Position> <WorldPosition x="74.19744873046875" y="-28.265487670898438" z="0.5"/> </Position> </TeleportAction> </PrivateAction> </Private> <Private entityRef="pedestrian_w_transform_13799"> <PrivateAction> <TeleportAction> <Position> <WorldPosition x="-6.170364856719971" y="-15.93191146850586" z="0.5"/> </Position> </TeleportAction> </PrivateAction> </Private> <Private entityRef="pedestrian_close_to_standing_13800"> <PrivateAction> <TeleportAction> <Position> <WorldPosition x="-2.130138635635376" y="32.062931060791016" z="0.0030498122796416283"/> </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_13787"> <Pedestrian model="walker.pedestrian.0001" mass="80" name="walker.pedestrian.0001" pedestrianCategory="pedestrian"> <ParameterDeclarations/> <BoundingBox> <Center x="1.5" y="0.0" z="0.9"/> <Dimensions width="2" length="2" height="2"/> </BoundingBox> <Properties> <Property name="type" value="simulation"/> </Properties> </Pedestrian> </ScenarioObject> <ScenarioObject name="pedestrian_w_transform_13788"> <Pedestrian model="walker.pedestrian.0001" mass="80" name="walker.pedestrian.0001" pedestrianCategory="pedestrian"> <ParameterDeclarations/> <BoundingBox> <Center x="1.5" y="0.0" z="0.9"/> <Dimensions width="2" length="2" height="2"/> </BoundingBox> <Properties> <Property name="type" value="simulation"/> </Properties> </Pedestrian> </ScenarioObject> <ScenarioObject name="pedestrian_close_to_hero_13789"> <Pedestrian model="walker.pedestrian.0001" mass="80" name="walker.pedestrian.0001" pedestrianCategory="pedestrian"> <ParameterDeclarations/> <BoundingBox> <Center x="1.5" y="0.0" z="0.9"/> <Dimensions width="2" length="2" height="2"/> </BoundingBox> <Properties> <Property name="type" value="simulation"/> </Properties> </Pedestrian> </ScenarioObject> <ScenarioObject name="pedestrian_close_to_adversary_13790"> <Pedestrian model="walker.pedestrian.0001" mass="80" name="walker.pedestrian.0001" pedestrianCategory="pedestrian"> <ParameterDeclarations/> <BoundingBox> <Center x="1.5" y="0.0" z="0.9"/> <Dimensions width="2" length="2" height="2"/> </BoundingBox> <Properties> <Property name="type" value="simulation"/> </Properties> </Pedestrian> </ScenarioObject> <ScenarioObject name="pedestrian_close_to_hero_13791"> <Pedestrian model="walker.pedestrian.0001" mass="80" name="walker.pedestrian.0001" pedestrianCategory="pedestrian"> <ParameterDeclarations/> <BoundingBox> <Center x="1.5" y="0.0" z="0.9"/> <Dimensions width="2" length="2" height="2"/> </BoundingBox> <Properties> <Property name="type" value="simulation"/> </Properties> </Pedestrian> </ScenarioObject> <ScenarioObject name="pedestrian_w_transform_13792"> <Pedestrian model="walker.pedestrian.0001" mass="80" name="walker.pedestrian.0001" pedestrianCategory="pedestrian"> <ParameterDeclarations/> <BoundingBox> <Center x="1.5" y="0.0" z="0.9"/> <Dimensions width="2" length="2" height="2"/> </BoundingBox> <Properties> <Property name="type" value="simulation"/> </Properties> </Pedestrian> </ScenarioObject> <ScenarioObject name="pedestrian_close_to_adversary_13793"> <Pedestrian model="walker.pedestrian.0001" mass="80" name="walker.pedestrian.0001" pedestrianCategory="pedestrian"> <ParameterDeclarations/> <BoundingBox> <Center x="1.5" y="0.0" z="0.9"/> <Dimensions width="2" length="2" height="2"/> </BoundingBox> <Properties> <Property name="type" value="simulation"/> </Properties> </Pedestrian> </ScenarioObject> <ScenarioObject name="pedestrian_close_to_standing_13794"> <Pedestrian model="walker.pedestrian.0001" mass="80" name="walker.pedestrian.0001" pedestrianCategory="pedestrian"> <ParameterDeclarations/> <BoundingBox> <Center x="1.5" y="0.0" z="0.9"/> <Dimensions width="2" length="2" height="2"/> </BoundingBox> <Properties> <Property name="type" value="simulation"/> </Properties> </Pedestrian> </ScenarioObject> <ScenarioObject name="pedestrian_w_transform_13795"> <Pedestrian model="walker.pedestrian.0001" mass="80" name="walker.pedestrian.0001" pedestrianCategory="pedestrian"> <ParameterDeclarations/> <BoundingBox> <Center x="1.5" y="0.0" z="0.9"/> <Dimensions width="2" length="2" height="2"/> </BoundingBox> <Properties> <Property name="type" value="simulation"/> </Properties> </Pedestrian> </ScenarioObject> <ScenarioObject name="pedestrian_close_to_adversary_13796"> <Pedestrian model="walker.pedestrian.0001" mass="80" name="walker.pedestrian.0001" pedestrianCategory="pedestrian"> <ParameterDeclarations/> <BoundingBox> <Center x="1.5" y="0.0" z="0.9"/> <Dimensions width="2" length="2" height="2"/> </BoundingBox> <Properties> <Property name="type" value="simulation"/> </Properties> </Pedestrian> </ScenarioObject> <ScenarioObject name="pedestrian_close_to_standing_13797"> <Pedestrian model="walker.pedestrian.0001" mass="80" name="walker.pedestrian.0001" pedestrianCategory="pedestrian"> <ParameterDeclarations/> <BoundingBox> <Center x="1.5" y="0.0" z="0.9"/> <Dimensions width="2" length="2" height="2"/> </BoundingBox> <Properties> <Property name="type" value="simulation"/> </Properties> </Pedestrian> </ScenarioObject> <ScenarioObject name="pedestrian_w_transform_13798"> <Pedestrian model="walker.pedestrian.0001" mass="80" name="walker.pedestrian.0001" pedestrianCategory="pedestrian"> <ParameterDeclarations/> <BoundingBox> <Center x="1.5" y="0.0" z="0.9"/> <Dimensions width="2" length="2" height="2"/> </BoundingBox> <Properties> <Property name="type" value="simulation"/> </Properties> </Pedestrian> </ScenarioObject> <ScenarioObject name="pedestrian_w_transform_13799"> <Pedestrian model="walker.pedestrian.0001" mass="80" name="walker.pedestrian.0001" pedestrianCategory="pedestrian"> <ParameterDeclarations/> <BoundingBox> <Center x="1.5" y="0.0" z="0.9"/> <Dimensions width="2" length="2" height="2"/> </BoundingBox> <Properties> <Property name="type" value="simulation"/> </Properties> </Pedestrian> </ScenarioObject> <ScenarioObject name="pedestrian_close_to_standing_13800"> <Pedestrian model="walker.pedestrian.0001" mass="80" name="walker.pedestrian.0001" pedestrianCategory="pedestrian"> <ParameterDeclarations/> <BoundingBox> <Center x="1.5" y="0.0" z="0.9"/> <Dimensions width="2" length="2" height="2"/> </BoundingBox> <Properties> <Property name="type" value="simulation"/> </Properties> </Pedestrian> </ScenarioObject> <ScenarioObject name="pedestrian_w_transform_13802"> <Pedestrian model="walker.pedestrian.0001" mass="80" name="walker.pedestrian.0001" pedestrianCategory="pedestrian"> <ParameterDeclarations/> <BoundingBox> <Center x="1.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_13787"> <PrivateAction> <TeleportAction> <Position> <WorldPosition x="-1.1133981943130493" y="-70.82210540771484" z="0.03381488844752312"/> </Position> </TeleportAction> </PrivateAction> </Private> <Private entityRef="pedestrian_w_transform_13788"> <PrivateAction> <TeleportAction> <Position> <WorldPosition x="-62.44105529785156" y="-65.15390014648438" z="0.5"/> </Position> </TeleportAction> </PrivateAction> </Private> <Private entityRef="pedestrian_close_to_hero_13789"> <PrivateAction> <TeleportAction> <Position> <WorldPosition x="-22.232135772705078" y="-248.9184112548828" z="0.001678848173469305"/> </Position> </TeleportAction> </PrivateAction> </Private> <Private entityRef="pedestrian_close_to_adversary_13790"> <PrivateAction> <TeleportAction> <Position> <WorldPosition x="-9.75952434539795" y="-60.112060546875" z="0.033741340041160583"/> </Position> </TeleportAction> </PrivateAction> </Private> <Private entityRef="pedestrian_close_to_hero_13791"> <PrivateAction> <TeleportAction> <Position> <WorldPosition x="-5.962889194488525" y="-241.7567138671875" z="0.001678848173469305"/> </Position> </TeleportAction> </PrivateAction> </Private> <Private entityRef="pedestrian_w_transform_13792"> <PrivateAction> <TeleportAction> <Position> <WorldPosition x="-34.271583557128906" y="-31.457077026367188" z="0.5"/> </Position> </TeleportAction> </PrivateAction> </Private> <Private entityRef="pedestrian_close_to_adversary_13793"> <PrivateAction> <TeleportAction> <Position> <WorldPosition x="-16.92930793762207" y="-70.36067199707031" z="0.0337386317551136"/> </Position> </TeleportAction> </PrivateAction> </Private> <Private entityRef="pedestrian_close_to_standing_13794"> <PrivateAction> <TeleportAction> <Position> <WorldPosition x="-12.825386047363281" y="37.28630828857422" z="0.0030259322375059128"/> </Position> </TeleportAction> </PrivateAction> </Private> <Private entityRef="pedestrian_w_transform_13795"> <PrivateAction> <TeleportAction> <Position> <WorldPosition x="-75.6827621459961" y="-62.04782485961914" z="0.5"/> </Position> </TeleportAction> </PrivateAction> </Private> <Private entityRef="pedestrian_close_to_adversary_13796"> <PrivateAction> <TeleportAction> <Position> <WorldPosition x="5.2652482986450195" y="-71.03190612792969" z="0.03377216309309006"/> </Position> </TeleportAction> </PrivateAction> </Private> <Private entityRef="pedestrian_close_to_standing_13797"> <PrivateAction> <TeleportAction> <Position> <WorldPosition x="-6.153624534606934" y="25.265365600585938" z="0.003059463342651725"/> </Position> </TeleportAction> </PrivateAction> </Private> <Private entityRef="pedestrian_w_transform_13798"> <PrivateAction> <TeleportAction> <Position> <WorldPosition x="74.19744873046875" y="-28.265487670898438" z="0.5"/> </Position> </TeleportAction> </PrivateAction> </Private> <Private entityRef="pedestrian_w_transform_13799"> <PrivateAction> <TeleportAction> <Position> <WorldPosition x="-6.170364856719971" y="-15.93191146850586" z="0.5"/> </Position> </TeleportAction> </PrivateAction> </Private> <Private entityRef="pedestrian_close_to_standing_13800"> <PrivateAction> <TeleportAction> <Position> <WorldPosition x="-2.130138635635376" y="32.062931060791016" z="0.0030498122796416283"/> </Position> </TeleportAction> </PrivateAction> </Private> <Private entityRef="pedestrian_w_transform_13802"> <PrivateAction> <TeleportAction> <Position> <WorldPosition x="16.357616424560547" y="-29.06998062133789" 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 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_24926"> <Pedestrian model="walker.pedestrian.0001" mass="80" name="walker.pedestrian.0001" pedestrianCategory="pedestrian"> <ParameterDeclarations/> <BoundingBox> <Center x="1.5" y="0.0" z="0.9"/> <Dimensions width="2" length="2" height="2"/> </BoundingBox> <Properties> <Property name="type" value="simulation"/> </Properties> </Pedestrian> </ScenarioObject> <ScenarioObject name="pedestrian_w_transform_24927"> <Pedestrian model="walker.pedestrian.0001" mass="80" name="walker.pedestrian.0001" pedestrianCategory="pedestrian"> <ParameterDeclarations/> <BoundingBox> <Center x="1.5" y="0.0" z="0.9"/> <Dimensions width="2" length="2" height="2"/> </BoundingBox> <Properties> <Property name="type" value="simulation"/> </Properties> </Pedestrian> </ScenarioObject> <ScenarioObject name="pedestrian_w_transform_24929"> <Pedestrian model="walker.pedestrian.0001" mass="80" name="walker.pedestrian.0001" pedestrianCategory="pedestrian"> <ParameterDeclarations/> <BoundingBox> <Center x="1.5" y="0.0" z="0.9"/> <Dimensions width="2" length="2" height="2"/> </BoundingBox> <Properties> <Property name="type" value="simulation"/> </Properties> </Pedestrian> </ScenarioObject> <ScenarioObject name="pedestrian_close_to_hero_24930"> <Pedestrian model="walker.pedestrian.0001" mass="80" name="walker.pedestrian.0001" pedestrianCategory="pedestrian"> <ParameterDeclarations/> <BoundingBox> <Center x="1.5" y="0.0" z="0.9"/> <Dimensions width="2" length="2" height="2"/> </BoundingBox> <Properties> <Property name="type" value="simulation"/> </Properties> </Pedestrian> </ScenarioObject> <ScenarioObject name="pedestrian_w_transform_24931"> <Pedestrian model="walker.pedestrian.0001" mass="80" name="walker.pedestrian.0001" pedestrianCategory="pedestrian"> <ParameterDeclarations/> <BoundingBox> <Center x="1.5" y="0.0" z="0.9"/> <Dimensions width="2" length="2" height="2"/> </BoundingBox> <Properties> <Property name="type" value="simulation"/> </Properties> </Pedestrian> </ScenarioObject> <ScenarioObject name="pedestrian_w_transform_24932"> <Pedestrian model="walker.pedestrian.0001" mass="80" name="walker.pedestrian.0001" pedestrianCategory="pedestrian"> <ParameterDeclarations/> <BoundingBox> <Center x="1.5" y="0.0" z="0.9"/> <Dimensions width="2" length="2" height="2"/> </BoundingBox> <Properties> <Property name="type" value="simulation"/> </Properties> </Pedestrian> </ScenarioObject> <ScenarioObject name="pedestrian_close_to_adversary_24933"> <Pedestrian model="walker.pedestrian.0001" mass="80" name="walker.pedestrian.0001" pedestrianCategory="pedestrian"> <ParameterDeclarations/> <BoundingBox> <Center x="1.5" y="0.0" z="0.9"/> <Dimensions width="2" length="2" height="2"/> </BoundingBox> <Properties> <Property name="type" value="simulation"/> </Properties> </Pedestrian> </ScenarioObject> <ScenarioObject name="pedestrian_close_to_standing_24934"> <Pedestrian model="walker.pedestrian.0001" mass="80" name="walker.pedestrian.0001" pedestrianCategory="pedestrian"> <ParameterDeclarations/> <BoundingBox> <Center x="1.5" y="0.0" z="0.9"/> <Dimensions width="2" length="2" height="2"/> </BoundingBox> <Properties> <Property name="type" value="simulation"/> </Properties> </Pedestrian> </ScenarioObject> <ScenarioObject name="pedestrian_w_transform_24935"> <Pedestrian model="walker.pedestrian.0001" mass="80" name="walker.pedestrian.0001" pedestrianCategory="pedestrian"> <ParameterDeclarations/> <BoundingBox> <Center x="1.5" y="0.0" z="0.9"/> <Dimensions width="2" length="2" height="2"/> </BoundingBox> <Properties> <Property name="type" value="simulation"/> </Properties> </Pedestrian> </ScenarioObject> <ScenarioObject name="pedestrian_close_to_hero_24936"> <Pedestrian model="walker.pedestrian.0001" mass="80" name="walker.pedestrian.0001" pedestrianCategory="pedestrian"> <ParameterDeclarations/> <BoundingBox> <Center x="1.5" y="0.0" z="0.9"/> <Dimensions width="2" length="2" height="2"/> </BoundingBox> <Properties> <Property name="type" value="simulation"/> </Properties> </Pedestrian> </ScenarioObject> <ScenarioObject name="pedestrian_w_transform_24938"> <Pedestrian model="walker.pedestrian.0001" mass="80" name="walker.pedestrian.0001" pedestrianCategory="pedestrian"> <ParameterDeclarations/> <BoundingBox> <Center x="1.5" y="0.0" z="0.9"/> <Dimensions width="2" length="2" height="2"/> </BoundingBox> <Properties> <Property name="type" value="simulation"/> </Properties> </Pedestrian> </ScenarioObject> <ScenarioObject name="pedestrian_close_to_adversary_24939"> <Pedestrian model="walker.pedestrian.0001" mass="80" name="walker.pedestrian.0001" pedestrianCategory="pedestrian"> <ParameterDeclarations/> <BoundingBox> <Center x="1.5" y="0.0" z="0.9"/> <Dimensions width="2" length="2" height="2"/> </BoundingBox> <Properties> <Property name="type" value="simulation"/> </Properties> </Pedestrian> </ScenarioObject> <ScenarioObject name="pedestrian_close_to_standing_24940"> <Pedestrian model="walker.pedestrian.0001" mass="80" name="walker.pedestrian.0001" pedestrianCategory="pedestrian"> <ParameterDeclarations/> <BoundingBox> <Center x="1.5" y="0.0" z="0.9"/> <Dimensions width="2" length="2" height="2"/> </BoundingBox> <Properties> <Property name="type" value="simulation"/> </Properties> </Pedestrian> </ScenarioObject> <ScenarioObject name="pedestrian_close_to_standing_24941"> <Pedestrian model="walker.pedestrian.0001" mass="80" name="walker.pedestrian.0001" pedestrianCategory="pedestrian"> <ParameterDeclarations/> <BoundingBox> <Center x="1.5" y="0.0" z="0.9"/> <Dimensions width="2" length="2" height="2"/> </BoundingBox> <Properties> <Property name="type" value="simulation"/> </Properties> </Pedestrian> </ScenarioObject> <ScenarioObject name="pedestrian_close_to_adversary_24942"> <Pedestrian model="walker.pedestrian.0001" mass="80" name="walker.pedestrian.0001" pedestrianCategory="pedestrian"> <ParameterDeclarations/> <BoundingBox> <Center x="1.5" y="0.0" z="0.9"/> <Dimensions width="2" length="2" height="2"/> </BoundingBox> <Properties> <Property name="type" value="simulation"/> </Properties> </Pedestrian> </ScenarioObject> <ScenarioObject name="pedestrian_w_transform_24943"> <Pedestrian model="walker.pedestrian.0001" mass="80" name="walker.pedestrian.0001" pedestrianCategory="pedestrian"> <ParameterDeclarations/> <BoundingBox> <Center x="1.5" y="0.0" z="0.9"/> <Dimensions width="2" length="2" height="2"/> </BoundingBox> <Properties> <Property name="type" value="simulation"/> </Properties> </Pedestrian> </ScenarioObject> <ScenarioObject name="pedestrian_close_to_standing_24945"> <Pedestrian model="walker.pedestrian.0001" mass="80" name="walker.pedestrian.0001" pedestrianCategory="pedestrian"> <ParameterDeclarations/> <BoundingBox> <Center x="1.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_24926"> <PrivateAction> <TeleportAction> <Position> <WorldPosition x="-6.805601119995117" y="-144.50741577148438" z="0.0015143966302275658"/> </Position> </TeleportAction> </PrivateAction> </Private> <Private entityRef="pedestrian_w_transform_24927"> <PrivateAction> <TeleportAction> <Position> <WorldPosition x="-43.10546875" y="-14.71523380279541" z="0.5"/> </Position> </TeleportAction> </PrivateAction> </Private> <Private entityRef="pedestrian_w_transform_24929"> <PrivateAction> <TeleportAction> <Position> <WorldPosition x="4.6133246421813965" y="76.95980072021484" z="0.5"/> </Position> </TeleportAction> </PrivateAction> </Private> <Private entityRef="pedestrian_close_to_hero_24930"> <PrivateAction> <TeleportAction> <Position> <WorldPosition x="-13.23265266418457" y="-149.44598388671875" z="0.0015143966302275658"/> </Position> </TeleportAction> </PrivateAction> </Private> <Private entityRef="pedestrian_w_transform_24931"> <PrivateAction> <TeleportAction> <Position> <WorldPosition x="91.89326477050781" y="-83.65853118896484" z="0.5"/> </Position> </TeleportAction> </PrivateAction> </Private> <Private entityRef="pedestrian_w_transform_24932"> <PrivateAction> <TeleportAction> <Position> <WorldPosition x="32.910484313964844" y="42.06076431274414" z="0.5"/> </Position> </TeleportAction> </PrivateAction> </Private> <Private entityRef="pedestrian_close_to_adversary_24933"> <PrivateAction> <TeleportAction> <Position> <WorldPosition x="-16.544801712036133" y="-72.41744995117188" z="0.03378986194729805"/> </Position> </TeleportAction> </PrivateAction> </Private> <Private entityRef="pedestrian_close_to_standing_24934"> <PrivateAction> <TeleportAction> <Position> <WorldPosition x="-1.4800695180892944" y="20.709192276000977" z="0.0030284880194813013"/> </Position> </TeleportAction> </PrivateAction> </Private> <Private entityRef="pedestrian_w_transform_24935"> <PrivateAction> <TeleportAction> <Position> <WorldPosition x="99.25701141357422" y="46.35338592529297" z="0.5"/> </Position> </TeleportAction> </PrivateAction> </Private> <Private entityRef="pedestrian_close_to_hero_24936"> <PrivateAction> <TeleportAction> <Position> <WorldPosition x="-5.529829025268555" y="-159.8756866455078" z="0.0015143966302275658"/> </Position> </TeleportAction> </PrivateAction> </Private> <Private entityRef="pedestrian_w_transform_24938"> <PrivateAction> <TeleportAction> <Position> <WorldPosition x="-5.164740562438965" y="-88.88331604003906" z="0.5"/> </Position> </TeleportAction> </PrivateAction> </Private> <Private entityRef="pedestrian_close_to_adversary_24939"> <PrivateAction> <TeleportAction> <Position> <WorldPosition x="-25.520967483520508" y="-79.09547424316406" z="0.03379688039422035"/> </Position> </TeleportAction> </PrivateAction> </Private> <Private entityRef="pedestrian_close_to_standing_24940"> <PrivateAction> <TeleportAction> <Position> <WorldPosition x="-6.361649990081787" y="36.582115173339844" z="0.0030666731763631105"/> </Position> </TeleportAction> </PrivateAction> </Private> <Private entityRef="pedestrian_close_to_standing_24941"> <PrivateAction> <TeleportAction> <Position> <WorldPosition x="-3.4234769344329834" y="30.084524154663086" z="0.0030381011310964823"/> </Position> </TeleportAction> </PrivateAction> </Private> <Private entityRef="pedestrian_close_to_adversary_24942"> <PrivateAction> <TeleportAction> <Position> <WorldPosition x="-16.86843490600586" y="-79.34587860107422" z="0.03383045271039009"/> </Position> </TeleportAction> </PrivateAction> </Private> <Private entityRef="pedestrian_w_transform_24943"> <PrivateAction> <TeleportAction> <Position> <WorldPosition x="84.75808715820312" y="-11.005436897277832" z="0.5"/> </Position> </TeleportAction> </PrivateAction> </Private> <Private entityRef="pedestrian_close_to_standing_24945"> <PrivateAction> <TeleportAction> <Position> <WorldPosition x="-10.962669372558594" y="31.527767181396484" z="0.003063201904296875"/> </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_24926"> <Pedestrian model="walker.pedestrian.0001" mass="80" name="walker.pedestrian.0001" pedestrianCategory="pedestrian"> <ParameterDeclarations/> <BoundingBox> <Center x="1.5" y="0.0" z="0.9"/> <Dimensions width="2" length="2" height="2"/> </BoundingBox> <Properties> <Property name="type" value="simulation"/> </Properties> </Pedestrian> </ScenarioObject> <ScenarioObject name="pedestrian_w_transform_24927"> <Pedestrian model="walker.pedestrian.0001" mass="80" name="walker.pedestrian.0001" pedestrianCategory="pedestrian"> <ParameterDeclarations/> <BoundingBox> <Center x="1.5" y="0.0" z="0.9"/> <Dimensions width="2" length="2" height="2"/> </BoundingBox> <Properties> <Property name="type" value="simulation"/> </Properties> </Pedestrian> </ScenarioObject> <ScenarioObject name="pedestrian_w_transform_24929"> <Pedestrian model="walker.pedestrian.0001" mass="80" name="walker.pedestrian.0001" pedestrianCategory="pedestrian"> <ParameterDeclarations/> <BoundingBox> <Center x="1.5" y="0.0" z="0.9"/> <Dimensions width="2" length="2" height="2"/> </BoundingBox> <Properties> <Property name="type" value="simulation"/> </Properties> </Pedestrian> </ScenarioObject> <ScenarioObject name="pedestrian_close_to_hero_24930"> <Pedestrian model="walker.pedestrian.0001" mass="80" name="walker.pedestrian.0001" pedestrianCategory="pedestrian"> <ParameterDeclarations/> <BoundingBox> <Center x="1.5" y="0.0" z="0.9"/> <Dimensions width="2" length="2" height="2"/> </BoundingBox> <Properties> <Property name="type" value="simulation"/> </Properties> </Pedestrian> </ScenarioObject> <ScenarioObject name="pedestrian_w_transform_24931"> <Pedestrian model="walker.pedestrian.0001" mass="80" name="walker.pedestrian.0001" pedestrianCategory="pedestrian"> <ParameterDeclarations/> <BoundingBox> <Center x="1.5" y="0.0" z="0.9"/> <Dimensions width="2" length="2" height="2"/> </BoundingBox> <Properties> <Property name="type" value="simulation"/> </Properties> </Pedestrian> </ScenarioObject> <ScenarioObject name="pedestrian_w_transform_24932"> <Pedestrian model="walker.pedestrian.0001" mass="80" name="walker.pedestrian.0001" pedestrianCategory="pedestrian"> <ParameterDeclarations/> <BoundingBox> <Center x="1.5" y="0.0" z="0.9"/> <Dimensions width="2" length="2" height="2"/> </BoundingBox> <Properties> <Property name="type" value="simulation"/> </Properties> </Pedestrian> </ScenarioObject> <ScenarioObject name="pedestrian_close_to_adversary_24933"> <Pedestrian model="walker.pedestrian.0001" mass="80" name="walker.pedestrian.0001" pedestrianCategory="pedestrian"> <ParameterDeclarations/> <BoundingBox> <Center x="1.5" y="0.0" z="0.9"/> <Dimensions width="2" length="2" height="2"/> </BoundingBox> <Properties> <Property name="type" value="simulation"/> </Properties> </Pedestrian> </ScenarioObject> <ScenarioObject name="pedestrian_close_to_standing_24934"> <Pedestrian model="walker.pedestrian.0001" mass="80" name="walker.pedestrian.0001" pedestrianCategory="pedestrian"> <ParameterDeclarations/> <BoundingBox> <Center x="1.5" y="0.0" z="0.9"/> <Dimensions width="2" length="2" height="2"/> </BoundingBox> <Properties> <Property name="type" value="simulation"/> </Properties> </Pedestrian> </ScenarioObject> <ScenarioObject name="pedestrian_w_transform_24935"> <Pedestrian model="walker.pedestrian.0001" mass="80" name="walker.pedestrian.0001" pedestrianCategory="pedestrian"> <ParameterDeclarations/> <BoundingBox> <Center x="1.5" y="0.0" z="0.9"/> <Dimensions width="2" length="2" height="2"/> </BoundingBox> <Properties> <Property name="type" value="simulation"/> </Properties> </Pedestrian> </ScenarioObject> <ScenarioObject name="pedestrian_close_to_hero_24936"> <Pedestrian model="walker.pedestrian.0001" mass="80" name="walker.pedestrian.0001" pedestrianCategory="pedestrian"> <ParameterDeclarations/> <BoundingBox> <Center x="1.5" y="0.0" z="0.9"/> <Dimensions width="2" length="2" height="2"/> </BoundingBox> <Properties> <Property name="type" value="simulation"/> </Properties> </Pedestrian> </ScenarioObject> <ScenarioObject name="pedestrian_w_transform_24938"> <Pedestrian model="walker.pedestrian.0001" mass="80" name="walker.pedestrian.0001" pedestrianCategory="pedestrian"> <ParameterDeclarations/> <BoundingBox> <Center x="1.5" y="0.0" z="0.9"/> <Dimensions width="2" length="2" height="2"/> </BoundingBox> <Properties> <Property name="type" value="simulation"/> </Properties> </Pedestrian> </ScenarioObject> <ScenarioObject name="pedestrian_close_to_adversary_24939"> <Pedestrian model="walker.pedestrian.0001" mass="80" name="walker.pedestrian.0001" pedestrianCategory="pedestrian"> <ParameterDeclarations/> <BoundingBox> <Center x="1.5" y="0.0" z="0.9"/> <Dimensions width="2" length="2" height="2"/> </BoundingBox> <Properties> <Property name="type" value="simulation"/> </Properties> </Pedestrian> </ScenarioObject> <ScenarioObject name="pedestrian_close_to_standing_24940"> <Pedestrian model="walker.pedestrian.0001" mass="80" name="walker.pedestrian.0001" pedestrianCategory="pedestrian"> <ParameterDeclarations/> <BoundingBox> <Center x="1.5" y="0.0" z="0.9"/> <Dimensions width="2" length="2" height="2"/> </BoundingBox> <Properties> <Property name="type" value="simulation"/> </Properties> </Pedestrian> </ScenarioObject> <ScenarioObject name="pedestrian_close_to_standing_24941"> <Pedestrian model="walker.pedestrian.0001" mass="80" name="walker.pedestrian.0001" pedestrianCategory="pedestrian"> <ParameterDeclarations/> <BoundingBox> <Center x="1.5" y="0.0" z="0.9"/> <Dimensions width="2" length="2" height="2"/> </BoundingBox> <Properties> <Property name="type" value="simulation"/> </Properties> </Pedestrian> </ScenarioObject> <ScenarioObject name="pedestrian_close_to_adversary_24942"> <Pedestrian model="walker.pedestrian.0001" mass="80" name="walker.pedestrian.0001" pedestrianCategory="pedestrian"> <ParameterDeclarations/> <BoundingBox> <Center x="1.5" y="0.0" z="0.9"/> <Dimensions width="2" length="2" height="2"/> </BoundingBox> <Properties> <Property name="type" value="simulation"/> </Properties> </Pedestrian> </ScenarioObject> <ScenarioObject name="pedestrian_w_transform_24943"> <Pedestrian model="walker.pedestrian.0001" mass="80" name="walker.pedestrian.0001" pedestrianCategory="pedestrian"> <ParameterDeclarations/> <BoundingBox> <Center x="1.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_24926"> <PrivateAction> <TeleportAction> <Position> <WorldPosition x="-6.805601119995117" y="-144.50741577148438" z="0.0015143966302275658"/> </Position> </TeleportAction> </PrivateAction> </Private> <Private entityRef="pedestrian_w_transform_24927"> <PrivateAction> <TeleportAction> <Position> <WorldPosition x="-43.10546875" y="-14.71523380279541" z="0.5"/> </Position> </TeleportAction> </PrivateAction> </Private> <Private entityRef="pedestrian_w_transform_24929"> <PrivateAction> <TeleportAction> <Position> <WorldPosition x="4.6133246421813965" y="76.95980072021484" z="0.5"/> </Position> </TeleportAction> </PrivateAction> </Private> <Private entityRef="pedestrian_close_to_hero_24930"> <PrivateAction> <TeleportAction> <Position> <WorldPosition x="-13.23265266418457" y="-149.44598388671875" z="0.0015143966302275658"/> </Position> </TeleportAction> </PrivateAction> </Private> <Private entityRef="pedestrian_w_transform_24931"> <PrivateAction> <TeleportAction> <Position> <WorldPosition x="91.89326477050781" y="-83.65853118896484" z="0.5"/> </Position> </TeleportAction> </PrivateAction> </Private> <Private entityRef="pedestrian_w_transform_24932"> <PrivateAction> <TeleportAction> <Position> <WorldPosition x="32.910484313964844" y="42.06076431274414" z="0.5"/> </Position> </TeleportAction> </PrivateAction> </Private> <Private entityRef="pedestrian_close_to_adversary_24933"> <PrivateAction> <TeleportAction> <Position> <WorldPosition x="-16.544801712036133" y="-72.41744995117188" z="0.03378986194729805"/> </Position> </TeleportAction> </PrivateAction> </Private> <Private entityRef="pedestrian_close_to_standing_24934"> <PrivateAction> <TeleportAction> <Position> <WorldPosition x="-1.4800695180892944" y="20.709192276000977" z="0.0030284880194813013"/> </Position> </TeleportAction> </PrivateAction> </Private> <Private entityRef="pedestrian_w_transform_24935"> <PrivateAction> <TeleportAction> <Position> <WorldPosition x="99.25701141357422" y="46.35338592529297" z="0.5"/> </Position> </TeleportAction> </PrivateAction> </Private> <Private entityRef="pedestrian_close_to_hero_24936"> <PrivateAction> <TeleportAction> <Position> <WorldPosition x="-5.529829025268555" y="-159.8756866455078" z="0.0015143966302275658"/> </Position> </TeleportAction> </PrivateAction> </Private> <Private entityRef="pedestrian_w_transform_24938"> <PrivateAction> <TeleportAction> <Position> <WorldPosition x="-5.164740562438965" y="-88.88331604003906" z="0.5"/> </Position> </TeleportAction> </PrivateAction> </Private> <Private entityRef="pedestrian_close_to_adversary_24939"> <PrivateAction> <TeleportAction> <Position> <WorldPosition x="-25.520967483520508" y="-79.09547424316406" z="0.03379688039422035"/> </Position> </TeleportAction> </PrivateAction> </Private> <Private entityRef="pedestrian_close_to_standing_24940"> <PrivateAction> <TeleportAction> <Position> <WorldPosition x="-6.361649990081787" y="36.582115173339844" z="0.0030666731763631105"/> </Position> </TeleportAction> </PrivateAction> </Private> <Private entityRef="pedestrian_close_to_standing_24941"> <PrivateAction> <TeleportAction> <Position> <WorldPosition x="-3.4234769344329834" y="30.084524154663086" z="0.0030381011310964823"/> </Position> </TeleportAction> </PrivateAction> </Private> <Private entityRef="pedestrian_close_to_adversary_24942"> <PrivateAction> <TeleportAction> <Position> <WorldPosition x="-16.86843490600586" y="-79.34587860107422" z="0.03383045271039009"/> </Position> </TeleportAction> </PrivateAction> </Private> <Private entityRef="pedestrian_w_transform_24943"> <PrivateAction> <TeleportAction> <Position> <WorldPosition x="84.75808715820312" y="-11.005436897277832" 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 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_29725"> <Pedestrian model="walker.pedestrian.0001" mass="80" name="walker.pedestrian.0001" pedestrianCategory="pedestrian"> <ParameterDeclarations/> <BoundingBox> <Center x="1.5" y="0.0" z="0.9"/> <Dimensions width="2" length="2" height="2"/> </BoundingBox> <Properties> <Property name="type" value="simulation"/> </Properties> </Pedestrian> </ScenarioObject> <ScenarioObject name="pedestrian_close_to_adversary_29726"> <Pedestrian model="walker.pedestrian.0001" mass="80" name="walker.pedestrian.0001" pedestrianCategory="pedestrian"> <ParameterDeclarations/> <BoundingBox> <Center x="1.5" y="0.0" z="0.9"/> <Dimensions width="2" length="2" height="2"/> </BoundingBox> <Properties> <Property name="type" value="simulation"/> </Properties> </Pedestrian> </ScenarioObject> <ScenarioObject name="pedestrian_w_transform_29727"> <Pedestrian model="walker.pedestrian.0001" mass="80" name="walker.pedestrian.0001" pedestrianCategory="pedestrian"> <ParameterDeclarations/> <BoundingBox> <Center x="1.5" y="0.0" z="0.9"/> <Dimensions width="2" length="2" height="2"/> </BoundingBox> <Properties> <Property name="type" value="simulation"/> </Properties> </Pedestrian> </ScenarioObject> <ScenarioObject name="pedestrian_close_to_standing_29728"> <Pedestrian model="walker.pedestrian.0001" mass="80" name="walker.pedestrian.0001" pedestrianCategory="pedestrian"> <ParameterDeclarations/> <BoundingBox> <Center x="1.5" y="0.0" z="0.9"/> <Dimensions width="2" length="2" height="2"/> </BoundingBox> <Properties> <Property name="type" value="simulation"/> </Properties> </Pedestrian> </ScenarioObject> <ScenarioObject name="pedestrian_close_to_standing_29729"> <Pedestrian model="walker.pedestrian.0001" mass="80" name="walker.pedestrian.0001" pedestrianCategory="pedestrian"> <ParameterDeclarations/> <BoundingBox> <Center x="1.5" y="0.0" z="0.9"/> <Dimensions width="2" length="2" height="2"/> </BoundingBox> <Properties> <Property name="type" value="simulation"/> </Properties> </Pedestrian> </ScenarioObject> <ScenarioObject name="pedestrian_close_to_adversary_29730"> <Pedestrian model="walker.pedestrian.0001" mass="80" name="walker.pedestrian.0001" pedestrianCategory="pedestrian"> <ParameterDeclarations/> <BoundingBox> <Center x="1.5" y="0.0" z="0.9"/> <Dimensions width="2" length="2" height="2"/> </BoundingBox> <Properties> <Property name="type" value="simulation"/> </Properties> </Pedestrian> </ScenarioObject> <ScenarioObject name="pedestrian_w_transform_29731"> <Pedestrian model="walker.pedestrian.0001" mass="80" name="walker.pedestrian.0001" pedestrianCategory="pedestrian"> <ParameterDeclarations/> <BoundingBox> <Center x="1.5" y="0.0" z="0.9"/> <Dimensions width="2" length="2" height="2"/> </BoundingBox> <Properties> <Property name="type" value="simulation"/> </Properties> </Pedestrian> </ScenarioObject> <ScenarioObject name="pedestrian_close_to_standing_29732"> <Pedestrian model="walker.pedestrian.0001" mass="80" name="walker.pedestrian.0001" pedestrianCategory="pedestrian"> <ParameterDeclarations/> <BoundingBox> <Center x="1.5" y="0.0" z="0.9"/> <Dimensions width="2" length="2" height="2"/> </BoundingBox> <Properties> <Property name="type" value="simulation"/> </Properties> </Pedestrian> </ScenarioObject> <ScenarioObject name="pedestrian_close_to_standing_29735"> <Pedestrian model="walker.pedestrian.0001" mass="80" name="walker.pedestrian.0001" pedestrianCategory="pedestrian"> <ParameterDeclarations/> <BoundingBox> <Center x="1.5" y="0.0" z="0.9"/> <Dimensions width="2" length="2" height="2"/> </BoundingBox> <Properties> <Property name="type" value="simulation"/> </Properties> </Pedestrian> </ScenarioObject> <ScenarioObject name="pedestrian_w_transform_29736"> <Pedestrian model="walker.pedestrian.0001" mass="80" name="walker.pedestrian.0001" pedestrianCategory="pedestrian"> <ParameterDeclarations/> <BoundingBox> <Center x="1.5" y="0.0" z="0.9"/> <Dimensions width="2" length="2" height="2"/> </BoundingBox> <Properties> <Property name="type" value="simulation"/> </Properties> </Pedestrian> </ScenarioObject> <ScenarioObject name="pedestrian_close_to_standing_29737"> <Pedestrian model="walker.pedestrian.0001" mass="80" name="walker.pedestrian.0001" pedestrianCategory="pedestrian"> <ParameterDeclarations/> <BoundingBox> <Center x="1.5" y="0.0" z="0.9"/> <Dimensions width="2" length="2" height="2"/> </BoundingBox> <Properties> <Property name="type" value="simulation"/> </Properties> </Pedestrian> </ScenarioObject> <ScenarioObject name="pedestrian_w_transform_29739"> <Pedestrian model="walker.pedestrian.0001" mass="80" name="walker.pedestrian.0001" pedestrianCategory="pedestrian"> <ParameterDeclarations/> <BoundingBox> <Center x="1.5" y="0.0" z="0.9"/> <Dimensions width="2" length="2" height="2"/> </BoundingBox> <Properties> <Property name="type" value="simulation"/> </Properties> </Pedestrian> </ScenarioObject> <ScenarioObject name="pedestrian_w_transform_29740"> <Pedestrian model="walker.pedestrian.0001" mass="80" name="walker.pedestrian.0001" pedestrianCategory="pedestrian"> <ParameterDeclarations/> <BoundingBox> <Center x="1.5" y="0.0" z="0.9"/> <Dimensions width="2" length="2" height="2"/> </BoundingBox> <Properties> <Property name="type" value="simulation"/> </Properties> </Pedestrian> </ScenarioObject> <ScenarioObject name="pedestrian_w_transform_29742"> <Pedestrian model="walker.pedestrian.0001" mass="80" name="walker.pedestrian.0001" pedestrianCategory="pedestrian"> <ParameterDeclarations/> <BoundingBox> <Center x="1.5" y="0.0" z="0.9"/> <Dimensions width="2" length="2" height="2"/> </BoundingBox> <Properties> <Property name="type" value="simulation"/> </Properties> </Pedestrian> </ScenarioObject> <ScenarioObject name="pedestrian_close_to_adversary_29743"> <Pedestrian model="walker.pedestrian.0001" mass="80" name="walker.pedestrian.0001" pedestrianCategory="pedestrian"> <ParameterDeclarations/> <BoundingBox> <Center x="1.5" y="0.0" z="0.9"/> <Dimensions width="2" length="2" height="2"/> </BoundingBox> <Properties> <Property name="type" value="simulation"/> </Properties> </Pedestrian> </ScenarioObject> <ScenarioObject name="pedestrian_w_transform_29744"> <Pedestrian model="walker.pedestrian.0001" mass="80" name="walker.pedestrian.0001" pedestrianCategory="pedestrian"> <ParameterDeclarations/> <BoundingBox> <Center x="1.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_29725"> <PrivateAction> <TeleportAction> <Position> <WorldPosition x="-18.11400032043457" y="36.210052490234375" z="0.0030627059750258923"/> </Position> </TeleportAction> </PrivateAction> </Private> <Private entityRef="pedestrian_close_to_adversary_29726"> <PrivateAction> <TeleportAction> <Position> <WorldPosition x="-10.414732933044434" y="-66.12899017333984" z="0.033787801861763"/> </Position> </TeleportAction> </PrivateAction> </Private> <Private entityRef="pedestrian_w_transform_29727"> <PrivateAction> <TeleportAction> <Position> <WorldPosition x="-13.675004959106445" y="75.87029266357422" z="0.5"/> </Position> </TeleportAction> </PrivateAction> </Private> <Private entityRef="pedestrian_close_to_standing_29728"> <PrivateAction> <TeleportAction> <Position> <WorldPosition x="-11.258381843566895" y="32.030513763427734" z="0.003096961881965399"/> </Position> </TeleportAction> </PrivateAction> </Private> <Private entityRef="pedestrian_close_to_standing_29729"> <PrivateAction> <TeleportAction> <Position> <WorldPosition x="-2.2570362091064453" y="31.091060638427734" z="0.003085823031142354"/> </Position> </TeleportAction> </PrivateAction> </Private> <Private entityRef="pedestrian_close_to_adversary_29730"> <PrivateAction> <TeleportAction> <Position> <WorldPosition x="-4.968817234039307" y="-67.65715026855469" z="0.03380187973380089"/> </Position> </TeleportAction> </PrivateAction> </Private> <Private entityRef="pedestrian_w_transform_29731"> <PrivateAction> <TeleportAction> <Position> <WorldPosition x="14.293462753295898" y="95.00904846191406" z="0.5"/> </Position> </TeleportAction> </PrivateAction> </Private> <Private entityRef="pedestrian_close_to_standing_29732"> <PrivateAction> <TeleportAction> <Position> <WorldPosition x="-17.386430740356445" y="19.930936813354492" z="0.003077278146520257"/> </Position> </TeleportAction> </PrivateAction> </Private> <Private entityRef="pedestrian_close_to_standing_29735"> <PrivateAction> <TeleportAction> <Position> <WorldPosition x="-14.654237747192383" y="19.336200714111328" z="0.003059997456148267"/> </Position> </TeleportAction> </PrivateAction> </Private> <Private entityRef="pedestrian_w_transform_29736"> <PrivateAction> <TeleportAction> <Position> <WorldPosition x="91.49589538574219" y="40.87637710571289" z="0.5"/> </Position> </TeleportAction> </PrivateAction> </Private> <Private entityRef="pedestrian_close_to_standing_29737"> <PrivateAction> <TeleportAction> <Position> <WorldPosition x="3.0076491832733154" y="31.647184371948242" z="0.0030443572904914618"/> </Position> </TeleportAction> </PrivateAction> </Private> <Private entityRef="pedestrian_w_transform_29739"> <PrivateAction> <TeleportAction> <Position> <WorldPosition x="41.34767532348633" y="24.13931655883789" z="0.5"/> </Position> </TeleportAction> </PrivateAction> </Private> <Private entityRef="pedestrian_w_transform_29740"> <PrivateAction> <TeleportAction> <Position> <WorldPosition x="28.321186065673828" y="-81.7948989868164" z="0.5"/> </Position> </TeleportAction> </PrivateAction> </Private> <Private entityRef="pedestrian_w_transform_29742"> <PrivateAction> <TeleportAction> <Position> <WorldPosition x="-89.3218765258789" y="7.178837776184082" z="0.5"/> </Position> </TeleportAction> </PrivateAction> </Private> <Private entityRef="pedestrian_close_to_adversary_29743"> <PrivateAction> <TeleportAction> <Position> <WorldPosition x="-4.327498912811279" y="-79.05625915527344" z="0.03378234803676605"/> </Position> </TeleportAction> </PrivateAction> </Private> <Private entityRef="pedestrian_w_transform_29744"> <PrivateAction> <TeleportAction> <Position> <WorldPosition x="-15.586509704589844" y="4.195545673370361" 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_29725"> <Pedestrian model="walker.pedestrian.0001" mass="80" name="walker.pedestrian.0001" pedestrianCategory="pedestrian"> <ParameterDeclarations/> <BoundingBox> <Center x="1.5" y="0.0" z="0.9"/> <Dimensions width="2" length="2" height="2"/> </BoundingBox> <Properties> <Property name="type" value="simulation"/> </Properties> </Pedestrian> </ScenarioObject> <ScenarioObject name="pedestrian_close_to_adversary_29726"> <Pedestrian model="walker.pedestrian.0001" mass="80" name="walker.pedestrian.0001" pedestrianCategory="pedestrian"> <ParameterDeclarations/> <BoundingBox> <Center x="1.5" y="0.0" z="0.9"/> <Dimensions width="2" length="2" height="2"/> </BoundingBox> <Properties> <Property name="type" value="simulation"/> </Properties> </Pedestrian> </ScenarioObject> <ScenarioObject name="pedestrian_w_transform_29727"> <Pedestrian model="walker.pedestrian.0001" mass="80" name="walker.pedestrian.0001" pedestrianCategory="pedestrian"> <ParameterDeclarations/> <BoundingBox> <Center x="1.5" y="0.0" z="0.9"/> <Dimensions width="2" length="2" height="2"/> </BoundingBox> <Properties> <Property name="type" value="simulation"/> </Properties> </Pedestrian> </ScenarioObject> <ScenarioObject name="pedestrian_close_to_standing_29728"> <Pedestrian model="walker.pedestrian.0001" mass="80" name="walker.pedestrian.0001" pedestrianCategory="pedestrian"> <ParameterDeclarations/> <BoundingBox> <Center x="1.5" y="0.0" z="0.9"/> <Dimensions width="2" length="2" height="2"/> </BoundingBox> <Properties> <Property name="type" value="simulation"/> </Properties> </Pedestrian> </ScenarioObject> <ScenarioObject name="pedestrian_close_to_standing_29729"> <Pedestrian model="walker.pedestrian.0001" mass="80" name="walker.pedestrian.0001" pedestrianCategory="pedestrian"> <ParameterDeclarations/> <BoundingBox> <Center x="1.5" y="0.0" z="0.9"/> <Dimensions width="2" length="2" height="2"/> </BoundingBox> <Properties> <Property name="type" value="simulation"/> </Properties> </Pedestrian> </ScenarioObject> <ScenarioObject name="pedestrian_close_to_adversary_29730"> <Pedestrian model="walker.pedestrian.0001" mass="80" name="walker.pedestrian.0001" pedestrianCategory="pedestrian"> <ParameterDeclarations/> <BoundingBox> <Center x="1.5" y="0.0" z="0.9"/> <Dimensions width="2" length="2" height="2"/> </BoundingBox> <Properties> <Property name="type" value="simulation"/> </Properties> </Pedestrian> </ScenarioObject> <ScenarioObject name="pedestrian_w_transform_29731"> <Pedestrian model="walker.pedestrian.0001" mass="80" name="walker.pedestrian.0001" pedestrianCategory="pedestrian"> <ParameterDeclarations/> <BoundingBox> <Center x="1.5" y="0.0" z="0.9"/> <Dimensions width="2" length="2" height="2"/> </BoundingBox> <Properties> <Property name="type" value="simulation"/> </Properties> </Pedestrian> </ScenarioObject> <ScenarioObject name="pedestrian_close_to_standing_29732"> <Pedestrian model="walker.pedestrian.0001" mass="80" name="walker.pedestrian.0001" pedestrianCategory="pedestrian"> <ParameterDeclarations/> <BoundingBox> <Center x="1.5" y="0.0" z="0.9"/> <Dimensions width="2" length="2" height="2"/> </BoundingBox> <Properties> <Property name="type" value="simulation"/> </Properties> </Pedestrian> </ScenarioObject> <ScenarioObject name="pedestrian_close_to_standing_29735"> <Pedestrian model="walker.pedestrian.0001" mass="80" name="walker.pedestrian.0001" pedestrianCategory="pedestrian"> <ParameterDeclarations/> <BoundingBox> <Center x="1.5" y="0.0" z="0.9"/> <Dimensions width="2" length="2" height="2"/> </BoundingBox> <Properties> <Property name="type" value="simulation"/> </Properties> </Pedestrian> </ScenarioObject> <ScenarioObject name="pedestrian_w_transform_29736"> <Pedestrian model="walker.pedestrian.0001" mass="80" name="walker.pedestrian.0001" pedestrianCategory="pedestrian"> <ParameterDeclarations/> <BoundingBox> <Center x="1.5" y="0.0" z="0.9"/> <Dimensions width="2" length="2" height="2"/> </BoundingBox> <Properties> <Property name="type" value="simulation"/> </Properties> </Pedestrian> </ScenarioObject> <ScenarioObject name="pedestrian_close_to_standing_29737"> <Pedestrian model="walker.pedestrian.0001" mass="80" name="walker.pedestrian.0001" pedestrianCategory="pedestrian"> <ParameterDeclarations/> <BoundingBox> <Center x="1.5" y="0.0" z="0.9"/> <Dimensions width="2" length="2" height="2"/> </BoundingBox> <Properties> <Property name="type" value="simulation"/> </Properties> </Pedestrian> </ScenarioObject> <ScenarioObject name="pedestrian_w_transform_29739"> <Pedestrian model="walker.pedestrian.0001" mass="80" name="walker.pedestrian.0001" pedestrianCategory="pedestrian"> <ParameterDeclarations/> <BoundingBox> <Center x="1.5" y="0.0" z="0.9"/> <Dimensions width="2" length="2" height="2"/> </BoundingBox> <Properties> <Property name="type" value="simulation"/> </Properties> </Pedestrian> </ScenarioObject> <ScenarioObject name="pedestrian_w_transform_29740"> <Pedestrian model="walker.pedestrian.0001" mass="80" name="walker.pedestrian.0001" pedestrianCategory="pedestrian"> <ParameterDeclarations/> <BoundingBox> <Center x="1.5" y="0.0" z="0.9"/> <Dimensions width="2" length="2" height="2"/> </BoundingBox> <Properties> <Property name="type" value="simulation"/> </Properties> </Pedestrian> </ScenarioObject> <ScenarioObject name="pedestrian_w_transform_29742"> <Pedestrian model="walker.pedestrian.0001" mass="80" name="walker.pedestrian.0001" pedestrianCategory="pedestrian"> <ParameterDeclarations/> <BoundingBox> <Center x="1.5" y="0.0" z="0.9"/> <Dimensions width="2" length="2" height="2"/> </BoundingBox> <Properties> <Property name="type" value="simulation"/> </Properties> </Pedestrian> </ScenarioObject> <ScenarioObject name="pedestrian_w_transform_29744"> <Pedestrian model="walker.pedestrian.0001" mass="80" name="walker.pedestrian.0001" pedestrianCategory="pedestrian"> <ParameterDeclarations/> <BoundingBox> <Center x="1.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_29725"> <PrivateAction> <TeleportAction> <Position> <WorldPosition x="-18.11400032043457" y="36.210052490234375" z="0.0030627059750258923"/> </Position> </TeleportAction> </PrivateAction> </Private> <Private entityRef="pedestrian_close_to_adversary_29726"> <PrivateAction> <TeleportAction> <Position> <WorldPosition x="-10.414732933044434" y="-66.12899017333984" z="0.033787801861763"/> </Position> </TeleportAction> </PrivateAction> </Private> <Private entityRef="pedestrian_w_transform_29727"> <PrivateAction> <TeleportAction> <Position> <WorldPosition x="-13.675004959106445" y="75.87029266357422" z="0.5"/> </Position> </TeleportAction> </PrivateAction> </Private> <Private entityRef="pedestrian_close_to_standing_29728"> <PrivateAction> <TeleportAction> <Position> <WorldPosition x="-11.258381843566895" y="32.030513763427734" z="0.003096961881965399"/> </Position> </TeleportAction> </PrivateAction> </Private> <Private entityRef="pedestrian_close_to_standing_29729"> <PrivateAction> <TeleportAction> <Position> <WorldPosition x="-2.2570362091064453" y="31.091060638427734" z="0.003085823031142354"/> </Position> </TeleportAction> </PrivateAction> </Private> <Private entityRef="pedestrian_close_to_adversary_29730"> <PrivateAction> <TeleportAction> <Position> <WorldPosition x="-4.968817234039307" y="-67.65715026855469" z="0.03380187973380089"/> </Position> </TeleportAction> </PrivateAction> </Private> <Private entityRef="pedestrian_w_transform_29731"> <PrivateAction> <TeleportAction> <Position> <WorldPosition x="14.293462753295898" y="95.00904846191406" z="0.5"/> </Position> </TeleportAction> </PrivateAction> </Private> <Private entityRef="pedestrian_close_to_standing_29732"> <PrivateAction> <TeleportAction> <Position> <WorldPosition x="-17.386430740356445" y="19.930936813354492" z="0.003077278146520257"/> </Position> </TeleportAction> </PrivateAction> </Private> <Private entityRef="pedestrian_close_to_standing_29735"> <PrivateAction> <TeleportAction> <Position> <WorldPosition x="-14.654237747192383" y="19.336200714111328" z="0.003059997456148267"/> </Position> </TeleportAction> </PrivateAction> </Private> <Private entityRef="pedestrian_w_transform_29736"> <PrivateAction> <TeleportAction> <Position> <WorldPosition x="91.49589538574219" y="40.87637710571289" z="0.5"/> </Position> </TeleportAction> </PrivateAction> </Private> <Private entityRef="pedestrian_close_to_standing_29737"> <PrivateAction> <TeleportAction> <Position> <WorldPosition x="3.0076491832733154" y="31.647184371948242" z="0.0030443572904914618"/> </Position> </TeleportAction> </PrivateAction> </Private> <Private entityRef="pedestrian_w_transform_29739"> <PrivateAction> <TeleportAction> <Position> <WorldPosition x="41.34767532348633" y="24.13931655883789" z="0.5"/> </Position> </TeleportAction> </PrivateAction> </Private> <Private entityRef="pedestrian_w_transform_29740"> <PrivateAction> <TeleportAction> <Position> <WorldPosition x="28.321186065673828" y="-81.7948989868164" z="0.5"/> </Position> </TeleportAction> </PrivateAction> </Private> <Private entityRef="pedestrian_w_transform_29742"> <PrivateAction> <TeleportAction> <Position> <WorldPosition x="-89.3218765258789" y="7.178837776184082" z="0.5"/> </Position> </TeleportAction> </PrivateAction> </Private> <Private entityRef="pedestrian_w_transform_29744"> <PrivateAction> <TeleportAction> <Position> <WorldPosition x="-15.586509704589844" y="4.195545673370361" 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 (89.94, 83.61, 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_3089"> <Pedestrian model="walker.pedestrian.0001" mass="80" name="walker.pedestrian.0001" pedestrianCategory="pedestrian"> <ParameterDeclarations/> <BoundingBox> <Center x="1.5" y="0.0" z="0.9"/> <Dimensions width="2" length="2" height="2"/> </BoundingBox> <Properties> <Property name="type" value="simulation"/> </Properties> </Pedestrian> </ScenarioObject> <ScenarioObject name="pedestrian_w_transform_3090"> <Pedestrian model="walker.pedestrian.0001" mass="80" name="walker.pedestrian.0001" pedestrianCategory="pedestrian"> <ParameterDeclarations/> <BoundingBox> <Center x="1.5" y="0.0" z="0.9"/> <Dimensions width="2" length="2" height="2"/> </BoundingBox> <Properties> <Property name="type" value="simulation"/> </Properties> </Pedestrian> </ScenarioObject> <ScenarioObject name="pedestrian_w_transform_3091"> <Pedestrian model="walker.pedestrian.0001" mass="80" name="walker.pedestrian.0001" pedestrianCategory="pedestrian"> <ParameterDeclarations/> <BoundingBox> <Center x="1.5" y="0.0" z="0.9"/> <Dimensions width="2" length="2" height="2"/> </BoundingBox> <Properties> <Property name="type" value="simulation"/> </Properties> </Pedestrian> </ScenarioObject> <ScenarioObject name="pedestrian_close_to_hero_3092"> <Pedestrian model="walker.pedestrian.0001" mass="80" name="walker.pedestrian.0001" pedestrianCategory="pedestrian"> <ParameterDeclarations/> <BoundingBox> <Center x="1.5" y="0.0" z="0.9"/> <Dimensions width="2" length="2" height="2"/> </BoundingBox> <Properties> <Property name="type" value="simulation"/> </Properties> </Pedestrian> </ScenarioObject> <ScenarioObject name="pedestrian_close_to_standing_3093"> <Pedestrian model="walker.pedestrian.0001" mass="80" name="walker.pedestrian.0001" pedestrianCategory="pedestrian"> <ParameterDeclarations/> <BoundingBox> <Center x="1.5" y="0.0" z="0.9"/> <Dimensions width="2" length="2" height="2"/> </BoundingBox> <Properties> <Property name="type" value="simulation"/> </Properties> </Pedestrian> </ScenarioObject> <ScenarioObject name="pedestrian_w_transform_3094"> <Pedestrian model="walker.pedestrian.0001" mass="80" name="walker.pedestrian.0001" pedestrianCategory="pedestrian"> <ParameterDeclarations/> <BoundingBox> <Center x="1.5" y="0.0" z="0.9"/> <Dimensions width="2" length="2" height="2"/> </BoundingBox> <Properties> <Property name="type" value="simulation"/> </Properties> </Pedestrian> </ScenarioObject> <ScenarioObject name="pedestrian_close_to_standing_3095"> <Pedestrian model="walker.pedestrian.0001" mass="80" name="walker.pedestrian.0001" pedestrianCategory="pedestrian"> <ParameterDeclarations/> <BoundingBox> <Center x="1.5" y="0.0" z="0.9"/> <Dimensions width="2" length="2" height="2"/> </BoundingBox> <Properties> <Property name="type" value="simulation"/> </Properties> </Pedestrian> </ScenarioObject> <ScenarioObject name="pedestrian_w_transform_3096"> <Pedestrian model="walker.pedestrian.0001" mass="80" name="walker.pedestrian.0001" pedestrianCategory="pedestrian"> <ParameterDeclarations/> <BoundingBox> <Center x="1.5" y="0.0" z="0.9"/> <Dimensions width="2" length="2" height="2"/> </BoundingBox> <Properties> <Property name="type" value="simulation"/> </Properties> </Pedestrian> </ScenarioObject> <ScenarioObject name="pedestrian_close_to_standing_3097"> <Pedestrian model="walker.pedestrian.0001" mass="80" name="walker.pedestrian.0001" pedestrianCategory="pedestrian"> <ParameterDeclarations/> <BoundingBox> <Center x="1.5" y="0.0" z="0.9"/> <Dimensions width="2" length="2" height="2"/> </BoundingBox> <Properties> <Property name="type" value="simulation"/> </Properties> </Pedestrian> </ScenarioObject> <ScenarioObject name="pedestrian_close_to_adversary_3098"> <Pedestrian model="walker.pedestrian.0001" mass="80" name="walker.pedestrian.0001" pedestrianCategory="pedestrian"> <ParameterDeclarations/> <BoundingBox> <Center x="1.5" y="0.0" z="0.9"/> <Dimensions width="2" length="2" height="2"/> </BoundingBox> <Properties> <Property name="type" value="simulation"/> </Properties> </Pedestrian> </ScenarioObject> <ScenarioObject name="pedestrian_w_transform_3099"> <Pedestrian model="walker.pedestrian.0001" mass="80" name="walker.pedestrian.0001" pedestrianCategory="pedestrian"> <ParameterDeclarations/> <BoundingBox> <Center x="1.5" y="0.0" z="0.9"/> <Dimensions width="2" length="2" height="2"/> </BoundingBox> <Properties> <Property name="type" value="simulation"/> </Properties> </Pedestrian> </ScenarioObject> <ScenarioObject name="pedestrian_close_to_adversary_3101"> <Pedestrian model="walker.pedestrian.0001" mass="80" name="walker.pedestrian.0001" pedestrianCategory="pedestrian"> <ParameterDeclarations/> <BoundingBox> <Center x="1.5" y="0.0" z="0.9"/> <Dimensions width="2" length="2" height="2"/> </BoundingBox> <Properties> <Property name="type" value="simulation"/> </Properties> </Pedestrian> </ScenarioObject> <ScenarioObject name="pedestrian_close_to_hero_3102"> <Pedestrian model="walker.pedestrian.0001" mass="80" name="walker.pedestrian.0001" pedestrianCategory="pedestrian"> <ParameterDeclarations/> <BoundingBox> <Center x="1.5" y="0.0" z="0.9"/> <Dimensions width="2" length="2" height="2"/> </BoundingBox> <Properties> <Property name="type" value="simulation"/> </Properties> </Pedestrian> </ScenarioObject> <ScenarioObject name="pedestrian_w_transform_3104"> <Pedestrian model="walker.pedestrian.0001" mass="80" name="walker.pedestrian.0001" pedestrianCategory="pedestrian"> <ParameterDeclarations/> <BoundingBox> <Center x="1.5" y="0.0" z="0.9"/> <Dimensions width="2" length="2" height="2"/> </BoundingBox> <Properties> <Property name="type" value="simulation"/> </Properties> </Pedestrian> </ScenarioObject> <ScenarioObject name="pedestrian_close_to_adversary_3105"> <Pedestrian model="walker.pedestrian.0001" mass="80" name="walker.pedestrian.0001" pedestrianCategory="pedestrian"> <ParameterDeclarations/> <BoundingBox> <Center x="1.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_3089"> <PrivateAction> <TeleportAction> <Position> <WorldPosition x="-9.881359100341797" y="-73.25044250488281" z="0.033909302204847336"/> </Position> </TeleportAction> </PrivateAction> </Private> <Private entityRef="pedestrian_w_transform_3090"> <PrivateAction> <TeleportAction> <Position> <WorldPosition x="-31.63860511779785" y="-89.89802551269531" z="0.5"/> </Position> </TeleportAction> </PrivateAction> </Private> <Private entityRef="pedestrian_w_transform_3091"> <PrivateAction> <TeleportAction> <Position> <WorldPosition x="55.62104415893555" y="57.74506378173828" z="0.5"/> </Position> </TeleportAction> </PrivateAction> </Private> <Private entityRef="pedestrian_close_to_hero_3092"> <PrivateAction> <TeleportAction> <Position> <WorldPosition x="-1.9020708799362183" y="-145.003662109375" z="0.0018838500836864114"/> </Position> </TeleportAction> </PrivateAction> </Private> <Private entityRef="pedestrian_close_to_standing_3093"> <PrivateAction> <TeleportAction> <Position> <WorldPosition x="-6.56892204284668" y="33.99877166748047" z="0.0031086348462849855"/> </Position> </TeleportAction> </PrivateAction> </Private> <Private entityRef="pedestrian_w_transform_3094"> <PrivateAction> <TeleportAction> <Position> <WorldPosition x="-44.56654739379883" y="-15.19682788848877" z="0.5"/> </Position> </TeleportAction> </PrivateAction> </Private> <Private entityRef="pedestrian_close_to_standing_3095"> <PrivateAction> <TeleportAction> <Position> <WorldPosition x="-0.9057004451751709" y="29.285757064819336" z="0.0030848311726003885"/> </Position> </TeleportAction> </PrivateAction> </Private> <Private entityRef="pedestrian_w_transform_3096"> <PrivateAction> <TeleportAction> <Position> <WorldPosition x="-24.689584732055664" y="48.48495864868164" z="0.5"/> </Position> </TeleportAction> </PrivateAction> </Private> <Private entityRef="pedestrian_close_to_standing_3097"> <PrivateAction> <TeleportAction> <Position> <WorldPosition x="-8.539058685302734" y="22.582609176635742" z="0.003089103614911437"/> </Position> </TeleportAction> </PrivateAction> </Private> <Private entityRef="pedestrian_close_to_adversary_3098"> <PrivateAction> <TeleportAction> <Position> <WorldPosition x="-1.9506759643554688" y="-70.8897705078125" z="0.033846665173769"/> </Position> </TeleportAction> </PrivateAction> </Private> <Private entityRef="pedestrian_w_transform_3099"> <PrivateAction> <TeleportAction> <Position> <WorldPosition x="49.17005920410156" y="30.29271697998047" z="0.5"/> </Position> </TeleportAction> </PrivateAction> </Private> <Private entityRef="pedestrian_close_to_adversary_3101"> <PrivateAction> <TeleportAction> <Position> <WorldPosition x="-10.687233924865723" y="-62.19165802001953" z="0.03385356813669205"/> </Position> </TeleportAction> </PrivateAction> </Private> <Private entityRef="pedestrian_close_to_hero_3102"> <PrivateAction> <TeleportAction> <Position> <WorldPosition x="-17.69167709350586" y="-157.82066345214844" z="0.0018838500836864114"/> </Position> </TeleportAction> </PrivateAction> </Private> <Private entityRef="pedestrian_w_transform_3104"> <PrivateAction> <TeleportAction> <Position> <WorldPosition x="-19.040315628051758" y="55.88005447387695" z="0.5"/> </Position> </TeleportAction> </PrivateAction> </Private> <Private entityRef="pedestrian_close_to_adversary_3105"> <PrivateAction> <TeleportAction> <Position> <WorldPosition x="-3.5942180156707764" y="-76.17256164550781" z="0.03389595076441765"/> </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_3089"> <Pedestrian model="walker.pedestrian.0001" mass="80" name="walker.pedestrian.0001" pedestrianCategory="pedestrian"> <ParameterDeclarations/> <BoundingBox> <Center x="1.5" y="0.0" z="0.9"/> <Dimensions width="2" length="2" height="2"/> </BoundingBox> <Properties> <Property name="type" value="simulation"/> </Properties> </Pedestrian> </ScenarioObject> <ScenarioObject name="pedestrian_w_transform_3090"> <Pedestrian model="walker.pedestrian.0001" mass="80" name="walker.pedestrian.0001" pedestrianCategory="pedestrian"> <ParameterDeclarations/> <BoundingBox> <Center x="1.5" y="0.0" z="0.9"/> <Dimensions width="2" length="2" height="2"/> </BoundingBox> <Properties> <Property name="type" value="simulation"/> </Properties> </Pedestrian> </ScenarioObject> <ScenarioObject name="pedestrian_w_transform_3091"> <Pedestrian model="walker.pedestrian.0001" mass="80" name="walker.pedestrian.0001" pedestrianCategory="pedestrian"> <ParameterDeclarations/> <BoundingBox> <Center x="1.5" y="0.0" z="0.9"/> <Dimensions width="2" length="2" height="2"/> </BoundingBox> <Properties> <Property name="type" value="simulation"/> </Properties> </Pedestrian> </ScenarioObject> <ScenarioObject name="pedestrian_close_to_hero_3092"> <Pedestrian model="walker.pedestrian.0001" mass="80" name="walker.pedestrian.0001" pedestrianCategory="pedestrian"> <ParameterDeclarations/> <BoundingBox> <Center x="1.5" y="0.0" z="0.9"/> <Dimensions width="2" length="2" height="2"/> </BoundingBox> <Properties> <Property name="type" value="simulation"/> </Properties> </Pedestrian> </ScenarioObject> <ScenarioObject name="pedestrian_close_to_standing_3093"> <Pedestrian model="walker.pedestrian.0001" mass="80" name="walker.pedestrian.0001" pedestrianCategory="pedestrian"> <ParameterDeclarations/> <BoundingBox> <Center x="1.5" y="0.0" z="0.9"/> <Dimensions width="2" length="2" height="2"/> </BoundingBox> <Properties> <Property name="type" value="simulation"/> </Properties> </Pedestrian> </ScenarioObject> <ScenarioObject name="pedestrian_w_transform_3094"> <Pedestrian model="walker.pedestrian.0001" mass="80" name="walker.pedestrian.0001" pedestrianCategory="pedestrian"> <ParameterDeclarations/> <BoundingBox> <Center x="1.5" y="0.0" z="0.9"/> <Dimensions width="2" length="2" height="2"/> </BoundingBox> <Properties> <Property name="type" value="simulation"/> </Properties> </Pedestrian> </ScenarioObject> <ScenarioObject name="pedestrian_close_to_standing_3095"> <Pedestrian model="walker.pedestrian.0001" mass="80" name="walker.pedestrian.0001" pedestrianCategory="pedestrian"> <ParameterDeclarations/> <BoundingBox> <Center x="1.5" y="0.0" z="0.9"/> <Dimensions width="2" length="2" height="2"/> </BoundingBox> <Properties> <Property name="type" value="simulation"/> </Properties> </Pedestrian> </ScenarioObject> <ScenarioObject name="pedestrian_w_transform_3096"> <Pedestrian model="walker.pedestrian.0001" mass="80" name="walker.pedestrian.0001" pedestrianCategory="pedestrian"> <ParameterDeclarations/> <BoundingBox> <Center x="1.5" y="0.0" z="0.9"/> <Dimensions width="2" length="2" height="2"/> </BoundingBox> <Properties> <Property name="type" value="simulation"/> </Properties> </Pedestrian> </ScenarioObject> <ScenarioObject name="pedestrian_close_to_standing_3097"> <Pedestrian model="walker.pedestrian.0001" mass="80" name="walker.pedestrian.0001" pedestrianCategory="pedestrian"> <ParameterDeclarations/> <BoundingBox> <Center x="1.5" y="0.0" z="0.9"/> <Dimensions width="2" length="2" height="2"/> </BoundingBox> <Properties> <Property name="type" value="simulation"/> </Properties> </Pedestrian> </ScenarioObject> <ScenarioObject name="pedestrian_close_to_adversary_3098"> <Pedestrian model="walker.pedestrian.0001" mass="80" name="walker.pedestrian.0001" pedestrianCategory="pedestrian"> <ParameterDeclarations/> <BoundingBox> <Center x="1.5" y="0.0" z="0.9"/> <Dimensions width="2" length="2" height="2"/> </BoundingBox> <Properties> <Property name="type" value="simulation"/> </Properties> </Pedestrian> </ScenarioObject> <ScenarioObject name="pedestrian_w_transform_3099"> <Pedestrian model="walker.pedestrian.0001" mass="80" name="walker.pedestrian.0001" pedestrianCategory="pedestrian"> <ParameterDeclarations/> <BoundingBox> <Center x="1.5" y="0.0" z="0.9"/> <Dimensions width="2" length="2" height="2"/> </BoundingBox> <Properties> <Property name="type" value="simulation"/> </Properties> </Pedestrian> </ScenarioObject> <ScenarioObject name="pedestrian_close_to_adversary_3101"> <Pedestrian model="walker.pedestrian.0001" mass="80" name="walker.pedestrian.0001" pedestrianCategory="pedestrian"> <ParameterDeclarations/> <BoundingBox> <Center x="1.5" y="0.0" z="0.9"/> <Dimensions width="2" length="2" height="2"/> </BoundingBox> <Properties> <Property name="type" value="simulation"/> </Properties> </Pedestrian> </ScenarioObject> <ScenarioObject name="pedestrian_close_to_hero_3102"> <Pedestrian model="walker.pedestrian.0001" mass="80" name="walker.pedestrian.0001" pedestrianCategory="pedestrian"> <ParameterDeclarations/> <BoundingBox> <Center x="1.5" y="0.0" z="0.9"/> <Dimensions width="2" length="2" height="2"/> </BoundingBox> <Properties> <Property name="type" value="simulation"/> </Properties> </Pedestrian> </ScenarioObject> <ScenarioObject name="pedestrian_w_transform_3104"> <Pedestrian model="walker.pedestrian.0001" mass="80" name="walker.pedestrian.0001" pedestrianCategory="pedestrian"> <ParameterDeclarations/> <BoundingBox> <Center x="1.5" y="0.0" z="0.9"/> <Dimensions width="2" length="2" height="2"/> </BoundingBox> <Properties> <Property name="type" value="simulation"/> </Properties> </Pedestrian> </ScenarioObject> <ScenarioObject name="pedestrian_close_to_adversary_3105"> <Pedestrian model="walker.pedestrian.0001" mass="80" name="walker.pedestrian.0001" pedestrianCategory="pedestrian"> <ParameterDeclarations/> <BoundingBox> <Center x="1.5" y="0.0" z="0.9"/> <Dimensions width="2" length="2" height="2"/> </BoundingBox> <Properties> <Property name="type" value="simulation"/> </Properties> </Pedestrian> </ScenarioObject> <ScenarioObject name="pedestrian_w_transform_3106"> <Pedestrian model="walker.pedestrian.0001" mass="80" name="walker.pedestrian.0001" pedestrianCategory="pedestrian"> <ParameterDeclarations/> <BoundingBox> <Center x="1.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_3089"> <PrivateAction> <TeleportAction> <Position> <WorldPosition x="-9.881359100341797" y="-73.25044250488281" z="0.033909302204847336"/> </Position> </TeleportAction> </PrivateAction> </Private> <Private entityRef="pedestrian_w_transform_3090"> <PrivateAction> <TeleportAction> <Position> <WorldPosition x="-31.63860511779785" y="-89.89802551269531" z="0.5"/> </Position> </TeleportAction> </PrivateAction> </Private> <Private entityRef="pedestrian_w_transform_3091"> <PrivateAction> <TeleportAction> <Position> <WorldPosition x="55.62104415893555" y="57.74506378173828" z="0.5"/> </Position> </TeleportAction> </PrivateAction> </Private> <Private entityRef="pedestrian_close_to_hero_3092"> <PrivateAction> <TeleportAction> <Position> <WorldPosition x="-1.9020708799362183" y="-145.003662109375" z="0.0018838500836864114"/> </Position> </TeleportAction> </PrivateAction> </Private> <Private entityRef="pedestrian_close_to_standing_3093"> <PrivateAction> <TeleportAction> <Position> <WorldPosition x="-6.56892204284668" y="33.99877166748047" z="0.0031086348462849855"/> </Position> </TeleportAction> </PrivateAction> </Private> <Private entityRef="pedestrian_w_transform_3094"> <PrivateAction> <TeleportAction> <Position> <WorldPosition x="-44.56654739379883" y="-15.19682788848877" z="0.5"/> </Position> </TeleportAction> </PrivateAction> </Private> <Private entityRef="pedestrian_close_to_standing_3095"> <PrivateAction> <TeleportAction> <Position> <WorldPosition x="-0.9057004451751709" y="29.285757064819336" z="0.0030848311726003885"/> </Position> </TeleportAction> </PrivateAction> </Private> <Private entityRef="pedestrian_w_transform_3096"> <PrivateAction> <TeleportAction> <Position> <WorldPosition x="-24.689584732055664" y="48.48495864868164" z="0.5"/> </Position> </TeleportAction> </PrivateAction> </Private> <Private entityRef="pedestrian_close_to_standing_3097"> <PrivateAction> <TeleportAction> <Position> <WorldPosition x="-8.539058685302734" y="22.582609176635742" z="0.003089103614911437"/> </Position> </TeleportAction> </PrivateAction> </Private> <Private entityRef="pedestrian_close_to_adversary_3098"> <PrivateAction> <TeleportAction> <Position> <WorldPosition x="-1.9506759643554688" y="-70.8897705078125" z="0.033846665173769"/> </Position> </TeleportAction> </PrivateAction> </Private> <Private entityRef="pedestrian_w_transform_3099"> <PrivateAction> <TeleportAction> <Position> <WorldPosition x="49.17005920410156" y="30.29271697998047" z="0.5"/> </Position> </TeleportAction> </PrivateAction> </Private> <Private entityRef="pedestrian_close_to_adversary_3101"> <PrivateAction> <TeleportAction> <Position> <WorldPosition x="-10.687233924865723" y="-62.19165802001953" z="0.03385356813669205"/> </Position> </TeleportAction> </PrivateAction> </Private> <Private entityRef="pedestrian_close_to_hero_3102"> <PrivateAction> <TeleportAction> <Position> <WorldPosition x="-17.69167709350586" y="-157.82066345214844" z="0.0018838500836864114"/> </Position> </TeleportAction> </PrivateAction> </Private> <Private entityRef="pedestrian_w_transform_3104"> <PrivateAction> <TeleportAction> <Position> <WorldPosition x="-19.040315628051758" y="55.88005447387695" z="0.5"/> </Position> </TeleportAction> </PrivateAction> </Private> <Private entityRef="pedestrian_close_to_adversary_3105"> <PrivateAction> <TeleportAction> <Position> <WorldPosition x="-3.5942180156707764" y="-76.17256164550781" z="0.03389595076441765"/> </Position> </TeleportAction> </PrivateAction> </Private> <Private entityRef="pedestrian_w_transform_3106"> <PrivateAction> <TeleportAction> <Position> <WorldPosition x="89.9446029663086" y="83.60859680175781" 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_hero_25962"> <Pedestrian model="walker.pedestrian.0001" mass="80" name="walker.pedestrian.0001" pedestrianCategory="pedestrian"> <ParameterDeclarations/> <BoundingBox> <Center x="1.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_25962"> <PrivateAction> <TeleportAction> <Position> <WorldPosition x="-8.759944915771484" y="-147.8256378173828" z="0.0019445419311523438"/> </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_25962"> <Pedestrian model="walker.pedestrian.0001" mass="80" name="walker.pedestrian.0001" pedestrianCategory="pedestrian"> <ParameterDeclarations/> <BoundingBox> <Center x="1.5" y="0.0" z="0.9"/> <Dimensions width="2" length="2" height="2"/> </BoundingBox> <Properties> <Property name="type" value="simulation"/> </Properties> </Pedestrian> </ScenarioObject> <ScenarioObject name="pedestrian_close_to_standing_25964"> <Pedestrian model="walker.pedestrian.0001" mass="80" name="walker.pedestrian.0001" pedestrianCategory="pedestrian"> <ParameterDeclarations/> <BoundingBox> <Center x="1.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_25962"> <PrivateAction> <TeleportAction> <Position> <WorldPosition x="-8.759944915771484" y="-147.8256378173828" z="0.0019445419311523438"/> </Position> </TeleportAction> </PrivateAction> </Private> <Private entityRef="pedestrian_close_to_standing_25964"> <PrivateAction> <TeleportAction> <Position> <WorldPosition x="-15.51713752746582" y="38.8369255065918" z="0.0031324385199695826"/> </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 (26.25, -87.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_106"> <Pedestrian model="walker.pedestrian.0001" mass="80" name="walker.pedestrian.0001" pedestrianCategory="pedestrian"> <ParameterDeclarations/> <BoundingBox> <Center x="1.5" y="0.0" z="0.9"/> <Dimensions width="2" length="2" height="2"/> </BoundingBox> <Properties> <Property name="type" value="simulation"/> </Properties> </Pedestrian> </ScenarioObject> <ScenarioObject name="pedestrian_w_transform_107"> <Pedestrian model="walker.pedestrian.0001" mass="80" name="walker.pedestrian.0001" pedestrianCategory="pedestrian"> <ParameterDeclarations/> <BoundingBox> <Center x="1.5" y="0.0" z="0.9"/> <Dimensions width="2" length="2" height="2"/> </BoundingBox> <Properties> <Property name="type" value="simulation"/> </Properties> </Pedestrian> </ScenarioObject> <ScenarioObject name="pedestrian_close_to_adversary_108"> <Pedestrian model="walker.pedestrian.0001" mass="80" name="walker.pedestrian.0001" pedestrianCategory="pedestrian"> <ParameterDeclarations/> <BoundingBox> <Center x="1.5" y="0.0" z="0.9"/> <Dimensions width="2" length="2" height="2"/> </BoundingBox> <Properties> <Property name="type" value="simulation"/> </Properties> </Pedestrian> </ScenarioObject> <ScenarioObject name="pedestrian_w_transform_110"> <Pedestrian model="walker.pedestrian.0001" mass="80" name="walker.pedestrian.0001" pedestrianCategory="pedestrian"> <ParameterDeclarations/> <BoundingBox> <Center x="1.5" y="0.0" z="0.9"/> <Dimensions width="2" length="2" height="2"/> </BoundingBox> <Properties> <Property name="type" value="simulation"/> </Properties> </Pedestrian> </ScenarioObject> <ScenarioObject name="pedestrian_w_transform_111"> <Pedestrian model="walker.pedestrian.0001" mass="80" name="walker.pedestrian.0001" pedestrianCategory="pedestrian"> <ParameterDeclarations/> <BoundingBox> <Center x="1.5" y="0.0" z="0.9"/> <Dimensions width="2" length="2" height="2"/> </BoundingBox> <Properties> <Property name="type" value="simulation"/> </Properties> </Pedestrian> </ScenarioObject> <ScenarioObject name="pedestrian_w_transform_112"> <Pedestrian model="walker.pedestrian.0001" mass="80" name="walker.pedestrian.0001" pedestrianCategory="pedestrian"> <ParameterDeclarations/> <BoundingBox> <Center x="1.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_106"> <PrivateAction> <TeleportAction> <Position> <WorldPosition x="-18.96493148803711" y="-80.22278594970703" z="0.0338403694331646"/> </Position> </TeleportAction> </PrivateAction> </Private> <Private entityRef="pedestrian_w_transform_107"> <PrivateAction> <TeleportAction> <Position> <WorldPosition x="76.26290893554688" y="17.155868530273438" z="0.5"/> </Position> </TeleportAction> </PrivateAction> </Private> <Private entityRef="pedestrian_close_to_adversary_108"> <PrivateAction> <TeleportAction> <Position> <WorldPosition x="-5.746642112731934" y="-80.14623260498047" z="0.03380134329199791"/> </Position> </TeleportAction> </PrivateAction> </Private> <Private entityRef="pedestrian_w_transform_110"> <PrivateAction> <TeleportAction> <Position> <WorldPosition x="20.99643325805664" y="-68.43109130859375" z="0.5"/> </Position> </TeleportAction> </PrivateAction> </Private> <Private entityRef="pedestrian_w_transform_111"> <PrivateAction> <TeleportAction> <Position> <WorldPosition x="-73.4000473022461" y="64.74495697021484" z="0.5"/> </Position> </TeleportAction> </PrivateAction> </Private> <Private entityRef="pedestrian_w_transform_112"> <PrivateAction> <TeleportAction> <Position> <WorldPosition x="-46.903526306152344" y="-28.47500991821289" 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_106"> <Pedestrian model="walker.pedestrian.0001" mass="80" name="walker.pedestrian.0001" pedestrianCategory="pedestrian"> <ParameterDeclarations/> <BoundingBox> <Center x="1.5" y="0.0" z="0.9"/> <Dimensions width="2" length="2" height="2"/> </BoundingBox> <Properties> <Property name="type" value="simulation"/> </Properties> </Pedestrian> </ScenarioObject> <ScenarioObject name="pedestrian_w_transform_107"> <Pedestrian model="walker.pedestrian.0001" mass="80" name="walker.pedestrian.0001" pedestrianCategory="pedestrian"> <ParameterDeclarations/> <BoundingBox> <Center x="1.5" y="0.0" z="0.9"/> <Dimensions width="2" length="2" height="2"/> </BoundingBox> <Properties> <Property name="type" value="simulation"/> </Properties> </Pedestrian> </ScenarioObject> <ScenarioObject name="pedestrian_close_to_adversary_108"> <Pedestrian model="walker.pedestrian.0001" mass="80" name="walker.pedestrian.0001" pedestrianCategory="pedestrian"> <ParameterDeclarations/> <BoundingBox> <Center x="1.5" y="0.0" z="0.9"/> <Dimensions width="2" length="2" height="2"/> </BoundingBox> <Properties> <Property name="type" value="simulation"/> </Properties> </Pedestrian> </ScenarioObject> <ScenarioObject name="pedestrian_w_transform_110"> <Pedestrian model="walker.pedestrian.0001" mass="80" name="walker.pedestrian.0001" pedestrianCategory="pedestrian"> <ParameterDeclarations/> <BoundingBox> <Center x="1.5" y="0.0" z="0.9"/> <Dimensions width="2" length="2" height="2"/> </BoundingBox> <Properties> <Property name="type" value="simulation"/> </Properties> </Pedestrian> </ScenarioObject> <ScenarioObject name="pedestrian_w_transform_111"> <Pedestrian model="walker.pedestrian.0001" mass="80" name="walker.pedestrian.0001" pedestrianCategory="pedestrian"> <ParameterDeclarations/> <BoundingBox> <Center x="1.5" y="0.0" z="0.9"/> <Dimensions width="2" length="2" height="2"/> </BoundingBox> <Properties> <Property name="type" value="simulation"/> </Properties> </Pedestrian> </ScenarioObject> <ScenarioObject name="pedestrian_w_transform_112"> <Pedestrian model="walker.pedestrian.0001" mass="80" name="walker.pedestrian.0001" pedestrianCategory="pedestrian"> <ParameterDeclarations/> <BoundingBox> <Center x="1.5" y="0.0" z="0.9"/> <Dimensions width="2" length="2" height="2"/> </BoundingBox> <Properties> <Property name="type" value="simulation"/> </Properties> </Pedestrian> </ScenarioObject> <ScenarioObject name="pedestrian_w_transform_114"> <Pedestrian model="walker.pedestrian.0001" mass="80" name="walker.pedestrian.0001" pedestrianCategory="pedestrian"> <ParameterDeclarations/> <BoundingBox> <Center x="1.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_106"> <PrivateAction> <TeleportAction> <Position> <WorldPosition x="-18.96493148803711" y="-80.22278594970703" z="0.0338403694331646"/> </Position> </TeleportAction> </PrivateAction> </Private> <Private entityRef="pedestrian_w_transform_107"> <PrivateAction> <TeleportAction> <Position> <WorldPosition x="76.26290893554688" y="17.155868530273438" z="0.5"/> </Position> </TeleportAction> </PrivateAction> </Private> <Private entityRef="pedestrian_close_to_adversary_108"> <PrivateAction> <TeleportAction> <Position> <WorldPosition x="-5.746642112731934" y="-80.14623260498047" z="0.03380134329199791"/> </Position> </TeleportAction> </PrivateAction> </Private> <Private entityRef="pedestrian_w_transform_110"> <PrivateAction> <TeleportAction> <Position> <WorldPosition x="20.99643325805664" y="-68.43109130859375" z="0.5"/> </Position> </TeleportAction> </PrivateAction> </Private> <Private entityRef="pedestrian_w_transform_111"> <PrivateAction> <TeleportAction> <Position> <WorldPosition x="-73.4000473022461" y="64.74495697021484" z="0.5"/> </Position> </TeleportAction> </PrivateAction> </Private> <Private entityRef="pedestrian_w_transform_112"> <PrivateAction> <TeleportAction> <Position> <WorldPosition x="-46.903526306152344" y="-28.47500991821289" z="0.5"/> </Position> </TeleportAction> </PrivateAction> </Private> <Private entityRef="pedestrian_w_transform_114"> <PrivateAction> <TeleportAction> <Position> <WorldPosition x="26.254240036010742" y="-87.32689666748047" 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 (91.21, -24.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_hero_33099"> <Pedestrian model="walker.pedestrian.0001" mass="80" name="walker.pedestrian.0001" pedestrianCategory="pedestrian"> <ParameterDeclarations/> <BoundingBox> <Center x="1.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_33099"> <PrivateAction> <TeleportAction> <Position> <WorldPosition x="-1.5510705709457397" y="-143.7430419921875" z="0.0017747879028320312"/> </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_33099"> <Pedestrian model="walker.pedestrian.0001" mass="80" name="walker.pedestrian.0001" pedestrianCategory="pedestrian"> <ParameterDeclarations/> <BoundingBox> <Center x="1.5" y="0.0" z="0.9"/> <Dimensions width="2" length="2" height="2"/> </BoundingBox> <Properties> <Property name="type" value="simulation"/> </Properties> </Pedestrian> </ScenarioObject> <ScenarioObject name="pedestrian_w_transform_33100"> <Pedestrian model="walker.pedestrian.0001" mass="80" name="walker.pedestrian.0001" pedestrianCategory="pedestrian"> <ParameterDeclarations/> <BoundingBox> <Center x="1.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_33099"> <PrivateAction> <TeleportAction> <Position> <WorldPosition x="-1.5510705709457397" y="-143.7430419921875" z="0.0017747879028320312"/> </Position> </TeleportAction> </PrivateAction> </Private> <Private entityRef="pedestrian_w_transform_33100"> <PrivateAction> <TeleportAction> <Position> <WorldPosition x="91.21192932128906" y="-24.8704833984375" 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 (-83.85, -92.17, 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_14698"> <Pedestrian model="walker.pedestrian.0001" mass="80" name="walker.pedestrian.0001" pedestrianCategory="pedestrian"> <ParameterDeclarations/> <BoundingBox> <Center x="1.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_14698"> <PrivateAction> <TeleportAction> <Position> <WorldPosition x="-9.831738471984863" y="-78.48202514648438" z="0.03380119428038597"/> </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_14698"> <Pedestrian model="walker.pedestrian.0001" mass="80" name="walker.pedestrian.0001" pedestrianCategory="pedestrian"> <ParameterDeclarations/> <BoundingBox> <Center x="1.5" y="0.0" z="0.9"/> <Dimensions width="2" length="2" height="2"/> </BoundingBox> <Properties> <Property name="type" value="simulation"/> </Properties> </Pedestrian> </ScenarioObject> <ScenarioObject name="pedestrian_w_transform_14699"> <Pedestrian model="walker.pedestrian.0001" mass="80" name="walker.pedestrian.0001" pedestrianCategory="pedestrian"> <ParameterDeclarations/> <BoundingBox> <Center x="1.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_14698"> <PrivateAction> <TeleportAction> <Position> <WorldPosition x="-9.831738471984863" y="-78.48202514648438" z="0.03380119428038597"/> </Position> </TeleportAction> </PrivateAction> </Private> <Private entityRef="pedestrian_w_transform_14699"> <PrivateAction> <TeleportAction> <Position> <WorldPosition x="-83.85352325439453" y="-92.16608428955078" 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_close_to_adversary_24010? ``` <?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_24010"> <Pedestrian model="walker.pedestrian.0001" mass="80" name="walker.pedestrian.0001" pedestrianCategory="pedestrian"> <ParameterDeclarations/> <BoundingBox> <Center x="1.5" y="0.0" z="0.9"/> <Dimensions width="2" length="2" height="2"/> </BoundingBox> <Properties> <Property name="type" value="simulation"/> </Properties> </Pedestrian> </ScenarioObject> <ScenarioObject name="pedestrian_w_transform_24016"> <Pedestrian model="walker.pedestrian.0001" mass="80" name="walker.pedestrian.0001" pedestrianCategory="pedestrian"> <ParameterDeclarations/> <BoundingBox> <Center x="1.5" y="0.0" z="0.9"/> <Dimensions width="2" length="2" height="2"/> </BoundingBox> <Properties> <Property name="type" value="simulation"/> </Properties> </Pedestrian> </ScenarioObject> <ScenarioObject name="pedestrian_w_transform_24017"> <Pedestrian model="walker.pedestrian.0001" mass="80" name="walker.pedestrian.0001" pedestrianCategory="pedestrian"> <ParameterDeclarations/> <BoundingBox> <Center x="1.5" y="0.0" z="0.9"/> <Dimensions width="2" length="2" height="2"/> </BoundingBox> <Properties> <Property name="type" value="simulation"/> </Properties> </Pedestrian> </ScenarioObject> <ScenarioObject name="pedestrian_w_transform_24019"> <Pedestrian model="walker.pedestrian.0001" mass="80" name="walker.pedestrian.0001" pedestrianCategory="pedestrian"> <ParameterDeclarations/> <BoundingBox> <Center x="1.5" y="0.0" z="0.9"/> <Dimensions width="2" length="2" height="2"/> </BoundingBox> <Properties> <Property name="type" value="simulation"/> </Properties> </Pedestrian> </ScenarioObject> <ScenarioObject name="pedestrian_w_transform_24021"> <Pedestrian model="walker.pedestrian.0001" mass="80" name="walker.pedestrian.0001" pedestrianCategory="pedestrian"> <ParameterDeclarations/> <BoundingBox> <Center x="1.5" y="0.0" z="0.9"/> <Dimensions width="2" length="2" height="2"/> </BoundingBox> <Properties> <Property name="type" value="simulation"/> </Properties> </Pedestrian> </ScenarioObject> <ScenarioObject name="pedestrian_w_transform_24022"> <Pedestrian model="walker.pedestrian.0001" mass="80" name="walker.pedestrian.0001" pedestrianCategory="pedestrian"> <ParameterDeclarations/> <BoundingBox> <Center x="1.5" y="0.0" z="0.9"/> <Dimensions width="2" length="2" height="2"/> </BoundingBox> <Properties> <Property name="type" value="simulation"/> </Properties> </Pedestrian> </ScenarioObject> <ScenarioObject name="pedestrian_w_transform_24026"> <Pedestrian model="walker.pedestrian.0001" mass="80" name="walker.pedestrian.0001" pedestrianCategory="pedestrian"> <ParameterDeclarations/> <BoundingBox> <Center x="1.5" y="0.0" z="0.9"/> <Dimensions width="2" length="2" height="2"/> </BoundingBox> <Properties> <Property name="type" value="simulation"/> </Properties> </Pedestrian> </ScenarioObject> <ScenarioObject name="pedestrian_w_transform_24027"> <Pedestrian model="walker.pedestrian.0001" mass="80" name="walker.pedestrian.0001" pedestrianCategory="pedestrian"> <ParameterDeclarations/> <BoundingBox> <Center x="1.5" y="0.0" z="0.9"/> <Dimensions width="2" length="2" height="2"/> </BoundingBox> <Properties> <Property name="type" value="simulation"/> </Properties> </Pedestrian> </ScenarioObject> <ScenarioObject name="pedestrian_w_transform_24028"> <Pedestrian model="walker.pedestrian.0001" mass="80" name="walker.pedestrian.0001" pedestrianCategory="pedestrian"> <ParameterDeclarations/> <BoundingBox> <Center x="1.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_24010"> <PrivateAction> <TeleportAction> <Position> <WorldPosition x="2.3127317428588867" y="-59.01085662841797" z="0.033757857978343964"/> </Position> </TeleportAction> </PrivateAction> </Private> <Private entityRef="pedestrian_w_transform_24016"> <PrivateAction> <TeleportAction> <Position> <WorldPosition x="-81.27921295166016" y="-52.05531692504883" z="0.5"/> </Position> </TeleportAction> </PrivateAction> </Private> <Private entityRef="pedestrian_w_transform_24017"> <PrivateAction> <TeleportAction> <Position> <WorldPosition x="93.82223510742188" y="-95.34393310546875" z="0.5"/> </Position> </TeleportAction> </PrivateAction> </Private> <Private entityRef="pedestrian_w_transform_24019"> <PrivateAction> <TeleportAction> <Position> <WorldPosition x="-5.93595552444458" y="98.30144500732422" z="0.5"/> </Position> </TeleportAction> </PrivateAction> </Private> <Private entityRef="pedestrian_w_transform_24021"> <PrivateAction> <TeleportAction> <Position> <WorldPosition x="-82.61783599853516" y="42.37775802612305" z="0.5"/> </Position> </TeleportAction> </PrivateAction> </Private> <Private entityRef="pedestrian_w_transform_24022"> <PrivateAction> <TeleportAction> <Position> <WorldPosition x="-74.05780792236328" y="37.2906608581543" z="0.5"/> </Position> </TeleportAction> </PrivateAction> </Private> <Private entityRef="pedestrian_w_transform_24026"> <PrivateAction> <TeleportAction> <Position> <WorldPosition x="15.345782279968262" y="-25.238235473632812" z="0.5"/> </Position> </TeleportAction> </PrivateAction> </Private> <Private entityRef="pedestrian_w_transform_24027"> <PrivateAction> <TeleportAction> <Position> <WorldPosition x="-46.5463752746582" y="40.993404388427734" z="0.5"/> </Position> </TeleportAction> </PrivateAction> </Private> <Private entityRef="pedestrian_w_transform_24028"> <PrivateAction> <TeleportAction> <Position> <WorldPosition x="-70.16891479492188" y="-44.225467681884766" 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_24016"> <Pedestrian model="walker.pedestrian.0001" mass="80" name="walker.pedestrian.0001" pedestrianCategory="pedestrian"> <ParameterDeclarations/> <BoundingBox> <Center x="1.5" y="0.0" z="0.9"/> <Dimensions width="2" length="2" height="2"/> </BoundingBox> <Properties> <Property name="type" value="simulation"/> </Properties> </Pedestrian> </ScenarioObject> <ScenarioObject name="pedestrian_w_transform_24017"> <Pedestrian model="walker.pedestrian.0001" mass="80" name="walker.pedestrian.0001" pedestrianCategory="pedestrian"> <ParameterDeclarations/> <BoundingBox> <Center x="1.5" y="0.0" z="0.9"/> <Dimensions width="2" length="2" height="2"/> </BoundingBox> <Properties> <Property name="type" value="simulation"/> </Properties> </Pedestrian> </ScenarioObject> <ScenarioObject name="pedestrian_w_transform_24019"> <Pedestrian model="walker.pedestrian.0001" mass="80" name="walker.pedestrian.0001" pedestrianCategory="pedestrian"> <ParameterDeclarations/> <BoundingBox> <Center x="1.5" y="0.0" z="0.9"/> <Dimensions width="2" length="2" height="2"/> </BoundingBox> <Properties> <Property name="type" value="simulation"/> </Properties> </Pedestrian> </ScenarioObject> <ScenarioObject name="pedestrian_w_transform_24021"> <Pedestrian model="walker.pedestrian.0001" mass="80" name="walker.pedestrian.0001" pedestrianCategory="pedestrian"> <ParameterDeclarations/> <BoundingBox> <Center x="1.5" y="0.0" z="0.9"/> <Dimensions width="2" length="2" height="2"/> </BoundingBox> <Properties> <Property name="type" value="simulation"/> </Properties> </Pedestrian> </ScenarioObject> <ScenarioObject name="pedestrian_w_transform_24022"> <Pedestrian model="walker.pedestrian.0001" mass="80" name="walker.pedestrian.0001" pedestrianCategory="pedestrian"> <ParameterDeclarations/> <BoundingBox> <Center x="1.5" y="0.0" z="0.9"/> <Dimensions width="2" length="2" height="2"/> </BoundingBox> <Properties> <Property name="type" value="simulation"/> </Properties> </Pedestrian> </ScenarioObject> <ScenarioObject name="pedestrian_w_transform_24026"> <Pedestrian model="walker.pedestrian.0001" mass="80" name="walker.pedestrian.0001" pedestrianCategory="pedestrian"> <ParameterDeclarations/> <BoundingBox> <Center x="1.5" y="0.0" z="0.9"/> <Dimensions width="2" length="2" height="2"/> </BoundingBox> <Properties> <Property name="type" value="simulation"/> </Properties> </Pedestrian> </ScenarioObject> <ScenarioObject name="pedestrian_w_transform_24027"> <Pedestrian model="walker.pedestrian.0001" mass="80" name="walker.pedestrian.0001" pedestrianCategory="pedestrian"> <ParameterDeclarations/> <BoundingBox> <Center x="1.5" y="0.0" z="0.9"/> <Dimensions width="2" length="2" height="2"/> </BoundingBox> <Properties> <Property name="type" value="simulation"/> </Properties> </Pedestrian> </ScenarioObject> <ScenarioObject name="pedestrian_w_transform_24028"> <Pedestrian model="walker.pedestrian.0001" mass="80" name="walker.pedestrian.0001" pedestrianCategory="pedestrian"> <ParameterDeclarations/> <BoundingBox> <Center x="1.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_24016"> <PrivateAction> <TeleportAction> <Position> <WorldPosition x="-81.27921295166016" y="-52.05531692504883" z="0.5"/> </Position> </TeleportAction> </PrivateAction> </Private> <Private entityRef="pedestrian_w_transform_24017"> <PrivateAction> <TeleportAction> <Position> <WorldPosition x="93.82223510742188" y="-95.34393310546875" z="0.5"/> </Position> </TeleportAction> </PrivateAction> </Private> <Private entityRef="pedestrian_w_transform_24019"> <PrivateAction> <TeleportAction> <Position> <WorldPosition x="-5.93595552444458" y="98.30144500732422" z="0.5"/> </Position> </TeleportAction> </PrivateAction> </Private> <Private entityRef="pedestrian_w_transform_24021"> <PrivateAction> <TeleportAction> <Position> <WorldPosition x="-82.61783599853516" y="42.37775802612305" z="0.5"/> </Position> </TeleportAction> </PrivateAction> </Private> <Private entityRef="pedestrian_w_transform_24022"> <PrivateAction> <TeleportAction> <Position> <WorldPosition x="-74.05780792236328" y="37.2906608581543" z="0.5"/> </Position> </TeleportAction> </PrivateAction> </Private> <Private entityRef="pedestrian_w_transform_24026"> <PrivateAction> <TeleportAction> <Position> <WorldPosition x="15.345782279968262" y="-25.238235473632812" z="0.5"/> </Position> </TeleportAction> </PrivateAction> </Private> <Private entityRef="pedestrian_w_transform_24027"> <PrivateAction> <TeleportAction> <Position> <WorldPosition x="-46.5463752746582" y="40.993404388427734" z="0.5"/> </Position> </TeleportAction> </PrivateAction> </Private> <Private entityRef="pedestrian_w_transform_24028"> <PrivateAction> <TeleportAction> <Position> <WorldPosition x="-70.16891479492188" y="-44.225467681884766" 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 request 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_27836"> <Pedestrian model="walker.pedestrian.0001" mass="80" name="walker.pedestrian.0001" pedestrianCategory="pedestrian"> <ParameterDeclarations/> <BoundingBox> <Center x="1.5" y="0.0" z="0.9"/> <Dimensions width="2" length="2" height="2"/> </BoundingBox> <Properties> <Property name="type" value="simulation"/> </Properties> </Pedestrian> </ScenarioObject> <ScenarioObject name="pedestrian_close_to_adversary_27837"> <Pedestrian model="walker.pedestrian.0001" mass="80" name="walker.pedestrian.0001" pedestrianCategory="pedestrian"> <ParameterDeclarations/> <BoundingBox> <Center x="1.5" y="0.0" z="0.9"/> <Dimensions width="2" length="2" height="2"/> </BoundingBox> <Properties> <Property name="type" value="simulation"/> </Properties> </Pedestrian> </ScenarioObject> <ScenarioObject name="pedestrian_close_to_standing_27838"> <Pedestrian model="walker.pedestrian.0001" mass="80" name="walker.pedestrian.0001" pedestrianCategory="pedestrian"> <ParameterDeclarations/> <BoundingBox> <Center x="1.5" y="0.0" z="0.9"/> <Dimensions width="2" length="2" height="2"/> </BoundingBox> <Properties> <Property name="type" value="simulation"/> </Properties> </Pedestrian> </ScenarioObject> <ScenarioObject name="pedestrian_close_to_standing_27839"> <Pedestrian model="walker.pedestrian.0001" mass="80" name="walker.pedestrian.0001" pedestrianCategory="pedestrian"> <ParameterDeclarations/> <BoundingBox> <Center x="1.5" y="0.0" z="0.9"/> <Dimensions width="2" length="2" height="2"/> </BoundingBox> <Properties> <Property name="type" value="simulation"/> </Properties> </Pedestrian> </ScenarioObject> <ScenarioObject name="pedestrian_close_to_standing_27840"> <Pedestrian model="walker.pedestrian.0001" mass="80" name="walker.pedestrian.0001" pedestrianCategory="pedestrian"> <ParameterDeclarations/> <BoundingBox> <Center x="1.5" y="0.0" z="0.9"/> <Dimensions width="2" length="2" height="2"/> </BoundingBox> <Properties> <Property name="type" value="simulation"/> </Properties> </Pedestrian> </ScenarioObject> <ScenarioObject name="pedestrian_close_to_adversary_27841"> <Pedestrian model="walker.pedestrian.0001" mass="80" name="walker.pedestrian.0001" pedestrianCategory="pedestrian"> <ParameterDeclarations/> <BoundingBox> <Center x="1.5" y="0.0" z="0.9"/> <Dimensions width="2" length="2" height="2"/> </BoundingBox> <Properties> <Property name="type" value="simulation"/> </Properties> </Pedestrian> </ScenarioObject> <ScenarioObject name="pedestrian_w_transform_27842"> <Pedestrian model="walker.pedestrian.0001" mass="80" name="walker.pedestrian.0001" pedestrianCategory="pedestrian"> <ParameterDeclarations/> <BoundingBox> <Center x="1.5" y="0.0" z="0.9"/> <Dimensions width="2" length="2" height="2"/> </BoundingBox> <Properties> <Property name="type" value="simulation"/> </Properties> </Pedestrian> </ScenarioObject> <ScenarioObject name="pedestrian_w_transform_27843"> <Pedestrian model="walker.pedestrian.0001" mass="80" name="walker.pedestrian.0001" pedestrianCategory="pedestrian"> <ParameterDeclarations/> <BoundingBox> <Center x="1.5" y="0.0" z="0.9"/> <Dimensions width="2" length="2" height="2"/> </BoundingBox> <Properties> <Property name="type" value="simulation"/> </Properties> </Pedestrian> </ScenarioObject> <ScenarioObject name="pedestrian_close_to_hero_27844"> <Pedestrian model="walker.pedestrian.0001" mass="80" name="walker.pedestrian.0001" pedestrianCategory="pedestrian"> <ParameterDeclarations/> <BoundingBox> <Center x="1.5" y="0.0" z="0.9"/> <Dimensions width="2" length="2" height="2"/> </BoundingBox> <Properties> <Property name="type" value="simulation"/> </Properties> </Pedestrian> </ScenarioObject> <ScenarioObject name="pedestrian_w_transform_27845"> <Pedestrian model="walker.pedestrian.0001" mass="80" name="walker.pedestrian.0001" pedestrianCategory="pedestrian"> <ParameterDeclarations/> <BoundingBox> <Center x="1.5" y="0.0" z="0.9"/> <Dimensions width="2" length="2" height="2"/> </BoundingBox> <Properties> <Property name="type" value="simulation"/> </Properties> </Pedestrian> </ScenarioObject> <ScenarioObject name="pedestrian_close_to_adversary_27847"> <Pedestrian model="walker.pedestrian.0001" mass="80" name="walker.pedestrian.0001" pedestrianCategory="pedestrian"> <ParameterDeclarations/> <BoundingBox> <Center x="1.5" y="0.0" z="0.9"/> <Dimensions width="2" length="2" height="2"/> </BoundingBox> <Properties> <Property name="type" value="simulation"/> </Properties> </Pedestrian> </ScenarioObject> <ScenarioObject name="pedestrian_close_to_adversary_27849"> <Pedestrian model="walker.pedestrian.0001" mass="80" name="walker.pedestrian.0001" pedestrianCategory="pedestrian"> <ParameterDeclarations/> <BoundingBox> <Center x="1.5" y="0.0" z="0.9"/> <Dimensions width="2" length="2" height="2"/> </BoundingBox> <Properties> <Property name="type" value="simulation"/> </Properties> </Pedestrian> </ScenarioObject> <ScenarioObject name="pedestrian_w_transform_27850"> <Pedestrian model="walker.pedestrian.0001" mass="80" name="walker.pedestrian.0001" pedestrianCategory="pedestrian"> <ParameterDeclarations/> <BoundingBox> <Center x="1.5" y="0.0" z="0.9"/> <Dimensions width="2" length="2" height="2"/> </BoundingBox> <Properties> <Property name="type" value="simulation"/> </Properties> </Pedestrian> </ScenarioObject> <ScenarioObject name="pedestrian_w_transform_27851"> <Pedestrian model="walker.pedestrian.0001" mass="80" name="walker.pedestrian.0001" pedestrianCategory="pedestrian"> <ParameterDeclarations/> <BoundingBox> <Center x="1.5" y="0.0" z="0.9"/> <Dimensions width="2" length="2" height="2"/> </BoundingBox> <Properties> <Property name="type" value="simulation"/> </Properties> </Pedestrian> </ScenarioObject> <ScenarioObject name="pedestrian_close_to_hero_27853"> <Pedestrian model="walker.pedestrian.0001" mass="80" name="walker.pedestrian.0001" pedestrianCategory="pedestrian"> <ParameterDeclarations/> <BoundingBox> <Center x="1.5" y="0.0" z="0.9"/> <Dimensions width="2" length="2" height="2"/> </BoundingBox> <Properties> <Property name="type" value="simulation"/> </Properties> </Pedestrian> </ScenarioObject> <ScenarioObject name="pedestrian_close_to_hero_27854"> <Pedestrian model="walker.pedestrian.0001" mass="80" name="walker.pedestrian.0001" pedestrianCategory="pedestrian"> <ParameterDeclarations/> <BoundingBox> <Center x="1.5" y="0.0" z="0.9"/> <Dimensions width="2" length="2" height="2"/> </BoundingBox> <Properties> <Property name="type" value="simulation"/> </Properties> </Pedestrian> </ScenarioObject> <ScenarioObject name="pedestrian_w_transform_27857"> <Pedestrian model="walker.pedestrian.0001" mass="80" name="walker.pedestrian.0001" pedestrianCategory="pedestrian"> <ParameterDeclarations/> <BoundingBox> <Center x="1.5" y="0.0" z="0.9"/> <Dimensions width="2" length="2" height="2"/> </BoundingBox> <Properties> <Property name="type" value="simulation"/> </Properties> </Pedestrian> </ScenarioObject> <ScenarioObject name="pedestrian_w_transform_27858"> <Pedestrian model="walker.pedestrian.0001" mass="80" name="walker.pedestrian.0001" pedestrianCategory="pedestrian"> <ParameterDeclarations/> <BoundingBox> <Center x="1.5" y="0.0" z="0.9"/> <Dimensions width="2" length="2" height="2"/> </BoundingBox> <Properties> <Property name="type" value="simulation"/> </Properties> </Pedestrian> </ScenarioObject> <ScenarioObject name="pedestrian_w_transform_27859"> <Pedestrian model="walker.pedestrian.0001" mass="80" name="walker.pedestrian.0001" pedestrianCategory="pedestrian"> <ParameterDeclarations/> <BoundingBox> <Center x="1.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_27836"> <PrivateAction> <TeleportAction> <Position> <WorldPosition x="-0.21093754470348358" y="-151.25567626953125" z="0.0013734435196965933"/> </Position> </TeleportAction> </PrivateAction> </Private> <Private entityRef="pedestrian_close_to_adversary_27837"> <PrivateAction> <TeleportAction> <Position> <WorldPosition x="-8.886453628540039" y="-70.82099151611328" z="0.03377223759889603"/> </Position> </TeleportAction> </PrivateAction> </Private> <Private entityRef="pedestrian_close_to_standing_27838"> <PrivateAction> <TeleportAction> <Position> <WorldPosition x="-1.5198628902435303" y="26.824493408203125" z="0.00304069509729743"/> </Position> </TeleportAction> </PrivateAction> </Private> <Private entityRef="pedestrian_close_to_standing_27839"> <PrivateAction> <TeleportAction> <Position> <WorldPosition x="1.770632266998291" y="34.2615966796875" z="0.00303134904243052"/> </Position> </TeleportAction> </PrivateAction> </Private> <Private entityRef="pedestrian_close_to_standing_27840"> <PrivateAction> <TeleportAction> <Position> <WorldPosition x="-4.509398460388184" y="39.02853012084961" z="0.0030193710699677467"/> </Position> </TeleportAction> </PrivateAction> </Private> <Private entityRef="pedestrian_close_to_adversary_27841"> <PrivateAction> <TeleportAction> <Position> <WorldPosition x="-14.069406509399414" y="-69.2005615234375" z="0.033773574978113174"/> </Position> </TeleportAction> </PrivateAction> </Private> <Private entityRef="pedestrian_w_transform_27842"> <PrivateAction> <TeleportAction> <Position> <WorldPosition x="22.036048889160156" y="38.20273208618164" z="0.5"/> </Position> </TeleportAction> </PrivateAction> </Private> <Private entityRef="pedestrian_w_transform_27843"> <PrivateAction> <TeleportAction> <Position> <WorldPosition x="88.946044921875" y="5.274006366729736" z="0.5"/> </Position> </TeleportAction> </PrivateAction> </Private> <Private entityRef="pedestrian_close_to_hero_27844"> <PrivateAction> <TeleportAction> <Position> <WorldPosition x="-9.855098724365234" y="-152.15904235839844" z="0.0013734435196965933"/> </Position> </TeleportAction> </PrivateAction> </Private> <Private entityRef="pedestrian_w_transform_27845"> <PrivateAction> <TeleportAction> <Position> <WorldPosition x="15.55203628540039" y="-69.17866516113281" z="0.5"/> </Position> </TeleportAction> </PrivateAction> </Private> <Private entityRef="pedestrian_close_to_adversary_27847"> <PrivateAction> <TeleportAction> <Position> <WorldPosition x="-12.018052101135254" y="-75.02950286865234" z="0.033765219151973724"/> </Position> </TeleportAction> </PrivateAction> </Private> <Private entityRef="pedestrian_close_to_adversary_27849"> <PrivateAction> <TeleportAction> <Position> <WorldPosition x="-14.644383430480957" y="-63.04437255859375" z="0.033755265176296234"/> </Position> </TeleportAction> </PrivateAction> </Private> <Private entityRef="pedestrian_w_transform_27850"> <PrivateAction> <TeleportAction> <Position> <WorldPosition x="33.735504150390625" y="86.7525863647461" z="0.5"/> </Position> </TeleportAction> </PrivateAction> </Private> <Private entityRef="pedestrian_w_transform_27851"> <PrivateAction> <TeleportAction> <Position> <WorldPosition x="-96.48343658447266" y="0.014402639120817184" z="0.5"/> </Position> </TeleportAction> </PrivateAction> </Private> <Private entityRef="pedestrian_close_to_hero_27853"> <PrivateAction> <TeleportAction> <Position> <WorldPosition x="-7.919550895690918" y="-146.7893524169922" z="0.0013734435196965933"/> </Position> </TeleportAction> </PrivateAction> </Private> <Private entityRef="pedestrian_close_to_hero_27854"> <PrivateAction> <TeleportAction> <Position> <WorldPosition x="-14.800520896911621" y="-151.9180450439453" z="0.0013734435196965933"/> </Position> </TeleportAction> </PrivateAction> </Private> <Private entityRef="pedestrian_w_transform_27857"> <PrivateAction> <TeleportAction> <Position> <WorldPosition x="-49.532470703125" y="-7.396902561187744" z="0.5"/> </Position> </TeleportAction> </PrivateAction> </Private> <Private entityRef="pedestrian_w_transform_27858"> <PrivateAction> <TeleportAction> <Position> <WorldPosition x="15.193658828735352" y="47.246036529541016" z="0.5"/> </Position> </TeleportAction> </PrivateAction> </Private> <Private entityRef="pedestrian_w_transform_27859"> <PrivateAction> <TeleportAction> <Position> <WorldPosition x="-44.92237091064453" y="-25.88323211669922" 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_27836"> <Pedestrian model="walker.pedestrian.0001" mass="80" name="walker.pedestrian.0001" pedestrianCategory="pedestrian"> <ParameterDeclarations/> <BoundingBox> <Center x="1.5" y="0.0" z="0.9"/> <Dimensions width="2" length="2" height="2"/> </BoundingBox> <Properties> <Property name="type" value="simulation"/> </Properties> </Pedestrian> </ScenarioObject> <ScenarioObject name="pedestrian_close_to_adversary_27837"> <Pedestrian model="walker.pedestrian.0001" mass="80" name="walker.pedestrian.0001" pedestrianCategory="pedestrian"> <ParameterDeclarations/> <BoundingBox> <Center x="1.5" y="0.0" z="0.9"/> <Dimensions width="2" length="2" height="2"/> </BoundingBox> <Properties> <Property name="type" value="simulation"/> </Properties> </Pedestrian> </ScenarioObject> <ScenarioObject name="pedestrian_close_to_standing_27838"> <Pedestrian model="walker.pedestrian.0001" mass="80" name="walker.pedestrian.0001" pedestrianCategory="pedestrian"> <ParameterDeclarations/> <BoundingBox> <Center x="1.5" y="0.0" z="0.9"/> <Dimensions width="2" length="2" height="2"/> </BoundingBox> <Properties> <Property name="type" value="simulation"/> </Properties> </Pedestrian> </ScenarioObject> <ScenarioObject name="pedestrian_close_to_standing_27839"> <Pedestrian model="walker.pedestrian.0001" mass="80" name="walker.pedestrian.0001" pedestrianCategory="pedestrian"> <ParameterDeclarations/> <BoundingBox> <Center x="1.5" y="0.0" z="0.9"/> <Dimensions width="2" length="2" height="2"/> </BoundingBox> <Properties> <Property name="type" value="simulation"/> </Properties> </Pedestrian> </ScenarioObject> <ScenarioObject name="pedestrian_close_to_standing_27840"> <Pedestrian model="walker.pedestrian.0001" mass="80" name="walker.pedestrian.0001" pedestrianCategory="pedestrian"> <ParameterDeclarations/> <BoundingBox> <Center x="1.5" y="0.0" z="0.9"/> <Dimensions width="2" length="2" height="2"/> </BoundingBox> <Properties> <Property name="type" value="simulation"/> </Properties> </Pedestrian> </ScenarioObject> <ScenarioObject name="pedestrian_close_to_adversary_27841"> <Pedestrian model="walker.pedestrian.0001" mass="80" name="walker.pedestrian.0001" pedestrianCategory="pedestrian"> <ParameterDeclarations/> <BoundingBox> <Center x="1.5" y="0.0" z="0.9"/> <Dimensions width="2" length="2" height="2"/> </BoundingBox> <Properties> <Property name="type" value="simulation"/> </Properties> </Pedestrian> </ScenarioObject> <ScenarioObject name="pedestrian_w_transform_27842"> <Pedestrian model="walker.pedestrian.0001" mass="80" name="walker.pedestrian.0001" pedestrianCategory="pedestrian"> <ParameterDeclarations/> <BoundingBox> <Center x="1.5" y="0.0" z="0.9"/> <Dimensions width="2" length="2" height="2"/> </BoundingBox> <Properties> <Property name="type" value="simulation"/> </Properties> </Pedestrian> </ScenarioObject> <ScenarioObject name="pedestrian_w_transform_27843"> <Pedestrian model="walker.pedestrian.0001" mass="80" name="walker.pedestrian.0001" pedestrianCategory="pedestrian"> <ParameterDeclarations/> <BoundingBox> <Center x="1.5" y="0.0" z="0.9"/> <Dimensions width="2" length="2" height="2"/> </BoundingBox> <Properties> <Property name="type" value="simulation"/> </Properties> </Pedestrian> </ScenarioObject> <ScenarioObject name="pedestrian_close_to_hero_27844"> <Pedestrian model="walker.pedestrian.0001" mass="80" name="walker.pedestrian.0001" pedestrianCategory="pedestrian"> <ParameterDeclarations/> <BoundingBox> <Center x="1.5" y="0.0" z="0.9"/> <Dimensions width="2" length="2" height="2"/> </BoundingBox> <Properties> <Property name="type" value="simulation"/> </Properties> </Pedestrian> </ScenarioObject> <ScenarioObject name="pedestrian_w_transform_27845"> <Pedestrian model="walker.pedestrian.0001" mass="80" name="walker.pedestrian.0001" pedestrianCategory="pedestrian"> <ParameterDeclarations/> <BoundingBox> <Center x="1.5" y="0.0" z="0.9"/> <Dimensions width="2" length="2" height="2"/> </BoundingBox> <Properties> <Property name="type" value="simulation"/> </Properties> </Pedestrian> </ScenarioObject> <ScenarioObject name="pedestrian_close_to_adversary_27847"> <Pedestrian model="walker.pedestrian.0001" mass="80" name="walker.pedestrian.0001" pedestrianCategory="pedestrian"> <ParameterDeclarations/> <BoundingBox> <Center x="1.5" y="0.0" z="0.9"/> <Dimensions width="2" length="2" height="2"/> </BoundingBox> <Properties> <Property name="type" value="simulation"/> </Properties> </Pedestrian> </ScenarioObject> <ScenarioObject name="pedestrian_close_to_adversary_27849"> <Pedestrian model="walker.pedestrian.0001" mass="80" name="walker.pedestrian.0001" pedestrianCategory="pedestrian"> <ParameterDeclarations/> <BoundingBox> <Center x="1.5" y="0.0" z="0.9"/> <Dimensions width="2" length="2" height="2"/> </BoundingBox> <Properties> <Property name="type" value="simulation"/> </Properties> </Pedestrian> </ScenarioObject> <ScenarioObject name="pedestrian_w_transform_27850"> <Pedestrian model="walker.pedestrian.0001" mass="80" name="walker.pedestrian.0001" pedestrianCategory="pedestrian"> <ParameterDeclarations/> <BoundingBox> <Center x="1.5" y="0.0" z="0.9"/> <Dimensions width="2" length="2" height="2"/> </BoundingBox> <Properties> <Property name="type" value="simulation"/> </Properties> </Pedestrian> </ScenarioObject> <ScenarioObject name="pedestrian_w_transform_27851"> <Pedestrian model="walker.pedestrian.0001" mass="80" name="walker.pedestrian.0001" pedestrianCategory="pedestrian"> <ParameterDeclarations/> <BoundingBox> <Center x="1.5" y="0.0" z="0.9"/> <Dimensions width="2" length="2" height="2"/> </BoundingBox> <Properties> <Property name="type" value="simulation"/> </Properties> </Pedestrian> </ScenarioObject> <ScenarioObject name="pedestrian_close_to_hero_27853"> <Pedestrian model="walker.pedestrian.0001" mass="80" name="walker.pedestrian.0001" pedestrianCategory="pedestrian"> <ParameterDeclarations/> <BoundingBox> <Center x="1.5" y="0.0" z="0.9"/> <Dimensions width="2" length="2" height="2"/> </BoundingBox> <Properties> <Property name="type" value="simulation"/> </Properties> </Pedestrian> </ScenarioObject> <ScenarioObject name="pedestrian_w_transform_27857"> <Pedestrian model="walker.pedestrian.0001" mass="80" name="walker.pedestrian.0001" pedestrianCategory="pedestrian"> <ParameterDeclarations/> <BoundingBox> <Center x="1.5" y="0.0" z="0.9"/> <Dimensions width="2" length="2" height="2"/> </BoundingBox> <Properties> <Property name="type" value="simulation"/> </Properties> </Pedestrian> </ScenarioObject> <ScenarioObject name="pedestrian_w_transform_27858"> <Pedestrian model="walker.pedestrian.0001" mass="80" name="walker.pedestrian.0001" pedestrianCategory="pedestrian"> <ParameterDeclarations/> <BoundingBox> <Center x="1.5" y="0.0" z="0.9"/> <Dimensions width="2" length="2" height="2"/> </BoundingBox> <Properties> <Property name="type" value="simulation"/> </Properties> </Pedestrian> </ScenarioObject> <ScenarioObject name="pedestrian_w_transform_27859"> <Pedestrian model="walker.pedestrian.0001" mass="80" name="walker.pedestrian.0001" pedestrianCategory="pedestrian"> <ParameterDeclarations/> <BoundingBox> <Center x="1.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_27836"> <PrivateAction> <TeleportAction> <Position> <WorldPosition x="-0.21093754470348358" y="-151.25567626953125" z="0.0013734435196965933"/> </Position> </TeleportAction> </PrivateAction> </Private> <Private entityRef="pedestrian_close_to_adversary_27837"> <PrivateAction> <TeleportAction> <Position> <WorldPosition x="-8.886453628540039" y="-70.82099151611328" z="0.03377223759889603"/> </Position> </TeleportAction> </PrivateAction> </Private> <Private entityRef="pedestrian_close_to_standing_27838"> <PrivateAction> <TeleportAction> <Position> <WorldPosition x="-1.5198628902435303" y="26.824493408203125" z="0.00304069509729743"/> </Position> </TeleportAction> </PrivateAction> </Private> <Private entityRef="pedestrian_close_to_standing_27839"> <PrivateAction> <TeleportAction> <Position> <WorldPosition x="1.770632266998291" y="34.2615966796875" z="0.00303134904243052"/> </Position> </TeleportAction> </PrivateAction> </Private> <Private entityRef="pedestrian_close_to_standing_27840"> <PrivateAction> <TeleportAction> <Position> <WorldPosition x="-4.509398460388184" y="39.02853012084961" z="0.0030193710699677467"/> </Position> </TeleportAction> </PrivateAction> </Private> <Private entityRef="pedestrian_close_to_adversary_27841"> <PrivateAction> <TeleportAction> <Position> <WorldPosition x="-14.069406509399414" y="-69.2005615234375" z="0.033773574978113174"/> </Position> </TeleportAction> </PrivateAction> </Private> <Private entityRef="pedestrian_w_transform_27842"> <PrivateAction> <TeleportAction> <Position> <WorldPosition x="22.036048889160156" y="38.20273208618164" z="0.5"/> </Position> </TeleportAction> </PrivateAction> </Private> <Private entityRef="pedestrian_w_transform_27843"> <PrivateAction> <TeleportAction> <Position> <WorldPosition x="88.946044921875" y="5.274006366729736" z="0.5"/> </Position> </TeleportAction> </PrivateAction> </Private> <Private entityRef="pedestrian_close_to_hero_27844"> <PrivateAction> <TeleportAction> <Position> <WorldPosition x="-9.855098724365234" y="-152.15904235839844" z="0.0013734435196965933"/> </Position> </TeleportAction> </PrivateAction> </Private> <Private entityRef="pedestrian_w_transform_27845"> <PrivateAction> <TeleportAction> <Position> <WorldPosition x="15.55203628540039" y="-69.17866516113281" z="0.5"/> </Position> </TeleportAction> </PrivateAction> </Private> <Private entityRef="pedestrian_close_to_adversary_27847"> <PrivateAction> <TeleportAction> <Position> <WorldPosition x="-12.018052101135254" y="-75.02950286865234" z="0.033765219151973724"/> </Position> </TeleportAction> </PrivateAction> </Private> <Private entityRef="pedestrian_close_to_adversary_27849"> <PrivateAction> <TeleportAction> <Position> <WorldPosition x="-14.644383430480957" y="-63.04437255859375" z="0.033755265176296234"/> </Position> </TeleportAction> </PrivateAction> </Private> <Private entityRef="pedestrian_w_transform_27850"> <PrivateAction> <TeleportAction> <Position> <WorldPosition x="33.735504150390625" y="86.7525863647461" z="0.5"/> </Position> </TeleportAction> </PrivateAction> </Private> <Private entityRef="pedestrian_w_transform_27851"> <PrivateAction> <TeleportAction> <Position> <WorldPosition x="-96.48343658447266" y="0.014402639120817184" z="0.5"/> </Position> </TeleportAction> </PrivateAction> </Private> <Private entityRef="pedestrian_close_to_hero_27853"> <PrivateAction> <TeleportAction> <Position> <WorldPosition x="-7.919550895690918" y="-146.7893524169922" z="0.0013734435196965933"/> </Position> </TeleportAction> </PrivateAction> </Private> <Private entityRef="pedestrian_w_transform_27857"> <PrivateAction> <TeleportAction> <Position> <WorldPosition x="-49.532470703125" y="-7.396902561187744" z="0.5"/> </Position> </TeleportAction> </PrivateAction> </Private> <Private entityRef="pedestrian_w_transform_27858"> <PrivateAction> <TeleportAction> <Position> <WorldPosition x="15.193658828735352" y="47.246036529541016" z="0.5"/> </Position> </TeleportAction> </PrivateAction> </Private> <Private entityRef="pedestrian_w_transform_27859"> <PrivateAction> <TeleportAction> <Position> <WorldPosition x="-44.92237091064453" y="-25.88323211669922" 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> ```
could you remove pedestrian actor named pedestrian_w_transform_30420? ``` <?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_30413"> <Pedestrian model="walker.pedestrian.0001" mass="80" name="walker.pedestrian.0001" pedestrianCategory="pedestrian"> <ParameterDeclarations/> <BoundingBox> <Center x="1.5" y="0.0" z="0.9"/> <Dimensions width="2" length="2" height="2"/> </BoundingBox> <Properties> <Property name="type" value="simulation"/> </Properties> </Pedestrian> </ScenarioObject> <ScenarioObject name="pedestrian_w_transform_30415"> <Pedestrian model="walker.pedestrian.0001" mass="80" name="walker.pedestrian.0001" pedestrianCategory="pedestrian"> <ParameterDeclarations/> <BoundingBox> <Center x="1.5" y="0.0" z="0.9"/> <Dimensions width="2" length="2" height="2"/> </BoundingBox> <Properties> <Property name="type" value="simulation"/> </Properties> </Pedestrian> </ScenarioObject> <ScenarioObject name="pedestrian_close_to_standing_30416"> <Pedestrian model="walker.pedestrian.0001" mass="80" name="walker.pedestrian.0001" pedestrianCategory="pedestrian"> <ParameterDeclarations/> <BoundingBox> <Center x="1.5" y="0.0" z="0.9"/> <Dimensions width="2" length="2" height="2"/> </BoundingBox> <Properties> <Property name="type" value="simulation"/> </Properties> </Pedestrian> </ScenarioObject> <ScenarioObject name="pedestrian_w_transform_30417"> <Pedestrian model="walker.pedestrian.0001" mass="80" name="walker.pedestrian.0001" pedestrianCategory="pedestrian"> <ParameterDeclarations/> <BoundingBox> <Center x="1.5" y="0.0" z="0.9"/> <Dimensions width="2" length="2" height="2"/> </BoundingBox> <Properties> <Property name="type" value="simulation"/> </Properties> </Pedestrian> </ScenarioObject> <ScenarioObject name="pedestrian_close_to_standing_30418"> <Pedestrian model="walker.pedestrian.0001" mass="80" name="walker.pedestrian.0001" pedestrianCategory="pedestrian"> <ParameterDeclarations/> <BoundingBox> <Center x="1.5" y="0.0" z="0.9"/> <Dimensions width="2" length="2" height="2"/> </BoundingBox> <Properties> <Property name="type" value="simulation"/> </Properties> </Pedestrian> </ScenarioObject> <ScenarioObject name="pedestrian_close_to_standing_30419"> <Pedestrian model="walker.pedestrian.0001" mass="80" name="walker.pedestrian.0001" pedestrianCategory="pedestrian"> <ParameterDeclarations/> <BoundingBox> <Center x="1.5" y="0.0" z="0.9"/> <Dimensions width="2" length="2" height="2"/> </BoundingBox> <Properties> <Property name="type" value="simulation"/> </Properties> </Pedestrian> </ScenarioObject> <ScenarioObject name="pedestrian_w_transform_30420"> <Pedestrian model="walker.pedestrian.0001" mass="80" name="walker.pedestrian.0001" pedestrianCategory="pedestrian"> <ParameterDeclarations/> <BoundingBox> <Center x="1.5" y="0.0" z="0.9"/> <Dimensions width="2" length="2" height="2"/> </BoundingBox> <Properties> <Property name="type" value="simulation"/> </Properties> </Pedestrian> </ScenarioObject> <ScenarioObject name="pedestrian_w_transform_30421"> <Pedestrian model="walker.pedestrian.0001" mass="80" name="walker.pedestrian.0001" pedestrianCategory="pedestrian"> <ParameterDeclarations/> <BoundingBox> <Center x="1.5" y="0.0" z="0.9"/> <Dimensions width="2" length="2" height="2"/> </BoundingBox> <Properties> <Property name="type" value="simulation"/> </Properties> </Pedestrian> </ScenarioObject> <ScenarioObject name="pedestrian_close_to_adversary_30422"> <Pedestrian model="walker.pedestrian.0001" mass="80" name="walker.pedestrian.0001" pedestrianCategory="pedestrian"> <ParameterDeclarations/> <BoundingBox> <Center x="1.5" y="0.0" z="0.9"/> <Dimensions width="2" length="2" height="2"/> </BoundingBox> <Properties> <Property name="type" value="simulation"/> </Properties> </Pedestrian> </ScenarioObject> <ScenarioObject name="pedestrian_close_to_standing_30423"> <Pedestrian model="walker.pedestrian.0001" mass="80" name="walker.pedestrian.0001" pedestrianCategory="pedestrian"> <ParameterDeclarations/> <BoundingBox> <Center x="1.5" y="0.0" z="0.9"/> <Dimensions width="2" length="2" height="2"/> </BoundingBox> <Properties> <Property name="type" value="simulation"/> </Properties> </Pedestrian> </ScenarioObject> <ScenarioObject name="pedestrian_close_to_adversary_30424"> <Pedestrian model="walker.pedestrian.0001" mass="80" name="walker.pedestrian.0001" pedestrianCategory="pedestrian"> <ParameterDeclarations/> <BoundingBox> <Center x="1.5" y="0.0" z="0.9"/> <Dimensions width="2" length="2" height="2"/> </BoundingBox> <Properties> <Property name="type" value="simulation"/> </Properties> </Pedestrian> </ScenarioObject> <ScenarioObject name="pedestrian_w_transform_30427"> <Pedestrian model="walker.pedestrian.0001" mass="80" name="walker.pedestrian.0001" pedestrianCategory="pedestrian"> <ParameterDeclarations/> <BoundingBox> <Center x="1.5" y="0.0" z="0.9"/> <Dimensions width="2" length="2" height="2"/> </BoundingBox> <Properties> <Property name="type" value="simulation"/> </Properties> </Pedestrian> </ScenarioObject> <ScenarioObject name="pedestrian_w_transform_30429"> <Pedestrian model="walker.pedestrian.0001" mass="80" name="walker.pedestrian.0001" pedestrianCategory="pedestrian"> <ParameterDeclarations/> <BoundingBox> <Center x="1.5" y="0.0" z="0.9"/> <Dimensions width="2" length="2" height="2"/> </BoundingBox> <Properties> <Property name="type" value="simulation"/> </Properties> </Pedestrian> </ScenarioObject> <ScenarioObject name="pedestrian_w_transform_30430"> <Pedestrian model="walker.pedestrian.0001" mass="80" name="walker.pedestrian.0001" pedestrianCategory="pedestrian"> <ParameterDeclarations/> <BoundingBox> <Center x="1.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_30413"> <PrivateAction> <TeleportAction> <Position> <WorldPosition x="-24.888315200805664" y="48.51068878173828" z="0.5"/> </Position> </TeleportAction> </PrivateAction> </Private> <Private entityRef="pedestrian_w_transform_30415"> <PrivateAction> <TeleportAction> <Position> <WorldPosition x="44.18668746948242" y="28.405824661254883" z="0.5"/> </Position> </TeleportAction> </PrivateAction> </Private> <Private entityRef="pedestrian_close_to_standing_30416"> <PrivateAction> <TeleportAction> <Position> <WorldPosition x="-9.047135353088379" y="22.96844482421875" z="0.0030539322178810835"/> </Position> </TeleportAction> </PrivateAction> </Private> <Private entityRef="pedestrian_w_transform_30417"> <PrivateAction> <TeleportAction> <Position> <WorldPosition x="-88.3600082397461" y="11.70997428894043" z="0.5"/> </Position> </TeleportAction> </PrivateAction> </Private> <Private entityRef="pedestrian_close_to_standing_30418"> <PrivateAction> <TeleportAction> <Position> <WorldPosition x="1.0130099058151245" y="34.750335693359375" z="0.0030307387933135033"/> </Position> </TeleportAction> </PrivateAction> </Private> <Private entityRef="pedestrian_close_to_standing_30419"> <PrivateAction> <TeleportAction> <Position> <WorldPosition x="-12.742903709411621" y="27.52557373046875" z="0.0030334473121911287"/> </Position> </TeleportAction> </PrivateAction> </Private> <Private entityRef="pedestrian_w_transform_30420"> <PrivateAction> <TeleportAction> <Position> <WorldPosition x="79.87332916259766" y="-70.94169616699219" z="0.5"/> </Position> </TeleportAction> </PrivateAction> </Private> <Private entityRef="pedestrian_w_transform_30421"> <PrivateAction> <TeleportAction> <Position> <WorldPosition x="-86.51055908203125" y="-5.520402908325195" z="0.5"/> </Position> </TeleportAction> </PrivateAction> </Private> <Private entityRef="pedestrian_close_to_adversary_30422"> <PrivateAction> <TeleportAction> <Position> <WorldPosition x="-19.072587966918945" y="-74.11775970458984" z="0.03374282643198967"/> </Position> </TeleportAction> </PrivateAction> </Private> <Private entityRef="pedestrian_close_to_standing_30423"> <PrivateAction> <TeleportAction> <Position> <WorldPosition x="-12.862387657165527" y="27.968944549560547" z="0.003049392718821764"/> </Position> </TeleportAction> </PrivateAction> </Private> <Private entityRef="pedestrian_close_to_adversary_30424"> <PrivateAction> <TeleportAction> <Position> <WorldPosition x="-9.241475105285645" y="-78.83899688720703" z="0.033778607845306396"/> </Position> </TeleportAction> </PrivateAction> </Private> <Private entityRef="pedestrian_w_transform_30427"> <PrivateAction> <TeleportAction> <Position> <WorldPosition x="64.35090637207031" y="-69.02168273925781" z="0.5"/> </Position> </TeleportAction> </PrivateAction> </Private> <Private entityRef="pedestrian_w_transform_30429"> <PrivateAction> <TeleportAction> <Position> <WorldPosition x="37.751434326171875" y="-42.312068939208984" z="0.5"/> </Position> </TeleportAction> </PrivateAction> </Private> <Private entityRef="pedestrian_w_transform_30430"> <PrivateAction> <TeleportAction> <Position> <WorldPosition x="-63.889312744140625" y="-82.66226959228516" 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_30413"> <Pedestrian model="walker.pedestrian.0001" mass="80" name="walker.pedestrian.0001" pedestrianCategory="pedestrian"> <ParameterDeclarations/> <BoundingBox> <Center x="1.5" y="0.0" z="0.9"/> <Dimensions width="2" length="2" height="2"/> </BoundingBox> <Properties> <Property name="type" value="simulation"/> </Properties> </Pedestrian> </ScenarioObject> <ScenarioObject name="pedestrian_w_transform_30415"> <Pedestrian model="walker.pedestrian.0001" mass="80" name="walker.pedestrian.0001" pedestrianCategory="pedestrian"> <ParameterDeclarations/> <BoundingBox> <Center x="1.5" y="0.0" z="0.9"/> <Dimensions width="2" length="2" height="2"/> </BoundingBox> <Properties> <Property name="type" value="simulation"/> </Properties> </Pedestrian> </ScenarioObject> <ScenarioObject name="pedestrian_close_to_standing_30416"> <Pedestrian model="walker.pedestrian.0001" mass="80" name="walker.pedestrian.0001" pedestrianCategory="pedestrian"> <ParameterDeclarations/> <BoundingBox> <Center x="1.5" y="0.0" z="0.9"/> <Dimensions width="2" length="2" height="2"/> </BoundingBox> <Properties> <Property name="type" value="simulation"/> </Properties> </Pedestrian> </ScenarioObject> <ScenarioObject name="pedestrian_w_transform_30417"> <Pedestrian model="walker.pedestrian.0001" mass="80" name="walker.pedestrian.0001" pedestrianCategory="pedestrian"> <ParameterDeclarations/> <BoundingBox> <Center x="1.5" y="0.0" z="0.9"/> <Dimensions width="2" length="2" height="2"/> </BoundingBox> <Properties> <Property name="type" value="simulation"/> </Properties> </Pedestrian> </ScenarioObject> <ScenarioObject name="pedestrian_close_to_standing_30418"> <Pedestrian model="walker.pedestrian.0001" mass="80" name="walker.pedestrian.0001" pedestrianCategory="pedestrian"> <ParameterDeclarations/> <BoundingBox> <Center x="1.5" y="0.0" z="0.9"/> <Dimensions width="2" length="2" height="2"/> </BoundingBox> <Properties> <Property name="type" value="simulation"/> </Properties> </Pedestrian> </ScenarioObject> <ScenarioObject name="pedestrian_close_to_standing_30419"> <Pedestrian model="walker.pedestrian.0001" mass="80" name="walker.pedestrian.0001" pedestrianCategory="pedestrian"> <ParameterDeclarations/> <BoundingBox> <Center x="1.5" y="0.0" z="0.9"/> <Dimensions width="2" length="2" height="2"/> </BoundingBox> <Properties> <Property name="type" value="simulation"/> </Properties> </Pedestrian> </ScenarioObject> <ScenarioObject name="pedestrian_w_transform_30421"> <Pedestrian model="walker.pedestrian.0001" mass="80" name="walker.pedestrian.0001" pedestrianCategory="pedestrian"> <ParameterDeclarations/> <BoundingBox> <Center x="1.5" y="0.0" z="0.9"/> <Dimensions width="2" length="2" height="2"/> </BoundingBox> <Properties> <Property name="type" value="simulation"/> </Properties> </Pedestrian> </ScenarioObject> <ScenarioObject name="pedestrian_close_to_adversary_30422"> <Pedestrian model="walker.pedestrian.0001" mass="80" name="walker.pedestrian.0001" pedestrianCategory="pedestrian"> <ParameterDeclarations/> <BoundingBox> <Center x="1.5" y="0.0" z="0.9"/> <Dimensions width="2" length="2" height="2"/> </BoundingBox> <Properties> <Property name="type" value="simulation"/> </Properties> </Pedestrian> </ScenarioObject> <ScenarioObject name="pedestrian_close_to_standing_30423"> <Pedestrian model="walker.pedestrian.0001" mass="80" name="walker.pedestrian.0001" pedestrianCategory="pedestrian"> <ParameterDeclarations/> <BoundingBox> <Center x="1.5" y="0.0" z="0.9"/> <Dimensions width="2" length="2" height="2"/> </BoundingBox> <Properties> <Property name="type" value="simulation"/> </Properties> </Pedestrian> </ScenarioObject> <ScenarioObject name="pedestrian_close_to_adversary_30424"> <Pedestrian model="walker.pedestrian.0001" mass="80" name="walker.pedestrian.0001" pedestrianCategory="pedestrian"> <ParameterDeclarations/> <BoundingBox> <Center x="1.5" y="0.0" z="0.9"/> <Dimensions width="2" length="2" height="2"/> </BoundingBox> <Properties> <Property name="type" value="simulation"/> </Properties> </Pedestrian> </ScenarioObject> <ScenarioObject name="pedestrian_w_transform_30427"> <Pedestrian model="walker.pedestrian.0001" mass="80" name="walker.pedestrian.0001" pedestrianCategory="pedestrian"> <ParameterDeclarations/> <BoundingBox> <Center x="1.5" y="0.0" z="0.9"/> <Dimensions width="2" length="2" height="2"/> </BoundingBox> <Properties> <Property name="type" value="simulation"/> </Properties> </Pedestrian> </ScenarioObject> <ScenarioObject name="pedestrian_w_transform_30429"> <Pedestrian model="walker.pedestrian.0001" mass="80" name="walker.pedestrian.0001" pedestrianCategory="pedestrian"> <ParameterDeclarations/> <BoundingBox> <Center x="1.5" y="0.0" z="0.9"/> <Dimensions width="2" length="2" height="2"/> </BoundingBox> <Properties> <Property name="type" value="simulation"/> </Properties> </Pedestrian> </ScenarioObject> <ScenarioObject name="pedestrian_w_transform_30430"> <Pedestrian model="walker.pedestrian.0001" mass="80" name="walker.pedestrian.0001" pedestrianCategory="pedestrian"> <ParameterDeclarations/> <BoundingBox> <Center x="1.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_30413"> <PrivateAction> <TeleportAction> <Position> <WorldPosition x="-24.888315200805664" y="48.51068878173828" z="0.5"/> </Position> </TeleportAction> </PrivateAction> </Private> <Private entityRef="pedestrian_w_transform_30415"> <PrivateAction> <TeleportAction> <Position> <WorldPosition x="44.18668746948242" y="28.405824661254883" z="0.5"/> </Position> </TeleportAction> </PrivateAction> </Private> <Private entityRef="pedestrian_close_to_standing_30416"> <PrivateAction> <TeleportAction> <Position> <WorldPosition x="-9.047135353088379" y="22.96844482421875" z="0.0030539322178810835"/> </Position> </TeleportAction> </PrivateAction> </Private> <Private entityRef="pedestrian_w_transform_30417"> <PrivateAction> <TeleportAction> <Position> <WorldPosition x="-88.3600082397461" y="11.70997428894043" z="0.5"/> </Position> </TeleportAction> </PrivateAction> </Private> <Private entityRef="pedestrian_close_to_standing_30418"> <PrivateAction> <TeleportAction> <Position> <WorldPosition x="1.0130099058151245" y="34.750335693359375" z="0.0030307387933135033"/> </Position> </TeleportAction> </PrivateAction> </Private> <Private entityRef="pedestrian_close_to_standing_30419"> <PrivateAction> <TeleportAction> <Position> <WorldPosition x="-12.742903709411621" y="27.52557373046875" z="0.0030334473121911287"/> </Position> </TeleportAction> </PrivateAction> </Private> <Private entityRef="pedestrian_w_transform_30421"> <PrivateAction> <TeleportAction> <Position> <WorldPosition x="-86.51055908203125" y="-5.520402908325195" z="0.5"/> </Position> </TeleportAction> </PrivateAction> </Private> <Private entityRef="pedestrian_close_to_adversary_30422"> <PrivateAction> <TeleportAction> <Position> <WorldPosition x="-19.072587966918945" y="-74.11775970458984" z="0.03374282643198967"/> </Position> </TeleportAction> </PrivateAction> </Private> <Private entityRef="pedestrian_close_to_standing_30423"> <PrivateAction> <TeleportAction> <Position> <WorldPosition x="-12.862387657165527" y="27.968944549560547" z="0.003049392718821764"/> </Position> </TeleportAction> </PrivateAction> </Private> <Private entityRef="pedestrian_close_to_adversary_30424"> <PrivateAction> <TeleportAction> <Position> <WorldPosition x="-9.241475105285645" y="-78.83899688720703" z="0.033778607845306396"/> </Position> </TeleportAction> </PrivateAction> </Private> <Private entityRef="pedestrian_w_transform_30427"> <PrivateAction> <TeleportAction> <Position> <WorldPosition x="64.35090637207031" y="-69.02168273925781" z="0.5"/> </Position> </TeleportAction> </PrivateAction> </Private> <Private entityRef="pedestrian_w_transform_30429"> <PrivateAction> <TeleportAction> <Position> <WorldPosition x="37.751434326171875" y="-42.312068939208984" z="0.5"/> </Position> </TeleportAction> </PrivateAction> </Private> <Private entityRef="pedestrian_w_transform_30430"> <PrivateAction> <TeleportAction> <Position> <WorldPosition x="-63.889312744140625" y="-82.66226959228516" 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> </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_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> </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_14424"> <PrivateAction> <TeleportAction> <Position> <WorldPosition x="-16.69550132751465" y="-76.26236724853516" z="0.033805809915065765"/> </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 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_24447"> <Pedestrian model="walker.pedestrian.0001" mass="80" name="walker.pedestrian.0001" pedestrianCategory="pedestrian"> <ParameterDeclarations/> <BoundingBox> <Center x="1.5" y="0.0" z="0.9"/> <Dimensions width="2" length="2" height="2"/> </BoundingBox> <Properties> <Property name="type" value="simulation"/> </Properties> </Pedestrian> </ScenarioObject> <ScenarioObject name="pedestrian_close_to_hero_24448"> <Pedestrian model="walker.pedestrian.0001" mass="80" name="walker.pedestrian.0001" pedestrianCategory="pedestrian"> <ParameterDeclarations/> <BoundingBox> <Center x="1.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_24447"> <PrivateAction> <TeleportAction> <Position> <WorldPosition x="-11.914443016052246" y="-144.66796875" z="0.0019445419311523438"/> </Position> </TeleportAction> </PrivateAction> </Private> <Private entityRef="pedestrian_close_to_hero_24448"> <PrivateAction> <TeleportAction> <Position> <WorldPosition x="-6.772669792175293" y="-155.58612060546875" z="0.0019445419311523438"/> </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_24447"> <Pedestrian model="walker.pedestrian.0001" mass="80" name="walker.pedestrian.0001" pedestrianCategory="pedestrian"> <ParameterDeclarations/> <BoundingBox> <Center x="1.5" y="0.0" z="0.9"/> <Dimensions width="2" length="2" height="2"/> </BoundingBox> <Properties> <Property name="type" value="simulation"/> </Properties> </Pedestrian> </ScenarioObject> <ScenarioObject name="pedestrian_close_to_hero_24448"> <Pedestrian model="walker.pedestrian.0001" mass="80" name="walker.pedestrian.0001" pedestrianCategory="pedestrian"> <ParameterDeclarations/> <BoundingBox> <Center x="1.5" y="0.0" z="0.9"/> <Dimensions width="2" length="2" height="2"/> </BoundingBox> <Properties> <Property name="type" value="simulation"/> </Properties> </Pedestrian> </ScenarioObject> <ScenarioObject name="pedestrian_close_to_hero_24449"> <Pedestrian model="walker.pedestrian.0001" mass="80" name="walker.pedestrian.0001" pedestrianCategory="pedestrian"> <ParameterDeclarations/> <BoundingBox> <Center x="1.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_24447"> <PrivateAction> <TeleportAction> <Position> <WorldPosition x="-11.914443016052246" y="-144.66796875" z="0.0019445419311523438"/> </Position> </TeleportAction> </PrivateAction> </Private> <Private entityRef="pedestrian_close_to_hero_24448"> <PrivateAction> <TeleportAction> <Position> <WorldPosition x="-6.772669792175293" y="-155.58612060546875" z="0.0019445419311523438"/> </Position> </TeleportAction> </PrivateAction> </Private> <Private entityRef="pedestrian_close_to_hero_24449"> <PrivateAction> <TeleportAction> <Position> <WorldPosition x="-22.58616065979004" y="-169.9337158203125" z="0.0019445419311523438"/> </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 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_28377"> <Pedestrian model="walker.pedestrian.0001" mass="80" name="walker.pedestrian.0001" pedestrianCategory="pedestrian"> <ParameterDeclarations/> <BoundingBox> <Center x="1.5" y="0.0" z="0.9"/> <Dimensions width="2" length="2" height="2"/> </BoundingBox> <Properties> <Property name="type" value="simulation"/> </Properties> </Pedestrian> </ScenarioObject> <ScenarioObject name="pedestrian_w_transform_28378"> <Pedestrian model="walker.pedestrian.0001" mass="80" name="walker.pedestrian.0001" pedestrianCategory="pedestrian"> <ParameterDeclarations/> <BoundingBox> <Center x="1.5" y="0.0" z="0.9"/> <Dimensions width="2" length="2" height="2"/> </BoundingBox> <Properties> <Property name="type" value="simulation"/> </Properties> </Pedestrian> </ScenarioObject> <ScenarioObject name="pedestrian_close_to_standing_28379"> <Pedestrian model="walker.pedestrian.0001" mass="80" name="walker.pedestrian.0001" pedestrianCategory="pedestrian"> <ParameterDeclarations/> <BoundingBox> <Center x="1.5" y="0.0" z="0.9"/> <Dimensions width="2" length="2" height="2"/> </BoundingBox> <Properties> <Property name="type" value="simulation"/> </Properties> </Pedestrian> </ScenarioObject> <ScenarioObject name="pedestrian_close_to_standing_28380"> <Pedestrian model="walker.pedestrian.0001" mass="80" name="walker.pedestrian.0001" pedestrianCategory="pedestrian"> <ParameterDeclarations/> <BoundingBox> <Center x="1.5" y="0.0" z="0.9"/> <Dimensions width="2" length="2" height="2"/> </BoundingBox> <Properties> <Property name="type" value="simulation"/> </Properties> </Pedestrian> </ScenarioObject> <ScenarioObject name="pedestrian_close_to_standing_28381"> <Pedestrian model="walker.pedestrian.0001" mass="80" name="walker.pedestrian.0001" pedestrianCategory="pedestrian"> <ParameterDeclarations/> <BoundingBox> <Center x="1.5" y="0.0" z="0.9"/> <Dimensions width="2" length="2" height="2"/> </BoundingBox> <Properties> <Property name="type" value="simulation"/> </Properties> </Pedestrian> </ScenarioObject> <ScenarioObject name="pedestrian_close_to_hero_28382"> <Pedestrian model="walker.pedestrian.0001" mass="80" name="walker.pedestrian.0001" pedestrianCategory="pedestrian"> <ParameterDeclarations/> <BoundingBox> <Center x="1.5" y="0.0" z="0.9"/> <Dimensions width="2" length="2" height="2"/> </BoundingBox> <Properties> <Property name="type" value="simulation"/> </Properties> </Pedestrian> </ScenarioObject> <ScenarioObject name="pedestrian_close_to_adversary_28383"> <Pedestrian model="walker.pedestrian.0001" mass="80" name="walker.pedestrian.0001" pedestrianCategory="pedestrian"> <ParameterDeclarations/> <BoundingBox> <Center x="1.5" y="0.0" z="0.9"/> <Dimensions width="2" length="2" height="2"/> </BoundingBox> <Properties> <Property name="type" value="simulation"/> </Properties> </Pedestrian> </ScenarioObject> <ScenarioObject name="pedestrian_close_to_standing_28385"> <Pedestrian model="walker.pedestrian.0001" mass="80" name="walker.pedestrian.0001" pedestrianCategory="pedestrian"> <ParameterDeclarations/> <BoundingBox> <Center x="1.5" y="0.0" z="0.9"/> <Dimensions width="2" length="2" height="2"/> </BoundingBox> <Properties> <Property name="type" value="simulation"/> </Properties> </Pedestrian> </ScenarioObject> <ScenarioObject name="pedestrian_close_to_standing_28386"> <Pedestrian model="walker.pedestrian.0001" mass="80" name="walker.pedestrian.0001" pedestrianCategory="pedestrian"> <ParameterDeclarations/> <BoundingBox> <Center x="1.5" y="0.0" z="0.9"/> <Dimensions width="2" length="2" height="2"/> </BoundingBox> <Properties> <Property name="type" value="simulation"/> </Properties> </Pedestrian> </ScenarioObject> <ScenarioObject name="pedestrian_close_to_adversary_28388"> <Pedestrian model="walker.pedestrian.0001" mass="80" name="walker.pedestrian.0001" pedestrianCategory="pedestrian"> <ParameterDeclarations/> <BoundingBox> <Center x="1.5" y="0.0" z="0.9"/> <Dimensions width="2" length="2" height="2"/> </BoundingBox> <Properties> <Property name="type" value="simulation"/> </Properties> </Pedestrian> </ScenarioObject> <ScenarioObject name="pedestrian_w_transform_28390"> <Pedestrian model="walker.pedestrian.0001" mass="80" name="walker.pedestrian.0001" pedestrianCategory="pedestrian"> <ParameterDeclarations/> <BoundingBox> <Center x="1.5" y="0.0" z="0.9"/> <Dimensions width="2" length="2" height="2"/> </BoundingBox> <Properties> <Property name="type" value="simulation"/> </Properties> </Pedestrian> </ScenarioObject> <ScenarioObject name="pedestrian_w_transform_28391"> <Pedestrian model="walker.pedestrian.0001" mass="80" name="walker.pedestrian.0001" pedestrianCategory="pedestrian"> <ParameterDeclarations/> <BoundingBox> <Center x="1.5" y="0.0" z="0.9"/> <Dimensions width="2" length="2" height="2"/> </BoundingBox> <Properties> <Property name="type" value="simulation"/> </Properties> </Pedestrian> </ScenarioObject> <ScenarioObject name="pedestrian_close_to_hero_28392"> <Pedestrian model="walker.pedestrian.0001" mass="80" name="walker.pedestrian.0001" pedestrianCategory="pedestrian"> <ParameterDeclarations/> <BoundingBox> <Center x="1.5" y="0.0" z="0.9"/> <Dimensions width="2" length="2" height="2"/> </BoundingBox> <Properties> <Property name="type" value="simulation"/> </Properties> </Pedestrian> </ScenarioObject> <ScenarioObject name="pedestrian_close_to_hero_28395"> <Pedestrian model="walker.pedestrian.0001" mass="80" name="walker.pedestrian.0001" pedestrianCategory="pedestrian"> <ParameterDeclarations/> <BoundingBox> <Center x="1.5" y="0.0" z="0.9"/> <Dimensions width="2" length="2" height="2"/> </BoundingBox> <Properties> <Property name="type" value="simulation"/> </Properties> </Pedestrian> </ScenarioObject> <ScenarioObject name="pedestrian_close_to_hero_28396"> <Pedestrian model="walker.pedestrian.0001" mass="80" name="walker.pedestrian.0001" pedestrianCategory="pedestrian"> <ParameterDeclarations/> <BoundingBox> <Center x="1.5" y="0.0" z="0.9"/> <Dimensions width="2" length="2" height="2"/> </BoundingBox> <Properties> <Property name="type" value="simulation"/> </Properties> </Pedestrian> </ScenarioObject> <ScenarioObject name="pedestrian_close_to_hero_28397"> <Pedestrian model="walker.pedestrian.0001" mass="80" name="walker.pedestrian.0001" pedestrianCategory="pedestrian"> <ParameterDeclarations/> <BoundingBox> <Center x="1.5" y="0.0" z="0.9"/> <Dimensions width="2" length="2" height="2"/> </BoundingBox> <Properties> <Property name="type" value="simulation"/> </Properties> </Pedestrian> </ScenarioObject> <ScenarioObject name="pedestrian_close_to_standing_28398"> <Pedestrian model="walker.pedestrian.0001" mass="80" name="walker.pedestrian.0001" pedestrianCategory="pedestrian"> <ParameterDeclarations/> <BoundingBox> <Center x="1.5" y="0.0" z="0.9"/> <Dimensions width="2" length="2" height="2"/> </BoundingBox> <Properties> <Property name="type" value="simulation"/> </Properties> </Pedestrian> </ScenarioObject> <ScenarioObject name="pedestrian_w_transform_28399"> <Pedestrian model="walker.pedestrian.0001" mass="80" name="walker.pedestrian.0001" pedestrianCategory="pedestrian"> <ParameterDeclarations/> <BoundingBox> <Center x="1.5" y="0.0" z="0.9"/> <Dimensions width="2" length="2" height="2"/> </BoundingBox> <Properties> <Property name="type" value="simulation"/> </Properties> </Pedestrian> </ScenarioObject> <ScenarioObject name="pedestrian_w_transform_28400"> <Pedestrian model="walker.pedestrian.0001" mass="80" name="walker.pedestrian.0001" pedestrianCategory="pedestrian"> <ParameterDeclarations/> <BoundingBox> <Center x="1.5" y="0.0" z="0.9"/> <Dimensions width="2" length="2" height="2"/> </BoundingBox> <Properties> <Property name="type" value="simulation"/> </Properties> </Pedestrian> </ScenarioObject> <ScenarioObject name="pedestrian_close_to_standing_28401"> <Pedestrian model="walker.pedestrian.0001" mass="80" name="walker.pedestrian.0001" pedestrianCategory="pedestrian"> <ParameterDeclarations/> <BoundingBox> <Center x="1.5" y="0.0" z="0.9"/> <Dimensions width="2" length="2" height="2"/> </BoundingBox> <Properties> <Property name="type" value="simulation"/> </Properties> </Pedestrian> </ScenarioObject> <ScenarioObject name="pedestrian_close_to_standing_28402"> <Pedestrian model="walker.pedestrian.0001" mass="80" name="walker.pedestrian.0001" pedestrianCategory="pedestrian"> <ParameterDeclarations/> <BoundingBox> <Center x="1.5" y="0.0" z="0.9"/> <Dimensions width="2" length="2" height="2"/> </BoundingBox> <Properties> <Property name="type" value="simulation"/> </Properties> </Pedestrian> </ScenarioObject> <ScenarioObject name="pedestrian_close_to_hero_28403"> <Pedestrian model="walker.pedestrian.0001" mass="80" name="walker.pedestrian.0001" pedestrianCategory="pedestrian"> <ParameterDeclarations/> <BoundingBox> <Center x="1.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_28377"> <PrivateAction> <TeleportAction> <Position> <WorldPosition x="-13.326518058776855" y="20.06621742248535" z="0.003068809397518635"/> </Position> </TeleportAction> </PrivateAction> </Private> <Private entityRef="pedestrian_w_transform_28378"> <PrivateAction> <TeleportAction> <Position> <WorldPosition x="-55.323978424072266" y="-11.154684066772461" z="0.5"/> </Position> </TeleportAction> </PrivateAction> </Private> <Private entityRef="pedestrian_close_to_standing_28379"> <PrivateAction> <TeleportAction> <Position> <WorldPosition x="-10.348930358886719" y="36.545894622802734" z="0.003088989295065403"/> </Position> </TeleportAction> </PrivateAction> </Private> <Private entityRef="pedestrian_close_to_standing_28380"> <PrivateAction> <TeleportAction> <Position> <WorldPosition x="-5.489126205444336" y="27.2271785736084" z="0.0031056595034897327"/> </Position> </TeleportAction> </PrivateAction> </Private> <Private entityRef="pedestrian_close_to_standing_28381"> <PrivateAction> <TeleportAction> <Position> <WorldPosition x="5.557333946228027" y="36.63827133178711" z="0.0031111526768654585"/> </Position> </TeleportAction> </PrivateAction> </Private> <Private entityRef="pedestrian_close_to_hero_28382"> <PrivateAction> <TeleportAction> <Position> <WorldPosition x="-9.005905151367188" y="-162.66017150878906" z="0.0015143966302275658"/> </Position> </TeleportAction> </PrivateAction> </Private> <Private entityRef="pedestrian_close_to_adversary_28383"> <PrivateAction> <TeleportAction> <Position> <WorldPosition x="-19.131349563598633" y="-69.55276489257812" z="0.033823318779468536"/> </Position> </TeleportAction> </PrivateAction> </Private> <Private entityRef="pedestrian_close_to_standing_28385"> <PrivateAction> <TeleportAction> <Position> <WorldPosition x="-4.367246150970459" y="23.249006271362305" z="0.0030155181884765625"/> </Position> </TeleportAction> </PrivateAction> </Private> <Private entityRef="pedestrian_close_to_standing_28386"> <PrivateAction> <TeleportAction> <Position> <WorldPosition x="-1.2764391899108887" y="27.43375015258789" z="0.003028068458661437"/> </Position> </TeleportAction> </PrivateAction> </Private> <Private entityRef="pedestrian_close_to_adversary_28388"> <PrivateAction> <TeleportAction> <Position> <WorldPosition x="-8.389223098754883" y="-72.521728515625" z="0.03381786122918129"/> </Position> </TeleportAction> </PrivateAction> </Private> <Private entityRef="pedestrian_w_transform_28390"> <PrivateAction> <TeleportAction> <Position> <WorldPosition x="47.45212936401367" y="-6.423636436462402" z="0.5"/> </Position> </TeleportAction> </PrivateAction> </Private> <Private entityRef="pedestrian_w_transform_28391"> <PrivateAction> <TeleportAction> <Position> <WorldPosition x="-14.53200626373291" y="47.59656524658203" z="0.5"/> </Position> </TeleportAction> </PrivateAction> </Private> <Private entityRef="pedestrian_close_to_hero_28392"> <PrivateAction> <TeleportAction> <Position> <WorldPosition x="-2.140286922454834" y="-152.9744415283203" z="0.0015143966302275658"/> </Position> </TeleportAction> </PrivateAction> </Private> <Private entityRef="pedestrian_close_to_hero_28395"> <PrivateAction> <TeleportAction> <Position> <WorldPosition x="-22.06345558166504" y="-160.34080505371094" z="0.0015143966302275658"/> </Position> </TeleportAction> </PrivateAction> </Private> <Private entityRef="pedestrian_close_to_hero_28396"> <PrivateAction> <TeleportAction> <Position> <WorldPosition x="-70.42284393310547" y="-127.81719207763672" z="0.0015143966302275658"/> </Position> </TeleportAction> </PrivateAction> </Private> <Private entityRef="pedestrian_close_to_hero_28397"> <PrivateAction> <TeleportAction> <Position> <WorldPosition x="-10.044997215270996" y="-157.1908416748047" z="0.0015143966302275658"/> </Position> </TeleportAction> </PrivateAction> </Private> <Private entityRef="pedestrian_close_to_standing_28398"> <PrivateAction> <TeleportAction> <Position> <WorldPosition x="-12.96247386932373" y="26.669565200805664" z="0.003066101111471653"/> </Position> </TeleportAction> </PrivateAction> </Private> <Private entityRef="pedestrian_w_transform_28399"> <PrivateAction> <TeleportAction> <Position> <WorldPosition x="38.71967697143555" y="-90.7490463256836" z="0.5"/> </Position> </TeleportAction> </PrivateAction> </Private> <Private entityRef="pedestrian_w_transform_28400"> <PrivateAction> <TeleportAction> <Position> <WorldPosition x="60.73650360107422" y="62.414390563964844" z="0.5"/> </Position> </TeleportAction> </PrivateAction> </Private> <Private entityRef="pedestrian_close_to_standing_28401"> <PrivateAction> <TeleportAction> <Position> <WorldPosition x="1.2757925987243652" y="33.09895324707031" z="0.003047370817512274"/> </Position> </TeleportAction> </PrivateAction> </Private> <Private entityRef="pedestrian_close_to_standing_28402"> <PrivateAction> <TeleportAction> <Position> <WorldPosition x="-14.96318244934082" y="35.7186279296875" z="0.0030308912973850965"/> </Position> </TeleportAction> </PrivateAction> </Private> <Private entityRef="pedestrian_close_to_hero_28403"> <PrivateAction> <TeleportAction> <Position> <WorldPosition x="-11.3539400100708" y="-150.3249969482422" z="0.0015143966302275658"/> </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_28377"> <Pedestrian model="walker.pedestrian.0001" mass="80" name="walker.pedestrian.0001" pedestrianCategory="pedestrian"> <ParameterDeclarations/> <BoundingBox> <Center x="1.5" y="0.0" z="0.9"/> <Dimensions width="2" length="2" height="2"/> </BoundingBox> <Properties> <Property name="type" value="simulation"/> </Properties> </Pedestrian> </ScenarioObject> <ScenarioObject name="pedestrian_w_transform_28378"> <Pedestrian model="walker.pedestrian.0001" mass="80" name="walker.pedestrian.0001" pedestrianCategory="pedestrian"> <ParameterDeclarations/> <BoundingBox> <Center x="1.5" y="0.0" z="0.9"/> <Dimensions width="2" length="2" height="2"/> </BoundingBox> <Properties> <Property name="type" value="simulation"/> </Properties> </Pedestrian> </ScenarioObject> <ScenarioObject name="pedestrian_close_to_standing_28379"> <Pedestrian model="walker.pedestrian.0001" mass="80" name="walker.pedestrian.0001" pedestrianCategory="pedestrian"> <ParameterDeclarations/> <BoundingBox> <Center x="1.5" y="0.0" z="0.9"/> <Dimensions width="2" length="2" height="2"/> </BoundingBox> <Properties> <Property name="type" value="simulation"/> </Properties> </Pedestrian> </ScenarioObject> <ScenarioObject name="pedestrian_close_to_standing_28380"> <Pedestrian model="walker.pedestrian.0001" mass="80" name="walker.pedestrian.0001" pedestrianCategory="pedestrian"> <ParameterDeclarations/> <BoundingBox> <Center x="1.5" y="0.0" z="0.9"/> <Dimensions width="2" length="2" height="2"/> </BoundingBox> <Properties> <Property name="type" value="simulation"/> </Properties> </Pedestrian> </ScenarioObject> <ScenarioObject name="pedestrian_close_to_standing_28381"> <Pedestrian model="walker.pedestrian.0001" mass="80" name="walker.pedestrian.0001" pedestrianCategory="pedestrian"> <ParameterDeclarations/> <BoundingBox> <Center x="1.5" y="0.0" z="0.9"/> <Dimensions width="2" length="2" height="2"/> </BoundingBox> <Properties> <Property name="type" value="simulation"/> </Properties> </Pedestrian> </ScenarioObject> <ScenarioObject name="pedestrian_close_to_hero_28382"> <Pedestrian model="walker.pedestrian.0001" mass="80" name="walker.pedestrian.0001" pedestrianCategory="pedestrian"> <ParameterDeclarations/> <BoundingBox> <Center x="1.5" y="0.0" z="0.9"/> <Dimensions width="2" length="2" height="2"/> </BoundingBox> <Properties> <Property name="type" value="simulation"/> </Properties> </Pedestrian> </ScenarioObject> <ScenarioObject name="pedestrian_close_to_adversary_28383"> <Pedestrian model="walker.pedestrian.0001" mass="80" name="walker.pedestrian.0001" pedestrianCategory="pedestrian"> <ParameterDeclarations/> <BoundingBox> <Center x="1.5" y="0.0" z="0.9"/> <Dimensions width="2" length="2" height="2"/> </BoundingBox> <Properties> <Property name="type" value="simulation"/> </Properties> </Pedestrian> </ScenarioObject> <ScenarioObject name="pedestrian_close_to_standing_28385"> <Pedestrian model="walker.pedestrian.0001" mass="80" name="walker.pedestrian.0001" pedestrianCategory="pedestrian"> <ParameterDeclarations/> <BoundingBox> <Center x="1.5" y="0.0" z="0.9"/> <Dimensions width="2" length="2" height="2"/> </BoundingBox> <Properties> <Property name="type" value="simulation"/> </Properties> </Pedestrian> </ScenarioObject> <ScenarioObject name="pedestrian_close_to_standing_28386"> <Pedestrian model="walker.pedestrian.0001" mass="80" name="walker.pedestrian.0001" pedestrianCategory="pedestrian"> <ParameterDeclarations/> <BoundingBox> <Center x="1.5" y="0.0" z="0.9"/> <Dimensions width="2" length="2" height="2"/> </BoundingBox> <Properties> <Property name="type" value="simulation"/> </Properties> </Pedestrian> </ScenarioObject> <ScenarioObject name="pedestrian_close_to_adversary_28388"> <Pedestrian model="walker.pedestrian.0001" mass="80" name="walker.pedestrian.0001" pedestrianCategory="pedestrian"> <ParameterDeclarations/> <BoundingBox> <Center x="1.5" y="0.0" z="0.9"/> <Dimensions width="2" length="2" height="2"/> </BoundingBox> <Properties> <Property name="type" value="simulation"/> </Properties> </Pedestrian> </ScenarioObject> <ScenarioObject name="pedestrian_w_transform_28390"> <Pedestrian model="walker.pedestrian.0001" mass="80" name="walker.pedestrian.0001" pedestrianCategory="pedestrian"> <ParameterDeclarations/> <BoundingBox> <Center x="1.5" y="0.0" z="0.9"/> <Dimensions width="2" length="2" height="2"/> </BoundingBox> <Properties> <Property name="type" value="simulation"/> </Properties> </Pedestrian> </ScenarioObject> <ScenarioObject name="pedestrian_w_transform_28391"> <Pedestrian model="walker.pedestrian.0001" mass="80" name="walker.pedestrian.0001" pedestrianCategory="pedestrian"> <ParameterDeclarations/> <BoundingBox> <Center x="1.5" y="0.0" z="0.9"/> <Dimensions width="2" length="2" height="2"/> </BoundingBox> <Properties> <Property name="type" value="simulation"/> </Properties> </Pedestrian> </ScenarioObject> <ScenarioObject name="pedestrian_close_to_hero_28392"> <Pedestrian model="walker.pedestrian.0001" mass="80" name="walker.pedestrian.0001" pedestrianCategory="pedestrian"> <ParameterDeclarations/> <BoundingBox> <Center x="1.5" y="0.0" z="0.9"/> <Dimensions width="2" length="2" height="2"/> </BoundingBox> <Properties> <Property name="type" value="simulation"/> </Properties> </Pedestrian> </ScenarioObject> <ScenarioObject name="pedestrian_close_to_hero_28395"> <Pedestrian model="walker.pedestrian.0001" mass="80" name="walker.pedestrian.0001" pedestrianCategory="pedestrian"> <ParameterDeclarations/> <BoundingBox> <Center x="1.5" y="0.0" z="0.9"/> <Dimensions width="2" length="2" height="2"/> </BoundingBox> <Properties> <Property name="type" value="simulation"/> </Properties> </Pedestrian> </ScenarioObject> <ScenarioObject name="pedestrian_close_to_hero_28396"> <Pedestrian model="walker.pedestrian.0001" mass="80" name="walker.pedestrian.0001" pedestrianCategory="pedestrian"> <ParameterDeclarations/> <BoundingBox> <Center x="1.5" y="0.0" z="0.9"/> <Dimensions width="2" length="2" height="2"/> </BoundingBox> <Properties> <Property name="type" value="simulation"/> </Properties> </Pedestrian> </ScenarioObject> <ScenarioObject name="pedestrian_close_to_hero_28397"> <Pedestrian model="walker.pedestrian.0001" mass="80" name="walker.pedestrian.0001" pedestrianCategory="pedestrian"> <ParameterDeclarations/> <BoundingBox> <Center x="1.5" y="0.0" z="0.9"/> <Dimensions width="2" length="2" height="2"/> </BoundingBox> <Properties> <Property name="type" value="simulation"/> </Properties> </Pedestrian> </ScenarioObject> <ScenarioObject name="pedestrian_close_to_standing_28398"> <Pedestrian model="walker.pedestrian.0001" mass="80" name="walker.pedestrian.0001" pedestrianCategory="pedestrian"> <ParameterDeclarations/> <BoundingBox> <Center x="1.5" y="0.0" z="0.9"/> <Dimensions width="2" length="2" height="2"/> </BoundingBox> <Properties> <Property name="type" value="simulation"/> </Properties> </Pedestrian> </ScenarioObject> <ScenarioObject name="pedestrian_w_transform_28399"> <Pedestrian model="walker.pedestrian.0001" mass="80" name="walker.pedestrian.0001" pedestrianCategory="pedestrian"> <ParameterDeclarations/> <BoundingBox> <Center x="1.5" y="0.0" z="0.9"/> <Dimensions width="2" length="2" height="2"/> </BoundingBox> <Properties> <Property name="type" value="simulation"/> </Properties> </Pedestrian> </ScenarioObject> <ScenarioObject name="pedestrian_w_transform_28400"> <Pedestrian model="walker.pedestrian.0001" mass="80" name="walker.pedestrian.0001" pedestrianCategory="pedestrian"> <ParameterDeclarations/> <BoundingBox> <Center x="1.5" y="0.0" z="0.9"/> <Dimensions width="2" length="2" height="2"/> </BoundingBox> <Properties> <Property name="type" value="simulation"/> </Properties> </Pedestrian> </ScenarioObject> <ScenarioObject name="pedestrian_close_to_standing_28401"> <Pedestrian model="walker.pedestrian.0001" mass="80" name="walker.pedestrian.0001" pedestrianCategory="pedestrian"> <ParameterDeclarations/> <BoundingBox> <Center x="1.5" y="0.0" z="0.9"/> <Dimensions width="2" length="2" height="2"/> </BoundingBox> <Properties> <Property name="type" value="simulation"/> </Properties> </Pedestrian> </ScenarioObject> <ScenarioObject name="pedestrian_close_to_hero_28403"> <Pedestrian model="walker.pedestrian.0001" mass="80" name="walker.pedestrian.0001" pedestrianCategory="pedestrian"> <ParameterDeclarations/> <BoundingBox> <Center x="1.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_28377"> <PrivateAction> <TeleportAction> <Position> <WorldPosition x="-13.326518058776855" y="20.06621742248535" z="0.003068809397518635"/> </Position> </TeleportAction> </PrivateAction> </Private> <Private entityRef="pedestrian_w_transform_28378"> <PrivateAction> <TeleportAction> <Position> <WorldPosition x="-55.323978424072266" y="-11.154684066772461" z="0.5"/> </Position> </TeleportAction> </PrivateAction> </Private> <Private entityRef="pedestrian_close_to_standing_28379"> <PrivateAction> <TeleportAction> <Position> <WorldPosition x="-10.348930358886719" y="36.545894622802734" z="0.003088989295065403"/> </Position> </TeleportAction> </PrivateAction> </Private> <Private entityRef="pedestrian_close_to_standing_28380"> <PrivateAction> <TeleportAction> <Position> <WorldPosition x="-5.489126205444336" y="27.2271785736084" z="0.0031056595034897327"/> </Position> </TeleportAction> </PrivateAction> </Private> <Private entityRef="pedestrian_close_to_standing_28381"> <PrivateAction> <TeleportAction> <Position> <WorldPosition x="5.557333946228027" y="36.63827133178711" z="0.0031111526768654585"/> </Position> </TeleportAction> </PrivateAction> </Private> <Private entityRef="pedestrian_close_to_hero_28382"> <PrivateAction> <TeleportAction> <Position> <WorldPosition x="-9.005905151367188" y="-162.66017150878906" z="0.0015143966302275658"/> </Position> </TeleportAction> </PrivateAction> </Private> <Private entityRef="pedestrian_close_to_adversary_28383"> <PrivateAction> <TeleportAction> <Position> <WorldPosition x="-19.131349563598633" y="-69.55276489257812" z="0.033823318779468536"/> </Position> </TeleportAction> </PrivateAction> </Private> <Private entityRef="pedestrian_close_to_standing_28385"> <PrivateAction> <TeleportAction> <Position> <WorldPosition x="-4.367246150970459" y="23.249006271362305" z="0.0030155181884765625"/> </Position> </TeleportAction> </PrivateAction> </Private> <Private entityRef="pedestrian_close_to_standing_28386"> <PrivateAction> <TeleportAction> <Position> <WorldPosition x="-1.2764391899108887" y="27.43375015258789" z="0.003028068458661437"/> </Position> </TeleportAction> </PrivateAction> </Private> <Private entityRef="pedestrian_close_to_adversary_28388"> <PrivateAction> <TeleportAction> <Position> <WorldPosition x="-8.389223098754883" y="-72.521728515625" z="0.03381786122918129"/> </Position> </TeleportAction> </PrivateAction> </Private> <Private entityRef="pedestrian_w_transform_28390"> <PrivateAction> <TeleportAction> <Position> <WorldPosition x="47.45212936401367" y="-6.423636436462402" z="0.5"/> </Position> </TeleportAction> </PrivateAction> </Private> <Private entityRef="pedestrian_w_transform_28391"> <PrivateAction> <TeleportAction> <Position> <WorldPosition x="-14.53200626373291" y="47.59656524658203" z="0.5"/> </Position> </TeleportAction> </PrivateAction> </Private> <Private entityRef="pedestrian_close_to_hero_28392"> <PrivateAction> <TeleportAction> <Position> <WorldPosition x="-2.140286922454834" y="-152.9744415283203" z="0.0015143966302275658"/> </Position> </TeleportAction> </PrivateAction> </Private> <Private entityRef="pedestrian_close_to_hero_28395"> <PrivateAction> <TeleportAction> <Position> <WorldPosition x="-22.06345558166504" y="-160.34080505371094" z="0.0015143966302275658"/> </Position> </TeleportAction> </PrivateAction> </Private> <Private entityRef="pedestrian_close_to_hero_28396"> <PrivateAction> <TeleportAction> <Position> <WorldPosition x="-70.42284393310547" y="-127.81719207763672" z="0.0015143966302275658"/> </Position> </TeleportAction> </PrivateAction> </Private> <Private entityRef="pedestrian_close_to_hero_28397"> <PrivateAction> <TeleportAction> <Position> <WorldPosition x="-10.044997215270996" y="-157.1908416748047" z="0.0015143966302275658"/> </Position> </TeleportAction> </PrivateAction> </Private> <Private entityRef="pedestrian_close_to_standing_28398"> <PrivateAction> <TeleportAction> <Position> <WorldPosition x="-12.96247386932373" y="26.669565200805664" z="0.003066101111471653"/> </Position> </TeleportAction> </PrivateAction> </Private> <Private entityRef="pedestrian_w_transform_28399"> <PrivateAction> <TeleportAction> <Position> <WorldPosition x="38.71967697143555" y="-90.7490463256836" z="0.5"/> </Position> </TeleportAction> </PrivateAction> </Private> <Private entityRef="pedestrian_w_transform_28400"> <PrivateAction> <TeleportAction> <Position> <WorldPosition x="60.73650360107422" y="62.414390563964844" z="0.5"/> </Position> </TeleportAction> </PrivateAction> </Private> <Private entityRef="pedestrian_close_to_standing_28401"> <PrivateAction> <TeleportAction> <Position> <WorldPosition x="1.2757925987243652" y="33.09895324707031" z="0.003047370817512274"/> </Position> </TeleportAction> </PrivateAction> </Private> <Private entityRef="pedestrian_close_to_hero_28403"> <PrivateAction> <TeleportAction> <Position> <WorldPosition x="-11.3539400100708" y="-150.3249969482422" z="0.0015143966302275658"/> </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_adversary_9126"> <Pedestrian model="walker.pedestrian.0001" mass="80" name="walker.pedestrian.0001" pedestrianCategory="pedestrian"> <ParameterDeclarations/> <BoundingBox> <Center x="1.5" y="0.0" z="0.9"/> <Dimensions width="2" length="2" height="2"/> </BoundingBox> <Properties> <Property name="type" value="simulation"/> </Properties> </Pedestrian> </ScenarioObject> <ScenarioObject name="pedestrian_w_transform_9127"> <Pedestrian model="walker.pedestrian.0001" mass="80" name="walker.pedestrian.0001" pedestrianCategory="pedestrian"> <ParameterDeclarations/> <BoundingBox> <Center x="1.5" y="0.0" z="0.9"/> <Dimensions width="2" length="2" height="2"/> </BoundingBox> <Properties> <Property name="type" value="simulation"/> </Properties> </Pedestrian> </ScenarioObject> <ScenarioObject name="pedestrian_close_to_adversary_9128"> <Pedestrian model="walker.pedestrian.0001" mass="80" name="walker.pedestrian.0001" pedestrianCategory="pedestrian"> <ParameterDeclarations/> <BoundingBox> <Center x="1.5" y="0.0" z="0.9"/> <Dimensions width="2" length="2" height="2"/> </BoundingBox> <Properties> <Property name="type" value="simulation"/> </Properties> </Pedestrian> </ScenarioObject> <ScenarioObject name="pedestrian_w_transform_9129"> <Pedestrian model="walker.pedestrian.0001" mass="80" name="walker.pedestrian.0001" pedestrianCategory="pedestrian"> <ParameterDeclarations/> <BoundingBox> <Center x="1.5" y="0.0" z="0.9"/> <Dimensions width="2" length="2" height="2"/> </BoundingBox> <Properties> <Property name="type" value="simulation"/> </Properties> </Pedestrian> </ScenarioObject> <ScenarioObject name="pedestrian_w_transform_9131"> <Pedestrian model="walker.pedestrian.0001" mass="80" name="walker.pedestrian.0001" pedestrianCategory="pedestrian"> <ParameterDeclarations/> <BoundingBox> <Center x="1.5" y="0.0" z="0.9"/> <Dimensions width="2" length="2" height="2"/> </BoundingBox> <Properties> <Property name="type" value="simulation"/> </Properties> </Pedestrian> </ScenarioObject> <ScenarioObject name="pedestrian_close_to_standing_9132"> <Pedestrian model="walker.pedestrian.0001" mass="80" name="walker.pedestrian.0001" pedestrianCategory="pedestrian"> <ParameterDeclarations/> <BoundingBox> <Center x="1.5" y="0.0" z="0.9"/> <Dimensions width="2" length="2" height="2"/> </BoundingBox> <Properties> <Property name="type" value="simulation"/> </Properties> </Pedestrian> </ScenarioObject> <ScenarioObject name="pedestrian_w_transform_9133"> <Pedestrian model="walker.pedestrian.0001" mass="80" name="walker.pedestrian.0001" pedestrianCategory="pedestrian"> <ParameterDeclarations/> <BoundingBox> <Center x="1.5" y="0.0" z="0.9"/> <Dimensions width="2" length="2" height="2"/> </BoundingBox> <Properties> <Property name="type" value="simulation"/> </Properties> </Pedestrian> </ScenarioObject> <ScenarioObject name="pedestrian_close_to_standing_9134"> <Pedestrian model="walker.pedestrian.0001" mass="80" name="walker.pedestrian.0001" pedestrianCategory="pedestrian"> <ParameterDeclarations/> <BoundingBox> <Center x="1.5" y="0.0" z="0.9"/> <Dimensions width="2" length="2" height="2"/> </BoundingBox> <Properties> <Property name="type" value="simulation"/> </Properties> </Pedestrian> </ScenarioObject> <ScenarioObject name="pedestrian_close_to_adversary_9135"> <Pedestrian model="walker.pedestrian.0001" mass="80" name="walker.pedestrian.0001" pedestrianCategory="pedestrian"> <ParameterDeclarations/> <BoundingBox> <Center x="1.5" y="0.0" z="0.9"/> <Dimensions width="2" length="2" height="2"/> </BoundingBox> <Properties> <Property name="type" value="simulation"/> </Properties> </Pedestrian> </ScenarioObject> <ScenarioObject name="pedestrian_close_to_standing_9136"> <Pedestrian model="walker.pedestrian.0001" mass="80" name="walker.pedestrian.0001" pedestrianCategory="pedestrian"> <ParameterDeclarations/> <BoundingBox> <Center x="1.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_9126"> <PrivateAction> <TeleportAction> <Position> <WorldPosition x="-17.221508026123047" y="-75.4111557006836" z="0.03380142152309418"/> </Position> </TeleportAction> </PrivateAction> </Private> <Private entityRef="pedestrian_w_transform_9127"> <PrivateAction> <TeleportAction> <Position> <WorldPosition x="53.22462844848633" y="-68.28733825683594" z="0.5"/> </Position> </TeleportAction> </PrivateAction> </Private> <Private entityRef="pedestrian_close_to_adversary_9128"> <PrivateAction> <TeleportAction> <Position> <WorldPosition x="-9.819961547851562" y="-80.84160614013672" z="0.0337822325527668"/> </Position> </TeleportAction> </PrivateAction> </Private> <Private entityRef="pedestrian_w_transform_9129"> <PrivateAction> <TeleportAction> <Position> <WorldPosition x="-97.84075927734375" y="-15.987289428710938" z="0.5"/> </Position> </TeleportAction> </PrivateAction> </Private> <Private entityRef="pedestrian_w_transform_9131"> <PrivateAction> <TeleportAction> <Position> <WorldPosition x="-90.60741424560547" y="81.39527893066406" z="0.5"/> </Position> </TeleportAction> </PrivateAction> </Private> <Private entityRef="pedestrian_close_to_standing_9132"> <PrivateAction> <TeleportAction> <Position> <WorldPosition x="-17.209556579589844" y="24.776037216186523" z="0.0030839156825095415"/> </Position> </TeleportAction> </PrivateAction> </Private> <Private entityRef="pedestrian_w_transform_9133"> <PrivateAction> <TeleportAction> <Position> <WorldPosition x="84.77808380126953" y="-60.31988525390625" z="0.5"/> </Position> </TeleportAction> </PrivateAction> </Private> <Private entityRef="pedestrian_close_to_standing_9134"> <PrivateAction> <TeleportAction> <Position> <WorldPosition x="-25.165706634521484" y="29.000911712646484" z="0.0030880735721439123"/> </Position> </TeleportAction> </PrivateAction> </Private> <Private entityRef="pedestrian_close_to_adversary_9135"> <PrivateAction> <TeleportAction> <Position> <WorldPosition x="-11.047825813293457" y="-66.01371002197266" z="0.033783797174692154"/> </Position> </TeleportAction> </PrivateAction> </Private> <Private entityRef="pedestrian_close_to_standing_9136"> <PrivateAction> <TeleportAction> <Position> <WorldPosition x="-10.447303771972656" y="35.396331787109375" z="0.0030657195020467043"/> </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_9126"> <Pedestrian model="walker.pedestrian.0001" mass="80" name="walker.pedestrian.0001" pedestrianCategory="pedestrian"> <ParameterDeclarations/> <BoundingBox> <Center x="1.5" y="0.0" z="0.9"/> <Dimensions width="2" length="2" height="2"/> </BoundingBox> <Properties> <Property name="type" value="simulation"/> </Properties> </Pedestrian> </ScenarioObject> <ScenarioObject name="pedestrian_w_transform_9127"> <Pedestrian model="walker.pedestrian.0001" mass="80" name="walker.pedestrian.0001" pedestrianCategory="pedestrian"> <ParameterDeclarations/> <BoundingBox> <Center x="1.5" y="0.0" z="0.9"/> <Dimensions width="2" length="2" height="2"/> </BoundingBox> <Properties> <Property name="type" value="simulation"/> </Properties> </Pedestrian> </ScenarioObject> <ScenarioObject name="pedestrian_close_to_adversary_9128"> <Pedestrian model="walker.pedestrian.0001" mass="80" name="walker.pedestrian.0001" pedestrianCategory="pedestrian"> <ParameterDeclarations/> <BoundingBox> <Center x="1.5" y="0.0" z="0.9"/> <Dimensions width="2" length="2" height="2"/> </BoundingBox> <Properties> <Property name="type" value="simulation"/> </Properties> </Pedestrian> </ScenarioObject> <ScenarioObject name="pedestrian_w_transform_9129"> <Pedestrian model="walker.pedestrian.0001" mass="80" name="walker.pedestrian.0001" pedestrianCategory="pedestrian"> <ParameterDeclarations/> <BoundingBox> <Center x="1.5" y="0.0" z="0.9"/> <Dimensions width="2" length="2" height="2"/> </BoundingBox> <Properties> <Property name="type" value="simulation"/> </Properties> </Pedestrian> </ScenarioObject> <ScenarioObject name="pedestrian_w_transform_9131"> <Pedestrian model="walker.pedestrian.0001" mass="80" name="walker.pedestrian.0001" pedestrianCategory="pedestrian"> <ParameterDeclarations/> <BoundingBox> <Center x="1.5" y="0.0" z="0.9"/> <Dimensions width="2" length="2" height="2"/> </BoundingBox> <Properties> <Property name="type" value="simulation"/> </Properties> </Pedestrian> </ScenarioObject> <ScenarioObject name="pedestrian_close_to_standing_9132"> <Pedestrian model="walker.pedestrian.0001" mass="80" name="walker.pedestrian.0001" pedestrianCategory="pedestrian"> <ParameterDeclarations/> <BoundingBox> <Center x="1.5" y="0.0" z="0.9"/> <Dimensions width="2" length="2" height="2"/> </BoundingBox> <Properties> <Property name="type" value="simulation"/> </Properties> </Pedestrian> </ScenarioObject> <ScenarioObject name="pedestrian_w_transform_9133"> <Pedestrian model="walker.pedestrian.0001" mass="80" name="walker.pedestrian.0001" pedestrianCategory="pedestrian"> <ParameterDeclarations/> <BoundingBox> <Center x="1.5" y="0.0" z="0.9"/> <Dimensions width="2" length="2" height="2"/> </BoundingBox> <Properties> <Property name="type" value="simulation"/> </Properties> </Pedestrian> </ScenarioObject> <ScenarioObject name="pedestrian_close_to_standing_9134"> <Pedestrian model="walker.pedestrian.0001" mass="80" name="walker.pedestrian.0001" pedestrianCategory="pedestrian"> <ParameterDeclarations/> <BoundingBox> <Center x="1.5" y="0.0" z="0.9"/> <Dimensions width="2" length="2" height="2"/> </BoundingBox> <Properties> <Property name="type" value="simulation"/> </Properties> </Pedestrian> </ScenarioObject> <ScenarioObject name="pedestrian_close_to_adversary_9135"> <Pedestrian model="walker.pedestrian.0001" mass="80" name="walker.pedestrian.0001" pedestrianCategory="pedestrian"> <ParameterDeclarations/> <BoundingBox> <Center x="1.5" y="0.0" z="0.9"/> <Dimensions width="2" length="2" height="2"/> </BoundingBox> <Properties> <Property name="type" value="simulation"/> </Properties> </Pedestrian> </ScenarioObject> <ScenarioObject name="pedestrian_close_to_standing_9136"> <Pedestrian model="walker.pedestrian.0001" mass="80" name="walker.pedestrian.0001" pedestrianCategory="pedestrian"> <ParameterDeclarations/> <BoundingBox> <Center x="1.5" y="0.0" z="0.9"/> <Dimensions width="2" length="2" height="2"/> </BoundingBox> <Properties> <Property name="type" value="simulation"/> </Properties> </Pedestrian> </ScenarioObject> <ScenarioObject name="pedestrian_close_to_adversary_9137"> <Pedestrian model="walker.pedestrian.0001" mass="80" name="walker.pedestrian.0001" pedestrianCategory="pedestrian"> <ParameterDeclarations/> <BoundingBox> <Center x="1.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_9126"> <PrivateAction> <TeleportAction> <Position> <WorldPosition x="-17.221508026123047" y="-75.4111557006836" z="0.03380142152309418"/> </Position> </TeleportAction> </PrivateAction> </Private> <Private entityRef="pedestrian_w_transform_9127"> <PrivateAction> <TeleportAction> <Position> <WorldPosition x="53.22462844848633" y="-68.28733825683594" z="0.5"/> </Position> </TeleportAction> </PrivateAction> </Private> <Private entityRef="pedestrian_close_to_adversary_9128"> <PrivateAction> <TeleportAction> <Position> <WorldPosition x="-9.819961547851562" y="-80.84160614013672" z="0.0337822325527668"/> </Position> </TeleportAction> </PrivateAction> </Private> <Private entityRef="pedestrian_w_transform_9129"> <PrivateAction> <TeleportAction> <Position> <WorldPosition x="-97.84075927734375" y="-15.987289428710938" z="0.5"/> </Position> </TeleportAction> </PrivateAction> </Private> <Private entityRef="pedestrian_w_transform_9131"> <PrivateAction> <TeleportAction> <Position> <WorldPosition x="-90.60741424560547" y="81.39527893066406" z="0.5"/> </Position> </TeleportAction> </PrivateAction> </Private> <Private entityRef="pedestrian_close_to_standing_9132"> <PrivateAction> <TeleportAction> <Position> <WorldPosition x="-17.209556579589844" y="24.776037216186523" z="0.0030839156825095415"/> </Position> </TeleportAction> </PrivateAction> </Private> <Private entityRef="pedestrian_w_transform_9133"> <PrivateAction> <TeleportAction> <Position> <WorldPosition x="84.77808380126953" y="-60.31988525390625" z="0.5"/> </Position> </TeleportAction> </PrivateAction> </Private> <Private entityRef="pedestrian_close_to_standing_9134"> <PrivateAction> <TeleportAction> <Position> <WorldPosition x="-25.165706634521484" y="29.000911712646484" z="0.0030880735721439123"/> </Position> </TeleportAction> </PrivateAction> </Private> <Private entityRef="pedestrian_close_to_adversary_9135"> <PrivateAction> <TeleportAction> <Position> <WorldPosition x="-11.047825813293457" y="-66.01371002197266" z="0.033783797174692154"/> </Position> </TeleportAction> </PrivateAction> </Private> <Private entityRef="pedestrian_close_to_standing_9136"> <PrivateAction> <TeleportAction> <Position> <WorldPosition x="-10.447303771972656" y="35.396331787109375" z="0.0030657195020467043"/> </Position> </TeleportAction> </PrivateAction> </Private> <Private entityRef="pedestrian_close_to_adversary_9137"> <PrivateAction> <TeleportAction> <Position> <WorldPosition x="0.5752312541007996" y="-71.71553039550781" z="0.033786237239837646"/> </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 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_26005"> <Pedestrian model="walker.pedestrian.0001" mass="80" name="walker.pedestrian.0001" pedestrianCategory="pedestrian"> <ParameterDeclarations/> <BoundingBox> <Center x="1.5" y="0.0" z="0.9"/> <Dimensions width="2" length="2" height="2"/> </BoundingBox> <Properties> <Property name="type" value="simulation"/> </Properties> </Pedestrian> </ScenarioObject> <ScenarioObject name="pedestrian_w_transform_26006"> <Pedestrian model="walker.pedestrian.0001" mass="80" name="walker.pedestrian.0001" pedestrianCategory="pedestrian"> <ParameterDeclarations/> <BoundingBox> <Center x="1.5" y="0.0" z="0.9"/> <Dimensions width="2" length="2" height="2"/> </BoundingBox> <Properties> <Property name="type" value="simulation"/> </Properties> </Pedestrian> </ScenarioObject> <ScenarioObject name="pedestrian_w_transform_26007"> <Pedestrian model="walker.pedestrian.0001" mass="80" name="walker.pedestrian.0001" pedestrianCategory="pedestrian"> <ParameterDeclarations/> <BoundingBox> <Center x="1.5" y="0.0" z="0.9"/> <Dimensions width="2" length="2" height="2"/> </BoundingBox> <Properties> <Property name="type" value="simulation"/> </Properties> </Pedestrian> </ScenarioObject> <ScenarioObject name="pedestrian_close_to_standing_26008"> <Pedestrian model="walker.pedestrian.0001" mass="80" name="walker.pedestrian.0001" pedestrianCategory="pedestrian"> <ParameterDeclarations/> <BoundingBox> <Center x="1.5" y="0.0" z="0.9"/> <Dimensions width="2" length="2" height="2"/> </BoundingBox> <Properties> <Property name="type" value="simulation"/> </Properties> </Pedestrian> </ScenarioObject> <ScenarioObject name="pedestrian_w_transform_26009"> <Pedestrian model="walker.pedestrian.0001" mass="80" name="walker.pedestrian.0001" pedestrianCategory="pedestrian"> <ParameterDeclarations/> <BoundingBox> <Center x="1.5" y="0.0" z="0.9"/> <Dimensions width="2" length="2" height="2"/> </BoundingBox> <Properties> <Property name="type" value="simulation"/> </Properties> </Pedestrian> </ScenarioObject> <ScenarioObject name="pedestrian_close_to_hero_26011"> <Pedestrian model="walker.pedestrian.0001" mass="80" name="walker.pedestrian.0001" pedestrianCategory="pedestrian"> <ParameterDeclarations/> <BoundingBox> <Center x="1.5" y="0.0" z="0.9"/> <Dimensions width="2" length="2" height="2"/> </BoundingBox> <Properties> <Property name="type" value="simulation"/> </Properties> </Pedestrian> </ScenarioObject> <ScenarioObject name="pedestrian_w_transform_26012"> <Pedestrian model="walker.pedestrian.0001" mass="80" name="walker.pedestrian.0001" pedestrianCategory="pedestrian"> <ParameterDeclarations/> <BoundingBox> <Center x="1.5" y="0.0" z="0.9"/> <Dimensions width="2" length="2" height="2"/> </BoundingBox> <Properties> <Property name="type" value="simulation"/> </Properties> </Pedestrian> </ScenarioObject> <ScenarioObject name="pedestrian_w_transform_26013"> <Pedestrian model="walker.pedestrian.0001" mass="80" name="walker.pedestrian.0001" pedestrianCategory="pedestrian"> <ParameterDeclarations/> <BoundingBox> <Center x="1.5" y="0.0" z="0.9"/> <Dimensions width="2" length="2" height="2"/> </BoundingBox> <Properties> <Property name="type" value="simulation"/> </Properties> </Pedestrian> </ScenarioObject> <ScenarioObject name="pedestrian_w_transform_26014"> <Pedestrian model="walker.pedestrian.0001" mass="80" name="walker.pedestrian.0001" pedestrianCategory="pedestrian"> <ParameterDeclarations/> <BoundingBox> <Center x="1.5" y="0.0" z="0.9"/> <Dimensions width="2" length="2" height="2"/> </BoundingBox> <Properties> <Property name="type" value="simulation"/> </Properties> </Pedestrian> </ScenarioObject> <ScenarioObject name="pedestrian_w_transform_26015"> <Pedestrian model="walker.pedestrian.0001" mass="80" name="walker.pedestrian.0001" pedestrianCategory="pedestrian"> <ParameterDeclarations/> <BoundingBox> <Center x="1.5" y="0.0" z="0.9"/> <Dimensions width="2" length="2" height="2"/> </BoundingBox> <Properties> <Property name="type" value="simulation"/> </Properties> </Pedestrian> </ScenarioObject> <ScenarioObject name="pedestrian_w_transform_26016"> <Pedestrian model="walker.pedestrian.0001" mass="80" name="walker.pedestrian.0001" pedestrianCategory="pedestrian"> <ParameterDeclarations/> <BoundingBox> <Center x="1.5" y="0.0" z="0.9"/> <Dimensions width="2" length="2" height="2"/> </BoundingBox> <Properties> <Property name="type" value="simulation"/> </Properties> </Pedestrian> </ScenarioObject> <ScenarioObject name="pedestrian_close_to_hero_26017"> <Pedestrian model="walker.pedestrian.0001" mass="80" name="walker.pedestrian.0001" pedestrianCategory="pedestrian"> <ParameterDeclarations/> <BoundingBox> <Center x="1.5" y="0.0" z="0.9"/> <Dimensions width="2" length="2" height="2"/> </BoundingBox> <Properties> <Property name="type" value="simulation"/> </Properties> </Pedestrian> </ScenarioObject> <ScenarioObject name="pedestrian_w_transform_26018"> <Pedestrian model="walker.pedestrian.0001" mass="80" name="walker.pedestrian.0001" pedestrianCategory="pedestrian"> <ParameterDeclarations/> <BoundingBox> <Center x="1.5" y="0.0" z="0.9"/> <Dimensions width="2" length="2" height="2"/> </BoundingBox> <Properties> <Property name="type" value="simulation"/> </Properties> </Pedestrian> </ScenarioObject> <ScenarioObject name="pedestrian_w_transform_26020"> <Pedestrian model="walker.pedestrian.0001" mass="80" name="walker.pedestrian.0001" pedestrianCategory="pedestrian"> <ParameterDeclarations/> <BoundingBox> <Center x="1.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_26005"> <PrivateAction> <TeleportAction> <Position> <WorldPosition x="-7.470538139343262" y="-67.26859283447266" z="0.03381519392132759"/> </Position> </TeleportAction> </PrivateAction> </Private> <Private entityRef="pedestrian_w_transform_26006"> <PrivateAction> <TeleportAction> <Position> <WorldPosition x="19.81035804748535" y="-33.23158645629883" z="0.5"/> </Position> </TeleportAction> </PrivateAction> </Private> <Private entityRef="pedestrian_w_transform_26007"> <PrivateAction> <TeleportAction> <Position> <WorldPosition x="-92.3319320678711" y="-38.138832092285156" z="0.5"/> </Position> </TeleportAction> </PrivateAction> </Private> <Private entityRef="pedestrian_close_to_standing_26008"> <PrivateAction> <TeleportAction> <Position> <WorldPosition x="-12.8798246383667" y="28.114004135131836" z="0.0030373381450772285"/> </Position> </TeleportAction> </PrivateAction> </Private> <Private entityRef="pedestrian_w_transform_26009"> <PrivateAction> <TeleportAction> <Position> <WorldPosition x="98.74311065673828" y="-84.9451904296875" z="0.5"/> </Position> </TeleportAction> </PrivateAction> </Private> <Private entityRef="pedestrian_close_to_hero_26011"> <PrivateAction> <TeleportAction> <Position> <WorldPosition x="-17.374380111694336" y="-152.89349365234375" z="0.001423797570168972"/> </Position> </TeleportAction> </PrivateAction> </Private> <Private entityRef="pedestrian_w_transform_26012"> <PrivateAction> <TeleportAction> <Position> <WorldPosition x="43.141448974609375" y="48.07280731201172" z="0.5"/> </Position> </TeleportAction> </PrivateAction> </Private> <Private entityRef="pedestrian_w_transform_26013"> <PrivateAction> <TeleportAction> <Position> <WorldPosition x="59.766685485839844" y="-13.19505500793457" z="0.5"/> </Position> </TeleportAction> </PrivateAction> </Private> <Private entityRef="pedestrian_w_transform_26014"> <PrivateAction> <TeleportAction> <Position> <WorldPosition x="84.96070861816406" y="54.183372497558594" z="0.5"/> </Position> </TeleportAction> </PrivateAction> </Private> <Private entityRef="pedestrian_w_transform_26015"> <PrivateAction> <TeleportAction> <Position> <WorldPosition x="-7.499424457550049" y="-89.30226135253906" z="0.5"/> </Position> </TeleportAction> </PrivateAction> </Private> <Private entityRef="pedestrian_w_transform_26016"> <PrivateAction> <TeleportAction> <Position> <WorldPosition x="-81.13505554199219" y="-73.7121353149414" z="0.5"/> </Position> </TeleportAction> </PrivateAction> </Private> <Private entityRef="pedestrian_close_to_hero_26017"> <PrivateAction> <TeleportAction> <Position> <WorldPosition x="-20.426856994628906" y="-152.90106201171875" z="0.001423797570168972"/> </Position> </TeleportAction> </PrivateAction> </Private> <Private entityRef="pedestrian_w_transform_26018"> <PrivateAction> <TeleportAction> <Position> <WorldPosition x="-8.876583099365234" y="50.54776382446289" z="0.5"/> </Position> </TeleportAction> </PrivateAction> </Private> <Private entityRef="pedestrian_w_transform_26020"> <PrivateAction> <TeleportAction> <Position> <WorldPosition x="-12.768229484558105" y="32.8513298034668" 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_26005"> <Pedestrian model="walker.pedestrian.0001" mass="80" name="walker.pedestrian.0001" pedestrianCategory="pedestrian"> <ParameterDeclarations/> <BoundingBox> <Center x="1.5" y="0.0" z="0.9"/> <Dimensions width="2" length="2" height="2"/> </BoundingBox> <Properties> <Property name="type" value="simulation"/> </Properties> </Pedestrian> </ScenarioObject> <ScenarioObject name="pedestrian_w_transform_26006"> <Pedestrian model="walker.pedestrian.0001" mass="80" name="walker.pedestrian.0001" pedestrianCategory="pedestrian"> <ParameterDeclarations/> <BoundingBox> <Center x="1.5" y="0.0" z="0.9"/> <Dimensions width="2" length="2" height="2"/> </BoundingBox> <Properties> <Property name="type" value="simulation"/> </Properties> </Pedestrian> </ScenarioObject> <ScenarioObject name="pedestrian_w_transform_26007"> <Pedestrian model="walker.pedestrian.0001" mass="80" name="walker.pedestrian.0001" pedestrianCategory="pedestrian"> <ParameterDeclarations/> <BoundingBox> <Center x="1.5" y="0.0" z="0.9"/> <Dimensions width="2" length="2" height="2"/> </BoundingBox> <Properties> <Property name="type" value="simulation"/> </Properties> </Pedestrian> </ScenarioObject> <ScenarioObject name="pedestrian_close_to_standing_26008"> <Pedestrian model="walker.pedestrian.0001" mass="80" name="walker.pedestrian.0001" pedestrianCategory="pedestrian"> <ParameterDeclarations/> <BoundingBox> <Center x="1.5" y="0.0" z="0.9"/> <Dimensions width="2" length="2" height="2"/> </BoundingBox> <Properties> <Property name="type" value="simulation"/> </Properties> </Pedestrian> </ScenarioObject> <ScenarioObject name="pedestrian_w_transform_26009"> <Pedestrian model="walker.pedestrian.0001" mass="80" name="walker.pedestrian.0001" pedestrianCategory="pedestrian"> <ParameterDeclarations/> <BoundingBox> <Center x="1.5" y="0.0" z="0.9"/> <Dimensions width="2" length="2" height="2"/> </BoundingBox> <Properties> <Property name="type" value="simulation"/> </Properties> </Pedestrian> </ScenarioObject> <ScenarioObject name="pedestrian_w_transform_26012"> <Pedestrian model="walker.pedestrian.0001" mass="80" name="walker.pedestrian.0001" pedestrianCategory="pedestrian"> <ParameterDeclarations/> <BoundingBox> <Center x="1.5" y="0.0" z="0.9"/> <Dimensions width="2" length="2" height="2"/> </BoundingBox> <Properties> <Property name="type" value="simulation"/> </Properties> </Pedestrian> </ScenarioObject> <ScenarioObject name="pedestrian_w_transform_26013"> <Pedestrian model="walker.pedestrian.0001" mass="80" name="walker.pedestrian.0001" pedestrianCategory="pedestrian"> <ParameterDeclarations/> <BoundingBox> <Center x="1.5" y="0.0" z="0.9"/> <Dimensions width="2" length="2" height="2"/> </BoundingBox> <Properties> <Property name="type" value="simulation"/> </Properties> </Pedestrian> </ScenarioObject> <ScenarioObject name="pedestrian_w_transform_26014"> <Pedestrian model="walker.pedestrian.0001" mass="80" name="walker.pedestrian.0001" pedestrianCategory="pedestrian"> <ParameterDeclarations/> <BoundingBox> <Center x="1.5" y="0.0" z="0.9"/> <Dimensions width="2" length="2" height="2"/> </BoundingBox> <Properties> <Property name="type" value="simulation"/> </Properties> </Pedestrian> </ScenarioObject> <ScenarioObject name="pedestrian_w_transform_26015"> <Pedestrian model="walker.pedestrian.0001" mass="80" name="walker.pedestrian.0001" pedestrianCategory="pedestrian"> <ParameterDeclarations/> <BoundingBox> <Center x="1.5" y="0.0" z="0.9"/> <Dimensions width="2" length="2" height="2"/> </BoundingBox> <Properties> <Property name="type" value="simulation"/> </Properties> </Pedestrian> </ScenarioObject> <ScenarioObject name="pedestrian_w_transform_26016"> <Pedestrian model="walker.pedestrian.0001" mass="80" name="walker.pedestrian.0001" pedestrianCategory="pedestrian"> <ParameterDeclarations/> <BoundingBox> <Center x="1.5" y="0.0" z="0.9"/> <Dimensions width="2" length="2" height="2"/> </BoundingBox> <Properties> <Property name="type" value="simulation"/> </Properties> </Pedestrian> </ScenarioObject> <ScenarioObject name="pedestrian_close_to_hero_26017"> <Pedestrian model="walker.pedestrian.0001" mass="80" name="walker.pedestrian.0001" pedestrianCategory="pedestrian"> <ParameterDeclarations/> <BoundingBox> <Center x="1.5" y="0.0" z="0.9"/> <Dimensions width="2" length="2" height="2"/> </BoundingBox> <Properties> <Property name="type" value="simulation"/> </Properties> </Pedestrian> </ScenarioObject> <ScenarioObject name="pedestrian_w_transform_26018"> <Pedestrian model="walker.pedestrian.0001" mass="80" name="walker.pedestrian.0001" pedestrianCategory="pedestrian"> <ParameterDeclarations/> <BoundingBox> <Center x="1.5" y="0.0" z="0.9"/> <Dimensions width="2" length="2" height="2"/> </BoundingBox> <Properties> <Property name="type" value="simulation"/> </Properties> </Pedestrian> </ScenarioObject> <ScenarioObject name="pedestrian_w_transform_26020"> <Pedestrian model="walker.pedestrian.0001" mass="80" name="walker.pedestrian.0001" pedestrianCategory="pedestrian"> <ParameterDeclarations/> <BoundingBox> <Center x="1.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_26005"> <PrivateAction> <TeleportAction> <Position> <WorldPosition x="-7.470538139343262" y="-67.26859283447266" z="0.03381519392132759"/> </Position> </TeleportAction> </PrivateAction> </Private> <Private entityRef="pedestrian_w_transform_26006"> <PrivateAction> <TeleportAction> <Position> <WorldPosition x="19.81035804748535" y="-33.23158645629883" z="0.5"/> </Position> </TeleportAction> </PrivateAction> </Private> <Private entityRef="pedestrian_w_transform_26007"> <PrivateAction> <TeleportAction> <Position> <WorldPosition x="-92.3319320678711" y="-38.138832092285156" z="0.5"/> </Position> </TeleportAction> </PrivateAction> </Private> <Private entityRef="pedestrian_close_to_standing_26008"> <PrivateAction> <TeleportAction> <Position> <WorldPosition x="-12.8798246383667" y="28.114004135131836" z="0.0030373381450772285"/> </Position> </TeleportAction> </PrivateAction> </Private> <Private entityRef="pedestrian_w_transform_26009"> <PrivateAction> <TeleportAction> <Position> <WorldPosition x="98.74311065673828" y="-84.9451904296875" z="0.5"/> </Position> </TeleportAction> </PrivateAction> </Private> <Private entityRef="pedestrian_w_transform_26012"> <PrivateAction> <TeleportAction> <Position> <WorldPosition x="43.141448974609375" y="48.07280731201172" z="0.5"/> </Position> </TeleportAction> </PrivateAction> </Private> <Private entityRef="pedestrian_w_transform_26013"> <PrivateAction> <TeleportAction> <Position> <WorldPosition x="59.766685485839844" y="-13.19505500793457" z="0.5"/> </Position> </TeleportAction> </PrivateAction> </Private> <Private entityRef="pedestrian_w_transform_26014"> <PrivateAction> <TeleportAction> <Position> <WorldPosition x="84.96070861816406" y="54.183372497558594" z="0.5"/> </Position> </TeleportAction> </PrivateAction> </Private> <Private entityRef="pedestrian_w_transform_26015"> <PrivateAction> <TeleportAction> <Position> <WorldPosition x="-7.499424457550049" y="-89.30226135253906" z="0.5"/> </Position> </TeleportAction> </PrivateAction> </Private> <Private entityRef="pedestrian_w_transform_26016"> <PrivateAction> <TeleportAction> <Position> <WorldPosition x="-81.13505554199219" y="-73.7121353149414" z="0.5"/> </Position> </TeleportAction> </PrivateAction> </Private> <Private entityRef="pedestrian_close_to_hero_26017"> <PrivateAction> <TeleportAction> <Position> <WorldPosition x="-20.426856994628906" y="-152.90106201171875" z="0.001423797570168972"/> </Position> </TeleportAction> </PrivateAction> </Private> <Private entityRef="pedestrian_w_transform_26018"> <PrivateAction> <TeleportAction> <Position> <WorldPosition x="-8.876583099365234" y="50.54776382446289" z="0.5"/> </Position> </TeleportAction> </PrivateAction> </Private> <Private entityRef="pedestrian_w_transform_26020"> <PrivateAction> <TeleportAction> <Position> <WorldPosition x="-12.768229484558105" y="32.8513298034668" 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 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_w_transform_15163"> <Pedestrian model="walker.pedestrian.0001" mass="80" name="walker.pedestrian.0001" pedestrianCategory="pedestrian"> <ParameterDeclarations/> <BoundingBox> <Center x="1.5" y="0.0" z="0.9"/> <Dimensions width="2" length="2" height="2"/> </BoundingBox> <Properties> <Property name="type" value="simulation"/> </Properties> </Pedestrian> </ScenarioObject> <ScenarioObject name="pedestrian_close_to_hero_15164"> <Pedestrian model="walker.pedestrian.0001" mass="80" name="walker.pedestrian.0001" pedestrianCategory="pedestrian"> <ParameterDeclarations/> <BoundingBox> <Center x="1.5" y="0.0" z="0.9"/> <Dimensions width="2" length="2" height="2"/> </BoundingBox> <Properties> <Property name="type" value="simulation"/> </Properties> </Pedestrian> </ScenarioObject> <ScenarioObject name="pedestrian_close_to_standing_15165"> <Pedestrian model="walker.pedestrian.0001" mass="80" name="walker.pedestrian.0001" pedestrianCategory="pedestrian"> <ParameterDeclarations/> <BoundingBox> <Center x="1.5" y="0.0" z="0.9"/> <Dimensions width="2" length="2" height="2"/> </BoundingBox> <Properties> <Property name="type" value="simulation"/> </Properties> </Pedestrian> </ScenarioObject> <ScenarioObject name="pedestrian_close_to_adversary_15166"> <Pedestrian model="walker.pedestrian.0001" mass="80" name="walker.pedestrian.0001" pedestrianCategory="pedestrian"> <ParameterDeclarations/> <BoundingBox> <Center x="1.5" y="0.0" z="0.9"/> <Dimensions width="2" length="2" height="2"/> </BoundingBox> <Properties> <Property name="type" value="simulation"/> </Properties> </Pedestrian> </ScenarioObject> <ScenarioObject name="pedestrian_close_to_hero_15167"> <Pedestrian model="walker.pedestrian.0001" mass="80" name="walker.pedestrian.0001" pedestrianCategory="pedestrian"> <ParameterDeclarations/> <BoundingBox> <Center x="1.5" y="0.0" z="0.9"/> <Dimensions width="2" length="2" height="2"/> </BoundingBox> <Properties> <Property name="type" value="simulation"/> </Properties> </Pedestrian> </ScenarioObject> <ScenarioObject name="pedestrian_w_transform_15170"> <Pedestrian model="walker.pedestrian.0001" mass="80" name="walker.pedestrian.0001" pedestrianCategory="pedestrian"> <ParameterDeclarations/> <BoundingBox> <Center x="1.5" y="0.0" z="0.9"/> <Dimensions width="2" length="2" height="2"/> </BoundingBox> <Properties> <Property name="type" value="simulation"/> </Properties> </Pedestrian> </ScenarioObject> <ScenarioObject name="pedestrian_close_to_standing_15171"> <Pedestrian model="walker.pedestrian.0001" mass="80" name="walker.pedestrian.0001" pedestrianCategory="pedestrian"> <ParameterDeclarations/> <BoundingBox> <Center x="1.5" y="0.0" z="0.9"/> <Dimensions width="2" length="2" height="2"/> </BoundingBox> <Properties> <Property name="type" value="simulation"/> </Properties> </Pedestrian> </ScenarioObject> <ScenarioObject name="pedestrian_close_to_adversary_15172"> <Pedestrian model="walker.pedestrian.0001" mass="80" name="walker.pedestrian.0001" pedestrianCategory="pedestrian"> <ParameterDeclarations/> <BoundingBox> <Center x="1.5" y="0.0" z="0.9"/> <Dimensions width="2" length="2" height="2"/> </BoundingBox> <Properties> <Property name="type" value="simulation"/> </Properties> </Pedestrian> </ScenarioObject> <ScenarioObject name="pedestrian_close_to_hero_15173"> <Pedestrian model="walker.pedestrian.0001" mass="80" name="walker.pedestrian.0001" pedestrianCategory="pedestrian"> <ParameterDeclarations/> <BoundingBox> <Center x="1.5" y="0.0" z="0.9"/> <Dimensions width="2" length="2" height="2"/> </BoundingBox> <Properties> <Property name="type" value="simulation"/> </Properties> </Pedestrian> </ScenarioObject> <ScenarioObject name="pedestrian_w_transform_15174"> <Pedestrian model="walker.pedestrian.0001" mass="80" name="walker.pedestrian.0001" pedestrianCategory="pedestrian"> <ParameterDeclarations/> <BoundingBox> <Center x="1.5" y="0.0" z="0.9"/> <Dimensions width="2" length="2" height="2"/> </BoundingBox> <Properties> <Property name="type" value="simulation"/> </Properties> </Pedestrian> </ScenarioObject> <ScenarioObject name="pedestrian_close_to_hero_15179"> <Pedestrian model="walker.pedestrian.0001" mass="80" name="walker.pedestrian.0001" pedestrianCategory="pedestrian"> <ParameterDeclarations/> <BoundingBox> <Center x="1.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_15163"> <PrivateAction> <TeleportAction> <Position> <WorldPosition x="-19.699317932128906" y="84.80530548095703" z="0.5"/> </Position> </TeleportAction> </PrivateAction> </Private> <Private entityRef="pedestrian_close_to_hero_15164"> <PrivateAction> <TeleportAction> <Position> <WorldPosition x="-1.7170372009277344" y="-151.2868194580078" z="0.0016471862327307463"/> </Position> </TeleportAction> </PrivateAction> </Private> <Private entityRef="pedestrian_close_to_standing_15165"> <PrivateAction> <TeleportAction> <Position> <WorldPosition x="-11.67874526977539" y="17.993101119995117" z="0.003084907541051507"/> </Position> </TeleportAction> </PrivateAction> </Private> <Private entityRef="pedestrian_close_to_adversary_15166"> <PrivateAction> <TeleportAction> <Position> <WorldPosition x="-13.526002883911133" y="-75.77215576171875" z="0.03381221741437912"/> </Position> </TeleportAction> </PrivateAction> </Private> <Private entityRef="pedestrian_close_to_hero_15167"> <PrivateAction> <TeleportAction> <Position> <WorldPosition x="-5.362066745758057" y="-148.6163330078125" z="0.0016471862327307463"/> </Position> </TeleportAction> </PrivateAction> </Private> <Private entityRef="pedestrian_w_transform_15170"> <PrivateAction> <TeleportAction> <Position> <WorldPosition x="-31.96431541442871" y="-72.11749267578125" z="0.5"/> </Position> </TeleportAction> </PrivateAction> </Private> <Private entityRef="pedestrian_close_to_standing_15171"> <PrivateAction> <TeleportAction> <Position> <WorldPosition x="-5.199940204620361" y="37.50539016723633" z="0.0030426406301558018"/> </Position> </TeleportAction> </PrivateAction> </Private> <Private entityRef="pedestrian_close_to_adversary_15172"> <PrivateAction> <TeleportAction> <Position> <WorldPosition x="-10.612603187561035" y="-67.2332763671875" z="0.03376327455043793"/> </Position> </TeleportAction> </PrivateAction> </Private> <Private entityRef="pedestrian_close_to_hero_15173"> <PrivateAction> <TeleportAction> <Position> <WorldPosition x="-13.29737663269043" y="-150.7191925048828" z="0.0016471862327307463"/> </Position> </TeleportAction> </PrivateAction> </Private> <Private entityRef="pedestrian_w_transform_15174"> <PrivateAction> <TeleportAction> <Position> <WorldPosition x="-95.06156921386719" y="-99.14581298828125" z="0.5"/> </Position> </TeleportAction> </PrivateAction> </Private> <Private entityRef="pedestrian_close_to_hero_15179"> <PrivateAction> <TeleportAction> <Position> <WorldPosition x="-15.968449592590332" y="-155.34375" z="0.0016471862327307463"/> </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_15163"> <Pedestrian model="walker.pedestrian.0001" mass="80" name="walker.pedestrian.0001" pedestrianCategory="pedestrian"> <ParameterDeclarations/> <BoundingBox> <Center x="1.5" y="0.0" z="0.9"/> <Dimensions width="2" length="2" height="2"/> </BoundingBox> <Properties> <Property name="type" value="simulation"/> </Properties> </Pedestrian> </ScenarioObject> <ScenarioObject name="pedestrian_close_to_hero_15164"> <Pedestrian model="walker.pedestrian.0001" mass="80" name="walker.pedestrian.0001" pedestrianCategory="pedestrian"> <ParameterDeclarations/> <BoundingBox> <Center x="1.5" y="0.0" z="0.9"/> <Dimensions width="2" length="2" height="2"/> </BoundingBox> <Properties> <Property name="type" value="simulation"/> </Properties> </Pedestrian> </ScenarioObject> <ScenarioObject name="pedestrian_close_to_standing_15165"> <Pedestrian model="walker.pedestrian.0001" mass="80" name="walker.pedestrian.0001" pedestrianCategory="pedestrian"> <ParameterDeclarations/> <BoundingBox> <Center x="1.5" y="0.0" z="0.9"/> <Dimensions width="2" length="2" height="2"/> </BoundingBox> <Properties> <Property name="type" value="simulation"/> </Properties> </Pedestrian> </ScenarioObject> <ScenarioObject name="pedestrian_close_to_adversary_15166"> <Pedestrian model="walker.pedestrian.0001" mass="80" name="walker.pedestrian.0001" pedestrianCategory="pedestrian"> <ParameterDeclarations/> <BoundingBox> <Center x="1.5" y="0.0" z="0.9"/> <Dimensions width="2" length="2" height="2"/> </BoundingBox> <Properties> <Property name="type" value="simulation"/> </Properties> </Pedestrian> </ScenarioObject> <ScenarioObject name="pedestrian_close_to_hero_15167"> <Pedestrian model="walker.pedestrian.0001" mass="80" name="walker.pedestrian.0001" pedestrianCategory="pedestrian"> <ParameterDeclarations/> <BoundingBox> <Center x="1.5" y="0.0" z="0.9"/> <Dimensions width="2" length="2" height="2"/> </BoundingBox> <Properties> <Property name="type" value="simulation"/> </Properties> </Pedestrian> </ScenarioObject> <ScenarioObject name="pedestrian_w_transform_15170"> <Pedestrian model="walker.pedestrian.0001" mass="80" name="walker.pedestrian.0001" pedestrianCategory="pedestrian"> <ParameterDeclarations/> <BoundingBox> <Center x="1.5" y="0.0" z="0.9"/> <Dimensions width="2" length="2" height="2"/> </BoundingBox> <Properties> <Property name="type" value="simulation"/> </Properties> </Pedestrian> </ScenarioObject> <ScenarioObject name="pedestrian_close_to_adversary_15172"> <Pedestrian model="walker.pedestrian.0001" mass="80" name="walker.pedestrian.0001" pedestrianCategory="pedestrian"> <ParameterDeclarations/> <BoundingBox> <Center x="1.5" y="0.0" z="0.9"/> <Dimensions width="2" length="2" height="2"/> </BoundingBox> <Properties> <Property name="type" value="simulation"/> </Properties> </Pedestrian> </ScenarioObject> <ScenarioObject name="pedestrian_close_to_hero_15173"> <Pedestrian model="walker.pedestrian.0001" mass="80" name="walker.pedestrian.0001" pedestrianCategory="pedestrian"> <ParameterDeclarations/> <BoundingBox> <Center x="1.5" y="0.0" z="0.9"/> <Dimensions width="2" length="2" height="2"/> </BoundingBox> <Properties> <Property name="type" value="simulation"/> </Properties> </Pedestrian> </ScenarioObject> <ScenarioObject name="pedestrian_w_transform_15174"> <Pedestrian model="walker.pedestrian.0001" mass="80" name="walker.pedestrian.0001" pedestrianCategory="pedestrian"> <ParameterDeclarations/> <BoundingBox> <Center x="1.5" y="0.0" z="0.9"/> <Dimensions width="2" length="2" height="2"/> </BoundingBox> <Properties> <Property name="type" value="simulation"/> </Properties> </Pedestrian> </ScenarioObject> <ScenarioObject name="pedestrian_close_to_hero_15179"> <Pedestrian model="walker.pedestrian.0001" mass="80" name="walker.pedestrian.0001" pedestrianCategory="pedestrian"> <ParameterDeclarations/> <BoundingBox> <Center x="1.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_15163"> <PrivateAction> <TeleportAction> <Position> <WorldPosition x="-19.699317932128906" y="84.80530548095703" z="0.5"/> </Position> </TeleportAction> </PrivateAction> </Private> <Private entityRef="pedestrian_close_to_hero_15164"> <PrivateAction> <TeleportAction> <Position> <WorldPosition x="-1.7170372009277344" y="-151.2868194580078" z="0.0016471862327307463"/> </Position> </TeleportAction> </PrivateAction> </Private> <Private entityRef="pedestrian_close_to_standing_15165"> <PrivateAction> <TeleportAction> <Position> <WorldPosition x="-11.67874526977539" y="17.993101119995117" z="0.003084907541051507"/> </Position> </TeleportAction> </PrivateAction> </Private> <Private entityRef="pedestrian_close_to_adversary_15166"> <PrivateAction> <TeleportAction> <Position> <WorldPosition x="-13.526002883911133" y="-75.77215576171875" z="0.03381221741437912"/> </Position> </TeleportAction> </PrivateAction> </Private> <Private entityRef="pedestrian_close_to_hero_15167"> <PrivateAction> <TeleportAction> <Position> <WorldPosition x="-5.362066745758057" y="-148.6163330078125" z="0.0016471862327307463"/> </Position> </TeleportAction> </PrivateAction> </Private> <Private entityRef="pedestrian_w_transform_15170"> <PrivateAction> <TeleportAction> <Position> <WorldPosition x="-31.96431541442871" y="-72.11749267578125" z="0.5"/> </Position> </TeleportAction> </PrivateAction> </Private> <Private entityRef="pedestrian_close_to_adversary_15172"> <PrivateAction> <TeleportAction> <Position> <WorldPosition x="-10.612603187561035" y="-67.2332763671875" z="0.03376327455043793"/> </Position> </TeleportAction> </PrivateAction> </Private> <Private entityRef="pedestrian_close_to_hero_15173"> <PrivateAction> <TeleportAction> <Position> <WorldPosition x="-13.29737663269043" y="-150.7191925048828" z="0.0016471862327307463"/> </Position> </TeleportAction> </PrivateAction> </Private> <Private entityRef="pedestrian_w_transform_15174"> <PrivateAction> <TeleportAction> <Position> <WorldPosition x="-95.06156921386719" y="-99.14581298828125" z="0.5"/> </Position> </TeleportAction> </PrivateAction> </Private> <Private entityRef="pedestrian_close_to_hero_15179"> <PrivateAction> <TeleportAction> <Position> <WorldPosition x="-15.968449592590332" y="-155.34375" z="0.0016471862327307463"/> </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_hero_4187"> <Pedestrian model="walker.pedestrian.0001" mass="80" name="walker.pedestrian.0001" pedestrianCategory="pedestrian"> <ParameterDeclarations/> <BoundingBox> <Center x="1.5" y="0.0" z="0.9"/> <Dimensions width="2" length="2" height="2"/> </BoundingBox> <Properties> <Property name="type" value="simulation"/> </Properties> </Pedestrian> </ScenarioObject> <ScenarioObject name="pedestrian_close_to_adversary_4188"> <Pedestrian model="walker.pedestrian.0001" mass="80" name="walker.pedestrian.0001" pedestrianCategory="pedestrian"> <ParameterDeclarations/> <BoundingBox> <Center x="1.5" y="0.0" z="0.9"/> <Dimensions width="2" length="2" height="2"/> </BoundingBox> <Properties> <Property name="type" value="simulation"/> </Properties> </Pedestrian> </ScenarioObject> <ScenarioObject name="pedestrian_close_to_hero_4189"> <Pedestrian model="walker.pedestrian.0001" mass="80" name="walker.pedestrian.0001" pedestrianCategory="pedestrian"> <ParameterDeclarations/> <BoundingBox> <Center x="1.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_4187"> <PrivateAction> <TeleportAction> <Position> <WorldPosition x="0.5155170559883118" y="-148.47486877441406" z="0.0014525604201480746"/> </Position> </TeleportAction> </PrivateAction> </Private> <Private entityRef="pedestrian_close_to_adversary_4188"> <PrivateAction> <TeleportAction> <Position> <WorldPosition x="-26.51427459716797" y="-78.83824920654297" z="0.03380527347326279"/> </Position> </TeleportAction> </PrivateAction> </Private> <Private entityRef="pedestrian_close_to_hero_4189"> <PrivateAction> <TeleportAction> <Position> <WorldPosition x="-8.092546463012695" y="-157.88595581054688" z="0.0014525604201480746"/> </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_4187"> <Pedestrian model="walker.pedestrian.0001" mass="80" name="walker.pedestrian.0001" pedestrianCategory="pedestrian"> <ParameterDeclarations/> <BoundingBox> <Center x="1.5" y="0.0" z="0.9"/> <Dimensions width="2" length="2" height="2"/> </BoundingBox> <Properties> <Property name="type" value="simulation"/> </Properties> </Pedestrian> </ScenarioObject> <ScenarioObject name="pedestrian_close_to_adversary_4188"> <Pedestrian model="walker.pedestrian.0001" mass="80" name="walker.pedestrian.0001" pedestrianCategory="pedestrian"> <ParameterDeclarations/> <BoundingBox> <Center x="1.5" y="0.0" z="0.9"/> <Dimensions width="2" length="2" height="2"/> </BoundingBox> <Properties> <Property name="type" value="simulation"/> </Properties> </Pedestrian> </ScenarioObject> <ScenarioObject name="pedestrian_close_to_hero_4189"> <Pedestrian model="walker.pedestrian.0001" mass="80" name="walker.pedestrian.0001" pedestrianCategory="pedestrian"> <ParameterDeclarations/> <BoundingBox> <Center x="1.5" y="0.0" z="0.9"/> <Dimensions width="2" length="2" height="2"/> </BoundingBox> <Properties> <Property name="type" value="simulation"/> </Properties> </Pedestrian> </ScenarioObject> <ScenarioObject name="pedestrian_close_to_hero_4190"> <Pedestrian model="walker.pedestrian.0001" mass="80" name="walker.pedestrian.0001" pedestrianCategory="pedestrian"> <ParameterDeclarations/> <BoundingBox> <Center x="1.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_4187"> <PrivateAction> <TeleportAction> <Position> <WorldPosition x="0.5155170559883118" y="-148.47486877441406" z="0.0014525604201480746"/> </Position> </TeleportAction> </PrivateAction> </Private> <Private entityRef="pedestrian_close_to_adversary_4188"> <PrivateAction> <TeleportAction> <Position> <WorldPosition x="-26.51427459716797" y="-78.83824920654297" z="0.03380527347326279"/> </Position> </TeleportAction> </PrivateAction> </Private> <Private entityRef="pedestrian_close_to_hero_4189"> <PrivateAction> <TeleportAction> <Position> <WorldPosition x="-8.092546463012695" y="-157.88595581054688" z="0.0014525604201480746"/> </Position> </TeleportAction> </PrivateAction> </Private> <Private entityRef="pedestrian_close_to_hero_4190"> <PrivateAction> <TeleportAction> <Position> <WorldPosition x="-13.854620933532715" y="-158.41685485839844" z="0.0014525604201480746"/> </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 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_5246"> <Pedestrian model="walker.pedestrian.0001" mass="80" name="walker.pedestrian.0001" pedestrianCategory="pedestrian"> <ParameterDeclarations/> <BoundingBox> <Center x="1.5" y="0.0" z="0.9"/> <Dimensions width="2" length="2" height="2"/> </BoundingBox> <Properties> <Property name="type" value="simulation"/> </Properties> </Pedestrian> </ScenarioObject> <ScenarioObject name="pedestrian_close_to_standing_5247"> <Pedestrian model="walker.pedestrian.0001" mass="80" name="walker.pedestrian.0001" pedestrianCategory="pedestrian"> <ParameterDeclarations/> <BoundingBox> <Center x="1.5" y="0.0" z="0.9"/> <Dimensions width="2" length="2" height="2"/> </BoundingBox> <Properties> <Property name="type" value="simulation"/> </Properties> </Pedestrian> </ScenarioObject> <ScenarioObject name="pedestrian_w_transform_5248"> <Pedestrian model="walker.pedestrian.0001" mass="80" name="walker.pedestrian.0001" pedestrianCategory="pedestrian"> <ParameterDeclarations/> <BoundingBox> <Center x="1.5" y="0.0" z="0.9"/> <Dimensions width="2" length="2" height="2"/> </BoundingBox> <Properties> <Property name="type" value="simulation"/> </Properties> </Pedestrian> </ScenarioObject> <ScenarioObject name="pedestrian_close_to_adversary_5249"> <Pedestrian model="walker.pedestrian.0001" mass="80" name="walker.pedestrian.0001" pedestrianCategory="pedestrian"> <ParameterDeclarations/> <BoundingBox> <Center x="1.5" y="0.0" z="0.9"/> <Dimensions width="2" length="2" height="2"/> </BoundingBox> <Properties> <Property name="type" value="simulation"/> </Properties> </Pedestrian> </ScenarioObject> <ScenarioObject name="pedestrian_w_transform_5252"> <Pedestrian model="walker.pedestrian.0001" mass="80" name="walker.pedestrian.0001" pedestrianCategory="pedestrian"> <ParameterDeclarations/> <BoundingBox> <Center x="1.5" y="0.0" z="0.9"/> <Dimensions width="2" length="2" height="2"/> </BoundingBox> <Properties> <Property name="type" value="simulation"/> </Properties> </Pedestrian> </ScenarioObject> <ScenarioObject name="pedestrian_w_transform_5253"> <Pedestrian model="walker.pedestrian.0001" mass="80" name="walker.pedestrian.0001" pedestrianCategory="pedestrian"> <ParameterDeclarations/> <BoundingBox> <Center x="1.5" y="0.0" z="0.9"/> <Dimensions width="2" length="2" height="2"/> </BoundingBox> <Properties> <Property name="type" value="simulation"/> </Properties> </Pedestrian> </ScenarioObject> <ScenarioObject name="pedestrian_close_to_hero_5254"> <Pedestrian model="walker.pedestrian.0001" mass="80" name="walker.pedestrian.0001" pedestrianCategory="pedestrian"> <ParameterDeclarations/> <BoundingBox> <Center x="1.5" y="0.0" z="0.9"/> <Dimensions width="2" length="2" height="2"/> </BoundingBox> <Properties> <Property name="type" value="simulation"/> </Properties> </Pedestrian> </ScenarioObject> <ScenarioObject name="pedestrian_close_to_standing_5255"> <Pedestrian model="walker.pedestrian.0001" mass="80" name="walker.pedestrian.0001" pedestrianCategory="pedestrian"> <ParameterDeclarations/> <BoundingBox> <Center x="1.5" y="0.0" z="0.9"/> <Dimensions width="2" length="2" height="2"/> </BoundingBox> <Properties> <Property name="type" value="simulation"/> </Properties> </Pedestrian> </ScenarioObject> <ScenarioObject name="pedestrian_close_to_standing_5256"> <Pedestrian model="walker.pedestrian.0001" mass="80" name="walker.pedestrian.0001" pedestrianCategory="pedestrian"> <ParameterDeclarations/> <BoundingBox> <Center x="1.5" y="0.0" z="0.9"/> <Dimensions width="2" length="2" height="2"/> </BoundingBox> <Properties> <Property name="type" value="simulation"/> </Properties> </Pedestrian> </ScenarioObject> <ScenarioObject name="pedestrian_close_to_standing_5257"> <Pedestrian model="walker.pedestrian.0001" mass="80" name="walker.pedestrian.0001" pedestrianCategory="pedestrian"> <ParameterDeclarations/> <BoundingBox> <Center x="1.5" y="0.0" z="0.9"/> <Dimensions width="2" length="2" height="2"/> </BoundingBox> <Properties> <Property name="type" value="simulation"/> </Properties> </Pedestrian> </ScenarioObject> <ScenarioObject name="pedestrian_w_transform_5258"> <Pedestrian model="walker.pedestrian.0001" mass="80" name="walker.pedestrian.0001" pedestrianCategory="pedestrian"> <ParameterDeclarations/> <BoundingBox> <Center x="1.5" y="0.0" z="0.9"/> <Dimensions width="2" length="2" height="2"/> </BoundingBox> <Properties> <Property name="type" value="simulation"/> </Properties> </Pedestrian> </ScenarioObject> <ScenarioObject name="pedestrian_w_transform_5259"> <Pedestrian model="walker.pedestrian.0001" mass="80" name="walker.pedestrian.0001" pedestrianCategory="pedestrian"> <ParameterDeclarations/> <BoundingBox> <Center x="1.5" y="0.0" z="0.9"/> <Dimensions width="2" length="2" height="2"/> </BoundingBox> <Properties> <Property name="type" value="simulation"/> </Properties> </Pedestrian> </ScenarioObject> <ScenarioObject name="pedestrian_close_to_hero_5260"> <Pedestrian model="walker.pedestrian.0001" mass="80" name="walker.pedestrian.0001" pedestrianCategory="pedestrian"> <ParameterDeclarations/> <BoundingBox> <Center x="1.5" y="0.0" z="0.9"/> <Dimensions width="2" length="2" height="2"/> </BoundingBox> <Properties> <Property name="type" value="simulation"/> </Properties> </Pedestrian> </ScenarioObject> <ScenarioObject name="pedestrian_w_transform_5261"> <Pedestrian model="walker.pedestrian.0001" mass="80" name="walker.pedestrian.0001" pedestrianCategory="pedestrian"> <ParameterDeclarations/> <BoundingBox> <Center x="1.5" y="0.0" z="0.9"/> <Dimensions width="2" length="2" height="2"/> </BoundingBox> <Properties> <Property name="type" value="simulation"/> </Properties> </Pedestrian> </ScenarioObject> <ScenarioObject name="pedestrian_close_to_adversary_5262"> <Pedestrian model="walker.pedestrian.0001" mass="80" name="walker.pedestrian.0001" pedestrianCategory="pedestrian"> <ParameterDeclarations/> <BoundingBox> <Center x="1.5" y="0.0" z="0.9"/> <Dimensions width="2" length="2" height="2"/> </BoundingBox> <Properties> <Property name="type" value="simulation"/> </Properties> </Pedestrian> </ScenarioObject> <ScenarioObject name="pedestrian_w_transform_5263"> <Pedestrian model="walker.pedestrian.0001" mass="80" name="walker.pedestrian.0001" pedestrianCategory="pedestrian"> <ParameterDeclarations/> <BoundingBox> <Center x="1.5" y="0.0" z="0.9"/> <Dimensions width="2" length="2" height="2"/> </BoundingBox> <Properties> <Property name="type" value="simulation"/> </Properties> </Pedestrian> </ScenarioObject> <ScenarioObject name="pedestrian_close_to_adversary_5264"> <Pedestrian model="walker.pedestrian.0001" mass="80" name="walker.pedestrian.0001" pedestrianCategory="pedestrian"> <ParameterDeclarations/> <BoundingBox> <Center x="1.5" y="0.0" z="0.9"/> <Dimensions width="2" length="2" height="2"/> </BoundingBox> <Properties> <Property name="type" value="simulation"/> </Properties> </Pedestrian> </ScenarioObject> <ScenarioObject name="pedestrian_w_transform_5265"> <Pedestrian model="walker.pedestrian.0001" mass="80" name="walker.pedestrian.0001" pedestrianCategory="pedestrian"> <ParameterDeclarations/> <BoundingBox> <Center x="1.5" y="0.0" z="0.9"/> <Dimensions width="2" length="2" height="2"/> </BoundingBox> <Properties> <Property name="type" value="simulation"/> </Properties> </Pedestrian> </ScenarioObject> <ScenarioObject name="pedestrian_close_to_hero_5266"> <Pedestrian model="walker.pedestrian.0001" mass="80" name="walker.pedestrian.0001" pedestrianCategory="pedestrian"> <ParameterDeclarations/> <BoundingBox> <Center x="1.5" y="0.0" z="0.9"/> <Dimensions width="2" length="2" height="2"/> </BoundingBox> <Properties> <Property name="type" value="simulation"/> </Properties> </Pedestrian> </ScenarioObject> <ScenarioObject name="pedestrian_w_transform_5267"> <Pedestrian model="walker.pedestrian.0001" mass="80" name="walker.pedestrian.0001" pedestrianCategory="pedestrian"> <ParameterDeclarations/> <BoundingBox> <Center x="1.5" y="0.0" z="0.9"/> <Dimensions width="2" length="2" height="2"/> </BoundingBox> <Properties> <Property name="type" value="simulation"/> </Properties> </Pedestrian> </ScenarioObject> <ScenarioObject name="pedestrian_close_to_standing_5268"> <Pedestrian model="walker.pedestrian.0001" mass="80" name="walker.pedestrian.0001" pedestrianCategory="pedestrian"> <ParameterDeclarations/> <BoundingBox> <Center x="1.5" y="0.0" z="0.9"/> <Dimensions width="2" length="2" height="2"/> </BoundingBox> <Properties> <Property name="type" value="simulation"/> </Properties> </Pedestrian> </ScenarioObject> <ScenarioObject name="pedestrian_w_transform_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> </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_5246"> <PrivateAction> <TeleportAction> <Position> <WorldPosition x="-12.515719413757324" y="-147.23587036132812" z="0.0018838500836864114"/> </Position> </TeleportAction> </PrivateAction> </Private> <Private entityRef="pedestrian_close_to_standing_5247"> <PrivateAction> <TeleportAction> <Position> <WorldPosition x="-9.049541473388672" y="41.086402893066406" z="0.0031304550357162952"/> </Position> </TeleportAction> </PrivateAction> </Private> <Private entityRef="pedestrian_w_transform_5248"> <PrivateAction> <TeleportAction> <Position> <WorldPosition x="-40.860206604003906" y="5.480555057525635" z="0.5"/> </Position> </TeleportAction> </PrivateAction> </Private> <Private entityRef="pedestrian_close_to_adversary_5249"> <PrivateAction> <TeleportAction> <Position> <WorldPosition x="-16.66477394104004" y="-76.04621887207031" z="0.033910635858774185"/> </Position> </TeleportAction> </PrivateAction> </Private> <Private entityRef="pedestrian_w_transform_5252"> <PrivateAction> <TeleportAction> <Position> <WorldPosition x="-81.79784393310547" y="13.850663185119629" z="0.5"/> </Position> </TeleportAction> </PrivateAction> </Private> <Private entityRef="pedestrian_w_transform_5253"> <PrivateAction> <TeleportAction> <Position> <WorldPosition x="71.87560272216797" y="2.608527898788452" z="0.5"/> </Position> </TeleportAction> </PrivateAction> </Private> <Private entityRef="pedestrian_close_to_hero_5254"> <PrivateAction> <TeleportAction> <Position> <WorldPosition x="-9.872644424438477" y="-157.3831329345703" z="0.0018838500836864114"/> </Position> </TeleportAction> </PrivateAction> </Private> <Private entityRef="pedestrian_close_to_standing_5255"> <PrivateAction> <TeleportAction> <Position> <WorldPosition x="-14.732917785644531" y="27.174449920654297" z="0.0031372832600027323"/> </Position> </TeleportAction> </PrivateAction> </Private> <Private entityRef="pedestrian_close_to_standing_5256"> <PrivateAction> <TeleportAction> <Position> <WorldPosition x="-17.863636016845703" y="32.283538818359375" z="0.0031136702746152878"/> </Position> </TeleportAction> </PrivateAction> </Private> <Private entityRef="pedestrian_close_to_standing_5257"> <PrivateAction> <TeleportAction> <Position> <WorldPosition x="-15.683061599731445" y="34.78520202636719" z="0.0031113051809370518"/> </Position> </TeleportAction> </PrivateAction> </Private> <Private entityRef="pedestrian_w_transform_5258"> <PrivateAction> <TeleportAction> <Position> <WorldPosition x="-71.878173828125" y="-67.41431427001953" z="0.5"/> </Position> </TeleportAction> </PrivateAction> </Private> <Private entityRef="pedestrian_w_transform_5259"> <PrivateAction> <TeleportAction> <Position> <WorldPosition x="76.68659973144531" y="96.9432601928711" z="0.5"/> </Position> </TeleportAction> </PrivateAction> </Private> <Private entityRef="pedestrian_close_to_hero_5260"> <PrivateAction> <TeleportAction> <Position> <WorldPosition x="-9.798136711120605" y="-143.3206787109375" z="0.0018838500836864114"/> </Position> </TeleportAction> </PrivateAction> </Private> <Private entityRef="pedestrian_w_transform_5261"> <PrivateAction> <TeleportAction> <Position> <WorldPosition x="64.64794921875" y="93.091796875" z="0.5"/> </Position> </TeleportAction> </PrivateAction> </Private> <Private entityRef="pedestrian_close_to_adversary_5262"> <PrivateAction> <TeleportAction> <Position> <WorldPosition x="-15.628130912780762" y="-66.35516357421875" z="0.03386104479432106"/> </Position> </TeleportAction> </PrivateAction> </Private> <Private entityRef="pedestrian_w_transform_5263"> <PrivateAction> <TeleportAction> <Position> <WorldPosition x="64.7365493774414" y="90.281005859375" z="0.5"/> </Position> </TeleportAction> </PrivateAction> </Private> <Private entityRef="pedestrian_close_to_adversary_5264"> <PrivateAction> <TeleportAction> <Position> <WorldPosition x="-17.056217193603516" y="-70.3337631225586" z="0.03386562317609787"/> </Position> </TeleportAction> </PrivateAction> </Private> <Private entityRef="pedestrian_w_transform_5265"> <PrivateAction> <TeleportAction> <Position> <WorldPosition x="82.12920379638672" y="26.828636169433594" z="0.5"/> </Position> </TeleportAction> </PrivateAction> </Private> <Private entityRef="pedestrian_close_to_hero_5266"> <PrivateAction> <TeleportAction> <Position> <WorldPosition x="-11.788393020629883" y="-153.24807739257812" z="0.0018838500836864114"/> </Position> </TeleportAction> </PrivateAction> </Private> <Private entityRef="pedestrian_w_transform_5267"> <PrivateAction> <TeleportAction> <Position> <WorldPosition x="-7.306771755218506" y="91.36795806884766" z="0.5"/> </Position> </TeleportAction> </PrivateAction> </Private> <Private entityRef="pedestrian_close_to_standing_5268"> <PrivateAction> <TeleportAction> <Position> <WorldPosition x="-8.856466293334961" y="32.84056091308594" z="0.0031079482287168503"/> </Position> </TeleportAction> </PrivateAction> </Private> <Private entityRef="pedestrian_w_transform_5269"> <PrivateAction> <TeleportAction> <Position> <WorldPosition x="74.50110626220703" y="85.37779998779297" z="0.5"/> </Position> </TeleportAction> </PrivateAction> </Private> <Private entityRef="pedestrian_w_transform_5270"> <PrivateAction> <TeleportAction> <Position> <WorldPosition x="23.203115463256836" y="-62.26625442504883" 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_5246"> <Pedestrian model="walker.pedestrian.0001" mass="80" name="walker.pedestrian.0001" pedestrianCategory="pedestrian"> <ParameterDeclarations/> <BoundingBox> <Center x="1.5" y="0.0" z="0.9"/> <Dimensions width="2" length="2" height="2"/> </BoundingBox> <Properties> <Property name="type" value="simulation"/> </Properties> </Pedestrian> </ScenarioObject> <ScenarioObject name="pedestrian_close_to_standing_5247"> <Pedestrian model="walker.pedestrian.0001" mass="80" name="walker.pedestrian.0001" pedestrianCategory="pedestrian"> <ParameterDeclarations/> <BoundingBox> <Center x="1.5" y="0.0" z="0.9"/> <Dimensions width="2" length="2" height="2"/> </BoundingBox> <Properties> <Property name="type" value="simulation"/> </Properties> </Pedestrian> </ScenarioObject> <ScenarioObject name="pedestrian_w_transform_5248"> <Pedestrian model="walker.pedestrian.0001" mass="80" name="walker.pedestrian.0001" pedestrianCategory="pedestrian"> <ParameterDeclarations/> <BoundingBox> <Center x="1.5" y="0.0" z="0.9"/> <Dimensions width="2" length="2" height="2"/> </BoundingBox> <Properties> <Property name="type" value="simulation"/> </Properties> </Pedestrian> </ScenarioObject> <ScenarioObject name="pedestrian_close_to_adversary_5249"> <Pedestrian model="walker.pedestrian.0001" mass="80" name="walker.pedestrian.0001" pedestrianCategory="pedestrian"> <ParameterDeclarations/> <BoundingBox> <Center x="1.5" y="0.0" z="0.9"/> <Dimensions width="2" length="2" height="2"/> </BoundingBox> <Properties> <Property name="type" value="simulation"/> </Properties> </Pedestrian> </ScenarioObject> <ScenarioObject name="pedestrian_w_transform_5252"> <Pedestrian model="walker.pedestrian.0001" mass="80" name="walker.pedestrian.0001" pedestrianCategory="pedestrian"> <ParameterDeclarations/> <BoundingBox> <Center x="1.5" y="0.0" z="0.9"/> <Dimensions width="2" length="2" height="2"/> </BoundingBox> <Properties> <Property name="type" value="simulation"/> </Properties> </Pedestrian> </ScenarioObject> <ScenarioObject name="pedestrian_w_transform_5253"> <Pedestrian model="walker.pedestrian.0001" mass="80" name="walker.pedestrian.0001" pedestrianCategory="pedestrian"> <ParameterDeclarations/> <BoundingBox> <Center x="1.5" y="0.0" z="0.9"/> <Dimensions width="2" length="2" height="2"/> </BoundingBox> <Properties> <Property name="type" value="simulation"/> </Properties> </Pedestrian> </ScenarioObject> <ScenarioObject name="pedestrian_close_to_hero_5254"> <Pedestrian model="walker.pedestrian.0001" mass="80" name="walker.pedestrian.0001" pedestrianCategory="pedestrian"> <ParameterDeclarations/> <BoundingBox> <Center x="1.5" y="0.0" z="0.9"/> <Dimensions width="2" length="2" height="2"/> </BoundingBox> <Properties> <Property name="type" value="simulation"/> </Properties> </Pedestrian> </ScenarioObject> <ScenarioObject name="pedestrian_close_to_standing_5255"> <Pedestrian model="walker.pedestrian.0001" mass="80" name="walker.pedestrian.0001" pedestrianCategory="pedestrian"> <ParameterDeclarations/> <BoundingBox> <Center x="1.5" y="0.0" z="0.9"/> <Dimensions width="2" length="2" height="2"/> </BoundingBox> <Properties> <Property name="type" value="simulation"/> </Properties> </Pedestrian> </ScenarioObject> <ScenarioObject name="pedestrian_close_to_standing_5256"> <Pedestrian model="walker.pedestrian.0001" mass="80" name="walker.pedestrian.0001" pedestrianCategory="pedestrian"> <ParameterDeclarations/> <BoundingBox> <Center x="1.5" y="0.0" z="0.9"/> <Dimensions width="2" length="2" height="2"/> </BoundingBox> <Properties> <Property name="type" value="simulation"/> </Properties> </Pedestrian> </ScenarioObject> <ScenarioObject name="pedestrian_close_to_standing_5257"> <Pedestrian model="walker.pedestrian.0001" mass="80" name="walker.pedestrian.0001" pedestrianCategory="pedestrian"> <ParameterDeclarations/> <BoundingBox> <Center x="1.5" y="0.0" z="0.9"/> <Dimensions width="2" length="2" height="2"/> </BoundingBox> <Properties> <Property name="type" value="simulation"/> </Properties> </Pedestrian> </ScenarioObject> <ScenarioObject name="pedestrian_w_transform_5258"> <Pedestrian model="walker.pedestrian.0001" mass="80" name="walker.pedestrian.0001" pedestrianCategory="pedestrian"> <ParameterDeclarations/> <BoundingBox> <Center x="1.5" y="0.0" z="0.9"/> <Dimensions width="2" length="2" height="2"/> </BoundingBox> <Properties> <Property name="type" value="simulation"/> </Properties> </Pedestrian> </ScenarioObject> <ScenarioObject name="pedestrian_w_transform_5259"> <Pedestrian model="walker.pedestrian.0001" mass="80" name="walker.pedestrian.0001" pedestrianCategory="pedestrian"> <ParameterDeclarations/> <BoundingBox> <Center x="1.5" y="0.0" z="0.9"/> <Dimensions width="2" length="2" height="2"/> </BoundingBox> <Properties> <Property name="type" value="simulation"/> </Properties> </Pedestrian> </ScenarioObject> <ScenarioObject name="pedestrian_close_to_hero_5260"> <Pedestrian model="walker.pedestrian.0001" mass="80" name="walker.pedestrian.0001" pedestrianCategory="pedestrian"> <ParameterDeclarations/> <BoundingBox> <Center x="1.5" y="0.0" z="0.9"/> <Dimensions width="2" length="2" height="2"/> </BoundingBox> <Properties> <Property name="type" value="simulation"/> </Properties> </Pedestrian> </ScenarioObject> <ScenarioObject name="pedestrian_w_transform_5261"> <Pedestrian model="walker.pedestrian.0001" mass="80" name="walker.pedestrian.0001" pedestrianCategory="pedestrian"> <ParameterDeclarations/> <BoundingBox> <Center x="1.5" y="0.0" z="0.9"/> <Dimensions width="2" length="2" height="2"/> </BoundingBox> <Properties> <Property name="type" value="simulation"/> </Properties> </Pedestrian> </ScenarioObject> <ScenarioObject name="pedestrian_close_to_adversary_5262"> <Pedestrian model="walker.pedestrian.0001" mass="80" name="walker.pedestrian.0001" pedestrianCategory="pedestrian"> <ParameterDeclarations/> <BoundingBox> <Center x="1.5" y="0.0" z="0.9"/> <Dimensions width="2" length="2" height="2"/> </BoundingBox> <Properties> <Property name="type" value="simulation"/> </Properties> </Pedestrian> </ScenarioObject> <ScenarioObject name="pedestrian_w_transform_5263"> <Pedestrian model="walker.pedestrian.0001" mass="80" name="walker.pedestrian.0001" pedestrianCategory="pedestrian"> <ParameterDeclarations/> <BoundingBox> <Center x="1.5" y="0.0" z="0.9"/> <Dimensions width="2" length="2" height="2"/> </BoundingBox> <Properties> <Property name="type" value="simulation"/> </Properties> </Pedestrian> </ScenarioObject> <ScenarioObject name="pedestrian_close_to_adversary_5264"> <Pedestrian model="walker.pedestrian.0001" mass="80" name="walker.pedestrian.0001" pedestrianCategory="pedestrian"> <ParameterDeclarations/> <BoundingBox> <Center x="1.5" y="0.0" z="0.9"/> <Dimensions width="2" length="2" height="2"/> </BoundingBox> <Properties> <Property name="type" value="simulation"/> </Properties> </Pedestrian> </ScenarioObject> <ScenarioObject name="pedestrian_w_transform_5265"> <Pedestrian model="walker.pedestrian.0001" mass="80" name="walker.pedestrian.0001" pedestrianCategory="pedestrian"> <ParameterDeclarations/> <BoundingBox> <Center x="1.5" y="0.0" z="0.9"/> <Dimensions width="2" length="2" height="2"/> </BoundingBox> <Properties> <Property name="type" value="simulation"/> </Properties> </Pedestrian> </ScenarioObject> <ScenarioObject name="pedestrian_close_to_hero_5266"> <Pedestrian model="walker.pedestrian.0001" mass="80" name="walker.pedestrian.0001" pedestrianCategory="pedestrian"> <ParameterDeclarations/> <BoundingBox> <Center x="1.5" y="0.0" z="0.9"/> <Dimensions width="2" length="2" height="2"/> </BoundingBox> <Properties> <Property name="type" value="simulation"/> </Properties> </Pedestrian> </ScenarioObject> <ScenarioObject name="pedestrian_w_transform_5267"> <Pedestrian model="walker.pedestrian.0001" mass="80" name="walker.pedestrian.0001" pedestrianCategory="pedestrian"> <ParameterDeclarations/> <BoundingBox> <Center x="1.5" y="0.0" z="0.9"/> <Dimensions width="2" length="2" height="2"/> </BoundingBox> <Properties> <Property name="type" value="simulation"/> </Properties> </Pedestrian> </ScenarioObject> <ScenarioObject name="pedestrian_close_to_standing_5268"> <Pedestrian model="walker.pedestrian.0001" mass="80" name="walker.pedestrian.0001" pedestrianCategory="pedestrian"> <ParameterDeclarations/> <BoundingBox> <Center x="1.5" y="0.0" z="0.9"/> <Dimensions width="2" length="2" height="2"/> </BoundingBox> <Properties> <Property name="type" value="simulation"/> </Properties> </Pedestrian> </ScenarioObject> <ScenarioObject name="pedestrian_w_transform_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> </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_5246"> <PrivateAction> <TeleportAction> <Position> <WorldPosition x="-12.515719413757324" y="-147.23587036132812" z="0.0018838500836864114"/> </Position> </TeleportAction> </PrivateAction> </Private> <Private entityRef="pedestrian_close_to_standing_5247"> <PrivateAction> <TeleportAction> <Position> <WorldPosition x="-9.049541473388672" y="41.086402893066406" z="0.0031304550357162952"/> </Position> </TeleportAction> </PrivateAction> </Private> <Private entityRef="pedestrian_w_transform_5248"> <PrivateAction> <TeleportAction> <Position> <WorldPosition x="-40.860206604003906" y="5.480555057525635" z="0.5"/> </Position> </TeleportAction> </PrivateAction> </Private> <Private entityRef="pedestrian_close_to_adversary_5249"> <PrivateAction> <TeleportAction> <Position> <WorldPosition x="-16.66477394104004" y="-76.04621887207031" z="0.033910635858774185"/> </Position> </TeleportAction> </PrivateAction> </Private> <Private entityRef="pedestrian_w_transform_5252"> <PrivateAction> <TeleportAction> <Position> <WorldPosition x="-81.79784393310547" y="13.850663185119629" z="0.5"/> </Position> </TeleportAction> </PrivateAction> </Private> <Private entityRef="pedestrian_w_transform_5253"> <PrivateAction> <TeleportAction> <Position> <WorldPosition x="71.87560272216797" y="2.608527898788452" z="0.5"/> </Position> </TeleportAction> </PrivateAction> </Private> <Private entityRef="pedestrian_close_to_hero_5254"> <PrivateAction> <TeleportAction> <Position> <WorldPosition x="-9.872644424438477" y="-157.3831329345703" z="0.0018838500836864114"/> </Position> </TeleportAction> </PrivateAction> </Private> <Private entityRef="pedestrian_close_to_standing_5255"> <PrivateAction> <TeleportAction> <Position> <WorldPosition x="-14.732917785644531" y="27.174449920654297" z="0.0031372832600027323"/> </Position> </TeleportAction> </PrivateAction> </Private> <Private entityRef="pedestrian_close_to_standing_5256"> <PrivateAction> <TeleportAction> <Position> <WorldPosition x="-17.863636016845703" y="32.283538818359375" z="0.0031136702746152878"/> </Position> </TeleportAction> </PrivateAction> </Private> <Private entityRef="pedestrian_close_to_standing_5257"> <PrivateAction> <TeleportAction> <Position> <WorldPosition x="-15.683061599731445" y="34.78520202636719" z="0.0031113051809370518"/> </Position> </TeleportAction> </PrivateAction> </Private> <Private entityRef="pedestrian_w_transform_5258"> <PrivateAction> <TeleportAction> <Position> <WorldPosition x="-71.878173828125" y="-67.41431427001953" z="0.5"/> </Position> </TeleportAction> </PrivateAction> </Private> <Private entityRef="pedestrian_w_transform_5259"> <PrivateAction> <TeleportAction> <Position> <WorldPosition x="76.68659973144531" y="96.9432601928711" z="0.5"/> </Position> </TeleportAction> </PrivateAction> </Private> <Private entityRef="pedestrian_close_to_hero_5260"> <PrivateAction> <TeleportAction> <Position> <WorldPosition x="-9.798136711120605" y="-143.3206787109375" z="0.0018838500836864114"/> </Position> </TeleportAction> </PrivateAction> </Private> <Private entityRef="pedestrian_w_transform_5261"> <PrivateAction> <TeleportAction> <Position> <WorldPosition x="64.64794921875" y="93.091796875" z="0.5"/> </Position> </TeleportAction> </PrivateAction> </Private> <Private entityRef="pedestrian_close_to_adversary_5262"> <PrivateAction> <TeleportAction> <Position> <WorldPosition x="-15.628130912780762" y="-66.35516357421875" z="0.03386104479432106"/> </Position> </TeleportAction> </PrivateAction> </Private> <Private entityRef="pedestrian_w_transform_5263"> <PrivateAction> <TeleportAction> <Position> <WorldPosition x="64.7365493774414" y="90.281005859375" z="0.5"/> </Position> </TeleportAction> </PrivateAction> </Private> <Private entityRef="pedestrian_close_to_adversary_5264"> <PrivateAction> <TeleportAction> <Position> <WorldPosition x="-17.056217193603516" y="-70.3337631225586" z="0.03386562317609787"/> </Position> </TeleportAction> </PrivateAction> </Private> <Private entityRef="pedestrian_w_transform_5265"> <PrivateAction> <TeleportAction> <Position> <WorldPosition x="82.12920379638672" y="26.828636169433594" z="0.5"/> </Position> </TeleportAction> </PrivateAction> </Private> <Private entityRef="pedestrian_close_to_hero_5266"> <PrivateAction> <TeleportAction> <Position> <WorldPosition x="-11.788393020629883" y="-153.24807739257812" z="0.0018838500836864114"/> </Position> </TeleportAction> </PrivateAction> </Private> <Private entityRef="pedestrian_w_transform_5267"> <PrivateAction> <TeleportAction> <Position> <WorldPosition x="-7.306771755218506" y="91.36795806884766" z="0.5"/> </Position> </TeleportAction> </PrivateAction> </Private> <Private entityRef="pedestrian_close_to_standing_5268"> <PrivateAction> <TeleportAction> <Position> <WorldPosition x="-8.856466293334961" y="32.84056091308594" z="0.0031079482287168503"/> </Position> </TeleportAction> </PrivateAction> </Private> <Private entityRef="pedestrian_w_transform_5269"> <PrivateAction> <TeleportAction> <Position> <WorldPosition x="74.50110626220703" y="85.37779998779297" z="0.5"/> </Position> </TeleportAction> </PrivateAction> </Private> <Private entityRef="pedestrian_w_transform_5270"> <PrivateAction> <TeleportAction> <Position> <WorldPosition x="23.203115463256836" y="-62.26625442504883" z="0.5"/> </Position> </TeleportAction> </PrivateAction> </Private> <Private entityRef="pedestrian_close_to_hero_5271"> <PrivateAction> <TeleportAction> <Position> <WorldPosition x="-17.927087783813477" y="-161.58119201660156" z="0.0018838500836864114"/> </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 at location (38.7, -13.97, 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_3582"> <Pedestrian model="walker.pedestrian.0001" mass="80" name="walker.pedestrian.0001" pedestrianCategory="pedestrian"> <ParameterDeclarations/> <BoundingBox> <Center x="1.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_3582"> <PrivateAction> <TeleportAction> <Position> <WorldPosition x="-16.192407608032227" y="-61.70799255371094" z="0.033838387578725815"/> </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_3582"> <Pedestrian model="walker.pedestrian.0001" mass="80" name="walker.pedestrian.0001" pedestrianCategory="pedestrian"> <ParameterDeclarations/> <BoundingBox> <Center x="1.5" y="0.0" z="0.9"/> <Dimensions width="2" length="2" height="2"/> </BoundingBox> <Properties> <Property name="type" value="simulation"/> </Properties> </Pedestrian> </ScenarioObject> <ScenarioObject name="pedestrian_w_transform_3583"> <Pedestrian model="walker.pedestrian.0001" mass="80" name="walker.pedestrian.0001" pedestrianCategory="pedestrian"> <ParameterDeclarations/> <BoundingBox> <Center x="1.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_3582"> <PrivateAction> <TeleportAction> <Position> <WorldPosition x="-16.192407608032227" y="-61.70799255371094" z="0.033838387578725815"/> </Position> </TeleportAction> </PrivateAction> </Private> <Private entityRef="pedestrian_w_transform_3583"> <PrivateAction> <TeleportAction> <Position> <WorldPosition x="38.69502258300781" y="-13.967655181884766" 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 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_28387"> <Pedestrian model="walker.pedestrian.0001" mass="80" name="walker.pedestrian.0001" pedestrianCategory="pedestrian"> <ParameterDeclarations/> <BoundingBox> <Center x="1.5" y="0.0" z="0.9"/> <Dimensions width="2" length="2" height="2"/> </BoundingBox> <Properties> <Property name="type" value="simulation"/> </Properties> </Pedestrian> </ScenarioObject> <ScenarioObject name="pedestrian_close_to_adversary_28388"> <Pedestrian model="walker.pedestrian.0001" mass="80" name="walker.pedestrian.0001" pedestrianCategory="pedestrian"> <ParameterDeclarations/> <BoundingBox> <Center x="1.5" y="0.0" z="0.9"/> <Dimensions width="2" length="2" height="2"/> </BoundingBox> <Properties> <Property name="type" value="simulation"/> </Properties> </Pedestrian> </ScenarioObject> <ScenarioObject name="pedestrian_w_transform_28389"> <Pedestrian model="walker.pedestrian.0001" mass="80" name="walker.pedestrian.0001" pedestrianCategory="pedestrian"> <ParameterDeclarations/> <BoundingBox> <Center x="1.5" y="0.0" z="0.9"/> <Dimensions width="2" length="2" height="2"/> </BoundingBox> <Properties> <Property name="type" value="simulation"/> </Properties> </Pedestrian> </ScenarioObject> <ScenarioObject name="pedestrian_w_transform_28390"> <Pedestrian model="walker.pedestrian.0001" mass="80" name="walker.pedestrian.0001" pedestrianCategory="pedestrian"> <ParameterDeclarations/> <BoundingBox> <Center x="1.5" y="0.0" z="0.9"/> <Dimensions width="2" length="2" height="2"/> </BoundingBox> <Properties> <Property name="type" value="simulation"/> </Properties> </Pedestrian> </ScenarioObject> <ScenarioObject name="pedestrian_w_transform_28391"> <Pedestrian model="walker.pedestrian.0001" mass="80" name="walker.pedestrian.0001" pedestrianCategory="pedestrian"> <ParameterDeclarations/> <BoundingBox> <Center x="1.5" y="0.0" z="0.9"/> <Dimensions width="2" length="2" height="2"/> </BoundingBox> <Properties> <Property name="type" value="simulation"/> </Properties> </Pedestrian> </ScenarioObject> <ScenarioObject name="pedestrian_close_to_hero_28392"> <Pedestrian model="walker.pedestrian.0001" mass="80" name="walker.pedestrian.0001" pedestrianCategory="pedestrian"> <ParameterDeclarations/> <BoundingBox> <Center x="1.5" y="0.0" z="0.9"/> <Dimensions width="2" length="2" height="2"/> </BoundingBox> <Properties> <Property name="type" value="simulation"/> </Properties> </Pedestrian> </ScenarioObject> <ScenarioObject name="pedestrian_w_transform_28393"> <Pedestrian model="walker.pedestrian.0001" mass="80" name="walker.pedestrian.0001" pedestrianCategory="pedestrian"> <ParameterDeclarations/> <BoundingBox> <Center x="1.5" y="0.0" z="0.9"/> <Dimensions width="2" length="2" height="2"/> </BoundingBox> <Properties> <Property name="type" value="simulation"/> </Properties> </Pedestrian> </ScenarioObject> <ScenarioObject name="pedestrian_close_to_adversary_28396"> <Pedestrian model="walker.pedestrian.0001" mass="80" name="walker.pedestrian.0001" pedestrianCategory="pedestrian"> <ParameterDeclarations/> <BoundingBox> <Center x="1.5" y="0.0" z="0.9"/> <Dimensions width="2" length="2" height="2"/> </BoundingBox> <Properties> <Property name="type" value="simulation"/> </Properties> </Pedestrian> </ScenarioObject> <ScenarioObject name="pedestrian_w_transform_28397"> <Pedestrian model="walker.pedestrian.0001" mass="80" name="walker.pedestrian.0001" pedestrianCategory="pedestrian"> <ParameterDeclarations/> <BoundingBox> <Center x="1.5" y="0.0" z="0.9"/> <Dimensions width="2" length="2" height="2"/> </BoundingBox> <Properties> <Property name="type" value="simulation"/> </Properties> </Pedestrian> </ScenarioObject> <ScenarioObject name="pedestrian_close_to_standing_28398"> <Pedestrian model="walker.pedestrian.0001" mass="80" name="walker.pedestrian.0001" pedestrianCategory="pedestrian"> <ParameterDeclarations/> <BoundingBox> <Center x="1.5" y="0.0" z="0.9"/> <Dimensions width="2" length="2" height="2"/> </BoundingBox> <Properties> <Property name="type" value="simulation"/> </Properties> </Pedestrian> </ScenarioObject> <ScenarioObject name="pedestrian_w_transform_28399"> <Pedestrian model="walker.pedestrian.0001" mass="80" name="walker.pedestrian.0001" pedestrianCategory="pedestrian"> <ParameterDeclarations/> <BoundingBox> <Center x="1.5" y="0.0" z="0.9"/> <Dimensions width="2" length="2" height="2"/> </BoundingBox> <Properties> <Property name="type" value="simulation"/> </Properties> </Pedestrian> </ScenarioObject> <ScenarioObject name="pedestrian_close_to_standing_28400"> <Pedestrian model="walker.pedestrian.0001" mass="80" name="walker.pedestrian.0001" pedestrianCategory="pedestrian"> <ParameterDeclarations/> <BoundingBox> <Center x="1.5" y="0.0" z="0.9"/> <Dimensions width="2" length="2" height="2"/> </BoundingBox> <Properties> <Property name="type" value="simulation"/> </Properties> </Pedestrian> </ScenarioObject> <ScenarioObject name="pedestrian_w_transform_28401"> <Pedestrian model="walker.pedestrian.0001" mass="80" name="walker.pedestrian.0001" pedestrianCategory="pedestrian"> <ParameterDeclarations/> <BoundingBox> <Center x="1.5" y="0.0" z="0.9"/> <Dimensions width="2" length="2" height="2"/> </BoundingBox> <Properties> <Property name="type" value="simulation"/> </Properties> </Pedestrian> </ScenarioObject> <ScenarioObject name="pedestrian_w_transform_28402"> <Pedestrian model="walker.pedestrian.0001" mass="80" name="walker.pedestrian.0001" pedestrianCategory="pedestrian"> <ParameterDeclarations/> <BoundingBox> <Center x="1.5" y="0.0" z="0.9"/> <Dimensions width="2" length="2" height="2"/> </BoundingBox> <Properties> <Property name="type" value="simulation"/> </Properties> </Pedestrian> </ScenarioObject> <ScenarioObject name="pedestrian_close_to_hero_28403"> <Pedestrian model="walker.pedestrian.0001" mass="80" name="walker.pedestrian.0001" pedestrianCategory="pedestrian"> <ParameterDeclarations/> <BoundingBox> <Center x="1.5" y="0.0" z="0.9"/> <Dimensions width="2" length="2" height="2"/> </BoundingBox> <Properties> <Property name="type" value="simulation"/> </Properties> </Pedestrian> </ScenarioObject> <ScenarioObject name="pedestrian_close_to_hero_28404"> <Pedestrian model="walker.pedestrian.0001" mass="80" name="walker.pedestrian.0001" pedestrianCategory="pedestrian"> <ParameterDeclarations/> <BoundingBox> <Center x="1.5" y="0.0" z="0.9"/> <Dimensions width="2" length="2" height="2"/> </BoundingBox> <Properties> <Property name="type" value="simulation"/> </Properties> </Pedestrian> </ScenarioObject> <ScenarioObject name="pedestrian_w_transform_28406"> <Pedestrian model="walker.pedestrian.0001" mass="80" name="walker.pedestrian.0001" pedestrianCategory="pedestrian"> <ParameterDeclarations/> <BoundingBox> <Center x="1.5" y="0.0" z="0.9"/> <Dimensions width="2" length="2" height="2"/> </BoundingBox> <Properties> <Property name="type" value="simulation"/> </Properties> </Pedestrian> </ScenarioObject> <ScenarioObject name="pedestrian_close_to_standing_28407"> <Pedestrian model="walker.pedestrian.0001" mass="80" name="walker.pedestrian.0001" pedestrianCategory="pedestrian"> <ParameterDeclarations/> <BoundingBox> <Center x="1.5" y="0.0" z="0.9"/> <Dimensions width="2" length="2" height="2"/> </BoundingBox> <Properties> <Property name="type" value="simulation"/> </Properties> </Pedestrian> </ScenarioObject> <ScenarioObject name="pedestrian_close_to_hero_28408"> <Pedestrian model="walker.pedestrian.0001" mass="80" name="walker.pedestrian.0001" pedestrianCategory="pedestrian"> <ParameterDeclarations/> <BoundingBox> <Center x="1.5" y="0.0" z="0.9"/> <Dimensions width="2" length="2" height="2"/> </BoundingBox> <Properties> <Property name="type" value="simulation"/> </Properties> </Pedestrian> </ScenarioObject> <ScenarioObject name="pedestrian_w_transform_28410"> <Pedestrian model="walker.pedestrian.0001" mass="80" name="walker.pedestrian.0001" pedestrianCategory="pedestrian"> <ParameterDeclarations/> <BoundingBox> <Center x="1.5" y="0.0" z="0.9"/> <Dimensions width="2" length="2" height="2"/> </BoundingBox> <Properties> <Property name="type" value="simulation"/> </Properties> </Pedestrian> </ScenarioObject> <ScenarioObject name="pedestrian_w_transform_28411"> <Pedestrian model="walker.pedestrian.0001" mass="80" name="walker.pedestrian.0001" pedestrianCategory="pedestrian"> <ParameterDeclarations/> <BoundingBox> <Center x="1.5" y="0.0" z="0.9"/> <Dimensions width="2" length="2" height="2"/> </BoundingBox> <Properties> <Property name="type" value="simulation"/> </Properties> </Pedestrian> </ScenarioObject> <ScenarioObject name="pedestrian_w_transform_28413"> <Pedestrian model="walker.pedestrian.0001" mass="80" name="walker.pedestrian.0001" pedestrianCategory="pedestrian"> <ParameterDeclarations/> <BoundingBox> <Center x="1.5" y="0.0" z="0.9"/> <Dimensions width="2" length="2" height="2"/> </BoundingBox> <Properties> <Property name="type" value="simulation"/> </Properties> </Pedestrian> </ScenarioObject> <ScenarioObject name="pedestrian_w_transform_28414"> <Pedestrian model="walker.pedestrian.0001" mass="80" name="walker.pedestrian.0001" pedestrianCategory="pedestrian"> <ParameterDeclarations/> <BoundingBox> <Center x="1.5" y="0.0" z="0.9"/> <Dimensions width="2" length="2" height="2"/> </BoundingBox> <Properties> <Property name="type" value="simulation"/> </Properties> </Pedestrian> </ScenarioObject> <ScenarioObject name="pedestrian_close_to_adversary_28415"> <Pedestrian model="walker.pedestrian.0001" mass="80" name="walker.pedestrian.0001" pedestrianCategory="pedestrian"> <ParameterDeclarations/> <BoundingBox> <Center x="1.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_28387"> <PrivateAction> <TeleportAction> <Position> <WorldPosition x="-1.0488343238830566" y="38.230201721191406" z="0.0030665206722915173"/> </Position> </TeleportAction> </PrivateAction> </Private> <Private entityRef="pedestrian_close_to_adversary_28388"> <PrivateAction> <TeleportAction> <Position> <WorldPosition x="-8.898898124694824" y="-79.91468048095703" z="0.03375038132071495"/> </Position> </TeleportAction> </PrivateAction> </Private> <Private entityRef="pedestrian_w_transform_28389"> <PrivateAction> <TeleportAction> <Position> <WorldPosition x="-46.57772445678711" y="13.472277641296387" z="0.5"/> </Position> </TeleportAction> </PrivateAction> </Private> <Private entityRef="pedestrian_w_transform_28390"> <PrivateAction> <TeleportAction> <Position> <WorldPosition x="-92.11811065673828" y="-57.927162170410156" z="0.5"/> </Position> </TeleportAction> </PrivateAction> </Private> <Private entityRef="pedestrian_w_transform_28391"> <PrivateAction> <TeleportAction> <Position> <WorldPosition x="-81.27226257324219" y="-73.83163452148438" z="0.5"/> </Position> </TeleportAction> </PrivateAction> </Private> <Private entityRef="pedestrian_close_to_hero_28392"> <PrivateAction> <TeleportAction> <Position> <WorldPosition x="1.9935879707336426" y="-155.099365234375" z="0.0020974730141460896"/> </Position> </TeleportAction> </PrivateAction> </Private> <Private entityRef="pedestrian_w_transform_28393"> <PrivateAction> <TeleportAction> <Position> <WorldPosition x="14.02526569366455" y="81.58065795898438" z="0.5"/> </Position> </TeleportAction> </PrivateAction> </Private> <Private entityRef="pedestrian_close_to_adversary_28396"> <PrivateAction> <TeleportAction> <Position> <WorldPosition x="-11.208086013793945" y="-66.10685729980469" z="0.03386760503053665"/> </Position> </TeleportAction> </PrivateAction> </Private> <Private entityRef="pedestrian_w_transform_28397"> <PrivateAction> <TeleportAction> <Position> <WorldPosition x="1.123812198638916" y="-44.70452117919922" z="0.5"/> </Position> </TeleportAction> </PrivateAction> </Private> <Private entityRef="pedestrian_close_to_standing_28398"> <PrivateAction> <TeleportAction> <Position> <WorldPosition x="-14.65037727355957" y="34.990966796875" z="0.003075561486184597"/> </Position> </TeleportAction> </PrivateAction> </Private> <Private entityRef="pedestrian_w_transform_28399"> <PrivateAction> <TeleportAction> <Position> <WorldPosition x="-2.2188374996185303" y="-78.84579467773438" z="0.5"/> </Position> </TeleportAction> </PrivateAction> </Private> <Private entityRef="pedestrian_close_to_standing_28400"> <PrivateAction> <TeleportAction> <Position> <WorldPosition x="1.1661392450332642" y="23.13470458984375" z="0.0030391693580895662"/> </Position> </TeleportAction> </PrivateAction> </Private> <Private entityRef="pedestrian_w_transform_28401"> <PrivateAction> <TeleportAction> <Position> <WorldPosition x="37.0156364440918" y="87.77206420898438" z="0.5"/> </Position> </TeleportAction> </PrivateAction> </Private> <Private entityRef="pedestrian_w_transform_28402"> <PrivateAction> <TeleportAction> <Position> <WorldPosition x="92.95773315429688" y="31.495128631591797" z="0.5"/> </Position> </TeleportAction> </PrivateAction> </Private> <Private entityRef="pedestrian_close_to_hero_28403"> <PrivateAction> <TeleportAction> <Position> <WorldPosition x="-9.105707168579102" y="-143.00167846679688" z="0.0020974730141460896"/> </Position> </TeleportAction> </PrivateAction> </Private> <Private entityRef="pedestrian_close_to_hero_28404"> <PrivateAction> <TeleportAction> <Position> <WorldPosition x="-6.991937637329102" y="-150.89053344726562" z="0.0020974730141460896"/> </Position> </TeleportAction> </PrivateAction> </Private> <Private entityRef="pedestrian_w_transform_28406"> <PrivateAction> <TeleportAction> <Position> <WorldPosition x="82.90386962890625" y="59.91610336303711" z="0.5"/> </Position> </TeleportAction> </PrivateAction> </Private> <Private entityRef="pedestrian_close_to_standing_28407"> <PrivateAction> <TeleportAction> <Position> <WorldPosition x="-12.541522026062012" y="32.802696228027344" z="0.0030845259316265583"/> </Position> </TeleportAction> </PrivateAction> </Private> <Private entityRef="pedestrian_close_to_hero_28408"> <PrivateAction> <TeleportAction> <Position> <WorldPosition x="-11.67218017578125" y="-146.79234313964844" z="0.0020974730141460896"/> </Position> </TeleportAction> </PrivateAction> </Private> <Private entityRef="pedestrian_w_transform_28410"> <PrivateAction> <TeleportAction> <Position> <WorldPosition x="-77.02204132080078" y="-64.58782196044922" z="0.5"/> </Position> </TeleportAction> </PrivateAction> </Private> <Private entityRef="pedestrian_w_transform_28411"> <PrivateAction> <TeleportAction> <Position> <WorldPosition x="97.42961120605469" y="-3.1217234134674072" z="0.5"/> </Position> </TeleportAction> </PrivateAction> </Private> <Private entityRef="pedestrian_w_transform_28413"> <PrivateAction> <TeleportAction> <Position> <WorldPosition x="32.61363220214844" y="-70.14632415771484" z="0.5"/> </Position> </TeleportAction> </PrivateAction> </Private> <Private entityRef="pedestrian_w_transform_28414"> <PrivateAction> <TeleportAction> <Position> <WorldPosition x="-80.00704193115234" y="-74.5386734008789" z="0.5"/> </Position> </TeleportAction> </PrivateAction> </Private> <Private entityRef="pedestrian_close_to_adversary_28415"> <PrivateAction> <TeleportAction> <Position> <WorldPosition x="-15.984723091125488" y="-67.26471710205078" z="0.033810921013355255"/> </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_28387"> <Pedestrian model="walker.pedestrian.0001" mass="80" name="walker.pedestrian.0001" pedestrianCategory="pedestrian"> <ParameterDeclarations/> <BoundingBox> <Center x="1.5" y="0.0" z="0.9"/> <Dimensions width="2" length="2" height="2"/> </BoundingBox> <Properties> <Property name="type" value="simulation"/> </Properties> </Pedestrian> </ScenarioObject> <ScenarioObject name="pedestrian_close_to_adversary_28388"> <Pedestrian model="walker.pedestrian.0001" mass="80" name="walker.pedestrian.0001" pedestrianCategory="pedestrian"> <ParameterDeclarations/> <BoundingBox> <Center x="1.5" y="0.0" z="0.9"/> <Dimensions width="2" length="2" height="2"/> </BoundingBox> <Properties> <Property name="type" value="simulation"/> </Properties> </Pedestrian> </ScenarioObject> <ScenarioObject name="pedestrian_w_transform_28389"> <Pedestrian model="walker.pedestrian.0001" mass="80" name="walker.pedestrian.0001" pedestrianCategory="pedestrian"> <ParameterDeclarations/> <BoundingBox> <Center x="1.5" y="0.0" z="0.9"/> <Dimensions width="2" length="2" height="2"/> </BoundingBox> <Properties> <Property name="type" value="simulation"/> </Properties> </Pedestrian> </ScenarioObject> <ScenarioObject name="pedestrian_w_transform_28390"> <Pedestrian model="walker.pedestrian.0001" mass="80" name="walker.pedestrian.0001" pedestrianCategory="pedestrian"> <ParameterDeclarations/> <BoundingBox> <Center x="1.5" y="0.0" z="0.9"/> <Dimensions width="2" length="2" height="2"/> </BoundingBox> <Properties> <Property name="type" value="simulation"/> </Properties> </Pedestrian> </ScenarioObject> <ScenarioObject name="pedestrian_w_transform_28391"> <Pedestrian model="walker.pedestrian.0001" mass="80" name="walker.pedestrian.0001" pedestrianCategory="pedestrian"> <ParameterDeclarations/> <BoundingBox> <Center x="1.5" y="0.0" z="0.9"/> <Dimensions width="2" length="2" height="2"/> </BoundingBox> <Properties> <Property name="type" value="simulation"/> </Properties> </Pedestrian> </ScenarioObject> <ScenarioObject name="pedestrian_close_to_hero_28392"> <Pedestrian model="walker.pedestrian.0001" mass="80" name="walker.pedestrian.0001" pedestrianCategory="pedestrian"> <ParameterDeclarations/> <BoundingBox> <Center x="1.5" y="0.0" z="0.9"/> <Dimensions width="2" length="2" height="2"/> </BoundingBox> <Properties> <Property name="type" value="simulation"/> </Properties> </Pedestrian> </ScenarioObject> <ScenarioObject name="pedestrian_w_transform_28393"> <Pedestrian model="walker.pedestrian.0001" mass="80" name="walker.pedestrian.0001" pedestrianCategory="pedestrian"> <ParameterDeclarations/> <BoundingBox> <Center x="1.5" y="0.0" z="0.9"/> <Dimensions width="2" length="2" height="2"/> </BoundingBox> <Properties> <Property name="type" value="simulation"/> </Properties> </Pedestrian> </ScenarioObject> <ScenarioObject name="pedestrian_close_to_adversary_28396"> <Pedestrian model="walker.pedestrian.0001" mass="80" name="walker.pedestrian.0001" pedestrianCategory="pedestrian"> <ParameterDeclarations/> <BoundingBox> <Center x="1.5" y="0.0" z="0.9"/> <Dimensions width="2" length="2" height="2"/> </BoundingBox> <Properties> <Property name="type" value="simulation"/> </Properties> </Pedestrian> </ScenarioObject> <ScenarioObject name="pedestrian_w_transform_28397"> <Pedestrian model="walker.pedestrian.0001" mass="80" name="walker.pedestrian.0001" pedestrianCategory="pedestrian"> <ParameterDeclarations/> <BoundingBox> <Center x="1.5" y="0.0" z="0.9"/> <Dimensions width="2" length="2" height="2"/> </BoundingBox> <Properties> <Property name="type" value="simulation"/> </Properties> </Pedestrian> </ScenarioObject> <ScenarioObject name="pedestrian_close_to_standing_28398"> <Pedestrian model="walker.pedestrian.0001" mass="80" name="walker.pedestrian.0001" pedestrianCategory="pedestrian"> <ParameterDeclarations/> <BoundingBox> <Center x="1.5" y="0.0" z="0.9"/> <Dimensions width="2" length="2" height="2"/> </BoundingBox> <Properties> <Property name="type" value="simulation"/> </Properties> </Pedestrian> </ScenarioObject> <ScenarioObject name="pedestrian_w_transform_28399"> <Pedestrian model="walker.pedestrian.0001" mass="80" name="walker.pedestrian.0001" pedestrianCategory="pedestrian"> <ParameterDeclarations/> <BoundingBox> <Center x="1.5" y="0.0" z="0.9"/> <Dimensions width="2" length="2" height="2"/> </BoundingBox> <Properties> <Property name="type" value="simulation"/> </Properties> </Pedestrian> </ScenarioObject> <ScenarioObject name="pedestrian_close_to_standing_28400"> <Pedestrian model="walker.pedestrian.0001" mass="80" name="walker.pedestrian.0001" pedestrianCategory="pedestrian"> <ParameterDeclarations/> <BoundingBox> <Center x="1.5" y="0.0" z="0.9"/> <Dimensions width="2" length="2" height="2"/> </BoundingBox> <Properties> <Property name="type" value="simulation"/> </Properties> </Pedestrian> </ScenarioObject> <ScenarioObject name="pedestrian_w_transform_28401"> <Pedestrian model="walker.pedestrian.0001" mass="80" name="walker.pedestrian.0001" pedestrianCategory="pedestrian"> <ParameterDeclarations/> <BoundingBox> <Center x="1.5" y="0.0" z="0.9"/> <Dimensions width="2" length="2" height="2"/> </BoundingBox> <Properties> <Property name="type" value="simulation"/> </Properties> </Pedestrian> </ScenarioObject> <ScenarioObject name="pedestrian_w_transform_28402"> <Pedestrian model="walker.pedestrian.0001" mass="80" name="walker.pedestrian.0001" pedestrianCategory="pedestrian"> <ParameterDeclarations/> <BoundingBox> <Center x="1.5" y="0.0" z="0.9"/> <Dimensions width="2" length="2" height="2"/> </BoundingBox> <Properties> <Property name="type" value="simulation"/> </Properties> </Pedestrian> </ScenarioObject> <ScenarioObject name="pedestrian_close_to_hero_28403"> <Pedestrian model="walker.pedestrian.0001" mass="80" name="walker.pedestrian.0001" pedestrianCategory="pedestrian"> <ParameterDeclarations/> <BoundingBox> <Center x="1.5" y="0.0" z="0.9"/> <Dimensions width="2" length="2" height="2"/> </BoundingBox> <Properties> <Property name="type" value="simulation"/> </Properties> </Pedestrian> </ScenarioObject> <ScenarioObject name="pedestrian_w_transform_28406"> <Pedestrian model="walker.pedestrian.0001" mass="80" name="walker.pedestrian.0001" pedestrianCategory="pedestrian"> <ParameterDeclarations/> <BoundingBox> <Center x="1.5" y="0.0" z="0.9"/> <Dimensions width="2" length="2" height="2"/> </BoundingBox> <Properties> <Property name="type" value="simulation"/> </Properties> </Pedestrian> </ScenarioObject> <ScenarioObject name="pedestrian_close_to_standing_28407"> <Pedestrian model="walker.pedestrian.0001" mass="80" name="walker.pedestrian.0001" pedestrianCategory="pedestrian"> <ParameterDeclarations/> <BoundingBox> <Center x="1.5" y="0.0" z="0.9"/> <Dimensions width="2" length="2" height="2"/> </BoundingBox> <Properties> <Property name="type" value="simulation"/> </Properties> </Pedestrian> </ScenarioObject> <ScenarioObject name="pedestrian_close_to_hero_28408"> <Pedestrian model="walker.pedestrian.0001" mass="80" name="walker.pedestrian.0001" pedestrianCategory="pedestrian"> <ParameterDeclarations/> <BoundingBox> <Center x="1.5" y="0.0" z="0.9"/> <Dimensions width="2" length="2" height="2"/> </BoundingBox> <Properties> <Property name="type" value="simulation"/> </Properties> </Pedestrian> </ScenarioObject> <ScenarioObject name="pedestrian_w_transform_28410"> <Pedestrian model="walker.pedestrian.0001" mass="80" name="walker.pedestrian.0001" pedestrianCategory="pedestrian"> <ParameterDeclarations/> <BoundingBox> <Center x="1.5" y="0.0" z="0.9"/> <Dimensions width="2" length="2" height="2"/> </BoundingBox> <Properties> <Property name="type" value="simulation"/> </Properties> </Pedestrian> </ScenarioObject> <ScenarioObject name="pedestrian_w_transform_28411"> <Pedestrian model="walker.pedestrian.0001" mass="80" name="walker.pedestrian.0001" pedestrianCategory="pedestrian"> <ParameterDeclarations/> <BoundingBox> <Center x="1.5" y="0.0" z="0.9"/> <Dimensions width="2" length="2" height="2"/> </BoundingBox> <Properties> <Property name="type" value="simulation"/> </Properties> </Pedestrian> </ScenarioObject> <ScenarioObject name="pedestrian_w_transform_28413"> <Pedestrian model="walker.pedestrian.0001" mass="80" name="walker.pedestrian.0001" pedestrianCategory="pedestrian"> <ParameterDeclarations/> <BoundingBox> <Center x="1.5" y="0.0" z="0.9"/> <Dimensions width="2" length="2" height="2"/> </BoundingBox> <Properties> <Property name="type" value="simulation"/> </Properties> </Pedestrian> </ScenarioObject> <ScenarioObject name="pedestrian_w_transform_28414"> <Pedestrian model="walker.pedestrian.0001" mass="80" name="walker.pedestrian.0001" pedestrianCategory="pedestrian"> <ParameterDeclarations/> <BoundingBox> <Center x="1.5" y="0.0" z="0.9"/> <Dimensions width="2" length="2" height="2"/> </BoundingBox> <Properties> <Property name="type" value="simulation"/> </Properties> </Pedestrian> </ScenarioObject> <ScenarioObject name="pedestrian_close_to_adversary_28415"> <Pedestrian model="walker.pedestrian.0001" mass="80" name="walker.pedestrian.0001" pedestrianCategory="pedestrian"> <ParameterDeclarations/> <BoundingBox> <Center x="1.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_28387"> <PrivateAction> <TeleportAction> <Position> <WorldPosition x="-1.0488343238830566" y="38.230201721191406" z="0.0030665206722915173"/> </Position> </TeleportAction> </PrivateAction> </Private> <Private entityRef="pedestrian_close_to_adversary_28388"> <PrivateAction> <TeleportAction> <Position> <WorldPosition x="-8.898898124694824" y="-79.91468048095703" z="0.03375038132071495"/> </Position> </TeleportAction> </PrivateAction> </Private> <Private entityRef="pedestrian_w_transform_28389"> <PrivateAction> <TeleportAction> <Position> <WorldPosition x="-46.57772445678711" y="13.472277641296387" z="0.5"/> </Position> </TeleportAction> </PrivateAction> </Private> <Private entityRef="pedestrian_w_transform_28390"> <PrivateAction> <TeleportAction> <Position> <WorldPosition x="-92.11811065673828" y="-57.927162170410156" z="0.5"/> </Position> </TeleportAction> </PrivateAction> </Private> <Private entityRef="pedestrian_w_transform_28391"> <PrivateAction> <TeleportAction> <Position> <WorldPosition x="-81.27226257324219" y="-73.83163452148438" z="0.5"/> </Position> </TeleportAction> </PrivateAction> </Private> <Private entityRef="pedestrian_close_to_hero_28392"> <PrivateAction> <TeleportAction> <Position> <WorldPosition x="1.9935879707336426" y="-155.099365234375" z="0.0020974730141460896"/> </Position> </TeleportAction> </PrivateAction> </Private> <Private entityRef="pedestrian_w_transform_28393"> <PrivateAction> <TeleportAction> <Position> <WorldPosition x="14.02526569366455" y="81.58065795898438" z="0.5"/> </Position> </TeleportAction> </PrivateAction> </Private> <Private entityRef="pedestrian_close_to_adversary_28396"> <PrivateAction> <TeleportAction> <Position> <WorldPosition x="-11.208086013793945" y="-66.10685729980469" z="0.03386760503053665"/> </Position> </TeleportAction> </PrivateAction> </Private> <Private entityRef="pedestrian_w_transform_28397"> <PrivateAction> <TeleportAction> <Position> <WorldPosition x="1.123812198638916" y="-44.70452117919922" z="0.5"/> </Position> </TeleportAction> </PrivateAction> </Private> <Private entityRef="pedestrian_close_to_standing_28398"> <PrivateAction> <TeleportAction> <Position> <WorldPosition x="-14.65037727355957" y="34.990966796875" z="0.003075561486184597"/> </Position> </TeleportAction> </PrivateAction> </Private> <Private entityRef="pedestrian_w_transform_28399"> <PrivateAction> <TeleportAction> <Position> <WorldPosition x="-2.2188374996185303" y="-78.84579467773438" z="0.5"/> </Position> </TeleportAction> </PrivateAction> </Private> <Private entityRef="pedestrian_close_to_standing_28400"> <PrivateAction> <TeleportAction> <Position> <WorldPosition x="1.1661392450332642" y="23.13470458984375" z="0.0030391693580895662"/> </Position> </TeleportAction> </PrivateAction> </Private> <Private entityRef="pedestrian_w_transform_28401"> <PrivateAction> <TeleportAction> <Position> <WorldPosition x="37.0156364440918" y="87.77206420898438" z="0.5"/> </Position> </TeleportAction> </PrivateAction> </Private> <Private entityRef="pedestrian_w_transform_28402"> <PrivateAction> <TeleportAction> <Position> <WorldPosition x="92.95773315429688" y="31.495128631591797" z="0.5"/> </Position> </TeleportAction> </PrivateAction> </Private> <Private entityRef="pedestrian_close_to_hero_28403"> <PrivateAction> <TeleportAction> <Position> <WorldPosition x="-9.105707168579102" y="-143.00167846679688" z="0.0020974730141460896"/> </Position> </TeleportAction> </PrivateAction> </Private> <Private entityRef="pedestrian_w_transform_28406"> <PrivateAction> <TeleportAction> <Position> <WorldPosition x="82.90386962890625" y="59.91610336303711" z="0.5"/> </Position> </TeleportAction> </PrivateAction> </Private> <Private entityRef="pedestrian_close_to_standing_28407"> <PrivateAction> <TeleportAction> <Position> <WorldPosition x="-12.541522026062012" y="32.802696228027344" z="0.0030845259316265583"/> </Position> </TeleportAction> </PrivateAction> </Private> <Private entityRef="pedestrian_close_to_hero_28408"> <PrivateAction> <TeleportAction> <Position> <WorldPosition x="-11.67218017578125" y="-146.79234313964844" z="0.0020974730141460896"/> </Position> </TeleportAction> </PrivateAction> </Private> <Private entityRef="pedestrian_w_transform_28410"> <PrivateAction> <TeleportAction> <Position> <WorldPosition x="-77.02204132080078" y="-64.58782196044922" z="0.5"/> </Position> </TeleportAction> </PrivateAction> </Private> <Private entityRef="pedestrian_w_transform_28411"> <PrivateAction> <TeleportAction> <Position> <WorldPosition x="97.42961120605469" y="-3.1217234134674072" z="0.5"/> </Position> </TeleportAction> </PrivateAction> </Private> <Private entityRef="pedestrian_w_transform_28413"> <PrivateAction> <TeleportAction> <Position> <WorldPosition x="32.61363220214844" y="-70.14632415771484" z="0.5"/> </Position> </TeleportAction> </PrivateAction> </Private> <Private entityRef="pedestrian_w_transform_28414"> <PrivateAction> <TeleportAction> <Position> <WorldPosition x="-80.00704193115234" y="-74.5386734008789" z="0.5"/> </Position> </TeleportAction> </PrivateAction> </Private> <Private entityRef="pedestrian_close_to_adversary_28415"> <PrivateAction> <TeleportAction> <Position> <WorldPosition x="-15.984723091125488" y="-67.26471710205078" z="0.033810921013355255"/> </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 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_27014"> <Pedestrian model="walker.pedestrian.0001" mass="80" name="walker.pedestrian.0001" pedestrianCategory="pedestrian"> <ParameterDeclarations/> <BoundingBox> <Center x="1.5" y="0.0" z="0.9"/> <Dimensions width="2" length="2" height="2"/> </BoundingBox> <Properties> <Property name="type" value="simulation"/> </Properties> </Pedestrian> </ScenarioObject> <ScenarioObject name="pedestrian_close_to_hero_27016"> <Pedestrian model="walker.pedestrian.0001" mass="80" name="walker.pedestrian.0001" pedestrianCategory="pedestrian"> <ParameterDeclarations/> <BoundingBox> <Center x="1.5" y="0.0" z="0.9"/> <Dimensions width="2" length="2" height="2"/> </BoundingBox> <Properties> <Property name="type" value="simulation"/> </Properties> </Pedestrian> </ScenarioObject> <ScenarioObject name="pedestrian_close_to_adversary_27017"> <Pedestrian model="walker.pedestrian.0001" mass="80" name="walker.pedestrian.0001" pedestrianCategory="pedestrian"> <ParameterDeclarations/> <BoundingBox> <Center x="1.5" y="0.0" z="0.9"/> <Dimensions width="2" length="2" height="2"/> </BoundingBox> <Properties> <Property name="type" value="simulation"/> </Properties> </Pedestrian> </ScenarioObject> <ScenarioObject name="pedestrian_close_to_standing_27018"> <Pedestrian model="walker.pedestrian.0001" mass="80" name="walker.pedestrian.0001" pedestrianCategory="pedestrian"> <ParameterDeclarations/> <BoundingBox> <Center x="1.5" y="0.0" z="0.9"/> <Dimensions width="2" length="2" height="2"/> </BoundingBox> <Properties> <Property name="type" value="simulation"/> </Properties> </Pedestrian> </ScenarioObject> <ScenarioObject name="pedestrian_close_to_standing_27019"> <Pedestrian model="walker.pedestrian.0001" mass="80" name="walker.pedestrian.0001" pedestrianCategory="pedestrian"> <ParameterDeclarations/> <BoundingBox> <Center x="1.5" y="0.0" z="0.9"/> <Dimensions width="2" length="2" height="2"/> </BoundingBox> <Properties> <Property name="type" value="simulation"/> </Properties> </Pedestrian> </ScenarioObject> <ScenarioObject name="pedestrian_close_to_standing_27020"> <Pedestrian model="walker.pedestrian.0001" mass="80" name="walker.pedestrian.0001" pedestrianCategory="pedestrian"> <ParameterDeclarations/> <BoundingBox> <Center x="1.5" y="0.0" z="0.9"/> <Dimensions width="2" length="2" height="2"/> </BoundingBox> <Properties> <Property name="type" value="simulation"/> </Properties> </Pedestrian> </ScenarioObject> <ScenarioObject name="pedestrian_w_transform_27022"> <Pedestrian model="walker.pedestrian.0001" mass="80" name="walker.pedestrian.0001" pedestrianCategory="pedestrian"> <ParameterDeclarations/> <BoundingBox> <Center x="1.5" y="0.0" z="0.9"/> <Dimensions width="2" length="2" height="2"/> </BoundingBox> <Properties> <Property name="type" value="simulation"/> </Properties> </Pedestrian> </ScenarioObject> <ScenarioObject name="pedestrian_close_to_adversary_27024"> <Pedestrian model="walker.pedestrian.0001" mass="80" name="walker.pedestrian.0001" pedestrianCategory="pedestrian"> <ParameterDeclarations/> <BoundingBox> <Center x="1.5" y="0.0" z="0.9"/> <Dimensions width="2" length="2" height="2"/> </BoundingBox> <Properties> <Property name="type" value="simulation"/> </Properties> </Pedestrian> </ScenarioObject> <ScenarioObject name="pedestrian_w_transform_27025"> <Pedestrian model="walker.pedestrian.0001" mass="80" name="walker.pedestrian.0001" pedestrianCategory="pedestrian"> <ParameterDeclarations/> <BoundingBox> <Center x="1.5" y="0.0" z="0.9"/> <Dimensions width="2" length="2" height="2"/> </BoundingBox> <Properties> <Property name="type" value="simulation"/> </Properties> </Pedestrian> </ScenarioObject> <ScenarioObject name="pedestrian_w_transform_27028"> <Pedestrian model="walker.pedestrian.0001" mass="80" name="walker.pedestrian.0001" pedestrianCategory="pedestrian"> <ParameterDeclarations/> <BoundingBox> <Center x="1.5" y="0.0" z="0.9"/> <Dimensions width="2" length="2" height="2"/> </BoundingBox> <Properties> <Property name="type" value="simulation"/> </Properties> </Pedestrian> </ScenarioObject> <ScenarioObject name="pedestrian_w_transform_27029"> <Pedestrian model="walker.pedestrian.0001" mass="80" name="walker.pedestrian.0001" pedestrianCategory="pedestrian"> <ParameterDeclarations/> <BoundingBox> <Center x="1.5" y="0.0" z="0.9"/> <Dimensions width="2" length="2" height="2"/> </BoundingBox> <Properties> <Property name="type" value="simulation"/> </Properties> </Pedestrian> </ScenarioObject> <ScenarioObject name="pedestrian_w_transform_27030"> <Pedestrian model="walker.pedestrian.0001" mass="80" name="walker.pedestrian.0001" pedestrianCategory="pedestrian"> <ParameterDeclarations/> <BoundingBox> <Center x="1.5" y="0.0" z="0.9"/> <Dimensions width="2" length="2" height="2"/> </BoundingBox> <Properties> <Property name="type" value="simulation"/> </Properties> </Pedestrian> </ScenarioObject> <ScenarioObject name="pedestrian_w_transform_27033"> <Pedestrian model="walker.pedestrian.0001" mass="80" name="walker.pedestrian.0001" pedestrianCategory="pedestrian"> <ParameterDeclarations/> <BoundingBox> <Center x="1.5" y="0.0" z="0.9"/> <Dimensions width="2" length="2" height="2"/> </BoundingBox> <Properties> <Property name="type" value="simulation"/> </Properties> </Pedestrian> </ScenarioObject> <ScenarioObject name="pedestrian_close_to_adversary_27034"> <Pedestrian model="walker.pedestrian.0001" mass="80" name="walker.pedestrian.0001" pedestrianCategory="pedestrian"> <ParameterDeclarations/> <BoundingBox> <Center x="1.5" y="0.0" z="0.9"/> <Dimensions width="2" length="2" height="2"/> </BoundingBox> <Properties> <Property name="type" value="simulation"/> </Properties> </Pedestrian> </ScenarioObject> <ScenarioObject name="pedestrian_close_to_adversary_27038"> <Pedestrian model="walker.pedestrian.0001" mass="80" name="walker.pedestrian.0001" pedestrianCategory="pedestrian"> <ParameterDeclarations/> <BoundingBox> <Center x="1.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_27014"> <PrivateAction> <TeleportAction> <Position> <WorldPosition x="-2.7218897342681885" y="-66.641357421875" z="0.033853109925985336"/> </Position> </TeleportAction> </PrivateAction> </Private> <Private entityRef="pedestrian_close_to_hero_27016"> <PrivateAction> <TeleportAction> <Position> <WorldPosition x="-2.9609267711639404" y="-155.7568817138672" z="0.0019445419311523438"/> </Position> </TeleportAction> </PrivateAction> </Private> <Private entityRef="pedestrian_close_to_adversary_27017"> <PrivateAction> <TeleportAction> <Position> <WorldPosition x="-13.705954551696777" y="-64.72303771972656" z="0.033857498317956924"/> </Position> </TeleportAction> </PrivateAction> </Private> <Private entityRef="pedestrian_close_to_standing_27018"> <PrivateAction> <TeleportAction> <Position> <WorldPosition x="-6.649022102355957" y="20.241783142089844" z="0.0031108856201171875"/> </Position> </TeleportAction> </PrivateAction> </Private> <Private entityRef="pedestrian_close_to_standing_27019"> <PrivateAction> <TeleportAction> <Position> <WorldPosition x="-9.93201732635498" y="33.09169387817383" z="0.0031124877277761698"/> </Position> </TeleportAction> </PrivateAction> </Private> <Private entityRef="pedestrian_close_to_standing_27020"> <PrivateAction> <TeleportAction> <Position> <WorldPosition x="-18.098316192626953" y="27.95265769958496" z="0.0031241606920957565"/> </Position> </TeleportAction> </PrivateAction> </Private> <Private entityRef="pedestrian_w_transform_27022"> <PrivateAction> <TeleportAction> <Position> <WorldPosition x="-90.86725616455078" y="-29.003089904785156" z="0.5"/> </Position> </TeleportAction> </PrivateAction> </Private> <Private entityRef="pedestrian_close_to_adversary_27024"> <PrivateAction> <TeleportAction> <Position> <WorldPosition x="-13.6404447555542" y="-80.59878540039062" z="0.03389057144522667"/> </Position> </TeleportAction> </PrivateAction> </Private> <Private entityRef="pedestrian_w_transform_27025"> <PrivateAction> <TeleportAction> <Position> <WorldPosition x="-65.46920776367188" y="43.450538635253906" z="0.5"/> </Position> </TeleportAction> </PrivateAction> </Private> <Private entityRef="pedestrian_w_transform_27028"> <PrivateAction> <TeleportAction> <Position> <WorldPosition x="89.91285705566406" y="86.12427520751953" z="0.5"/> </Position> </TeleportAction> </PrivateAction> </Private> <Private entityRef="pedestrian_w_transform_27029"> <PrivateAction> <TeleportAction> <Position> <WorldPosition x="5.312768936157227" y="9.528388977050781" z="0.5"/> </Position> </TeleportAction> </PrivateAction> </Private> <Private entityRef="pedestrian_w_transform_27030"> <PrivateAction> <TeleportAction> <Position> <WorldPosition x="1.6269170045852661" y="-43.12794876098633" z="0.5"/> </Position> </TeleportAction> </PrivateAction> </Private> <Private entityRef="pedestrian_w_transform_27033"> <PrivateAction> <TeleportAction> <Position> <WorldPosition x="-82.09961700439453" y="-4.0865254402160645" z="0.5"/> </Position> </TeleportAction> </PrivateAction> </Private> <Private entityRef="pedestrian_close_to_adversary_27034"> <PrivateAction> <TeleportAction> <Position> <WorldPosition x="-6.135709762573242" y="-64.5342025756836" z="0.03385986387729645"/> </Position> </TeleportAction> </PrivateAction> </Private> <Private entityRef="pedestrian_close_to_adversary_27038"> <PrivateAction> <TeleportAction> <Position> <WorldPosition x="-2.2453455924987793" y="-79.71744537353516" z="0.0338611975312233"/> </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_27014"> <Pedestrian model="walker.pedestrian.0001" mass="80" name="walker.pedestrian.0001" pedestrianCategory="pedestrian"> <ParameterDeclarations/> <BoundingBox> <Center x="1.5" y="0.0" z="0.9"/> <Dimensions width="2" length="2" height="2"/> </BoundingBox> <Properties> <Property name="type" value="simulation"/> </Properties> </Pedestrian> </ScenarioObject> <ScenarioObject name="pedestrian_close_to_hero_27016"> <Pedestrian model="walker.pedestrian.0001" mass="80" name="walker.pedestrian.0001" pedestrianCategory="pedestrian"> <ParameterDeclarations/> <BoundingBox> <Center x="1.5" y="0.0" z="0.9"/> <Dimensions width="2" length="2" height="2"/> </BoundingBox> <Properties> <Property name="type" value="simulation"/> </Properties> </Pedestrian> </ScenarioObject> <ScenarioObject name="pedestrian_close_to_adversary_27017"> <Pedestrian model="walker.pedestrian.0001" mass="80" name="walker.pedestrian.0001" pedestrianCategory="pedestrian"> <ParameterDeclarations/> <BoundingBox> <Center x="1.5" y="0.0" z="0.9"/> <Dimensions width="2" length="2" height="2"/> </BoundingBox> <Properties> <Property name="type" value="simulation"/> </Properties> </Pedestrian> </ScenarioObject> <ScenarioObject name="pedestrian_close_to_standing_27018"> <Pedestrian model="walker.pedestrian.0001" mass="80" name="walker.pedestrian.0001" pedestrianCategory="pedestrian"> <ParameterDeclarations/> <BoundingBox> <Center x="1.5" y="0.0" z="0.9"/> <Dimensions width="2" length="2" height="2"/> </BoundingBox> <Properties> <Property name="type" value="simulation"/> </Properties> </Pedestrian> </ScenarioObject> <ScenarioObject name="pedestrian_close_to_standing_27019"> <Pedestrian model="walker.pedestrian.0001" mass="80" name="walker.pedestrian.0001" pedestrianCategory="pedestrian"> <ParameterDeclarations/> <BoundingBox> <Center x="1.5" y="0.0" z="0.9"/> <Dimensions width="2" length="2" height="2"/> </BoundingBox> <Properties> <Property name="type" value="simulation"/> </Properties> </Pedestrian> </ScenarioObject> <ScenarioObject name="pedestrian_close_to_standing_27020"> <Pedestrian model="walker.pedestrian.0001" mass="80" name="walker.pedestrian.0001" pedestrianCategory="pedestrian"> <ParameterDeclarations/> <BoundingBox> <Center x="1.5" y="0.0" z="0.9"/> <Dimensions width="2" length="2" height="2"/> </BoundingBox> <Properties> <Property name="type" value="simulation"/> </Properties> </Pedestrian> </ScenarioObject> <ScenarioObject name="pedestrian_w_transform_27022"> <Pedestrian model="walker.pedestrian.0001" mass="80" name="walker.pedestrian.0001" pedestrianCategory="pedestrian"> <ParameterDeclarations/> <BoundingBox> <Center x="1.5" y="0.0" z="0.9"/> <Dimensions width="2" length="2" height="2"/> </BoundingBox> <Properties> <Property name="type" value="simulation"/> </Properties> </Pedestrian> </ScenarioObject> <ScenarioObject name="pedestrian_close_to_adversary_27024"> <Pedestrian model="walker.pedestrian.0001" mass="80" name="walker.pedestrian.0001" pedestrianCategory="pedestrian"> <ParameterDeclarations/> <BoundingBox> <Center x="1.5" y="0.0" z="0.9"/> <Dimensions width="2" length="2" height="2"/> </BoundingBox> <Properties> <Property name="type" value="simulation"/> </Properties> </Pedestrian> </ScenarioObject> <ScenarioObject name="pedestrian_w_transform_27025"> <Pedestrian model="walker.pedestrian.0001" mass="80" name="walker.pedestrian.0001" pedestrianCategory="pedestrian"> <ParameterDeclarations/> <BoundingBox> <Center x="1.5" y="0.0" z="0.9"/> <Dimensions width="2" length="2" height="2"/> </BoundingBox> <Properties> <Property name="type" value="simulation"/> </Properties> </Pedestrian> </ScenarioObject> <ScenarioObject name="pedestrian_w_transform_27028"> <Pedestrian model="walker.pedestrian.0001" mass="80" name="walker.pedestrian.0001" pedestrianCategory="pedestrian"> <ParameterDeclarations/> <BoundingBox> <Center x="1.5" y="0.0" z="0.9"/> <Dimensions width="2" length="2" height="2"/> </BoundingBox> <Properties> <Property name="type" value="simulation"/> </Properties> </Pedestrian> </ScenarioObject> <ScenarioObject name="pedestrian_w_transform_27029"> <Pedestrian model="walker.pedestrian.0001" mass="80" name="walker.pedestrian.0001" pedestrianCategory="pedestrian"> <ParameterDeclarations/> <BoundingBox> <Center x="1.5" y="0.0" z="0.9"/> <Dimensions width="2" length="2" height="2"/> </BoundingBox> <Properties> <Property name="type" value="simulation"/> </Properties> </Pedestrian> </ScenarioObject> <ScenarioObject name="pedestrian_w_transform_27030"> <Pedestrian model="walker.pedestrian.0001" mass="80" name="walker.pedestrian.0001" pedestrianCategory="pedestrian"> <ParameterDeclarations/> <BoundingBox> <Center x="1.5" y="0.0" z="0.9"/> <Dimensions width="2" length="2" height="2"/> </BoundingBox> <Properties> <Property name="type" value="simulation"/> </Properties> </Pedestrian> </ScenarioObject> <ScenarioObject name="pedestrian_w_transform_27033"> <Pedestrian model="walker.pedestrian.0001" mass="80" name="walker.pedestrian.0001" pedestrianCategory="pedestrian"> <ParameterDeclarations/> <BoundingBox> <Center x="1.5" y="0.0" z="0.9"/> <Dimensions width="2" length="2" height="2"/> </BoundingBox> <Properties> <Property name="type" value="simulation"/> </Properties> </Pedestrian> </ScenarioObject> <ScenarioObject name="pedestrian_close_to_adversary_27038"> <Pedestrian model="walker.pedestrian.0001" mass="80" name="walker.pedestrian.0001" pedestrianCategory="pedestrian"> <ParameterDeclarations/> <BoundingBox> <Center x="1.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_27014"> <PrivateAction> <TeleportAction> <Position> <WorldPosition x="-2.7218897342681885" y="-66.641357421875" z="0.033853109925985336"/> </Position> </TeleportAction> </PrivateAction> </Private> <Private entityRef="pedestrian_close_to_hero_27016"> <PrivateAction> <TeleportAction> <Position> <WorldPosition x="-2.9609267711639404" y="-155.7568817138672" z="0.0019445419311523438"/> </Position> </TeleportAction> </PrivateAction> </Private> <Private entityRef="pedestrian_close_to_adversary_27017"> <PrivateAction> <TeleportAction> <Position> <WorldPosition x="-13.705954551696777" y="-64.72303771972656" z="0.033857498317956924"/> </Position> </TeleportAction> </PrivateAction> </Private> <Private entityRef="pedestrian_close_to_standing_27018"> <PrivateAction> <TeleportAction> <Position> <WorldPosition x="-6.649022102355957" y="20.241783142089844" z="0.0031108856201171875"/> </Position> </TeleportAction> </PrivateAction> </Private> <Private entityRef="pedestrian_close_to_standing_27019"> <PrivateAction> <TeleportAction> <Position> <WorldPosition x="-9.93201732635498" y="33.09169387817383" z="0.0031124877277761698"/> </Position> </TeleportAction> </PrivateAction> </Private> <Private entityRef="pedestrian_close_to_standing_27020"> <PrivateAction> <TeleportAction> <Position> <WorldPosition x="-18.098316192626953" y="27.95265769958496" z="0.0031241606920957565"/> </Position> </TeleportAction> </PrivateAction> </Private> <Private entityRef="pedestrian_w_transform_27022"> <PrivateAction> <TeleportAction> <Position> <WorldPosition x="-90.86725616455078" y="-29.003089904785156" z="0.5"/> </Position> </TeleportAction> </PrivateAction> </Private> <Private entityRef="pedestrian_close_to_adversary_27024"> <PrivateAction> <TeleportAction> <Position> <WorldPosition x="-13.6404447555542" y="-80.59878540039062" z="0.03389057144522667"/> </Position> </TeleportAction> </PrivateAction> </Private> <Private entityRef="pedestrian_w_transform_27025"> <PrivateAction> <TeleportAction> <Position> <WorldPosition x="-65.46920776367188" y="43.450538635253906" z="0.5"/> </Position> </TeleportAction> </PrivateAction> </Private> <Private entityRef="pedestrian_w_transform_27028"> <PrivateAction> <TeleportAction> <Position> <WorldPosition x="89.91285705566406" y="86.12427520751953" z="0.5"/> </Position> </TeleportAction> </PrivateAction> </Private> <Private entityRef="pedestrian_w_transform_27029"> <PrivateAction> <TeleportAction> <Position> <WorldPosition x="5.312768936157227" y="9.528388977050781" z="0.5"/> </Position> </TeleportAction> </PrivateAction> </Private> <Private entityRef="pedestrian_w_transform_27030"> <PrivateAction> <TeleportAction> <Position> <WorldPosition x="1.6269170045852661" y="-43.12794876098633" z="0.5"/> </Position> </TeleportAction> </PrivateAction> </Private> <Private entityRef="pedestrian_w_transform_27033"> <PrivateAction> <TeleportAction> <Position> <WorldPosition x="-82.09961700439453" y="-4.0865254402160645" z="0.5"/> </Position> </TeleportAction> </PrivateAction> </Private> <Private entityRef="pedestrian_close_to_adversary_27038"> <PrivateAction> <TeleportAction> <Position> <WorldPosition x="-2.2453455924987793" y="-79.71744537353516" z="0.0338611975312233"/> </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 (-88.43, -64.29, 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_23650"> <Pedestrian model="walker.pedestrian.0001" mass="80" name="walker.pedestrian.0001" pedestrianCategory="pedestrian"> <ParameterDeclarations/> <BoundingBox> <Center x="1.5" y="0.0" z="0.9"/> <Dimensions width="2" length="2" height="2"/> </BoundingBox> <Properties> <Property name="type" value="simulation"/> </Properties> </Pedestrian> </ScenarioObject> <ScenarioObject name="pedestrian_close_to_standing_23651"> <Pedestrian model="walker.pedestrian.0001" mass="80" name="walker.pedestrian.0001" pedestrianCategory="pedestrian"> <ParameterDeclarations/> <BoundingBox> <Center x="1.5" y="0.0" z="0.9"/> <Dimensions width="2" length="2" height="2"/> </BoundingBox> <Properties> <Property name="type" value="simulation"/> </Properties> </Pedestrian> </ScenarioObject> <ScenarioObject name="pedestrian_w_transform_23652"> <Pedestrian model="walker.pedestrian.0001" mass="80" name="walker.pedestrian.0001" pedestrianCategory="pedestrian"> <ParameterDeclarations/> <BoundingBox> <Center x="1.5" y="0.0" z="0.9"/> <Dimensions width="2" length="2" height="2"/> </BoundingBox> <Properties> <Property name="type" value="simulation"/> </Properties> </Pedestrian> </ScenarioObject> <ScenarioObject name="pedestrian_w_transform_23653"> <Pedestrian model="walker.pedestrian.0001" mass="80" name="walker.pedestrian.0001" pedestrianCategory="pedestrian"> <ParameterDeclarations/> <BoundingBox> <Center x="1.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_23650"> <PrivateAction> <TeleportAction> <Position> <WorldPosition x="-16.315053939819336" y="-79.86184692382812" z="0.03380252793431282"/> </Position> </TeleportAction> </PrivateAction> </Private> <Private entityRef="pedestrian_close_to_standing_23651"> <PrivateAction> <TeleportAction> <Position> <WorldPosition x="-8.82964038848877" y="25.661916732788086" z="0.0030715942848473787"/> </Position> </TeleportAction> </PrivateAction> </Private> <Private entityRef="pedestrian_w_transform_23652"> <PrivateAction> <TeleportAction> <Position> <WorldPosition x="66.34999084472656" y="90.80003356933594" z="0.5"/> </Position> </TeleportAction> </PrivateAction> </Private> <Private entityRef="pedestrian_w_transform_23653"> <PrivateAction> <TeleportAction> <Position> <WorldPosition x="-62.50584411621094" y="62.103515625" 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_23650"> <Pedestrian model="walker.pedestrian.0001" mass="80" name="walker.pedestrian.0001" pedestrianCategory="pedestrian"> <ParameterDeclarations/> <BoundingBox> <Center x="1.5" y="0.0" z="0.9"/> <Dimensions width="2" length="2" height="2"/> </BoundingBox> <Properties> <Property name="type" value="simulation"/> </Properties> </Pedestrian> </ScenarioObject> <ScenarioObject name="pedestrian_close_to_standing_23651"> <Pedestrian model="walker.pedestrian.0001" mass="80" name="walker.pedestrian.0001" pedestrianCategory="pedestrian"> <ParameterDeclarations/> <BoundingBox> <Center x="1.5" y="0.0" z="0.9"/> <Dimensions width="2" length="2" height="2"/> </BoundingBox> <Properties> <Property name="type" value="simulation"/> </Properties> </Pedestrian> </ScenarioObject> <ScenarioObject name="pedestrian_w_transform_23652"> <Pedestrian model="walker.pedestrian.0001" mass="80" name="walker.pedestrian.0001" pedestrianCategory="pedestrian"> <ParameterDeclarations/> <BoundingBox> <Center x="1.5" y="0.0" z="0.9"/> <Dimensions width="2" length="2" height="2"/> </BoundingBox> <Properties> <Property name="type" value="simulation"/> </Properties> </Pedestrian> </ScenarioObject> <ScenarioObject name="pedestrian_w_transform_23653"> <Pedestrian model="walker.pedestrian.0001" mass="80" name="walker.pedestrian.0001" pedestrianCategory="pedestrian"> <ParameterDeclarations/> <BoundingBox> <Center x="1.5" y="0.0" z="0.9"/> <Dimensions width="2" length="2" height="2"/> </BoundingBox> <Properties> <Property name="type" value="simulation"/> </Properties> </Pedestrian> </ScenarioObject> <ScenarioObject name="pedestrian_w_transform_23654"> <Pedestrian model="walker.pedestrian.0001" mass="80" name="walker.pedestrian.0001" pedestrianCategory="pedestrian"> <ParameterDeclarations/> <BoundingBox> <Center x="1.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_23650"> <PrivateAction> <TeleportAction> <Position> <WorldPosition x="-16.315053939819336" y="-79.86184692382812" z="0.03380252793431282"/> </Position> </TeleportAction> </PrivateAction> </Private> <Private entityRef="pedestrian_close_to_standing_23651"> <PrivateAction> <TeleportAction> <Position> <WorldPosition x="-8.82964038848877" y="25.661916732788086" z="0.0030715942848473787"/> </Position> </TeleportAction> </PrivateAction> </Private> <Private entityRef="pedestrian_w_transform_23652"> <PrivateAction> <TeleportAction> <Position> <WorldPosition x="66.34999084472656" y="90.80003356933594" z="0.5"/> </Position> </TeleportAction> </PrivateAction> </Private> <Private entityRef="pedestrian_w_transform_23653"> <PrivateAction> <TeleportAction> <Position> <WorldPosition x="-62.50584411621094" y="62.103515625" z="0.5"/> </Position> </TeleportAction> </PrivateAction> </Private> <Private entityRef="pedestrian_w_transform_23654"> <PrivateAction> <TeleportAction> <Position> <WorldPosition x="-88.43474578857422" y="-64.29107666015625" 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 at location (83.0, 72.28, 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_13589"> <Pedestrian model="walker.pedestrian.0001" mass="80" name="walker.pedestrian.0001" pedestrianCategory="pedestrian"> <ParameterDeclarations/> <BoundingBox> <Center x="1.5" y="0.0" z="0.9"/> <Dimensions width="2" length="2" height="2"/> </BoundingBox> <Properties> <Property name="type" value="simulation"/> </Properties> </Pedestrian> </ScenarioObject> <ScenarioObject name="pedestrian_w_transform_13590"> <Pedestrian model="walker.pedestrian.0001" mass="80" name="walker.pedestrian.0001" pedestrianCategory="pedestrian"> <ParameterDeclarations/> <BoundingBox> <Center x="1.5" y="0.0" z="0.9"/> <Dimensions width="2" length="2" height="2"/> </BoundingBox> <Properties> <Property name="type" value="simulation"/> </Properties> </Pedestrian> </ScenarioObject> <ScenarioObject name="pedestrian_close_to_hero_13591"> <Pedestrian model="walker.pedestrian.0001" mass="80" name="walker.pedestrian.0001" pedestrianCategory="pedestrian"> <ParameterDeclarations/> <BoundingBox> <Center x="1.5" y="0.0" z="0.9"/> <Dimensions width="2" length="2" height="2"/> </BoundingBox> <Properties> <Property name="type" value="simulation"/> </Properties> </Pedestrian> </ScenarioObject> <ScenarioObject name="pedestrian_w_transform_13592"> <Pedestrian model="walker.pedestrian.0001" mass="80" name="walker.pedestrian.0001" pedestrianCategory="pedestrian"> <ParameterDeclarations/> <BoundingBox> <Center x="1.5" y="0.0" z="0.9"/> <Dimensions width="2" length="2" height="2"/> </BoundingBox> <Properties> <Property name="type" value="simulation"/> </Properties> </Pedestrian> </ScenarioObject> <ScenarioObject name="pedestrian_close_to_standing_13594"> <Pedestrian model="walker.pedestrian.0001" mass="80" name="walker.pedestrian.0001" pedestrianCategory="pedestrian"> <ParameterDeclarations/> <BoundingBox> <Center x="1.5" y="0.0" z="0.9"/> <Dimensions width="2" length="2" height="2"/> </BoundingBox> <Properties> <Property name="type" value="simulation"/> </Properties> </Pedestrian> </ScenarioObject> <ScenarioObject name="pedestrian_close_to_standing_13595"> <Pedestrian model="walker.pedestrian.0001" mass="80" name="walker.pedestrian.0001" pedestrianCategory="pedestrian"> <ParameterDeclarations/> <BoundingBox> <Center x="1.5" y="0.0" z="0.9"/> <Dimensions width="2" length="2" height="2"/> </BoundingBox> <Properties> <Property name="type" value="simulation"/> </Properties> </Pedestrian> </ScenarioObject> <ScenarioObject name="pedestrian_close_to_hero_13596"> <Pedestrian model="walker.pedestrian.0001" mass="80" name="walker.pedestrian.0001" pedestrianCategory="pedestrian"> <ParameterDeclarations/> <BoundingBox> <Center x="1.5" y="0.0" z="0.9"/> <Dimensions width="2" length="2" height="2"/> </BoundingBox> <Properties> <Property name="type" value="simulation"/> </Properties> </Pedestrian> </ScenarioObject> <ScenarioObject name="pedestrian_close_to_adversary_13597"> <Pedestrian model="walker.pedestrian.0001" mass="80" name="walker.pedestrian.0001" pedestrianCategory="pedestrian"> <ParameterDeclarations/> <BoundingBox> <Center x="1.5" y="0.0" z="0.9"/> <Dimensions width="2" length="2" height="2"/> </BoundingBox> <Properties> <Property name="type" value="simulation"/> </Properties> </Pedestrian> </ScenarioObject> <ScenarioObject name="pedestrian_close_to_hero_13598"> <Pedestrian model="walker.pedestrian.0001" mass="80" name="walker.pedestrian.0001" pedestrianCategory="pedestrian"> <ParameterDeclarations/> <BoundingBox> <Center x="1.5" y="0.0" z="0.9"/> <Dimensions width="2" length="2" height="2"/> </BoundingBox> <Properties> <Property name="type" value="simulation"/> </Properties> </Pedestrian> </ScenarioObject> <ScenarioObject name="pedestrian_w_transform_13599"> <Pedestrian model="walker.pedestrian.0001" mass="80" name="walker.pedestrian.0001" pedestrianCategory="pedestrian"> <ParameterDeclarations/> <BoundingBox> <Center x="1.5" y="0.0" z="0.9"/> <Dimensions width="2" length="2" height="2"/> </BoundingBox> <Properties> <Property name="type" value="simulation"/> </Properties> </Pedestrian> </ScenarioObject> <ScenarioObject name="pedestrian_w_transform_13600"> <Pedestrian model="walker.pedestrian.0001" mass="80" name="walker.pedestrian.0001" pedestrianCategory="pedestrian"> <ParameterDeclarations/> <BoundingBox> <Center x="1.5" y="0.0" z="0.9"/> <Dimensions width="2" length="2" height="2"/> </BoundingBox> <Properties> <Property name="type" value="simulation"/> </Properties> </Pedestrian> </ScenarioObject> <ScenarioObject name="pedestrian_close_to_adversary_13601"> <Pedestrian model="walker.pedestrian.0001" mass="80" name="walker.pedestrian.0001" pedestrianCategory="pedestrian"> <ParameterDeclarations/> <BoundingBox> <Center x="1.5" y="0.0" z="0.9"/> <Dimensions width="2" length="2" height="2"/> </BoundingBox> <Properties> <Property name="type" value="simulation"/> </Properties> </Pedestrian> </ScenarioObject> <ScenarioObject name="pedestrian_close_to_hero_13602"> <Pedestrian model="walker.pedestrian.0001" mass="80" name="walker.pedestrian.0001" pedestrianCategory="pedestrian"> <ParameterDeclarations/> <BoundingBox> <Center x="1.5" y="0.0" z="0.9"/> <Dimensions width="2" length="2" height="2"/> </BoundingBox> <Properties> <Property name="type" value="simulation"/> </Properties> </Pedestrian> </ScenarioObject> <ScenarioObject name="pedestrian_close_to_hero_13603"> <Pedestrian model="walker.pedestrian.0001" mass="80" name="walker.pedestrian.0001" pedestrianCategory="pedestrian"> <ParameterDeclarations/> <BoundingBox> <Center x="1.5" y="0.0" z="0.9"/> <Dimensions width="2" length="2" height="2"/> </BoundingBox> <Properties> <Property name="type" value="simulation"/> </Properties> </Pedestrian> </ScenarioObject> <ScenarioObject name="pedestrian_w_transform_13605"> <Pedestrian model="walker.pedestrian.0001" mass="80" name="walker.pedestrian.0001" pedestrianCategory="pedestrian"> <ParameterDeclarations/> <BoundingBox> <Center x="1.5" y="0.0" z="0.9"/> <Dimensions width="2" length="2" height="2"/> </BoundingBox> <Properties> <Property name="type" value="simulation"/> </Properties> </Pedestrian> </ScenarioObject> <ScenarioObject name="pedestrian_w_transform_13606"> <Pedestrian model="walker.pedestrian.0001" mass="80" name="walker.pedestrian.0001" pedestrianCategory="pedestrian"> <ParameterDeclarations/> <BoundingBox> <Center x="1.5" y="0.0" z="0.9"/> <Dimensions width="2" length="2" height="2"/> </BoundingBox> <Properties> <Property name="type" value="simulation"/> </Properties> </Pedestrian> </ScenarioObject> <ScenarioObject name="pedestrian_w_transform_13607"> <Pedestrian model="walker.pedestrian.0001" mass="80" name="walker.pedestrian.0001" pedestrianCategory="pedestrian"> <ParameterDeclarations/> <BoundingBox> <Center x="1.5" y="0.0" z="0.9"/> <Dimensions width="2" length="2" height="2"/> </BoundingBox> <Properties> <Property name="type" value="simulation"/> </Properties> </Pedestrian> </ScenarioObject> <ScenarioObject name="pedestrian_close_to_adversary_13609"> <Pedestrian model="walker.pedestrian.0001" mass="80" name="walker.pedestrian.0001" pedestrianCategory="pedestrian"> <ParameterDeclarations/> <BoundingBox> <Center x="1.5" y="0.0" z="0.9"/> <Dimensions width="2" length="2" height="2"/> </BoundingBox> <Properties> <Property name="type" value="simulation"/> </Properties> </Pedestrian> </ScenarioObject> <ScenarioObject name="pedestrian_w_transform_13610"> <Pedestrian model="walker.pedestrian.0001" mass="80" name="walker.pedestrian.0001" pedestrianCategory="pedestrian"> <ParameterDeclarations/> <BoundingBox> <Center x="1.5" y="0.0" z="0.9"/> <Dimensions width="2" length="2" height="2"/> </BoundingBox> <Properties> <Property name="type" value="simulation"/> </Properties> </Pedestrian> </ScenarioObject> <ScenarioObject name="pedestrian_close_to_hero_13611"> <Pedestrian model="walker.pedestrian.0001" mass="80" name="walker.pedestrian.0001" pedestrianCategory="pedestrian"> <ParameterDeclarations/> <BoundingBox> <Center x="1.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_13589"> <PrivateAction> <TeleportAction> <Position> <WorldPosition x="12.769869804382324" y="-90.76097106933594" z="0.0337446965277195"/> </Position> </TeleportAction> </PrivateAction> </Private> <Private entityRef="pedestrian_w_transform_13590"> <PrivateAction> <TeleportAction> <Position> <WorldPosition x="-34.71342468261719" y="73.86795043945312" z="0.5"/> </Position> </TeleportAction> </PrivateAction> </Private> <Private entityRef="pedestrian_close_to_hero_13591"> <PrivateAction> <TeleportAction> <Position> <WorldPosition x="-4.122702121734619" y="-251.5739288330078" z="0.001678848173469305"/> </Position> </TeleportAction> </PrivateAction> </Private> <Private entityRef="pedestrian_w_transform_13592"> <PrivateAction> <TeleportAction> <Position> <WorldPosition x="55.4983024597168" y="52.65385055541992" z="0.5"/> </Position> </TeleportAction> </PrivateAction> </Private> <Private entityRef="pedestrian_close_to_standing_13594"> <PrivateAction> <TeleportAction> <Position> <WorldPosition x="1.9316158294677734" y="29.497451782226562" z="0.0030035017989575863"/> </Position> </TeleportAction> </PrivateAction> </Private> <Private entityRef="pedestrian_close_to_standing_13595"> <PrivateAction> <TeleportAction> <Position> <WorldPosition x="-11.965096473693848" y="34.39768600463867" z="0.0030515671242028475"/> </Position> </TeleportAction> </PrivateAction> </Private> <Private entityRef="pedestrian_close_to_hero_13596"> <PrivateAction> <TeleportAction> <Position> <WorldPosition x="-1.5316390991210938" y="-239.6230010986328" z="0.001678848173469305"/> </Position> </TeleportAction> </PrivateAction> </Private> <Private entityRef="pedestrian_close_to_adversary_13597"> <PrivateAction> <TeleportAction> <Position> <WorldPosition x="-17.395875930786133" y="-66.69851684570312" z="0.033778607845306396"/> </Position> </TeleportAction> </PrivateAction> </Private> <Private entityRef="pedestrian_close_to_hero_13598"> <PrivateAction> <TeleportAction> <Position> <WorldPosition x="-14.131311416625977" y="-251.00010681152344" z="0.001678848173469305"/> </Position> </TeleportAction> </PrivateAction> </Private> <Private entityRef="pedestrian_w_transform_13599"> <PrivateAction> <TeleportAction> <Position> <WorldPosition x="5.808742523193359" y="-93.61341094970703" z="0.5"/> </Position> </TeleportAction> </PrivateAction> </Private> <Private entityRef="pedestrian_w_transform_13600"> <PrivateAction> <TeleportAction> <Position> <WorldPosition x="78.8642578125" y="52.443355560302734" z="0.5"/> </Position> </TeleportAction> </PrivateAction> </Private> <Private entityRef="pedestrian_close_to_adversary_13601"> <PrivateAction> <TeleportAction> <Position> <WorldPosition x="-13.632989883422852" y="-75.3224868774414" z="0.03379489853978157"/> </Position> </TeleportAction> </PrivateAction> </Private> <Private entityRef="pedestrian_close_to_hero_13602"> <PrivateAction> <TeleportAction> <Position> <WorldPosition x="-15.606821060180664" y="-246.08033752441406" z="0.001678848173469305"/> </Position> </TeleportAction> </PrivateAction> </Private> <Private entityRef="pedestrian_close_to_hero_13603"> <PrivateAction> <TeleportAction> <Position> <WorldPosition x="-10.329272270202637" y="-254.46304321289062" z="0.001678848173469305"/> </Position> </TeleportAction> </PrivateAction> </Private> <Private entityRef="pedestrian_w_transform_13605"> <PrivateAction> <TeleportAction> <Position> <WorldPosition x="-38.09326171875" y="-24.7183895111084" z="0.5"/> </Position> </TeleportAction> </PrivateAction> </Private> <Private entityRef="pedestrian_w_transform_13606"> <PrivateAction> <TeleportAction> <Position> <WorldPosition x="-23.65039825439453" y="-67.62782287597656" z="0.5"/> </Position> </TeleportAction> </PrivateAction> </Private> <Private entityRef="pedestrian_w_transform_13607"> <PrivateAction> <TeleportAction> <Position> <WorldPosition x="82.46268463134766" y="47.34279251098633" z="0.5"/> </Position> </TeleportAction> </PrivateAction> </Private> <Private entityRef="pedestrian_close_to_adversary_13609"> <PrivateAction> <TeleportAction> <Position> <WorldPosition x="-10.006654739379883" y="-75.47481536865234" z="0.03376419097185135"/> </Position> </TeleportAction> </PrivateAction> </Private> <Private entityRef="pedestrian_w_transform_13610"> <PrivateAction> <TeleportAction> <Position> <WorldPosition x="-22.110200881958008" y="-27.71370506286621" z="0.5"/> </Position> </TeleportAction> </PrivateAction> </Private> <Private entityRef="pedestrian_close_to_hero_13611"> <PrivateAction> <TeleportAction> <Position> <WorldPosition x="-16.038536071777344" y="-250.94361877441406" z="0.001678848173469305"/> </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_13589"> <Pedestrian model="walker.pedestrian.0001" mass="80" name="walker.pedestrian.0001" pedestrianCategory="pedestrian"> <ParameterDeclarations/> <BoundingBox> <Center x="1.5" y="0.0" z="0.9"/> <Dimensions width="2" length="2" height="2"/> </BoundingBox> <Properties> <Property name="type" value="simulation"/> </Properties> </Pedestrian> </ScenarioObject> <ScenarioObject name="pedestrian_w_transform_13590"> <Pedestrian model="walker.pedestrian.0001" mass="80" name="walker.pedestrian.0001" pedestrianCategory="pedestrian"> <ParameterDeclarations/> <BoundingBox> <Center x="1.5" y="0.0" z="0.9"/> <Dimensions width="2" length="2" height="2"/> </BoundingBox> <Properties> <Property name="type" value="simulation"/> </Properties> </Pedestrian> </ScenarioObject> <ScenarioObject name="pedestrian_close_to_hero_13591"> <Pedestrian model="walker.pedestrian.0001" mass="80" name="walker.pedestrian.0001" pedestrianCategory="pedestrian"> <ParameterDeclarations/> <BoundingBox> <Center x="1.5" y="0.0" z="0.9"/> <Dimensions width="2" length="2" height="2"/> </BoundingBox> <Properties> <Property name="type" value="simulation"/> </Properties> </Pedestrian> </ScenarioObject> <ScenarioObject name="pedestrian_w_transform_13592"> <Pedestrian model="walker.pedestrian.0001" mass="80" name="walker.pedestrian.0001" pedestrianCategory="pedestrian"> <ParameterDeclarations/> <BoundingBox> <Center x="1.5" y="0.0" z="0.9"/> <Dimensions width="2" length="2" height="2"/> </BoundingBox> <Properties> <Property name="type" value="simulation"/> </Properties> </Pedestrian> </ScenarioObject> <ScenarioObject name="pedestrian_close_to_standing_13594"> <Pedestrian model="walker.pedestrian.0001" mass="80" name="walker.pedestrian.0001" pedestrianCategory="pedestrian"> <ParameterDeclarations/> <BoundingBox> <Center x="1.5" y="0.0" z="0.9"/> <Dimensions width="2" length="2" height="2"/> </BoundingBox> <Properties> <Property name="type" value="simulation"/> </Properties> </Pedestrian> </ScenarioObject> <ScenarioObject name="pedestrian_close_to_standing_13595"> <Pedestrian model="walker.pedestrian.0001" mass="80" name="walker.pedestrian.0001" pedestrianCategory="pedestrian"> <ParameterDeclarations/> <BoundingBox> <Center x="1.5" y="0.0" z="0.9"/> <Dimensions width="2" length="2" height="2"/> </BoundingBox> <Properties> <Property name="type" value="simulation"/> </Properties> </Pedestrian> </ScenarioObject> <ScenarioObject name="pedestrian_close_to_hero_13596"> <Pedestrian model="walker.pedestrian.0001" mass="80" name="walker.pedestrian.0001" pedestrianCategory="pedestrian"> <ParameterDeclarations/> <BoundingBox> <Center x="1.5" y="0.0" z="0.9"/> <Dimensions width="2" length="2" height="2"/> </BoundingBox> <Properties> <Property name="type" value="simulation"/> </Properties> </Pedestrian> </ScenarioObject> <ScenarioObject name="pedestrian_close_to_adversary_13597"> <Pedestrian model="walker.pedestrian.0001" mass="80" name="walker.pedestrian.0001" pedestrianCategory="pedestrian"> <ParameterDeclarations/> <BoundingBox> <Center x="1.5" y="0.0" z="0.9"/> <Dimensions width="2" length="2" height="2"/> </BoundingBox> <Properties> <Property name="type" value="simulation"/> </Properties> </Pedestrian> </ScenarioObject> <ScenarioObject name="pedestrian_close_to_hero_13598"> <Pedestrian model="walker.pedestrian.0001" mass="80" name="walker.pedestrian.0001" pedestrianCategory="pedestrian"> <ParameterDeclarations/> <BoundingBox> <Center x="1.5" y="0.0" z="0.9"/> <Dimensions width="2" length="2" height="2"/> </BoundingBox> <Properties> <Property name="type" value="simulation"/> </Properties> </Pedestrian> </ScenarioObject> <ScenarioObject name="pedestrian_w_transform_13599"> <Pedestrian model="walker.pedestrian.0001" mass="80" name="walker.pedestrian.0001" pedestrianCategory="pedestrian"> <ParameterDeclarations/> <BoundingBox> <Center x="1.5" y="0.0" z="0.9"/> <Dimensions width="2" length="2" height="2"/> </BoundingBox> <Properties> <Property name="type" value="simulation"/> </Properties> </Pedestrian> </ScenarioObject> <ScenarioObject name="pedestrian_w_transform_13600"> <Pedestrian model="walker.pedestrian.0001" mass="80" name="walker.pedestrian.0001" pedestrianCategory="pedestrian"> <ParameterDeclarations/> <BoundingBox> <Center x="1.5" y="0.0" z="0.9"/> <Dimensions width="2" length="2" height="2"/> </BoundingBox> <Properties> <Property name="type" value="simulation"/> </Properties> </Pedestrian> </ScenarioObject> <ScenarioObject name="pedestrian_close_to_adversary_13601"> <Pedestrian model="walker.pedestrian.0001" mass="80" name="walker.pedestrian.0001" pedestrianCategory="pedestrian"> <ParameterDeclarations/> <BoundingBox> <Center x="1.5" y="0.0" z="0.9"/> <Dimensions width="2" length="2" height="2"/> </BoundingBox> <Properties> <Property name="type" value="simulation"/> </Properties> </Pedestrian> </ScenarioObject> <ScenarioObject name="pedestrian_close_to_hero_13602"> <Pedestrian model="walker.pedestrian.0001" mass="80" name="walker.pedestrian.0001" pedestrianCategory="pedestrian"> <ParameterDeclarations/> <BoundingBox> <Center x="1.5" y="0.0" z="0.9"/> <Dimensions width="2" length="2" height="2"/> </BoundingBox> <Properties> <Property name="type" value="simulation"/> </Properties> </Pedestrian> </ScenarioObject> <ScenarioObject name="pedestrian_close_to_hero_13603"> <Pedestrian model="walker.pedestrian.0001" mass="80" name="walker.pedestrian.0001" pedestrianCategory="pedestrian"> <ParameterDeclarations/> <BoundingBox> <Center x="1.5" y="0.0" z="0.9"/> <Dimensions width="2" length="2" height="2"/> </BoundingBox> <Properties> <Property name="type" value="simulation"/> </Properties> </Pedestrian> </ScenarioObject> <ScenarioObject name="pedestrian_w_transform_13605"> <Pedestrian model="walker.pedestrian.0001" mass="80" name="walker.pedestrian.0001" pedestrianCategory="pedestrian"> <ParameterDeclarations/> <BoundingBox> <Center x="1.5" y="0.0" z="0.9"/> <Dimensions width="2" length="2" height="2"/> </BoundingBox> <Properties> <Property name="type" value="simulation"/> </Properties> </Pedestrian> </ScenarioObject> <ScenarioObject name="pedestrian_w_transform_13606"> <Pedestrian model="walker.pedestrian.0001" mass="80" name="walker.pedestrian.0001" pedestrianCategory="pedestrian"> <ParameterDeclarations/> <BoundingBox> <Center x="1.5" y="0.0" z="0.9"/> <Dimensions width="2" length="2" height="2"/> </BoundingBox> <Properties> <Property name="type" value="simulation"/> </Properties> </Pedestrian> </ScenarioObject> <ScenarioObject name="pedestrian_w_transform_13607"> <Pedestrian model="walker.pedestrian.0001" mass="80" name="walker.pedestrian.0001" pedestrianCategory="pedestrian"> <ParameterDeclarations/> <BoundingBox> <Center x="1.5" y="0.0" z="0.9"/> <Dimensions width="2" length="2" height="2"/> </BoundingBox> <Properties> <Property name="type" value="simulation"/> </Properties> </Pedestrian> </ScenarioObject> <ScenarioObject name="pedestrian_close_to_adversary_13609"> <Pedestrian model="walker.pedestrian.0001" mass="80" name="walker.pedestrian.0001" pedestrianCategory="pedestrian"> <ParameterDeclarations/> <BoundingBox> <Center x="1.5" y="0.0" z="0.9"/> <Dimensions width="2" length="2" height="2"/> </BoundingBox> <Properties> <Property name="type" value="simulation"/> </Properties> </Pedestrian> </ScenarioObject> <ScenarioObject name="pedestrian_w_transform_13610"> <Pedestrian model="walker.pedestrian.0001" mass="80" name="walker.pedestrian.0001" pedestrianCategory="pedestrian"> <ParameterDeclarations/> <BoundingBox> <Center x="1.5" y="0.0" z="0.9"/> <Dimensions width="2" length="2" height="2"/> </BoundingBox> <Properties> <Property name="type" value="simulation"/> </Properties> </Pedestrian> </ScenarioObject> <ScenarioObject name="pedestrian_close_to_hero_13611"> <Pedestrian model="walker.pedestrian.0001" mass="80" name="walker.pedestrian.0001" pedestrianCategory="pedestrian"> <ParameterDeclarations/> <BoundingBox> <Center x="1.5" y="0.0" z="0.9"/> <Dimensions width="2" length="2" height="2"/> </BoundingBox> <Properties> <Property name="type" value="simulation"/> </Properties> </Pedestrian> </ScenarioObject> <ScenarioObject name="pedestrian_w_transform_13612"> <Pedestrian model="walker.pedestrian.0001" mass="80" name="walker.pedestrian.0001" pedestrianCategory="pedestrian"> <ParameterDeclarations/> <BoundingBox> <Center x="1.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_13589"> <PrivateAction> <TeleportAction> <Position> <WorldPosition x="12.769869804382324" y="-90.76097106933594" z="0.0337446965277195"/> </Position> </TeleportAction> </PrivateAction> </Private> <Private entityRef="pedestrian_w_transform_13590"> <PrivateAction> <TeleportAction> <Position> <WorldPosition x="-34.71342468261719" y="73.86795043945312" z="0.5"/> </Position> </TeleportAction> </PrivateAction> </Private> <Private entityRef="pedestrian_close_to_hero_13591"> <PrivateAction> <TeleportAction> <Position> <WorldPosition x="-4.122702121734619" y="-251.5739288330078" z="0.001678848173469305"/> </Position> </TeleportAction> </PrivateAction> </Private> <Private entityRef="pedestrian_w_transform_13592"> <PrivateAction> <TeleportAction> <Position> <WorldPosition x="55.4983024597168" y="52.65385055541992" z="0.5"/> </Position> </TeleportAction> </PrivateAction> </Private> <Private entityRef="pedestrian_close_to_standing_13594"> <PrivateAction> <TeleportAction> <Position> <WorldPosition x="1.9316158294677734" y="29.497451782226562" z="0.0030035017989575863"/> </Position> </TeleportAction> </PrivateAction> </Private> <Private entityRef="pedestrian_close_to_standing_13595"> <PrivateAction> <TeleportAction> <Position> <WorldPosition x="-11.965096473693848" y="34.39768600463867" z="0.0030515671242028475"/> </Position> </TeleportAction> </PrivateAction> </Private> <Private entityRef="pedestrian_close_to_hero_13596"> <PrivateAction> <TeleportAction> <Position> <WorldPosition x="-1.5316390991210938" y="-239.6230010986328" z="0.001678848173469305"/> </Position> </TeleportAction> </PrivateAction> </Private> <Private entityRef="pedestrian_close_to_adversary_13597"> <PrivateAction> <TeleportAction> <Position> <WorldPosition x="-17.395875930786133" y="-66.69851684570312" z="0.033778607845306396"/> </Position> </TeleportAction> </PrivateAction> </Private> <Private entityRef="pedestrian_close_to_hero_13598"> <PrivateAction> <TeleportAction> <Position> <WorldPosition x="-14.131311416625977" y="-251.00010681152344" z="0.001678848173469305"/> </Position> </TeleportAction> </PrivateAction> </Private> <Private entityRef="pedestrian_w_transform_13599"> <PrivateAction> <TeleportAction> <Position> <WorldPosition x="5.808742523193359" y="-93.61341094970703" z="0.5"/> </Position> </TeleportAction> </PrivateAction> </Private> <Private entityRef="pedestrian_w_transform_13600"> <PrivateAction> <TeleportAction> <Position> <WorldPosition x="78.8642578125" y="52.443355560302734" z="0.5"/> </Position> </TeleportAction> </PrivateAction> </Private> <Private entityRef="pedestrian_close_to_adversary_13601"> <PrivateAction> <TeleportAction> <Position> <WorldPosition x="-13.632989883422852" y="-75.3224868774414" z="0.03379489853978157"/> </Position> </TeleportAction> </PrivateAction> </Private> <Private entityRef="pedestrian_close_to_hero_13602"> <PrivateAction> <TeleportAction> <Position> <WorldPosition x="-15.606821060180664" y="-246.08033752441406" z="0.001678848173469305"/> </Position> </TeleportAction> </PrivateAction> </Private> <Private entityRef="pedestrian_close_to_hero_13603"> <PrivateAction> <TeleportAction> <Position> <WorldPosition x="-10.329272270202637" y="-254.46304321289062" z="0.001678848173469305"/> </Position> </TeleportAction> </PrivateAction> </Private> <Private entityRef="pedestrian_w_transform_13605"> <PrivateAction> <TeleportAction> <Position> <WorldPosition x="-38.09326171875" y="-24.7183895111084" z="0.5"/> </Position> </TeleportAction> </PrivateAction> </Private> <Private entityRef="pedestrian_w_transform_13606"> <PrivateAction> <TeleportAction> <Position> <WorldPosition x="-23.65039825439453" y="-67.62782287597656" z="0.5"/> </Position> </TeleportAction> </PrivateAction> </Private> <Private entityRef="pedestrian_w_transform_13607"> <PrivateAction> <TeleportAction> <Position> <WorldPosition x="82.46268463134766" y="47.34279251098633" z="0.5"/> </Position> </TeleportAction> </PrivateAction> </Private> <Private entityRef="pedestrian_close_to_adversary_13609"> <PrivateAction> <TeleportAction> <Position> <WorldPosition x="-10.006654739379883" y="-75.47481536865234" z="0.03376419097185135"/> </Position> </TeleportAction> </PrivateAction> </Private> <Private entityRef="pedestrian_w_transform_13610"> <PrivateAction> <TeleportAction> <Position> <WorldPosition x="-22.110200881958008" y="-27.71370506286621" z="0.5"/> </Position> </TeleportAction> </PrivateAction> </Private> <Private entityRef="pedestrian_close_to_hero_13611"> <PrivateAction> <TeleportAction> <Position> <WorldPosition x="-16.038536071777344" y="-250.94361877441406" z="0.001678848173469305"/> </Position> </TeleportAction> </PrivateAction> </Private> <Private entityRef="pedestrian_w_transform_13612"> <PrivateAction> <TeleportAction> <Position> <WorldPosition x="83.00148010253906" y="72.28400421142578" 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 (-38.59, 11.92, 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_7442"> <Pedestrian model="walker.pedestrian.0001" mass="80" name="walker.pedestrian.0001" pedestrianCategory="pedestrian"> <ParameterDeclarations/> <BoundingBox> <Center x="1.5" y="0.0" z="0.9"/> <Dimensions width="2" length="2" height="2"/> </BoundingBox> <Properties> <Property name="type" value="simulation"/> </Properties> </Pedestrian> </ScenarioObject> <ScenarioObject name="pedestrian_close_to_adversary_7443"> <Pedestrian model="walker.pedestrian.0001" mass="80" name="walker.pedestrian.0001" pedestrianCategory="pedestrian"> <ParameterDeclarations/> <BoundingBox> <Center x="1.5" y="0.0" z="0.9"/> <Dimensions width="2" length="2" height="2"/> </BoundingBox> <Properties> <Property name="type" value="simulation"/> </Properties> </Pedestrian> </ScenarioObject> <ScenarioObject name="pedestrian_w_transform_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_close_to_adversary_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_w_transform_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_w_transform_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_adversary_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_w_transform_7451"> <Pedestrian model="walker.pedestrian.0001" mass="80" name="walker.pedestrian.0001" pedestrianCategory="pedestrian"> <ParameterDeclarations/> <BoundingBox> <Center x="1.5" y="0.0" z="0.9"/> <Dimensions width="2" length="2" height="2"/> </BoundingBox> <Properties> <Property name="type" value="simulation"/> </Properties> </Pedestrian> </ScenarioObject> <ScenarioObject name="pedestrian_close_to_adversary_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> </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_7442"> <PrivateAction> <TeleportAction> <Position> <WorldPosition x="-13.601682662963867" y="-153.66627502441406" z="0.0015143966302275658"/> </Position> </TeleportAction> </PrivateAction> </Private> <Private entityRef="pedestrian_close_to_adversary_7443"> <PrivateAction> <TeleportAction> <Position> <WorldPosition x="-11.546720504760742" y="-67.55423736572266" z="0.0338425450026989"/> </Position> </TeleportAction> </PrivateAction> </Private> <Private entityRef="pedestrian_w_transform_7444"> <PrivateAction> <TeleportAction> <Position> <WorldPosition x="14.554889678955078" y="91.15729522705078" z="0.5"/> </Position> </TeleportAction> </PrivateAction> </Private> <Private entityRef="pedestrian_close_to_standing_7445"> <PrivateAction> <TeleportAction> <Position> <WorldPosition x="-6.778567790985107" y="24.46173858642578" z="0.003053283551707864"/> </Position> </TeleportAction> </PrivateAction> </Private> <Private entityRef="pedestrian_close_to_adversary_7446"> <PrivateAction> <TeleportAction> <Position> <WorldPosition x="-1.93983793258667" y="-78.15172576904297" z="0.03375667333602905"/> </Position> </TeleportAction> </PrivateAction> </Private> <Private entityRef="pedestrian_w_transform_7447"> <PrivateAction> <TeleportAction> <Position> <WorldPosition x="-63.82035446166992" y="53.76865005493164" z="0.5"/> </Position> </TeleportAction> </PrivateAction> </Private> <Private entityRef="pedestrian_w_transform_7448"> <PrivateAction> <TeleportAction> <Position> <WorldPosition x="74.12659454345703" y="11.190714836120605" z="0.5"/> </Position> </TeleportAction> </PrivateAction> </Private> <Private entityRef="pedestrian_close_to_standing_7449"> <PrivateAction> <TeleportAction> <Position> <WorldPosition x="0.9429359436035156" y="39.09701919555664" z="0.0030178450979292393"/> </Position> </TeleportAction> </PrivateAction> </Private> <Private entityRef="pedestrian_close_to_adversary_7450"> <PrivateAction> <TeleportAction> <Position> <WorldPosition x="-16.578054428100586" y="-73.19355010986328" z="0.03378833830356598"/> </Position> </TeleportAction> </PrivateAction> </Private> <Private entityRef="pedestrian_w_transform_7451"> <PrivateAction> <TeleportAction> <Position> <WorldPosition x="-6.385329246520996" y="95.95245361328125" z="0.5"/> </Position> </TeleportAction> </PrivateAction> </Private> <Private entityRef="pedestrian_close_to_adversary_7452"> <PrivateAction> <TeleportAction> <Position> <WorldPosition x="-9.718219757080078" y="-85.76844024658203" z="0.03379974141716957"/> </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_7442"> <Pedestrian model="walker.pedestrian.0001" mass="80" name="walker.pedestrian.0001" pedestrianCategory="pedestrian"> <ParameterDeclarations/> <BoundingBox> <Center x="1.5" y="0.0" z="0.9"/> <Dimensions width="2" length="2" height="2"/> </BoundingBox> <Properties> <Property name="type" value="simulation"/> </Properties> </Pedestrian> </ScenarioObject> <ScenarioObject name="pedestrian_close_to_adversary_7443"> <Pedestrian model="walker.pedestrian.0001" mass="80" name="walker.pedestrian.0001" pedestrianCategory="pedestrian"> <ParameterDeclarations/> <BoundingBox> <Center x="1.5" y="0.0" z="0.9"/> <Dimensions width="2" length="2" height="2"/> </BoundingBox> <Properties> <Property name="type" value="simulation"/> </Properties> </Pedestrian> </ScenarioObject> <ScenarioObject name="pedestrian_w_transform_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_close_to_adversary_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_w_transform_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_w_transform_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_adversary_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_w_transform_7451"> <Pedestrian model="walker.pedestrian.0001" mass="80" name="walker.pedestrian.0001" pedestrianCategory="pedestrian"> <ParameterDeclarations/> <BoundingBox> <Center x="1.5" y="0.0" z="0.9"/> <Dimensions width="2" length="2" height="2"/> </BoundingBox> <Properties> <Property name="type" value="simulation"/> </Properties> </Pedestrian> </ScenarioObject> <ScenarioObject name="pedestrian_close_to_adversary_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_w_transform_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> </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_7442"> <PrivateAction> <TeleportAction> <Position> <WorldPosition x="-13.601682662963867" y="-153.66627502441406" z="0.0015143966302275658"/> </Position> </TeleportAction> </PrivateAction> </Private> <Private entityRef="pedestrian_close_to_adversary_7443"> <PrivateAction> <TeleportAction> <Position> <WorldPosition x="-11.546720504760742" y="-67.55423736572266" z="0.0338425450026989"/> </Position> </TeleportAction> </PrivateAction> </Private> <Private entityRef="pedestrian_w_transform_7444"> <PrivateAction> <TeleportAction> <Position> <WorldPosition x="14.554889678955078" y="91.15729522705078" z="0.5"/> </Position> </TeleportAction> </PrivateAction> </Private> <Private entityRef="pedestrian_close_to_standing_7445"> <PrivateAction> <TeleportAction> <Position> <WorldPosition x="-6.778567790985107" y="24.46173858642578" z="0.003053283551707864"/> </Position> </TeleportAction> </PrivateAction> </Private> <Private entityRef="pedestrian_close_to_adversary_7446"> <PrivateAction> <TeleportAction> <Position> <WorldPosition x="-1.93983793258667" y="-78.15172576904297" z="0.03375667333602905"/> </Position> </TeleportAction> </PrivateAction> </Private> <Private entityRef="pedestrian_w_transform_7447"> <PrivateAction> <TeleportAction> <Position> <WorldPosition x="-63.82035446166992" y="53.76865005493164" z="0.5"/> </Position> </TeleportAction> </PrivateAction> </Private> <Private entityRef="pedestrian_w_transform_7448"> <PrivateAction> <TeleportAction> <Position> <WorldPosition x="74.12659454345703" y="11.190714836120605" z="0.5"/> </Position> </TeleportAction> </PrivateAction> </Private> <Private entityRef="pedestrian_close_to_standing_7449"> <PrivateAction> <TeleportAction> <Position> <WorldPosition x="0.9429359436035156" y="39.09701919555664" z="0.0030178450979292393"/> </Position> </TeleportAction> </PrivateAction> </Private> <Private entityRef="pedestrian_close_to_adversary_7450"> <PrivateAction> <TeleportAction> <Position> <WorldPosition x="-16.578054428100586" y="-73.19355010986328" z="0.03378833830356598"/> </Position> </TeleportAction> </PrivateAction> </Private> <Private entityRef="pedestrian_w_transform_7451"> <PrivateAction> <TeleportAction> <Position> <WorldPosition x="-6.385329246520996" y="95.95245361328125" z="0.5"/> </Position> </TeleportAction> </PrivateAction> </Private> <Private entityRef="pedestrian_close_to_adversary_7452"> <PrivateAction> <TeleportAction> <Position> <WorldPosition x="-9.718219757080078" y="-85.76844024658203" z="0.03379974141716957"/> </Position> </TeleportAction> </PrivateAction> </Private> <Private entityRef="pedestrian_w_transform_7453"> <PrivateAction> <TeleportAction> <Position> <WorldPosition x="-38.59428024291992" y="11.921412467956543" 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 actor named pedestrian_close_to_standing_9447? ``` <?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_9436"> <Pedestrian model="walker.pedestrian.0001" mass="80" name="walker.pedestrian.0001" pedestrianCategory="pedestrian"> <ParameterDeclarations/> <BoundingBox> <Center x="1.5" y="0.0" z="0.9"/> <Dimensions width="2" length="2" height="2"/> </BoundingBox> <Properties> <Property name="type" value="simulation"/> </Properties> </Pedestrian> </ScenarioObject> <ScenarioObject name="pedestrian_close_to_standing_9437"> <Pedestrian model="walker.pedestrian.0001" mass="80" name="walker.pedestrian.0001" pedestrianCategory="pedestrian"> <ParameterDeclarations/> <BoundingBox> <Center x="1.5" y="0.0" z="0.9"/> <Dimensions width="2" length="2" height="2"/> </BoundingBox> <Properties> <Property name="type" value="simulation"/> </Properties> </Pedestrian> </ScenarioObject> <ScenarioObject name="pedestrian_close_to_hero_9438"> <Pedestrian model="walker.pedestrian.0001" mass="80" name="walker.pedestrian.0001" pedestrianCategory="pedestrian"> <ParameterDeclarations/> <BoundingBox> <Center x="1.5" y="0.0" z="0.9"/> <Dimensions width="2" length="2" height="2"/> </BoundingBox> <Properties> <Property name="type" value="simulation"/> </Properties> </Pedestrian> </ScenarioObject> <ScenarioObject name="pedestrian_w_transform_9439"> <Pedestrian model="walker.pedestrian.0001" mass="80" name="walker.pedestrian.0001" pedestrianCategory="pedestrian"> <ParameterDeclarations/> <BoundingBox> <Center x="1.5" y="0.0" z="0.9"/> <Dimensions width="2" length="2" height="2"/> </BoundingBox> <Properties> <Property name="type" value="simulation"/> </Properties> </Pedestrian> </ScenarioObject> <ScenarioObject name="pedestrian_w_transform_9440"> <Pedestrian model="walker.pedestrian.0001" mass="80" name="walker.pedestrian.0001" pedestrianCategory="pedestrian"> <ParameterDeclarations/> <BoundingBox> <Center x="1.5" y="0.0" z="0.9"/> <Dimensions width="2" length="2" height="2"/> </BoundingBox> <Properties> <Property name="type" value="simulation"/> </Properties> </Pedestrian> </ScenarioObject> <ScenarioObject name="pedestrian_close_to_adversary_9441"> <Pedestrian model="walker.pedestrian.0001" mass="80" name="walker.pedestrian.0001" pedestrianCategory="pedestrian"> <ParameterDeclarations/> <BoundingBox> <Center x="1.5" y="0.0" z="0.9"/> <Dimensions width="2" length="2" height="2"/> </BoundingBox> <Properties> <Property name="type" value="simulation"/> </Properties> </Pedestrian> </ScenarioObject> <ScenarioObject name="pedestrian_close_to_adversary_9442"> <Pedestrian model="walker.pedestrian.0001" mass="80" name="walker.pedestrian.0001" pedestrianCategory="pedestrian"> <ParameterDeclarations/> <BoundingBox> <Center x="1.5" y="0.0" z="0.9"/> <Dimensions width="2" length="2" height="2"/> </BoundingBox> <Properties> <Property name="type" value="simulation"/> </Properties> </Pedestrian> </ScenarioObject> <ScenarioObject name="pedestrian_w_transform_9443"> <Pedestrian model="walker.pedestrian.0001" mass="80" name="walker.pedestrian.0001" pedestrianCategory="pedestrian"> <ParameterDeclarations/> <BoundingBox> <Center x="1.5" y="0.0" z="0.9"/> <Dimensions width="2" length="2" height="2"/> </BoundingBox> <Properties> <Property name="type" value="simulation"/> </Properties> </Pedestrian> </ScenarioObject> <ScenarioObject name="pedestrian_close_to_hero_9444"> <Pedestrian model="walker.pedestrian.0001" mass="80" name="walker.pedestrian.0001" pedestrianCategory="pedestrian"> <ParameterDeclarations/> <BoundingBox> <Center x="1.5" y="0.0" z="0.9"/> <Dimensions width="2" length="2" height="2"/> </BoundingBox> <Properties> <Property name="type" value="simulation"/> </Properties> </Pedestrian> </ScenarioObject> <ScenarioObject name="pedestrian_w_transform_9445"> <Pedestrian model="walker.pedestrian.0001" mass="80" name="walker.pedestrian.0001" pedestrianCategory="pedestrian"> <ParameterDeclarations/> <BoundingBox> <Center x="1.5" y="0.0" z="0.9"/> <Dimensions width="2" length="2" height="2"/> </BoundingBox> <Properties> <Property name="type" value="simulation"/> </Properties> </Pedestrian> </ScenarioObject> <ScenarioObject name="pedestrian_close_to_adversary_9446"> <Pedestrian model="walker.pedestrian.0001" mass="80" name="walker.pedestrian.0001" pedestrianCategory="pedestrian"> <ParameterDeclarations/> <BoundingBox> <Center x="1.5" y="0.0" z="0.9"/> <Dimensions width="2" length="2" height="2"/> </BoundingBox> <Properties> <Property name="type" value="simulation"/> </Properties> </Pedestrian> </ScenarioObject> <ScenarioObject name="pedestrian_close_to_standing_9447"> <Pedestrian model="walker.pedestrian.0001" mass="80" name="walker.pedestrian.0001" pedestrianCategory="pedestrian"> <ParameterDeclarations/> <BoundingBox> <Center x="1.5" y="0.0" z="0.9"/> <Dimensions width="2" length="2" height="2"/> </BoundingBox> <Properties> <Property name="type" value="simulation"/> </Properties> </Pedestrian> </ScenarioObject> <ScenarioObject name="pedestrian_w_transform_9448"> <Pedestrian model="walker.pedestrian.0001" mass="80" name="walker.pedestrian.0001" pedestrianCategory="pedestrian"> <ParameterDeclarations/> <BoundingBox> <Center x="1.5" y="0.0" z="0.9"/> <Dimensions width="2" length="2" height="2"/> </BoundingBox> <Properties> <Property name="type" value="simulation"/> </Properties> </Pedestrian> </ScenarioObject> <ScenarioObject name="pedestrian_close_to_hero_9449"> <Pedestrian model="walker.pedestrian.0001" mass="80" name="walker.pedestrian.0001" pedestrianCategory="pedestrian"> <ParameterDeclarations/> <BoundingBox> <Center x="1.5" y="0.0" z="0.9"/> <Dimensions width="2" length="2" height="2"/> </BoundingBox> <Properties> <Property name="type" value="simulation"/> </Properties> </Pedestrian> </ScenarioObject> <ScenarioObject name="pedestrian_close_to_adversary_9450"> <Pedestrian model="walker.pedestrian.0001" mass="80" name="walker.pedestrian.0001" pedestrianCategory="pedestrian"> <ParameterDeclarations/> <BoundingBox> <Center x="1.5" y="0.0" z="0.9"/> <Dimensions width="2" length="2" height="2"/> </BoundingBox> <Properties> <Property name="type" value="simulation"/> </Properties> </Pedestrian> </ScenarioObject> <ScenarioObject name="pedestrian_close_to_adversary_9451"> <Pedestrian model="walker.pedestrian.0001" mass="80" name="walker.pedestrian.0001" pedestrianCategory="pedestrian"> <ParameterDeclarations/> <BoundingBox> <Center x="1.5" y="0.0" z="0.9"/> <Dimensions width="2" length="2" height="2"/> </BoundingBox> <Properties> <Property name="type" value="simulation"/> </Properties> </Pedestrian> </ScenarioObject> <ScenarioObject name="pedestrian_w_transform_9452"> <Pedestrian model="walker.pedestrian.0001" mass="80" name="walker.pedestrian.0001" pedestrianCategory="pedestrian"> <ParameterDeclarations/> <BoundingBox> <Center x="1.5" y="0.0" z="0.9"/> <Dimensions width="2" length="2" height="2"/> </BoundingBox> <Properties> <Property name="type" value="simulation"/> </Properties> </Pedestrian> </ScenarioObject> <ScenarioObject name="pedestrian_close_to_hero_9453"> <Pedestrian model="walker.pedestrian.0001" mass="80" name="walker.pedestrian.0001" pedestrianCategory="pedestrian"> <ParameterDeclarations/> <BoundingBox> <Center x="1.5" y="0.0" z="0.9"/> <Dimensions width="2" length="2" height="2"/> </BoundingBox> <Properties> <Property name="type" value="simulation"/> </Properties> </Pedestrian> </ScenarioObject> <ScenarioObject name="pedestrian_close_to_hero_9454"> <Pedestrian model="walker.pedestrian.0001" mass="80" name="walker.pedestrian.0001" pedestrianCategory="pedestrian"> <ParameterDeclarations/> <BoundingBox> <Center x="1.5" y="0.0" z="0.9"/> <Dimensions width="2" length="2" height="2"/> </BoundingBox> <Properties> <Property name="type" value="simulation"/> </Properties> </Pedestrian> </ScenarioObject> <ScenarioObject name="pedestrian_close_to_adversary_9455"> <Pedestrian model="walker.pedestrian.0001" mass="80" name="walker.pedestrian.0001" pedestrianCategory="pedestrian"> <ParameterDeclarations/> <BoundingBox> <Center x="1.5" y="0.0" z="0.9"/> <Dimensions width="2" length="2" height="2"/> </BoundingBox> <Properties> <Property name="type" value="simulation"/> </Properties> </Pedestrian> </ScenarioObject> <ScenarioObject name="pedestrian_close_to_adversary_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_close_to_adversary_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_w_transform_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_w_transform_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> <ScenarioObject name="pedestrian_close_to_standing_9460"> <Pedestrian model="walker.pedestrian.0001" mass="80" name="walker.pedestrian.0001" pedestrianCategory="pedestrian"> <ParameterDeclarations/> <BoundingBox> <Center x="1.5" y="0.0" z="0.9"/> <Dimensions width="2" length="2" height="2"/> </BoundingBox> <Properties> <Property name="type" value="simulation"/> </Properties> </Pedestrian> </ScenarioObject> <ScenarioObject name="pedestrian_close_to_adversary_9462"> <Pedestrian model="walker.pedestrian.0001" mass="80" name="walker.pedestrian.0001" pedestrianCategory="pedestrian"> <ParameterDeclarations/> <BoundingBox> <Center x="1.5" y="0.0" z="0.9"/> <Dimensions width="2" length="2" height="2"/> </BoundingBox> <Properties> <Property name="type" value="simulation"/> </Properties> </Pedestrian> </ScenarioObject> <ScenarioObject name="pedestrian_close_to_standing_9463"> <Pedestrian model="walker.pedestrian.0001" mass="80" name="walker.pedestrian.0001" pedestrianCategory="pedestrian"> <ParameterDeclarations/> <BoundingBox> <Center x="1.5" y="0.0" z="0.9"/> <Dimensions width="2" length="2" height="2"/> </BoundingBox> <Properties> <Property name="type" value="simulation"/> </Properties> </Pedestrian> </ScenarioObject> <ScenarioObject name="pedestrian_w_transform_9464"> <Pedestrian model="walker.pedestrian.0001" mass="80" name="walker.pedestrian.0001" pedestrianCategory="pedestrian"> <ParameterDeclarations/> <BoundingBox> <Center x="1.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_9436"> <PrivateAction> <TeleportAction> <Position> <WorldPosition x="-10.685527801513672" y="34.69498062133789" z="0.003044509794563055"/> </Position> </TeleportAction> </PrivateAction> </Private> <Private entityRef="pedestrian_close_to_standing_9437"> <PrivateAction> <TeleportAction> <Position> <WorldPosition x="-17.01614761352539" y="27.757076263427734" z="0.0030023956205695868"/> </Position> </TeleportAction> </PrivateAction> </Private> <Private entityRef="pedestrian_close_to_hero_9438"> <PrivateAction> <TeleportAction> <Position> <WorldPosition x="-21.072734832763672" y="-140.73484802246094" z="0.0016471862327307463"/> </Position> </TeleportAction> </PrivateAction> </Private> <Private entityRef="pedestrian_w_transform_9439"> <PrivateAction> <TeleportAction> <Position> <WorldPosition x="20.32760238647461" y="48.337013244628906" z="0.5"/> </Position> </TeleportAction> </PrivateAction> </Private> <Private entityRef="pedestrian_w_transform_9440"> <PrivateAction> <TeleportAction> <Position> <WorldPosition x="45.446075439453125" y="-43.4764289855957" z="0.5"/> </Position> </TeleportAction> </PrivateAction> </Private> <Private entityRef="pedestrian_close_to_adversary_9441"> <PrivateAction> <TeleportAction> <Position> <WorldPosition x="-14.76689338684082" y="-78.86544036865234" z="0.03379562124609947"/> </Position> </TeleportAction> </PrivateAction> </Private> <Private entityRef="pedestrian_close_to_adversary_9442"> <PrivateAction> <TeleportAction> <Position> <WorldPosition x="-2.2475569248199463" y="-64.14891815185547" z="0.03377639874815941"/> </Position> </TeleportAction> </PrivateAction> </Private> <Private entityRef="pedestrian_w_transform_9443"> <PrivateAction> <TeleportAction> <Position> <WorldPosition x="-18.611467361450195" y="0.25426343083381653" z="0.5"/> </Position> </TeleportAction> </PrivateAction> </Private> <Private entityRef="pedestrian_close_to_hero_9444"> <PrivateAction> <TeleportAction> <Position> <WorldPosition x="-14.868230819702148" y="-144.67086791992188" z="0.0016471862327307463"/> </Position> </TeleportAction> </PrivateAction> </Private> <Private entityRef="pedestrian_w_transform_9445"> <PrivateAction> <TeleportAction> <Position> <WorldPosition x="83.64450073242188" y="52.44526672363281" z="0.5"/> </Position> </TeleportAction> </PrivateAction> </Private> <Private entityRef="pedestrian_close_to_adversary_9446"> <PrivateAction> <TeleportAction> <Position> <WorldPosition x="-6.714406490325928" y="-76.41172790527344" z="0.03382755070924759"/> </Position> </TeleportAction> </PrivateAction> </Private> <Private entityRef="pedestrian_close_to_standing_9447"> <PrivateAction> <TeleportAction> <Position> <WorldPosition x="0.7772645950317383" y="27.689769744873047" z="0.0030982971657067537"/> </Position> </TeleportAction> </PrivateAction> </Private> <Private entityRef="pedestrian_w_transform_9448"> <PrivateAction> <TeleportAction> <Position> <WorldPosition x="71.77344512939453" y="-47.99237060546875" z="0.5"/> </Position> </TeleportAction> </PrivateAction> </Private> <Private entityRef="pedestrian_close_to_hero_9449"> <PrivateAction> <TeleportAction> <Position> <WorldPosition x="-8.243208885192871" y="-146.67376708984375" z="0.0016471862327307463"/> </Position> </TeleportAction> </PrivateAction> </Private> <Private entityRef="pedestrian_close_to_adversary_9450"> <PrivateAction> <TeleportAction> <Position> <WorldPosition x="0.1489715427160263" y="-63.28388977050781" z="0.03379890322685242"/> </Position> </TeleportAction> </PrivateAction> </Private> <Private entityRef="pedestrian_close_to_adversary_9451"> <PrivateAction> <TeleportAction> <Position> <WorldPosition x="-5.1044135093688965" y="-67.70497131347656" z="0.03377773240208626"/> </Position> </TeleportAction> </PrivateAction> </Private> <Private entityRef="pedestrian_w_transform_9452"> <PrivateAction> <TeleportAction> <Position> <WorldPosition x="-66.67646026611328" y="18.382793426513672" z="0.5"/> </Position> </TeleportAction> </PrivateAction> </Private> <Private entityRef="pedestrian_close_to_hero_9453"> <PrivateAction> <TeleportAction> <Position> <WorldPosition x="-19.593109130859375" y="-160.3281707763672" z="0.0016471862327307463"/> </Position> </TeleportAction> </PrivateAction> </Private> <Private entityRef="pedestrian_close_to_hero_9454"> <PrivateAction> <TeleportAction> <Position> <WorldPosition x="-15.642606735229492" y="-145.2342071533203" z="0.0016471862327307463"/> </Position> </TeleportAction> </PrivateAction> </Private> <Private entityRef="pedestrian_close_to_adversary_9455"> <PrivateAction> <TeleportAction> <Position> <WorldPosition x="-4.994064807891846" y="-73.9743423461914" z="0.033842314034700394"/> </Position> </TeleportAction> </PrivateAction> </Private> <Private entityRef="pedestrian_close_to_adversary_9456"> <PrivateAction> <TeleportAction> <Position> <WorldPosition x="-12.216340065002441" y="-61.28493881225586" z="0.03378665819764137"/> </Position> </TeleportAction> </PrivateAction> </Private> <Private entityRef="pedestrian_close_to_adversary_9457"> <PrivateAction> <TeleportAction> <Position> <WorldPosition x="-1.9364725351333618" y="-75.72752380371094" z="0.03380359709262848"/> </Position> </TeleportAction> </PrivateAction> </Private> <Private entityRef="pedestrian_w_transform_9458"> <PrivateAction> <TeleportAction> <Position> <WorldPosition x="51.070430755615234" y="1.0893863439559937" z="0.5"/> </Position> </TeleportAction> </PrivateAction> </Private> <Private entityRef="pedestrian_w_transform_9459"> <PrivateAction> <TeleportAction> <Position> <WorldPosition x="-61.88688278198242" y="-1.3037444353103638" z="0.5"/> </Position> </TeleportAction> </PrivateAction> </Private> <Private entityRef="pedestrian_close_to_standing_9460"> <PrivateAction> <TeleportAction> <Position> <WorldPosition x="-1.5161124467849731" y="26.456750869750977" z="0.003020667936652899"/> </Position> </TeleportAction> </PrivateAction> </Private> <Private entityRef="pedestrian_close_to_adversary_9462"> <PrivateAction> <TeleportAction> <Position> <WorldPosition x="-12.693595886230469" y="-62.97319412231445" z="0.03376178815960884"/> </Position> </TeleportAction> </PrivateAction> </Private> <Private entityRef="pedestrian_close_to_standing_9463"> <PrivateAction> <TeleportAction> <Position> <WorldPosition x="-14.030413627624512" y="37.91194152832031" z="0.0030487440526485443"/> </Position> </TeleportAction> </PrivateAction> </Private> <Private entityRef="pedestrian_w_transform_9464"> <PrivateAction> <TeleportAction> <Position> <WorldPosition x="-24.96637535095215" y="12.39285659790039" 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_9436"> <Pedestrian model="walker.pedestrian.0001" mass="80" name="walker.pedestrian.0001" pedestrianCategory="pedestrian"> <ParameterDeclarations/> <BoundingBox> <Center x="1.5" y="0.0" z="0.9"/> <Dimensions width="2" length="2" height="2"/> </BoundingBox> <Properties> <Property name="type" value="simulation"/> </Properties> </Pedestrian> </ScenarioObject> <ScenarioObject name="pedestrian_close_to_standing_9437"> <Pedestrian model="walker.pedestrian.0001" mass="80" name="walker.pedestrian.0001" pedestrianCategory="pedestrian"> <ParameterDeclarations/> <BoundingBox> <Center x="1.5" y="0.0" z="0.9"/> <Dimensions width="2" length="2" height="2"/> </BoundingBox> <Properties> <Property name="type" value="simulation"/> </Properties> </Pedestrian> </ScenarioObject> <ScenarioObject name="pedestrian_close_to_hero_9438"> <Pedestrian model="walker.pedestrian.0001" mass="80" name="walker.pedestrian.0001" pedestrianCategory="pedestrian"> <ParameterDeclarations/> <BoundingBox> <Center x="1.5" y="0.0" z="0.9"/> <Dimensions width="2" length="2" height="2"/> </BoundingBox> <Properties> <Property name="type" value="simulation"/> </Properties> </Pedestrian> </ScenarioObject> <ScenarioObject name="pedestrian_w_transform_9439"> <Pedestrian model="walker.pedestrian.0001" mass="80" name="walker.pedestrian.0001" pedestrianCategory="pedestrian"> <ParameterDeclarations/> <BoundingBox> <Center x="1.5" y="0.0" z="0.9"/> <Dimensions width="2" length="2" height="2"/> </BoundingBox> <Properties> <Property name="type" value="simulation"/> </Properties> </Pedestrian> </ScenarioObject> <ScenarioObject name="pedestrian_w_transform_9440"> <Pedestrian model="walker.pedestrian.0001" mass="80" name="walker.pedestrian.0001" pedestrianCategory="pedestrian"> <ParameterDeclarations/> <BoundingBox> <Center x="1.5" y="0.0" z="0.9"/> <Dimensions width="2" length="2" height="2"/> </BoundingBox> <Properties> <Property name="type" value="simulation"/> </Properties> </Pedestrian> </ScenarioObject> <ScenarioObject name="pedestrian_close_to_adversary_9441"> <Pedestrian model="walker.pedestrian.0001" mass="80" name="walker.pedestrian.0001" pedestrianCategory="pedestrian"> <ParameterDeclarations/> <BoundingBox> <Center x="1.5" y="0.0" z="0.9"/> <Dimensions width="2" length="2" height="2"/> </BoundingBox> <Properties> <Property name="type" value="simulation"/> </Properties> </Pedestrian> </ScenarioObject> <ScenarioObject name="pedestrian_close_to_adversary_9442"> <Pedestrian model="walker.pedestrian.0001" mass="80" name="walker.pedestrian.0001" pedestrianCategory="pedestrian"> <ParameterDeclarations/> <BoundingBox> <Center x="1.5" y="0.0" z="0.9"/> <Dimensions width="2" length="2" height="2"/> </BoundingBox> <Properties> <Property name="type" value="simulation"/> </Properties> </Pedestrian> </ScenarioObject> <ScenarioObject name="pedestrian_w_transform_9443"> <Pedestrian model="walker.pedestrian.0001" mass="80" name="walker.pedestrian.0001" pedestrianCategory="pedestrian"> <ParameterDeclarations/> <BoundingBox> <Center x="1.5" y="0.0" z="0.9"/> <Dimensions width="2" length="2" height="2"/> </BoundingBox> <Properties> <Property name="type" value="simulation"/> </Properties> </Pedestrian> </ScenarioObject> <ScenarioObject name="pedestrian_close_to_hero_9444"> <Pedestrian model="walker.pedestrian.0001" mass="80" name="walker.pedestrian.0001" pedestrianCategory="pedestrian"> <ParameterDeclarations/> <BoundingBox> <Center x="1.5" y="0.0" z="0.9"/> <Dimensions width="2" length="2" height="2"/> </BoundingBox> <Properties> <Property name="type" value="simulation"/> </Properties> </Pedestrian> </ScenarioObject> <ScenarioObject name="pedestrian_w_transform_9445"> <Pedestrian model="walker.pedestrian.0001" mass="80" name="walker.pedestrian.0001" pedestrianCategory="pedestrian"> <ParameterDeclarations/> <BoundingBox> <Center x="1.5" y="0.0" z="0.9"/> <Dimensions width="2" length="2" height="2"/> </BoundingBox> <Properties> <Property name="type" value="simulation"/> </Properties> </Pedestrian> </ScenarioObject> <ScenarioObject name="pedestrian_close_to_adversary_9446"> <Pedestrian model="walker.pedestrian.0001" mass="80" name="walker.pedestrian.0001" pedestrianCategory="pedestrian"> <ParameterDeclarations/> <BoundingBox> <Center x="1.5" y="0.0" z="0.9"/> <Dimensions width="2" length="2" height="2"/> </BoundingBox> <Properties> <Property name="type" value="simulation"/> </Properties> </Pedestrian> </ScenarioObject> <ScenarioObject name="pedestrian_w_transform_9448"> <Pedestrian model="walker.pedestrian.0001" mass="80" name="walker.pedestrian.0001" pedestrianCategory="pedestrian"> <ParameterDeclarations/> <BoundingBox> <Center x="1.5" y="0.0" z="0.9"/> <Dimensions width="2" length="2" height="2"/> </BoundingBox> <Properties> <Property name="type" value="simulation"/> </Properties> </Pedestrian> </ScenarioObject> <ScenarioObject name="pedestrian_close_to_hero_9449"> <Pedestrian model="walker.pedestrian.0001" mass="80" name="walker.pedestrian.0001" pedestrianCategory="pedestrian"> <ParameterDeclarations/> <BoundingBox> <Center x="1.5" y="0.0" z="0.9"/> <Dimensions width="2" length="2" height="2"/> </BoundingBox> <Properties> <Property name="type" value="simulation"/> </Properties> </Pedestrian> </ScenarioObject> <ScenarioObject name="pedestrian_close_to_adversary_9450"> <Pedestrian model="walker.pedestrian.0001" mass="80" name="walker.pedestrian.0001" pedestrianCategory="pedestrian"> <ParameterDeclarations/> <BoundingBox> <Center x="1.5" y="0.0" z="0.9"/> <Dimensions width="2" length="2" height="2"/> </BoundingBox> <Properties> <Property name="type" value="simulation"/> </Properties> </Pedestrian> </ScenarioObject> <ScenarioObject name="pedestrian_close_to_adversary_9451"> <Pedestrian model="walker.pedestrian.0001" mass="80" name="walker.pedestrian.0001" pedestrianCategory="pedestrian"> <ParameterDeclarations/> <BoundingBox> <Center x="1.5" y="0.0" z="0.9"/> <Dimensions width="2" length="2" height="2"/> </BoundingBox> <Properties> <Property name="type" value="simulation"/> </Properties> </Pedestrian> </ScenarioObject> <ScenarioObject name="pedestrian_w_transform_9452"> <Pedestrian model="walker.pedestrian.0001" mass="80" name="walker.pedestrian.0001" pedestrianCategory="pedestrian"> <ParameterDeclarations/> <BoundingBox> <Center x="1.5" y="0.0" z="0.9"/> <Dimensions width="2" length="2" height="2"/> </BoundingBox> <Properties> <Property name="type" value="simulation"/> </Properties> </Pedestrian> </ScenarioObject> <ScenarioObject name="pedestrian_close_to_hero_9453"> <Pedestrian model="walker.pedestrian.0001" mass="80" name="walker.pedestrian.0001" pedestrianCategory="pedestrian"> <ParameterDeclarations/> <BoundingBox> <Center x="1.5" y="0.0" z="0.9"/> <Dimensions width="2" length="2" height="2"/> </BoundingBox> <Properties> <Property name="type" value="simulation"/> </Properties> </Pedestrian> </ScenarioObject> <ScenarioObject name="pedestrian_close_to_hero_9454"> <Pedestrian model="walker.pedestrian.0001" mass="80" name="walker.pedestrian.0001" pedestrianCategory="pedestrian"> <ParameterDeclarations/> <BoundingBox> <Center x="1.5" y="0.0" z="0.9"/> <Dimensions width="2" length="2" height="2"/> </BoundingBox> <Properties> <Property name="type" value="simulation"/> </Properties> </Pedestrian> </ScenarioObject> <ScenarioObject name="pedestrian_close_to_adversary_9455"> <Pedestrian model="walker.pedestrian.0001" mass="80" name="walker.pedestrian.0001" pedestrianCategory="pedestrian"> <ParameterDeclarations/> <BoundingBox> <Center x="1.5" y="0.0" z="0.9"/> <Dimensions width="2" length="2" height="2"/> </BoundingBox> <Properties> <Property name="type" value="simulation"/> </Properties> </Pedestrian> </ScenarioObject> <ScenarioObject name="pedestrian_close_to_adversary_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_close_to_adversary_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_w_transform_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_w_transform_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> <ScenarioObject name="pedestrian_close_to_standing_9460"> <Pedestrian model="walker.pedestrian.0001" mass="80" name="walker.pedestrian.0001" pedestrianCategory="pedestrian"> <ParameterDeclarations/> <BoundingBox> <Center x="1.5" y="0.0" z="0.9"/> <Dimensions width="2" length="2" height="2"/> </BoundingBox> <Properties> <Property name="type" value="simulation"/> </Properties> </Pedestrian> </ScenarioObject> <ScenarioObject name="pedestrian_close_to_adversary_9462"> <Pedestrian model="walker.pedestrian.0001" mass="80" name="walker.pedestrian.0001" pedestrianCategory="pedestrian"> <ParameterDeclarations/> <BoundingBox> <Center x="1.5" y="0.0" z="0.9"/> <Dimensions width="2" length="2" height="2"/> </BoundingBox> <Properties> <Property name="type" value="simulation"/> </Properties> </Pedestrian> </ScenarioObject> <ScenarioObject name="pedestrian_close_to_standing_9463"> <Pedestrian model="walker.pedestrian.0001" mass="80" name="walker.pedestrian.0001" pedestrianCategory="pedestrian"> <ParameterDeclarations/> <BoundingBox> <Center x="1.5" y="0.0" z="0.9"/> <Dimensions width="2" length="2" height="2"/> </BoundingBox> <Properties> <Property name="type" value="simulation"/> </Properties> </Pedestrian> </ScenarioObject> <ScenarioObject name="pedestrian_w_transform_9464"> <Pedestrian model="walker.pedestrian.0001" mass="80" name="walker.pedestrian.0001" pedestrianCategory="pedestrian"> <ParameterDeclarations/> <BoundingBox> <Center x="1.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_9436"> <PrivateAction> <TeleportAction> <Position> <WorldPosition x="-10.685527801513672" y="34.69498062133789" z="0.003044509794563055"/> </Position> </TeleportAction> </PrivateAction> </Private> <Private entityRef="pedestrian_close_to_standing_9437"> <PrivateAction> <TeleportAction> <Position> <WorldPosition x="-17.01614761352539" y="27.757076263427734" z="0.0030023956205695868"/> </Position> </TeleportAction> </PrivateAction> </Private> <Private entityRef="pedestrian_close_to_hero_9438"> <PrivateAction> <TeleportAction> <Position> <WorldPosition x="-21.072734832763672" y="-140.73484802246094" z="0.0016471862327307463"/> </Position> </TeleportAction> </PrivateAction> </Private> <Private entityRef="pedestrian_w_transform_9439"> <PrivateAction> <TeleportAction> <Position> <WorldPosition x="20.32760238647461" y="48.337013244628906" z="0.5"/> </Position> </TeleportAction> </PrivateAction> </Private> <Private entityRef="pedestrian_w_transform_9440"> <PrivateAction> <TeleportAction> <Position> <WorldPosition x="45.446075439453125" y="-43.4764289855957" z="0.5"/> </Position> </TeleportAction> </PrivateAction> </Private> <Private entityRef="pedestrian_close_to_adversary_9441"> <PrivateAction> <TeleportAction> <Position> <WorldPosition x="-14.76689338684082" y="-78.86544036865234" z="0.03379562124609947"/> </Position> </TeleportAction> </PrivateAction> </Private> <Private entityRef="pedestrian_close_to_adversary_9442"> <PrivateAction> <TeleportAction> <Position> <WorldPosition x="-2.2475569248199463" y="-64.14891815185547" z="0.03377639874815941"/> </Position> </TeleportAction> </PrivateAction> </Private> <Private entityRef="pedestrian_w_transform_9443"> <PrivateAction> <TeleportAction> <Position> <WorldPosition x="-18.611467361450195" y="0.25426343083381653" z="0.5"/> </Position> </TeleportAction> </PrivateAction> </Private> <Private entityRef="pedestrian_close_to_hero_9444"> <PrivateAction> <TeleportAction> <Position> <WorldPosition x="-14.868230819702148" y="-144.67086791992188" z="0.0016471862327307463"/> </Position> </TeleportAction> </PrivateAction> </Private> <Private entityRef="pedestrian_w_transform_9445"> <PrivateAction> <TeleportAction> <Position> <WorldPosition x="83.64450073242188" y="52.44526672363281" z="0.5"/> </Position> </TeleportAction> </PrivateAction> </Private> <Private entityRef="pedestrian_close_to_adversary_9446"> <PrivateAction> <TeleportAction> <Position> <WorldPosition x="-6.714406490325928" y="-76.41172790527344" z="0.03382755070924759"/> </Position> </TeleportAction> </PrivateAction> </Private> <Private entityRef="pedestrian_w_transform_9448"> <PrivateAction> <TeleportAction> <Position> <WorldPosition x="71.77344512939453" y="-47.99237060546875" z="0.5"/> </Position> </TeleportAction> </PrivateAction> </Private> <Private entityRef="pedestrian_close_to_hero_9449"> <PrivateAction> <TeleportAction> <Position> <WorldPosition x="-8.243208885192871" y="-146.67376708984375" z="0.0016471862327307463"/> </Position> </TeleportAction> </PrivateAction> </Private> <Private entityRef="pedestrian_close_to_adversary_9450"> <PrivateAction> <TeleportAction> <Position> <WorldPosition x="0.1489715427160263" y="-63.28388977050781" z="0.03379890322685242"/> </Position> </TeleportAction> </PrivateAction> </Private> <Private entityRef="pedestrian_close_to_adversary_9451"> <PrivateAction> <TeleportAction> <Position> <WorldPosition x="-5.1044135093688965" y="-67.70497131347656" z="0.03377773240208626"/> </Position> </TeleportAction> </PrivateAction> </Private> <Private entityRef="pedestrian_w_transform_9452"> <PrivateAction> <TeleportAction> <Position> <WorldPosition x="-66.67646026611328" y="18.382793426513672" z="0.5"/> </Position> </TeleportAction> </PrivateAction> </Private> <Private entityRef="pedestrian_close_to_hero_9453"> <PrivateAction> <TeleportAction> <Position> <WorldPosition x="-19.593109130859375" y="-160.3281707763672" z="0.0016471862327307463"/> </Position> </TeleportAction> </PrivateAction> </Private> <Private entityRef="pedestrian_close_to_hero_9454"> <PrivateAction> <TeleportAction> <Position> <WorldPosition x="-15.642606735229492" y="-145.2342071533203" z="0.0016471862327307463"/> </Position> </TeleportAction> </PrivateAction> </Private> <Private entityRef="pedestrian_close_to_adversary_9455"> <PrivateAction> <TeleportAction> <Position> <WorldPosition x="-4.994064807891846" y="-73.9743423461914" z="0.033842314034700394"/> </Position> </TeleportAction> </PrivateAction> </Private> <Private entityRef="pedestrian_close_to_adversary_9456"> <PrivateAction> <TeleportAction> <Position> <WorldPosition x="-12.216340065002441" y="-61.28493881225586" z="0.03378665819764137"/> </Position> </TeleportAction> </PrivateAction> </Private> <Private entityRef="pedestrian_close_to_adversary_9457"> <PrivateAction> <TeleportAction> <Position> <WorldPosition x="-1.9364725351333618" y="-75.72752380371094" z="0.03380359709262848"/> </Position> </TeleportAction> </PrivateAction> </Private> <Private entityRef="pedestrian_w_transform_9458"> <PrivateAction> <TeleportAction> <Position> <WorldPosition x="51.070430755615234" y="1.0893863439559937" z="0.5"/> </Position> </TeleportAction> </PrivateAction> </Private> <Private entityRef="pedestrian_w_transform_9459"> <PrivateAction> <TeleportAction> <Position> <WorldPosition x="-61.88688278198242" y="-1.3037444353103638" z="0.5"/> </Position> </TeleportAction> </PrivateAction> </Private> <Private entityRef="pedestrian_close_to_standing_9460"> <PrivateAction> <TeleportAction> <Position> <WorldPosition x="-1.5161124467849731" y="26.456750869750977" z="0.003020667936652899"/> </Position> </TeleportAction> </PrivateAction> </Private> <Private entityRef="pedestrian_close_to_adversary_9462"> <PrivateAction> <TeleportAction> <Position> <WorldPosition x="-12.693595886230469" y="-62.97319412231445" z="0.03376178815960884"/> </Position> </TeleportAction> </PrivateAction> </Private> <Private entityRef="pedestrian_close_to_standing_9463"> <PrivateAction> <TeleportAction> <Position> <WorldPosition x="-14.030413627624512" y="37.91194152832031" z="0.0030487440526485443"/> </Position> </TeleportAction> </PrivateAction> </Private> <Private entityRef="pedestrian_w_transform_9464"> <PrivateAction> <TeleportAction> <Position> <WorldPosition x="-24.96637535095215" y="12.39285659790039" 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_w_transform_22510? ``` <?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_22503"> <Pedestrian model="walker.pedestrian.0001" mass="80" name="walker.pedestrian.0001" pedestrianCategory="pedestrian"> <ParameterDeclarations/> <BoundingBox> <Center x="1.5" y="0.0" z="0.9"/> <Dimensions width="2" length="2" height="2"/> </BoundingBox> <Properties> <Property name="type" value="simulation"/> </Properties> </Pedestrian> </ScenarioObject> <ScenarioObject name="pedestrian_close_to_hero_22504"> <Pedestrian model="walker.pedestrian.0001" mass="80" name="walker.pedestrian.0001" pedestrianCategory="pedestrian"> <ParameterDeclarations/> <BoundingBox> <Center x="1.5" y="0.0" z="0.9"/> <Dimensions width="2" length="2" height="2"/> </BoundingBox> <Properties> <Property name="type" value="simulation"/> </Properties> </Pedestrian> </ScenarioObject> <ScenarioObject name="pedestrian_w_transform_22506"> <Pedestrian model="walker.pedestrian.0001" mass="80" name="walker.pedestrian.0001" pedestrianCategory="pedestrian"> <ParameterDeclarations/> <BoundingBox> <Center x="1.5" y="0.0" z="0.9"/> <Dimensions width="2" length="2" height="2"/> </BoundingBox> <Properties> <Property name="type" value="simulation"/> </Properties> </Pedestrian> </ScenarioObject> <ScenarioObject name="pedestrian_w_transform_22508"> <Pedestrian model="walker.pedestrian.0001" mass="80" name="walker.pedestrian.0001" pedestrianCategory="pedestrian"> <ParameterDeclarations/> <BoundingBox> <Center x="1.5" y="0.0" z="0.9"/> <Dimensions width="2" length="2" height="2"/> </BoundingBox> <Properties> <Property name="type" value="simulation"/> </Properties> </Pedestrian> </ScenarioObject> <ScenarioObject name="pedestrian_close_to_hero_22509"> <Pedestrian model="walker.pedestrian.0001" mass="80" name="walker.pedestrian.0001" pedestrianCategory="pedestrian"> <ParameterDeclarations/> <BoundingBox> <Center x="1.5" y="0.0" z="0.9"/> <Dimensions width="2" length="2" height="2"/> </BoundingBox> <Properties> <Property name="type" value="simulation"/> </Properties> </Pedestrian> </ScenarioObject> <ScenarioObject name="pedestrian_w_transform_22510"> <Pedestrian model="walker.pedestrian.0001" mass="80" name="walker.pedestrian.0001" pedestrianCategory="pedestrian"> <ParameterDeclarations/> <BoundingBox> <Center x="1.5" y="0.0" z="0.9"/> <Dimensions width="2" length="2" height="2"/> </BoundingBox> <Properties> <Property name="type" value="simulation"/> </Properties> </Pedestrian> </ScenarioObject> <ScenarioObject name="pedestrian_close_to_adversary_22511"> <Pedestrian model="walker.pedestrian.0001" mass="80" name="walker.pedestrian.0001" pedestrianCategory="pedestrian"> <ParameterDeclarations/> <BoundingBox> <Center x="1.5" y="0.0" z="0.9"/> <Dimensions width="2" length="2" height="2"/> </BoundingBox> <Properties> <Property name="type" value="simulation"/> </Properties> </Pedestrian> </ScenarioObject> <ScenarioObject name="pedestrian_close_to_adversary_22512"> <Pedestrian model="walker.pedestrian.0001" mass="80" name="walker.pedestrian.0001" pedestrianCategory="pedestrian"> <ParameterDeclarations/> <BoundingBox> <Center x="1.5" y="0.0" z="0.9"/> <Dimensions width="2" length="2" height="2"/> </BoundingBox> <Properties> <Property name="type" value="simulation"/> </Properties> </Pedestrian> </ScenarioObject> <ScenarioObject name="pedestrian_close_to_adversary_22513"> <Pedestrian model="walker.pedestrian.0001" mass="80" name="walker.pedestrian.0001" pedestrianCategory="pedestrian"> <ParameterDeclarations/> <BoundingBox> <Center x="1.5" y="0.0" z="0.9"/> <Dimensions width="2" length="2" height="2"/> </BoundingBox> <Properties> <Property name="type" value="simulation"/> </Properties> </Pedestrian> </ScenarioObject> <ScenarioObject name="pedestrian_close_to_adversary_22514"> <Pedestrian model="walker.pedestrian.0001" mass="80" name="walker.pedestrian.0001" pedestrianCategory="pedestrian"> <ParameterDeclarations/> <BoundingBox> <Center x="1.5" y="0.0" z="0.9"/> <Dimensions width="2" length="2" height="2"/> </BoundingBox> <Properties> <Property name="type" value="simulation"/> </Properties> </Pedestrian> </ScenarioObject> <ScenarioObject name="pedestrian_w_transform_22516"> <Pedestrian model="walker.pedestrian.0001" mass="80" name="walker.pedestrian.0001" pedestrianCategory="pedestrian"> <ParameterDeclarations/> <BoundingBox> <Center x="1.5" y="0.0" z="0.9"/> <Dimensions width="2" length="2" height="2"/> </BoundingBox> <Properties> <Property name="type" value="simulation"/> </Properties> </Pedestrian> </ScenarioObject> <ScenarioObject name="pedestrian_close_to_hero_22517"> <Pedestrian model="walker.pedestrian.0001" mass="80" name="walker.pedestrian.0001" pedestrianCategory="pedestrian"> <ParameterDeclarations/> <BoundingBox> <Center x="1.5" y="0.0" z="0.9"/> <Dimensions width="2" length="2" height="2"/> </BoundingBox> <Properties> <Property name="type" value="simulation"/> </Properties> </Pedestrian> </ScenarioObject> <ScenarioObject name="pedestrian_w_transform_22518"> <Pedestrian model="walker.pedestrian.0001" mass="80" name="walker.pedestrian.0001" pedestrianCategory="pedestrian"> <ParameterDeclarations/> <BoundingBox> <Center x="1.5" y="0.0" z="0.9"/> <Dimensions width="2" length="2" height="2"/> </BoundingBox> <Properties> <Property name="type" value="simulation"/> </Properties> </Pedestrian> </ScenarioObject> <ScenarioObject name="pedestrian_close_to_adversary_22519"> <Pedestrian model="walker.pedestrian.0001" mass="80" name="walker.pedestrian.0001" pedestrianCategory="pedestrian"> <ParameterDeclarations/> <BoundingBox> <Center x="1.5" y="0.0" z="0.9"/> <Dimensions width="2" length="2" height="2"/> </BoundingBox> <Properties> <Property name="type" value="simulation"/> </Properties> </Pedestrian> </ScenarioObject> <ScenarioObject name="pedestrian_close_to_adversary_22521"> <Pedestrian model="walker.pedestrian.0001" mass="80" name="walker.pedestrian.0001" pedestrianCategory="pedestrian"> <ParameterDeclarations/> <BoundingBox> <Center x="1.5" y="0.0" z="0.9"/> <Dimensions width="2" length="2" height="2"/> </BoundingBox> <Properties> <Property name="type" value="simulation"/> </Properties> </Pedestrian> </ScenarioObject> <ScenarioObject name="pedestrian_close_to_standing_22522"> <Pedestrian model="walker.pedestrian.0001" mass="80" name="walker.pedestrian.0001" pedestrianCategory="pedestrian"> <ParameterDeclarations/> <BoundingBox> <Center x="1.5" y="0.0" z="0.9"/> <Dimensions width="2" length="2" height="2"/> </BoundingBox> <Properties> <Property name="type" value="simulation"/> </Properties> </Pedestrian> </ScenarioObject> <ScenarioObject name="pedestrian_w_transform_22523"> <Pedestrian model="walker.pedestrian.0001" mass="80" name="walker.pedestrian.0001" pedestrianCategory="pedestrian"> <ParameterDeclarations/> <BoundingBox> <Center x="1.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_22503"> <PrivateAction> <TeleportAction> <Position> <WorldPosition x="-9.047880172729492" y="-69.34217071533203" z="0.0338231660425663"/> </Position> </TeleportAction> </PrivateAction> </Private> <Private entityRef="pedestrian_close_to_hero_22504"> <PrivateAction> <TeleportAction> <Position> <WorldPosition x="-13.674989700317383" y="-155.033935546875" z="0.0015143966302275658"/> </Position> </TeleportAction> </PrivateAction> </Private> <Private entityRef="pedestrian_w_transform_22506"> <PrivateAction> <TeleportAction> <Position> <WorldPosition x="-28.523509979248047" y="42.02067565917969" z="0.5"/> </Position> </TeleportAction> </PrivateAction> </Private> <Private entityRef="pedestrian_w_transform_22508"> <PrivateAction> <TeleportAction> <Position> <WorldPosition x="67.29131317138672" y="-63.36378479003906" z="0.5"/> </Position> </TeleportAction> </PrivateAction> </Private> <Private entityRef="pedestrian_close_to_hero_22509"> <PrivateAction> <TeleportAction> <Position> <WorldPosition x="-1.8960328102111816" y="-158.5960235595703" z="0.0015143966302275658"/> </Position> </TeleportAction> </PrivateAction> </Private> <Private entityRef="pedestrian_w_transform_22510"> <PrivateAction> <TeleportAction> <Position> <WorldPosition x="-68.52828216552734" y="-92.44402313232422" z="0.5"/> </Position> </TeleportAction> </PrivateAction> </Private> <Private entityRef="pedestrian_close_to_adversary_22511"> <PrivateAction> <TeleportAction> <Position> <WorldPosition x="-14.876928329467773" y="-62.63320541381836" z="0.03378864377737045"/> </Position> </TeleportAction> </PrivateAction> </Private> <Private entityRef="pedestrian_close_to_adversary_22512"> <PrivateAction> <TeleportAction> <Position> <WorldPosition x="-7.203994274139404" y="-72.62928009033203" z="0.03377056121826172"/> </Position> </TeleportAction> </PrivateAction> </Private> <Private entityRef="pedestrian_close_to_adversary_22513"> <PrivateAction> <TeleportAction> <Position> <WorldPosition x="-17.601804733276367" y="-80.9010009765625" z="0.03382076323032379"/> </Position> </TeleportAction> </PrivateAction> </Private> <Private entityRef="pedestrian_close_to_adversary_22514"> <PrivateAction> <TeleportAction> <Position> <WorldPosition x="-5.33585262298584" y="-77.90880584716797" z="0.03378719091415405"/> </Position> </TeleportAction> </PrivateAction> </Private> <Private entityRef="pedestrian_w_transform_22516"> <PrivateAction> <TeleportAction> <Position> <WorldPosition x="-8.450104713439941" y="80.6522216796875" z="0.5"/> </Position> </TeleportAction> </PrivateAction> </Private> <Private entityRef="pedestrian_close_to_hero_22517"> <PrivateAction> <TeleportAction> <Position> <WorldPosition x="-10.603068351745605" y="-162.02490234375" z="0.0015143966302275658"/> </Position> </TeleportAction> </PrivateAction> </Private> <Private entityRef="pedestrian_w_transform_22518"> <PrivateAction> <TeleportAction> <Position> <WorldPosition x="11.061882019042969" y="-32.8160285949707" z="0.5"/> </Position> </TeleportAction> </PrivateAction> </Private> <Private entityRef="pedestrian_close_to_adversary_22519"> <PrivateAction> <TeleportAction> <Position> <WorldPosition x="-13.867002487182617" y="-62.39919662475586" z="0.03377113118767738"/> </Position> </TeleportAction> </PrivateAction> </Private> <Private entityRef="pedestrian_close_to_adversary_22521"> <PrivateAction> <TeleportAction> <Position> <WorldPosition x="-1.62052583694458" y="-73.25859832763672" z="0.03377803787589073"/> </Position> </TeleportAction> </PrivateAction> </Private> <Private entityRef="pedestrian_close_to_standing_22522"> <PrivateAction> <TeleportAction> <Position> <WorldPosition x="1.6870959997177124" y="36.802616119384766" z="0.003015403635799885"/> </Position> </TeleportAction> </PrivateAction> </Private> <Private entityRef="pedestrian_w_transform_22523"> <PrivateAction> <TeleportAction> <Position> <WorldPosition x="-35.53781509399414" y="73.18345642089844" 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_22503"> <Pedestrian model="walker.pedestrian.0001" mass="80" name="walker.pedestrian.0001" pedestrianCategory="pedestrian"> <ParameterDeclarations/> <BoundingBox> <Center x="1.5" y="0.0" z="0.9"/> <Dimensions width="2" length="2" height="2"/> </BoundingBox> <Properties> <Property name="type" value="simulation"/> </Properties> </Pedestrian> </ScenarioObject> <ScenarioObject name="pedestrian_close_to_hero_22504"> <Pedestrian model="walker.pedestrian.0001" mass="80" name="walker.pedestrian.0001" pedestrianCategory="pedestrian"> <ParameterDeclarations/> <BoundingBox> <Center x="1.5" y="0.0" z="0.9"/> <Dimensions width="2" length="2" height="2"/> </BoundingBox> <Properties> <Property name="type" value="simulation"/> </Properties> </Pedestrian> </ScenarioObject> <ScenarioObject name="pedestrian_w_transform_22506"> <Pedestrian model="walker.pedestrian.0001" mass="80" name="walker.pedestrian.0001" pedestrianCategory="pedestrian"> <ParameterDeclarations/> <BoundingBox> <Center x="1.5" y="0.0" z="0.9"/> <Dimensions width="2" length="2" height="2"/> </BoundingBox> <Properties> <Property name="type" value="simulation"/> </Properties> </Pedestrian> </ScenarioObject> <ScenarioObject name="pedestrian_w_transform_22508"> <Pedestrian model="walker.pedestrian.0001" mass="80" name="walker.pedestrian.0001" pedestrianCategory="pedestrian"> <ParameterDeclarations/> <BoundingBox> <Center x="1.5" y="0.0" z="0.9"/> <Dimensions width="2" length="2" height="2"/> </BoundingBox> <Properties> <Property name="type" value="simulation"/> </Properties> </Pedestrian> </ScenarioObject> <ScenarioObject name="pedestrian_close_to_hero_22509"> <Pedestrian model="walker.pedestrian.0001" mass="80" name="walker.pedestrian.0001" pedestrianCategory="pedestrian"> <ParameterDeclarations/> <BoundingBox> <Center x="1.5" y="0.0" z="0.9"/> <Dimensions width="2" length="2" height="2"/> </BoundingBox> <Properties> <Property name="type" value="simulation"/> </Properties> </Pedestrian> </ScenarioObject> <ScenarioObject name="pedestrian_close_to_adversary_22511"> <Pedestrian model="walker.pedestrian.0001" mass="80" name="walker.pedestrian.0001" pedestrianCategory="pedestrian"> <ParameterDeclarations/> <BoundingBox> <Center x="1.5" y="0.0" z="0.9"/> <Dimensions width="2" length="2" height="2"/> </BoundingBox> <Properties> <Property name="type" value="simulation"/> </Properties> </Pedestrian> </ScenarioObject> <ScenarioObject name="pedestrian_close_to_adversary_22512"> <Pedestrian model="walker.pedestrian.0001" mass="80" name="walker.pedestrian.0001" pedestrianCategory="pedestrian"> <ParameterDeclarations/> <BoundingBox> <Center x="1.5" y="0.0" z="0.9"/> <Dimensions width="2" length="2" height="2"/> </BoundingBox> <Properties> <Property name="type" value="simulation"/> </Properties> </Pedestrian> </ScenarioObject> <ScenarioObject name="pedestrian_close_to_adversary_22513"> <Pedestrian model="walker.pedestrian.0001" mass="80" name="walker.pedestrian.0001" pedestrianCategory="pedestrian"> <ParameterDeclarations/> <BoundingBox> <Center x="1.5" y="0.0" z="0.9"/> <Dimensions width="2" length="2" height="2"/> </BoundingBox> <Properties> <Property name="type" value="simulation"/> </Properties> </Pedestrian> </ScenarioObject> <ScenarioObject name="pedestrian_close_to_adversary_22514"> <Pedestrian model="walker.pedestrian.0001" mass="80" name="walker.pedestrian.0001" pedestrianCategory="pedestrian"> <ParameterDeclarations/> <BoundingBox> <Center x="1.5" y="0.0" z="0.9"/> <Dimensions width="2" length="2" height="2"/> </BoundingBox> <Properties> <Property name="type" value="simulation"/> </Properties> </Pedestrian> </ScenarioObject> <ScenarioObject name="pedestrian_w_transform_22516"> <Pedestrian model="walker.pedestrian.0001" mass="80" name="walker.pedestrian.0001" pedestrianCategory="pedestrian"> <ParameterDeclarations/> <BoundingBox> <Center x="1.5" y="0.0" z="0.9"/> <Dimensions width="2" length="2" height="2"/> </BoundingBox> <Properties> <Property name="type" value="simulation"/> </Properties> </Pedestrian> </ScenarioObject> <ScenarioObject name="pedestrian_close_to_hero_22517"> <Pedestrian model="walker.pedestrian.0001" mass="80" name="walker.pedestrian.0001" pedestrianCategory="pedestrian"> <ParameterDeclarations/> <BoundingBox> <Center x="1.5" y="0.0" z="0.9"/> <Dimensions width="2" length="2" height="2"/> </BoundingBox> <Properties> <Property name="type" value="simulation"/> </Properties> </Pedestrian> </ScenarioObject> <ScenarioObject name="pedestrian_w_transform_22518"> <Pedestrian model="walker.pedestrian.0001" mass="80" name="walker.pedestrian.0001" pedestrianCategory="pedestrian"> <ParameterDeclarations/> <BoundingBox> <Center x="1.5" y="0.0" z="0.9"/> <Dimensions width="2" length="2" height="2"/> </BoundingBox> <Properties> <Property name="type" value="simulation"/> </Properties> </Pedestrian> </ScenarioObject> <ScenarioObject name="pedestrian_close_to_adversary_22519"> <Pedestrian model="walker.pedestrian.0001" mass="80" name="walker.pedestrian.0001" pedestrianCategory="pedestrian"> <ParameterDeclarations/> <BoundingBox> <Center x="1.5" y="0.0" z="0.9"/> <Dimensions width="2" length="2" height="2"/> </BoundingBox> <Properties> <Property name="type" value="simulation"/> </Properties> </Pedestrian> </ScenarioObject> <ScenarioObject name="pedestrian_close_to_adversary_22521"> <Pedestrian model="walker.pedestrian.0001" mass="80" name="walker.pedestrian.0001" pedestrianCategory="pedestrian"> <ParameterDeclarations/> <BoundingBox> <Center x="1.5" y="0.0" z="0.9"/> <Dimensions width="2" length="2" height="2"/> </BoundingBox> <Properties> <Property name="type" value="simulation"/> </Properties> </Pedestrian> </ScenarioObject> <ScenarioObject name="pedestrian_close_to_standing_22522"> <Pedestrian model="walker.pedestrian.0001" mass="80" name="walker.pedestrian.0001" pedestrianCategory="pedestrian"> <ParameterDeclarations/> <BoundingBox> <Center x="1.5" y="0.0" z="0.9"/> <Dimensions width="2" length="2" height="2"/> </BoundingBox> <Properties> <Property name="type" value="simulation"/> </Properties> </Pedestrian> </ScenarioObject> <ScenarioObject name="pedestrian_w_transform_22523"> <Pedestrian model="walker.pedestrian.0001" mass="80" name="walker.pedestrian.0001" pedestrianCategory="pedestrian"> <ParameterDeclarations/> <BoundingBox> <Center x="1.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_22503"> <PrivateAction> <TeleportAction> <Position> <WorldPosition x="-9.047880172729492" y="-69.34217071533203" z="0.0338231660425663"/> </Position> </TeleportAction> </PrivateAction> </Private> <Private entityRef="pedestrian_close_to_hero_22504"> <PrivateAction> <TeleportAction> <Position> <WorldPosition x="-13.674989700317383" y="-155.033935546875" z="0.0015143966302275658"/> </Position> </TeleportAction> </PrivateAction> </Private> <Private entityRef="pedestrian_w_transform_22506"> <PrivateAction> <TeleportAction> <Position> <WorldPosition x="-28.523509979248047" y="42.02067565917969" z="0.5"/> </Position> </TeleportAction> </PrivateAction> </Private> <Private entityRef="pedestrian_w_transform_22508"> <PrivateAction> <TeleportAction> <Position> <WorldPosition x="67.29131317138672" y="-63.36378479003906" z="0.5"/> </Position> </TeleportAction> </PrivateAction> </Private> <Private entityRef="pedestrian_close_to_hero_22509"> <PrivateAction> <TeleportAction> <Position> <WorldPosition x="-1.8960328102111816" y="-158.5960235595703" z="0.0015143966302275658"/> </Position> </TeleportAction> </PrivateAction> </Private> <Private entityRef="pedestrian_close_to_adversary_22511"> <PrivateAction> <TeleportAction> <Position> <WorldPosition x="-14.876928329467773" y="-62.63320541381836" z="0.03378864377737045"/> </Position> </TeleportAction> </PrivateAction> </Private> <Private entityRef="pedestrian_close_to_adversary_22512"> <PrivateAction> <TeleportAction> <Position> <WorldPosition x="-7.203994274139404" y="-72.62928009033203" z="0.03377056121826172"/> </Position> </TeleportAction> </PrivateAction> </Private> <Private entityRef="pedestrian_close_to_adversary_22513"> <PrivateAction> <TeleportAction> <Position> <WorldPosition x="-17.601804733276367" y="-80.9010009765625" z="0.03382076323032379"/> </Position> </TeleportAction> </PrivateAction> </Private> <Private entityRef="pedestrian_close_to_adversary_22514"> <PrivateAction> <TeleportAction> <Position> <WorldPosition x="-5.33585262298584" y="-77.90880584716797" z="0.03378719091415405"/> </Position> </TeleportAction> </PrivateAction> </Private> <Private entityRef="pedestrian_w_transform_22516"> <PrivateAction> <TeleportAction> <Position> <WorldPosition x="-8.450104713439941" y="80.6522216796875" z="0.5"/> </Position> </TeleportAction> </PrivateAction> </Private> <Private entityRef="pedestrian_close_to_hero_22517"> <PrivateAction> <TeleportAction> <Position> <WorldPosition x="-10.603068351745605" y="-162.02490234375" z="0.0015143966302275658"/> </Position> </TeleportAction> </PrivateAction> </Private> <Private entityRef="pedestrian_w_transform_22518"> <PrivateAction> <TeleportAction> <Position> <WorldPosition x="11.061882019042969" y="-32.8160285949707" z="0.5"/> </Position> </TeleportAction> </PrivateAction> </Private> <Private entityRef="pedestrian_close_to_adversary_22519"> <PrivateAction> <TeleportAction> <Position> <WorldPosition x="-13.867002487182617" y="-62.39919662475586" z="0.03377113118767738"/> </Position> </TeleportAction> </PrivateAction> </Private> <Private entityRef="pedestrian_close_to_adversary_22521"> <PrivateAction> <TeleportAction> <Position> <WorldPosition x="-1.62052583694458" y="-73.25859832763672" z="0.03377803787589073"/> </Position> </TeleportAction> </PrivateAction> </Private> <Private entityRef="pedestrian_close_to_standing_22522"> <PrivateAction> <TeleportAction> <Position> <WorldPosition x="1.6870959997177124" y="36.802616119384766" z="0.003015403635799885"/> </Position> </TeleportAction> </PrivateAction> </Private> <Private entityRef="pedestrian_w_transform_22523"> <PrivateAction> <TeleportAction> <Position> <WorldPosition x="-35.53781509399414" y="73.18345642089844" 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 request you to remove pedestrian actor named pedestrian_close_to_hero_7418? ``` <?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_7409"> <Pedestrian model="walker.pedestrian.0001" mass="80" name="walker.pedestrian.0001" pedestrianCategory="pedestrian"> <ParameterDeclarations/> <BoundingBox> <Center x="1.5" y="0.0" z="0.9"/> <Dimensions width="2" length="2" height="2"/> </BoundingBox> <Properties> <Property name="type" value="simulation"/> </Properties> </Pedestrian> </ScenarioObject> <ScenarioObject name="pedestrian_close_to_adversary_7410"> <Pedestrian model="walker.pedestrian.0001" mass="80" name="walker.pedestrian.0001" pedestrianCategory="pedestrian"> <ParameterDeclarations/> <BoundingBox> <Center x="1.5" y="0.0" z="0.9"/> <Dimensions width="2" length="2" height="2"/> </BoundingBox> <Properties> <Property name="type" value="simulation"/> </Properties> </Pedestrian> </ScenarioObject> <ScenarioObject name="pedestrian_close_to_adversary_7411"> <Pedestrian model="walker.pedestrian.0001" mass="80" name="walker.pedestrian.0001" pedestrianCategory="pedestrian"> <ParameterDeclarations/> <BoundingBox> <Center x="1.5" y="0.0" z="0.9"/> <Dimensions width="2" length="2" height="2"/> </BoundingBox> <Properties> <Property name="type" value="simulation"/> </Properties> </Pedestrian> </ScenarioObject> <ScenarioObject name="pedestrian_close_to_hero_7412"> <Pedestrian model="walker.pedestrian.0001" mass="80" name="walker.pedestrian.0001" pedestrianCategory="pedestrian"> <ParameterDeclarations/> <BoundingBox> <Center x="1.5" y="0.0" z="0.9"/> <Dimensions width="2" length="2" height="2"/> </BoundingBox> <Properties> <Property name="type" value="simulation"/> </Properties> </Pedestrian> </ScenarioObject> <ScenarioObject name="pedestrian_w_transform_7413"> <Pedestrian model="walker.pedestrian.0001" mass="80" name="walker.pedestrian.0001" pedestrianCategory="pedestrian"> <ParameterDeclarations/> <BoundingBox> <Center x="1.5" y="0.0" z="0.9"/> <Dimensions width="2" length="2" height="2"/> </BoundingBox> <Properties> <Property name="type" value="simulation"/> </Properties> </Pedestrian> </ScenarioObject> <ScenarioObject name="pedestrian_w_transform_7415"> <Pedestrian model="walker.pedestrian.0001" mass="80" name="walker.pedestrian.0001" pedestrianCategory="pedestrian"> <ParameterDeclarations/> <BoundingBox> <Center x="1.5" y="0.0" z="0.9"/> <Dimensions width="2" length="2" height="2"/> </BoundingBox> <Properties> <Property name="type" value="simulation"/> </Properties> </Pedestrian> </ScenarioObject> <ScenarioObject name="pedestrian_close_to_hero_7416"> <Pedestrian model="walker.pedestrian.0001" mass="80" name="walker.pedestrian.0001" pedestrianCategory="pedestrian"> <ParameterDeclarations/> <BoundingBox> <Center x="1.5" y="0.0" z="0.9"/> <Dimensions width="2" length="2" height="2"/> </BoundingBox> <Properties> <Property name="type" value="simulation"/> </Properties> </Pedestrian> </ScenarioObject> <ScenarioObject name="pedestrian_w_transform_7417"> <Pedestrian model="walker.pedestrian.0001" mass="80" name="walker.pedestrian.0001" pedestrianCategory="pedestrian"> <ParameterDeclarations/> <BoundingBox> <Center x="1.5" y="0.0" z="0.9"/> <Dimensions width="2" length="2" height="2"/> </BoundingBox> <Properties> <Property name="type" value="simulation"/> </Properties> </Pedestrian> </ScenarioObject> <ScenarioObject name="pedestrian_close_to_hero_7418"> <Pedestrian model="walker.pedestrian.0001" mass="80" name="walker.pedestrian.0001" pedestrianCategory="pedestrian"> <ParameterDeclarations/> <BoundingBox> <Center x="1.5" y="0.0" z="0.9"/> <Dimensions width="2" length="2" height="2"/> </BoundingBox> <Properties> <Property name="type" value="simulation"/> </Properties> </Pedestrian> </ScenarioObject> <ScenarioObject name="pedestrian_close_to_hero_7419"> <Pedestrian model="walker.pedestrian.0001" mass="80" name="walker.pedestrian.0001" pedestrianCategory="pedestrian"> <ParameterDeclarations/> <BoundingBox> <Center x="1.5" y="0.0" z="0.9"/> <Dimensions width="2" length="2" height="2"/> </BoundingBox> <Properties> <Property name="type" value="simulation"/> </Properties> </Pedestrian> </ScenarioObject> <ScenarioObject name="pedestrian_close_to_hero_7424"> <Pedestrian model="walker.pedestrian.0001" mass="80" name="walker.pedestrian.0001" pedestrianCategory="pedestrian"> <ParameterDeclarations/> <BoundingBox> <Center x="1.5" y="0.0" z="0.9"/> <Dimensions width="2" length="2" height="2"/> </BoundingBox> <Properties> <Property name="type" value="simulation"/> </Properties> </Pedestrian> </ScenarioObject> <ScenarioObject name="pedestrian_w_transform_7425"> <Pedestrian model="walker.pedestrian.0001" mass="80" name="walker.pedestrian.0001" pedestrianCategory="pedestrian"> <ParameterDeclarations/> <BoundingBox> <Center x="1.5" y="0.0" z="0.9"/> <Dimensions width="2" length="2" height="2"/> </BoundingBox> <Properties> <Property name="type" value="simulation"/> </Properties> </Pedestrian> </ScenarioObject> <ScenarioObject name="pedestrian_close_to_hero_7426"> <Pedestrian model="walker.pedestrian.0001" mass="80" name="walker.pedestrian.0001" pedestrianCategory="pedestrian"> <ParameterDeclarations/> <BoundingBox> <Center x="1.5" y="0.0" z="0.9"/> <Dimensions width="2" length="2" height="2"/> </BoundingBox> <Properties> <Property name="type" value="simulation"/> </Properties> </Pedestrian> </ScenarioObject> <ScenarioObject name="pedestrian_w_transform_7427"> <Pedestrian model="walker.pedestrian.0001" mass="80" name="walker.pedestrian.0001" pedestrianCategory="pedestrian"> <ParameterDeclarations/> <BoundingBox> <Center x="1.5" y="0.0" z="0.9"/> <Dimensions width="2" length="2" height="2"/> </BoundingBox> <Properties> <Property name="type" value="simulation"/> </Properties> </Pedestrian> </ScenarioObject> <ScenarioObject name="pedestrian_w_transform_7429"> <Pedestrian model="walker.pedestrian.0001" mass="80" name="walker.pedestrian.0001" pedestrianCategory="pedestrian"> <ParameterDeclarations/> <BoundingBox> <Center x="1.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_7409"> <PrivateAction> <TeleportAction> <Position> <WorldPosition x="-15.483842849731445" y="-69.53321838378906" z="0.03374442830681801"/> </Position> </TeleportAction> </PrivateAction> </Private> <Private entityRef="pedestrian_close_to_adversary_7410"> <PrivateAction> <TeleportAction> <Position> <WorldPosition x="-17.074045181274414" y="-66.5512924194336" z="0.0337788388133049"/> </Position> </TeleportAction> </PrivateAction> </Private> <Private entityRef="pedestrian_close_to_adversary_7411"> <PrivateAction> <TeleportAction> <Position> <WorldPosition x="-2.1843113899230957" y="-64.12901306152344" z="0.03377677872776985"/> </Position> </TeleportAction> </PrivateAction> </Private> <Private entityRef="pedestrian_close_to_hero_7412"> <PrivateAction> <TeleportAction> <Position> <WorldPosition x="-11.769662857055664" y="-145.91937255859375" z="0.0013734435196965933"/> </Position> </TeleportAction> </PrivateAction> </Private> <Private entityRef="pedestrian_w_transform_7413"> <PrivateAction> <TeleportAction> <Position> <WorldPosition x="-99.0853271484375" y="-17.116289138793945" z="0.5"/> </Position> </TeleportAction> </PrivateAction> </Private> <Private entityRef="pedestrian_w_transform_7415"> <PrivateAction> <TeleportAction> <Position> <WorldPosition x="-70.0923080444336" y="45.76280212402344" z="0.5"/> </Position> </TeleportAction> </PrivateAction> </Private> <Private entityRef="pedestrian_close_to_hero_7416"> <PrivateAction> <TeleportAction> <Position> <WorldPosition x="-2.100161075592041" y="-142.82876586914062" z="0.0013734435196965933"/> </Position> </TeleportAction> </PrivateAction> </Private> <Private entityRef="pedestrian_w_transform_7417"> <PrivateAction> <TeleportAction> <Position> <WorldPosition x="-32.440513610839844" y="-48.03289031982422" z="0.5"/> </Position> </TeleportAction> </PrivateAction> </Private> <Private entityRef="pedestrian_close_to_hero_7418"> <PrivateAction> <TeleportAction> <Position> <WorldPosition x="-13.029376029968262" y="-168.70310974121094" z="0.0013734435196965933"/> </Position> </TeleportAction> </PrivateAction> </Private> <Private entityRef="pedestrian_close_to_hero_7419"> <PrivateAction> <TeleportAction> <Position> <WorldPosition x="-6.5631103515625" y="-153.03988647460938" z="0.0013734435196965933"/> </Position> </TeleportAction> </PrivateAction> </Private> <Private entityRef="pedestrian_close_to_hero_7424"> <PrivateAction> <TeleportAction> <Position> <WorldPosition x="-14.534796714782715" y="-153.83934020996094" z="0.0013734435196965933"/> </Position> </TeleportAction> </PrivateAction> </Private> <Private entityRef="pedestrian_w_transform_7425"> <PrivateAction> <TeleportAction> <Position> <WorldPosition x="55.46483612060547" y="7.004477500915527" z="0.5"/> </Position> </TeleportAction> </PrivateAction> </Private> <Private entityRef="pedestrian_close_to_hero_7426"> <PrivateAction> <TeleportAction> <Position> <WorldPosition x="-10.323322296142578" y="-149.66783142089844" z="0.0013734435196965933"/> </Position> </TeleportAction> </PrivateAction> </Private> <Private entityRef="pedestrian_w_transform_7427"> <PrivateAction> <TeleportAction> <Position> <WorldPosition x="-93.35911560058594" y="-94.961669921875" z="0.5"/> </Position> </TeleportAction> </PrivateAction> </Private> <Private entityRef="pedestrian_w_transform_7429"> <PrivateAction> <TeleportAction> <Position> <WorldPosition x="90.54350280761719" y="38.302490234375" 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_7409"> <Pedestrian model="walker.pedestrian.0001" mass="80" name="walker.pedestrian.0001" pedestrianCategory="pedestrian"> <ParameterDeclarations/> <BoundingBox> <Center x="1.5" y="0.0" z="0.9"/> <Dimensions width="2" length="2" height="2"/> </BoundingBox> <Properties> <Property name="type" value="simulation"/> </Properties> </Pedestrian> </ScenarioObject> <ScenarioObject name="pedestrian_close_to_adversary_7410"> <Pedestrian model="walker.pedestrian.0001" mass="80" name="walker.pedestrian.0001" pedestrianCategory="pedestrian"> <ParameterDeclarations/> <BoundingBox> <Center x="1.5" y="0.0" z="0.9"/> <Dimensions width="2" length="2" height="2"/> </BoundingBox> <Properties> <Property name="type" value="simulation"/> </Properties> </Pedestrian> </ScenarioObject> <ScenarioObject name="pedestrian_close_to_adversary_7411"> <Pedestrian model="walker.pedestrian.0001" mass="80" name="walker.pedestrian.0001" pedestrianCategory="pedestrian"> <ParameterDeclarations/> <BoundingBox> <Center x="1.5" y="0.0" z="0.9"/> <Dimensions width="2" length="2" height="2"/> </BoundingBox> <Properties> <Property name="type" value="simulation"/> </Properties> </Pedestrian> </ScenarioObject> <ScenarioObject name="pedestrian_close_to_hero_7412"> <Pedestrian model="walker.pedestrian.0001" mass="80" name="walker.pedestrian.0001" pedestrianCategory="pedestrian"> <ParameterDeclarations/> <BoundingBox> <Center x="1.5" y="0.0" z="0.9"/> <Dimensions width="2" length="2" height="2"/> </BoundingBox> <Properties> <Property name="type" value="simulation"/> </Properties> </Pedestrian> </ScenarioObject> <ScenarioObject name="pedestrian_w_transform_7413"> <Pedestrian model="walker.pedestrian.0001" mass="80" name="walker.pedestrian.0001" pedestrianCategory="pedestrian"> <ParameterDeclarations/> <BoundingBox> <Center x="1.5" y="0.0" z="0.9"/> <Dimensions width="2" length="2" height="2"/> </BoundingBox> <Properties> <Property name="type" value="simulation"/> </Properties> </Pedestrian> </ScenarioObject> <ScenarioObject name="pedestrian_w_transform_7415"> <Pedestrian model="walker.pedestrian.0001" mass="80" name="walker.pedestrian.0001" pedestrianCategory="pedestrian"> <ParameterDeclarations/> <BoundingBox> <Center x="1.5" y="0.0" z="0.9"/> <Dimensions width="2" length="2" height="2"/> </BoundingBox> <Properties> <Property name="type" value="simulation"/> </Properties> </Pedestrian> </ScenarioObject> <ScenarioObject name="pedestrian_close_to_hero_7416"> <Pedestrian model="walker.pedestrian.0001" mass="80" name="walker.pedestrian.0001" pedestrianCategory="pedestrian"> <ParameterDeclarations/> <BoundingBox> <Center x="1.5" y="0.0" z="0.9"/> <Dimensions width="2" length="2" height="2"/> </BoundingBox> <Properties> <Property name="type" value="simulation"/> </Properties> </Pedestrian> </ScenarioObject> <ScenarioObject name="pedestrian_w_transform_7417"> <Pedestrian model="walker.pedestrian.0001" mass="80" name="walker.pedestrian.0001" pedestrianCategory="pedestrian"> <ParameterDeclarations/> <BoundingBox> <Center x="1.5" y="0.0" z="0.9"/> <Dimensions width="2" length="2" height="2"/> </BoundingBox> <Properties> <Property name="type" value="simulation"/> </Properties> </Pedestrian> </ScenarioObject> <ScenarioObject name="pedestrian_close_to_hero_7419"> <Pedestrian model="walker.pedestrian.0001" mass="80" name="walker.pedestrian.0001" pedestrianCategory="pedestrian"> <ParameterDeclarations/> <BoundingBox> <Center x="1.5" y="0.0" z="0.9"/> <Dimensions width="2" length="2" height="2"/> </BoundingBox> <Properties> <Property name="type" value="simulation"/> </Properties> </Pedestrian> </ScenarioObject> <ScenarioObject name="pedestrian_close_to_hero_7424"> <Pedestrian model="walker.pedestrian.0001" mass="80" name="walker.pedestrian.0001" pedestrianCategory="pedestrian"> <ParameterDeclarations/> <BoundingBox> <Center x="1.5" y="0.0" z="0.9"/> <Dimensions width="2" length="2" height="2"/> </BoundingBox> <Properties> <Property name="type" value="simulation"/> </Properties> </Pedestrian> </ScenarioObject> <ScenarioObject name="pedestrian_w_transform_7425"> <Pedestrian model="walker.pedestrian.0001" mass="80" name="walker.pedestrian.0001" pedestrianCategory="pedestrian"> <ParameterDeclarations/> <BoundingBox> <Center x="1.5" y="0.0" z="0.9"/> <Dimensions width="2" length="2" height="2"/> </BoundingBox> <Properties> <Property name="type" value="simulation"/> </Properties> </Pedestrian> </ScenarioObject> <ScenarioObject name="pedestrian_close_to_hero_7426"> <Pedestrian model="walker.pedestrian.0001" mass="80" name="walker.pedestrian.0001" pedestrianCategory="pedestrian"> <ParameterDeclarations/> <BoundingBox> <Center x="1.5" y="0.0" z="0.9"/> <Dimensions width="2" length="2" height="2"/> </BoundingBox> <Properties> <Property name="type" value="simulation"/> </Properties> </Pedestrian> </ScenarioObject> <ScenarioObject name="pedestrian_w_transform_7427"> <Pedestrian model="walker.pedestrian.0001" mass="80" name="walker.pedestrian.0001" pedestrianCategory="pedestrian"> <ParameterDeclarations/> <BoundingBox> <Center x="1.5" y="0.0" z="0.9"/> <Dimensions width="2" length="2" height="2"/> </BoundingBox> <Properties> <Property name="type" value="simulation"/> </Properties> </Pedestrian> </ScenarioObject> <ScenarioObject name="pedestrian_w_transform_7429"> <Pedestrian model="walker.pedestrian.0001" mass="80" name="walker.pedestrian.0001" pedestrianCategory="pedestrian"> <ParameterDeclarations/> <BoundingBox> <Center x="1.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_7409"> <PrivateAction> <TeleportAction> <Position> <WorldPosition x="-15.483842849731445" y="-69.53321838378906" z="0.03374442830681801"/> </Position> </TeleportAction> </PrivateAction> </Private> <Private entityRef="pedestrian_close_to_adversary_7410"> <PrivateAction> <TeleportAction> <Position> <WorldPosition x="-17.074045181274414" y="-66.5512924194336" z="0.0337788388133049"/> </Position> </TeleportAction> </PrivateAction> </Private> <Private entityRef="pedestrian_close_to_adversary_7411"> <PrivateAction> <TeleportAction> <Position> <WorldPosition x="-2.1843113899230957" y="-64.12901306152344" z="0.03377677872776985"/> </Position> </TeleportAction> </PrivateAction> </Private> <Private entityRef="pedestrian_close_to_hero_7412"> <PrivateAction> <TeleportAction> <Position> <WorldPosition x="-11.769662857055664" y="-145.91937255859375" z="0.0013734435196965933"/> </Position> </TeleportAction> </PrivateAction> </Private> <Private entityRef="pedestrian_w_transform_7413"> <PrivateAction> <TeleportAction> <Position> <WorldPosition x="-99.0853271484375" y="-17.116289138793945" z="0.5"/> </Position> </TeleportAction> </PrivateAction> </Private> <Private entityRef="pedestrian_w_transform_7415"> <PrivateAction> <TeleportAction> <Position> <WorldPosition x="-70.0923080444336" y="45.76280212402344" z="0.5"/> </Position> </TeleportAction> </PrivateAction> </Private> <Private entityRef="pedestrian_close_to_hero_7416"> <PrivateAction> <TeleportAction> <Position> <WorldPosition x="-2.100161075592041" y="-142.82876586914062" z="0.0013734435196965933"/> </Position> </TeleportAction> </PrivateAction> </Private> <Private entityRef="pedestrian_w_transform_7417"> <PrivateAction> <TeleportAction> <Position> <WorldPosition x="-32.440513610839844" y="-48.03289031982422" z="0.5"/> </Position> </TeleportAction> </PrivateAction> </Private> <Private entityRef="pedestrian_close_to_hero_7419"> <PrivateAction> <TeleportAction> <Position> <WorldPosition x="-6.5631103515625" y="-153.03988647460938" z="0.0013734435196965933"/> </Position> </TeleportAction> </PrivateAction> </Private> <Private entityRef="pedestrian_close_to_hero_7424"> <PrivateAction> <TeleportAction> <Position> <WorldPosition x="-14.534796714782715" y="-153.83934020996094" z="0.0013734435196965933"/> </Position> </TeleportAction> </PrivateAction> </Private> <Private entityRef="pedestrian_w_transform_7425"> <PrivateAction> <TeleportAction> <Position> <WorldPosition x="55.46483612060547" y="7.004477500915527" z="0.5"/> </Position> </TeleportAction> </PrivateAction> </Private> <Private entityRef="pedestrian_close_to_hero_7426"> <PrivateAction> <TeleportAction> <Position> <WorldPosition x="-10.323322296142578" y="-149.66783142089844" z="0.0013734435196965933"/> </Position> </TeleportAction> </PrivateAction> </Private> <Private entityRef="pedestrian_w_transform_7427"> <PrivateAction> <TeleportAction> <Position> <WorldPosition x="-93.35911560058594" y="-94.961669921875" z="0.5"/> </Position> </TeleportAction> </PrivateAction> </Private> <Private entityRef="pedestrian_w_transform_7429"> <PrivateAction> <TeleportAction> <Position> <WorldPosition x="90.54350280761719" y="38.302490234375" 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 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_10755"> <Pedestrian model="walker.pedestrian.0001" mass="80" name="walker.pedestrian.0001" pedestrianCategory="pedestrian"> <ParameterDeclarations/> <BoundingBox> <Center x="1.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_10755"> <PrivateAction> <TeleportAction> <Position> <WorldPosition x="-18.9472599029541" y="-72.98097229003906" z="0.03388793766498566"/> </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_10755"> <Pedestrian model="walker.pedestrian.0001" mass="80" name="walker.pedestrian.0001" pedestrianCategory="pedestrian"> <ParameterDeclarations/> <BoundingBox> <Center x="1.5" y="0.0" z="0.9"/> <Dimensions width="2" length="2" height="2"/> </BoundingBox> <Properties> <Property name="type" value="simulation"/> </Properties> </Pedestrian> </ScenarioObject> <ScenarioObject name="pedestrian_close_to_hero_10756"> <Pedestrian model="walker.pedestrian.0001" mass="80" name="walker.pedestrian.0001" pedestrianCategory="pedestrian"> <ParameterDeclarations/> <BoundingBox> <Center x="1.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_10755"> <PrivateAction> <TeleportAction> <Position> <WorldPosition x="-18.9472599029541" y="-72.98097229003906" z="0.03388793766498566"/> </Position> </TeleportAction> </PrivateAction> </Private> <Private entityRef="pedestrian_close_to_hero_10756"> <PrivateAction> <TeleportAction> <Position> <WorldPosition x="-9.582816123962402" y="-158.85684204101562" z="0.0018838500836864114"/> </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 request you to remove pedestrian actor named pedestrian_w_transform_26040? ``` <?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_26017"> <Pedestrian model="walker.pedestrian.0001" mass="80" name="walker.pedestrian.0001" pedestrianCategory="pedestrian"> <ParameterDeclarations/> <BoundingBox> <Center x="1.5" y="0.0" z="0.9"/> <Dimensions width="2" length="2" height="2"/> </BoundingBox> <Properties> <Property name="type" value="simulation"/> </Properties> </Pedestrian> </ScenarioObject> <ScenarioObject name="pedestrian_close_to_standing_26018"> <Pedestrian model="walker.pedestrian.0001" mass="80" name="walker.pedestrian.0001" pedestrianCategory="pedestrian"> <ParameterDeclarations/> <BoundingBox> <Center x="1.5" y="0.0" z="0.9"/> <Dimensions width="2" length="2" height="2"/> </BoundingBox> <Properties> <Property name="type" value="simulation"/> </Properties> </Pedestrian> </ScenarioObject> <ScenarioObject name="pedestrian_w_transform_26019"> <Pedestrian model="walker.pedestrian.0001" mass="80" name="walker.pedestrian.0001" pedestrianCategory="pedestrian"> <ParameterDeclarations/> <BoundingBox> <Center x="1.5" y="0.0" z="0.9"/> <Dimensions width="2" length="2" height="2"/> </BoundingBox> <Properties> <Property name="type" value="simulation"/> </Properties> </Pedestrian> </ScenarioObject> <ScenarioObject name="pedestrian_close_to_hero_26020"> <Pedestrian model="walker.pedestrian.0001" mass="80" name="walker.pedestrian.0001" pedestrianCategory="pedestrian"> <ParameterDeclarations/> <BoundingBox> <Center x="1.5" y="0.0" z="0.9"/> <Dimensions width="2" length="2" height="2"/> </BoundingBox> <Properties> <Property name="type" value="simulation"/> </Properties> </Pedestrian> </ScenarioObject> <ScenarioObject name="pedestrian_w_transform_26021"> <Pedestrian model="walker.pedestrian.0001" mass="80" name="walker.pedestrian.0001" pedestrianCategory="pedestrian"> <ParameterDeclarations/> <BoundingBox> <Center x="1.5" y="0.0" z="0.9"/> <Dimensions width="2" length="2" height="2"/> </BoundingBox> <Properties> <Property name="type" value="simulation"/> </Properties> </Pedestrian> </ScenarioObject> <ScenarioObject name="pedestrian_close_to_hero_26022"> <Pedestrian model="walker.pedestrian.0001" mass="80" name="walker.pedestrian.0001" pedestrianCategory="pedestrian"> <ParameterDeclarations/> <BoundingBox> <Center x="1.5" y="0.0" z="0.9"/> <Dimensions width="2" length="2" height="2"/> </BoundingBox> <Properties> <Property name="type" value="simulation"/> </Properties> </Pedestrian> </ScenarioObject> <ScenarioObject name="pedestrian_w_transform_26023"> <Pedestrian model="walker.pedestrian.0001" mass="80" name="walker.pedestrian.0001" pedestrianCategory="pedestrian"> <ParameterDeclarations/> <BoundingBox> <Center x="1.5" y="0.0" z="0.9"/> <Dimensions width="2" length="2" height="2"/> </BoundingBox> <Properties> <Property name="type" value="simulation"/> </Properties> </Pedestrian> </ScenarioObject> <ScenarioObject name="pedestrian_w_transform_26025"> <Pedestrian model="walker.pedestrian.0001" mass="80" name="walker.pedestrian.0001" pedestrianCategory="pedestrian"> <ParameterDeclarations/> <BoundingBox> <Center x="1.5" y="0.0" z="0.9"/> <Dimensions width="2" length="2" height="2"/> </BoundingBox> <Properties> <Property name="type" value="simulation"/> </Properties> </Pedestrian> </ScenarioObject> <ScenarioObject name="pedestrian_w_transform_26026"> <Pedestrian model="walker.pedestrian.0001" mass="80" name="walker.pedestrian.0001" pedestrianCategory="pedestrian"> <ParameterDeclarations/> <BoundingBox> <Center x="1.5" y="0.0" z="0.9"/> <Dimensions width="2" length="2" height="2"/> </BoundingBox> <Properties> <Property name="type" value="simulation"/> </Properties> </Pedestrian> </ScenarioObject> <ScenarioObject name="pedestrian_close_to_standing_26027"> <Pedestrian model="walker.pedestrian.0001" mass="80" name="walker.pedestrian.0001" pedestrianCategory="pedestrian"> <ParameterDeclarations/> <BoundingBox> <Center x="1.5" y="0.0" z="0.9"/> <Dimensions width="2" length="2" height="2"/> </BoundingBox> <Properties> <Property name="type" value="simulation"/> </Properties> </Pedestrian> </ScenarioObject> <ScenarioObject name="pedestrian_close_to_standing_26028"> <Pedestrian model="walker.pedestrian.0001" mass="80" name="walker.pedestrian.0001" pedestrianCategory="pedestrian"> <ParameterDeclarations/> <BoundingBox> <Center x="1.5" y="0.0" z="0.9"/> <Dimensions width="2" length="2" height="2"/> </BoundingBox> <Properties> <Property name="type" value="simulation"/> </Properties> </Pedestrian> </ScenarioObject> <ScenarioObject name="pedestrian_close_to_hero_26029"> <Pedestrian model="walker.pedestrian.0001" mass="80" name="walker.pedestrian.0001" pedestrianCategory="pedestrian"> <ParameterDeclarations/> <BoundingBox> <Center x="1.5" y="0.0" z="0.9"/> <Dimensions width="2" length="2" height="2"/> </BoundingBox> <Properties> <Property name="type" value="simulation"/> </Properties> </Pedestrian> </ScenarioObject> <ScenarioObject name="pedestrian_w_transform_26030"> <Pedestrian model="walker.pedestrian.0001" mass="80" name="walker.pedestrian.0001" pedestrianCategory="pedestrian"> <ParameterDeclarations/> <BoundingBox> <Center x="1.5" y="0.0" z="0.9"/> <Dimensions width="2" length="2" height="2"/> </BoundingBox> <Properties> <Property name="type" value="simulation"/> </Properties> </Pedestrian> </ScenarioObject> <ScenarioObject name="pedestrian_w_transform_26031"> <Pedestrian model="walker.pedestrian.0001" mass="80" name="walker.pedestrian.0001" pedestrianCategory="pedestrian"> <ParameterDeclarations/> <BoundingBox> <Center x="1.5" y="0.0" z="0.9"/> <Dimensions width="2" length="2" height="2"/> </BoundingBox> <Properties> <Property name="type" value="simulation"/> </Properties> </Pedestrian> </ScenarioObject> <ScenarioObject name="pedestrian_close_to_hero_26032"> <Pedestrian model="walker.pedestrian.0001" mass="80" name="walker.pedestrian.0001" pedestrianCategory="pedestrian"> <ParameterDeclarations/> <BoundingBox> <Center x="1.5" y="0.0" z="0.9"/> <Dimensions width="2" length="2" height="2"/> </BoundingBox> <Properties> <Property name="type" value="simulation"/> </Properties> </Pedestrian> </ScenarioObject> <ScenarioObject name="pedestrian_close_to_hero_26033"> <Pedestrian model="walker.pedestrian.0001" mass="80" name="walker.pedestrian.0001" pedestrianCategory="pedestrian"> <ParameterDeclarations/> <BoundingBox> <Center x="1.5" y="0.0" z="0.9"/> <Dimensions width="2" length="2" height="2"/> </BoundingBox> <Properties> <Property name="type" value="simulation"/> </Properties> </Pedestrian> </ScenarioObject> <ScenarioObject name="pedestrian_w_transform_26034"> <Pedestrian model="walker.pedestrian.0001" mass="80" name="walker.pedestrian.0001" pedestrianCategory="pedestrian"> <ParameterDeclarations/> <BoundingBox> <Center x="1.5" y="0.0" z="0.9"/> <Dimensions width="2" length="2" height="2"/> </BoundingBox> <Properties> <Property name="type" value="simulation"/> </Properties> </Pedestrian> </ScenarioObject> <ScenarioObject name="pedestrian_close_to_standing_26036"> <Pedestrian model="walker.pedestrian.0001" mass="80" name="walker.pedestrian.0001" pedestrianCategory="pedestrian"> <ParameterDeclarations/> <BoundingBox> <Center x="1.5" y="0.0" z="0.9"/> <Dimensions width="2" length="2" height="2"/> </BoundingBox> <Properties> <Property name="type" value="simulation"/> </Properties> </Pedestrian> </ScenarioObject> <ScenarioObject name="pedestrian_close_to_standing_26037"> <Pedestrian model="walker.pedestrian.0001" mass="80" name="walker.pedestrian.0001" pedestrianCategory="pedestrian"> <ParameterDeclarations/> <BoundingBox> <Center x="1.5" y="0.0" z="0.9"/> <Dimensions width="2" length="2" height="2"/> </BoundingBox> <Properties> <Property name="type" value="simulation"/> </Properties> </Pedestrian> </ScenarioObject> <ScenarioObject name="pedestrian_w_transform_26038"> <Pedestrian model="walker.pedestrian.0001" mass="80" name="walker.pedestrian.0001" pedestrianCategory="pedestrian"> <ParameterDeclarations/> <BoundingBox> <Center x="1.5" y="0.0" z="0.9"/> <Dimensions width="2" length="2" height="2"/> </BoundingBox> <Properties> <Property name="type" value="simulation"/> </Properties> </Pedestrian> </ScenarioObject> <ScenarioObject name="pedestrian_w_transform_26040"> <Pedestrian model="walker.pedestrian.0001" mass="80" name="walker.pedestrian.0001" pedestrianCategory="pedestrian"> <ParameterDeclarations/> <BoundingBox> <Center x="1.5" y="0.0" z="0.9"/> <Dimensions width="2" length="2" height="2"/> </BoundingBox> <Properties> <Property name="type" value="simulation"/> </Properties> </Pedestrian> </ScenarioObject> <ScenarioObject name="pedestrian_w_transform_26041"> <Pedestrian model="walker.pedestrian.0001" mass="80" name="walker.pedestrian.0001" pedestrianCategory="pedestrian"> <ParameterDeclarations/> <BoundingBox> <Center x="1.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_26017"> <PrivateAction> <TeleportAction> <Position> <WorldPosition x="-14.201207160949707" y="28.111919403076172" z="0.003091201651841402"/> </Position> </TeleportAction> </PrivateAction> </Private> <Private entityRef="pedestrian_close_to_standing_26018"> <PrivateAction> <TeleportAction> <Position> <WorldPosition x="0.35901370644569397" y="35.8248176574707" z="0.003052787622436881"/> </Position> </TeleportAction> </PrivateAction> </Private> <Private entityRef="pedestrian_w_transform_26019"> <PrivateAction> <TeleportAction> <Position> <WorldPosition x="61.71188735961914" y="-29.723167419433594" z="0.5"/> </Position> </TeleportAction> </PrivateAction> </Private> <Private entityRef="pedestrian_close_to_hero_26020"> <PrivateAction> <TeleportAction> <Position> <WorldPosition x="-12.970172882080078" y="-146.95872497558594" z="0.0016471862327307463"/> </Position> </TeleportAction> </PrivateAction> </Private> <Private entityRef="pedestrian_w_transform_26021"> <PrivateAction> <TeleportAction> <Position> <WorldPosition x="88.12709045410156" y="-45.056358337402344" z="0.5"/> </Position> </TeleportAction> </PrivateAction> </Private> <Private entityRef="pedestrian_close_to_hero_26022"> <PrivateAction> <TeleportAction> <Position> <WorldPosition x="-3.762843608856201" y="-154.41705322265625" z="0.0016471862327307463"/> </Position> </TeleportAction> </PrivateAction> </Private> <Private entityRef="pedestrian_w_transform_26023"> <PrivateAction> <TeleportAction> <Position> <WorldPosition x="51.11597442626953" y="-23.606237411499023" z="0.5"/> </Position> </TeleportAction> </PrivateAction> </Private> <Private entityRef="pedestrian_w_transform_26025"> <PrivateAction> <TeleportAction> <Position> <WorldPosition x="71.42916107177734" y="55.0492057800293" z="0.5"/> </Position> </TeleportAction> </PrivateAction> </Private> <Private entityRef="pedestrian_w_transform_26026"> <PrivateAction> <TeleportAction> <Position> <WorldPosition x="-29.875038146972656" y="-19.533254623413086" z="0.5"/> </Position> </TeleportAction> </PrivateAction> </Private> <Private entityRef="pedestrian_close_to_standing_26027"> <PrivateAction> <TeleportAction> <Position> <WorldPosition x="2.769472122192383" y="26.753713607788086" z="0.0030572128016501665"/> </Position> </TeleportAction> </PrivateAction> </Private> <Private entityRef="pedestrian_close_to_standing_26028"> <PrivateAction> <TeleportAction> <Position> <WorldPosition x="-15.969076156616211" y="29.99755096435547" z="0.0030895231757313013"/> </Position> </TeleportAction> </PrivateAction> </Private> <Private entityRef="pedestrian_close_to_hero_26029"> <PrivateAction> <TeleportAction> <Position> <WorldPosition x="-2.292771816253662" y="-161.55332946777344" z="0.0016471862327307463"/> </Position> </TeleportAction> </PrivateAction> </Private> <Private entityRef="pedestrian_w_transform_26030"> <PrivateAction> <TeleportAction> <Position> <WorldPosition x="62.36350631713867" y="52.99755096435547" z="0.5"/> </Position> </TeleportAction> </PrivateAction> </Private> <Private entityRef="pedestrian_w_transform_26031"> <PrivateAction> <TeleportAction> <Position> <WorldPosition x="8.189157485961914" y="87.23556518554688" z="0.5"/> </Position> </TeleportAction> </PrivateAction> </Private> <Private entityRef="pedestrian_close_to_hero_26032"> <PrivateAction> <TeleportAction> <Position> <WorldPosition x="-5.2831645011901855" y="-160.7651824951172" z="0.0016471862327307463"/> </Position> </TeleportAction> </PrivateAction> </Private> <Private entityRef="pedestrian_close_to_hero_26033"> <PrivateAction> <TeleportAction> <Position> <WorldPosition x="-17.285877227783203" y="-148.07505798339844" z="0.0016471862327307463"/> </Position> </TeleportAction> </PrivateAction> </Private> <Private entityRef="pedestrian_w_transform_26034"> <PrivateAction> <TeleportAction> <Position> <WorldPosition x="-92.10198974609375" y="86.57526397705078" z="0.5"/> </Position> </TeleportAction> </PrivateAction> </Private> <Private entityRef="pedestrian_close_to_standing_26036"> <PrivateAction> <TeleportAction> <Position> <WorldPosition x="-5.25416374206543" y="19.38077735900879" z="0.0030571746174246073"/> </Position> </TeleportAction> </PrivateAction> </Private> <Private entityRef="pedestrian_close_to_standing_26037"> <PrivateAction> <TeleportAction> <Position> <WorldPosition x="-10.626633644104004" y="38.832088470458984" z="0.003026771591976285"/> </Position> </TeleportAction> </PrivateAction> </Private> <Private entityRef="pedestrian_w_transform_26038"> <PrivateAction> <TeleportAction> <Position> <WorldPosition x="35.54803466796875" y="11.064306259155273" z="0.5"/> </Position> </TeleportAction> </PrivateAction> </Private> <Private entityRef="pedestrian_w_transform_26040"> <PrivateAction> <TeleportAction> <Position> <WorldPosition x="14.320470809936523" y="-76.0247573852539" z="0.5"/> </Position> </TeleportAction> </PrivateAction> </Private> <Private entityRef="pedestrian_w_transform_26041"> <PrivateAction> <TeleportAction> <Position> <WorldPosition x="-63.62289047241211" y="29.333200454711914" 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_26017"> <Pedestrian model="walker.pedestrian.0001" mass="80" name="walker.pedestrian.0001" pedestrianCategory="pedestrian"> <ParameterDeclarations/> <BoundingBox> <Center x="1.5" y="0.0" z="0.9"/> <Dimensions width="2" length="2" height="2"/> </BoundingBox> <Properties> <Property name="type" value="simulation"/> </Properties> </Pedestrian> </ScenarioObject> <ScenarioObject name="pedestrian_close_to_standing_26018"> <Pedestrian model="walker.pedestrian.0001" mass="80" name="walker.pedestrian.0001" pedestrianCategory="pedestrian"> <ParameterDeclarations/> <BoundingBox> <Center x="1.5" y="0.0" z="0.9"/> <Dimensions width="2" length="2" height="2"/> </BoundingBox> <Properties> <Property name="type" value="simulation"/> </Properties> </Pedestrian> </ScenarioObject> <ScenarioObject name="pedestrian_w_transform_26019"> <Pedestrian model="walker.pedestrian.0001" mass="80" name="walker.pedestrian.0001" pedestrianCategory="pedestrian"> <ParameterDeclarations/> <BoundingBox> <Center x="1.5" y="0.0" z="0.9"/> <Dimensions width="2" length="2" height="2"/> </BoundingBox> <Properties> <Property name="type" value="simulation"/> </Properties> </Pedestrian> </ScenarioObject> <ScenarioObject name="pedestrian_close_to_hero_26020"> <Pedestrian model="walker.pedestrian.0001" mass="80" name="walker.pedestrian.0001" pedestrianCategory="pedestrian"> <ParameterDeclarations/> <BoundingBox> <Center x="1.5" y="0.0" z="0.9"/> <Dimensions width="2" length="2" height="2"/> </BoundingBox> <Properties> <Property name="type" value="simulation"/> </Properties> </Pedestrian> </ScenarioObject> <ScenarioObject name="pedestrian_w_transform_26021"> <Pedestrian model="walker.pedestrian.0001" mass="80" name="walker.pedestrian.0001" pedestrianCategory="pedestrian"> <ParameterDeclarations/> <BoundingBox> <Center x="1.5" y="0.0" z="0.9"/> <Dimensions width="2" length="2" height="2"/> </BoundingBox> <Properties> <Property name="type" value="simulation"/> </Properties> </Pedestrian> </ScenarioObject> <ScenarioObject name="pedestrian_close_to_hero_26022"> <Pedestrian model="walker.pedestrian.0001" mass="80" name="walker.pedestrian.0001" pedestrianCategory="pedestrian"> <ParameterDeclarations/> <BoundingBox> <Center x="1.5" y="0.0" z="0.9"/> <Dimensions width="2" length="2" height="2"/> </BoundingBox> <Properties> <Property name="type" value="simulation"/> </Properties> </Pedestrian> </ScenarioObject> <ScenarioObject name="pedestrian_w_transform_26023"> <Pedestrian model="walker.pedestrian.0001" mass="80" name="walker.pedestrian.0001" pedestrianCategory="pedestrian"> <ParameterDeclarations/> <BoundingBox> <Center x="1.5" y="0.0" z="0.9"/> <Dimensions width="2" length="2" height="2"/> </BoundingBox> <Properties> <Property name="type" value="simulation"/> </Properties> </Pedestrian> </ScenarioObject> <ScenarioObject name="pedestrian_w_transform_26025"> <Pedestrian model="walker.pedestrian.0001" mass="80" name="walker.pedestrian.0001" pedestrianCategory="pedestrian"> <ParameterDeclarations/> <BoundingBox> <Center x="1.5" y="0.0" z="0.9"/> <Dimensions width="2" length="2" height="2"/> </BoundingBox> <Properties> <Property name="type" value="simulation"/> </Properties> </Pedestrian> </ScenarioObject> <ScenarioObject name="pedestrian_w_transform_26026"> <Pedestrian model="walker.pedestrian.0001" mass="80" name="walker.pedestrian.0001" pedestrianCategory="pedestrian"> <ParameterDeclarations/> <BoundingBox> <Center x="1.5" y="0.0" z="0.9"/> <Dimensions width="2" length="2" height="2"/> </BoundingBox> <Properties> <Property name="type" value="simulation"/> </Properties> </Pedestrian> </ScenarioObject> <ScenarioObject name="pedestrian_close_to_standing_26027"> <Pedestrian model="walker.pedestrian.0001" mass="80" name="walker.pedestrian.0001" pedestrianCategory="pedestrian"> <ParameterDeclarations/> <BoundingBox> <Center x="1.5" y="0.0" z="0.9"/> <Dimensions width="2" length="2" height="2"/> </BoundingBox> <Properties> <Property name="type" value="simulation"/> </Properties> </Pedestrian> </ScenarioObject> <ScenarioObject name="pedestrian_close_to_standing_26028"> <Pedestrian model="walker.pedestrian.0001" mass="80" name="walker.pedestrian.0001" pedestrianCategory="pedestrian"> <ParameterDeclarations/> <BoundingBox> <Center x="1.5" y="0.0" z="0.9"/> <Dimensions width="2" length="2" height="2"/> </BoundingBox> <Properties> <Property name="type" value="simulation"/> </Properties> </Pedestrian> </ScenarioObject> <ScenarioObject name="pedestrian_close_to_hero_26029"> <Pedestrian model="walker.pedestrian.0001" mass="80" name="walker.pedestrian.0001" pedestrianCategory="pedestrian"> <ParameterDeclarations/> <BoundingBox> <Center x="1.5" y="0.0" z="0.9"/> <Dimensions width="2" length="2" height="2"/> </BoundingBox> <Properties> <Property name="type" value="simulation"/> </Properties> </Pedestrian> </ScenarioObject> <ScenarioObject name="pedestrian_w_transform_26030"> <Pedestrian model="walker.pedestrian.0001" mass="80" name="walker.pedestrian.0001" pedestrianCategory="pedestrian"> <ParameterDeclarations/> <BoundingBox> <Center x="1.5" y="0.0" z="0.9"/> <Dimensions width="2" length="2" height="2"/> </BoundingBox> <Properties> <Property name="type" value="simulation"/> </Properties> </Pedestrian> </ScenarioObject> <ScenarioObject name="pedestrian_w_transform_26031"> <Pedestrian model="walker.pedestrian.0001" mass="80" name="walker.pedestrian.0001" pedestrianCategory="pedestrian"> <ParameterDeclarations/> <BoundingBox> <Center x="1.5" y="0.0" z="0.9"/> <Dimensions width="2" length="2" height="2"/> </BoundingBox> <Properties> <Property name="type" value="simulation"/> </Properties> </Pedestrian> </ScenarioObject> <ScenarioObject name="pedestrian_close_to_hero_26032"> <Pedestrian model="walker.pedestrian.0001" mass="80" name="walker.pedestrian.0001" pedestrianCategory="pedestrian"> <ParameterDeclarations/> <BoundingBox> <Center x="1.5" y="0.0" z="0.9"/> <Dimensions width="2" length="2" height="2"/> </BoundingBox> <Properties> <Property name="type" value="simulation"/> </Properties> </Pedestrian> </ScenarioObject> <ScenarioObject name="pedestrian_close_to_hero_26033"> <Pedestrian model="walker.pedestrian.0001" mass="80" name="walker.pedestrian.0001" pedestrianCategory="pedestrian"> <ParameterDeclarations/> <BoundingBox> <Center x="1.5" y="0.0" z="0.9"/> <Dimensions width="2" length="2" height="2"/> </BoundingBox> <Properties> <Property name="type" value="simulation"/> </Properties> </Pedestrian> </ScenarioObject> <ScenarioObject name="pedestrian_w_transform_26034"> <Pedestrian model="walker.pedestrian.0001" mass="80" name="walker.pedestrian.0001" pedestrianCategory="pedestrian"> <ParameterDeclarations/> <BoundingBox> <Center x="1.5" y="0.0" z="0.9"/> <Dimensions width="2" length="2" height="2"/> </BoundingBox> <Properties> <Property name="type" value="simulation"/> </Properties> </Pedestrian> </ScenarioObject> <ScenarioObject name="pedestrian_close_to_standing_26036"> <Pedestrian model="walker.pedestrian.0001" mass="80" name="walker.pedestrian.0001" pedestrianCategory="pedestrian"> <ParameterDeclarations/> <BoundingBox> <Center x="1.5" y="0.0" z="0.9"/> <Dimensions width="2" length="2" height="2"/> </BoundingBox> <Properties> <Property name="type" value="simulation"/> </Properties> </Pedestrian> </ScenarioObject> <ScenarioObject name="pedestrian_close_to_standing_26037"> <Pedestrian model="walker.pedestrian.0001" mass="80" name="walker.pedestrian.0001" pedestrianCategory="pedestrian"> <ParameterDeclarations/> <BoundingBox> <Center x="1.5" y="0.0" z="0.9"/> <Dimensions width="2" length="2" height="2"/> </BoundingBox> <Properties> <Property name="type" value="simulation"/> </Properties> </Pedestrian> </ScenarioObject> <ScenarioObject name="pedestrian_w_transform_26038"> <Pedestrian model="walker.pedestrian.0001" mass="80" name="walker.pedestrian.0001" pedestrianCategory="pedestrian"> <ParameterDeclarations/> <BoundingBox> <Center x="1.5" y="0.0" z="0.9"/> <Dimensions width="2" length="2" height="2"/> </BoundingBox> <Properties> <Property name="type" value="simulation"/> </Properties> </Pedestrian> </ScenarioObject> <ScenarioObject name="pedestrian_w_transform_26041"> <Pedestrian model="walker.pedestrian.0001" mass="80" name="walker.pedestrian.0001" pedestrianCategory="pedestrian"> <ParameterDeclarations/> <BoundingBox> <Center x="1.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_26017"> <PrivateAction> <TeleportAction> <Position> <WorldPosition x="-14.201207160949707" y="28.111919403076172" z="0.003091201651841402"/> </Position> </TeleportAction> </PrivateAction> </Private> <Private entityRef="pedestrian_close_to_standing_26018"> <PrivateAction> <TeleportAction> <Position> <WorldPosition x="0.35901370644569397" y="35.8248176574707" z="0.003052787622436881"/> </Position> </TeleportAction> </PrivateAction> </Private> <Private entityRef="pedestrian_w_transform_26019"> <PrivateAction> <TeleportAction> <Position> <WorldPosition x="61.71188735961914" y="-29.723167419433594" z="0.5"/> </Position> </TeleportAction> </PrivateAction> </Private> <Private entityRef="pedestrian_close_to_hero_26020"> <PrivateAction> <TeleportAction> <Position> <WorldPosition x="-12.970172882080078" y="-146.95872497558594" z="0.0016471862327307463"/> </Position> </TeleportAction> </PrivateAction> </Private> <Private entityRef="pedestrian_w_transform_26021"> <PrivateAction> <TeleportAction> <Position> <WorldPosition x="88.12709045410156" y="-45.056358337402344" z="0.5"/> </Position> </TeleportAction> </PrivateAction> </Private> <Private entityRef="pedestrian_close_to_hero_26022"> <PrivateAction> <TeleportAction> <Position> <WorldPosition x="-3.762843608856201" y="-154.41705322265625" z="0.0016471862327307463"/> </Position> </TeleportAction> </PrivateAction> </Private> <Private entityRef="pedestrian_w_transform_26023"> <PrivateAction> <TeleportAction> <Position> <WorldPosition x="51.11597442626953" y="-23.606237411499023" z="0.5"/> </Position> </TeleportAction> </PrivateAction> </Private> <Private entityRef="pedestrian_w_transform_26025"> <PrivateAction> <TeleportAction> <Position> <WorldPosition x="71.42916107177734" y="55.0492057800293" z="0.5"/> </Position> </TeleportAction> </PrivateAction> </Private> <Private entityRef="pedestrian_w_transform_26026"> <PrivateAction> <TeleportAction> <Position> <WorldPosition x="-29.875038146972656" y="-19.533254623413086" z="0.5"/> </Position> </TeleportAction> </PrivateAction> </Private> <Private entityRef="pedestrian_close_to_standing_26027"> <PrivateAction> <TeleportAction> <Position> <WorldPosition x="2.769472122192383" y="26.753713607788086" z="0.0030572128016501665"/> </Position> </TeleportAction> </PrivateAction> </Private> <Private entityRef="pedestrian_close_to_standing_26028"> <PrivateAction> <TeleportAction> <Position> <WorldPosition x="-15.969076156616211" y="29.99755096435547" z="0.0030895231757313013"/> </Position> </TeleportAction> </PrivateAction> </Private> <Private entityRef="pedestrian_close_to_hero_26029"> <PrivateAction> <TeleportAction> <Position> <WorldPosition x="-2.292771816253662" y="-161.55332946777344" z="0.0016471862327307463"/> </Position> </TeleportAction> </PrivateAction> </Private> <Private entityRef="pedestrian_w_transform_26030"> <PrivateAction> <TeleportAction> <Position> <WorldPosition x="62.36350631713867" y="52.99755096435547" z="0.5"/> </Position> </TeleportAction> </PrivateAction> </Private> <Private entityRef="pedestrian_w_transform_26031"> <PrivateAction> <TeleportAction> <Position> <WorldPosition x="8.189157485961914" y="87.23556518554688" z="0.5"/> </Position> </TeleportAction> </PrivateAction> </Private> <Private entityRef="pedestrian_close_to_hero_26032"> <PrivateAction> <TeleportAction> <Position> <WorldPosition x="-5.2831645011901855" y="-160.7651824951172" z="0.0016471862327307463"/> </Position> </TeleportAction> </PrivateAction> </Private> <Private entityRef="pedestrian_close_to_hero_26033"> <PrivateAction> <TeleportAction> <Position> <WorldPosition x="-17.285877227783203" y="-148.07505798339844" z="0.0016471862327307463"/> </Position> </TeleportAction> </PrivateAction> </Private> <Private entityRef="pedestrian_w_transform_26034"> <PrivateAction> <TeleportAction> <Position> <WorldPosition x="-92.10198974609375" y="86.57526397705078" z="0.5"/> </Position> </TeleportAction> </PrivateAction> </Private> <Private entityRef="pedestrian_close_to_standing_26036"> <PrivateAction> <TeleportAction> <Position> <WorldPosition x="-5.25416374206543" y="19.38077735900879" z="0.0030571746174246073"/> </Position> </TeleportAction> </PrivateAction> </Private> <Private entityRef="pedestrian_close_to_standing_26037"> <PrivateAction> <TeleportAction> <Position> <WorldPosition x="-10.626633644104004" y="38.832088470458984" z="0.003026771591976285"/> </Position> </TeleportAction> </PrivateAction> </Private> <Private entityRef="pedestrian_w_transform_26038"> <PrivateAction> <TeleportAction> <Position> <WorldPosition x="35.54803466796875" y="11.064306259155273" z="0.5"/> </Position> </TeleportAction> </PrivateAction> </Private> <Private entityRef="pedestrian_w_transform_26041"> <PrivateAction> <TeleportAction> <Position> <WorldPosition x="-63.62289047241211" y="29.333200454711914" 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 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_20051"> <Pedestrian model="walker.pedestrian.0001" mass="80" name="walker.pedestrian.0001" pedestrianCategory="pedestrian"> <ParameterDeclarations/> <BoundingBox> <Center x="1.5" y="0.0" z="0.9"/> <Dimensions width="2" length="2" height="2"/> </BoundingBox> <Properties> <Property name="type" value="simulation"/> </Properties> </Pedestrian> </ScenarioObject> <ScenarioObject name="pedestrian_close_to_adversary_20052"> <Pedestrian model="walker.pedestrian.0001" mass="80" name="walker.pedestrian.0001" pedestrianCategory="pedestrian"> <ParameterDeclarations/> <BoundingBox> <Center x="1.5" y="0.0" z="0.9"/> <Dimensions width="2" length="2" height="2"/> </BoundingBox> <Properties> <Property name="type" value="simulation"/> </Properties> </Pedestrian> </ScenarioObject> <ScenarioObject name="pedestrian_close_to_standing_20053"> <Pedestrian model="walker.pedestrian.0001" mass="80" name="walker.pedestrian.0001" pedestrianCategory="pedestrian"> <ParameterDeclarations/> <BoundingBox> <Center x="1.5" y="0.0" z="0.9"/> <Dimensions width="2" length="2" height="2"/> </BoundingBox> <Properties> <Property name="type" value="simulation"/> </Properties> </Pedestrian> </ScenarioObject> <ScenarioObject name="pedestrian_close_to_standing_20054"> <Pedestrian model="walker.pedestrian.0001" mass="80" name="walker.pedestrian.0001" pedestrianCategory="pedestrian"> <ParameterDeclarations/> <BoundingBox> <Center x="1.5" y="0.0" z="0.9"/> <Dimensions width="2" length="2" height="2"/> </BoundingBox> <Properties> <Property name="type" value="simulation"/> </Properties> </Pedestrian> </ScenarioObject> <ScenarioObject name="pedestrian_close_to_standing_20055"> <Pedestrian model="walker.pedestrian.0001" mass="80" name="walker.pedestrian.0001" pedestrianCategory="pedestrian"> <ParameterDeclarations/> <BoundingBox> <Center x="1.5" y="0.0" z="0.9"/> <Dimensions width="2" length="2" height="2"/> </BoundingBox> <Properties> <Property name="type" value="simulation"/> </Properties> </Pedestrian> </ScenarioObject> <ScenarioObject name="pedestrian_w_transform_20056"> <Pedestrian model="walker.pedestrian.0001" mass="80" name="walker.pedestrian.0001" pedestrianCategory="pedestrian"> <ParameterDeclarations/> <BoundingBox> <Center x="1.5" y="0.0" z="0.9"/> <Dimensions width="2" length="2" height="2"/> </BoundingBox> <Properties> <Property name="type" value="simulation"/> </Properties> </Pedestrian> </ScenarioObject> <ScenarioObject name="pedestrian_w_transform_20057"> <Pedestrian model="walker.pedestrian.0001" mass="80" name="walker.pedestrian.0001" pedestrianCategory="pedestrian"> <ParameterDeclarations/> <BoundingBox> <Center x="1.5" y="0.0" z="0.9"/> <Dimensions width="2" length="2" height="2"/> </BoundingBox> <Properties> <Property name="type" value="simulation"/> </Properties> </Pedestrian> </ScenarioObject> <ScenarioObject name="pedestrian_w_transform_20059"> <Pedestrian model="walker.pedestrian.0001" mass="80" name="walker.pedestrian.0001" pedestrianCategory="pedestrian"> <ParameterDeclarations/> <BoundingBox> <Center x="1.5" y="0.0" z="0.9"/> <Dimensions width="2" length="2" height="2"/> </BoundingBox> <Properties> <Property name="type" value="simulation"/> </Properties> </Pedestrian> </ScenarioObject> <ScenarioObject name="pedestrian_w_transform_20060"> <Pedestrian model="walker.pedestrian.0001" mass="80" name="walker.pedestrian.0001" pedestrianCategory="pedestrian"> <ParameterDeclarations/> <BoundingBox> <Center x="1.5" y="0.0" z="0.9"/> <Dimensions width="2" length="2" height="2"/> </BoundingBox> <Properties> <Property name="type" value="simulation"/> </Properties> </Pedestrian> </ScenarioObject> <ScenarioObject name="pedestrian_close_to_hero_20061"> <Pedestrian model="walker.pedestrian.0001" mass="80" name="walker.pedestrian.0001" pedestrianCategory="pedestrian"> <ParameterDeclarations/> <BoundingBox> <Center x="1.5" y="0.0" z="0.9"/> <Dimensions width="2" length="2" height="2"/> </BoundingBox> <Properties> <Property name="type" value="simulation"/> </Properties> </Pedestrian> </ScenarioObject> <ScenarioObject name="pedestrian_close_to_adversary_20062"> <Pedestrian model="walker.pedestrian.0001" mass="80" name="walker.pedestrian.0001" pedestrianCategory="pedestrian"> <ParameterDeclarations/> <BoundingBox> <Center x="1.5" y="0.0" z="0.9"/> <Dimensions width="2" length="2" height="2"/> </BoundingBox> <Properties> <Property name="type" value="simulation"/> </Properties> </Pedestrian> </ScenarioObject> <ScenarioObject name="pedestrian_w_transform_20063"> <Pedestrian model="walker.pedestrian.0001" mass="80" name="walker.pedestrian.0001" pedestrianCategory="pedestrian"> <ParameterDeclarations/> <BoundingBox> <Center x="1.5" y="0.0" z="0.9"/> <Dimensions width="2" length="2" height="2"/> </BoundingBox> <Properties> <Property name="type" value="simulation"/> </Properties> </Pedestrian> </ScenarioObject> <ScenarioObject name="pedestrian_close_to_adversary_20064"> <Pedestrian model="walker.pedestrian.0001" mass="80" name="walker.pedestrian.0001" pedestrianCategory="pedestrian"> <ParameterDeclarations/> <BoundingBox> <Center x="1.5" y="0.0" z="0.9"/> <Dimensions width="2" length="2" height="2"/> </BoundingBox> <Properties> <Property name="type" value="simulation"/> </Properties> </Pedestrian> </ScenarioObject> <ScenarioObject name="pedestrian_close_to_adversary_20065"> <Pedestrian model="walker.pedestrian.0001" mass="80" name="walker.pedestrian.0001" pedestrianCategory="pedestrian"> <ParameterDeclarations/> <BoundingBox> <Center x="1.5" y="0.0" z="0.9"/> <Dimensions width="2" length="2" height="2"/> </BoundingBox> <Properties> <Property name="type" value="simulation"/> </Properties> </Pedestrian> </ScenarioObject> <ScenarioObject name="pedestrian_close_to_standing_20066"> <Pedestrian model="walker.pedestrian.0001" mass="80" name="walker.pedestrian.0001" pedestrianCategory="pedestrian"> <ParameterDeclarations/> <BoundingBox> <Center x="1.5" y="0.0" z="0.9"/> <Dimensions width="2" length="2" height="2"/> </BoundingBox> <Properties> <Property name="type" value="simulation"/> </Properties> </Pedestrian> </ScenarioObject> <ScenarioObject name="pedestrian_close_to_adversary_20067"> <Pedestrian model="walker.pedestrian.0001" mass="80" name="walker.pedestrian.0001" pedestrianCategory="pedestrian"> <ParameterDeclarations/> <BoundingBox> <Center x="1.5" y="0.0" z="0.9"/> <Dimensions width="2" length="2" height="2"/> </BoundingBox> <Properties> <Property name="type" value="simulation"/> </Properties> </Pedestrian> </ScenarioObject> <ScenarioObject name="pedestrian_close_to_hero_20068"> <Pedestrian model="walker.pedestrian.0001" mass="80" name="walker.pedestrian.0001" pedestrianCategory="pedestrian"> <ParameterDeclarations/> <BoundingBox> <Center x="1.5" y="0.0" z="0.9"/> <Dimensions width="2" length="2" height="2"/> </BoundingBox> <Properties> <Property name="type" value="simulation"/> </Properties> </Pedestrian> </ScenarioObject> <ScenarioObject name="pedestrian_close_to_adversary_20069"> <Pedestrian model="walker.pedestrian.0001" mass="80" name="walker.pedestrian.0001" pedestrianCategory="pedestrian"> <ParameterDeclarations/> <BoundingBox> <Center x="1.5" y="0.0" z="0.9"/> <Dimensions width="2" length="2" height="2"/> </BoundingBox> <Properties> <Property name="type" value="simulation"/> </Properties> </Pedestrian> </ScenarioObject> <ScenarioObject name="pedestrian_w_transform_20070"> <Pedestrian model="walker.pedestrian.0001" mass="80" name="walker.pedestrian.0001" pedestrianCategory="pedestrian"> <ParameterDeclarations/> <BoundingBox> <Center x="1.5" y="0.0" z="0.9"/> <Dimensions width="2" length="2" height="2"/> </BoundingBox> <Properties> <Property name="type" value="simulation"/> </Properties> </Pedestrian> </ScenarioObject> <ScenarioObject name="pedestrian_w_transform_20071"> <Pedestrian model="walker.pedestrian.0001" mass="80" name="walker.pedestrian.0001" pedestrianCategory="pedestrian"> <ParameterDeclarations/> <BoundingBox> <Center x="1.5" y="0.0" z="0.9"/> <Dimensions width="2" length="2" height="2"/> </BoundingBox> <Properties> <Property name="type" value="simulation"/> </Properties> </Pedestrian> </ScenarioObject> <ScenarioObject name="pedestrian_close_to_standing_20072"> <Pedestrian model="walker.pedestrian.0001" mass="80" name="walker.pedestrian.0001" pedestrianCategory="pedestrian"> <ParameterDeclarations/> <BoundingBox> <Center x="1.5" y="0.0" z="0.9"/> <Dimensions width="2" length="2" height="2"/> </BoundingBox> <Properties> <Property name="type" value="simulation"/> </Properties> </Pedestrian> </ScenarioObject> <ScenarioObject name="pedestrian_w_transform_20073"> <Pedestrian model="walker.pedestrian.0001" mass="80" name="walker.pedestrian.0001" pedestrianCategory="pedestrian"> <ParameterDeclarations/> <BoundingBox> <Center x="1.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_20051"> <PrivateAction> <TeleportAction> <Position> <WorldPosition x="-12.72567367553711" y="22.155244827270508" z="0.0030715942848473787"/> </Position> </TeleportAction> </PrivateAction> </Private> <Private entityRef="pedestrian_close_to_adversary_20052"> <PrivateAction> <TeleportAction> <Position> <WorldPosition x="4.120643138885498" y="-53.16421127319336" z="0.033820990473032"/> </Position> </TeleportAction> </PrivateAction> </Private> <Private entityRef="pedestrian_close_to_standing_20053"> <PrivateAction> <TeleportAction> <Position> <WorldPosition x="-16.048948287963867" y="28.174907684326172" z="0.0030481338035315275"/> </Position> </TeleportAction> </PrivateAction> </Private> <Private entityRef="pedestrian_close_to_standing_20054"> <PrivateAction> <TeleportAction> <Position> <WorldPosition x="0.2663520574569702" y="38.29854965209961" z="0.003066215431317687"/> </Position> </TeleportAction> </PrivateAction> </Private> <Private entityRef="pedestrian_close_to_standing_20055"> <PrivateAction> <TeleportAction> <Position> <WorldPosition x="-10.5488862991333" y="38.511863708496094" z="0.0030504607129842043"/> </Position> </TeleportAction> </PrivateAction> </Private> <Private entityRef="pedestrian_w_transform_20056"> <PrivateAction> <TeleportAction> <Position> <WorldPosition x="70.08763885498047" y="67.96578979492188" z="0.5"/> </Position> </TeleportAction> </PrivateAction> </Private> <Private entityRef="pedestrian_w_transform_20057"> <PrivateAction> <TeleportAction> <Position> <WorldPosition x="6.943846702575684" y="-86.93218231201172" z="0.5"/> </Position> </TeleportAction> </PrivateAction> </Private> <Private entityRef="pedestrian_w_transform_20059"> <PrivateAction> <TeleportAction> <Position> <WorldPosition x="-43.085914611816406" y="76.39323425292969" z="0.5"/> </Position> </TeleportAction> </PrivateAction> </Private> <Private entityRef="pedestrian_w_transform_20060"> <PrivateAction> <TeleportAction> <Position> <WorldPosition x="-86.68301391601562" y="82.79931640625" z="0.5"/> </Position> </TeleportAction> </PrivateAction> </Private> <Private entityRef="pedestrian_close_to_hero_20061"> <PrivateAction> <TeleportAction> <Position> <WorldPosition x="-9.186371803283691" y="-142.8396453857422" z="0.0015143966302275658"/> </Position> </TeleportAction> </PrivateAction> </Private> <Private entityRef="pedestrian_close_to_adversary_20062"> <PrivateAction> <TeleportAction> <Position> <WorldPosition x="-1.760146141052246" y="-67.74282836914062" z="0.03378715366125107"/> </Position> </TeleportAction> </PrivateAction> </Private> <Private entityRef="pedestrian_w_transform_20063"> <PrivateAction> <TeleportAction> <Position> <WorldPosition x="3.379408121109009" y="-23.529064178466797" z="0.5"/> </Position> </TeleportAction> </PrivateAction> </Private> <Private entityRef="pedestrian_close_to_adversary_20064"> <PrivateAction> <TeleportAction> <Position> <WorldPosition x="-5.1721649169921875" y="-66.97520446777344" z="0.0337398536503315"/> </Position> </TeleportAction> </PrivateAction> </Private> <Private entityRef="pedestrian_close_to_adversary_20065"> <PrivateAction> <TeleportAction> <Position> <WorldPosition x="-16.379222869873047" y="-79.52793884277344" z="0.03376564010977745"/> </Position> </TeleportAction> </PrivateAction> </Private> <Private entityRef="pedestrian_close_to_standing_20066"> <PrivateAction> <TeleportAction> <Position> <WorldPosition x="-6.78181266784668" y="25.463817596435547" z="0.0030439377296715975"/> </Position> </TeleportAction> </PrivateAction> </Private> <Private entityRef="pedestrian_close_to_adversary_20067"> <PrivateAction> <TeleportAction> <Position> <WorldPosition x="-8.45648193359375" y="-65.95427703857422" z="0.033779218792915344"/> </Position> </TeleportAction> </PrivateAction> </Private> <Private entityRef="pedestrian_close_to_hero_20068"> <PrivateAction> <TeleportAction> <Position> <WorldPosition x="-6.661411762237549" y="-150.48265075683594" z="0.0015143966302275658"/> </Position> </TeleportAction> </PrivateAction> </Private> <Private entityRef="pedestrian_close_to_adversary_20069"> <PrivateAction> <TeleportAction> <Position> <WorldPosition x="-2.0517475605010986" y="-64.9002685546875" z="0.03377910703420639"/> </Position> </TeleportAction> </PrivateAction> </Private> <Private entityRef="pedestrian_w_transform_20070"> <PrivateAction> <TeleportAction> <Position> <WorldPosition x="-1.4245495796203613" y="8.424835205078125" z="0.5"/> </Position> </TeleportAction> </PrivateAction> </Private> <Private entityRef="pedestrian_w_transform_20071"> <PrivateAction> <TeleportAction> <Position> <WorldPosition x="-64.27019500732422" y="-71.00984191894531" z="0.5"/> </Position> </TeleportAction> </PrivateAction> </Private> <Private entityRef="pedestrian_close_to_standing_20072"> <PrivateAction> <TeleportAction> <Position> <WorldPosition x="-17.7145938873291" y="21.606170654296875" z="0.0030438995454460382"/> </Position> </TeleportAction> </PrivateAction> </Private> <Private entityRef="pedestrian_w_transform_20073"> <PrivateAction> <TeleportAction> <Position> <WorldPosition x="-88.59186553955078" y="80.27450561523438" 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_20051"> <Pedestrian model="walker.pedestrian.0001" mass="80" name="walker.pedestrian.0001" pedestrianCategory="pedestrian"> <ParameterDeclarations/> <BoundingBox> <Center x="1.5" y="0.0" z="0.9"/> <Dimensions width="2" length="2" height="2"/> </BoundingBox> <Properties> <Property name="type" value="simulation"/> </Properties> </Pedestrian> </ScenarioObject> <ScenarioObject name="pedestrian_close_to_adversary_20052"> <Pedestrian model="walker.pedestrian.0001" mass="80" name="walker.pedestrian.0001" pedestrianCategory="pedestrian"> <ParameterDeclarations/> <BoundingBox> <Center x="1.5" y="0.0" z="0.9"/> <Dimensions width="2" length="2" height="2"/> </BoundingBox> <Properties> <Property name="type" value="simulation"/> </Properties> </Pedestrian> </ScenarioObject> <ScenarioObject name="pedestrian_close_to_standing_20053"> <Pedestrian model="walker.pedestrian.0001" mass="80" name="walker.pedestrian.0001" pedestrianCategory="pedestrian"> <ParameterDeclarations/> <BoundingBox> <Center x="1.5" y="0.0" z="0.9"/> <Dimensions width="2" length="2" height="2"/> </BoundingBox> <Properties> <Property name="type" value="simulation"/> </Properties> </Pedestrian> </ScenarioObject> <ScenarioObject name="pedestrian_close_to_standing_20054"> <Pedestrian model="walker.pedestrian.0001" mass="80" name="walker.pedestrian.0001" pedestrianCategory="pedestrian"> <ParameterDeclarations/> <BoundingBox> <Center x="1.5" y="0.0" z="0.9"/> <Dimensions width="2" length="2" height="2"/> </BoundingBox> <Properties> <Property name="type" value="simulation"/> </Properties> </Pedestrian> </ScenarioObject> <ScenarioObject name="pedestrian_close_to_standing_20055"> <Pedestrian model="walker.pedestrian.0001" mass="80" name="walker.pedestrian.0001" pedestrianCategory="pedestrian"> <ParameterDeclarations/> <BoundingBox> <Center x="1.5" y="0.0" z="0.9"/> <Dimensions width="2" length="2" height="2"/> </BoundingBox> <Properties> <Property name="type" value="simulation"/> </Properties> </Pedestrian> </ScenarioObject> <ScenarioObject name="pedestrian_w_transform_20056"> <Pedestrian model="walker.pedestrian.0001" mass="80" name="walker.pedestrian.0001" pedestrianCategory="pedestrian"> <ParameterDeclarations/> <BoundingBox> <Center x="1.5" y="0.0" z="0.9"/> <Dimensions width="2" length="2" height="2"/> </BoundingBox> <Properties> <Property name="type" value="simulation"/> </Properties> </Pedestrian> </ScenarioObject> <ScenarioObject name="pedestrian_w_transform_20057"> <Pedestrian model="walker.pedestrian.0001" mass="80" name="walker.pedestrian.0001" pedestrianCategory="pedestrian"> <ParameterDeclarations/> <BoundingBox> <Center x="1.5" y="0.0" z="0.9"/> <Dimensions width="2" length="2" height="2"/> </BoundingBox> <Properties> <Property name="type" value="simulation"/> </Properties> </Pedestrian> </ScenarioObject> <ScenarioObject name="pedestrian_w_transform_20059"> <Pedestrian model="walker.pedestrian.0001" mass="80" name="walker.pedestrian.0001" pedestrianCategory="pedestrian"> <ParameterDeclarations/> <BoundingBox> <Center x="1.5" y="0.0" z="0.9"/> <Dimensions width="2" length="2" height="2"/> </BoundingBox> <Properties> <Property name="type" value="simulation"/> </Properties> </Pedestrian> </ScenarioObject> <ScenarioObject name="pedestrian_w_transform_20060"> <Pedestrian model="walker.pedestrian.0001" mass="80" name="walker.pedestrian.0001" pedestrianCategory="pedestrian"> <ParameterDeclarations/> <BoundingBox> <Center x="1.5" y="0.0" z="0.9"/> <Dimensions width="2" length="2" height="2"/> </BoundingBox> <Properties> <Property name="type" value="simulation"/> </Properties> </Pedestrian> </ScenarioObject> <ScenarioObject name="pedestrian_close_to_hero_20061"> <Pedestrian model="walker.pedestrian.0001" mass="80" name="walker.pedestrian.0001" pedestrianCategory="pedestrian"> <ParameterDeclarations/> <BoundingBox> <Center x="1.5" y="0.0" z="0.9"/> <Dimensions width="2" length="2" height="2"/> </BoundingBox> <Properties> <Property name="type" value="simulation"/> </Properties> </Pedestrian> </ScenarioObject> <ScenarioObject name="pedestrian_close_to_adversary_20062"> <Pedestrian model="walker.pedestrian.0001" mass="80" name="walker.pedestrian.0001" pedestrianCategory="pedestrian"> <ParameterDeclarations/> <BoundingBox> <Center x="1.5" y="0.0" z="0.9"/> <Dimensions width="2" length="2" height="2"/> </BoundingBox> <Properties> <Property name="type" value="simulation"/> </Properties> </Pedestrian> </ScenarioObject> <ScenarioObject name="pedestrian_w_transform_20063"> <Pedestrian model="walker.pedestrian.0001" mass="80" name="walker.pedestrian.0001" pedestrianCategory="pedestrian"> <ParameterDeclarations/> <BoundingBox> <Center x="1.5" y="0.0" z="0.9"/> <Dimensions width="2" length="2" height="2"/> </BoundingBox> <Properties> <Property name="type" value="simulation"/> </Properties> </Pedestrian> </ScenarioObject> <ScenarioObject name="pedestrian_close_to_adversary_20064"> <Pedestrian model="walker.pedestrian.0001" mass="80" name="walker.pedestrian.0001" pedestrianCategory="pedestrian"> <ParameterDeclarations/> <BoundingBox> <Center x="1.5" y="0.0" z="0.9"/> <Dimensions width="2" length="2" height="2"/> </BoundingBox> <Properties> <Property name="type" value="simulation"/> </Properties> </Pedestrian> </ScenarioObject> <ScenarioObject name="pedestrian_close_to_adversary_20065"> <Pedestrian model="walker.pedestrian.0001" mass="80" name="walker.pedestrian.0001" pedestrianCategory="pedestrian"> <ParameterDeclarations/> <BoundingBox> <Center x="1.5" y="0.0" z="0.9"/> <Dimensions width="2" length="2" height="2"/> </BoundingBox> <Properties> <Property name="type" value="simulation"/> </Properties> </Pedestrian> </ScenarioObject> <ScenarioObject name="pedestrian_close_to_standing_20066"> <Pedestrian model="walker.pedestrian.0001" mass="80" name="walker.pedestrian.0001" pedestrianCategory="pedestrian"> <ParameterDeclarations/> <BoundingBox> <Center x="1.5" y="0.0" z="0.9"/> <Dimensions width="2" length="2" height="2"/> </BoundingBox> <Properties> <Property name="type" value="simulation"/> </Properties> </Pedestrian> </ScenarioObject> <ScenarioObject name="pedestrian_close_to_adversary_20067"> <Pedestrian model="walker.pedestrian.0001" mass="80" name="walker.pedestrian.0001" pedestrianCategory="pedestrian"> <ParameterDeclarations/> <BoundingBox> <Center x="1.5" y="0.0" z="0.9"/> <Dimensions width="2" length="2" height="2"/> </BoundingBox> <Properties> <Property name="type" value="simulation"/> </Properties> </Pedestrian> </ScenarioObject> <ScenarioObject name="pedestrian_close_to_hero_20068"> <Pedestrian model="walker.pedestrian.0001" mass="80" name="walker.pedestrian.0001" pedestrianCategory="pedestrian"> <ParameterDeclarations/> <BoundingBox> <Center x="1.5" y="0.0" z="0.9"/> <Dimensions width="2" length="2" height="2"/> </BoundingBox> <Properties> <Property name="type" value="simulation"/> </Properties> </Pedestrian> </ScenarioObject> <ScenarioObject name="pedestrian_close_to_adversary_20069"> <Pedestrian model="walker.pedestrian.0001" mass="80" name="walker.pedestrian.0001" pedestrianCategory="pedestrian"> <ParameterDeclarations/> <BoundingBox> <Center x="1.5" y="0.0" z="0.9"/> <Dimensions width="2" length="2" height="2"/> </BoundingBox> <Properties> <Property name="type" value="simulation"/> </Properties> </Pedestrian> </ScenarioObject> <ScenarioObject name="pedestrian_w_transform_20070"> <Pedestrian model="walker.pedestrian.0001" mass="80" name="walker.pedestrian.0001" pedestrianCategory="pedestrian"> <ParameterDeclarations/> <BoundingBox> <Center x="1.5" y="0.0" z="0.9"/> <Dimensions width="2" length="2" height="2"/> </BoundingBox> <Properties> <Property name="type" value="simulation"/> </Properties> </Pedestrian> </ScenarioObject> <ScenarioObject name="pedestrian_w_transform_20071"> <Pedestrian model="walker.pedestrian.0001" mass="80" name="walker.pedestrian.0001" pedestrianCategory="pedestrian"> <ParameterDeclarations/> <BoundingBox> <Center x="1.5" y="0.0" z="0.9"/> <Dimensions width="2" length="2" height="2"/> </BoundingBox> <Properties> <Property name="type" value="simulation"/> </Properties> </Pedestrian> </ScenarioObject> <ScenarioObject name="pedestrian_close_to_standing_20072"> <Pedestrian model="walker.pedestrian.0001" mass="80" name="walker.pedestrian.0001" pedestrianCategory="pedestrian"> <ParameterDeclarations/> <BoundingBox> <Center x="1.5" y="0.0" z="0.9"/> <Dimensions width="2" length="2" height="2"/> </BoundingBox> <Properties> <Property name="type" value="simulation"/> </Properties> </Pedestrian> </ScenarioObject> <ScenarioObject name="pedestrian_w_transform_20073"> <Pedestrian model="walker.pedestrian.0001" mass="80" name="walker.pedestrian.0001" pedestrianCategory="pedestrian"> <ParameterDeclarations/> <BoundingBox> <Center x="1.5" y="0.0" z="0.9"/> <Dimensions width="2" length="2" height="2"/> </BoundingBox> <Properties> <Property name="type" value="simulation"/> </Properties> </Pedestrian> </ScenarioObject> <ScenarioObject name="pedestrian_close_to_adversary_20074"> <Pedestrian model="walker.pedestrian.0001" mass="80" name="walker.pedestrian.0001" pedestrianCategory="pedestrian"> <ParameterDeclarations/> <BoundingBox> <Center x="1.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_20051"> <PrivateAction> <TeleportAction> <Position> <WorldPosition x="-12.72567367553711" y="22.155244827270508" z="0.0030715942848473787"/> </Position> </TeleportAction> </PrivateAction> </Private> <Private entityRef="pedestrian_close_to_adversary_20052"> <PrivateAction> <TeleportAction> <Position> <WorldPosition x="4.120643138885498" y="-53.16421127319336" z="0.033820990473032"/> </Position> </TeleportAction> </PrivateAction> </Private> <Private entityRef="pedestrian_close_to_standing_20053"> <PrivateAction> <TeleportAction> <Position> <WorldPosition x="-16.048948287963867" y="28.174907684326172" z="0.0030481338035315275"/> </Position> </TeleportAction> </PrivateAction> </Private> <Private entityRef="pedestrian_close_to_standing_20054"> <PrivateAction> <TeleportAction> <Position> <WorldPosition x="0.2663520574569702" y="38.29854965209961" z="0.003066215431317687"/> </Position> </TeleportAction> </PrivateAction> </Private> <Private entityRef="pedestrian_close_to_standing_20055"> <PrivateAction> <TeleportAction> <Position> <WorldPosition x="-10.5488862991333" y="38.511863708496094" z="0.0030504607129842043"/> </Position> </TeleportAction> </PrivateAction> </Private> <Private entityRef="pedestrian_w_transform_20056"> <PrivateAction> <TeleportAction> <Position> <WorldPosition x="70.08763885498047" y="67.96578979492188" z="0.5"/> </Position> </TeleportAction> </PrivateAction> </Private> <Private entityRef="pedestrian_w_transform_20057"> <PrivateAction> <TeleportAction> <Position> <WorldPosition x="6.943846702575684" y="-86.93218231201172" z="0.5"/> </Position> </TeleportAction> </PrivateAction> </Private> <Private entityRef="pedestrian_w_transform_20059"> <PrivateAction> <TeleportAction> <Position> <WorldPosition x="-43.085914611816406" y="76.39323425292969" z="0.5"/> </Position> </TeleportAction> </PrivateAction> </Private> <Private entityRef="pedestrian_w_transform_20060"> <PrivateAction> <TeleportAction> <Position> <WorldPosition x="-86.68301391601562" y="82.79931640625" z="0.5"/> </Position> </TeleportAction> </PrivateAction> </Private> <Private entityRef="pedestrian_close_to_hero_20061"> <PrivateAction> <TeleportAction> <Position> <WorldPosition x="-9.186371803283691" y="-142.8396453857422" z="0.0015143966302275658"/> </Position> </TeleportAction> </PrivateAction> </Private> <Private entityRef="pedestrian_close_to_adversary_20062"> <PrivateAction> <TeleportAction> <Position> <WorldPosition x="-1.760146141052246" y="-67.74282836914062" z="0.03378715366125107"/> </Position> </TeleportAction> </PrivateAction> </Private> <Private entityRef="pedestrian_w_transform_20063"> <PrivateAction> <TeleportAction> <Position> <WorldPosition x="3.379408121109009" y="-23.529064178466797" z="0.5"/> </Position> </TeleportAction> </PrivateAction> </Private> <Private entityRef="pedestrian_close_to_adversary_20064"> <PrivateAction> <TeleportAction> <Position> <WorldPosition x="-5.1721649169921875" y="-66.97520446777344" z="0.0337398536503315"/> </Position> </TeleportAction> </PrivateAction> </Private> <Private entityRef="pedestrian_close_to_adversary_20065"> <PrivateAction> <TeleportAction> <Position> <WorldPosition x="-16.379222869873047" y="-79.52793884277344" z="0.03376564010977745"/> </Position> </TeleportAction> </PrivateAction> </Private> <Private entityRef="pedestrian_close_to_standing_20066"> <PrivateAction> <TeleportAction> <Position> <WorldPosition x="-6.78181266784668" y="25.463817596435547" z="0.0030439377296715975"/> </Position> </TeleportAction> </PrivateAction> </Private> <Private entityRef="pedestrian_close_to_adversary_20067"> <PrivateAction> <TeleportAction> <Position> <WorldPosition x="-8.45648193359375" y="-65.95427703857422" z="0.033779218792915344"/> </Position> </TeleportAction> </PrivateAction> </Private> <Private entityRef="pedestrian_close_to_hero_20068"> <PrivateAction> <TeleportAction> <Position> <WorldPosition x="-6.661411762237549" y="-150.48265075683594" z="0.0015143966302275658"/> </Position> </TeleportAction> </PrivateAction> </Private> <Private entityRef="pedestrian_close_to_adversary_20069"> <PrivateAction> <TeleportAction> <Position> <WorldPosition x="-2.0517475605010986" y="-64.9002685546875" z="0.03377910703420639"/> </Position> </TeleportAction> </PrivateAction> </Private> <Private entityRef="pedestrian_w_transform_20070"> <PrivateAction> <TeleportAction> <Position> <WorldPosition x="-1.4245495796203613" y="8.424835205078125" z="0.5"/> </Position> </TeleportAction> </PrivateAction> </Private> <Private entityRef="pedestrian_w_transform_20071"> <PrivateAction> <TeleportAction> <Position> <WorldPosition x="-64.27019500732422" y="-71.00984191894531" z="0.5"/> </Position> </TeleportAction> </PrivateAction> </Private> <Private entityRef="pedestrian_close_to_standing_20072"> <PrivateAction> <TeleportAction> <Position> <WorldPosition x="-17.7145938873291" y="21.606170654296875" z="0.0030438995454460382"/> </Position> </TeleportAction> </PrivateAction> </Private> <Private entityRef="pedestrian_w_transform_20073"> <PrivateAction> <TeleportAction> <Position> <WorldPosition x="-88.59186553955078" y="80.27450561523438" z="0.5"/> </Position> </TeleportAction> </PrivateAction> </Private> <Private entityRef="pedestrian_close_to_adversary_20074"> <PrivateAction> <TeleportAction> <Position> <WorldPosition x="-9.840911865234375" y="-76.63514709472656" z="0.033770978450775146"/> </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 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_621"> <Pedestrian model="walker.pedestrian.0001" mass="80" name="walker.pedestrian.0001" pedestrianCategory="pedestrian"> <ParameterDeclarations/> <BoundingBox> <Center x="1.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_621"> <PrivateAction> <TeleportAction> <Position> <WorldPosition x="-11.133914947509766" y="-141.70065307617188" z="0.0014525604201480746"/> </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_adversary_26802"> <Pedestrian model="walker.pedestrian.0001" mass="80" name="walker.pedestrian.0001" pedestrianCategory="pedestrian"> <ParameterDeclarations/> <BoundingBox> <Center x="1.5" y="0.0" z="0.9"/> <Dimensions width="2" length="2" height="2"/> </BoundingBox> <Properties> <Property name="type" value="simulation"/> </Properties> </Pedestrian> </ScenarioObject> <ScenarioObject name="pedestrian_close_to_standing_26803"> <Pedestrian model="walker.pedestrian.0001" mass="80" name="walker.pedestrian.0001" pedestrianCategory="pedestrian"> <ParameterDeclarations/> <BoundingBox> <Center x="1.5" y="0.0" z="0.9"/> <Dimensions width="2" length="2" height="2"/> </BoundingBox> <Properties> <Property name="type" value="simulation"/> </Properties> </Pedestrian> </ScenarioObject> <ScenarioObject name="pedestrian_w_transform_26804"> <Pedestrian model="walker.pedestrian.0001" mass="80" name="walker.pedestrian.0001" pedestrianCategory="pedestrian"> <ParameterDeclarations/> <BoundingBox> <Center x="1.5" y="0.0" z="0.9"/> <Dimensions width="2" length="2" height="2"/> </BoundingBox> <Properties> <Property name="type" value="simulation"/> </Properties> </Pedestrian> </ScenarioObject> <ScenarioObject name="pedestrian_close_to_standing_26805"> <Pedestrian model="walker.pedestrian.0001" mass="80" name="walker.pedestrian.0001" pedestrianCategory="pedestrian"> <ParameterDeclarations/> <BoundingBox> <Center x="1.5" y="0.0" z="0.9"/> <Dimensions width="2" length="2" height="2"/> </BoundingBox> <Properties> <Property name="type" value="simulation"/> </Properties> </Pedestrian> </ScenarioObject> <ScenarioObject name="pedestrian_close_to_standing_26806"> <Pedestrian model="walker.pedestrian.0001" mass="80" name="walker.pedestrian.0001" pedestrianCategory="pedestrian"> <ParameterDeclarations/> <BoundingBox> <Center x="1.5" y="0.0" z="0.9"/> <Dimensions width="2" length="2" height="2"/> </BoundingBox> <Properties> <Property name="type" value="simulation"/> </Properties> </Pedestrian> </ScenarioObject> <ScenarioObject name="pedestrian_w_transform_26807"> <Pedestrian model="walker.pedestrian.0001" mass="80" name="walker.pedestrian.0001" pedestrianCategory="pedestrian"> <ParameterDeclarations/> <BoundingBox> <Center x="1.5" y="0.0" z="0.9"/> <Dimensions width="2" length="2" height="2"/> </BoundingBox> <Properties> <Property name="type" value="simulation"/> </Properties> </Pedestrian> </ScenarioObject> <ScenarioObject name="pedestrian_close_to_standing_26808"> <Pedestrian model="walker.pedestrian.0001" mass="80" name="walker.pedestrian.0001" pedestrianCategory="pedestrian"> <ParameterDeclarations/> <BoundingBox> <Center x="1.5" y="0.0" z="0.9"/> <Dimensions width="2" length="2" height="2"/> </BoundingBox> <Properties> <Property name="type" value="simulation"/> </Properties> </Pedestrian> </ScenarioObject> <ScenarioObject name="pedestrian_close_to_standing_26809"> <Pedestrian model="walker.pedestrian.0001" mass="80" name="walker.pedestrian.0001" pedestrianCategory="pedestrian"> <ParameterDeclarations/> <BoundingBox> <Center x="1.5" y="0.0" z="0.9"/> <Dimensions width="2" length="2" height="2"/> </BoundingBox> <Properties> <Property name="type" value="simulation"/> </Properties> </Pedestrian> </ScenarioObject> <ScenarioObject name="pedestrian_close_to_hero_26810"> <Pedestrian model="walker.pedestrian.0001" mass="80" name="walker.pedestrian.0001" pedestrianCategory="pedestrian"> <ParameterDeclarations/> <BoundingBox> <Center x="1.5" y="0.0" z="0.9"/> <Dimensions width="2" length="2" height="2"/> </BoundingBox> <Properties> <Property name="type" value="simulation"/> </Properties> </Pedestrian> </ScenarioObject> <ScenarioObject name="pedestrian_close_to_standing_26811"> <Pedestrian model="walker.pedestrian.0001" mass="80" name="walker.pedestrian.0001" pedestrianCategory="pedestrian"> <ParameterDeclarations/> <BoundingBox> <Center x="1.5" y="0.0" z="0.9"/> <Dimensions width="2" length="2" height="2"/> </BoundingBox> <Properties> <Property name="type" value="simulation"/> </Properties> </Pedestrian> </ScenarioObject> <ScenarioObject name="pedestrian_w_transform_26812"> <Pedestrian model="walker.pedestrian.0001" mass="80" name="walker.pedestrian.0001" pedestrianCategory="pedestrian"> <ParameterDeclarations/> <BoundingBox> <Center x="1.5" y="0.0" z="0.9"/> <Dimensions width="2" length="2" height="2"/> </BoundingBox> <Properties> <Property name="type" value="simulation"/> </Properties> </Pedestrian> </ScenarioObject> <ScenarioObject name="pedestrian_close_to_hero_26813"> <Pedestrian model="walker.pedestrian.0001" mass="80" name="walker.pedestrian.0001" pedestrianCategory="pedestrian"> <ParameterDeclarations/> <BoundingBox> <Center x="1.5" y="0.0" z="0.9"/> <Dimensions width="2" length="2" height="2"/> </BoundingBox> <Properties> <Property name="type" value="simulation"/> </Properties> </Pedestrian> </ScenarioObject> <ScenarioObject name="pedestrian_close_to_hero_26814"> <Pedestrian model="walker.pedestrian.0001" mass="80" name="walker.pedestrian.0001" pedestrianCategory="pedestrian"> <ParameterDeclarations/> <BoundingBox> <Center x="1.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_26802"> <PrivateAction> <TeleportAction> <Position> <WorldPosition x="-10.436674118041992" y="-71.02875518798828" z="0.0338321290910244"/> </Position> </TeleportAction> </PrivateAction> </Private> <Private entityRef="pedestrian_close_to_standing_26803"> <PrivateAction> <TeleportAction> <Position> <WorldPosition x="-15.527560234069824" y="25.57233428955078" z="0.003048057435080409"/> </Position> </TeleportAction> </PrivateAction> </Private> <Private entityRef="pedestrian_w_transform_26804"> <PrivateAction> <TeleportAction> <Position> <WorldPosition x="10.494123458862305" y="14.837226867675781" z="0.5"/> </Position> </TeleportAction> </PrivateAction> </Private> <Private entityRef="pedestrian_close_to_standing_26805"> <PrivateAction> <TeleportAction> <Position> <WorldPosition x="-8.174429893493652" y="21.589033126831055" z="0.003107375930994749"/> </Position> </TeleportAction> </PrivateAction> </Private> <Private entityRef="pedestrian_close_to_standing_26806"> <PrivateAction> <TeleportAction> <Position> <WorldPosition x="-14.285697937011719" y="34.58145523071289" z="0.003126449417322874"/> </Position> </TeleportAction> </PrivateAction> </Private> <Private entityRef="pedestrian_w_transform_26807"> <PrivateAction> <TeleportAction> <Position> <WorldPosition x="-99.5492935180664" y="92.61949157714844" z="0.5"/> </Position> </TeleportAction> </PrivateAction> </Private> <Private entityRef="pedestrian_close_to_standing_26808"> <PrivateAction> <TeleportAction> <Position> <WorldPosition x="-4.488016128540039" y="31.050321578979492" z="0.0031059265602380037"/> </Position> </TeleportAction> </PrivateAction> </Private> <Private entityRef="pedestrian_close_to_standing_26809"> <PrivateAction> <TeleportAction> <Position> <WorldPosition x="-5.37509298324585" y="34.848384857177734" z="0.0030882263090461493"/> </Position> </TeleportAction> </PrivateAction> </Private> <Private entityRef="pedestrian_close_to_hero_26810"> <PrivateAction> <TeleportAction> <Position> <WorldPosition x="0.30690813064575195" y="-144.5150909423828" z="0.0020974730141460896"/> </Position> </TeleportAction> </PrivateAction> </Private> <Private entityRef="pedestrian_close_to_standing_26811"> <PrivateAction> <TeleportAction> <Position> <WorldPosition x="-16.534311294555664" y="35.27683639526367" z="0.003047027625143528"/> </Position> </TeleportAction> </PrivateAction> </Private> <Private entityRef="pedestrian_w_transform_26812"> <PrivateAction> <TeleportAction> <Position> <WorldPosition x="11.082464218139648" y="18.18216323852539" z="0.5"/> </Position> </TeleportAction> </PrivateAction> </Private> <Private entityRef="pedestrian_close_to_hero_26813"> <PrivateAction> <TeleportAction> <Position> <WorldPosition x="-10.89420223236084" y="-143.70054626464844" z="0.0020974730141460896"/> </Position> </TeleportAction> </PrivateAction> </Private> <Private entityRef="pedestrian_close_to_hero_26814"> <PrivateAction> <TeleportAction> <Position> <WorldPosition x="-13.223962783813477" y="-160.3335418701172" z="0.0020974730141460896"/> </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_26802"> <Pedestrian model="walker.pedestrian.0001" mass="80" name="walker.pedestrian.0001" pedestrianCategory="pedestrian"> <ParameterDeclarations/> <BoundingBox> <Center x="1.5" y="0.0" z="0.9"/> <Dimensions width="2" length="2" height="2"/> </BoundingBox> <Properties> <Property name="type" value="simulation"/> </Properties> </Pedestrian> </ScenarioObject> <ScenarioObject name="pedestrian_close_to_standing_26803"> <Pedestrian model="walker.pedestrian.0001" mass="80" name="walker.pedestrian.0001" pedestrianCategory="pedestrian"> <ParameterDeclarations/> <BoundingBox> <Center x="1.5" y="0.0" z="0.9"/> <Dimensions width="2" length="2" height="2"/> </BoundingBox> <Properties> <Property name="type" value="simulation"/> </Properties> </Pedestrian> </ScenarioObject> <ScenarioObject name="pedestrian_w_transform_26804"> <Pedestrian model="walker.pedestrian.0001" mass="80" name="walker.pedestrian.0001" pedestrianCategory="pedestrian"> <ParameterDeclarations/> <BoundingBox> <Center x="1.5" y="0.0" z="0.9"/> <Dimensions width="2" length="2" height="2"/> </BoundingBox> <Properties> <Property name="type" value="simulation"/> </Properties> </Pedestrian> </ScenarioObject> <ScenarioObject name="pedestrian_close_to_standing_26805"> <Pedestrian model="walker.pedestrian.0001" mass="80" name="walker.pedestrian.0001" pedestrianCategory="pedestrian"> <ParameterDeclarations/> <BoundingBox> <Center x="1.5" y="0.0" z="0.9"/> <Dimensions width="2" length="2" height="2"/> </BoundingBox> <Properties> <Property name="type" value="simulation"/> </Properties> </Pedestrian> </ScenarioObject> <ScenarioObject name="pedestrian_close_to_standing_26806"> <Pedestrian model="walker.pedestrian.0001" mass="80" name="walker.pedestrian.0001" pedestrianCategory="pedestrian"> <ParameterDeclarations/> <BoundingBox> <Center x="1.5" y="0.0" z="0.9"/> <Dimensions width="2" length="2" height="2"/> </BoundingBox> <Properties> <Property name="type" value="simulation"/> </Properties> </Pedestrian> </ScenarioObject> <ScenarioObject name="pedestrian_w_transform_26807"> <Pedestrian model="walker.pedestrian.0001" mass="80" name="walker.pedestrian.0001" pedestrianCategory="pedestrian"> <ParameterDeclarations/> <BoundingBox> <Center x="1.5" y="0.0" z="0.9"/> <Dimensions width="2" length="2" height="2"/> </BoundingBox> <Properties> <Property name="type" value="simulation"/> </Properties> </Pedestrian> </ScenarioObject> <ScenarioObject name="pedestrian_close_to_standing_26808"> <Pedestrian model="walker.pedestrian.0001" mass="80" name="walker.pedestrian.0001" pedestrianCategory="pedestrian"> <ParameterDeclarations/> <BoundingBox> <Center x="1.5" y="0.0" z="0.9"/> <Dimensions width="2" length="2" height="2"/> </BoundingBox> <Properties> <Property name="type" value="simulation"/> </Properties> </Pedestrian> </ScenarioObject> <ScenarioObject name="pedestrian_close_to_standing_26809"> <Pedestrian model="walker.pedestrian.0001" mass="80" name="walker.pedestrian.0001" pedestrianCategory="pedestrian"> <ParameterDeclarations/> <BoundingBox> <Center x="1.5" y="0.0" z="0.9"/> <Dimensions width="2" length="2" height="2"/> </BoundingBox> <Properties> <Property name="type" value="simulation"/> </Properties> </Pedestrian> </ScenarioObject> <ScenarioObject name="pedestrian_close_to_hero_26810"> <Pedestrian model="walker.pedestrian.0001" mass="80" name="walker.pedestrian.0001" pedestrianCategory="pedestrian"> <ParameterDeclarations/> <BoundingBox> <Center x="1.5" y="0.0" z="0.9"/> <Dimensions width="2" length="2" height="2"/> </BoundingBox> <Properties> <Property name="type" value="simulation"/> </Properties> </Pedestrian> </ScenarioObject> <ScenarioObject name="pedestrian_close_to_standing_26811"> <Pedestrian model="walker.pedestrian.0001" mass="80" name="walker.pedestrian.0001" pedestrianCategory="pedestrian"> <ParameterDeclarations/> <BoundingBox> <Center x="1.5" y="0.0" z="0.9"/> <Dimensions width="2" length="2" height="2"/> </BoundingBox> <Properties> <Property name="type" value="simulation"/> </Properties> </Pedestrian> </ScenarioObject> <ScenarioObject name="pedestrian_w_transform_26812"> <Pedestrian model="walker.pedestrian.0001" mass="80" name="walker.pedestrian.0001" pedestrianCategory="pedestrian"> <ParameterDeclarations/> <BoundingBox> <Center x="1.5" y="0.0" z="0.9"/> <Dimensions width="2" length="2" height="2"/> </BoundingBox> <Properties> <Property name="type" value="simulation"/> </Properties> </Pedestrian> </ScenarioObject> <ScenarioObject name="pedestrian_close_to_hero_26813"> <Pedestrian model="walker.pedestrian.0001" mass="80" name="walker.pedestrian.0001" pedestrianCategory="pedestrian"> <ParameterDeclarations/> <BoundingBox> <Center x="1.5" y="0.0" z="0.9"/> <Dimensions width="2" length="2" height="2"/> </BoundingBox> <Properties> <Property name="type" value="simulation"/> </Properties> </Pedestrian> </ScenarioObject> <ScenarioObject name="pedestrian_close_to_hero_26814"> <Pedestrian model="walker.pedestrian.0001" mass="80" name="walker.pedestrian.0001" pedestrianCategory="pedestrian"> <ParameterDeclarations/> <BoundingBox> <Center x="1.5" y="0.0" z="0.9"/> <Dimensions width="2" length="2" height="2"/> </BoundingBox> <Properties> <Property name="type" value="simulation"/> </Properties> </Pedestrian> </ScenarioObject> <ScenarioObject name="pedestrian_close_to_adversary_26815"> <Pedestrian model="walker.pedestrian.0001" mass="80" name="walker.pedestrian.0001" pedestrianCategory="pedestrian"> <ParameterDeclarations/> <BoundingBox> <Center x="1.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_26802"> <PrivateAction> <TeleportAction> <Position> <WorldPosition x="-10.436674118041992" y="-71.02875518798828" z="0.0338321290910244"/> </Position> </TeleportAction> </PrivateAction> </Private> <Private entityRef="pedestrian_close_to_standing_26803"> <PrivateAction> <TeleportAction> <Position> <WorldPosition x="-15.527560234069824" y="25.57233428955078" z="0.003048057435080409"/> </Position> </TeleportAction> </PrivateAction> </Private> <Private entityRef="pedestrian_w_transform_26804"> <PrivateAction> <TeleportAction> <Position> <WorldPosition x="10.494123458862305" y="14.837226867675781" z="0.5"/> </Position> </TeleportAction> </PrivateAction> </Private> <Private entityRef="pedestrian_close_to_standing_26805"> <PrivateAction> <TeleportAction> <Position> <WorldPosition x="-8.174429893493652" y="21.589033126831055" z="0.003107375930994749"/> </Position> </TeleportAction> </PrivateAction> </Private> <Private entityRef="pedestrian_close_to_standing_26806"> <PrivateAction> <TeleportAction> <Position> <WorldPosition x="-14.285697937011719" y="34.58145523071289" z="0.003126449417322874"/> </Position> </TeleportAction> </PrivateAction> </Private> <Private entityRef="pedestrian_w_transform_26807"> <PrivateAction> <TeleportAction> <Position> <WorldPosition x="-99.5492935180664" y="92.61949157714844" z="0.5"/> </Position> </TeleportAction> </PrivateAction> </Private> <Private entityRef="pedestrian_close_to_standing_26808"> <PrivateAction> <TeleportAction> <Position> <WorldPosition x="-4.488016128540039" y="31.050321578979492" z="0.0031059265602380037"/> </Position> </TeleportAction> </PrivateAction> </Private> <Private entityRef="pedestrian_close_to_standing_26809"> <PrivateAction> <TeleportAction> <Position> <WorldPosition x="-5.37509298324585" y="34.848384857177734" z="0.0030882263090461493"/> </Position> </TeleportAction> </PrivateAction> </Private> <Private entityRef="pedestrian_close_to_hero_26810"> <PrivateAction> <TeleportAction> <Position> <WorldPosition x="0.30690813064575195" y="-144.5150909423828" z="0.0020974730141460896"/> </Position> </TeleportAction> </PrivateAction> </Private> <Private entityRef="pedestrian_close_to_standing_26811"> <PrivateAction> <TeleportAction> <Position> <WorldPosition x="-16.534311294555664" y="35.27683639526367" z="0.003047027625143528"/> </Position> </TeleportAction> </PrivateAction> </Private> <Private entityRef="pedestrian_w_transform_26812"> <PrivateAction> <TeleportAction> <Position> <WorldPosition x="11.082464218139648" y="18.18216323852539" z="0.5"/> </Position> </TeleportAction> </PrivateAction> </Private> <Private entityRef="pedestrian_close_to_hero_26813"> <PrivateAction> <TeleportAction> <Position> <WorldPosition x="-10.89420223236084" y="-143.70054626464844" z="0.0020974730141460896"/> </Position> </TeleportAction> </PrivateAction> </Private> <Private entityRef="pedestrian_close_to_hero_26814"> <PrivateAction> <TeleportAction> <Position> <WorldPosition x="-13.223962783813477" y="-160.3335418701172" z="0.0020974730141460896"/> </Position> </TeleportAction> </PrivateAction> </Private> <Private entityRef="pedestrian_close_to_adversary_26815"> <PrivateAction> <TeleportAction> <Position> <WorldPosition x="-5.662341594696045" y="-63.84791564941406" z="0.033821944147348404"/> </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_5904? ``` <?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_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_adversary_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_close_to_hero_5903"> <Pedestrian model="walker.pedestrian.0001" mass="80" name="walker.pedestrian.0001" pedestrianCategory="pedestrian"> <ParameterDeclarations/> <BoundingBox> <Center x="1.5" y="0.0" z="0.9"/> <Dimensions width="2" length="2" height="2"/> </BoundingBox> <Properties> <Property name="type" value="simulation"/> </Properties> </Pedestrian> </ScenarioObject> <ScenarioObject name="pedestrian_close_to_hero_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_close_to_adversary_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_close_to_adversary_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_standing_5901"> <PrivateAction> <TeleportAction> <Position> <WorldPosition x="4.709549427032471" y="32.612918853759766" z="0.0030270004644989967"/> </Position> </TeleportAction> </PrivateAction> </Private> <Private entityRef="pedestrian_close_to_adversary_5902"> <PrivateAction> <TeleportAction> <Position> <WorldPosition x="-7.800494194030762" y="-70.3858871459961" z="0.033805351704359055"/> </Position> </TeleportAction> </PrivateAction> </Private> <Private entityRef="pedestrian_close_to_hero_5903"> <PrivateAction> <TeleportAction> <Position> <WorldPosition x="-12.296841621398926" y="-158.15939331054688" z="0.0016471862327307463"/> </Position> </TeleportAction> </PrivateAction> </Private> <Private entityRef="pedestrian_close_to_hero_5904"> <PrivateAction> <TeleportAction> <Position> <WorldPosition x="-17.617822647094727" y="-158.2248077392578" z="0.0016471862327307463"/> </Position> </TeleportAction> </PrivateAction> </Private> <Private entityRef="pedestrian_w_transform_5905"> <PrivateAction> <TeleportAction> <Position> <WorldPosition x="24.23406410217285" y="93.31381225585938" z="0.5"/> </Position> </TeleportAction> </PrivateAction> </Private> <Private entityRef="pedestrian_close_to_adversary_5907"> <PrivateAction> <TeleportAction> <Position> <WorldPosition x="-17.944650650024414" y="-68.47940063476562" z="0.033764760941267014"/> </Position> </TeleportAction> </PrivateAction> </Private> <Private entityRef="pedestrian_close_to_adversary_5908"> <PrivateAction> <TeleportAction> <Position> <WorldPosition x="-14.995315551757812" y="-79.13225555419922" z="0.03379703313112259"/> </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_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_adversary_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_close_to_hero_5903"> <Pedestrian model="walker.pedestrian.0001" mass="80" name="walker.pedestrian.0001" pedestrianCategory="pedestrian"> <ParameterDeclarations/> <BoundingBox> <Center x="1.5" y="0.0" z="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_close_to_adversary_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_close_to_adversary_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_standing_5901"> <PrivateAction> <TeleportAction> <Position> <WorldPosition x="4.709549427032471" y="32.612918853759766" z="0.0030270004644989967"/> </Position> </TeleportAction> </PrivateAction> </Private> <Private entityRef="pedestrian_close_to_adversary_5902"> <PrivateAction> <TeleportAction> <Position> <WorldPosition x="-7.800494194030762" y="-70.3858871459961" z="0.033805351704359055"/> </Position> </TeleportAction> </PrivateAction> </Private> <Private entityRef="pedestrian_close_to_hero_5903"> <PrivateAction> <TeleportAction> <Position> <WorldPosition x="-12.296841621398926" y="-158.15939331054688" z="0.0016471862327307463"/> </Position> </TeleportAction> </PrivateAction> </Private> <Private entityRef="pedestrian_w_transform_5905"> <PrivateAction> <TeleportAction> <Position> <WorldPosition x="24.23406410217285" y="93.31381225585938" z="0.5"/> </Position> </TeleportAction> </PrivateAction> </Private> <Private entityRef="pedestrian_close_to_adversary_5907"> <PrivateAction> <TeleportAction> <Position> <WorldPosition x="-17.944650650024414" y="-68.47940063476562" z="0.033764760941267014"/> </Position> </TeleportAction> </PrivateAction> </Private> <Private entityRef="pedestrian_close_to_adversary_5908"> <PrivateAction> <TeleportAction> <Position> <WorldPosition x="-14.995315551757812" y="-79.13225555419922" z="0.03379703313112259"/> </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 (-68.13, 8.7, 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_27529"> <Pedestrian model="walker.pedestrian.0001" mass="80" name="walker.pedestrian.0001" pedestrianCategory="pedestrian"> <ParameterDeclarations/> <BoundingBox> <Center x="1.5" y="0.0" z="0.9"/> <Dimensions width="2" length="2" height="2"/> </BoundingBox> <Properties> <Property name="type" value="simulation"/> </Properties> </Pedestrian> </ScenarioObject> <ScenarioObject name="pedestrian_close_to_adversary_27530"> <Pedestrian model="walker.pedestrian.0001" mass="80" name="walker.pedestrian.0001" pedestrianCategory="pedestrian"> <ParameterDeclarations/> <BoundingBox> <Center x="1.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_27529"> <PrivateAction> <TeleportAction> <Position> <WorldPosition x="-12.363645553588867" y="36.612518310546875" z="0.0030779647640883923"/> </Position> </TeleportAction> </PrivateAction> </Private> <Private entityRef="pedestrian_close_to_adversary_27530"> <PrivateAction> <TeleportAction> <Position> <WorldPosition x="-9.338254928588867" y="-66.76375579833984" z="0.03382190689444542"/> </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_27529"> <Pedestrian model="walker.pedestrian.0001" mass="80" name="walker.pedestrian.0001" pedestrianCategory="pedestrian"> <ParameterDeclarations/> <BoundingBox> <Center x="1.5" y="0.0" z="0.9"/> <Dimensions width="2" length="2" height="2"/> </BoundingBox> <Properties> <Property name="type" value="simulation"/> </Properties> </Pedestrian> </ScenarioObject> <ScenarioObject name="pedestrian_close_to_adversary_27530"> <Pedestrian model="walker.pedestrian.0001" mass="80" name="walker.pedestrian.0001" pedestrianCategory="pedestrian"> <ParameterDeclarations/> <BoundingBox> <Center x="1.5" y="0.0" z="0.9"/> <Dimensions width="2" length="2" height="2"/> </BoundingBox> <Properties> <Property name="type" value="simulation"/> </Properties> </Pedestrian> </ScenarioObject> <ScenarioObject name="pedestrian_w_transform_27531"> <Pedestrian model="walker.pedestrian.0001" mass="80" name="walker.pedestrian.0001" pedestrianCategory="pedestrian"> <ParameterDeclarations/> <BoundingBox> <Center x="1.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_27529"> <PrivateAction> <TeleportAction> <Position> <WorldPosition x="-12.363645553588867" y="36.612518310546875" z="0.0030779647640883923"/> </Position> </TeleportAction> </PrivateAction> </Private> <Private entityRef="pedestrian_close_to_adversary_27530"> <PrivateAction> <TeleportAction> <Position> <WorldPosition x="-9.338254928588867" y="-66.76375579833984" z="0.03382190689444542"/> </Position> </TeleportAction> </PrivateAction> </Private> <Private entityRef="pedestrian_w_transform_27531"> <PrivateAction> <TeleportAction> <Position> <WorldPosition x="-68.12794494628906" y="8.695770263671875" 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 remove pedestrian actor named pedestrian_w_transform_10332? ``` <?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_10328"> <Pedestrian model="walker.pedestrian.0001" mass="80" name="walker.pedestrian.0001" pedestrianCategory="pedestrian"> <ParameterDeclarations/> <BoundingBox> <Center x="1.5" y="0.0" z="0.9"/> <Dimensions width="2" length="2" height="2"/> </BoundingBox> <Properties> <Property name="type" value="simulation"/> </Properties> </Pedestrian> </ScenarioObject> <ScenarioObject name="pedestrian_close_to_adversary_10329"> <Pedestrian model="walker.pedestrian.0001" mass="80" name="walker.pedestrian.0001" pedestrianCategory="pedestrian"> <ParameterDeclarations/> <BoundingBox> <Center x="1.5" y="0.0" z="0.9"/> <Dimensions width="2" length="2" height="2"/> </BoundingBox> <Properties> <Property name="type" value="simulation"/> </Properties> </Pedestrian> </ScenarioObject> <ScenarioObject name="pedestrian_close_to_standing_10330"> <Pedestrian model="walker.pedestrian.0001" mass="80" name="walker.pedestrian.0001" pedestrianCategory="pedestrian"> <ParameterDeclarations/> <BoundingBox> <Center x="1.5" y="0.0" z="0.9"/> <Dimensions width="2" length="2" height="2"/> </BoundingBox> <Properties> <Property name="type" value="simulation"/> </Properties> </Pedestrian> </ScenarioObject> <ScenarioObject name="pedestrian_close_to_hero_10331"> <Pedestrian model="walker.pedestrian.0001" mass="80" name="walker.pedestrian.0001" pedestrianCategory="pedestrian"> <ParameterDeclarations/> <BoundingBox> <Center x="1.5" y="0.0" z="0.9"/> <Dimensions width="2" length="2" height="2"/> </BoundingBox> <Properties> <Property name="type" value="simulation"/> </Properties> </Pedestrian> </ScenarioObject> <ScenarioObject name="pedestrian_w_transform_10332"> <Pedestrian model="walker.pedestrian.0001" mass="80" name="walker.pedestrian.0001" pedestrianCategory="pedestrian"> <ParameterDeclarations/> <BoundingBox> <Center x="1.5" y="0.0" z="0.9"/> <Dimensions width="2" length="2" height="2"/> </BoundingBox> <Properties> <Property name="type" value="simulation"/> </Properties> </Pedestrian> </ScenarioObject> <ScenarioObject name="pedestrian_w_transform_10333"> <Pedestrian model="walker.pedestrian.0001" mass="80" name="walker.pedestrian.0001" pedestrianCategory="pedestrian"> <ParameterDeclarations/> <BoundingBox> <Center x="1.5" y="0.0" z="0.9"/> <Dimensions width="2" length="2" height="2"/> </BoundingBox> <Properties> <Property name="type" value="simulation"/> </Properties> </Pedestrian> </ScenarioObject> <ScenarioObject name="pedestrian_close_to_adversary_10334"> <Pedestrian model="walker.pedestrian.0001" mass="80" name="walker.pedestrian.0001" pedestrianCategory="pedestrian"> <ParameterDeclarations/> <BoundingBox> <Center x="1.5" y="0.0" z="0.9"/> <Dimensions width="2" length="2" height="2"/> </BoundingBox> <Properties> <Property name="type" value="simulation"/> </Properties> </Pedestrian> </ScenarioObject> <ScenarioObject name="pedestrian_close_to_hero_10335"> <Pedestrian model="walker.pedestrian.0001" mass="80" name="walker.pedestrian.0001" pedestrianCategory="pedestrian"> <ParameterDeclarations/> <BoundingBox> <Center x="1.5" y="0.0" z="0.9"/> <Dimensions width="2" length="2" height="2"/> </BoundingBox> <Properties> <Property name="type" value="simulation"/> </Properties> </Pedestrian> </ScenarioObject> <ScenarioObject name="pedestrian_w_transform_10336"> <Pedestrian model="walker.pedestrian.0001" mass="80" name="walker.pedestrian.0001" pedestrianCategory="pedestrian"> <ParameterDeclarations/> <BoundingBox> <Center x="1.5" y="0.0" z="0.9"/> <Dimensions width="2" length="2" height="2"/> </BoundingBox> <Properties> <Property name="type" value="simulation"/> </Properties> </Pedestrian> </ScenarioObject> <ScenarioObject name="pedestrian_w_transform_10338"> <Pedestrian model="walker.pedestrian.0001" mass="80" name="walker.pedestrian.0001" pedestrianCategory="pedestrian"> <ParameterDeclarations/> <BoundingBox> <Center x="1.5" y="0.0" z="0.9"/> <Dimensions width="2" length="2" height="2"/> </BoundingBox> <Properties> <Property name="type" value="simulation"/> </Properties> </Pedestrian> </ScenarioObject> <ScenarioObject name="pedestrian_close_to_adversary_10339"> <Pedestrian model="walker.pedestrian.0001" mass="80" name="walker.pedestrian.0001" pedestrianCategory="pedestrian"> <ParameterDeclarations/> <BoundingBox> <Center x="1.5" y="0.0" z="0.9"/> <Dimensions width="2" length="2" height="2"/> </BoundingBox> <Properties> <Property name="type" value="simulation"/> </Properties> </Pedestrian> </ScenarioObject> <ScenarioObject name="pedestrian_close_to_hero_10340"> <Pedestrian model="walker.pedestrian.0001" mass="80" name="walker.pedestrian.0001" pedestrianCategory="pedestrian"> <ParameterDeclarations/> <BoundingBox> <Center x="1.5" y="0.0" z="0.9"/> <Dimensions width="2" length="2" height="2"/> </BoundingBox> <Properties> <Property name="type" value="simulation"/> </Properties> </Pedestrian> </ScenarioObject> <ScenarioObject name="pedestrian_w_transform_10341"> <Pedestrian model="walker.pedestrian.0001" mass="80" name="walker.pedestrian.0001" pedestrianCategory="pedestrian"> <ParameterDeclarations/> <BoundingBox> <Center x="1.5" y="0.0" z="0.9"/> <Dimensions width="2" length="2" height="2"/> </BoundingBox> <Properties> <Property name="type" value="simulation"/> </Properties> </Pedestrian> </ScenarioObject> <ScenarioObject name="pedestrian_close_to_standing_10342"> <Pedestrian model="walker.pedestrian.0001" mass="80" name="walker.pedestrian.0001" pedestrianCategory="pedestrian"> <ParameterDeclarations/> <BoundingBox> <Center x="1.5" y="0.0" z="0.9"/> <Dimensions width="2" length="2" height="2"/> </BoundingBox> <Properties> <Property name="type" value="simulation"/> </Properties> </Pedestrian> </ScenarioObject> <ScenarioObject name="pedestrian_w_transform_10343"> <Pedestrian model="walker.pedestrian.0001" mass="80" name="walker.pedestrian.0001" pedestrianCategory="pedestrian"> <ParameterDeclarations/> <BoundingBox> <Center x="1.5" y="0.0" z="0.9"/> <Dimensions width="2" length="2" height="2"/> </BoundingBox> <Properties> <Property name="type" value="simulation"/> </Properties> </Pedestrian> </ScenarioObject> <ScenarioObject name="pedestrian_close_to_hero_10344"> <Pedestrian model="walker.pedestrian.0001" mass="80" name="walker.pedestrian.0001" pedestrianCategory="pedestrian"> <ParameterDeclarations/> <BoundingBox> <Center x="1.5" y="0.0" z="0.9"/> <Dimensions width="2" length="2" height="2"/> </BoundingBox> <Properties> <Property name="type" value="simulation"/> </Properties> </Pedestrian> </ScenarioObject> <ScenarioObject name="pedestrian_close_to_adversary_10345"> <Pedestrian model="walker.pedestrian.0001" mass="80" name="walker.pedestrian.0001" pedestrianCategory="pedestrian"> <ParameterDeclarations/> <BoundingBox> <Center x="1.5" y="0.0" z="0.9"/> <Dimensions width="2" length="2" height="2"/> </BoundingBox> <Properties> <Property name="type" value="simulation"/> </Properties> </Pedestrian> </ScenarioObject> <ScenarioObject name="pedestrian_w_transform_10346"> <Pedestrian model="walker.pedestrian.0001" mass="80" name="walker.pedestrian.0001" pedestrianCategory="pedestrian"> <ParameterDeclarations/> <BoundingBox> <Center x="1.5" y="0.0" z="0.9"/> <Dimensions width="2" length="2" height="2"/> </BoundingBox> <Properties> <Property name="type" value="simulation"/> </Properties> </Pedestrian> </ScenarioObject> <ScenarioObject name="pedestrian_w_transform_10347"> <Pedestrian model="walker.pedestrian.0001" mass="80" name="walker.pedestrian.0001" pedestrianCategory="pedestrian"> <ParameterDeclarations/> <BoundingBox> <Center x="1.5" y="0.0" z="0.9"/> <Dimensions width="2" length="2" height="2"/> </BoundingBox> <Properties> <Property name="type" value="simulation"/> </Properties> </Pedestrian> </ScenarioObject> <ScenarioObject name="pedestrian_close_to_standing_10348"> <Pedestrian model="walker.pedestrian.0001" mass="80" name="walker.pedestrian.0001" pedestrianCategory="pedestrian"> <ParameterDeclarations/> <BoundingBox> <Center x="1.5" y="0.0" z="0.9"/> <Dimensions width="2" length="2" height="2"/> </BoundingBox> <Properties> <Property name="type" value="simulation"/> </Properties> </Pedestrian> </ScenarioObject> <ScenarioObject name="pedestrian_close_to_standing_10349"> <Pedestrian model="walker.pedestrian.0001" mass="80" name="walker.pedestrian.0001" pedestrianCategory="pedestrian"> <ParameterDeclarations/> <BoundingBox> <Center x="1.5" y="0.0" z="0.9"/> <Dimensions width="2" length="2" height="2"/> </BoundingBox> <Properties> <Property name="type" value="simulation"/> </Properties> </Pedestrian> </ScenarioObject> <ScenarioObject name="pedestrian_w_transform_10350"> <Pedestrian model="walker.pedestrian.0001" mass="80" name="walker.pedestrian.0001" pedestrianCategory="pedestrian"> <ParameterDeclarations/> <BoundingBox> <Center x="1.5" y="0.0" z="0.9"/> <Dimensions width="2" length="2" height="2"/> </BoundingBox> <Properties> <Property name="type" value="simulation"/> </Properties> </Pedestrian> </ScenarioObject> <ScenarioObject name="pedestrian_close_to_hero_10351"> <Pedestrian model="walker.pedestrian.0001" mass="80" name="walker.pedestrian.0001" pedestrianCategory="pedestrian"> <ParameterDeclarations/> <BoundingBox> <Center x="1.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_10328"> <PrivateAction> <TeleportAction> <Position> <WorldPosition x="-6.0924224853515625" y="-61.57547378540039" z="0.03377460315823555"/> </Position> </TeleportAction> </PrivateAction> </Private> <Private entityRef="pedestrian_close_to_adversary_10329"> <PrivateAction> <TeleportAction> <Position> <WorldPosition x="-2.9777941703796387" y="-62.758697509765625" z="0.033800240606069565"/> </Position> </TeleportAction> </PrivateAction> </Private> <Private entityRef="pedestrian_close_to_standing_10330"> <PrivateAction> <TeleportAction> <Position> <WorldPosition x="-4.730651378631592" y="29.436582565307617" z="0.0030422592535614967"/> </Position> </TeleportAction> </PrivateAction> </Private> <Private entityRef="pedestrian_close_to_hero_10331"> <PrivateAction> <TeleportAction> <Position> <WorldPosition x="-9.414280891418457" y="-147.6624298095703" z="0.0016471862327307463"/> </Position> </TeleportAction> </PrivateAction> </Private> <Private entityRef="pedestrian_w_transform_10332"> <PrivateAction> <TeleportAction> <Position> <WorldPosition x="60.14600372314453" y="35.57132339477539" z="0.5"/> </Position> </TeleportAction> </PrivateAction> </Private> <Private entityRef="pedestrian_w_transform_10333"> <PrivateAction> <TeleportAction> <Position> <WorldPosition x="85.7730941772461" y="-5.916182041168213" z="0.5"/> </Position> </TeleportAction> </PrivateAction> </Private> <Private entityRef="pedestrian_close_to_adversary_10334"> <PrivateAction> <TeleportAction> <Position> <WorldPosition x="-3.881204128265381" y="-71.8355484008789" z="0.03373965993523598"/> </Position> </TeleportAction> </PrivateAction> </Private> <Private entityRef="pedestrian_close_to_hero_10335"> <PrivateAction> <TeleportAction> <Position> <WorldPosition x="-10.45672607421875" y="-146.9555206298828" z="0.0016471862327307463"/> </Position> </TeleportAction> </PrivateAction> </Private> <Private entityRef="pedestrian_w_transform_10336"> <PrivateAction> <TeleportAction> <Position> <WorldPosition x="8.171077728271484" y="38.653892517089844" z="0.5"/> </Position> </TeleportAction> </PrivateAction> </Private> <Private entityRef="pedestrian_w_transform_10338"> <PrivateAction> <TeleportAction> <Position> <WorldPosition x="57.341129302978516" y="17.579557418823242" z="0.5"/> </Position> </TeleportAction> </PrivateAction> </Private> <Private entityRef="pedestrian_close_to_adversary_10339"> <PrivateAction> <TeleportAction> <Position> <WorldPosition x="-3.317530870437622" y="-70.31808471679688" z="0.033729322254657745"/> </Position> </TeleportAction> </PrivateAction> </Private> <Private entityRef="pedestrian_close_to_hero_10340"> <PrivateAction> <TeleportAction> <Position> <WorldPosition x="-6.34099817276001" y="-153.37362670898438" z="0.0016471862327307463"/> </Position> </TeleportAction> </PrivateAction> </Private> <Private entityRef="pedestrian_w_transform_10341"> <PrivateAction> <TeleportAction> <Position> <WorldPosition x="-43.927024841308594" y="-28.43654441833496" z="0.5"/> </Position> </TeleportAction> </PrivateAction> </Private> <Private entityRef="pedestrian_close_to_standing_10342"> <PrivateAction> <TeleportAction> <Position> <WorldPosition x="-8.98878002166748" y="38.1312370300293" z="0.0030442809220403433"/> </Position> </TeleportAction> </PrivateAction> </Private> <Private entityRef="pedestrian_w_transform_10343"> <PrivateAction> <TeleportAction> <Position> <WorldPosition x="67.86630249023438" y="30.371444702148438" z="0.5"/> </Position> </TeleportAction> </PrivateAction> </Private> <Private entityRef="pedestrian_close_to_hero_10344"> <PrivateAction> <TeleportAction> <Position> <WorldPosition x="-14.120362281799316" y="-156.22352600097656" z="0.0016471862327307463"/> </Position> </TeleportAction> </PrivateAction> </Private> <Private entityRef="pedestrian_close_to_adversary_10345"> <PrivateAction> <TeleportAction> <Position> <WorldPosition x="0.32485610246658325" y="-62.998043060302734" z="0.03375019133090973"/> </Position> </TeleportAction> </PrivateAction> </Private> <Private entityRef="pedestrian_w_transform_10346"> <PrivateAction> <TeleportAction> <Position> <WorldPosition x="47.720455169677734" y="85.3385009765625" z="0.5"/> </Position> </TeleportAction> </PrivateAction> </Private> <Private entityRef="pedestrian_w_transform_10347"> <PrivateAction> <TeleportAction> <Position> <WorldPosition x="79.73493957519531" y="-87.30609893798828" z="0.5"/> </Position> </TeleportAction> </PrivateAction> </Private> <Private entityRef="pedestrian_close_to_standing_10348"> <PrivateAction> <TeleportAction> <Position> <WorldPosition x="-5.4730939865112305" y="30.484477996826172" z="0.0030109023209661245"/> </Position> </TeleportAction> </PrivateAction> </Private> <Private entityRef="pedestrian_close_to_standing_10349"> <PrivateAction> <TeleportAction> <Position> <WorldPosition x="-8.088390350341797" y="23.427793502807617" z="0.0030010223854333162"/> </Position> </TeleportAction> </PrivateAction> </Private> <Private entityRef="pedestrian_w_transform_10350"> <PrivateAction> <TeleportAction> <Position> <WorldPosition x="-22.883758544921875" y="64.09622192382812" z="0.5"/> </Position> </TeleportAction> </PrivateAction> </Private> <Private entityRef="pedestrian_close_to_hero_10351"> <PrivateAction> <TeleportAction> <Position> <WorldPosition x="-3.525383710861206" y="-161.6085968017578" z="0.0016471862327307463"/> </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_10328"> <Pedestrian model="walker.pedestrian.0001" mass="80" name="walker.pedestrian.0001" pedestrianCategory="pedestrian"> <ParameterDeclarations/> <BoundingBox> <Center x="1.5" y="0.0" z="0.9"/> <Dimensions width="2" length="2" height="2"/> </BoundingBox> <Properties> <Property name="type" value="simulation"/> </Properties> </Pedestrian> </ScenarioObject> <ScenarioObject name="pedestrian_close_to_adversary_10329"> <Pedestrian model="walker.pedestrian.0001" mass="80" name="walker.pedestrian.0001" pedestrianCategory="pedestrian"> <ParameterDeclarations/> <BoundingBox> <Center x="1.5" y="0.0" z="0.9"/> <Dimensions width="2" length="2" height="2"/> </BoundingBox> <Properties> <Property name="type" value="simulation"/> </Properties> </Pedestrian> </ScenarioObject> <ScenarioObject name="pedestrian_close_to_standing_10330"> <Pedestrian model="walker.pedestrian.0001" mass="80" name="walker.pedestrian.0001" pedestrianCategory="pedestrian"> <ParameterDeclarations/> <BoundingBox> <Center x="1.5" y="0.0" z="0.9"/> <Dimensions width="2" length="2" height="2"/> </BoundingBox> <Properties> <Property name="type" value="simulation"/> </Properties> </Pedestrian> </ScenarioObject> <ScenarioObject name="pedestrian_close_to_hero_10331"> <Pedestrian model="walker.pedestrian.0001" mass="80" name="walker.pedestrian.0001" pedestrianCategory="pedestrian"> <ParameterDeclarations/> <BoundingBox> <Center x="1.5" y="0.0" z="0.9"/> <Dimensions width="2" length="2" height="2"/> </BoundingBox> <Properties> <Property name="type" value="simulation"/> </Properties> </Pedestrian> </ScenarioObject> <ScenarioObject name="pedestrian_w_transform_10333"> <Pedestrian model="walker.pedestrian.0001" mass="80" name="walker.pedestrian.0001" pedestrianCategory="pedestrian"> <ParameterDeclarations/> <BoundingBox> <Center x="1.5" y="0.0" z="0.9"/> <Dimensions width="2" length="2" height="2"/> </BoundingBox> <Properties> <Property name="type" value="simulation"/> </Properties> </Pedestrian> </ScenarioObject> <ScenarioObject name="pedestrian_close_to_adversary_10334"> <Pedestrian model="walker.pedestrian.0001" mass="80" name="walker.pedestrian.0001" pedestrianCategory="pedestrian"> <ParameterDeclarations/> <BoundingBox> <Center x="1.5" y="0.0" z="0.9"/> <Dimensions width="2" length="2" height="2"/> </BoundingBox> <Properties> <Property name="type" value="simulation"/> </Properties> </Pedestrian> </ScenarioObject> <ScenarioObject name="pedestrian_close_to_hero_10335"> <Pedestrian model="walker.pedestrian.0001" mass="80" name="walker.pedestrian.0001" pedestrianCategory="pedestrian"> <ParameterDeclarations/> <BoundingBox> <Center x="1.5" y="0.0" z="0.9"/> <Dimensions width="2" length="2" height="2"/> </BoundingBox> <Properties> <Property name="type" value="simulation"/> </Properties> </Pedestrian> </ScenarioObject> <ScenarioObject name="pedestrian_w_transform_10336"> <Pedestrian model="walker.pedestrian.0001" mass="80" name="walker.pedestrian.0001" pedestrianCategory="pedestrian"> <ParameterDeclarations/> <BoundingBox> <Center x="1.5" y="0.0" z="0.9"/> <Dimensions width="2" length="2" height="2"/> </BoundingBox> <Properties> <Property name="type" value="simulation"/> </Properties> </Pedestrian> </ScenarioObject> <ScenarioObject name="pedestrian_w_transform_10338"> <Pedestrian model="walker.pedestrian.0001" mass="80" name="walker.pedestrian.0001" pedestrianCategory="pedestrian"> <ParameterDeclarations/> <BoundingBox> <Center x="1.5" y="0.0" z="0.9"/> <Dimensions width="2" length="2" height="2"/> </BoundingBox> <Properties> <Property name="type" value="simulation"/> </Properties> </Pedestrian> </ScenarioObject> <ScenarioObject name="pedestrian_close_to_adversary_10339"> <Pedestrian model="walker.pedestrian.0001" mass="80" name="walker.pedestrian.0001" pedestrianCategory="pedestrian"> <ParameterDeclarations/> <BoundingBox> <Center x="1.5" y="0.0" z="0.9"/> <Dimensions width="2" length="2" height="2"/> </BoundingBox> <Properties> <Property name="type" value="simulation"/> </Properties> </Pedestrian> </ScenarioObject> <ScenarioObject name="pedestrian_close_to_hero_10340"> <Pedestrian model="walker.pedestrian.0001" mass="80" name="walker.pedestrian.0001" pedestrianCategory="pedestrian"> <ParameterDeclarations/> <BoundingBox> <Center x="1.5" y="0.0" z="0.9"/> <Dimensions width="2" length="2" height="2"/> </BoundingBox> <Properties> <Property name="type" value="simulation"/> </Properties> </Pedestrian> </ScenarioObject> <ScenarioObject name="pedestrian_w_transform_10341"> <Pedestrian model="walker.pedestrian.0001" mass="80" name="walker.pedestrian.0001" pedestrianCategory="pedestrian"> <ParameterDeclarations/> <BoundingBox> <Center x="1.5" y="0.0" z="0.9"/> <Dimensions width="2" length="2" height="2"/> </BoundingBox> <Properties> <Property name="type" value="simulation"/> </Properties> </Pedestrian> </ScenarioObject> <ScenarioObject name="pedestrian_close_to_standing_10342"> <Pedestrian model="walker.pedestrian.0001" mass="80" name="walker.pedestrian.0001" pedestrianCategory="pedestrian"> <ParameterDeclarations/> <BoundingBox> <Center x="1.5" y="0.0" z="0.9"/> <Dimensions width="2" length="2" height="2"/> </BoundingBox> <Properties> <Property name="type" value="simulation"/> </Properties> </Pedestrian> </ScenarioObject> <ScenarioObject name="pedestrian_w_transform_10343"> <Pedestrian model="walker.pedestrian.0001" mass="80" name="walker.pedestrian.0001" pedestrianCategory="pedestrian"> <ParameterDeclarations/> <BoundingBox> <Center x="1.5" y="0.0" z="0.9"/> <Dimensions width="2" length="2" height="2"/> </BoundingBox> <Properties> <Property name="type" value="simulation"/> </Properties> </Pedestrian> </ScenarioObject> <ScenarioObject name="pedestrian_close_to_hero_10344"> <Pedestrian model="walker.pedestrian.0001" mass="80" name="walker.pedestrian.0001" pedestrianCategory="pedestrian"> <ParameterDeclarations/> <BoundingBox> <Center x="1.5" y="0.0" z="0.9"/> <Dimensions width="2" length="2" height="2"/> </BoundingBox> <Properties> <Property name="type" value="simulation"/> </Properties> </Pedestrian> </ScenarioObject> <ScenarioObject name="pedestrian_close_to_adversary_10345"> <Pedestrian model="walker.pedestrian.0001" mass="80" name="walker.pedestrian.0001" pedestrianCategory="pedestrian"> <ParameterDeclarations/> <BoundingBox> <Center x="1.5" y="0.0" z="0.9"/> <Dimensions width="2" length="2" height="2"/> </BoundingBox> <Properties> <Property name="type" value="simulation"/> </Properties> </Pedestrian> </ScenarioObject> <ScenarioObject name="pedestrian_w_transform_10346"> <Pedestrian model="walker.pedestrian.0001" mass="80" name="walker.pedestrian.0001" pedestrianCategory="pedestrian"> <ParameterDeclarations/> <BoundingBox> <Center x="1.5" y="0.0" z="0.9"/> <Dimensions width="2" length="2" height="2"/> </BoundingBox> <Properties> <Property name="type" value="simulation"/> </Properties> </Pedestrian> </ScenarioObject> <ScenarioObject name="pedestrian_w_transform_10347"> <Pedestrian model="walker.pedestrian.0001" mass="80" name="walker.pedestrian.0001" pedestrianCategory="pedestrian"> <ParameterDeclarations/> <BoundingBox> <Center x="1.5" y="0.0" z="0.9"/> <Dimensions width="2" length="2" height="2"/> </BoundingBox> <Properties> <Property name="type" value="simulation"/> </Properties> </Pedestrian> </ScenarioObject> <ScenarioObject name="pedestrian_close_to_standing_10348"> <Pedestrian model="walker.pedestrian.0001" mass="80" name="walker.pedestrian.0001" pedestrianCategory="pedestrian"> <ParameterDeclarations/> <BoundingBox> <Center x="1.5" y="0.0" z="0.9"/> <Dimensions width="2" length="2" height="2"/> </BoundingBox> <Properties> <Property name="type" value="simulation"/> </Properties> </Pedestrian> </ScenarioObject> <ScenarioObject name="pedestrian_close_to_standing_10349"> <Pedestrian model="walker.pedestrian.0001" mass="80" name="walker.pedestrian.0001" pedestrianCategory="pedestrian"> <ParameterDeclarations/> <BoundingBox> <Center x="1.5" y="0.0" z="0.9"/> <Dimensions width="2" length="2" height="2"/> </BoundingBox> <Properties> <Property name="type" value="simulation"/> </Properties> </Pedestrian> </ScenarioObject> <ScenarioObject name="pedestrian_w_transform_10350"> <Pedestrian model="walker.pedestrian.0001" mass="80" name="walker.pedestrian.0001" pedestrianCategory="pedestrian"> <ParameterDeclarations/> <BoundingBox> <Center x="1.5" y="0.0" z="0.9"/> <Dimensions width="2" length="2" height="2"/> </BoundingBox> <Properties> <Property name="type" value="simulation"/> </Properties> </Pedestrian> </ScenarioObject> <ScenarioObject name="pedestrian_close_to_hero_10351"> <Pedestrian model="walker.pedestrian.0001" mass="80" name="walker.pedestrian.0001" pedestrianCategory="pedestrian"> <ParameterDeclarations/> <BoundingBox> <Center x="1.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_10328"> <PrivateAction> <TeleportAction> <Position> <WorldPosition x="-6.0924224853515625" y="-61.57547378540039" z="0.03377460315823555"/> </Position> </TeleportAction> </PrivateAction> </Private> <Private entityRef="pedestrian_close_to_adversary_10329"> <PrivateAction> <TeleportAction> <Position> <WorldPosition x="-2.9777941703796387" y="-62.758697509765625" z="0.033800240606069565"/> </Position> </TeleportAction> </PrivateAction> </Private> <Private entityRef="pedestrian_close_to_standing_10330"> <PrivateAction> <TeleportAction> <Position> <WorldPosition x="-4.730651378631592" y="29.436582565307617" z="0.0030422592535614967"/> </Position> </TeleportAction> </PrivateAction> </Private> <Private entityRef="pedestrian_close_to_hero_10331"> <PrivateAction> <TeleportAction> <Position> <WorldPosition x="-9.414280891418457" y="-147.6624298095703" z="0.0016471862327307463"/> </Position> </TeleportAction> </PrivateAction> </Private> <Private entityRef="pedestrian_w_transform_10333"> <PrivateAction> <TeleportAction> <Position> <WorldPosition x="85.7730941772461" y="-5.916182041168213" z="0.5"/> </Position> </TeleportAction> </PrivateAction> </Private> <Private entityRef="pedestrian_close_to_adversary_10334"> <PrivateAction> <TeleportAction> <Position> <WorldPosition x="-3.881204128265381" y="-71.8355484008789" z="0.03373965993523598"/> </Position> </TeleportAction> </PrivateAction> </Private> <Private entityRef="pedestrian_close_to_hero_10335"> <PrivateAction> <TeleportAction> <Position> <WorldPosition x="-10.45672607421875" y="-146.9555206298828" z="0.0016471862327307463"/> </Position> </TeleportAction> </PrivateAction> </Private> <Private entityRef="pedestrian_w_transform_10336"> <PrivateAction> <TeleportAction> <Position> <WorldPosition x="8.171077728271484" y="38.653892517089844" z="0.5"/> </Position> </TeleportAction> </PrivateAction> </Private> <Private entityRef="pedestrian_w_transform_10338"> <PrivateAction> <TeleportAction> <Position> <WorldPosition x="57.341129302978516" y="17.579557418823242" z="0.5"/> </Position> </TeleportAction> </PrivateAction> </Private> <Private entityRef="pedestrian_close_to_adversary_10339"> <PrivateAction> <TeleportAction> <Position> <WorldPosition x="-3.317530870437622" y="-70.31808471679688" z="0.033729322254657745"/> </Position> </TeleportAction> </PrivateAction> </Private> <Private entityRef="pedestrian_close_to_hero_10340"> <PrivateAction> <TeleportAction> <Position> <WorldPosition x="-6.34099817276001" y="-153.37362670898438" z="0.0016471862327307463"/> </Position> </TeleportAction> </PrivateAction> </Private> <Private entityRef="pedestrian_w_transform_10341"> <PrivateAction> <TeleportAction> <Position> <WorldPosition x="-43.927024841308594" y="-28.43654441833496" z="0.5"/> </Position> </TeleportAction> </PrivateAction> </Private> <Private entityRef="pedestrian_close_to_standing_10342"> <PrivateAction> <TeleportAction> <Position> <WorldPosition x="-8.98878002166748" y="38.1312370300293" z="0.0030442809220403433"/> </Position> </TeleportAction> </PrivateAction> </Private> <Private entityRef="pedestrian_w_transform_10343"> <PrivateAction> <TeleportAction> <Position> <WorldPosition x="67.86630249023438" y="30.371444702148438" z="0.5"/> </Position> </TeleportAction> </PrivateAction> </Private> <Private entityRef="pedestrian_close_to_hero_10344"> <PrivateAction> <TeleportAction> <Position> <WorldPosition x="-14.120362281799316" y="-156.22352600097656" z="0.0016471862327307463"/> </Position> </TeleportAction> </PrivateAction> </Private> <Private entityRef="pedestrian_close_to_adversary_10345"> <PrivateAction> <TeleportAction> <Position> <WorldPosition x="0.32485610246658325" y="-62.998043060302734" z="0.03375019133090973"/> </Position> </TeleportAction> </PrivateAction> </Private> <Private entityRef="pedestrian_w_transform_10346"> <PrivateAction> <TeleportAction> <Position> <WorldPosition x="47.720455169677734" y="85.3385009765625" z="0.5"/> </Position> </TeleportAction> </PrivateAction> </Private> <Private entityRef="pedestrian_w_transform_10347"> <PrivateAction> <TeleportAction> <Position> <WorldPosition x="79.73493957519531" y="-87.30609893798828" z="0.5"/> </Position> </TeleportAction> </PrivateAction> </Private> <Private entityRef="pedestrian_close_to_standing_10348"> <PrivateAction> <TeleportAction> <Position> <WorldPosition x="-5.4730939865112305" y="30.484477996826172" z="0.0030109023209661245"/> </Position> </TeleportAction> </PrivateAction> </Private> <Private entityRef="pedestrian_close_to_standing_10349"> <PrivateAction> <TeleportAction> <Position> <WorldPosition x="-8.088390350341797" y="23.427793502807617" z="0.0030010223854333162"/> </Position> </TeleportAction> </PrivateAction> </Private> <Private entityRef="pedestrian_w_transform_10350"> <PrivateAction> <TeleportAction> <Position> <WorldPosition x="-22.883758544921875" y="64.09622192382812" z="0.5"/> </Position> </TeleportAction> </PrivateAction> </Private> <Private entityRef="pedestrian_close_to_hero_10351"> <PrivateAction> <TeleportAction> <Position> <WorldPosition x="-3.525383710861206" y="-161.6085968017578" z="0.0016471862327307463"/> </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 (-27.49, -0.26, 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_29884"> <Pedestrian model="walker.pedestrian.0001" mass="80" name="walker.pedestrian.0001" pedestrianCategory="pedestrian"> <ParameterDeclarations/> <BoundingBox> <Center x="1.5" y="0.0" z="0.9"/> <Dimensions width="2" length="2" height="2"/> </BoundingBox> <Properties> <Property name="type" value="simulation"/> </Properties> </Pedestrian> </ScenarioObject> <ScenarioObject name="pedestrian_close_to_hero_29885"> <Pedestrian model="walker.pedestrian.0001" mass="80" name="walker.pedestrian.0001" pedestrianCategory="pedestrian"> <ParameterDeclarations/> <BoundingBox> <Center x="1.5" y="0.0" z="0.9"/> <Dimensions width="2" length="2" height="2"/> </BoundingBox> <Properties> <Property name="type" value="simulation"/> </Properties> </Pedestrian> </ScenarioObject> <ScenarioObject name="pedestrian_close_to_hero_29886"> <Pedestrian model="walker.pedestrian.0001" mass="80" name="walker.pedestrian.0001" pedestrianCategory="pedestrian"> <ParameterDeclarations/> <BoundingBox> <Center x="1.5" y="0.0" z="0.9"/> <Dimensions width="2" length="2" height="2"/> </BoundingBox> <Properties> <Property name="type" value="simulation"/> </Properties> </Pedestrian> </ScenarioObject> <ScenarioObject name="pedestrian_w_transform_29887"> <Pedestrian model="walker.pedestrian.0001" mass="80" name="walker.pedestrian.0001" pedestrianCategory="pedestrian"> <ParameterDeclarations/> <BoundingBox> <Center x="1.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_29884"> <PrivateAction> <TeleportAction> <Position> <WorldPosition x="-6.108643054962158" y="-75.8189926147461" z="0.033780213445425034"/> </Position> </TeleportAction> </PrivateAction> </Private> <Private entityRef="pedestrian_close_to_hero_29885"> <PrivateAction> <TeleportAction> <Position> <WorldPosition x="-11.893619537353516" y="-152.61851501464844" z="0.0014652633108198643"/> </Position> </TeleportAction> </PrivateAction> </Private> <Private entityRef="pedestrian_close_to_hero_29886"> <PrivateAction> <TeleportAction> <Position> <WorldPosition x="-10.666210174560547" y="-152.41278076171875" z="0.0014652633108198643"/> </Position> </TeleportAction> </PrivateAction> </Private> <Private entityRef="pedestrian_w_transform_29887"> <PrivateAction> <TeleportAction> <Position> <WorldPosition x="-86.85194396972656" y="-61.665611267089844" 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_29884"> <Pedestrian model="walker.pedestrian.0001" mass="80" name="walker.pedestrian.0001" pedestrianCategory="pedestrian"> <ParameterDeclarations/> <BoundingBox> <Center x="1.5" y="0.0" z="0.9"/> <Dimensions width="2" length="2" height="2"/> </BoundingBox> <Properties> <Property name="type" value="simulation"/> </Properties> </Pedestrian> </ScenarioObject> <ScenarioObject name="pedestrian_close_to_hero_29885"> <Pedestrian model="walker.pedestrian.0001" mass="80" name="walker.pedestrian.0001" pedestrianCategory="pedestrian"> <ParameterDeclarations/> <BoundingBox> <Center x="1.5" y="0.0" z="0.9"/> <Dimensions width="2" length="2" height="2"/> </BoundingBox> <Properties> <Property name="type" value="simulation"/> </Properties> </Pedestrian> </ScenarioObject> <ScenarioObject name="pedestrian_close_to_hero_29886"> <Pedestrian model="walker.pedestrian.0001" mass="80" name="walker.pedestrian.0001" pedestrianCategory="pedestrian"> <ParameterDeclarations/> <BoundingBox> <Center x="1.5" y="0.0" z="0.9"/> <Dimensions width="2" length="2" height="2"/> </BoundingBox> <Properties> <Property name="type" value="simulation"/> </Properties> </Pedestrian> </ScenarioObject> <ScenarioObject name="pedestrian_w_transform_29887"> <Pedestrian model="walker.pedestrian.0001" mass="80" name="walker.pedestrian.0001" pedestrianCategory="pedestrian"> <ParameterDeclarations/> <BoundingBox> <Center x="1.5" y="0.0" z="0.9"/> <Dimensions width="2" length="2" height="2"/> </BoundingBox> <Properties> <Property name="type" value="simulation"/> </Properties> </Pedestrian> </ScenarioObject> <ScenarioObject name="pedestrian_w_transform_29888"> <Pedestrian model="walker.pedestrian.0001" mass="80" name="walker.pedestrian.0001" pedestrianCategory="pedestrian"> <ParameterDeclarations/> <BoundingBox> <Center x="1.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_29884"> <PrivateAction> <TeleportAction> <Position> <WorldPosition x="-6.108643054962158" y="-75.8189926147461" z="0.033780213445425034"/> </Position> </TeleportAction> </PrivateAction> </Private> <Private entityRef="pedestrian_close_to_hero_29885"> <PrivateAction> <TeleportAction> <Position> <WorldPosition x="-11.893619537353516" y="-152.61851501464844" z="0.0014652633108198643"/> </Position> </TeleportAction> </PrivateAction> </Private> <Private entityRef="pedestrian_close_to_hero_29886"> <PrivateAction> <TeleportAction> <Position> <WorldPosition x="-10.666210174560547" y="-152.41278076171875" z="0.0014652633108198643"/> </Position> </TeleportAction> </PrivateAction> </Private> <Private entityRef="pedestrian_w_transform_29887"> <PrivateAction> <TeleportAction> <Position> <WorldPosition x="-86.85194396972656" y="-61.665611267089844" z="0.5"/> </Position> </TeleportAction> </PrivateAction> </Private> <Private entityRef="pedestrian_w_transform_29888"> <PrivateAction> <TeleportAction> <Position> <WorldPosition x="-27.48902702331543" y="-0.2554059624671936" 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 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_16496"> <Pedestrian model="walker.pedestrian.0001" mass="80" name="walker.pedestrian.0001" pedestrianCategory="pedestrian"> <ParameterDeclarations/> <BoundingBox> <Center x="1.5" y="0.0" z="0.9"/> <Dimensions width="2" length="2" height="2"/> </BoundingBox> <Properties> <Property name="type" value="simulation"/> </Properties> </Pedestrian> </ScenarioObject> <ScenarioObject name="pedestrian_close_to_hero_16497"> <Pedestrian model="walker.pedestrian.0001" mass="80" name="walker.pedestrian.0001" pedestrianCategory="pedestrian"> <ParameterDeclarations/> <BoundingBox> <Center x="1.5" y="0.0" z="0.9"/> <Dimensions width="2" length="2" height="2"/> </BoundingBox> <Properties> <Property name="type" value="simulation"/> </Properties> </Pedestrian> </ScenarioObject> <ScenarioObject name="pedestrian_w_transform_16498"> <Pedestrian model="walker.pedestrian.0001" mass="80" name="walker.pedestrian.0001" pedestrianCategory="pedestrian"> <ParameterDeclarations/> <BoundingBox> <Center x="1.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_16496"> <PrivateAction> <TeleportAction> <Position> <WorldPosition x="-11.94699764251709" y="-80.53248596191406" z="0.03381664305925369"/> </Position> </TeleportAction> </PrivateAction> </Private> <Private entityRef="pedestrian_close_to_hero_16497"> <PrivateAction> <TeleportAction> <Position> <WorldPosition x="-17.04330062866211" y="-151.39085388183594" z="0.0015143966302275658"/> </Position> </TeleportAction> </PrivateAction> </Private> <Private entityRef="pedestrian_w_transform_16498"> <PrivateAction> <TeleportAction> <Position> <WorldPosition x="95.31978607177734" y="14.463326454162598" 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_16496"> <Pedestrian model="walker.pedestrian.0001" mass="80" name="walker.pedestrian.0001" pedestrianCategory="pedestrian"> <ParameterDeclarations/> <BoundingBox> <Center x="1.5" y="0.0" z="0.9"/> <Dimensions width="2" length="2" height="2"/> </BoundingBox> <Properties> <Property name="type" value="simulation"/> </Properties> </Pedestrian> </ScenarioObject> <ScenarioObject name="pedestrian_close_to_hero_16497"> <Pedestrian model="walker.pedestrian.0001" mass="80" name="walker.pedestrian.0001" pedestrianCategory="pedestrian"> <ParameterDeclarations/> <BoundingBox> <Center x="1.5" y="0.0" z="0.9"/> <Dimensions width="2" length="2" height="2"/> </BoundingBox> <Properties> <Property name="type" value="simulation"/> </Properties> </Pedestrian> </ScenarioObject> <ScenarioObject name="pedestrian_w_transform_16498"> <Pedestrian model="walker.pedestrian.0001" mass="80" name="walker.pedestrian.0001" pedestrianCategory="pedestrian"> <ParameterDeclarations/> <BoundingBox> <Center x="1.5" y="0.0" z="0.9"/> <Dimensions width="2" length="2" height="2"/> </BoundingBox> <Properties> <Property name="type" value="simulation"/> </Properties> </Pedestrian> </ScenarioObject> <ScenarioObject name="pedestrian_close_to_hero_16499"> <Pedestrian model="walker.pedestrian.0001" mass="80" name="walker.pedestrian.0001" pedestrianCategory="pedestrian"> <ParameterDeclarations/> <BoundingBox> <Center x="1.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_16496"> <PrivateAction> <TeleportAction> <Position> <WorldPosition x="-11.94699764251709" y="-80.53248596191406" z="0.03381664305925369"/> </Position> </TeleportAction> </PrivateAction> </Private> <Private entityRef="pedestrian_close_to_hero_16497"> <PrivateAction> <TeleportAction> <Position> <WorldPosition x="-17.04330062866211" y="-151.39085388183594" z="0.0015143966302275658"/> </Position> </TeleportAction> </PrivateAction> </Private> <Private entityRef="pedestrian_w_transform_16498"> <PrivateAction> <TeleportAction> <Position> <WorldPosition x="95.31978607177734" y="14.463326454162598" z="0.5"/> </Position> </TeleportAction> </PrivateAction> </Private> <Private entityRef="pedestrian_close_to_hero_16499"> <PrivateAction> <TeleportAction> <Position> <WorldPosition x="-17.36948585510254" y="-149.02598571777344" z="0.0015143966302275658"/> </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 (79.14, -27.3, 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_26254"> <Pedestrian model="walker.pedestrian.0001" mass="80" name="walker.pedestrian.0001" pedestrianCategory="pedestrian"> <ParameterDeclarations/> <BoundingBox> <Center x="1.5" y="0.0" z="0.9"/> <Dimensions width="2" length="2" height="2"/> </BoundingBox> <Properties> <Property name="type" value="simulation"/> </Properties> </Pedestrian> </ScenarioObject> <ScenarioObject name="pedestrian_close_to_adversary_26255"> <Pedestrian model="walker.pedestrian.0001" mass="80" name="walker.pedestrian.0001" pedestrianCategory="pedestrian"> <ParameterDeclarations/> <BoundingBox> <Center x="1.5" y="0.0" z="0.9"/> <Dimensions width="2" length="2" height="2"/> </BoundingBox> <Properties> <Property name="type" value="simulation"/> </Properties> </Pedestrian> </ScenarioObject> <ScenarioObject name="pedestrian_w_transform_26257"> <Pedestrian model="walker.pedestrian.0001" mass="80" name="walker.pedestrian.0001" pedestrianCategory="pedestrian"> <ParameterDeclarations/> <BoundingBox> <Center x="1.5" y="0.0" z="0.9"/> <Dimensions width="2" length="2" height="2"/> </BoundingBox> <Properties> <Property name="type" value="simulation"/> </Properties> </Pedestrian> </ScenarioObject> <ScenarioObject name="pedestrian_close_to_hero_26258"> <Pedestrian model="walker.pedestrian.0001" mass="80" name="walker.pedestrian.0001" pedestrianCategory="pedestrian"> <ParameterDeclarations/> <BoundingBox> <Center x="1.5" y="0.0" z="0.9"/> <Dimensions width="2" length="2" height="2"/> </BoundingBox> <Properties> <Property name="type" value="simulation"/> </Properties> </Pedestrian> </ScenarioObject> <ScenarioObject name="pedestrian_w_transform_26260"> <Pedestrian model="walker.pedestrian.0001" mass="80" name="walker.pedestrian.0001" pedestrianCategory="pedestrian"> <ParameterDeclarations/> <BoundingBox> <Center x="1.5" y="0.0" z="0.9"/> <Dimensions width="2" length="2" height="2"/> </BoundingBox> <Properties> <Property name="type" value="simulation"/> </Properties> </Pedestrian> </ScenarioObject> <ScenarioObject name="pedestrian_w_transform_26261"> <Pedestrian model="walker.pedestrian.0001" mass="80" name="walker.pedestrian.0001" pedestrianCategory="pedestrian"> <ParameterDeclarations/> <BoundingBox> <Center x="1.5" y="0.0" z="0.9"/> <Dimensions width="2" length="2" height="2"/> </BoundingBox> <Properties> <Property name="type" value="simulation"/> </Properties> </Pedestrian> </ScenarioObject> <ScenarioObject name="pedestrian_w_transform_26262"> <Pedestrian model="walker.pedestrian.0001" mass="80" name="walker.pedestrian.0001" pedestrianCategory="pedestrian"> <ParameterDeclarations/> <BoundingBox> <Center x="1.5" y="0.0" z="0.9"/> <Dimensions width="2" length="2" height="2"/> </BoundingBox> <Properties> <Property name="type" value="simulation"/> </Properties> </Pedestrian> </ScenarioObject> <ScenarioObject name="pedestrian_close_to_hero_26263"> <Pedestrian model="walker.pedestrian.0001" mass="80" name="walker.pedestrian.0001" pedestrianCategory="pedestrian"> <ParameterDeclarations/> <BoundingBox> <Center x="1.5" y="0.0" z="0.9"/> <Dimensions width="2" length="2" height="2"/> </BoundingBox> <Properties> <Property name="type" value="simulation"/> </Properties> </Pedestrian> </ScenarioObject> <ScenarioObject name="pedestrian_close_to_hero_26264"> <Pedestrian model="walker.pedestrian.0001" mass="80" name="walker.pedestrian.0001" pedestrianCategory="pedestrian"> <ParameterDeclarations/> <BoundingBox> <Center x="1.5" y="0.0" z="0.9"/> <Dimensions width="2" length="2" height="2"/> </BoundingBox> <Properties> <Property name="type" value="simulation"/> </Properties> </Pedestrian> </ScenarioObject> <ScenarioObject name="pedestrian_close_to_standing_26265"> <Pedestrian model="walker.pedestrian.0001" mass="80" name="walker.pedestrian.0001" pedestrianCategory="pedestrian"> <ParameterDeclarations/> <BoundingBox> <Center x="1.5" y="0.0" z="0.9"/> <Dimensions width="2" length="2" height="2"/> </BoundingBox> <Properties> <Property name="type" value="simulation"/> </Properties> </Pedestrian> </ScenarioObject> <ScenarioObject name="pedestrian_close_to_adversary_26266"> <Pedestrian model="walker.pedestrian.0001" mass="80" name="walker.pedestrian.0001" pedestrianCategory="pedestrian"> <ParameterDeclarations/> <BoundingBox> <Center x="1.5" y="0.0" z="0.9"/> <Dimensions width="2" length="2" height="2"/> </BoundingBox> <Properties> <Property name="type" value="simulation"/> </Properties> </Pedestrian> </ScenarioObject> <ScenarioObject name="pedestrian_close_to_hero_26267"> <Pedestrian model="walker.pedestrian.0001" mass="80" name="walker.pedestrian.0001" pedestrianCategory="pedestrian"> <ParameterDeclarations/> <BoundingBox> <Center x="1.5" y="0.0" z="0.9"/> <Dimensions width="2" length="2" height="2"/> </BoundingBox> <Properties> <Property name="type" value="simulation"/> </Properties> </Pedestrian> </ScenarioObject> <ScenarioObject name="pedestrian_w_transform_26268"> <Pedestrian model="walker.pedestrian.0001" mass="80" name="walker.pedestrian.0001" pedestrianCategory="pedestrian"> <ParameterDeclarations/> <BoundingBox> <Center x="1.5" y="0.0" z="0.9"/> <Dimensions width="2" length="2" height="2"/> </BoundingBox> <Properties> <Property name="type" value="simulation"/> </Properties> </Pedestrian> </ScenarioObject> <ScenarioObject name="pedestrian_close_to_standing_26269"> <Pedestrian model="walker.pedestrian.0001" mass="80" name="walker.pedestrian.0001" pedestrianCategory="pedestrian"> <ParameterDeclarations/> <BoundingBox> <Center x="1.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_26254"> <PrivateAction> <TeleportAction> <Position> <WorldPosition x="-13.434038162231445" y="-159.41278076171875" z="0.0020974730141460896"/> </Position> </TeleportAction> </PrivateAction> </Private> <Private entityRef="pedestrian_close_to_adversary_26255"> <PrivateAction> <TeleportAction> <Position> <WorldPosition x="-8.973285675048828" y="-66.82566833496094" z="0.0338357537984848"/> </Position> </TeleportAction> </PrivateAction> </Private> <Private entityRef="pedestrian_w_transform_26257"> <PrivateAction> <TeleportAction> <Position> <WorldPosition x="-26.57366371154785" y="17.067922592163086" z="0.5"/> </Position> </TeleportAction> </PrivateAction> </Private> <Private entityRef="pedestrian_close_to_hero_26258"> <PrivateAction> <TeleportAction> <Position> <WorldPosition x="-14.947516441345215" y="-143.6193084716797" z="0.0020974730141460896"/> </Position> </TeleportAction> </PrivateAction> </Private> <Private entityRef="pedestrian_w_transform_26260"> <PrivateAction> <TeleportAction> <Position> <WorldPosition x="8.60564136505127" y="79.11310577392578" z="0.5"/> </Position> </TeleportAction> </PrivateAction> </Private> <Private entityRef="pedestrian_w_transform_26261"> <PrivateAction> <TeleportAction> <Position> <WorldPosition x="-55.39308547973633" y="-22.794065475463867" z="0.5"/> </Position> </TeleportAction> </PrivateAction> </Private> <Private entityRef="pedestrian_w_transform_26262"> <PrivateAction> <TeleportAction> <Position> <WorldPosition x="-76.97306823730469" y="-40.48244094848633" z="0.5"/> </Position> </TeleportAction> </PrivateAction> </Private> <Private entityRef="pedestrian_close_to_hero_26263"> <PrivateAction> <TeleportAction> <Position> <WorldPosition x="-6.623217582702637" y="-152.95120239257812" z="0.0020974730141460896"/> </Position> </TeleportAction> </PrivateAction> </Private> <Private entityRef="pedestrian_close_to_hero_26264"> <PrivateAction> <TeleportAction> <Position> <WorldPosition x="-3.379329204559326" y="-150.62701416015625" z="0.0020974730141460896"/> </Position> </TeleportAction> </PrivateAction> </Private> <Private entityRef="pedestrian_close_to_standing_26265"> <PrivateAction> <TeleportAction> <Position> <WorldPosition x="-7.984793663024902" y="33.10086441040039" z="0.003113975515589118"/> </Position> </TeleportAction> </PrivateAction> </Private> <Private entityRef="pedestrian_close_to_adversary_26266"> <PrivateAction> <TeleportAction> <Position> <WorldPosition x="-3.1644062995910645" y="-72.44246673583984" z="0.033767927438020706"/> </Position> </TeleportAction> </PrivateAction> </Private> <Private entityRef="pedestrian_close_to_hero_26267"> <PrivateAction> <TeleportAction> <Position> <WorldPosition x="-15.623113632202148" y="-138.98776245117188" z="0.0020974730141460896"/> </Position> </TeleportAction> </PrivateAction> </Private> <Private entityRef="pedestrian_w_transform_26268"> <PrivateAction> <TeleportAction> <Position> <WorldPosition x="88.66858673095703" y="-10.520304679870605" z="0.5"/> </Position> </TeleportAction> </PrivateAction> </Private> <Private entityRef="pedestrian_close_to_standing_26269"> <PrivateAction> <TeleportAction> <Position> <WorldPosition x="-12.744298934936523" y="28.936168670654297" z="0.0030908966436982155"/> </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_26254"> <Pedestrian model="walker.pedestrian.0001" mass="80" name="walker.pedestrian.0001" pedestrianCategory="pedestrian"> <ParameterDeclarations/> <BoundingBox> <Center x="1.5" y="0.0" z="0.9"/> <Dimensions width="2" length="2" height="2"/> </BoundingBox> <Properties> <Property name="type" value="simulation"/> </Properties> </Pedestrian> </ScenarioObject> <ScenarioObject name="pedestrian_close_to_adversary_26255"> <Pedestrian model="walker.pedestrian.0001" mass="80" name="walker.pedestrian.0001" pedestrianCategory="pedestrian"> <ParameterDeclarations/> <BoundingBox> <Center x="1.5" y="0.0" z="0.9"/> <Dimensions width="2" length="2" height="2"/> </BoundingBox> <Properties> <Property name="type" value="simulation"/> </Properties> </Pedestrian> </ScenarioObject> <ScenarioObject name="pedestrian_w_transform_26257"> <Pedestrian model="walker.pedestrian.0001" mass="80" name="walker.pedestrian.0001" pedestrianCategory="pedestrian"> <ParameterDeclarations/> <BoundingBox> <Center x="1.5" y="0.0" z="0.9"/> <Dimensions width="2" length="2" height="2"/> </BoundingBox> <Properties> <Property name="type" value="simulation"/> </Properties> </Pedestrian> </ScenarioObject> <ScenarioObject name="pedestrian_close_to_hero_26258"> <Pedestrian model="walker.pedestrian.0001" mass="80" name="walker.pedestrian.0001" pedestrianCategory="pedestrian"> <ParameterDeclarations/> <BoundingBox> <Center x="1.5" y="0.0" z="0.9"/> <Dimensions width="2" length="2" height="2"/> </BoundingBox> <Properties> <Property name="type" value="simulation"/> </Properties> </Pedestrian> </ScenarioObject> <ScenarioObject name="pedestrian_w_transform_26260"> <Pedestrian model="walker.pedestrian.0001" mass="80" name="walker.pedestrian.0001" pedestrianCategory="pedestrian"> <ParameterDeclarations/> <BoundingBox> <Center x="1.5" y="0.0" z="0.9"/> <Dimensions width="2" length="2" height="2"/> </BoundingBox> <Properties> <Property name="type" value="simulation"/> </Properties> </Pedestrian> </ScenarioObject> <ScenarioObject name="pedestrian_w_transform_26261"> <Pedestrian model="walker.pedestrian.0001" mass="80" name="walker.pedestrian.0001" pedestrianCategory="pedestrian"> <ParameterDeclarations/> <BoundingBox> <Center x="1.5" y="0.0" z="0.9"/> <Dimensions width="2" length="2" height="2"/> </BoundingBox> <Properties> <Property name="type" value="simulation"/> </Properties> </Pedestrian> </ScenarioObject> <ScenarioObject name="pedestrian_w_transform_26262"> <Pedestrian model="walker.pedestrian.0001" mass="80" name="walker.pedestrian.0001" pedestrianCategory="pedestrian"> <ParameterDeclarations/> <BoundingBox> <Center x="1.5" y="0.0" z="0.9"/> <Dimensions width="2" length="2" height="2"/> </BoundingBox> <Properties> <Property name="type" value="simulation"/> </Properties> </Pedestrian> </ScenarioObject> <ScenarioObject name="pedestrian_close_to_hero_26263"> <Pedestrian model="walker.pedestrian.0001" mass="80" name="walker.pedestrian.0001" pedestrianCategory="pedestrian"> <ParameterDeclarations/> <BoundingBox> <Center x="1.5" y="0.0" z="0.9"/> <Dimensions width="2" length="2" height="2"/> </BoundingBox> <Properties> <Property name="type" value="simulation"/> </Properties> </Pedestrian> </ScenarioObject> <ScenarioObject name="pedestrian_close_to_hero_26264"> <Pedestrian model="walker.pedestrian.0001" mass="80" name="walker.pedestrian.0001" pedestrianCategory="pedestrian"> <ParameterDeclarations/> <BoundingBox> <Center x="1.5" y="0.0" z="0.9"/> <Dimensions width="2" length="2" height="2"/> </BoundingBox> <Properties> <Property name="type" value="simulation"/> </Properties> </Pedestrian> </ScenarioObject> <ScenarioObject name="pedestrian_close_to_standing_26265"> <Pedestrian model="walker.pedestrian.0001" mass="80" name="walker.pedestrian.0001" pedestrianCategory="pedestrian"> <ParameterDeclarations/> <BoundingBox> <Center x="1.5" y="0.0" z="0.9"/> <Dimensions width="2" length="2" height="2"/> </BoundingBox> <Properties> <Property name="type" value="simulation"/> </Properties> </Pedestrian> </ScenarioObject> <ScenarioObject name="pedestrian_close_to_adversary_26266"> <Pedestrian model="walker.pedestrian.0001" mass="80" name="walker.pedestrian.0001" pedestrianCategory="pedestrian"> <ParameterDeclarations/> <BoundingBox> <Center x="1.5" y="0.0" z="0.9"/> <Dimensions width="2" length="2" height="2"/> </BoundingBox> <Properties> <Property name="type" value="simulation"/> </Properties> </Pedestrian> </ScenarioObject> <ScenarioObject name="pedestrian_close_to_hero_26267"> <Pedestrian model="walker.pedestrian.0001" mass="80" name="walker.pedestrian.0001" pedestrianCategory="pedestrian"> <ParameterDeclarations/> <BoundingBox> <Center x="1.5" y="0.0" z="0.9"/> <Dimensions width="2" length="2" height="2"/> </BoundingBox> <Properties> <Property name="type" value="simulation"/> </Properties> </Pedestrian> </ScenarioObject> <ScenarioObject name="pedestrian_w_transform_26268"> <Pedestrian model="walker.pedestrian.0001" mass="80" name="walker.pedestrian.0001" pedestrianCategory="pedestrian"> <ParameterDeclarations/> <BoundingBox> <Center x="1.5" y="0.0" z="0.9"/> <Dimensions width="2" length="2" height="2"/> </BoundingBox> <Properties> <Property name="type" value="simulation"/> </Properties> </Pedestrian> </ScenarioObject> <ScenarioObject name="pedestrian_close_to_standing_26269"> <Pedestrian model="walker.pedestrian.0001" mass="80" name="walker.pedestrian.0001" pedestrianCategory="pedestrian"> <ParameterDeclarations/> <BoundingBox> <Center x="1.5" y="0.0" z="0.9"/> <Dimensions width="2" length="2" height="2"/> </BoundingBox> <Properties> <Property name="type" value="simulation"/> </Properties> </Pedestrian> </ScenarioObject> <ScenarioObject name="pedestrian_w_transform_26270"> <Pedestrian model="walker.pedestrian.0001" mass="80" name="walker.pedestrian.0001" pedestrianCategory="pedestrian"> <ParameterDeclarations/> <BoundingBox> <Center x="1.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_26254"> <PrivateAction> <TeleportAction> <Position> <WorldPosition x="-13.434038162231445" y="-159.41278076171875" z="0.0020974730141460896"/> </Position> </TeleportAction> </PrivateAction> </Private> <Private entityRef="pedestrian_close_to_adversary_26255"> <PrivateAction> <TeleportAction> <Position> <WorldPosition x="-8.973285675048828" y="-66.82566833496094" z="0.0338357537984848"/> </Position> </TeleportAction> </PrivateAction> </Private> <Private entityRef="pedestrian_w_transform_26257"> <PrivateAction> <TeleportAction> <Position> <WorldPosition x="-26.57366371154785" y="17.067922592163086" z="0.5"/> </Position> </TeleportAction> </PrivateAction> </Private> <Private entityRef="pedestrian_close_to_hero_26258"> <PrivateAction> <TeleportAction> <Position> <WorldPosition x="-14.947516441345215" y="-143.6193084716797" z="0.0020974730141460896"/> </Position> </TeleportAction> </PrivateAction> </Private> <Private entityRef="pedestrian_w_transform_26260"> <PrivateAction> <TeleportAction> <Position> <WorldPosition x="8.60564136505127" y="79.11310577392578" z="0.5"/> </Position> </TeleportAction> </PrivateAction> </Private> <Private entityRef="pedestrian_w_transform_26261"> <PrivateAction> <TeleportAction> <Position> <WorldPosition x="-55.39308547973633" y="-22.794065475463867" z="0.5"/> </Position> </TeleportAction> </PrivateAction> </Private> <Private entityRef="pedestrian_w_transform_26262"> <PrivateAction> <TeleportAction> <Position> <WorldPosition x="-76.97306823730469" y="-40.48244094848633" z="0.5"/> </Position> </TeleportAction> </PrivateAction> </Private> <Private entityRef="pedestrian_close_to_hero_26263"> <PrivateAction> <TeleportAction> <Position> <WorldPosition x="-6.623217582702637" y="-152.95120239257812" z="0.0020974730141460896"/> </Position> </TeleportAction> </PrivateAction> </Private> <Private entityRef="pedestrian_close_to_hero_26264"> <PrivateAction> <TeleportAction> <Position> <WorldPosition x="-3.379329204559326" y="-150.62701416015625" z="0.0020974730141460896"/> </Position> </TeleportAction> </PrivateAction> </Private> <Private entityRef="pedestrian_close_to_standing_26265"> <PrivateAction> <TeleportAction> <Position> <WorldPosition x="-7.984793663024902" y="33.10086441040039" z="0.003113975515589118"/> </Position> </TeleportAction> </PrivateAction> </Private> <Private entityRef="pedestrian_close_to_adversary_26266"> <PrivateAction> <TeleportAction> <Position> <WorldPosition x="-3.1644062995910645" y="-72.44246673583984" z="0.033767927438020706"/> </Position> </TeleportAction> </PrivateAction> </Private> <Private entityRef="pedestrian_close_to_hero_26267"> <PrivateAction> <TeleportAction> <Position> <WorldPosition x="-15.623113632202148" y="-138.98776245117188" z="0.0020974730141460896"/> </Position> </TeleportAction> </PrivateAction> </Private> <Private entityRef="pedestrian_w_transform_26268"> <PrivateAction> <TeleportAction> <Position> <WorldPosition x="88.66858673095703" y="-10.520304679870605" z="0.5"/> </Position> </TeleportAction> </PrivateAction> </Private> <Private entityRef="pedestrian_close_to_standing_26269"> <PrivateAction> <TeleportAction> <Position> <WorldPosition x="-12.744298934936523" y="28.936168670654297" z="0.0030908966436982155"/> </Position> </TeleportAction> </PrivateAction> </Private> <Private entityRef="pedestrian_w_transform_26270"> <PrivateAction> <TeleportAction> <Position> <WorldPosition x="79.13684844970703" y="-27.301076889038086" 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 actor named pedestrian_close_to_standing_18445? ``` <?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_18439"> <Pedestrian model="walker.pedestrian.0001" mass="80" name="walker.pedestrian.0001" pedestrianCategory="pedestrian"> <ParameterDeclarations/> <BoundingBox> <Center x="1.5" y="0.0" z="0.9"/> <Dimensions width="2" length="2" height="2"/> </BoundingBox> <Properties> <Property name="type" value="simulation"/> </Properties> </Pedestrian> </ScenarioObject> <ScenarioObject name="pedestrian_close_to_adversary_18441"> <Pedestrian model="walker.pedestrian.0001" mass="80" name="walker.pedestrian.0001" pedestrianCategory="pedestrian"> <ParameterDeclarations/> <BoundingBox> <Center x="1.5" y="0.0" z="0.9"/> <Dimensions width="2" length="2" height="2"/> </BoundingBox> <Properties> <Property name="type" value="simulation"/> </Properties> </Pedestrian> </ScenarioObject> <ScenarioObject name="pedestrian_w_transform_18442"> <Pedestrian model="walker.pedestrian.0001" mass="80" name="walker.pedestrian.0001" pedestrianCategory="pedestrian"> <ParameterDeclarations/> <BoundingBox> <Center x="1.5" y="0.0" z="0.9"/> <Dimensions width="2" length="2" height="2"/> </BoundingBox> <Properties> <Property name="type" value="simulation"/> </Properties> </Pedestrian> </ScenarioObject> <ScenarioObject name="pedestrian_close_to_standing_18443"> <Pedestrian model="walker.pedestrian.0001" mass="80" name="walker.pedestrian.0001" pedestrianCategory="pedestrian"> <ParameterDeclarations/> <BoundingBox> <Center x="1.5" y="0.0" z="0.9"/> <Dimensions width="2" length="2" height="2"/> </BoundingBox> <Properties> <Property name="type" value="simulation"/> </Properties> </Pedestrian> </ScenarioObject> <ScenarioObject name="pedestrian_close_to_standing_18444"> <Pedestrian model="walker.pedestrian.0001" mass="80" name="walker.pedestrian.0001" pedestrianCategory="pedestrian"> <ParameterDeclarations/> <BoundingBox> <Center x="1.5" y="0.0" z="0.9"/> <Dimensions width="2" length="2" height="2"/> </BoundingBox> <Properties> <Property name="type" value="simulation"/> </Properties> </Pedestrian> </ScenarioObject> <ScenarioObject name="pedestrian_close_to_standing_18445"> <Pedestrian model="walker.pedestrian.0001" mass="80" name="walker.pedestrian.0001" pedestrianCategory="pedestrian"> <ParameterDeclarations/> <BoundingBox> <Center x="1.5" y="0.0" z="0.9"/> <Dimensions width="2" length="2" height="2"/> </BoundingBox> <Properties> <Property name="type" value="simulation"/> </Properties> </Pedestrian> </ScenarioObject> <ScenarioObject name="pedestrian_w_transform_18446"> <Pedestrian model="walker.pedestrian.0001" mass="80" name="walker.pedestrian.0001" pedestrianCategory="pedestrian"> <ParameterDeclarations/> <BoundingBox> <Center x="1.5" y="0.0" z="0.9"/> <Dimensions width="2" length="2" height="2"/> </BoundingBox> <Properties> <Property name="type" value="simulation"/> </Properties> </Pedestrian> </ScenarioObject> <ScenarioObject name="pedestrian_close_to_standing_18447"> <Pedestrian model="walker.pedestrian.0001" mass="80" name="walker.pedestrian.0001" pedestrianCategory="pedestrian"> <ParameterDeclarations/> <BoundingBox> <Center x="1.5" y="0.0" z="0.9"/> <Dimensions width="2" length="2" height="2"/> </BoundingBox> <Properties> <Property name="type" value="simulation"/> </Properties> </Pedestrian> </ScenarioObject> <ScenarioObject name="pedestrian_w_transform_18448"> <Pedestrian model="walker.pedestrian.0001" mass="80" name="walker.pedestrian.0001" pedestrianCategory="pedestrian"> <ParameterDeclarations/> <BoundingBox> <Center x="1.5" y="0.0" z="0.9"/> <Dimensions width="2" length="2" height="2"/> </BoundingBox> <Properties> <Property name="type" value="simulation"/> </Properties> </Pedestrian> </ScenarioObject> <ScenarioObject name="pedestrian_close_to_standing_18450"> <Pedestrian model="walker.pedestrian.0001" mass="80" name="walker.pedestrian.0001" pedestrianCategory="pedestrian"> <ParameterDeclarations/> <BoundingBox> <Center x="1.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_18439"> <PrivateAction> <TeleportAction> <Position> <WorldPosition x="-10.543436050415039" y="-69.06918334960938" z="0.033876683562994"/> </Position> </TeleportAction> </PrivateAction> </Private> <Private entityRef="pedestrian_close_to_adversary_18441"> <PrivateAction> <TeleportAction> <Position> <WorldPosition x="-13.229626655578613" y="-66.60162353515625" z="0.03387977555394173"/> </Position> </TeleportAction> </PrivateAction> </Private> <Private entityRef="pedestrian_w_transform_18442"> <PrivateAction> <TeleportAction> <Position> <WorldPosition x="92.17977905273438" y="81.2922134399414" z="0.5"/> </Position> </TeleportAction> </PrivateAction> </Private> <Private entityRef="pedestrian_close_to_standing_18443"> <PrivateAction> <TeleportAction> <Position> <WorldPosition x="-12.928072929382324" y="35.867225646972656" z="0.003128166077658534"/> </Position> </TeleportAction> </PrivateAction> </Private> <Private entityRef="pedestrian_close_to_standing_18444"> <PrivateAction> <TeleportAction> <Position> <WorldPosition x="-8.907793045043945" y="32.82120895385742" z="0.003129348624497652"/> </Position> </TeleportAction> </PrivateAction> </Private> <Private entityRef="pedestrian_close_to_standing_18445"> <PrivateAction> <TeleportAction> <Position> <WorldPosition x="-6.747783660888672" y="33.948123931884766" z="0.0031199646182358265"/> </Position> </TeleportAction> </PrivateAction> </Private> <Private entityRef="pedestrian_w_transform_18446"> <PrivateAction> <TeleportAction> <Position> <WorldPosition x="77.06623840332031" y="54.27255630493164" z="0.5"/> </Position> </TeleportAction> </PrivateAction> </Private> <Private entityRef="pedestrian_close_to_standing_18447"> <PrivateAction> <TeleportAction> <Position> <WorldPosition x="-14.885709762573242" y="34.686973571777344" z="0.0031147764530032873"/> </Position> </TeleportAction> </PrivateAction> </Private> <Private entityRef="pedestrian_w_transform_18448"> <PrivateAction> <TeleportAction> <Position> <WorldPosition x="91.15047454833984" y="85.19026184082031" z="0.5"/> </Position> </TeleportAction> </PrivateAction> </Private> <Private entityRef="pedestrian_close_to_standing_18450"> <PrivateAction> <TeleportAction> <Position> <WorldPosition x="1.1360723972320557" y="38.65699768066406" z="0.003130149794742465"/> </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_18439"> <Pedestrian model="walker.pedestrian.0001" mass="80" name="walker.pedestrian.0001" pedestrianCategory="pedestrian"> <ParameterDeclarations/> <BoundingBox> <Center x="1.5" y="0.0" z="0.9"/> <Dimensions width="2" length="2" height="2"/> </BoundingBox> <Properties> <Property name="type" value="simulation"/> </Properties> </Pedestrian> </ScenarioObject> <ScenarioObject name="pedestrian_close_to_adversary_18441"> <Pedestrian model="walker.pedestrian.0001" mass="80" name="walker.pedestrian.0001" pedestrianCategory="pedestrian"> <ParameterDeclarations/> <BoundingBox> <Center x="1.5" y="0.0" z="0.9"/> <Dimensions width="2" length="2" height="2"/> </BoundingBox> <Properties> <Property name="type" value="simulation"/> </Properties> </Pedestrian> </ScenarioObject> <ScenarioObject name="pedestrian_w_transform_18442"> <Pedestrian model="walker.pedestrian.0001" mass="80" name="walker.pedestrian.0001" pedestrianCategory="pedestrian"> <ParameterDeclarations/> <BoundingBox> <Center x="1.5" y="0.0" z="0.9"/> <Dimensions width="2" length="2" height="2"/> </BoundingBox> <Properties> <Property name="type" value="simulation"/> </Properties> </Pedestrian> </ScenarioObject> <ScenarioObject name="pedestrian_close_to_standing_18443"> <Pedestrian model="walker.pedestrian.0001" mass="80" name="walker.pedestrian.0001" pedestrianCategory="pedestrian"> <ParameterDeclarations/> <BoundingBox> <Center x="1.5" y="0.0" z="0.9"/> <Dimensions width="2" length="2" height="2"/> </BoundingBox> <Properties> <Property name="type" value="simulation"/> </Properties> </Pedestrian> </ScenarioObject> <ScenarioObject name="pedestrian_close_to_standing_18444"> <Pedestrian model="walker.pedestrian.0001" mass="80" name="walker.pedestrian.0001" pedestrianCategory="pedestrian"> <ParameterDeclarations/> <BoundingBox> <Center x="1.5" y="0.0" z="0.9"/> <Dimensions width="2" length="2" height="2"/> </BoundingBox> <Properties> <Property name="type" value="simulation"/> </Properties> </Pedestrian> </ScenarioObject> <ScenarioObject name="pedestrian_w_transform_18446"> <Pedestrian model="walker.pedestrian.0001" mass="80" name="walker.pedestrian.0001" pedestrianCategory="pedestrian"> <ParameterDeclarations/> <BoundingBox> <Center x="1.5" y="0.0" z="0.9"/> <Dimensions width="2" length="2" height="2"/> </BoundingBox> <Properties> <Property name="type" value="simulation"/> </Properties> </Pedestrian> </ScenarioObject> <ScenarioObject name="pedestrian_close_to_standing_18447"> <Pedestrian model="walker.pedestrian.0001" mass="80" name="walker.pedestrian.0001" pedestrianCategory="pedestrian"> <ParameterDeclarations/> <BoundingBox> <Center x="1.5" y="0.0" z="0.9"/> <Dimensions width="2" length="2" height="2"/> </BoundingBox> <Properties> <Property name="type" value="simulation"/> </Properties> </Pedestrian> </ScenarioObject> <ScenarioObject name="pedestrian_w_transform_18448"> <Pedestrian model="walker.pedestrian.0001" mass="80" name="walker.pedestrian.0001" pedestrianCategory="pedestrian"> <ParameterDeclarations/> <BoundingBox> <Center x="1.5" y="0.0" z="0.9"/> <Dimensions width="2" length="2" height="2"/> </BoundingBox> <Properties> <Property name="type" value="simulation"/> </Properties> </Pedestrian> </ScenarioObject> <ScenarioObject name="pedestrian_close_to_standing_18450"> <Pedestrian model="walker.pedestrian.0001" mass="80" name="walker.pedestrian.0001" pedestrianCategory="pedestrian"> <ParameterDeclarations/> <BoundingBox> <Center x="1.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_18439"> <PrivateAction> <TeleportAction> <Position> <WorldPosition x="-10.543436050415039" y="-69.06918334960938" z="0.033876683562994"/> </Position> </TeleportAction> </PrivateAction> </Private> <Private entityRef="pedestrian_close_to_adversary_18441"> <PrivateAction> <TeleportAction> <Position> <WorldPosition x="-13.229626655578613" y="-66.60162353515625" z="0.03387977555394173"/> </Position> </TeleportAction> </PrivateAction> </Private> <Private entityRef="pedestrian_w_transform_18442"> <PrivateAction> <TeleportAction> <Position> <WorldPosition x="92.17977905273438" y="81.2922134399414" z="0.5"/> </Position> </TeleportAction> </PrivateAction> </Private> <Private entityRef="pedestrian_close_to_standing_18443"> <PrivateAction> <TeleportAction> <Position> <WorldPosition x="-12.928072929382324" y="35.867225646972656" z="0.003128166077658534"/> </Position> </TeleportAction> </PrivateAction> </Private> <Private entityRef="pedestrian_close_to_standing_18444"> <PrivateAction> <TeleportAction> <Position> <WorldPosition x="-8.907793045043945" y="32.82120895385742" z="0.003129348624497652"/> </Position> </TeleportAction> </PrivateAction> </Private> <Private entityRef="pedestrian_w_transform_18446"> <PrivateAction> <TeleportAction> <Position> <WorldPosition x="77.06623840332031" y="54.27255630493164" z="0.5"/> </Position> </TeleportAction> </PrivateAction> </Private> <Private entityRef="pedestrian_close_to_standing_18447"> <PrivateAction> <TeleportAction> <Position> <WorldPosition x="-14.885709762573242" y="34.686973571777344" z="0.0031147764530032873"/> </Position> </TeleportAction> </PrivateAction> </Private> <Private entityRef="pedestrian_w_transform_18448"> <PrivateAction> <TeleportAction> <Position> <WorldPosition x="91.15047454833984" y="85.19026184082031" z="0.5"/> </Position> </TeleportAction> </PrivateAction> </Private> <Private entityRef="pedestrian_close_to_standing_18450"> <PrivateAction> <TeleportAction> <Position> <WorldPosition x="1.1360723972320557" y="38.65699768066406" z="0.003130149794742465"/> </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 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_27903"> <Pedestrian model="walker.pedestrian.0001" mass="80" name="walker.pedestrian.0001" pedestrianCategory="pedestrian"> <ParameterDeclarations/> <BoundingBox> <Center x="1.5" y="0.0" z="0.9"/> <Dimensions width="2" length="2" height="2"/> </BoundingBox> <Properties> <Property name="type" value="simulation"/> </Properties> </Pedestrian> </ScenarioObject> <ScenarioObject name="pedestrian_w_transform_27904"> <Pedestrian model="walker.pedestrian.0001" mass="80" name="walker.pedestrian.0001" pedestrianCategory="pedestrian"> <ParameterDeclarations/> <BoundingBox> <Center x="1.5" y="0.0" z="0.9"/> <Dimensions width="2" length="2" height="2"/> </BoundingBox> <Properties> <Property name="type" value="simulation"/> </Properties> </Pedestrian> </ScenarioObject> <ScenarioObject name="pedestrian_w_transform_27905"> <Pedestrian model="walker.pedestrian.0001" mass="80" name="walker.pedestrian.0001" pedestrianCategory="pedestrian"> <ParameterDeclarations/> <BoundingBox> <Center x="1.5" y="0.0" z="0.9"/> <Dimensions width="2" length="2" height="2"/> </BoundingBox> <Properties> <Property name="type" value="simulation"/> </Properties> </Pedestrian> </ScenarioObject> <ScenarioObject name="pedestrian_w_transform_27906"> <Pedestrian model="walker.pedestrian.0001" mass="80" name="walker.pedestrian.0001" pedestrianCategory="pedestrian"> <ParameterDeclarations/> <BoundingBox> <Center x="1.5" y="0.0" z="0.9"/> <Dimensions width="2" length="2" height="2"/> </BoundingBox> <Properties> <Property name="type" value="simulation"/> </Properties> </Pedestrian> </ScenarioObject> <ScenarioObject name="pedestrian_close_to_hero_27907"> <Pedestrian model="walker.pedestrian.0001" mass="80" name="walker.pedestrian.0001" pedestrianCategory="pedestrian"> <ParameterDeclarations/> <BoundingBox> <Center x="1.5" y="0.0" z="0.9"/> <Dimensions width="2" length="2" height="2"/> </BoundingBox> <Properties> <Property name="type" value="simulation"/> </Properties> </Pedestrian> </ScenarioObject> <ScenarioObject name="pedestrian_w_transform_27908"> <Pedestrian model="walker.pedestrian.0001" mass="80" name="walker.pedestrian.0001" pedestrianCategory="pedestrian"> <ParameterDeclarations/> <BoundingBox> <Center x="1.5" y="0.0" z="0.9"/> <Dimensions width="2" length="2" height="2"/> </BoundingBox> <Properties> <Property name="type" value="simulation"/> </Properties> </Pedestrian> </ScenarioObject> <ScenarioObject name="pedestrian_close_to_adversary_27909"> <Pedestrian model="walker.pedestrian.0001" mass="80" name="walker.pedestrian.0001" pedestrianCategory="pedestrian"> <ParameterDeclarations/> <BoundingBox> <Center x="1.5" y="0.0" z="0.9"/> <Dimensions width="2" length="2" height="2"/> </BoundingBox> <Properties> <Property name="type" value="simulation"/> </Properties> </Pedestrian> </ScenarioObject> <ScenarioObject name="pedestrian_close_to_hero_27910"> <Pedestrian model="walker.pedestrian.0001" mass="80" name="walker.pedestrian.0001" pedestrianCategory="pedestrian"> <ParameterDeclarations/> <BoundingBox> <Center x="1.5" y="0.0" z="0.9"/> <Dimensions width="2" length="2" height="2"/> </BoundingBox> <Properties> <Property name="type" value="simulation"/> </Properties> </Pedestrian> </ScenarioObject> <ScenarioObject name="pedestrian_close_to_adversary_27911"> <Pedestrian model="walker.pedestrian.0001" mass="80" name="walker.pedestrian.0001" pedestrianCategory="pedestrian"> <ParameterDeclarations/> <BoundingBox> <Center x="1.5" y="0.0" z="0.9"/> <Dimensions width="2" length="2" height="2"/> </BoundingBox> <Properties> <Property name="type" value="simulation"/> </Properties> </Pedestrian> </ScenarioObject> <ScenarioObject name="pedestrian_w_transform_27912"> <Pedestrian model="walker.pedestrian.0001" mass="80" name="walker.pedestrian.0001" pedestrianCategory="pedestrian"> <ParameterDeclarations/> <BoundingBox> <Center x="1.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_27903"> <PrivateAction> <TeleportAction> <Position> <WorldPosition x="-9.983488082885742" y="38.529541015625" z="0.0030724334064871073"/> </Position> </TeleportAction> </PrivateAction> </Private> <Private entityRef="pedestrian_w_transform_27904"> <PrivateAction> <TeleportAction> <Position> <WorldPosition x="-97.62226104736328" y="50.32698440551758" z="0.5"/> </Position> </TeleportAction> </PrivateAction> </Private> <Private entityRef="pedestrian_w_transform_27905"> <PrivateAction> <TeleportAction> <Position> <WorldPosition x="-39.33370590209961" y="84.77123260498047" z="0.5"/> </Position> </TeleportAction> </PrivateAction> </Private> <Private entityRef="pedestrian_w_transform_27906"> <PrivateAction> <TeleportAction> <Position> <WorldPosition x="78.58753967285156" y="-29.96318817138672" z="0.5"/> </Position> </TeleportAction> </PrivateAction> </Private> <Private entityRef="pedestrian_close_to_hero_27907"> <PrivateAction> <TeleportAction> <Position> <WorldPosition x="-19.004730224609375" y="-153.32899475097656" z="0.0015143966302275658"/> </Position> </TeleportAction> </PrivateAction> </Private> <Private entityRef="pedestrian_w_transform_27908"> <PrivateAction> <TeleportAction> <Position> <WorldPosition x="-68.23304748535156" y="4.700878620147705" z="0.5"/> </Position> </TeleportAction> </PrivateAction> </Private> <Private entityRef="pedestrian_close_to_adversary_27909"> <PrivateAction> <TeleportAction> <Position> <WorldPosition x="-4.555926322937012" y="-70.02543640136719" z="0.033763542771339417"/> </Position> </TeleportAction> </PrivateAction> </Private> <Private entityRef="pedestrian_close_to_hero_27910"> <PrivateAction> <TeleportAction> <Position> <WorldPosition x="-9.142966270446777" y="-148.28054809570312" z="0.0015143966302275658"/> </Position> </TeleportAction> </PrivateAction> </Private> <Private entityRef="pedestrian_close_to_adversary_27911"> <PrivateAction> <TeleportAction> <Position> <WorldPosition x="-11.95991039276123" y="-74.7484359741211" z="0.03378536179661751"/> </Position> </TeleportAction> </PrivateAction> </Private> <Private entityRef="pedestrian_w_transform_27912"> <PrivateAction> <TeleportAction> <Position> <WorldPosition x="-75.37545776367188" y="44.32260513305664" 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_27903"> <Pedestrian model="walker.pedestrian.0001" mass="80" name="walker.pedestrian.0001" pedestrianCategory="pedestrian"> <ParameterDeclarations/> <BoundingBox> <Center x="1.5" y="0.0" z="0.9"/> <Dimensions width="2" length="2" height="2"/> </BoundingBox> <Properties> <Property name="type" value="simulation"/> </Properties> </Pedestrian> </ScenarioObject> <ScenarioObject name="pedestrian_w_transform_27904"> <Pedestrian model="walker.pedestrian.0001" mass="80" name="walker.pedestrian.0001" pedestrianCategory="pedestrian"> <ParameterDeclarations/> <BoundingBox> <Center x="1.5" y="0.0" z="0.9"/> <Dimensions width="2" length="2" height="2"/> </BoundingBox> <Properties> <Property name="type" value="simulation"/> </Properties> </Pedestrian> </ScenarioObject> <ScenarioObject name="pedestrian_w_transform_27905"> <Pedestrian model="walker.pedestrian.0001" mass="80" name="walker.pedestrian.0001" pedestrianCategory="pedestrian"> <ParameterDeclarations/> <BoundingBox> <Center x="1.5" y="0.0" z="0.9"/> <Dimensions width="2" length="2" height="2"/> </BoundingBox> <Properties> <Property name="type" value="simulation"/> </Properties> </Pedestrian> </ScenarioObject> <ScenarioObject name="pedestrian_w_transform_27906"> <Pedestrian model="walker.pedestrian.0001" mass="80" name="walker.pedestrian.0001" pedestrianCategory="pedestrian"> <ParameterDeclarations/> <BoundingBox> <Center x="1.5" y="0.0" z="0.9"/> <Dimensions width="2" length="2" height="2"/> </BoundingBox> <Properties> <Property name="type" value="simulation"/> </Properties> </Pedestrian> </ScenarioObject> <ScenarioObject name="pedestrian_close_to_hero_27907"> <Pedestrian model="walker.pedestrian.0001" mass="80" name="walker.pedestrian.0001" pedestrianCategory="pedestrian"> <ParameterDeclarations/> <BoundingBox> <Center x="1.5" y="0.0" z="0.9"/> <Dimensions width="2" length="2" height="2"/> </BoundingBox> <Properties> <Property name="type" value="simulation"/> </Properties> </Pedestrian> </ScenarioObject> <ScenarioObject name="pedestrian_w_transform_27908"> <Pedestrian model="walker.pedestrian.0001" mass="80" name="walker.pedestrian.0001" pedestrianCategory="pedestrian"> <ParameterDeclarations/> <BoundingBox> <Center x="1.5" y="0.0" z="0.9"/> <Dimensions width="2" length="2" height="2"/> </BoundingBox> <Properties> <Property name="type" value="simulation"/> </Properties> </Pedestrian> </ScenarioObject> <ScenarioObject name="pedestrian_close_to_adversary_27909"> <Pedestrian model="walker.pedestrian.0001" mass="80" name="walker.pedestrian.0001" pedestrianCategory="pedestrian"> <ParameterDeclarations/> <BoundingBox> <Center x="1.5" y="0.0" z="0.9"/> <Dimensions width="2" length="2" height="2"/> </BoundingBox> <Properties> <Property name="type" value="simulation"/> </Properties> </Pedestrian> </ScenarioObject> <ScenarioObject name="pedestrian_close_to_hero_27910"> <Pedestrian model="walker.pedestrian.0001" mass="80" name="walker.pedestrian.0001" pedestrianCategory="pedestrian"> <ParameterDeclarations/> <BoundingBox> <Center x="1.5" y="0.0" z="0.9"/> <Dimensions width="2" length="2" height="2"/> </BoundingBox> <Properties> <Property name="type" value="simulation"/> </Properties> </Pedestrian> </ScenarioObject> <ScenarioObject name="pedestrian_close_to_adversary_27911"> <Pedestrian model="walker.pedestrian.0001" mass="80" name="walker.pedestrian.0001" pedestrianCategory="pedestrian"> <ParameterDeclarations/> <BoundingBox> <Center x="1.5" y="0.0" z="0.9"/> <Dimensions width="2" length="2" height="2"/> </BoundingBox> <Properties> <Property name="type" value="simulation"/> </Properties> </Pedestrian> </ScenarioObject> <ScenarioObject name="pedestrian_w_transform_27912"> <Pedestrian model="walker.pedestrian.0001" mass="80" name="walker.pedestrian.0001" pedestrianCategory="pedestrian"> <ParameterDeclarations/> <BoundingBox> <Center x="1.5" y="0.0" z="0.9"/> <Dimensions width="2" length="2" height="2"/> </BoundingBox> <Properties> <Property name="type" value="simulation"/> </Properties> </Pedestrian> </ScenarioObject> <ScenarioObject name="pedestrian_close_to_adversary_27914"> <Pedestrian model="walker.pedestrian.0001" mass="80" name="walker.pedestrian.0001" pedestrianCategory="pedestrian"> <ParameterDeclarations/> <BoundingBox> <Center x="1.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_27903"> <PrivateAction> <TeleportAction> <Position> <WorldPosition x="-9.983488082885742" y="38.529541015625" z="0.0030724334064871073"/> </Position> </TeleportAction> </PrivateAction> </Private> <Private entityRef="pedestrian_w_transform_27904"> <PrivateAction> <TeleportAction> <Position> <WorldPosition x="-97.62226104736328" y="50.32698440551758" z="0.5"/> </Position> </TeleportAction> </PrivateAction> </Private> <Private entityRef="pedestrian_w_transform_27905"> <PrivateAction> <TeleportAction> <Position> <WorldPosition x="-39.33370590209961" y="84.77123260498047" z="0.5"/> </Position> </TeleportAction> </PrivateAction> </Private> <Private entityRef="pedestrian_w_transform_27906"> <PrivateAction> <TeleportAction> <Position> <WorldPosition x="78.58753967285156" y="-29.96318817138672" z="0.5"/> </Position> </TeleportAction> </PrivateAction> </Private> <Private entityRef="pedestrian_close_to_hero_27907"> <PrivateAction> <TeleportAction> <Position> <WorldPosition x="-19.004730224609375" y="-153.32899475097656" z="0.0015143966302275658"/> </Position> </TeleportAction> </PrivateAction> </Private> <Private entityRef="pedestrian_w_transform_27908"> <PrivateAction> <TeleportAction> <Position> <WorldPosition x="-68.23304748535156" y="4.700878620147705" z="0.5"/> </Position> </TeleportAction> </PrivateAction> </Private> <Private entityRef="pedestrian_close_to_adversary_27909"> <PrivateAction> <TeleportAction> <Position> <WorldPosition x="-4.555926322937012" y="-70.02543640136719" z="0.033763542771339417"/> </Position> </TeleportAction> </PrivateAction> </Private> <Private entityRef="pedestrian_close_to_hero_27910"> <PrivateAction> <TeleportAction> <Position> <WorldPosition x="-9.142966270446777" y="-148.28054809570312" z="0.0015143966302275658"/> </Position> </TeleportAction> </PrivateAction> </Private> <Private entityRef="pedestrian_close_to_adversary_27911"> <PrivateAction> <TeleportAction> <Position> <WorldPosition x="-11.95991039276123" y="-74.7484359741211" z="0.03378536179661751"/> </Position> </TeleportAction> </PrivateAction> </Private> <Private entityRef="pedestrian_w_transform_27912"> <PrivateAction> <TeleportAction> <Position> <WorldPosition x="-75.37545776367188" y="44.32260513305664" z="0.5"/> </Position> </TeleportAction> </PrivateAction> </Private> <Private entityRef="pedestrian_close_to_adversary_27914"> <PrivateAction> <TeleportAction> <Position> <WorldPosition x="-19.4110107421875" y="-65.10731506347656" z="0.03374999761581421"/> </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_hero_2662"> <Pedestrian model="walker.pedestrian.0001" mass="80" name="walker.pedestrian.0001" pedestrianCategory="pedestrian"> <ParameterDeclarations/> <BoundingBox> <Center x="1.5" y="0.0" z="0.9"/> <Dimensions width="2" length="2" height="2"/> </BoundingBox> <Properties> <Property name="type" value="simulation"/> </Properties> </Pedestrian> </ScenarioObject> <ScenarioObject name="pedestrian_close_to_hero_2664"> <Pedestrian model="walker.pedestrian.0001" mass="80" name="walker.pedestrian.0001" pedestrianCategory="pedestrian"> <ParameterDeclarations/> <BoundingBox> <Center x="1.5" y="0.0" z="0.9"/> <Dimensions width="2" length="2" height="2"/> </BoundingBox> <Properties> <Property name="type" value="simulation"/> </Properties> </Pedestrian> </ScenarioObject> <ScenarioObject name="pedestrian_close_to_hero_2666"> <Pedestrian model="walker.pedestrian.0001" mass="80" name="walker.pedestrian.0001" pedestrianCategory="pedestrian"> <ParameterDeclarations/> <BoundingBox> <Center x="1.5" y="0.0" z="0.9"/> <Dimensions width="2" length="2" height="2"/> </BoundingBox> <Properties> <Property name="type" value="simulation"/> </Properties> </Pedestrian> </ScenarioObject> <ScenarioObject name="pedestrian_close_to_hero_2667"> <Pedestrian model="walker.pedestrian.0001" mass="80" name="walker.pedestrian.0001" pedestrianCategory="pedestrian"> <ParameterDeclarations/> <BoundingBox> <Center x="1.5" y="0.0" z="0.9"/> <Dimensions width="2" length="2" height="2"/> </BoundingBox> <Properties> <Property name="type" value="simulation"/> </Properties> </Pedestrian> </ScenarioObject> <ScenarioObject name="pedestrian_w_transform_2668"> <Pedestrian model="walker.pedestrian.0001" mass="80" name="walker.pedestrian.0001" pedestrianCategory="pedestrian"> <ParameterDeclarations/> <BoundingBox> <Center x="1.5" y="0.0" z="0.9"/> <Dimensions width="2" length="2" height="2"/> </BoundingBox> <Properties> <Property name="type" value="simulation"/> </Properties> </Pedestrian> </ScenarioObject> <ScenarioObject name="pedestrian_close_to_standing_2669"> <Pedestrian model="walker.pedestrian.0001" mass="80" name="walker.pedestrian.0001" pedestrianCategory="pedestrian"> <ParameterDeclarations/> <BoundingBox> <Center x="1.5" y="0.0" z="0.9"/> <Dimensions width="2" length="2" height="2"/> </BoundingBox> <Properties> <Property name="type" value="simulation"/> </Properties> </Pedestrian> </ScenarioObject> <ScenarioObject name="pedestrian_close_to_adversary_2670"> <Pedestrian model="walker.pedestrian.0001" mass="80" name="walker.pedestrian.0001" pedestrianCategory="pedestrian"> <ParameterDeclarations/> <BoundingBox> <Center x="1.5" y="0.0" z="0.9"/> <Dimensions width="2" length="2" height="2"/> </BoundingBox> <Properties> <Property name="type" value="simulation"/> </Properties> </Pedestrian> </ScenarioObject> <ScenarioObject name="pedestrian_close_to_standing_2671"> <Pedestrian model="walker.pedestrian.0001" mass="80" name="walker.pedestrian.0001" pedestrianCategory="pedestrian"> <ParameterDeclarations/> <BoundingBox> <Center x="1.5" y="0.0" z="0.9"/> <Dimensions width="2" length="2" height="2"/> </BoundingBox> <Properties> <Property name="type" value="simulation"/> </Properties> </Pedestrian> </ScenarioObject> <ScenarioObject name="pedestrian_w_transform_2672"> <Pedestrian model="walker.pedestrian.0001" mass="80" name="walker.pedestrian.0001" pedestrianCategory="pedestrian"> <ParameterDeclarations/> <BoundingBox> <Center x="1.5" y="0.0" z="0.9"/> <Dimensions width="2" length="2" height="2"/> </BoundingBox> <Properties> <Property name="type" value="simulation"/> </Properties> </Pedestrian> </ScenarioObject> <ScenarioObject name="pedestrian_close_to_hero_2673"> <Pedestrian model="walker.pedestrian.0001" mass="80" name="walker.pedestrian.0001" pedestrianCategory="pedestrian"> <ParameterDeclarations/> <BoundingBox> <Center x="1.5" y="0.0" z="0.9"/> <Dimensions width="2" length="2" height="2"/> </BoundingBox> <Properties> <Property name="type" value="simulation"/> </Properties> </Pedestrian> </ScenarioObject> <ScenarioObject name="pedestrian_close_to_standing_2674"> <Pedestrian model="walker.pedestrian.0001" mass="80" name="walker.pedestrian.0001" pedestrianCategory="pedestrian"> <ParameterDeclarations/> <BoundingBox> <Center x="1.5" y="0.0" z="0.9"/> <Dimensions width="2" length="2" height="2"/> </BoundingBox> <Properties> <Property name="type" value="simulation"/> </Properties> </Pedestrian> </ScenarioObject> <ScenarioObject name="pedestrian_close_to_adversary_2675"> <Pedestrian model="walker.pedestrian.0001" mass="80" name="walker.pedestrian.0001" pedestrianCategory="pedestrian"> <ParameterDeclarations/> <BoundingBox> <Center x="1.5" y="0.0" z="0.9"/> <Dimensions width="2" length="2" height="2"/> </BoundingBox> <Properties> <Property name="type" value="simulation"/> </Properties> </Pedestrian> </ScenarioObject> <ScenarioObject name="pedestrian_close_to_hero_2676"> <Pedestrian model="walker.pedestrian.0001" mass="80" name="walker.pedestrian.0001" pedestrianCategory="pedestrian"> <ParameterDeclarations/> <BoundingBox> <Center x="1.5" y="0.0" z="0.9"/> <Dimensions width="2" length="2" height="2"/> </BoundingBox> <Properties> <Property name="type" value="simulation"/> </Properties> </Pedestrian> </ScenarioObject> <ScenarioObject name="pedestrian_w_transform_2677"> <Pedestrian model="walker.pedestrian.0001" mass="80" name="walker.pedestrian.0001" pedestrianCategory="pedestrian"> <ParameterDeclarations/> <BoundingBox> <Center x="1.5" y="0.0" z="0.9"/> <Dimensions width="2" length="2" height="2"/> </BoundingBox> <Properties> <Property name="type" value="simulation"/> </Properties> </Pedestrian> </ScenarioObject> <ScenarioObject name="pedestrian_close_to_hero_2678"> <Pedestrian model="walker.pedestrian.0001" mass="80" name="walker.pedestrian.0001" pedestrianCategory="pedestrian"> <ParameterDeclarations/> <BoundingBox> <Center x="1.5" y="0.0" z="0.9"/> <Dimensions width="2" length="2" height="2"/> </BoundingBox> <Properties> <Property name="type" value="simulation"/> </Properties> </Pedestrian> </ScenarioObject> <ScenarioObject name="pedestrian_close_to_hero_2679"> <Pedestrian model="walker.pedestrian.0001" mass="80" name="walker.pedestrian.0001" pedestrianCategory="pedestrian"> <ParameterDeclarations/> <BoundingBox> <Center x="1.5" y="0.0" z="0.9"/> <Dimensions width="2" length="2" height="2"/> </BoundingBox> <Properties> <Property name="type" value="simulation"/> </Properties> </Pedestrian> </ScenarioObject> <ScenarioObject name="pedestrian_close_to_standing_2680"> <Pedestrian model="walker.pedestrian.0001" mass="80" name="walker.pedestrian.0001" pedestrianCategory="pedestrian"> <ParameterDeclarations/> <BoundingBox> <Center x="1.5" y="0.0" z="0.9"/> <Dimensions width="2" length="2" height="2"/> </BoundingBox> <Properties> <Property name="type" value="simulation"/> </Properties> </Pedestrian> </ScenarioObject> <ScenarioObject name="pedestrian_close_to_hero_2681"> <Pedestrian model="walker.pedestrian.0001" mass="80" name="walker.pedestrian.0001" pedestrianCategory="pedestrian"> <ParameterDeclarations/> <BoundingBox> <Center x="1.5" y="0.0" z="0.9"/> <Dimensions width="2" length="2" height="2"/> </BoundingBox> <Properties> <Property name="type" value="simulation"/> </Properties> </Pedestrian> </ScenarioObject> <ScenarioObject name="pedestrian_close_to_standing_2682"> <Pedestrian model="walker.pedestrian.0001" mass="80" name="walker.pedestrian.0001" pedestrianCategory="pedestrian"> <ParameterDeclarations/> <BoundingBox> <Center x="1.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_2662"> <PrivateAction> <TeleportAction> <Position> <WorldPosition x="-13.202596664428711" y="-171.59149169921875" z="0.0014652633108198643"/> </Position> </TeleportAction> </PrivateAction> </Private> <Private entityRef="pedestrian_close_to_hero_2664"> <PrivateAction> <TeleportAction> <Position> <WorldPosition x="-16.695405960083008" y="-151.13780212402344" z="0.0014652633108198643"/> </Position> </TeleportAction> </PrivateAction> </Private> <Private entityRef="pedestrian_close_to_hero_2666"> <PrivateAction> <TeleportAction> <Position> <WorldPosition x="-10.271044731140137" y="-143.21495056152344" z="0.0014652633108198643"/> </Position> </TeleportAction> </PrivateAction> </Private> <Private entityRef="pedestrian_close_to_hero_2667"> <PrivateAction> <TeleportAction> <Position> <WorldPosition x="-5.433366298675537" y="-155.2522430419922" z="0.0014652633108198643"/> </Position> </TeleportAction> </PrivateAction> </Private> <Private entityRef="pedestrian_w_transform_2668"> <PrivateAction> <TeleportAction> <Position> <WorldPosition x="48.59869384765625" y="32.930660247802734" z="0.5"/> </Position> </TeleportAction> </PrivateAction> </Private> <Private entityRef="pedestrian_close_to_standing_2669"> <PrivateAction> <TeleportAction> <Position> <WorldPosition x="-10.037895202636719" y="23.231098175048828" z="0.003033294575288892"/> </Position> </TeleportAction> </PrivateAction> </Private> <Private entityRef="pedestrian_close_to_adversary_2670"> <PrivateAction> <TeleportAction> <Position> <WorldPosition x="-3.7865793704986572" y="-64.12178039550781" z="0.033866044133901596"/> </Position> </TeleportAction> </PrivateAction> </Private> <Private entityRef="pedestrian_close_to_standing_2671"> <PrivateAction> <TeleportAction> <Position> <WorldPosition x="-14.98993968963623" y="30.300188064575195" z="0.003052101004868746"/> </Position> </TeleportAction> </PrivateAction> </Private> <Private entityRef="pedestrian_w_transform_2672"> <PrivateAction> <TeleportAction> <Position> <WorldPosition x="70.64073944091797" y="-16.314414978027344" z="0.5"/> </Position> </TeleportAction> </PrivateAction> </Private> <Private entityRef="pedestrian_close_to_hero_2673"> <PrivateAction> <TeleportAction> <Position> <WorldPosition x="-8.896862030029297" y="-144.6792449951172" z="0.0014652633108198643"/> </Position> </TeleportAction> </PrivateAction> </Private> <Private entityRef="pedestrian_close_to_standing_2674"> <PrivateAction> <TeleportAction> <Position> <WorldPosition x="-13.105022430419922" y="21.94660758972168" z="0.0030687712132930756"/> </Position> </TeleportAction> </PrivateAction> </Private> <Private entityRef="pedestrian_close_to_adversary_2675"> <PrivateAction> <TeleportAction> <Position> <WorldPosition x="-15.995746612548828" y="-63.37792205810547" z="0.0338224396109581"/> </Position> </TeleportAction> </PrivateAction> </Private> <Private entityRef="pedestrian_close_to_hero_2676"> <PrivateAction> <TeleportAction> <Position> <WorldPosition x="-10.927802085876465" y="-158.34927368164062" z="0.0014652633108198643"/> </Position> </TeleportAction> </PrivateAction> </Private> <Private entityRef="pedestrian_w_transform_2677"> <PrivateAction> <TeleportAction> <Position> <WorldPosition x="13.546220779418945" y="32.49065017700195" z="0.5"/> </Position> </TeleportAction> </PrivateAction> </Private> <Private entityRef="pedestrian_close_to_hero_2678"> <PrivateAction> <TeleportAction> <Position> <WorldPosition x="-6.505977153778076" y="-150.3334503173828" z="0.0014652633108198643"/> </Position> </TeleportAction> </PrivateAction> </Private> <Private entityRef="pedestrian_close_to_hero_2679"> <PrivateAction> <TeleportAction> <Position> <WorldPosition x="-14.322076797485352" y="-143.6826171875" z="0.0014652633108198643"/> </Position> </TeleportAction> </PrivateAction> </Private> <Private entityRef="pedestrian_close_to_standing_2680"> <PrivateAction> <TeleportAction> <Position> <WorldPosition x="-6.677501201629639" y="24.680618286132812" z="0.0030400084797292948"/> </Position> </TeleportAction> </PrivateAction> </Private> <Private entityRef="pedestrian_close_to_hero_2681"> <PrivateAction> <TeleportAction> <Position> <WorldPosition x="-9.012965202331543" y="-155.33303833007812" z="0.0014652633108198643"/> </Position> </TeleportAction> </PrivateAction> </Private> <Private entityRef="pedestrian_close_to_standing_2682"> <PrivateAction> <TeleportAction> <Position> <WorldPosition x="-4.108823776245117" y="16.013883590698242" z="0.0030216979794204235"/> </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_2662"> <Pedestrian model="walker.pedestrian.0001" mass="80" name="walker.pedestrian.0001" pedestrianCategory="pedestrian"> <ParameterDeclarations/> <BoundingBox> <Center x="1.5" y="0.0" z="0.9"/> <Dimensions width="2" length="2" height="2"/> </BoundingBox> <Properties> <Property name="type" value="simulation"/> </Properties> </Pedestrian> </ScenarioObject> <ScenarioObject name="pedestrian_close_to_hero_2664"> <Pedestrian model="walker.pedestrian.0001" mass="80" name="walker.pedestrian.0001" pedestrianCategory="pedestrian"> <ParameterDeclarations/> <BoundingBox> <Center x="1.5" y="0.0" z="0.9"/> <Dimensions width="2" length="2" height="2"/> </BoundingBox> <Properties> <Property name="type" value="simulation"/> </Properties> </Pedestrian> </ScenarioObject> <ScenarioObject name="pedestrian_close_to_hero_2666"> <Pedestrian model="walker.pedestrian.0001" mass="80" name="walker.pedestrian.0001" pedestrianCategory="pedestrian"> <ParameterDeclarations/> <BoundingBox> <Center x="1.5" y="0.0" z="0.9"/> <Dimensions width="2" length="2" height="2"/> </BoundingBox> <Properties> <Property name="type" value="simulation"/> </Properties> </Pedestrian> </ScenarioObject> <ScenarioObject name="pedestrian_close_to_hero_2667"> <Pedestrian model="walker.pedestrian.0001" mass="80" name="walker.pedestrian.0001" pedestrianCategory="pedestrian"> <ParameterDeclarations/> <BoundingBox> <Center x="1.5" y="0.0" z="0.9"/> <Dimensions width="2" length="2" height="2"/> </BoundingBox> <Properties> <Property name="type" value="simulation"/> </Properties> </Pedestrian> </ScenarioObject> <ScenarioObject name="pedestrian_w_transform_2668"> <Pedestrian model="walker.pedestrian.0001" mass="80" name="walker.pedestrian.0001" pedestrianCategory="pedestrian"> <ParameterDeclarations/> <BoundingBox> <Center x="1.5" y="0.0" z="0.9"/> <Dimensions width="2" length="2" height="2"/> </BoundingBox> <Properties> <Property name="type" value="simulation"/> </Properties> </Pedestrian> </ScenarioObject> <ScenarioObject name="pedestrian_close_to_standing_2669"> <Pedestrian model="walker.pedestrian.0001" mass="80" name="walker.pedestrian.0001" pedestrianCategory="pedestrian"> <ParameterDeclarations/> <BoundingBox> <Center x="1.5" y="0.0" z="0.9"/> <Dimensions width="2" length="2" height="2"/> </BoundingBox> <Properties> <Property name="type" value="simulation"/> </Properties> </Pedestrian> </ScenarioObject> <ScenarioObject name="pedestrian_close_to_adversary_2670"> <Pedestrian model="walker.pedestrian.0001" mass="80" name="walker.pedestrian.0001" pedestrianCategory="pedestrian"> <ParameterDeclarations/> <BoundingBox> <Center x="1.5" y="0.0" z="0.9"/> <Dimensions width="2" length="2" height="2"/> </BoundingBox> <Properties> <Property name="type" value="simulation"/> </Properties> </Pedestrian> </ScenarioObject> <ScenarioObject name="pedestrian_close_to_standing_2671"> <Pedestrian model="walker.pedestrian.0001" mass="80" name="walker.pedestrian.0001" pedestrianCategory="pedestrian"> <ParameterDeclarations/> <BoundingBox> <Center x="1.5" y="0.0" z="0.9"/> <Dimensions width="2" length="2" height="2"/> </BoundingBox> <Properties> <Property name="type" value="simulation"/> </Properties> </Pedestrian> </ScenarioObject> <ScenarioObject name="pedestrian_w_transform_2672"> <Pedestrian model="walker.pedestrian.0001" mass="80" name="walker.pedestrian.0001" pedestrianCategory="pedestrian"> <ParameterDeclarations/> <BoundingBox> <Center x="1.5" y="0.0" z="0.9"/> <Dimensions width="2" length="2" height="2"/> </BoundingBox> <Properties> <Property name="type" value="simulation"/> </Properties> </Pedestrian> </ScenarioObject> <ScenarioObject name="pedestrian_close_to_hero_2673"> <Pedestrian model="walker.pedestrian.0001" mass="80" name="walker.pedestrian.0001" pedestrianCategory="pedestrian"> <ParameterDeclarations/> <BoundingBox> <Center x="1.5" y="0.0" z="0.9"/> <Dimensions width="2" length="2" height="2"/> </BoundingBox> <Properties> <Property name="type" value="simulation"/> </Properties> </Pedestrian> </ScenarioObject> <ScenarioObject name="pedestrian_close_to_standing_2674"> <Pedestrian model="walker.pedestrian.0001" mass="80" name="walker.pedestrian.0001" pedestrianCategory="pedestrian"> <ParameterDeclarations/> <BoundingBox> <Center x="1.5" y="0.0" z="0.9"/> <Dimensions width="2" length="2" height="2"/> </BoundingBox> <Properties> <Property name="type" value="simulation"/> </Properties> </Pedestrian> </ScenarioObject> <ScenarioObject name="pedestrian_close_to_adversary_2675"> <Pedestrian model="walker.pedestrian.0001" mass="80" name="walker.pedestrian.0001" pedestrianCategory="pedestrian"> <ParameterDeclarations/> <BoundingBox> <Center x="1.5" y="0.0" z="0.9"/> <Dimensions width="2" length="2" height="2"/> </BoundingBox> <Properties> <Property name="type" value="simulation"/> </Properties> </Pedestrian> </ScenarioObject> <ScenarioObject name="pedestrian_close_to_hero_2676"> <Pedestrian model="walker.pedestrian.0001" mass="80" name="walker.pedestrian.0001" pedestrianCategory="pedestrian"> <ParameterDeclarations/> <BoundingBox> <Center x="1.5" y="0.0" z="0.9"/> <Dimensions width="2" length="2" height="2"/> </BoundingBox> <Properties> <Property name="type" value="simulation"/> </Properties> </Pedestrian> </ScenarioObject> <ScenarioObject name="pedestrian_w_transform_2677"> <Pedestrian model="walker.pedestrian.0001" mass="80" name="walker.pedestrian.0001" pedestrianCategory="pedestrian"> <ParameterDeclarations/> <BoundingBox> <Center x="1.5" y="0.0" z="0.9"/> <Dimensions width="2" length="2" height="2"/> </BoundingBox> <Properties> <Property name="type" value="simulation"/> </Properties> </Pedestrian> </ScenarioObject> <ScenarioObject name="pedestrian_close_to_hero_2678"> <Pedestrian model="walker.pedestrian.0001" mass="80" name="walker.pedestrian.0001" pedestrianCategory="pedestrian"> <ParameterDeclarations/> <BoundingBox> <Center x="1.5" y="0.0" z="0.9"/> <Dimensions width="2" length="2" height="2"/> </BoundingBox> <Properties> <Property name="type" value="simulation"/> </Properties> </Pedestrian> </ScenarioObject> <ScenarioObject name="pedestrian_close_to_hero_2679"> <Pedestrian model="walker.pedestrian.0001" mass="80" name="walker.pedestrian.0001" pedestrianCategory="pedestrian"> <ParameterDeclarations/> <BoundingBox> <Center x="1.5" y="0.0" z="0.9"/> <Dimensions width="2" length="2" height="2"/> </BoundingBox> <Properties> <Property name="type" value="simulation"/> </Properties> </Pedestrian> </ScenarioObject> <ScenarioObject name="pedestrian_close_to_standing_2680"> <Pedestrian model="walker.pedestrian.0001" mass="80" name="walker.pedestrian.0001" pedestrianCategory="pedestrian"> <ParameterDeclarations/> <BoundingBox> <Center x="1.5" y="0.0" z="0.9"/> <Dimensions width="2" length="2" height="2"/> </BoundingBox> <Properties> <Property name="type" value="simulation"/> </Properties> </Pedestrian> </ScenarioObject> <ScenarioObject name="pedestrian_close_to_hero_2681"> <Pedestrian model="walker.pedestrian.0001" mass="80" name="walker.pedestrian.0001" pedestrianCategory="pedestrian"> <ParameterDeclarations/> <BoundingBox> <Center x="1.5" y="0.0" z="0.9"/> <Dimensions width="2" length="2" height="2"/> </BoundingBox> <Properties> <Property name="type" value="simulation"/> </Properties> </Pedestrian> </ScenarioObject> <ScenarioObject name="pedestrian_close_to_standing_2682"> <Pedestrian model="walker.pedestrian.0001" mass="80" name="walker.pedestrian.0001" pedestrianCategory="pedestrian"> <ParameterDeclarations/> <BoundingBox> <Center x="1.5" y="0.0" z="0.9"/> <Dimensions width="2" length="2" height="2"/> </BoundingBox> <Properties> <Property name="type" value="simulation"/> </Properties> </Pedestrian> </ScenarioObject> <ScenarioObject name="pedestrian_close_to_adversary_2683"> <Pedestrian model="walker.pedestrian.0001" mass="80" name="walker.pedestrian.0001" pedestrianCategory="pedestrian"> <ParameterDeclarations/> <BoundingBox> <Center x="1.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_2662"> <PrivateAction> <TeleportAction> <Position> <WorldPosition x="-13.202596664428711" y="-171.59149169921875" z="0.0014652633108198643"/> </Position> </TeleportAction> </PrivateAction> </Private> <Private entityRef="pedestrian_close_to_hero_2664"> <PrivateAction> <TeleportAction> <Position> <WorldPosition x="-16.695405960083008" y="-151.13780212402344" z="0.0014652633108198643"/> </Position> </TeleportAction> </PrivateAction> </Private> <Private entityRef="pedestrian_close_to_hero_2666"> <PrivateAction> <TeleportAction> <Position> <WorldPosition x="-10.271044731140137" y="-143.21495056152344" z="0.0014652633108198643"/> </Position> </TeleportAction> </PrivateAction> </Private> <Private entityRef="pedestrian_close_to_hero_2667"> <PrivateAction> <TeleportAction> <Position> <WorldPosition x="-5.433366298675537" y="-155.2522430419922" z="0.0014652633108198643"/> </Position> </TeleportAction> </PrivateAction> </Private> <Private entityRef="pedestrian_w_transform_2668"> <PrivateAction> <TeleportAction> <Position> <WorldPosition x="48.59869384765625" y="32.930660247802734" z="0.5"/> </Position> </TeleportAction> </PrivateAction> </Private> <Private entityRef="pedestrian_close_to_standing_2669"> <PrivateAction> <TeleportAction> <Position> <WorldPosition x="-10.037895202636719" y="23.231098175048828" z="0.003033294575288892"/> </Position> </TeleportAction> </PrivateAction> </Private> <Private entityRef="pedestrian_close_to_adversary_2670"> <PrivateAction> <TeleportAction> <Position> <WorldPosition x="-3.7865793704986572" y="-64.12178039550781" z="0.033866044133901596"/> </Position> </TeleportAction> </PrivateAction> </Private> <Private entityRef="pedestrian_close_to_standing_2671"> <PrivateAction> <TeleportAction> <Position> <WorldPosition x="-14.98993968963623" y="30.300188064575195" z="0.003052101004868746"/> </Position> </TeleportAction> </PrivateAction> </Private> <Private entityRef="pedestrian_w_transform_2672"> <PrivateAction> <TeleportAction> <Position> <WorldPosition x="70.64073944091797" y="-16.314414978027344" z="0.5"/> </Position> </TeleportAction> </PrivateAction> </Private> <Private entityRef="pedestrian_close_to_hero_2673"> <PrivateAction> <TeleportAction> <Position> <WorldPosition x="-8.896862030029297" y="-144.6792449951172" z="0.0014652633108198643"/> </Position> </TeleportAction> </PrivateAction> </Private> <Private entityRef="pedestrian_close_to_standing_2674"> <PrivateAction> <TeleportAction> <Position> <WorldPosition x="-13.105022430419922" y="21.94660758972168" z="0.0030687712132930756"/> </Position> </TeleportAction> </PrivateAction> </Private> <Private entityRef="pedestrian_close_to_adversary_2675"> <PrivateAction> <TeleportAction> <Position> <WorldPosition x="-15.995746612548828" y="-63.37792205810547" z="0.0338224396109581"/> </Position> </TeleportAction> </PrivateAction> </Private> <Private entityRef="pedestrian_close_to_hero_2676"> <PrivateAction> <TeleportAction> <Position> <WorldPosition x="-10.927802085876465" y="-158.34927368164062" z="0.0014652633108198643"/> </Position> </TeleportAction> </PrivateAction> </Private> <Private entityRef="pedestrian_w_transform_2677"> <PrivateAction> <TeleportAction> <Position> <WorldPosition x="13.546220779418945" y="32.49065017700195" z="0.5"/> </Position> </TeleportAction> </PrivateAction> </Private> <Private entityRef="pedestrian_close_to_hero_2678"> <PrivateAction> <TeleportAction> <Position> <WorldPosition x="-6.505977153778076" y="-150.3334503173828" z="0.0014652633108198643"/> </Position> </TeleportAction> </PrivateAction> </Private> <Private entityRef="pedestrian_close_to_hero_2679"> <PrivateAction> <TeleportAction> <Position> <WorldPosition x="-14.322076797485352" y="-143.6826171875" z="0.0014652633108198643"/> </Position> </TeleportAction> </PrivateAction> </Private> <Private entityRef="pedestrian_close_to_standing_2680"> <PrivateAction> <TeleportAction> <Position> <WorldPosition x="-6.677501201629639" y="24.680618286132812" z="0.0030400084797292948"/> </Position> </TeleportAction> </PrivateAction> </Private> <Private entityRef="pedestrian_close_to_hero_2681"> <PrivateAction> <TeleportAction> <Position> <WorldPosition x="-9.012965202331543" y="-155.33303833007812" z="0.0014652633108198643"/> </Position> </TeleportAction> </PrivateAction> </Private> <Private entityRef="pedestrian_close_to_standing_2682"> <PrivateAction> <TeleportAction> <Position> <WorldPosition x="-4.108823776245117" y="16.013883590698242" z="0.0030216979794204235"/> </Position> </TeleportAction> </PrivateAction> </Private> <Private entityRef="pedestrian_close_to_adversary_2683"> <PrivateAction> <TeleportAction> <Position> <WorldPosition x="-18.10529327392578" y="-63.83173751831055" z="0.03380138427019119"/> </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 (-24.44, -91.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_hero_6592"> <Pedestrian model="walker.pedestrian.0001" mass="80" name="walker.pedestrian.0001" pedestrianCategory="pedestrian"> <ParameterDeclarations/> <BoundingBox> <Center x="1.5" y="0.0" z="0.9"/> <Dimensions width="2" length="2" height="2"/> </BoundingBox> <Properties> <Property name="type" value="simulation"/> </Properties> </Pedestrian> </ScenarioObject> <ScenarioObject name="pedestrian_close_to_standing_6593"> <Pedestrian model="walker.pedestrian.0001" mass="80" name="walker.pedestrian.0001" pedestrianCategory="pedestrian"> <ParameterDeclarations/> <BoundingBox> <Center x="1.5" y="0.0" z="0.9"/> <Dimensions width="2" length="2" height="2"/> </BoundingBox> <Properties> <Property name="type" value="simulation"/> </Properties> </Pedestrian> </ScenarioObject> <ScenarioObject name="pedestrian_close_to_adversary_6594"> <Pedestrian model="walker.pedestrian.0001" mass="80" name="walker.pedestrian.0001" pedestrianCategory="pedestrian"> <ParameterDeclarations/> <BoundingBox> <Center x="1.5" y="0.0" z="0.9"/> <Dimensions width="2" length="2" height="2"/> </BoundingBox> <Properties> <Property name="type" value="simulation"/> </Properties> </Pedestrian> </ScenarioObject> <ScenarioObject name="pedestrian_close_to_hero_6595"> <Pedestrian model="walker.pedestrian.0001" mass="80" name="walker.pedestrian.0001" pedestrianCategory="pedestrian"> <ParameterDeclarations/> <BoundingBox> <Center x="1.5" y="0.0" z="0.9"/> <Dimensions width="2" length="2" height="2"/> </BoundingBox> <Properties> <Property name="type" value="simulation"/> </Properties> </Pedestrian> </ScenarioObject> <ScenarioObject name="pedestrian_close_to_adversary_6596"> <Pedestrian model="walker.pedestrian.0001" mass="80" name="walker.pedestrian.0001" pedestrianCategory="pedestrian"> <ParameterDeclarations/> <BoundingBox> <Center x="1.5" y="0.0" z="0.9"/> <Dimensions width="2" length="2" height="2"/> </BoundingBox> <Properties> <Property name="type" value="simulation"/> </Properties> </Pedestrian> </ScenarioObject> <ScenarioObject name="pedestrian_close_to_standing_6597"> <Pedestrian model="walker.pedestrian.0001" mass="80" name="walker.pedestrian.0001" pedestrianCategory="pedestrian"> <ParameterDeclarations/> <BoundingBox> <Center x="1.5" y="0.0" z="0.9"/> <Dimensions width="2" length="2" height="2"/> </BoundingBox> <Properties> <Property name="type" value="simulation"/> </Properties> </Pedestrian> </ScenarioObject> <ScenarioObject name="pedestrian_w_transform_6598"> <Pedestrian model="walker.pedestrian.0001" mass="80" name="walker.pedestrian.0001" pedestrianCategory="pedestrian"> <ParameterDeclarations/> <BoundingBox> <Center x="1.5" y="0.0" z="0.9"/> <Dimensions width="2" length="2" height="2"/> </BoundingBox> <Properties> <Property name="type" value="simulation"/> </Properties> </Pedestrian> </ScenarioObject> <ScenarioObject name="pedestrian_w_transform_6599"> <Pedestrian model="walker.pedestrian.0001" mass="80" name="walker.pedestrian.0001" pedestrianCategory="pedestrian"> <ParameterDeclarations/> <BoundingBox> <Center x="1.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_6592"> <PrivateAction> <TeleportAction> <Position> <WorldPosition x="3.0140206813812256" y="-156.20208740234375" z="0.0018838500836864114"/> </Position> </TeleportAction> </PrivateAction> </Private> <Private entityRef="pedestrian_close_to_standing_6593"> <PrivateAction> <TeleportAction> <Position> <WorldPosition x="-12.020525932312012" y="21.90202522277832" z="0.003130760043859482"/> </Position> </TeleportAction> </PrivateAction> </Private> <Private entityRef="pedestrian_close_to_adversary_6594"> <PrivateAction> <TeleportAction> <Position> <WorldPosition x="-1.3226920366287231" y="-65.1239242553711" z="0.033862609416246414"/> </Position> </TeleportAction> </PrivateAction> </Private> <Private entityRef="pedestrian_close_to_hero_6595"> <PrivateAction> <TeleportAction> <Position> <WorldPosition x="-7.78938627243042" y="-154.974365234375" z="0.0018838500836864114"/> </Position> </TeleportAction> </PrivateAction> </Private> <Private entityRef="pedestrian_close_to_adversary_6596"> <PrivateAction> <TeleportAction> <Position> <WorldPosition x="-2.3044676780700684" y="-79.13204956054688" z="0.03386303037405014"/> </Position> </TeleportAction> </PrivateAction> </Private> <Private entityRef="pedestrian_close_to_standing_6597"> <PrivateAction> <TeleportAction> <Position> <WorldPosition x="-13.507659912109375" y="26.542272567749023" z="0.0031232833862304688"/> </Position> </TeleportAction> </PrivateAction> </Private> <Private entityRef="pedestrian_w_transform_6598"> <PrivateAction> <TeleportAction> <Position> <WorldPosition x="-57.321014404296875" y="58.71258544921875" z="0.5"/> </Position> </TeleportAction> </PrivateAction> </Private> <Private entityRef="pedestrian_w_transform_6599"> <PrivateAction> <TeleportAction> <Position> <WorldPosition x="-1.1932580471038818" y="47.83903884887695" 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_6592"> <Pedestrian model="walker.pedestrian.0001" mass="80" name="walker.pedestrian.0001" pedestrianCategory="pedestrian"> <ParameterDeclarations/> <BoundingBox> <Center x="1.5" y="0.0" z="0.9"/> <Dimensions width="2" length="2" height="2"/> </BoundingBox> <Properties> <Property name="type" value="simulation"/> </Properties> </Pedestrian> </ScenarioObject> <ScenarioObject name="pedestrian_close_to_standing_6593"> <Pedestrian model="walker.pedestrian.0001" mass="80" name="walker.pedestrian.0001" pedestrianCategory="pedestrian"> <ParameterDeclarations/> <BoundingBox> <Center x="1.5" y="0.0" z="0.9"/> <Dimensions width="2" length="2" height="2"/> </BoundingBox> <Properties> <Property name="type" value="simulation"/> </Properties> </Pedestrian> </ScenarioObject> <ScenarioObject name="pedestrian_close_to_adversary_6594"> <Pedestrian model="walker.pedestrian.0001" mass="80" name="walker.pedestrian.0001" pedestrianCategory="pedestrian"> <ParameterDeclarations/> <BoundingBox> <Center x="1.5" y="0.0" z="0.9"/> <Dimensions width="2" length="2" height="2"/> </BoundingBox> <Properties> <Property name="type" value="simulation"/> </Properties> </Pedestrian> </ScenarioObject> <ScenarioObject name="pedestrian_close_to_hero_6595"> <Pedestrian model="walker.pedestrian.0001" mass="80" name="walker.pedestrian.0001" pedestrianCategory="pedestrian"> <ParameterDeclarations/> <BoundingBox> <Center x="1.5" y="0.0" z="0.9"/> <Dimensions width="2" length="2" height="2"/> </BoundingBox> <Properties> <Property name="type" value="simulation"/> </Properties> </Pedestrian> </ScenarioObject> <ScenarioObject name="pedestrian_close_to_adversary_6596"> <Pedestrian model="walker.pedestrian.0001" mass="80" name="walker.pedestrian.0001" pedestrianCategory="pedestrian"> <ParameterDeclarations/> <BoundingBox> <Center x="1.5" y="0.0" z="0.9"/> <Dimensions width="2" length="2" height="2"/> </BoundingBox> <Properties> <Property name="type" value="simulation"/> </Properties> </Pedestrian> </ScenarioObject> <ScenarioObject name="pedestrian_close_to_standing_6597"> <Pedestrian model="walker.pedestrian.0001" mass="80" name="walker.pedestrian.0001" pedestrianCategory="pedestrian"> <ParameterDeclarations/> <BoundingBox> <Center x="1.5" y="0.0" z="0.9"/> <Dimensions width="2" length="2" height="2"/> </BoundingBox> <Properties> <Property name="type" value="simulation"/> </Properties> </Pedestrian> </ScenarioObject> <ScenarioObject name="pedestrian_w_transform_6598"> <Pedestrian model="walker.pedestrian.0001" mass="80" name="walker.pedestrian.0001" pedestrianCategory="pedestrian"> <ParameterDeclarations/> <BoundingBox> <Center x="1.5" y="0.0" z="0.9"/> <Dimensions width="2" length="2" height="2"/> </BoundingBox> <Properties> <Property name="type" value="simulation"/> </Properties> </Pedestrian> </ScenarioObject> <ScenarioObject name="pedestrian_w_transform_6599"> <Pedestrian model="walker.pedestrian.0001" mass="80" name="walker.pedestrian.0001" pedestrianCategory="pedestrian"> <ParameterDeclarations/> <BoundingBox> <Center x="1.5" y="0.0" z="0.9"/> <Dimensions width="2" length="2" height="2"/> </BoundingBox> <Properties> <Property name="type" value="simulation"/> </Properties> </Pedestrian> </ScenarioObject> <ScenarioObject name="pedestrian_w_transform_6601"> <Pedestrian model="walker.pedestrian.0001" mass="80" name="walker.pedestrian.0001" pedestrianCategory="pedestrian"> <ParameterDeclarations/> <BoundingBox> <Center x="1.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_6592"> <PrivateAction> <TeleportAction> <Position> <WorldPosition x="3.0140206813812256" y="-156.20208740234375" z="0.0018838500836864114"/> </Position> </TeleportAction> </PrivateAction> </Private> <Private entityRef="pedestrian_close_to_standing_6593"> <PrivateAction> <TeleportAction> <Position> <WorldPosition x="-12.020525932312012" y="21.90202522277832" z="0.003130760043859482"/> </Position> </TeleportAction> </PrivateAction> </Private> <Private entityRef="pedestrian_close_to_adversary_6594"> <PrivateAction> <TeleportAction> <Position> <WorldPosition x="-1.3226920366287231" y="-65.1239242553711" z="0.033862609416246414"/> </Position> </TeleportAction> </PrivateAction> </Private> <Private entityRef="pedestrian_close_to_hero_6595"> <PrivateAction> <TeleportAction> <Position> <WorldPosition x="-7.78938627243042" y="-154.974365234375" z="0.0018838500836864114"/> </Position> </TeleportAction> </PrivateAction> </Private> <Private entityRef="pedestrian_close_to_adversary_6596"> <PrivateAction> <TeleportAction> <Position> <WorldPosition x="-2.3044676780700684" y="-79.13204956054688" z="0.03386303037405014"/> </Position> </TeleportAction> </PrivateAction> </Private> <Private entityRef="pedestrian_close_to_standing_6597"> <PrivateAction> <TeleportAction> <Position> <WorldPosition x="-13.507659912109375" y="26.542272567749023" z="0.0031232833862304688"/> </Position> </TeleportAction> </PrivateAction> </Private> <Private entityRef="pedestrian_w_transform_6598"> <PrivateAction> <TeleportAction> <Position> <WorldPosition x="-57.321014404296875" y="58.71258544921875" z="0.5"/> </Position> </TeleportAction> </PrivateAction> </Private> <Private entityRef="pedestrian_w_transform_6599"> <PrivateAction> <TeleportAction> <Position> <WorldPosition x="-1.1932580471038818" y="47.83903884887695" z="0.5"/> </Position> </TeleportAction> </PrivateAction> </Private> <Private entityRef="pedestrian_w_transform_6601"> <PrivateAction> <TeleportAction> <Position> <WorldPosition x="-24.440196990966797" y="-91.30619812011719" 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 actor named pedestrian_w_transform_20241? ``` <?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_20223"> <Pedestrian model="walker.pedestrian.0001" mass="80" name="walker.pedestrian.0001" pedestrianCategory="pedestrian"> <ParameterDeclarations/> <BoundingBox> <Center x="1.5" y="0.0" z="0.9"/> <Dimensions width="2" length="2" height="2"/> </BoundingBox> <Properties> <Property name="type" value="simulation"/> </Properties> </Pedestrian> </ScenarioObject> <ScenarioObject name="pedestrian_close_to_standing_20225"> <Pedestrian model="walker.pedestrian.0001" mass="80" name="walker.pedestrian.0001" pedestrianCategory="pedestrian"> <ParameterDeclarations/> <BoundingBox> <Center x="1.5" y="0.0" z="0.9"/> <Dimensions width="2" length="2" height="2"/> </BoundingBox> <Properties> <Property name="type" value="simulation"/> </Properties> </Pedestrian> </ScenarioObject> <ScenarioObject name="pedestrian_w_transform_20227"> <Pedestrian model="walker.pedestrian.0001" mass="80" name="walker.pedestrian.0001" pedestrianCategory="pedestrian"> <ParameterDeclarations/> <BoundingBox> <Center x="1.5" y="0.0" z="0.9"/> <Dimensions width="2" length="2" height="2"/> </BoundingBox> <Properties> <Property name="type" value="simulation"/> </Properties> </Pedestrian> </ScenarioObject> <ScenarioObject name="pedestrian_close_to_hero_20228"> <Pedestrian model="walker.pedestrian.0001" mass="80" name="walker.pedestrian.0001" pedestrianCategory="pedestrian"> <ParameterDeclarations/> <BoundingBox> <Center x="1.5" y="0.0" z="0.9"/> <Dimensions width="2" length="2" height="2"/> </BoundingBox> <Properties> <Property name="type" value="simulation"/> </Properties> </Pedestrian> </ScenarioObject> <ScenarioObject name="pedestrian_w_transform_20230"> <Pedestrian model="walker.pedestrian.0001" mass="80" name="walker.pedestrian.0001" pedestrianCategory="pedestrian"> <ParameterDeclarations/> <BoundingBox> <Center x="1.5" y="0.0" z="0.9"/> <Dimensions width="2" length="2" height="2"/> </BoundingBox> <Properties> <Property name="type" value="simulation"/> </Properties> </Pedestrian> </ScenarioObject> <ScenarioObject name="pedestrian_close_to_hero_20231"> <Pedestrian model="walker.pedestrian.0001" mass="80" name="walker.pedestrian.0001" pedestrianCategory="pedestrian"> <ParameterDeclarations/> <BoundingBox> <Center x="1.5" y="0.0" z="0.9"/> <Dimensions width="2" length="2" height="2"/> </BoundingBox> <Properties> <Property name="type" value="simulation"/> </Properties> </Pedestrian> </ScenarioObject> <ScenarioObject name="pedestrian_w_transform_20232"> <Pedestrian model="walker.pedestrian.0001" mass="80" name="walker.pedestrian.0001" pedestrianCategory="pedestrian"> <ParameterDeclarations/> <BoundingBox> <Center x="1.5" y="0.0" z="0.9"/> <Dimensions width="2" length="2" height="2"/> </BoundingBox> <Properties> <Property name="type" value="simulation"/> </Properties> </Pedestrian> </ScenarioObject> <ScenarioObject name="pedestrian_close_to_hero_20234"> <Pedestrian model="walker.pedestrian.0001" mass="80" name="walker.pedestrian.0001" pedestrianCategory="pedestrian"> <ParameterDeclarations/> <BoundingBox> <Center x="1.5" y="0.0" z="0.9"/> <Dimensions width="2" length="2" height="2"/> </BoundingBox> <Properties> <Property name="type" value="simulation"/> </Properties> </Pedestrian> </ScenarioObject> <ScenarioObject name="pedestrian_close_to_adversary_20235"> <Pedestrian model="walker.pedestrian.0001" mass="80" name="walker.pedestrian.0001" pedestrianCategory="pedestrian"> <ParameterDeclarations/> <BoundingBox> <Center x="1.5" y="0.0" z="0.9"/> <Dimensions width="2" length="2" height="2"/> </BoundingBox> <Properties> <Property name="type" value="simulation"/> </Properties> </Pedestrian> </ScenarioObject> <ScenarioObject name="pedestrian_w_transform_20236"> <Pedestrian model="walker.pedestrian.0001" mass="80" name="walker.pedestrian.0001" pedestrianCategory="pedestrian"> <ParameterDeclarations/> <BoundingBox> <Center x="1.5" y="0.0" z="0.9"/> <Dimensions width="2" length="2" height="2"/> </BoundingBox> <Properties> <Property name="type" value="simulation"/> </Properties> </Pedestrian> </ScenarioObject> <ScenarioObject name="pedestrian_close_to_hero_20237"> <Pedestrian model="walker.pedestrian.0001" mass="80" name="walker.pedestrian.0001" pedestrianCategory="pedestrian"> <ParameterDeclarations/> <BoundingBox> <Center x="1.5" y="0.0" z="0.9"/> <Dimensions width="2" length="2" height="2"/> </BoundingBox> <Properties> <Property name="type" value="simulation"/> </Properties> </Pedestrian> </ScenarioObject> <ScenarioObject name="pedestrian_close_to_hero_20238"> <Pedestrian model="walker.pedestrian.0001" mass="80" name="walker.pedestrian.0001" pedestrianCategory="pedestrian"> <ParameterDeclarations/> <BoundingBox> <Center x="1.5" y="0.0" z="0.9"/> <Dimensions width="2" length="2" height="2"/> </BoundingBox> <Properties> <Property name="type" value="simulation"/> </Properties> </Pedestrian> </ScenarioObject> <ScenarioObject name="pedestrian_close_to_hero_20239"> <Pedestrian model="walker.pedestrian.0001" mass="80" name="walker.pedestrian.0001" pedestrianCategory="pedestrian"> <ParameterDeclarations/> <BoundingBox> <Center x="1.5" y="0.0" z="0.9"/> <Dimensions width="2" length="2" height="2"/> </BoundingBox> <Properties> <Property name="type" value="simulation"/> </Properties> </Pedestrian> </ScenarioObject> <ScenarioObject name="pedestrian_close_to_hero_20240"> <Pedestrian model="walker.pedestrian.0001" mass="80" name="walker.pedestrian.0001" pedestrianCategory="pedestrian"> <ParameterDeclarations/> <BoundingBox> <Center x="1.5" y="0.0" z="0.9"/> <Dimensions width="2" length="2" height="2"/> </BoundingBox> <Properties> <Property name="type" value="simulation"/> </Properties> </Pedestrian> </ScenarioObject> <ScenarioObject name="pedestrian_w_transform_20241"> <Pedestrian model="walker.pedestrian.0001" mass="80" name="walker.pedestrian.0001" pedestrianCategory="pedestrian"> <ParameterDeclarations/> <BoundingBox> <Center x="1.5" y="0.0" z="0.9"/> <Dimensions width="2" length="2" height="2"/> </BoundingBox> <Properties> <Property name="type" value="simulation"/> </Properties> </Pedestrian> </ScenarioObject> <ScenarioObject name="pedestrian_close_to_adversary_20242"> <Pedestrian model="walker.pedestrian.0001" mass="80" name="walker.pedestrian.0001" pedestrianCategory="pedestrian"> <ParameterDeclarations/> <BoundingBox> <Center x="1.5" y="0.0" z="0.9"/> <Dimensions width="2" length="2" height="2"/> </BoundingBox> <Properties> <Property name="type" value="simulation"/> </Properties> </Pedestrian> </ScenarioObject> <ScenarioObject name="pedestrian_close_to_hero_20243"> <Pedestrian model="walker.pedestrian.0001" mass="80" name="walker.pedestrian.0001" pedestrianCategory="pedestrian"> <ParameterDeclarations/> <BoundingBox> <Center x="1.5" y="0.0" z="0.9"/> <Dimensions width="2" length="2" height="2"/> </BoundingBox> <Properties> <Property name="type" value="simulation"/> </Properties> </Pedestrian> </ScenarioObject> <ScenarioObject name="pedestrian_w_transform_20245"> <Pedestrian model="walker.pedestrian.0001" mass="80" name="walker.pedestrian.0001" pedestrianCategory="pedestrian"> <ParameterDeclarations/> <BoundingBox> <Center x="1.5" y="0.0" z="0.9"/> <Dimensions width="2" length="2" height="2"/> </BoundingBox> <Properties> <Property name="type" value="simulation"/> </Properties> </Pedestrian> </ScenarioObject> <ScenarioObject name="pedestrian_w_transform_20246"> <Pedestrian model="walker.pedestrian.0001" mass="80" name="walker.pedestrian.0001" pedestrianCategory="pedestrian"> <ParameterDeclarations/> <BoundingBox> <Center x="1.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_20223"> <PrivateAction> <TeleportAction> <Position> <WorldPosition x="89.79345703125" y="-72.99579620361328" z="0.5"/> </Position> </TeleportAction> </PrivateAction> </Private> <Private entityRef="pedestrian_close_to_standing_20225"> <PrivateAction> <TeleportAction> <Position> <WorldPosition x="1.574608325958252" y="38.49239730834961" z="0.003052024869248271"/> </Position> </TeleportAction> </PrivateAction> </Private> <Private entityRef="pedestrian_w_transform_20227"> <PrivateAction> <TeleportAction> <Position> <WorldPosition x="69.37073516845703" y="27.13322639465332" z="0.5"/> </Position> </TeleportAction> </PrivateAction> </Private> <Private entityRef="pedestrian_close_to_hero_20228"> <PrivateAction> <TeleportAction> <Position> <WorldPosition x="-10.921187400817871" y="-154.53018188476562" z="0.0014652633108198643"/> </Position> </TeleportAction> </PrivateAction> </Private> <Private entityRef="pedestrian_w_transform_20230"> <PrivateAction> <TeleportAction> <Position> <WorldPosition x="2.3957276344299316" y="83.18289947509766" z="0.5"/> </Position> </TeleportAction> </PrivateAction> </Private> <Private entityRef="pedestrian_close_to_hero_20231"> <PrivateAction> <TeleportAction> <Position> <WorldPosition x="-18.928064346313477" y="-144.01712036132812" z="0.0014652633108198643"/> </Position> </TeleportAction> </PrivateAction> </Private> <Private entityRef="pedestrian_w_transform_20232"> <PrivateAction> <TeleportAction> <Position> <WorldPosition x="-64.63557434082031" y="95.50704193115234" z="0.5"/> </Position> </TeleportAction> </PrivateAction> </Private> <Private entityRef="pedestrian_close_to_hero_20234"> <PrivateAction> <TeleportAction> <Position> <WorldPosition x="-3.1019797325134277" y="-159.0074462890625" z="0.0014652633108198643"/> </Position> </TeleportAction> </PrivateAction> </Private> <Private entityRef="pedestrian_close_to_adversary_20235"> <PrivateAction> <TeleportAction> <Position> <WorldPosition x="-9.033920288085938" y="-80.08061218261719" z="0.03383472189307213"/> </Position> </TeleportAction> </PrivateAction> </Private> <Private entityRef="pedestrian_w_transform_20236"> <PrivateAction> <TeleportAction> <Position> <WorldPosition x="-65.92752075195312" y="33.17264938354492" z="0.5"/> </Position> </TeleportAction> </PrivateAction> </Private> <Private entityRef="pedestrian_close_to_hero_20237"> <PrivateAction> <TeleportAction> <Position> <WorldPosition x="-14.184694290161133" y="-142.98947143554688" z="0.0014652633108198643"/> </Position> </TeleportAction> </PrivateAction> </Private> <Private entityRef="pedestrian_close_to_hero_20238"> <PrivateAction> <TeleportAction> <Position> <WorldPosition x="-11.940933227539062" y="-146.37051391601562" z="0.0014652633108198643"/> </Position> </TeleportAction> </PrivateAction> </Private> <Private entityRef="pedestrian_close_to_hero_20239"> <PrivateAction> <TeleportAction> <Position> <WorldPosition x="-11.578232765197754" y="-161.47203063964844" z="0.0014652633108198643"/> </Position> </TeleportAction> </PrivateAction> </Private> <Private entityRef="pedestrian_close_to_hero_20240"> <PrivateAction> <TeleportAction> <Position> <WorldPosition x="-6.399094581604004" y="-160.31741333007812" z="0.0014652633108198643"/> </Position> </TeleportAction> </PrivateAction> </Private> <Private entityRef="pedestrian_w_transform_20241"> <PrivateAction> <TeleportAction> <Position> <WorldPosition x="75.37174987792969" y="34.387027740478516" z="0.5"/> </Position> </TeleportAction> </PrivateAction> </Private> <Private entityRef="pedestrian_close_to_adversary_20242"> <PrivateAction> <TeleportAction> <Position> <WorldPosition x="-2.7936136722564697" y="-77.50994873046875" z="0.03379558399319649"/> </Position> </TeleportAction> </PrivateAction> </Private> <Private entityRef="pedestrian_close_to_hero_20243"> <PrivateAction> <TeleportAction> <Position> <WorldPosition x="-6.334597110748291" y="-159.2605743408203" z="0.0014652633108198643"/> </Position> </TeleportAction> </PrivateAction> </Private> <Private entityRef="pedestrian_w_transform_20245"> <PrivateAction> <TeleportAction> <Position> <WorldPosition x="18.74928855895996" y="43.21945571899414" z="0.5"/> </Position> </TeleportAction> </PrivateAction> </Private> <Private entityRef="pedestrian_w_transform_20246"> <PrivateAction> <TeleportAction> <Position> <WorldPosition x="98.93876647949219" y="23.01426887512207" 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_20223"> <Pedestrian model="walker.pedestrian.0001" mass="80" name="walker.pedestrian.0001" pedestrianCategory="pedestrian"> <ParameterDeclarations/> <BoundingBox> <Center x="1.5" y="0.0" z="0.9"/> <Dimensions width="2" length="2" height="2"/> </BoundingBox> <Properties> <Property name="type" value="simulation"/> </Properties> </Pedestrian> </ScenarioObject> <ScenarioObject name="pedestrian_close_to_standing_20225"> <Pedestrian model="walker.pedestrian.0001" mass="80" name="walker.pedestrian.0001" pedestrianCategory="pedestrian"> <ParameterDeclarations/> <BoundingBox> <Center x="1.5" y="0.0" z="0.9"/> <Dimensions width="2" length="2" height="2"/> </BoundingBox> <Properties> <Property name="type" value="simulation"/> </Properties> </Pedestrian> </ScenarioObject> <ScenarioObject name="pedestrian_w_transform_20227"> <Pedestrian model="walker.pedestrian.0001" mass="80" name="walker.pedestrian.0001" pedestrianCategory="pedestrian"> <ParameterDeclarations/> <BoundingBox> <Center x="1.5" y="0.0" z="0.9"/> <Dimensions width="2" length="2" height="2"/> </BoundingBox> <Properties> <Property name="type" value="simulation"/> </Properties> </Pedestrian> </ScenarioObject> <ScenarioObject name="pedestrian_close_to_hero_20228"> <Pedestrian model="walker.pedestrian.0001" mass="80" name="walker.pedestrian.0001" pedestrianCategory="pedestrian"> <ParameterDeclarations/> <BoundingBox> <Center x="1.5" y="0.0" z="0.9"/> <Dimensions width="2" length="2" height="2"/> </BoundingBox> <Properties> <Property name="type" value="simulation"/> </Properties> </Pedestrian> </ScenarioObject> <ScenarioObject name="pedestrian_w_transform_20230"> <Pedestrian model="walker.pedestrian.0001" mass="80" name="walker.pedestrian.0001" pedestrianCategory="pedestrian"> <ParameterDeclarations/> <BoundingBox> <Center x="1.5" y="0.0" z="0.9"/> <Dimensions width="2" length="2" height="2"/> </BoundingBox> <Properties> <Property name="type" value="simulation"/> </Properties> </Pedestrian> </ScenarioObject> <ScenarioObject name="pedestrian_close_to_hero_20231"> <Pedestrian model="walker.pedestrian.0001" mass="80" name="walker.pedestrian.0001" pedestrianCategory="pedestrian"> <ParameterDeclarations/> <BoundingBox> <Center x="1.5" y="0.0" z="0.9"/> <Dimensions width="2" length="2" height="2"/> </BoundingBox> <Properties> <Property name="type" value="simulation"/> </Properties> </Pedestrian> </ScenarioObject> <ScenarioObject name="pedestrian_w_transform_20232"> <Pedestrian model="walker.pedestrian.0001" mass="80" name="walker.pedestrian.0001" pedestrianCategory="pedestrian"> <ParameterDeclarations/> <BoundingBox> <Center x="1.5" y="0.0" z="0.9"/> <Dimensions width="2" length="2" height="2"/> </BoundingBox> <Properties> <Property name="type" value="simulation"/> </Properties> </Pedestrian> </ScenarioObject> <ScenarioObject name="pedestrian_close_to_hero_20234"> <Pedestrian model="walker.pedestrian.0001" mass="80" name="walker.pedestrian.0001" pedestrianCategory="pedestrian"> <ParameterDeclarations/> <BoundingBox> <Center x="1.5" y="0.0" z="0.9"/> <Dimensions width="2" length="2" height="2"/> </BoundingBox> <Properties> <Property name="type" value="simulation"/> </Properties> </Pedestrian> </ScenarioObject> <ScenarioObject name="pedestrian_close_to_adversary_20235"> <Pedestrian model="walker.pedestrian.0001" mass="80" name="walker.pedestrian.0001" pedestrianCategory="pedestrian"> <ParameterDeclarations/> <BoundingBox> <Center x="1.5" y="0.0" z="0.9"/> <Dimensions width="2" length="2" height="2"/> </BoundingBox> <Properties> <Property name="type" value="simulation"/> </Properties> </Pedestrian> </ScenarioObject> <ScenarioObject name="pedestrian_w_transform_20236"> <Pedestrian model="walker.pedestrian.0001" mass="80" name="walker.pedestrian.0001" pedestrianCategory="pedestrian"> <ParameterDeclarations/> <BoundingBox> <Center x="1.5" y="0.0" z="0.9"/> <Dimensions width="2" length="2" height="2"/> </BoundingBox> <Properties> <Property name="type" value="simulation"/> </Properties> </Pedestrian> </ScenarioObject> <ScenarioObject name="pedestrian_close_to_hero_20237"> <Pedestrian model="walker.pedestrian.0001" mass="80" name="walker.pedestrian.0001" pedestrianCategory="pedestrian"> <ParameterDeclarations/> <BoundingBox> <Center x="1.5" y="0.0" z="0.9"/> <Dimensions width="2" length="2" height="2"/> </BoundingBox> <Properties> <Property name="type" value="simulation"/> </Properties> </Pedestrian> </ScenarioObject> <ScenarioObject name="pedestrian_close_to_hero_20238"> <Pedestrian model="walker.pedestrian.0001" mass="80" name="walker.pedestrian.0001" pedestrianCategory="pedestrian"> <ParameterDeclarations/> <BoundingBox> <Center x="1.5" y="0.0" z="0.9"/> <Dimensions width="2" length="2" height="2"/> </BoundingBox> <Properties> <Property name="type" value="simulation"/> </Properties> </Pedestrian> </ScenarioObject> <ScenarioObject name="pedestrian_close_to_hero_20239"> <Pedestrian model="walker.pedestrian.0001" mass="80" name="walker.pedestrian.0001" pedestrianCategory="pedestrian"> <ParameterDeclarations/> <BoundingBox> <Center x="1.5" y="0.0" z="0.9"/> <Dimensions width="2" length="2" height="2"/> </BoundingBox> <Properties> <Property name="type" value="simulation"/> </Properties> </Pedestrian> </ScenarioObject> <ScenarioObject name="pedestrian_close_to_hero_20240"> <Pedestrian model="walker.pedestrian.0001" mass="80" name="walker.pedestrian.0001" pedestrianCategory="pedestrian"> <ParameterDeclarations/> <BoundingBox> <Center x="1.5" y="0.0" z="0.9"/> <Dimensions width="2" length="2" height="2"/> </BoundingBox> <Properties> <Property name="type" value="simulation"/> </Properties> </Pedestrian> </ScenarioObject> <ScenarioObject name="pedestrian_close_to_adversary_20242"> <Pedestrian model="walker.pedestrian.0001" mass="80" name="walker.pedestrian.0001" pedestrianCategory="pedestrian"> <ParameterDeclarations/> <BoundingBox> <Center x="1.5" y="0.0" z="0.9"/> <Dimensions width="2" length="2" height="2"/> </BoundingBox> <Properties> <Property name="type" value="simulation"/> </Properties> </Pedestrian> </ScenarioObject> <ScenarioObject name="pedestrian_close_to_hero_20243"> <Pedestrian model="walker.pedestrian.0001" mass="80" name="walker.pedestrian.0001" pedestrianCategory="pedestrian"> <ParameterDeclarations/> <BoundingBox> <Center x="1.5" y="0.0" z="0.9"/> <Dimensions width="2" length="2" height="2"/> </BoundingBox> <Properties> <Property name="type" value="simulation"/> </Properties> </Pedestrian> </ScenarioObject> <ScenarioObject name="pedestrian_w_transform_20245"> <Pedestrian model="walker.pedestrian.0001" mass="80" name="walker.pedestrian.0001" pedestrianCategory="pedestrian"> <ParameterDeclarations/> <BoundingBox> <Center x="1.5" y="0.0" z="0.9"/> <Dimensions width="2" length="2" height="2"/> </BoundingBox> <Properties> <Property name="type" value="simulation"/> </Properties> </Pedestrian> </ScenarioObject> <ScenarioObject name="pedestrian_w_transform_20246"> <Pedestrian model="walker.pedestrian.0001" mass="80" name="walker.pedestrian.0001" pedestrianCategory="pedestrian"> <ParameterDeclarations/> <BoundingBox> <Center x="1.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_20223"> <PrivateAction> <TeleportAction> <Position> <WorldPosition x="89.79345703125" y="-72.99579620361328" z="0.5"/> </Position> </TeleportAction> </PrivateAction> </Private> <Private entityRef="pedestrian_close_to_standing_20225"> <PrivateAction> <TeleportAction> <Position> <WorldPosition x="1.574608325958252" y="38.49239730834961" z="0.003052024869248271"/> </Position> </TeleportAction> </PrivateAction> </Private> <Private entityRef="pedestrian_w_transform_20227"> <PrivateAction> <TeleportAction> <Position> <WorldPosition x="69.37073516845703" y="27.13322639465332" z="0.5"/> </Position> </TeleportAction> </PrivateAction> </Private> <Private entityRef="pedestrian_close_to_hero_20228"> <PrivateAction> <TeleportAction> <Position> <WorldPosition x="-10.921187400817871" y="-154.53018188476562" z="0.0014652633108198643"/> </Position> </TeleportAction> </PrivateAction> </Private> <Private entityRef="pedestrian_w_transform_20230"> <PrivateAction> <TeleportAction> <Position> <WorldPosition x="2.3957276344299316" y="83.18289947509766" z="0.5"/> </Position> </TeleportAction> </PrivateAction> </Private> <Private entityRef="pedestrian_close_to_hero_20231"> <PrivateAction> <TeleportAction> <Position> <WorldPosition x="-18.928064346313477" y="-144.01712036132812" z="0.0014652633108198643"/> </Position> </TeleportAction> </PrivateAction> </Private> <Private entityRef="pedestrian_w_transform_20232"> <PrivateAction> <TeleportAction> <Position> <WorldPosition x="-64.63557434082031" y="95.50704193115234" z="0.5"/> </Position> </TeleportAction> </PrivateAction> </Private> <Private entityRef="pedestrian_close_to_hero_20234"> <PrivateAction> <TeleportAction> <Position> <WorldPosition x="-3.1019797325134277" y="-159.0074462890625" z="0.0014652633108198643"/> </Position> </TeleportAction> </PrivateAction> </Private> <Private entityRef="pedestrian_close_to_adversary_20235"> <PrivateAction> <TeleportAction> <Position> <WorldPosition x="-9.033920288085938" y="-80.08061218261719" z="0.03383472189307213"/> </Position> </TeleportAction> </PrivateAction> </Private> <Private entityRef="pedestrian_w_transform_20236"> <PrivateAction> <TeleportAction> <Position> <WorldPosition x="-65.92752075195312" y="33.17264938354492" z="0.5"/> </Position> </TeleportAction> </PrivateAction> </Private> <Private entityRef="pedestrian_close_to_hero_20237"> <PrivateAction> <TeleportAction> <Position> <WorldPosition x="-14.184694290161133" y="-142.98947143554688" z="0.0014652633108198643"/> </Position> </TeleportAction> </PrivateAction> </Private> <Private entityRef="pedestrian_close_to_hero_20238"> <PrivateAction> <TeleportAction> <Position> <WorldPosition x="-11.940933227539062" y="-146.37051391601562" z="0.0014652633108198643"/> </Position> </TeleportAction> </PrivateAction> </Private> <Private entityRef="pedestrian_close_to_hero_20239"> <PrivateAction> <TeleportAction> <Position> <WorldPosition x="-11.578232765197754" y="-161.47203063964844" z="0.0014652633108198643"/> </Position> </TeleportAction> </PrivateAction> </Private> <Private entityRef="pedestrian_close_to_hero_20240"> <PrivateAction> <TeleportAction> <Position> <WorldPosition x="-6.399094581604004" y="-160.31741333007812" z="0.0014652633108198643"/> </Position> </TeleportAction> </PrivateAction> </Private> <Private entityRef="pedestrian_close_to_adversary_20242"> <PrivateAction> <TeleportAction> <Position> <WorldPosition x="-2.7936136722564697" y="-77.50994873046875" z="0.03379558399319649"/> </Position> </TeleportAction> </PrivateAction> </Private> <Private entityRef="pedestrian_close_to_hero_20243"> <PrivateAction> <TeleportAction> <Position> <WorldPosition x="-6.334597110748291" y="-159.2605743408203" z="0.0014652633108198643"/> </Position> </TeleportAction> </PrivateAction> </Private> <Private entityRef="pedestrian_w_transform_20245"> <PrivateAction> <TeleportAction> <Position> <WorldPosition x="18.74928855895996" y="43.21945571899414" z="0.5"/> </Position> </TeleportAction> </PrivateAction> </Private> <Private entityRef="pedestrian_w_transform_20246"> <PrivateAction> <TeleportAction> <Position> <WorldPosition x="98.93876647949219" y="23.01426887512207" 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 remove pedestrian actor named pedestrian_w_transform_343? ``` <?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_339"> <Pedestrian model="walker.pedestrian.0001" mass="80" name="walker.pedestrian.0001" pedestrianCategory="pedestrian"> <ParameterDeclarations/> <BoundingBox> <Center x="1.5" y="0.0" z="0.9"/> <Dimensions width="2" length="2" height="2"/> </BoundingBox> <Properties> <Property name="type" value="simulation"/> </Properties> </Pedestrian> </ScenarioObject> <ScenarioObject name="pedestrian_w_transform_343"> <Pedestrian model="walker.pedestrian.0001" mass="80" name="walker.pedestrian.0001" pedestrianCategory="pedestrian"> <ParameterDeclarations/> <BoundingBox> <Center x="1.5" y="0.0" z="0.9"/> <Dimensions width="2" length="2" height="2"/> </BoundingBox> <Properties> <Property name="type" value="simulation"/> </Properties> </Pedestrian> </ScenarioObject> <ScenarioObject name="pedestrian_close_to_hero_346"> <Pedestrian model="walker.pedestrian.0001" mass="80" name="walker.pedestrian.0001" pedestrianCategory="pedestrian"> <ParameterDeclarations/> <BoundingBox> <Center x="1.5" y="0.0" z="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_hero_360"> <Pedestrian model="walker.pedestrian.0001" mass="80" name="walker.pedestrian.0001" pedestrianCategory="pedestrian"> <ParameterDeclarations/> <BoundingBox> <Center x="1.5" y="0.0" z="0.9"/> <Dimensions width="2" length="2" height="2"/> </BoundingBox> <Properties> <Property name="type" value="simulation"/> </Properties> </Pedestrian> </ScenarioObject> <ScenarioObject name="pedestrian_close_to_hero_363"> <Pedestrian model="walker.pedestrian.0001" mass="80" name="walker.pedestrian.0001" pedestrianCategory="pedestrian"> <ParameterDeclarations/> <BoundingBox> <Center x="1.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_339"> <PrivateAction> <TeleportAction> <Position> <WorldPosition x="-22.419626235961914" y="-58.9183235168457" z="0.5"/> </Position> </TeleportAction> </PrivateAction> </Private> <Private entityRef="pedestrian_w_transform_343"> <PrivateAction> <TeleportAction> <Position> <WorldPosition x="78.98260498046875" y="-71.71250915527344" z="0.5"/> </Position> </TeleportAction> </PrivateAction> </Private> <Private entityRef="pedestrian_close_to_hero_346"> <PrivateAction> <TeleportAction> <Position> <WorldPosition x="-1.811547040939331" y="-152.74749755859375" z="0.0014652633108198643"/> </Position> </TeleportAction> </PrivateAction> </Private> <Private entityRef="pedestrian_w_transform_350"> <PrivateAction> <TeleportAction> <Position> <WorldPosition x="-37.46916961669922" y="-4.519712924957275" z="0.5"/> </Position> </TeleportAction> </PrivateAction> </Private> <Private entityRef="pedestrian_close_to_hero_360"> <PrivateAction> <TeleportAction> <Position> <WorldPosition x="-23.189464569091797" y="-147.1526336669922" z="0.0014652633108198643"/> </Position> </TeleportAction> </PrivateAction> </Private> <Private entityRef="pedestrian_close_to_hero_363"> <PrivateAction> <TeleportAction> <Position> <WorldPosition x="-1.7816076278686523" y="-145.87982177734375" z="0.0014652633108198643"/> </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_339"> <Pedestrian model="walker.pedestrian.0001" mass="80" name="walker.pedestrian.0001" pedestrianCategory="pedestrian"> <ParameterDeclarations/> <BoundingBox> <Center x="1.5" y="0.0" z="0.9"/> <Dimensions width="2" length="2" height="2"/> </BoundingBox> <Properties> <Property name="type" value="simulation"/> </Properties> </Pedestrian> </ScenarioObject> <ScenarioObject name="pedestrian_close_to_hero_346"> <Pedestrian model="walker.pedestrian.0001" mass="80" name="walker.pedestrian.0001" pedestrianCategory="pedestrian"> <ParameterDeclarations/> <BoundingBox> <Center x="1.5" y="0.0" z="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_hero_360"> <Pedestrian model="walker.pedestrian.0001" mass="80" name="walker.pedestrian.0001" pedestrianCategory="pedestrian"> <ParameterDeclarations/> <BoundingBox> <Center x="1.5" y="0.0" z="0.9"/> <Dimensions width="2" length="2" height="2"/> </BoundingBox> <Properties> <Property name="type" value="simulation"/> </Properties> </Pedestrian> </ScenarioObject> <ScenarioObject name="pedestrian_close_to_hero_363"> <Pedestrian model="walker.pedestrian.0001" mass="80" name="walker.pedestrian.0001" pedestrianCategory="pedestrian"> <ParameterDeclarations/> <BoundingBox> <Center x="1.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_339"> <PrivateAction> <TeleportAction> <Position> <WorldPosition x="-22.419626235961914" y="-58.9183235168457" z="0.5"/> </Position> </TeleportAction> </PrivateAction> </Private> <Private entityRef="pedestrian_close_to_hero_346"> <PrivateAction> <TeleportAction> <Position> <WorldPosition x="-1.811547040939331" y="-152.74749755859375" z="0.0014652633108198643"/> </Position> </TeleportAction> </PrivateAction> </Private> <Private entityRef="pedestrian_w_transform_350"> <PrivateAction> <TeleportAction> <Position> <WorldPosition x="-37.46916961669922" y="-4.519712924957275" z="0.5"/> </Position> </TeleportAction> </PrivateAction> </Private> <Private entityRef="pedestrian_close_to_hero_360"> <PrivateAction> <TeleportAction> <Position> <WorldPosition x="-23.189464569091797" y="-147.1526336669922" z="0.0014652633108198643"/> </Position> </TeleportAction> </PrivateAction> </Private> <Private entityRef="pedestrian_close_to_hero_363"> <PrivateAction> <TeleportAction> <Position> <WorldPosition x="-1.7816076278686523" y="-145.87982177734375" z="0.0014652633108198643"/> </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_hero_13226"> <Pedestrian model="walker.pedestrian.0001" mass="80" name="walker.pedestrian.0001" pedestrianCategory="pedestrian"> <ParameterDeclarations/> <BoundingBox> <Center x="1.5" y="0.0" z="0.9"/> <Dimensions width="2" length="2" height="2"/> </BoundingBox> <Properties> <Property name="type" value="simulation"/> </Properties> </Pedestrian> </ScenarioObject> <ScenarioObject name="pedestrian_w_transform_13227"> <Pedestrian model="walker.pedestrian.0001" mass="80" name="walker.pedestrian.0001" pedestrianCategory="pedestrian"> <ParameterDeclarations/> <BoundingBox> <Center x="1.5" y="0.0" z="0.9"/> <Dimensions width="2" length="2" height="2"/> </BoundingBox> <Properties> <Property name="type" value="simulation"/> </Properties> </Pedestrian> </ScenarioObject> <ScenarioObject name="pedestrian_close_to_adversary_13228"> <Pedestrian model="walker.pedestrian.0001" mass="80" name="walker.pedestrian.0001" pedestrianCategory="pedestrian"> <ParameterDeclarations/> <BoundingBox> <Center x="1.5" y="0.0" z="0.9"/> <Dimensions width="2" length="2" height="2"/> </BoundingBox> <Properties> <Property name="type" value="simulation"/> </Properties> </Pedestrian> </ScenarioObject> <ScenarioObject name="pedestrian_close_to_adversary_13230"> <Pedestrian model="walker.pedestrian.0001" mass="80" name="walker.pedestrian.0001" pedestrianCategory="pedestrian"> <ParameterDeclarations/> <BoundingBox> <Center x="1.5" y="0.0" z="0.9"/> <Dimensions width="2" length="2" height="2"/> </BoundingBox> <Properties> <Property name="type" value="simulation"/> </Properties> </Pedestrian> </ScenarioObject> <ScenarioObject name="pedestrian_close_to_adversary_13231"> <Pedestrian model="walker.pedestrian.0001" mass="80" name="walker.pedestrian.0001" pedestrianCategory="pedestrian"> <ParameterDeclarations/> <BoundingBox> <Center x="1.5" y="0.0" z="0.9"/> <Dimensions width="2" length="2" height="2"/> </BoundingBox> <Properties> <Property name="type" value="simulation"/> </Properties> </Pedestrian> </ScenarioObject> <ScenarioObject name="pedestrian_close_to_standing_13232"> <Pedestrian model="walker.pedestrian.0001" mass="80" name="walker.pedestrian.0001" pedestrianCategory="pedestrian"> <ParameterDeclarations/> <BoundingBox> <Center x="1.5" y="0.0" z="0.9"/> <Dimensions width="2" length="2" height="2"/> </BoundingBox> <Properties> <Property name="type" value="simulation"/> </Properties> </Pedestrian> </ScenarioObject> <ScenarioObject name="pedestrian_close_to_adversary_13233"> <Pedestrian model="walker.pedestrian.0001" mass="80" name="walker.pedestrian.0001" pedestrianCategory="pedestrian"> <ParameterDeclarations/> <BoundingBox> <Center x="1.5" y="0.0" z="0.9"/> <Dimensions width="2" length="2" height="2"/> </BoundingBox> <Properties> <Property name="type" value="simulation"/> </Properties> </Pedestrian> </ScenarioObject> <ScenarioObject name="pedestrian_w_transform_13234"> <Pedestrian model="walker.pedestrian.0001" mass="80" name="walker.pedestrian.0001" pedestrianCategory="pedestrian"> <ParameterDeclarations/> <BoundingBox> <Center x="1.5" y="0.0" z="0.9"/> <Dimensions width="2" length="2" height="2"/> </BoundingBox> <Properties> <Property name="type" value="simulation"/> </Properties> </Pedestrian> </ScenarioObject> <ScenarioObject name="pedestrian_w_transform_13235"> <Pedestrian model="walker.pedestrian.0001" mass="80" name="walker.pedestrian.0001" pedestrianCategory="pedestrian"> <ParameterDeclarations/> <BoundingBox> <Center x="1.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_13226"> <PrivateAction> <TeleportAction> <Position> <WorldPosition x="-6.102833271026611" y="-145.1429443359375" z="0.0018838500836864114"/> </Position> </TeleportAction> </PrivateAction> </Private> <Private entityRef="pedestrian_w_transform_13227"> <PrivateAction> <TeleportAction> <Position> <WorldPosition x="72.08587646484375" y="68.6988296508789" z="0.5"/> </Position> </TeleportAction> </PrivateAction> </Private> <Private entityRef="pedestrian_close_to_adversary_13228"> <PrivateAction> <TeleportAction> <Position> <WorldPosition x="-10.763519287109375" y="-79.24110412597656" z="0.03387477621436119"/> </Position> </TeleportAction> </PrivateAction> </Private> <Private entityRef="pedestrian_close_to_adversary_13230"> <PrivateAction> <TeleportAction> <Position> <WorldPosition x="-5.059219837188721" y="-63.155487060546875" z="0.03387172520160675"/> </Position> </TeleportAction> </PrivateAction> </Private> <Private entityRef="pedestrian_close_to_adversary_13231"> <PrivateAction> <TeleportAction> <Position> <WorldPosition x="-1.8657342195510864" y="-74.86356353759766" z="0.033861998468637466"/> </Position> </TeleportAction> </PrivateAction> </Private> <Private entityRef="pedestrian_close_to_standing_13232"> <PrivateAction> <TeleportAction> <Position> <WorldPosition x="0.5083560943603516" y="22.389699935913086" z="0.0031120681669563055"/> </Position> </TeleportAction> </PrivateAction> </Private> <Private entityRef="pedestrian_close_to_adversary_13233"> <PrivateAction> <TeleportAction> <Position> <WorldPosition x="-1.4118003845214844" y="-79.89096069335938" z="0.03386016935110092"/> </Position> </TeleportAction> </PrivateAction> </Private> <Private entityRef="pedestrian_w_transform_13234"> <PrivateAction> <TeleportAction> <Position> <WorldPosition x="25.143898010253906" y="61.01460647583008" z="0.5"/> </Position> </TeleportAction> </PrivateAction> </Private> <Private entityRef="pedestrian_w_transform_13235"> <PrivateAction> <TeleportAction> <Position> <WorldPosition x="9.471923828125" y="18.992799758911133" 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_13226"> <Pedestrian model="walker.pedestrian.0001" mass="80" name="walker.pedestrian.0001" pedestrianCategory="pedestrian"> <ParameterDeclarations/> <BoundingBox> <Center x="1.5" y="0.0" z="0.9"/> <Dimensions width="2" length="2" height="2"/> </BoundingBox> <Properties> <Property name="type" value="simulation"/> </Properties> </Pedestrian> </ScenarioObject> <ScenarioObject name="pedestrian_w_transform_13227"> <Pedestrian model="walker.pedestrian.0001" mass="80" name="walker.pedestrian.0001" pedestrianCategory="pedestrian"> <ParameterDeclarations/> <BoundingBox> <Center x="1.5" y="0.0" z="0.9"/> <Dimensions width="2" length="2" height="2"/> </BoundingBox> <Properties> <Property name="type" value="simulation"/> </Properties> </Pedestrian> </ScenarioObject> <ScenarioObject name="pedestrian_close_to_adversary_13228"> <Pedestrian model="walker.pedestrian.0001" mass="80" name="walker.pedestrian.0001" pedestrianCategory="pedestrian"> <ParameterDeclarations/> <BoundingBox> <Center x="1.5" y="0.0" z="0.9"/> <Dimensions width="2" length="2" height="2"/> </BoundingBox> <Properties> <Property name="type" value="simulation"/> </Properties> </Pedestrian> </ScenarioObject> <ScenarioObject name="pedestrian_close_to_adversary_13230"> <Pedestrian model="walker.pedestrian.0001" mass="80" name="walker.pedestrian.0001" pedestrianCategory="pedestrian"> <ParameterDeclarations/> <BoundingBox> <Center x="1.5" y="0.0" z="0.9"/> <Dimensions width="2" length="2" height="2"/> </BoundingBox> <Properties> <Property name="type" value="simulation"/> </Properties> </Pedestrian> </ScenarioObject> <ScenarioObject name="pedestrian_close_to_adversary_13231"> <Pedestrian model="walker.pedestrian.0001" mass="80" name="walker.pedestrian.0001" pedestrianCategory="pedestrian"> <ParameterDeclarations/> <BoundingBox> <Center x="1.5" y="0.0" z="0.9"/> <Dimensions width="2" length="2" height="2"/> </BoundingBox> <Properties> <Property name="type" value="simulation"/> </Properties> </Pedestrian> </ScenarioObject> <ScenarioObject name="pedestrian_close_to_standing_13232"> <Pedestrian model="walker.pedestrian.0001" mass="80" name="walker.pedestrian.0001" pedestrianCategory="pedestrian"> <ParameterDeclarations/> <BoundingBox> <Center x="1.5" y="0.0" z="0.9"/> <Dimensions width="2" length="2" height="2"/> </BoundingBox> <Properties> <Property name="type" value="simulation"/> </Properties> </Pedestrian> </ScenarioObject> <ScenarioObject name="pedestrian_close_to_adversary_13233"> <Pedestrian model="walker.pedestrian.0001" mass="80" name="walker.pedestrian.0001" pedestrianCategory="pedestrian"> <ParameterDeclarations/> <BoundingBox> <Center x="1.5" y="0.0" z="0.9"/> <Dimensions width="2" length="2" height="2"/> </BoundingBox> <Properties> <Property name="type" value="simulation"/> </Properties> </Pedestrian> </ScenarioObject> <ScenarioObject name="pedestrian_w_transform_13234"> <Pedestrian model="walker.pedestrian.0001" mass="80" name="walker.pedestrian.0001" pedestrianCategory="pedestrian"> <ParameterDeclarations/> <BoundingBox> <Center x="1.5" y="0.0" z="0.9"/> <Dimensions width="2" length="2" height="2"/> </BoundingBox> <Properties> <Property name="type" value="simulation"/> </Properties> </Pedestrian> </ScenarioObject> <ScenarioObject name="pedestrian_w_transform_13235"> <Pedestrian model="walker.pedestrian.0001" mass="80" name="walker.pedestrian.0001" pedestrianCategory="pedestrian"> <ParameterDeclarations/> <BoundingBox> <Center x="1.5" y="0.0" z="0.9"/> <Dimensions width="2" length="2" height="2"/> </BoundingBox> <Properties> <Property name="type" value="simulation"/> </Properties> </Pedestrian> </ScenarioObject> <ScenarioObject name="pedestrian_close_to_adversary_13236"> <Pedestrian model="walker.pedestrian.0001" mass="80" name="walker.pedestrian.0001" pedestrianCategory="pedestrian"> <ParameterDeclarations/> <BoundingBox> <Center x="1.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_13226"> <PrivateAction> <TeleportAction> <Position> <WorldPosition x="-6.102833271026611" y="-145.1429443359375" z="0.0018838500836864114"/> </Position> </TeleportAction> </PrivateAction> </Private> <Private entityRef="pedestrian_w_transform_13227"> <PrivateAction> <TeleportAction> <Position> <WorldPosition x="72.08587646484375" y="68.6988296508789" z="0.5"/> </Position> </TeleportAction> </PrivateAction> </Private> <Private entityRef="pedestrian_close_to_adversary_13228"> <PrivateAction> <TeleportAction> <Position> <WorldPosition x="-10.763519287109375" y="-79.24110412597656" z="0.03387477621436119"/> </Position> </TeleportAction> </PrivateAction> </Private> <Private entityRef="pedestrian_close_to_adversary_13230"> <PrivateAction> <TeleportAction> <Position> <WorldPosition x="-5.059219837188721" y="-63.155487060546875" z="0.03387172520160675"/> </Position> </TeleportAction> </PrivateAction> </Private> <Private entityRef="pedestrian_close_to_adversary_13231"> <PrivateAction> <TeleportAction> <Position> <WorldPosition x="-1.8657342195510864" y="-74.86356353759766" z="0.033861998468637466"/> </Position> </TeleportAction> </PrivateAction> </Private> <Private entityRef="pedestrian_close_to_standing_13232"> <PrivateAction> <TeleportAction> <Position> <WorldPosition x="0.5083560943603516" y="22.389699935913086" z="0.0031120681669563055"/> </Position> </TeleportAction> </PrivateAction> </Private> <Private entityRef="pedestrian_close_to_adversary_13233"> <PrivateAction> <TeleportAction> <Position> <WorldPosition x="-1.4118003845214844" y="-79.89096069335938" z="0.03386016935110092"/> </Position> </TeleportAction> </PrivateAction> </Private> <Private entityRef="pedestrian_w_transform_13234"> <PrivateAction> <TeleportAction> <Position> <WorldPosition x="25.143898010253906" y="61.01460647583008" z="0.5"/> </Position> </TeleportAction> </PrivateAction> </Private> <Private entityRef="pedestrian_w_transform_13235"> <PrivateAction> <TeleportAction> <Position> <WorldPosition x="9.471923828125" y="18.992799758911133" z="0.5"/> </Position> </TeleportAction> </PrivateAction> </Private> <Private entityRef="pedestrian_close_to_adversary_13236"> <PrivateAction> <TeleportAction> <Position> <WorldPosition x="-3.118039608001709" y="-63.2447509765625" z="0.033858947455883026"/> </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 add pedestrian at location (-31.15, 78.9, 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_26692"> <Pedestrian model="walker.pedestrian.0001" mass="80" name="walker.pedestrian.0001" pedestrianCategory="pedestrian"> <ParameterDeclarations/> <BoundingBox> <Center x="1.5" y="0.0" z="0.9"/> <Dimensions width="2" length="2" height="2"/> </BoundingBox> <Properties> <Property name="type" value="simulation"/> </Properties> </Pedestrian> </ScenarioObject> <ScenarioObject name="pedestrian_w_transform_26694"> <Pedestrian model="walker.pedestrian.0001" mass="80" name="walker.pedestrian.0001" pedestrianCategory="pedestrian"> <ParameterDeclarations/> <BoundingBox> <Center x="1.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_26692"> <PrivateAction> <TeleportAction> <Position> <WorldPosition x="-15.679546356201172" y="-64.56275177001953" z="0.033799514174461365"/> </Position> </TeleportAction> </PrivateAction> </Private> <Private entityRef="pedestrian_w_transform_26694"> <PrivateAction> <TeleportAction> <Position> <WorldPosition x="-2.2074873447418213" y="-43.53733825683594" 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_26692"> <Pedestrian model="walker.pedestrian.0001" mass="80" name="walker.pedestrian.0001" pedestrianCategory="pedestrian"> <ParameterDeclarations/> <BoundingBox> <Center x="1.5" y="0.0" z="0.9"/> <Dimensions width="2" length="2" height="2"/> </BoundingBox> <Properties> <Property name="type" value="simulation"/> </Properties> </Pedestrian> </ScenarioObject> <ScenarioObject name="pedestrian_w_transform_26694"> <Pedestrian model="walker.pedestrian.0001" mass="80" name="walker.pedestrian.0001" pedestrianCategory="pedestrian"> <ParameterDeclarations/> <BoundingBox> <Center x="1.5" y="0.0" z="0.9"/> <Dimensions width="2" length="2" height="2"/> </BoundingBox> <Properties> <Property name="type" value="simulation"/> </Properties> </Pedestrian> </ScenarioObject> <ScenarioObject name="pedestrian_w_transform_26695"> <Pedestrian model="walker.pedestrian.0001" mass="80" name="walker.pedestrian.0001" pedestrianCategory="pedestrian"> <ParameterDeclarations/> <BoundingBox> <Center x="1.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_26692"> <PrivateAction> <TeleportAction> <Position> <WorldPosition x="-15.679546356201172" y="-64.56275177001953" z="0.033799514174461365"/> </Position> </TeleportAction> </PrivateAction> </Private> <Private entityRef="pedestrian_w_transform_26694"> <PrivateAction> <TeleportAction> <Position> <WorldPosition x="-2.2074873447418213" y="-43.53733825683594" z="0.5"/> </Position> </TeleportAction> </PrivateAction> </Private> <Private entityRef="pedestrian_w_transform_26695"> <PrivateAction> <TeleportAction> <Position> <WorldPosition x="-31.147079467773438" y="78.89566802978516" 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_w_transform_4704? ``` <?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_4704"> <Pedestrian model="walker.pedestrian.0001" mass="80" name="walker.pedestrian.0001" pedestrianCategory="pedestrian"> <ParameterDeclarations/> <BoundingBox> <Center x="1.5" y="0.0" z="0.9"/> <Dimensions width="2" length="2" height="2"/> </BoundingBox> <Properties> <Property name="type" value="simulation"/> </Properties> </Pedestrian> </ScenarioObject> <ScenarioObject name="pedestrian_close_to_adversary_4706"> <Pedestrian model="walker.pedestrian.0001" mass="80" name="walker.pedestrian.0001" pedestrianCategory="pedestrian"> <ParameterDeclarations/> <BoundingBox> <Center x="1.5" y="0.0" z="0.9"/> <Dimensions width="2" length="2" height="2"/> </BoundingBox> <Properties> <Property name="type" value="simulation"/> </Properties> </Pedestrian> </ScenarioObject> <ScenarioObject name="pedestrian_w_transform_4707"> <Pedestrian model="walker.pedestrian.0001" mass="80" name="walker.pedestrian.0001" pedestrianCategory="pedestrian"> <ParameterDeclarations/> <BoundingBox> <Center x="1.5" y="0.0" z="0.9"/> <Dimensions width="2" length="2" height="2"/> </BoundingBox> <Properties> <Property name="type" value="simulation"/> </Properties> </Pedestrian> </ScenarioObject> <ScenarioObject name="pedestrian_w_transform_4709"> <Pedestrian model="walker.pedestrian.0001" mass="80" name="walker.pedestrian.0001" pedestrianCategory="pedestrian"> <ParameterDeclarations/> <BoundingBox> <Center x="1.5" y="0.0" z="0.9"/> <Dimensions width="2" length="2" height="2"/> </BoundingBox> <Properties> <Property name="type" value="simulation"/> </Properties> </Pedestrian> </ScenarioObject> <ScenarioObject name="pedestrian_w_transform_4711"> <Pedestrian model="walker.pedestrian.0001" mass="80" name="walker.pedestrian.0001" pedestrianCategory="pedestrian"> <ParameterDeclarations/> <BoundingBox> <Center x="1.5" y="0.0" z="0.9"/> <Dimensions width="2" length="2" height="2"/> </BoundingBox> <Properties> <Property name="type" value="simulation"/> </Properties> </Pedestrian> </ScenarioObject> <ScenarioObject name="pedestrian_w_transform_4714"> <Pedestrian model="walker.pedestrian.0001" mass="80" name="walker.pedestrian.0001" pedestrianCategory="pedestrian"> <ParameterDeclarations/> <BoundingBox> <Center x="1.5" y="0.0" z="0.9"/> <Dimensions width="2" length="2" height="2"/> </BoundingBox> <Properties> <Property name="type" value="simulation"/> </Properties> </Pedestrian> </ScenarioObject> <ScenarioObject name="pedestrian_close_to_standing_4715"> <Pedestrian model="walker.pedestrian.0001" mass="80" name="walker.pedestrian.0001" pedestrianCategory="pedestrian"> <ParameterDeclarations/> <BoundingBox> <Center x="1.5" y="0.0" z="0.9"/> <Dimensions width="2" length="2" height="2"/> </BoundingBox> <Properties> <Property name="type" value="simulation"/> </Properties> </Pedestrian> </ScenarioObject> <ScenarioObject name="pedestrian_w_transform_4716"> <Pedestrian model="walker.pedestrian.0001" mass="80" name="walker.pedestrian.0001" pedestrianCategory="pedestrian"> <ParameterDeclarations/> <BoundingBox> <Center x="1.5" y="0.0" z="0.9"/> <Dimensions width="2" length="2" height="2"/> </BoundingBox> <Properties> <Property name="type" value="simulation"/> </Properties> </Pedestrian> </ScenarioObject> <ScenarioObject name="pedestrian_w_transform_4719"> <Pedestrian model="walker.pedestrian.0001" mass="80" name="walker.pedestrian.0001" pedestrianCategory="pedestrian"> <ParameterDeclarations/> <BoundingBox> <Center x="1.5" y="0.0" z="0.9"/> <Dimensions width="2" length="2" height="2"/> </BoundingBox> <Properties> <Property name="type" value="simulation"/> </Properties> </Pedestrian> </ScenarioObject> <ScenarioObject name="pedestrian_close_to_adversary_4720"> <Pedestrian model="walker.pedestrian.0001" mass="80" name="walker.pedestrian.0001" pedestrianCategory="pedestrian"> <ParameterDeclarations/> <BoundingBox> <Center x="1.5" y="0.0" z="0.9"/> <Dimensions width="2" length="2" height="2"/> </BoundingBox> <Properties> <Property name="type" value="simulation"/> </Properties> </Pedestrian> </ScenarioObject> <ScenarioObject name="pedestrian_w_transform_4721"> <Pedestrian model="walker.pedestrian.0001" mass="80" name="walker.pedestrian.0001" pedestrianCategory="pedestrian"> <ParameterDeclarations/> <BoundingBox> <Center x="1.5" y="0.0" z="0.9"/> <Dimensions width="2" length="2" height="2"/> </BoundingBox> <Properties> <Property name="type" value="simulation"/> </Properties> </Pedestrian> </ScenarioObject> <ScenarioObject name="pedestrian_w_transform_4723"> <Pedestrian model="walker.pedestrian.0001" mass="80" name="walker.pedestrian.0001" pedestrianCategory="pedestrian"> <ParameterDeclarations/> <BoundingBox> <Center x="1.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_4704"> <PrivateAction> <TeleportAction> <Position> <WorldPosition x="62.63652420043945" y="38.25545883178711" z="0.5"/> </Position> </TeleportAction> </PrivateAction> </Private> <Private entityRef="pedestrian_close_to_adversary_4706"> <PrivateAction> <TeleportAction> <Position> <WorldPosition x="-18.780338287353516" y="-63.26486587524414" z="0.03383224457502365"/> </Position> </TeleportAction> </PrivateAction> </Private> <Private entityRef="pedestrian_w_transform_4707"> <PrivateAction> <TeleportAction> <Position> <WorldPosition x="51.31981658935547" y="56.90667724609375" z="0.5"/> </Position> </TeleportAction> </PrivateAction> </Private> <Private entityRef="pedestrian_w_transform_4709"> <PrivateAction> <TeleportAction> <Position> <WorldPosition x="-86.69659423828125" y="-97.73152923583984" z="0.5"/> </Position> </TeleportAction> </PrivateAction> </Private> <Private entityRef="pedestrian_w_transform_4711"> <PrivateAction> <TeleportAction> <Position> <WorldPosition x="-58.62864303588867" y="42.17283630371094" z="0.5"/> </Position> </TeleportAction> </PrivateAction> </Private> <Private entityRef="pedestrian_w_transform_4714"> <PrivateAction> <TeleportAction> <Position> <WorldPosition x="-64.07927703857422" y="15.622188568115234" z="0.5"/> </Position> </TeleportAction> </PrivateAction> </Private> <Private entityRef="pedestrian_close_to_standing_4715"> <PrivateAction> <TeleportAction> <Position> <WorldPosition x="-15.896479606628418" y="25.114456176757812" z="0.0030841827392578125"/> </Position> </TeleportAction> </PrivateAction> </Private> <Private entityRef="pedestrian_w_transform_4716"> <PrivateAction> <TeleportAction> <Position> <WorldPosition x="-43.37319564819336" y="47.946414947509766" z="0.5"/> </Position> </TeleportAction> </PrivateAction> </Private> <Private entityRef="pedestrian_w_transform_4719"> <PrivateAction> <TeleportAction> <Position> <WorldPosition x="-45.43479537963867" y="80.52405548095703" z="0.5"/> </Position> </TeleportAction> </PrivateAction> </Private> <Private entityRef="pedestrian_close_to_adversary_4720"> <PrivateAction> <TeleportAction> <Position> <WorldPosition x="-2.071136713027954" y="-68.56280517578125" z="0.03383724018931389"/> </Position> </TeleportAction> </PrivateAction> </Private> <Private entityRef="pedestrian_w_transform_4721"> <PrivateAction> <TeleportAction> <Position> <WorldPosition x="8.48679256439209" y="94.49686431884766" z="0.5"/> </Position> </TeleportAction> </PrivateAction> </Private> <Private entityRef="pedestrian_w_transform_4723"> <PrivateAction> <TeleportAction> <Position> <WorldPosition x="43.763458251953125" y="1.1571903228759766" 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_4706"> <Pedestrian model="walker.pedestrian.0001" mass="80" name="walker.pedestrian.0001" pedestrianCategory="pedestrian"> <ParameterDeclarations/> <BoundingBox> <Center x="1.5" y="0.0" z="0.9"/> <Dimensions width="2" length="2" height="2"/> </BoundingBox> <Properties> <Property name="type" value="simulation"/> </Properties> </Pedestrian> </ScenarioObject> <ScenarioObject name="pedestrian_w_transform_4707"> <Pedestrian model="walker.pedestrian.0001" mass="80" name="walker.pedestrian.0001" pedestrianCategory="pedestrian"> <ParameterDeclarations/> <BoundingBox> <Center x="1.5" y="0.0" z="0.9"/> <Dimensions width="2" length="2" height="2"/> </BoundingBox> <Properties> <Property name="type" value="simulation"/> </Properties> </Pedestrian> </ScenarioObject> <ScenarioObject name="pedestrian_w_transform_4709"> <Pedestrian model="walker.pedestrian.0001" mass="80" name="walker.pedestrian.0001" pedestrianCategory="pedestrian"> <ParameterDeclarations/> <BoundingBox> <Center x="1.5" y="0.0" z="0.9"/> <Dimensions width="2" length="2" height="2"/> </BoundingBox> <Properties> <Property name="type" value="simulation"/> </Properties> </Pedestrian> </ScenarioObject> <ScenarioObject name="pedestrian_w_transform_4711"> <Pedestrian model="walker.pedestrian.0001" mass="80" name="walker.pedestrian.0001" pedestrianCategory="pedestrian"> <ParameterDeclarations/> <BoundingBox> <Center x="1.5" y="0.0" z="0.9"/> <Dimensions width="2" length="2" height="2"/> </BoundingBox> <Properties> <Property name="type" value="simulation"/> </Properties> </Pedestrian> </ScenarioObject> <ScenarioObject name="pedestrian_w_transform_4714"> <Pedestrian model="walker.pedestrian.0001" mass="80" name="walker.pedestrian.0001" pedestrianCategory="pedestrian"> <ParameterDeclarations/> <BoundingBox> <Center x="1.5" y="0.0" z="0.9"/> <Dimensions width="2" length="2" height="2"/> </BoundingBox> <Properties> <Property name="type" value="simulation"/> </Properties> </Pedestrian> </ScenarioObject> <ScenarioObject name="pedestrian_close_to_standing_4715"> <Pedestrian model="walker.pedestrian.0001" mass="80" name="walker.pedestrian.0001" pedestrianCategory="pedestrian"> <ParameterDeclarations/> <BoundingBox> <Center x="1.5" y="0.0" z="0.9"/> <Dimensions width="2" length="2" height="2"/> </BoundingBox> <Properties> <Property name="type" value="simulation"/> </Properties> </Pedestrian> </ScenarioObject> <ScenarioObject name="pedestrian_w_transform_4716"> <Pedestrian model="walker.pedestrian.0001" mass="80" name="walker.pedestrian.0001" pedestrianCategory="pedestrian"> <ParameterDeclarations/> <BoundingBox> <Center x="1.5" y="0.0" z="0.9"/> <Dimensions width="2" length="2" height="2"/> </BoundingBox> <Properties> <Property name="type" value="simulation"/> </Properties> </Pedestrian> </ScenarioObject> <ScenarioObject name="pedestrian_w_transform_4719"> <Pedestrian model="walker.pedestrian.0001" mass="80" name="walker.pedestrian.0001" pedestrianCategory="pedestrian"> <ParameterDeclarations/> <BoundingBox> <Center x="1.5" y="0.0" z="0.9"/> <Dimensions width="2" length="2" height="2"/> </BoundingBox> <Properties> <Property name="type" value="simulation"/> </Properties> </Pedestrian> </ScenarioObject> <ScenarioObject name="pedestrian_close_to_adversary_4720"> <Pedestrian model="walker.pedestrian.0001" mass="80" name="walker.pedestrian.0001" pedestrianCategory="pedestrian"> <ParameterDeclarations/> <BoundingBox> <Center x="1.5" y="0.0" z="0.9"/> <Dimensions width="2" length="2" height="2"/> </BoundingBox> <Properties> <Property name="type" value="simulation"/> </Properties> </Pedestrian> </ScenarioObject> <ScenarioObject name="pedestrian_w_transform_4721"> <Pedestrian model="walker.pedestrian.0001" mass="80" name="walker.pedestrian.0001" pedestrianCategory="pedestrian"> <ParameterDeclarations/> <BoundingBox> <Center x="1.5" y="0.0" z="0.9"/> <Dimensions width="2" length="2" height="2"/> </BoundingBox> <Properties> <Property name="type" value="simulation"/> </Properties> </Pedestrian> </ScenarioObject> <ScenarioObject name="pedestrian_w_transform_4723"> <Pedestrian model="walker.pedestrian.0001" mass="80" name="walker.pedestrian.0001" pedestrianCategory="pedestrian"> <ParameterDeclarations/> <BoundingBox> <Center x="1.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_4706"> <PrivateAction> <TeleportAction> <Position> <WorldPosition x="-18.780338287353516" y="-63.26486587524414" z="0.03383224457502365"/> </Position> </TeleportAction> </PrivateAction> </Private> <Private entityRef="pedestrian_w_transform_4707"> <PrivateAction> <TeleportAction> <Position> <WorldPosition x="51.31981658935547" y="56.90667724609375" z="0.5"/> </Position> </TeleportAction> </PrivateAction> </Private> <Private entityRef="pedestrian_w_transform_4709"> <PrivateAction> <TeleportAction> <Position> <WorldPosition x="-86.69659423828125" y="-97.73152923583984" z="0.5"/> </Position> </TeleportAction> </PrivateAction> </Private> <Private entityRef="pedestrian_w_transform_4711"> <PrivateAction> <TeleportAction> <Position> <WorldPosition x="-58.62864303588867" y="42.17283630371094" z="0.5"/> </Position> </TeleportAction> </PrivateAction> </Private> <Private entityRef="pedestrian_w_transform_4714"> <PrivateAction> <TeleportAction> <Position> <WorldPosition x="-64.07927703857422" y="15.622188568115234" z="0.5"/> </Position> </TeleportAction> </PrivateAction> </Private> <Private entityRef="pedestrian_close_to_standing_4715"> <PrivateAction> <TeleportAction> <Position> <WorldPosition x="-15.896479606628418" y="25.114456176757812" z="0.0030841827392578125"/> </Position> </TeleportAction> </PrivateAction> </Private> <Private entityRef="pedestrian_w_transform_4716"> <PrivateAction> <TeleportAction> <Position> <WorldPosition x="-43.37319564819336" y="47.946414947509766" z="0.5"/> </Position> </TeleportAction> </PrivateAction> </Private> <Private entityRef="pedestrian_w_transform_4719"> <PrivateAction> <TeleportAction> <Position> <WorldPosition x="-45.43479537963867" y="80.52405548095703" z="0.5"/> </Position> </TeleportAction> </PrivateAction> </Private> <Private entityRef="pedestrian_close_to_adversary_4720"> <PrivateAction> <TeleportAction> <Position> <WorldPosition x="-2.071136713027954" y="-68.56280517578125" z="0.03383724018931389"/> </Position> </TeleportAction> </PrivateAction> </Private> <Private entityRef="pedestrian_w_transform_4721"> <PrivateAction> <TeleportAction> <Position> <WorldPosition x="8.48679256439209" y="94.49686431884766" z="0.5"/> </Position> </TeleportAction> </PrivateAction> </Private> <Private entityRef="pedestrian_w_transform_4723"> <PrivateAction> <TeleportAction> <Position> <WorldPosition x="43.763458251953125" y="1.1571903228759766" 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> </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_18651"> <Pedestrian model="walker.pedestrian.0001" mass="80" name="walker.pedestrian.0001" pedestrianCategory="pedestrian"> <ParameterDeclarations/> <BoundingBox> <Center x="1.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_18651"> <PrivateAction> <TeleportAction> <Position> <WorldPosition x="-14.913223266601562" y="-70.1993179321289" z="0.033776167780160904"/> </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_adversary_20998"> <Pedestrian model="walker.pedestrian.0001" mass="80" name="walker.pedestrian.0001" pedestrianCategory="pedestrian"> <ParameterDeclarations/> <BoundingBox> <Center x="1.5" y="0.0" z="0.9"/> <Dimensions width="2" length="2" height="2"/> </BoundingBox> <Properties> <Property name="type" value="simulation"/> </Properties> </Pedestrian> </ScenarioObject> <ScenarioObject name="pedestrian_close_to_standing_21000"> <Pedestrian model="walker.pedestrian.0001" mass="80" name="walker.pedestrian.0001" pedestrianCategory="pedestrian"> <ParameterDeclarations/> <BoundingBox> <Center x="1.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_20998"> <PrivateAction> <TeleportAction> <Position> <WorldPosition x="-18.931306838989258" y="-59.5410041809082" z="0.033827703446149826"/> </Position> </TeleportAction> </PrivateAction> </Private> <Private entityRef="pedestrian_close_to_standing_21000"> <PrivateAction> <TeleportAction> <Position> <WorldPosition x="-17.67752456665039" y="36.18860626220703" z="0.003036842215806246"/> </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_20998"> <Pedestrian model="walker.pedestrian.0001" mass="80" name="walker.pedestrian.0001" pedestrianCategory="pedestrian"> <ParameterDeclarations/> <BoundingBox> <Center x="1.5" y="0.0" z="0.9"/> <Dimensions width="2" length="2" height="2"/> </BoundingBox> <Properties> <Property name="type" value="simulation"/> </Properties> </Pedestrian> </ScenarioObject> <ScenarioObject name="pedestrian_close_to_standing_21000"> <Pedestrian model="walker.pedestrian.0001" mass="80" name="walker.pedestrian.0001" pedestrianCategory="pedestrian"> <ParameterDeclarations/> <BoundingBox> <Center x="1.5" y="0.0" z="0.9"/> <Dimensions width="2" length="2" height="2"/> </BoundingBox> <Properties> <Property name="type" value="simulation"/> </Properties> </Pedestrian> </ScenarioObject> <ScenarioObject name="pedestrian_close_to_standing_21001"> <Pedestrian model="walker.pedestrian.0001" mass="80" name="walker.pedestrian.0001" pedestrianCategory="pedestrian"> <ParameterDeclarations/> <BoundingBox> <Center x="1.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_20998"> <PrivateAction> <TeleportAction> <Position> <WorldPosition x="-18.931306838989258" y="-59.5410041809082" z="0.033827703446149826"/> </Position> </TeleportAction> </PrivateAction> </Private> <Private entityRef="pedestrian_close_to_standing_21000"> <PrivateAction> <TeleportAction> <Position> <WorldPosition x="-17.67752456665039" y="36.18860626220703" z="0.003036842215806246"/> </Position> </TeleportAction> </PrivateAction> </Private> <Private entityRef="pedestrian_close_to_standing_21001"> <PrivateAction> <TeleportAction> <Position> <WorldPosition x="-13.366289138793945" y="29.259063720703125" z="0.002995986957103014"/> </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 add pedestrian at location (-68.05, -62.27, 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_21062"> <Pedestrian model="walker.pedestrian.0001" mass="80" name="walker.pedestrian.0001" pedestrianCategory="pedestrian"> <ParameterDeclarations/> <BoundingBox> <Center x="1.5" y="0.0" z="0.9"/> <Dimensions width="2" length="2" height="2"/> </BoundingBox> <Properties> <Property name="type" value="simulation"/> </Properties> </Pedestrian> </ScenarioObject> <ScenarioObject name="pedestrian_w_transform_21063"> <Pedestrian model="walker.pedestrian.0001" mass="80" name="walker.pedestrian.0001" pedestrianCategory="pedestrian"> <ParameterDeclarations/> <BoundingBox> <Center x="1.5" y="0.0" z="0.9"/> <Dimensions width="2" length="2" height="2"/> </BoundingBox> <Properties> <Property name="type" value="simulation"/> </Properties> </Pedestrian> </ScenarioObject> <ScenarioObject name="pedestrian_close_to_hero_21064"> <Pedestrian model="walker.pedestrian.0001" mass="80" name="walker.pedestrian.0001" pedestrianCategory="pedestrian"> <ParameterDeclarations/> <BoundingBox> <Center x="1.5" y="0.0" z="0.9"/> <Dimensions width="2" length="2" height="2"/> </BoundingBox> <Properties> <Property name="type" value="simulation"/> </Properties> </Pedestrian> </ScenarioObject> <ScenarioObject name="pedestrian_close_to_standing_21065"> <Pedestrian model="walker.pedestrian.0001" mass="80" name="walker.pedestrian.0001" pedestrianCategory="pedestrian"> <ParameterDeclarations/> <BoundingBox> <Center x="1.5" y="0.0" z="0.9"/> <Dimensions width="2" length="2" height="2"/> </BoundingBox> <Properties> <Property name="type" value="simulation"/> </Properties> </Pedestrian> </ScenarioObject> <ScenarioObject name="pedestrian_close_to_adversary_21066"> <Pedestrian model="walker.pedestrian.0001" mass="80" name="walker.pedestrian.0001" pedestrianCategory="pedestrian"> <ParameterDeclarations/> <BoundingBox> <Center x="1.5" y="0.0" z="0.9"/> <Dimensions width="2" length="2" height="2"/> </BoundingBox> <Properties> <Property name="type" value="simulation"/> </Properties> </Pedestrian> </ScenarioObject> <ScenarioObject name="pedestrian_w_transform_21067"> <Pedestrian model="walker.pedestrian.0001" mass="80" name="walker.pedestrian.0001" pedestrianCategory="pedestrian"> <ParameterDeclarations/> <BoundingBox> <Center x="1.5" y="0.0" z="0.9"/> <Dimensions width="2" length="2" height="2"/> </BoundingBox> <Properties> <Property name="type" value="simulation"/> </Properties> </Pedestrian> </ScenarioObject> <ScenarioObject name="pedestrian_w_transform_21068"> <Pedestrian model="walker.pedestrian.0001" mass="80" name="walker.pedestrian.0001" pedestrianCategory="pedestrian"> <ParameterDeclarations/> <BoundingBox> <Center x="1.5" y="0.0" z="0.9"/> <Dimensions width="2" length="2" height="2"/> </BoundingBox> <Properties> <Property name="type" value="simulation"/> </Properties> </Pedestrian> </ScenarioObject> <ScenarioObject name="pedestrian_close_to_hero_21069"> <Pedestrian model="walker.pedestrian.0001" mass="80" name="walker.pedestrian.0001" pedestrianCategory="pedestrian"> <ParameterDeclarations/> <BoundingBox> <Center x="1.5" y="0.0" z="0.9"/> <Dimensions width="2" length="2" height="2"/> </BoundingBox> <Properties> <Property name="type" value="simulation"/> </Properties> </Pedestrian> </ScenarioObject> <ScenarioObject name="pedestrian_close_to_adversary_21070"> <Pedestrian model="walker.pedestrian.0001" mass="80" name="walker.pedestrian.0001" pedestrianCategory="pedestrian"> <ParameterDeclarations/> <BoundingBox> <Center x="1.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_21062"> <PrivateAction> <TeleportAction> <Position> <WorldPosition x="-6.7146992683410645" y="29.71043586730957" z="0.0030542754102498293"/> </Position> </TeleportAction> </PrivateAction> </Private> <Private entityRef="pedestrian_w_transform_21063"> <PrivateAction> <TeleportAction> <Position> <WorldPosition x="69.36093139648438" y="-71.49388122558594" z="0.5"/> </Position> </TeleportAction> </PrivateAction> </Private> <Private entityRef="pedestrian_close_to_hero_21064"> <PrivateAction> <TeleportAction> <Position> <WorldPosition x="-11.097050666809082" y="-158.26010131835938" z="0.001423797570168972"/> </Position> </TeleportAction> </PrivateAction> </Private> <Private entityRef="pedestrian_close_to_standing_21065"> <PrivateAction> <TeleportAction> <Position> <WorldPosition x="-1.137974500656128" y="25.885404586791992" z="0.0030625532381236553"/> </Position> </TeleportAction> </PrivateAction> </Private> <Private entityRef="pedestrian_close_to_adversary_21066"> <PrivateAction> <TeleportAction> <Position> <WorldPosition x="-1.3994733095169067" y="-64.19290924072266" z="0.03381538391113281"/> </Position> </TeleportAction> </PrivateAction> </Private> <Private entityRef="pedestrian_w_transform_21067"> <PrivateAction> <TeleportAction> <Position> <WorldPosition x="31.18967056274414" y="-2.5362722873687744" z="0.5"/> </Position> </TeleportAction> </PrivateAction> </Private> <Private entityRef="pedestrian_w_transform_21068"> <PrivateAction> <TeleportAction> <Position> <WorldPosition x="65.6951675415039" y="37.20235824584961" z="0.5"/> </Position> </TeleportAction> </PrivateAction> </Private> <Private entityRef="pedestrian_close_to_hero_21069"> <PrivateAction> <TeleportAction> <Position> <WorldPosition x="-14.191976547241211" y="-162.36978149414062" z="0.001423797570168972"/> </Position> </TeleportAction> </PrivateAction> </Private> <Private entityRef="pedestrian_close_to_adversary_21070"> <PrivateAction> <TeleportAction> <Position> <WorldPosition x="-9.1215238571167" y="-62.16175079345703" z="0.03381050005555153"/> </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_21062"> <Pedestrian model="walker.pedestrian.0001" mass="80" name="walker.pedestrian.0001" pedestrianCategory="pedestrian"> <ParameterDeclarations/> <BoundingBox> <Center x="1.5" y="0.0" z="0.9"/> <Dimensions width="2" length="2" height="2"/> </BoundingBox> <Properties> <Property name="type" value="simulation"/> </Properties> </Pedestrian> </ScenarioObject> <ScenarioObject name="pedestrian_w_transform_21063"> <Pedestrian model="walker.pedestrian.0001" mass="80" name="walker.pedestrian.0001" pedestrianCategory="pedestrian"> <ParameterDeclarations/> <BoundingBox> <Center x="1.5" y="0.0" z="0.9"/> <Dimensions width="2" length="2" height="2"/> </BoundingBox> <Properties> <Property name="type" value="simulation"/> </Properties> </Pedestrian> </ScenarioObject> <ScenarioObject name="pedestrian_close_to_hero_21064"> <Pedestrian model="walker.pedestrian.0001" mass="80" name="walker.pedestrian.0001" pedestrianCategory="pedestrian"> <ParameterDeclarations/> <BoundingBox> <Center x="1.5" y="0.0" z="0.9"/> <Dimensions width="2" length="2" height="2"/> </BoundingBox> <Properties> <Property name="type" value="simulation"/> </Properties> </Pedestrian> </ScenarioObject> <ScenarioObject name="pedestrian_close_to_standing_21065"> <Pedestrian model="walker.pedestrian.0001" mass="80" name="walker.pedestrian.0001" pedestrianCategory="pedestrian"> <ParameterDeclarations/> <BoundingBox> <Center x="1.5" y="0.0" z="0.9"/> <Dimensions width="2" length="2" height="2"/> </BoundingBox> <Properties> <Property name="type" value="simulation"/> </Properties> </Pedestrian> </ScenarioObject> <ScenarioObject name="pedestrian_close_to_adversary_21066"> <Pedestrian model="walker.pedestrian.0001" mass="80" name="walker.pedestrian.0001" pedestrianCategory="pedestrian"> <ParameterDeclarations/> <BoundingBox> <Center x="1.5" y="0.0" z="0.9"/> <Dimensions width="2" length="2" height="2"/> </BoundingBox> <Properties> <Property name="type" value="simulation"/> </Properties> </Pedestrian> </ScenarioObject> <ScenarioObject name="pedestrian_w_transform_21067"> <Pedestrian model="walker.pedestrian.0001" mass="80" name="walker.pedestrian.0001" pedestrianCategory="pedestrian"> <ParameterDeclarations/> <BoundingBox> <Center x="1.5" y="0.0" z="0.9"/> <Dimensions width="2" length="2" height="2"/> </BoundingBox> <Properties> <Property name="type" value="simulation"/> </Properties> </Pedestrian> </ScenarioObject> <ScenarioObject name="pedestrian_w_transform_21068"> <Pedestrian model="walker.pedestrian.0001" mass="80" name="walker.pedestrian.0001" pedestrianCategory="pedestrian"> <ParameterDeclarations/> <BoundingBox> <Center x="1.5" y="0.0" z="0.9"/> <Dimensions width="2" length="2" height="2"/> </BoundingBox> <Properties> <Property name="type" value="simulation"/> </Properties> </Pedestrian> </ScenarioObject> <ScenarioObject name="pedestrian_close_to_hero_21069"> <Pedestrian model="walker.pedestrian.0001" mass="80" name="walker.pedestrian.0001" pedestrianCategory="pedestrian"> <ParameterDeclarations/> <BoundingBox> <Center x="1.5" y="0.0" z="0.9"/> <Dimensions width="2" length="2" height="2"/> </BoundingBox> <Properties> <Property name="type" value="simulation"/> </Properties> </Pedestrian> </ScenarioObject> <ScenarioObject name="pedestrian_close_to_adversary_21070"> <Pedestrian model="walker.pedestrian.0001" mass="80" name="walker.pedestrian.0001" pedestrianCategory="pedestrian"> <ParameterDeclarations/> <BoundingBox> <Center x="1.5" y="0.0" z="0.9"/> <Dimensions width="2" length="2" height="2"/> </BoundingBox> <Properties> <Property name="type" value="simulation"/> </Properties> </Pedestrian> </ScenarioObject> <ScenarioObject name="pedestrian_w_transform_21071"> <Pedestrian model="walker.pedestrian.0001" mass="80" name="walker.pedestrian.0001" pedestrianCategory="pedestrian"> <ParameterDeclarations/> <BoundingBox> <Center x="1.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_21062"> <PrivateAction> <TeleportAction> <Position> <WorldPosition x="-6.7146992683410645" y="29.71043586730957" z="0.0030542754102498293"/> </Position> </TeleportAction> </PrivateAction> </Private> <Private entityRef="pedestrian_w_transform_21063"> <PrivateAction> <TeleportAction> <Position> <WorldPosition x="69.36093139648438" y="-71.49388122558594" z="0.5"/> </Position> </TeleportAction> </PrivateAction> </Private> <Private entityRef="pedestrian_close_to_hero_21064"> <PrivateAction> <TeleportAction> <Position> <WorldPosition x="-11.097050666809082" y="-158.26010131835938" z="0.001423797570168972"/> </Position> </TeleportAction> </PrivateAction> </Private> <Private entityRef="pedestrian_close_to_standing_21065"> <PrivateAction> <TeleportAction> <Position> <WorldPosition x="-1.137974500656128" y="25.885404586791992" z="0.0030625532381236553"/> </Position> </TeleportAction> </PrivateAction> </Private> <Private entityRef="pedestrian_close_to_adversary_21066"> <PrivateAction> <TeleportAction> <Position> <WorldPosition x="-1.3994733095169067" y="-64.19290924072266" z="0.03381538391113281"/> </Position> </TeleportAction> </PrivateAction> </Private> <Private entityRef="pedestrian_w_transform_21067"> <PrivateAction> <TeleportAction> <Position> <WorldPosition x="31.18967056274414" y="-2.5362722873687744" z="0.5"/> </Position> </TeleportAction> </PrivateAction> </Private> <Private entityRef="pedestrian_w_transform_21068"> <PrivateAction> <TeleportAction> <Position> <WorldPosition x="65.6951675415039" y="37.20235824584961" z="0.5"/> </Position> </TeleportAction> </PrivateAction> </Private> <Private entityRef="pedestrian_close_to_hero_21069"> <PrivateAction> <TeleportAction> <Position> <WorldPosition x="-14.191976547241211" y="-162.36978149414062" z="0.001423797570168972"/> </Position> </TeleportAction> </PrivateAction> </Private> <Private entityRef="pedestrian_close_to_adversary_21070"> <PrivateAction> <TeleportAction> <Position> <WorldPosition x="-9.1215238571167" y="-62.16175079345703" z="0.03381050005555153"/> </Position> </TeleportAction> </PrivateAction> </Private> <Private entityRef="pedestrian_w_transform_21071"> <PrivateAction> <TeleportAction> <Position> <WorldPosition x="-68.04692840576172" y="-62.26546096801758" 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 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_w_transform_22137"> <Pedestrian model="walker.pedestrian.0001" mass="80" name="walker.pedestrian.0001" pedestrianCategory="pedestrian"> <ParameterDeclarations/> <BoundingBox> <Center x="1.5" y="0.0" z="0.9"/> <Dimensions width="2" length="2" height="2"/> </BoundingBox> <Properties> <Property name="type" value="simulation"/> </Properties> </Pedestrian> </ScenarioObject> <ScenarioObject name="pedestrian_close_to_adversary_22138"> <Pedestrian model="walker.pedestrian.0001" mass="80" name="walker.pedestrian.0001" pedestrianCategory="pedestrian"> <ParameterDeclarations/> <BoundingBox> <Center x="1.5" y="0.0" z="0.9"/> <Dimensions width="2" length="2" height="2"/> </BoundingBox> <Properties> <Property name="type" value="simulation"/> </Properties> </Pedestrian> </ScenarioObject> <ScenarioObject name="pedestrian_close_to_adversary_22139"> <Pedestrian model="walker.pedestrian.0001" mass="80" name="walker.pedestrian.0001" pedestrianCategory="pedestrian"> <ParameterDeclarations/> <BoundingBox> <Center x="1.5" y="0.0" z="0.9"/> <Dimensions width="2" length="2" height="2"/> </BoundingBox> <Properties> <Property name="type" value="simulation"/> </Properties> </Pedestrian> </ScenarioObject> <ScenarioObject name="pedestrian_w_transform_22140"> <Pedestrian model="walker.pedestrian.0001" mass="80" name="walker.pedestrian.0001" pedestrianCategory="pedestrian"> <ParameterDeclarations/> <BoundingBox> <Center x="1.5" y="0.0" z="0.9"/> <Dimensions width="2" length="2" height="2"/> </BoundingBox> <Properties> <Property name="type" value="simulation"/> </Properties> </Pedestrian> </ScenarioObject> <ScenarioObject name="pedestrian_close_to_adversary_22143"> <Pedestrian model="walker.pedestrian.0001" mass="80" name="walker.pedestrian.0001" pedestrianCategory="pedestrian"> <ParameterDeclarations/> <BoundingBox> <Center x="1.5" y="0.0" z="0.9"/> <Dimensions width="2" length="2" height="2"/> </BoundingBox> <Properties> <Property name="type" value="simulation"/> </Properties> </Pedestrian> </ScenarioObject> <ScenarioObject name="pedestrian_w_transform_22144"> <Pedestrian model="walker.pedestrian.0001" mass="80" name="walker.pedestrian.0001" pedestrianCategory="pedestrian"> <ParameterDeclarations/> <BoundingBox> <Center x="1.5" y="0.0" z="0.9"/> <Dimensions width="2" length="2" height="2"/> </BoundingBox> <Properties> <Property name="type" value="simulation"/> </Properties> </Pedestrian> </ScenarioObject> <ScenarioObject name="pedestrian_w_transform_22145"> <Pedestrian model="walker.pedestrian.0001" mass="80" name="walker.pedestrian.0001" pedestrianCategory="pedestrian"> <ParameterDeclarations/> <BoundingBox> <Center x="1.5" y="0.0" z="0.9"/> <Dimensions width="2" length="2" height="2"/> </BoundingBox> <Properties> <Property name="type" value="simulation"/> </Properties> </Pedestrian> </ScenarioObject> <ScenarioObject name="pedestrian_w_transform_22146"> <Pedestrian model="walker.pedestrian.0001" mass="80" name="walker.pedestrian.0001" pedestrianCategory="pedestrian"> <ParameterDeclarations/> <BoundingBox> <Center x="1.5" y="0.0" z="0.9"/> <Dimensions width="2" length="2" height="2"/> </BoundingBox> <Properties> <Property name="type" value="simulation"/> </Properties> </Pedestrian> </ScenarioObject> <ScenarioObject name="pedestrian_w_transform_22150"> <Pedestrian model="walker.pedestrian.0001" mass="80" name="walker.pedestrian.0001" pedestrianCategory="pedestrian"> <ParameterDeclarations/> <BoundingBox> <Center x="1.5" y="0.0" z="0.9"/> <Dimensions width="2" length="2" height="2"/> </BoundingBox> <Properties> <Property name="type" value="simulation"/> </Properties> </Pedestrian> </ScenarioObject> <ScenarioObject name="pedestrian_w_transform_22152"> <Pedestrian model="walker.pedestrian.0001" mass="80" name="walker.pedestrian.0001" pedestrianCategory="pedestrian"> <ParameterDeclarations/> <BoundingBox> <Center x="1.5" y="0.0" z="0.9"/> <Dimensions width="2" length="2" height="2"/> </BoundingBox> <Properties> <Property name="type" value="simulation"/> </Properties> </Pedestrian> </ScenarioObject> <ScenarioObject name="pedestrian_w_transform_22154"> <Pedestrian model="walker.pedestrian.0001" mass="80" name="walker.pedestrian.0001" pedestrianCategory="pedestrian"> <ParameterDeclarations/> <BoundingBox> <Center x="1.5" y="0.0" z="0.9"/> <Dimensions width="2" length="2" height="2"/> </BoundingBox> <Properties> <Property name="type" value="simulation"/> </Properties> </Pedestrian> </ScenarioObject> <ScenarioObject name="pedestrian_w_transform_22155"> <Pedestrian model="walker.pedestrian.0001" mass="80" name="walker.pedestrian.0001" pedestrianCategory="pedestrian"> <ParameterDeclarations/> <BoundingBox> <Center x="1.5" y="0.0" z="0.9"/> <Dimensions width="2" length="2" height="2"/> </BoundingBox> <Properties> <Property name="type" value="simulation"/> </Properties> </Pedestrian> </ScenarioObject> <ScenarioObject name="pedestrian_close_to_standing_22157"> <Pedestrian model="walker.pedestrian.0001" mass="80" name="walker.pedestrian.0001" pedestrianCategory="pedestrian"> <ParameterDeclarations/> <BoundingBox> <Center x="1.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_22137"> <PrivateAction> <TeleportAction> <Position> <WorldPosition x="27.128190994262695" y="0.5358536243438721" z="0.5"/> </Position> </TeleportAction> </PrivateAction> </Private> <Private entityRef="pedestrian_close_to_adversary_22138"> <PrivateAction> <TeleportAction> <Position> <WorldPosition x="-7.028351783752441" y="-62.01017379760742" z="0.033805351704359055"/> </Position> </TeleportAction> </PrivateAction> </Private> <Private entityRef="pedestrian_close_to_adversary_22139"> <PrivateAction> <TeleportAction> <Position> <WorldPosition x="-14.886283874511719" y="-61.43344497680664" z="0.03381256014108658"/> </Position> </TeleportAction> </PrivateAction> </Private> <Private entityRef="pedestrian_w_transform_22140"> <PrivateAction> <TeleportAction> <Position> <WorldPosition x="-47.017173767089844" y="-43.60464096069336" z="0.5"/> </Position> </TeleportAction> </PrivateAction> </Private> <Private entityRef="pedestrian_close_to_adversary_22143"> <PrivateAction> <TeleportAction> <Position> <WorldPosition x="-13.857767105102539" y="-72.06743621826172" z="0.03373836353421211"/> </Position> </TeleportAction> </PrivateAction> </Private> <Private entityRef="pedestrian_w_transform_22144"> <PrivateAction> <TeleportAction> <Position> <WorldPosition x="-27.0277156829834" y="-51.880859375" z="0.5"/> </Position> </TeleportAction> </PrivateAction> </Private> <Private entityRef="pedestrian_w_transform_22145"> <PrivateAction> <TeleportAction> <Position> <WorldPosition x="81.762451171875" y="26.12388801574707" z="0.5"/> </Position> </TeleportAction> </PrivateAction> </Private> <Private entityRef="pedestrian_w_transform_22146"> <PrivateAction> <TeleportAction> <Position> <WorldPosition x="23.729921340942383" y="65.68231964111328" z="0.5"/> </Position> </TeleportAction> </PrivateAction> </Private> <Private entityRef="pedestrian_w_transform_22150"> <PrivateAction> <TeleportAction> <Position> <WorldPosition x="-51.56545639038086" y="1.4552159309387207" z="0.5"/> </Position> </TeleportAction> </PrivateAction> </Private> <Private entityRef="pedestrian_w_transform_22152"> <PrivateAction> <TeleportAction> <Position> <WorldPosition x="89.12882995605469" y="-9.067120552062988" z="0.5"/> </Position> </TeleportAction> </PrivateAction> </Private> <Private entityRef="pedestrian_w_transform_22154"> <PrivateAction> <TeleportAction> <Position> <WorldPosition x="89.6780014038086" y="44.7926025390625" z="0.5"/> </Position> </TeleportAction> </PrivateAction> </Private> <Private entityRef="pedestrian_w_transform_22155"> <PrivateAction> <TeleportAction> <Position> <WorldPosition x="-82.03484344482422" y="75.87706756591797" z="0.5"/> </Position> </TeleportAction> </PrivateAction> </Private> <Private entityRef="pedestrian_close_to_standing_22157"> <PrivateAction> <TeleportAction> <Position> <WorldPosition x="1.3672372102737427" y="30.828773498535156" z="0.0030469894409179688"/> </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_22137"> <Pedestrian model="walker.pedestrian.0001" mass="80" name="walker.pedestrian.0001" pedestrianCategory="pedestrian"> <ParameterDeclarations/> <BoundingBox> <Center x="1.5" y="0.0" z="0.9"/> <Dimensions width="2" length="2" height="2"/> </BoundingBox> <Properties> <Property name="type" value="simulation"/> </Properties> </Pedestrian> </ScenarioObject> <ScenarioObject name="pedestrian_close_to_adversary_22139"> <Pedestrian model="walker.pedestrian.0001" mass="80" name="walker.pedestrian.0001" pedestrianCategory="pedestrian"> <ParameterDeclarations/> <BoundingBox> <Center x="1.5" y="0.0" z="0.9"/> <Dimensions width="2" length="2" height="2"/> </BoundingBox> <Properties> <Property name="type" value="simulation"/> </Properties> </Pedestrian> </ScenarioObject> <ScenarioObject name="pedestrian_w_transform_22140"> <Pedestrian model="walker.pedestrian.0001" mass="80" name="walker.pedestrian.0001" pedestrianCategory="pedestrian"> <ParameterDeclarations/> <BoundingBox> <Center x="1.5" y="0.0" z="0.9"/> <Dimensions width="2" length="2" height="2"/> </BoundingBox> <Properties> <Property name="type" value="simulation"/> </Properties> </Pedestrian> </ScenarioObject> <ScenarioObject name="pedestrian_close_to_adversary_22143"> <Pedestrian model="walker.pedestrian.0001" mass="80" name="walker.pedestrian.0001" pedestrianCategory="pedestrian"> <ParameterDeclarations/> <BoundingBox> <Center x="1.5" y="0.0" z="0.9"/> <Dimensions width="2" length="2" height="2"/> </BoundingBox> <Properties> <Property name="type" value="simulation"/> </Properties> </Pedestrian> </ScenarioObject> <ScenarioObject name="pedestrian_w_transform_22144"> <Pedestrian model="walker.pedestrian.0001" mass="80" name="walker.pedestrian.0001" pedestrianCategory="pedestrian"> <ParameterDeclarations/> <BoundingBox> <Center x="1.5" y="0.0" z="0.9"/> <Dimensions width="2" length="2" height="2"/> </BoundingBox> <Properties> <Property name="type" value="simulation"/> </Properties> </Pedestrian> </ScenarioObject> <ScenarioObject name="pedestrian_w_transform_22145"> <Pedestrian model="walker.pedestrian.0001" mass="80" name="walker.pedestrian.0001" pedestrianCategory="pedestrian"> <ParameterDeclarations/> <BoundingBox> <Center x="1.5" y="0.0" z="0.9"/> <Dimensions width="2" length="2" height="2"/> </BoundingBox> <Properties> <Property name="type" value="simulation"/> </Properties> </Pedestrian> </ScenarioObject> <ScenarioObject name="pedestrian_w_transform_22146"> <Pedestrian model="walker.pedestrian.0001" mass="80" name="walker.pedestrian.0001" pedestrianCategory="pedestrian"> <ParameterDeclarations/> <BoundingBox> <Center x="1.5" y="0.0" z="0.9"/> <Dimensions width="2" length="2" height="2"/> </BoundingBox> <Properties> <Property name="type" value="simulation"/> </Properties> </Pedestrian> </ScenarioObject> <ScenarioObject name="pedestrian_w_transform_22150"> <Pedestrian model="walker.pedestrian.0001" mass="80" name="walker.pedestrian.0001" pedestrianCategory="pedestrian"> <ParameterDeclarations/> <BoundingBox> <Center x="1.5" y="0.0" z="0.9"/> <Dimensions width="2" length="2" height="2"/> </BoundingBox> <Properties> <Property name="type" value="simulation"/> </Properties> </Pedestrian> </ScenarioObject> <ScenarioObject name="pedestrian_w_transform_22152"> <Pedestrian model="walker.pedestrian.0001" mass="80" name="walker.pedestrian.0001" pedestrianCategory="pedestrian"> <ParameterDeclarations/> <BoundingBox> <Center x="1.5" y="0.0" z="0.9"/> <Dimensions width="2" length="2" height="2"/> </BoundingBox> <Properties> <Property name="type" value="simulation"/> </Properties> </Pedestrian> </ScenarioObject> <ScenarioObject name="pedestrian_w_transform_22154"> <Pedestrian model="walker.pedestrian.0001" mass="80" name="walker.pedestrian.0001" pedestrianCategory="pedestrian"> <ParameterDeclarations/> <BoundingBox> <Center x="1.5" y="0.0" z="0.9"/> <Dimensions width="2" length="2" height="2"/> </BoundingBox> <Properties> <Property name="type" value="simulation"/> </Properties> </Pedestrian> </ScenarioObject> <ScenarioObject name="pedestrian_w_transform_22155"> <Pedestrian model="walker.pedestrian.0001" mass="80" name="walker.pedestrian.0001" pedestrianCategory="pedestrian"> <ParameterDeclarations/> <BoundingBox> <Center x="1.5" y="0.0" z="0.9"/> <Dimensions width="2" length="2" height="2"/> </BoundingBox> <Properties> <Property name="type" value="simulation"/> </Properties> </Pedestrian> </ScenarioObject> <ScenarioObject name="pedestrian_close_to_standing_22157"> <Pedestrian model="walker.pedestrian.0001" mass="80" name="walker.pedestrian.0001" pedestrianCategory="pedestrian"> <ParameterDeclarations/> <BoundingBox> <Center x="1.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_22137"> <PrivateAction> <TeleportAction> <Position> <WorldPosition x="27.128190994262695" y="0.5358536243438721" z="0.5"/> </Position> </TeleportAction> </PrivateAction> </Private> <Private entityRef="pedestrian_close_to_adversary_22139"> <PrivateAction> <TeleportAction> <Position> <WorldPosition x="-14.886283874511719" y="-61.43344497680664" z="0.03381256014108658"/> </Position> </TeleportAction> </PrivateAction> </Private> <Private entityRef="pedestrian_w_transform_22140"> <PrivateAction> <TeleportAction> <Position> <WorldPosition x="-47.017173767089844" y="-43.60464096069336" z="0.5"/> </Position> </TeleportAction> </PrivateAction> </Private> <Private entityRef="pedestrian_close_to_adversary_22143"> <PrivateAction> <TeleportAction> <Position> <WorldPosition x="-13.857767105102539" y="-72.06743621826172" z="0.03373836353421211"/> </Position> </TeleportAction> </PrivateAction> </Private> <Private entityRef="pedestrian_w_transform_22144"> <PrivateAction> <TeleportAction> <Position> <WorldPosition x="-27.0277156829834" y="-51.880859375" z="0.5"/> </Position> </TeleportAction> </PrivateAction> </Private> <Private entityRef="pedestrian_w_transform_22145"> <PrivateAction> <TeleportAction> <Position> <WorldPosition x="81.762451171875" y="26.12388801574707" z="0.5"/> </Position> </TeleportAction> </PrivateAction> </Private> <Private entityRef="pedestrian_w_transform_22146"> <PrivateAction> <TeleportAction> <Position> <WorldPosition x="23.729921340942383" y="65.68231964111328" z="0.5"/> </Position> </TeleportAction> </PrivateAction> </Private> <Private entityRef="pedestrian_w_transform_22150"> <PrivateAction> <TeleportAction> <Position> <WorldPosition x="-51.56545639038086" y="1.4552159309387207" z="0.5"/> </Position> </TeleportAction> </PrivateAction> </Private> <Private entityRef="pedestrian_w_transform_22152"> <PrivateAction> <TeleportAction> <Position> <WorldPosition x="89.12882995605469" y="-9.067120552062988" z="0.5"/> </Position> </TeleportAction> </PrivateAction> </Private> <Private entityRef="pedestrian_w_transform_22154"> <PrivateAction> <TeleportAction> <Position> <WorldPosition x="89.6780014038086" y="44.7926025390625" z="0.5"/> </Position> </TeleportAction> </PrivateAction> </Private> <Private entityRef="pedestrian_w_transform_22155"> <PrivateAction> <TeleportAction> <Position> <WorldPosition x="-82.03484344482422" y="75.87706756591797" z="0.5"/> </Position> </TeleportAction> </PrivateAction> </Private> <Private entityRef="pedestrian_close_to_standing_22157"> <PrivateAction> <TeleportAction> <Position> <WorldPosition x="1.3672372102737427" y="30.828773498535156" z="0.0030469894409179688"/> </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 add pedestrian at location (-31.12, -13.27, 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_14319"> <Pedestrian model="walker.pedestrian.0001" mass="80" name="walker.pedestrian.0001" pedestrianCategory="pedestrian"> <ParameterDeclarations/> <BoundingBox> <Center x="1.5" y="0.0" z="0.9"/> <Dimensions width="2" length="2" height="2"/> </BoundingBox> <Properties> <Property name="type" value="simulation"/> </Properties> </Pedestrian> </ScenarioObject> <ScenarioObject name="pedestrian_close_to_standing_14320"> <Pedestrian model="walker.pedestrian.0001" mass="80" name="walker.pedestrian.0001" pedestrianCategory="pedestrian"> <ParameterDeclarations/> <BoundingBox> <Center x="1.5" y="0.0" z="0.9"/> <Dimensions width="2" length="2" height="2"/> </BoundingBox> <Properties> <Property name="type" value="simulation"/> </Properties> </Pedestrian> </ScenarioObject> <ScenarioObject name="pedestrian_close_to_hero_14321"> <Pedestrian model="walker.pedestrian.0001" mass="80" name="walker.pedestrian.0001" pedestrianCategory="pedestrian"> <ParameterDeclarations/> <BoundingBox> <Center x="1.5" y="0.0" z="0.9"/> <Dimensions width="2" length="2" height="2"/> </BoundingBox> <Properties> <Property name="type" value="simulation"/> </Properties> </Pedestrian> </ScenarioObject> <ScenarioObject name="pedestrian_close_to_hero_14322"> <Pedestrian model="walker.pedestrian.0001" mass="80" name="walker.pedestrian.0001" pedestrianCategory="pedestrian"> <ParameterDeclarations/> <BoundingBox> <Center x="1.5" y="0.0" z="0.9"/> <Dimensions width="2" length="2" height="2"/> </BoundingBox> <Properties> <Property name="type" value="simulation"/> </Properties> </Pedestrian> </ScenarioObject> <ScenarioObject name="pedestrian_w_transform_14323"> <Pedestrian model="walker.pedestrian.0001" mass="80" name="walker.pedestrian.0001" pedestrianCategory="pedestrian"> <ParameterDeclarations/> <BoundingBox> <Center x="1.5" y="0.0" z="0.9"/> <Dimensions width="2" length="2" height="2"/> </BoundingBox> <Properties> <Property name="type" value="simulation"/> </Properties> </Pedestrian> </ScenarioObject> <ScenarioObject name="pedestrian_close_to_adversary_14324"> <Pedestrian model="walker.pedestrian.0001" mass="80" name="walker.pedestrian.0001" pedestrianCategory="pedestrian"> <ParameterDeclarations/> <BoundingBox> <Center x="1.5" y="0.0" z="0.9"/> <Dimensions width="2" length="2" height="2"/> </BoundingBox> <Properties> <Property name="type" value="simulation"/> </Properties> </Pedestrian> </ScenarioObject> <ScenarioObject name="pedestrian_w_transform_14325"> <Pedestrian model="walker.pedestrian.0001" mass="80" name="walker.pedestrian.0001" pedestrianCategory="pedestrian"> <ParameterDeclarations/> <BoundingBox> <Center x="1.5" y="0.0" z="0.9"/> <Dimensions width="2" length="2" height="2"/> </BoundingBox> <Properties> <Property name="type" value="simulation"/> </Properties> </Pedestrian> </ScenarioObject> <ScenarioObject name="pedestrian_close_to_standing_14326"> <Pedestrian model="walker.pedestrian.0001" mass="80" name="walker.pedestrian.0001" pedestrianCategory="pedestrian"> <ParameterDeclarations/> <BoundingBox> <Center x="1.5" y="0.0" z="0.9"/> <Dimensions width="2" length="2" height="2"/> </BoundingBox> <Properties> <Property name="type" value="simulation"/> </Properties> </Pedestrian> </ScenarioObject> <ScenarioObject name="pedestrian_close_to_hero_14327"> <Pedestrian model="walker.pedestrian.0001" mass="80" name="walker.pedestrian.0001" pedestrianCategory="pedestrian"> <ParameterDeclarations/> <BoundingBox> <Center x="1.5" y="0.0" z="0.9"/> <Dimensions width="2" length="2" height="2"/> </BoundingBox> <Properties> <Property name="type" value="simulation"/> </Properties> </Pedestrian> </ScenarioObject> <ScenarioObject name="pedestrian_w_transform_14328"> <Pedestrian model="walker.pedestrian.0001" mass="80" name="walker.pedestrian.0001" pedestrianCategory="pedestrian"> <ParameterDeclarations/> <BoundingBox> <Center x="1.5" y="0.0" z="0.9"/> <Dimensions width="2" length="2" height="2"/> </BoundingBox> <Properties> <Property name="type" value="simulation"/> </Properties> </Pedestrian> </ScenarioObject> <ScenarioObject name="pedestrian_w_transform_14329"> <Pedestrian model="walker.pedestrian.0001" mass="80" name="walker.pedestrian.0001" pedestrianCategory="pedestrian"> <ParameterDeclarations/> <BoundingBox> <Center x="1.5" y="0.0" z="0.9"/> <Dimensions width="2" length="2" height="2"/> </BoundingBox> <Properties> <Property name="type" value="simulation"/> </Properties> </Pedestrian> </ScenarioObject> <ScenarioObject name="pedestrian_w_transform_14330"> <Pedestrian model="walker.pedestrian.0001" mass="80" name="walker.pedestrian.0001" pedestrianCategory="pedestrian"> <ParameterDeclarations/> <BoundingBox> <Center x="1.5" y="0.0" z="0.9"/> <Dimensions width="2" length="2" height="2"/> </BoundingBox> <Properties> <Property name="type" value="simulation"/> </Properties> </Pedestrian> </ScenarioObject> <ScenarioObject name="pedestrian_close_to_hero_14331"> <Pedestrian model="walker.pedestrian.0001" mass="80" name="walker.pedestrian.0001" pedestrianCategory="pedestrian"> <ParameterDeclarations/> <BoundingBox> <Center x="1.5" y="0.0" z="0.9"/> <Dimensions width="2" length="2" height="2"/> </BoundingBox> <Properties> <Property name="type" value="simulation"/> </Properties> </Pedestrian> </ScenarioObject> <ScenarioObject name="pedestrian_w_transform_14332"> <Pedestrian model="walker.pedestrian.0001" mass="80" name="walker.pedestrian.0001" pedestrianCategory="pedestrian"> <ParameterDeclarations/> <BoundingBox> <Center x="1.5" y="0.0" z="0.9"/> <Dimensions width="2" length="2" height="2"/> </BoundingBox> <Properties> <Property name="type" value="simulation"/> </Properties> </Pedestrian> </ScenarioObject> <ScenarioObject name="pedestrian_w_transform_14333"> <Pedestrian model="walker.pedestrian.0001" mass="80" name="walker.pedestrian.0001" pedestrianCategory="pedestrian"> <ParameterDeclarations/> <BoundingBox> <Center x="1.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_14319"> <PrivateAction> <TeleportAction> <Position> <WorldPosition x="-9.016973495483398" y="-76.47081756591797" z="0.03375614061951637"/> </Position> </TeleportAction> </PrivateAction> </Private> <Private entityRef="pedestrian_close_to_standing_14320"> <PrivateAction> <TeleportAction> <Position> <WorldPosition x="-16.332622528076172" y="28.465892791748047" z="0.003021888667717576"/> </Position> </TeleportAction> </PrivateAction> </Private> <Private entityRef="pedestrian_close_to_hero_14321"> <PrivateAction> <TeleportAction> <Position> <WorldPosition x="-16.219202041625977" y="-158.66146850585938" z="0.0013734435196965933"/> </Position> </TeleportAction> </PrivateAction> </Private> <Private entityRef="pedestrian_close_to_hero_14322"> <PrivateAction> <TeleportAction> <Position> <WorldPosition x="-3.622951030731201" y="-143.43411254882812" z="0.0013734435196965933"/> </Position> </TeleportAction> </PrivateAction> </Private> <Private entityRef="pedestrian_w_transform_14323"> <PrivateAction> <TeleportAction> <Position> <WorldPosition x="-81.86534881591797" y="-41.317569732666016" z="0.5"/> </Position> </TeleportAction> </PrivateAction> </Private> <Private entityRef="pedestrian_close_to_adversary_14324"> <PrivateAction> <TeleportAction> <Position> <WorldPosition x="-12.086102485656738" y="-82.10859680175781" z="0.03375793248414993"/> </Position> </TeleportAction> </PrivateAction> </Private> <Private entityRef="pedestrian_w_transform_14325"> <PrivateAction> <TeleportAction> <Position> <WorldPosition x="50.483070373535156" y="-66.831787109375" z="0.5"/> </Position> </TeleportAction> </PrivateAction> </Private> <Private entityRef="pedestrian_close_to_standing_14326"> <PrivateAction> <TeleportAction> <Position> <WorldPosition x="5.150059223175049" y="27.712657928466797" z="0.003018875140696764"/> </Position> </TeleportAction> </PrivateAction> </Private> <Private entityRef="pedestrian_close_to_hero_14327"> <PrivateAction> <TeleportAction> <Position> <WorldPosition x="-19.189847946166992" y="-156.91629028320312" z="0.0013734435196965933"/> </Position> </TeleportAction> </PrivateAction> </Private> <Private entityRef="pedestrian_w_transform_14328"> <PrivateAction> <TeleportAction> <Position> <WorldPosition x="71.48837280273438" y="58.567481994628906" z="0.5"/> </Position> </TeleportAction> </PrivateAction> </Private> <Private entityRef="pedestrian_w_transform_14329"> <PrivateAction> <TeleportAction> <Position> <WorldPosition x="-56.50030517578125" y="-65.0124740600586" z="0.5"/> </Position> </TeleportAction> </PrivateAction> </Private> <Private entityRef="pedestrian_w_transform_14330"> <PrivateAction> <TeleportAction> <Position> <WorldPosition x="-38.431983947753906" y="-19.110197067260742" z="0.5"/> </Position> </TeleportAction> </PrivateAction> </Private> <Private entityRef="pedestrian_close_to_hero_14331"> <PrivateAction> <TeleportAction> <Position> <WorldPosition x="-8.533492088317871" y="-149.4095458984375" z="0.0013734435196965933"/> </Position> </TeleportAction> </PrivateAction> </Private> <Private entityRef="pedestrian_w_transform_14332"> <PrivateAction> <TeleportAction> <Position> <WorldPosition x="-68.06519317626953" y="-60.89348220825195" z="0.5"/> </Position> </TeleportAction> </PrivateAction> </Private> <Private entityRef="pedestrian_w_transform_14333"> <PrivateAction> <TeleportAction> <Position> <WorldPosition x="-24.46124267578125" y="-45.92985534667969" 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_14319"> <Pedestrian model="walker.pedestrian.0001" mass="80" name="walker.pedestrian.0001" pedestrianCategory="pedestrian"> <ParameterDeclarations/> <BoundingBox> <Center x="1.5" y="0.0" z="0.9"/> <Dimensions width="2" length="2" height="2"/> </BoundingBox> <Properties> <Property name="type" value="simulation"/> </Properties> </Pedestrian> </ScenarioObject> <ScenarioObject name="pedestrian_close_to_standing_14320"> <Pedestrian model="walker.pedestrian.0001" mass="80" name="walker.pedestrian.0001" pedestrianCategory="pedestrian"> <ParameterDeclarations/> <BoundingBox> <Center x="1.5" y="0.0" z="0.9"/> <Dimensions width="2" length="2" height="2"/> </BoundingBox> <Properties> <Property name="type" value="simulation"/> </Properties> </Pedestrian> </ScenarioObject> <ScenarioObject name="pedestrian_close_to_hero_14321"> <Pedestrian model="walker.pedestrian.0001" mass="80" name="walker.pedestrian.0001" pedestrianCategory="pedestrian"> <ParameterDeclarations/> <BoundingBox> <Center x="1.5" y="0.0" z="0.9"/> <Dimensions width="2" length="2" height="2"/> </BoundingBox> <Properties> <Property name="type" value="simulation"/> </Properties> </Pedestrian> </ScenarioObject> <ScenarioObject name="pedestrian_close_to_hero_14322"> <Pedestrian model="walker.pedestrian.0001" mass="80" name="walker.pedestrian.0001" pedestrianCategory="pedestrian"> <ParameterDeclarations/> <BoundingBox> <Center x="1.5" y="0.0" z="0.9"/> <Dimensions width="2" length="2" height="2"/> </BoundingBox> <Properties> <Property name="type" value="simulation"/> </Properties> </Pedestrian> </ScenarioObject> <ScenarioObject name="pedestrian_w_transform_14323"> <Pedestrian model="walker.pedestrian.0001" mass="80" name="walker.pedestrian.0001" pedestrianCategory="pedestrian"> <ParameterDeclarations/> <BoundingBox> <Center x="1.5" y="0.0" z="0.9"/> <Dimensions width="2" length="2" height="2"/> </BoundingBox> <Properties> <Property name="type" value="simulation"/> </Properties> </Pedestrian> </ScenarioObject> <ScenarioObject name="pedestrian_close_to_adversary_14324"> <Pedestrian model="walker.pedestrian.0001" mass="80" name="walker.pedestrian.0001" pedestrianCategory="pedestrian"> <ParameterDeclarations/> <BoundingBox> <Center x="1.5" y="0.0" z="0.9"/> <Dimensions width="2" length="2" height="2"/> </BoundingBox> <Properties> <Property name="type" value="simulation"/> </Properties> </Pedestrian> </ScenarioObject> <ScenarioObject name="pedestrian_w_transform_14325"> <Pedestrian model="walker.pedestrian.0001" mass="80" name="walker.pedestrian.0001" pedestrianCategory="pedestrian"> <ParameterDeclarations/> <BoundingBox> <Center x="1.5" y="0.0" z="0.9"/> <Dimensions width="2" length="2" height="2"/> </BoundingBox> <Properties> <Property name="type" value="simulation"/> </Properties> </Pedestrian> </ScenarioObject> <ScenarioObject name="pedestrian_close_to_standing_14326"> <Pedestrian model="walker.pedestrian.0001" mass="80" name="walker.pedestrian.0001" pedestrianCategory="pedestrian"> <ParameterDeclarations/> <BoundingBox> <Center x="1.5" y="0.0" z="0.9"/> <Dimensions width="2" length="2" height="2"/> </BoundingBox> <Properties> <Property name="type" value="simulation"/> </Properties> </Pedestrian> </ScenarioObject> <ScenarioObject name="pedestrian_close_to_hero_14327"> <Pedestrian model="walker.pedestrian.0001" mass="80" name="walker.pedestrian.0001" pedestrianCategory="pedestrian"> <ParameterDeclarations/> <BoundingBox> <Center x="1.5" y="0.0" z="0.9"/> <Dimensions width="2" length="2" height="2"/> </BoundingBox> <Properties> <Property name="type" value="simulation"/> </Properties> </Pedestrian> </ScenarioObject> <ScenarioObject name="pedestrian_w_transform_14328"> <Pedestrian model="walker.pedestrian.0001" mass="80" name="walker.pedestrian.0001" pedestrianCategory="pedestrian"> <ParameterDeclarations/> <BoundingBox> <Center x="1.5" y="0.0" z="0.9"/> <Dimensions width="2" length="2" height="2"/> </BoundingBox> <Properties> <Property name="type" value="simulation"/> </Properties> </Pedestrian> </ScenarioObject> <ScenarioObject name="pedestrian_w_transform_14329"> <Pedestrian model="walker.pedestrian.0001" mass="80" name="walker.pedestrian.0001" pedestrianCategory="pedestrian"> <ParameterDeclarations/> <BoundingBox> <Center x="1.5" y="0.0" z="0.9"/> <Dimensions width="2" length="2" height="2"/> </BoundingBox> <Properties> <Property name="type" value="simulation"/> </Properties> </Pedestrian> </ScenarioObject> <ScenarioObject name="pedestrian_w_transform_14330"> <Pedestrian model="walker.pedestrian.0001" mass="80" name="walker.pedestrian.0001" pedestrianCategory="pedestrian"> <ParameterDeclarations/> <BoundingBox> <Center x="1.5" y="0.0" z="0.9"/> <Dimensions width="2" length="2" height="2"/> </BoundingBox> <Properties> <Property name="type" value="simulation"/> </Properties> </Pedestrian> </ScenarioObject> <ScenarioObject name="pedestrian_close_to_hero_14331"> <Pedestrian model="walker.pedestrian.0001" mass="80" name="walker.pedestrian.0001" pedestrianCategory="pedestrian"> <ParameterDeclarations/> <BoundingBox> <Center x="1.5" y="0.0" z="0.9"/> <Dimensions width="2" length="2" height="2"/> </BoundingBox> <Properties> <Property name="type" value="simulation"/> </Properties> </Pedestrian> </ScenarioObject> <ScenarioObject name="pedestrian_w_transform_14332"> <Pedestrian model="walker.pedestrian.0001" mass="80" name="walker.pedestrian.0001" pedestrianCategory="pedestrian"> <ParameterDeclarations/> <BoundingBox> <Center x="1.5" y="0.0" z="0.9"/> <Dimensions width="2" length="2" height="2"/> </BoundingBox> <Properties> <Property name="type" value="simulation"/> </Properties> </Pedestrian> </ScenarioObject> <ScenarioObject name="pedestrian_w_transform_14333"> <Pedestrian model="walker.pedestrian.0001" mass="80" name="walker.pedestrian.0001" pedestrianCategory="pedestrian"> <ParameterDeclarations/> <BoundingBox> <Center x="1.5" y="0.0" z="0.9"/> <Dimensions width="2" length="2" height="2"/> </BoundingBox> <Properties> <Property name="type" value="simulation"/> </Properties> </Pedestrian> </ScenarioObject> <ScenarioObject name="pedestrian_w_transform_14334"> <Pedestrian model="walker.pedestrian.0001" mass="80" name="walker.pedestrian.0001" pedestrianCategory="pedestrian"> <ParameterDeclarations/> <BoundingBox> <Center x="1.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_14319"> <PrivateAction> <TeleportAction> <Position> <WorldPosition x="-9.016973495483398" y="-76.47081756591797" z="0.03375614061951637"/> </Position> </TeleportAction> </PrivateAction> </Private> <Private entityRef="pedestrian_close_to_standing_14320"> <PrivateAction> <TeleportAction> <Position> <WorldPosition x="-16.332622528076172" y="28.465892791748047" z="0.003021888667717576"/> </Position> </TeleportAction> </PrivateAction> </Private> <Private entityRef="pedestrian_close_to_hero_14321"> <PrivateAction> <TeleportAction> <Position> <WorldPosition x="-16.219202041625977" y="-158.66146850585938" z="0.0013734435196965933"/> </Position> </TeleportAction> </PrivateAction> </Private> <Private entityRef="pedestrian_close_to_hero_14322"> <PrivateAction> <TeleportAction> <Position> <WorldPosition x="-3.622951030731201" y="-143.43411254882812" z="0.0013734435196965933"/> </Position> </TeleportAction> </PrivateAction> </Private> <Private entityRef="pedestrian_w_transform_14323"> <PrivateAction> <TeleportAction> <Position> <WorldPosition x="-81.86534881591797" y="-41.317569732666016" z="0.5"/> </Position> </TeleportAction> </PrivateAction> </Private> <Private entityRef="pedestrian_close_to_adversary_14324"> <PrivateAction> <TeleportAction> <Position> <WorldPosition x="-12.086102485656738" y="-82.10859680175781" z="0.03375793248414993"/> </Position> </TeleportAction> </PrivateAction> </Private> <Private entityRef="pedestrian_w_transform_14325"> <PrivateAction> <TeleportAction> <Position> <WorldPosition x="50.483070373535156" y="-66.831787109375" z="0.5"/> </Position> </TeleportAction> </PrivateAction> </Private> <Private entityRef="pedestrian_close_to_standing_14326"> <PrivateAction> <TeleportAction> <Position> <WorldPosition x="5.150059223175049" y="27.712657928466797" z="0.003018875140696764"/> </Position> </TeleportAction> </PrivateAction> </Private> <Private entityRef="pedestrian_close_to_hero_14327"> <PrivateAction> <TeleportAction> <Position> <WorldPosition x="-19.189847946166992" y="-156.91629028320312" z="0.0013734435196965933"/> </Position> </TeleportAction> </PrivateAction> </Private> <Private entityRef="pedestrian_w_transform_14328"> <PrivateAction> <TeleportAction> <Position> <WorldPosition x="71.48837280273438" y="58.567481994628906" z="0.5"/> </Position> </TeleportAction> </PrivateAction> </Private> <Private entityRef="pedestrian_w_transform_14329"> <PrivateAction> <TeleportAction> <Position> <WorldPosition x="-56.50030517578125" y="-65.0124740600586" z="0.5"/> </Position> </TeleportAction> </PrivateAction> </Private> <Private entityRef="pedestrian_w_transform_14330"> <PrivateAction> <TeleportAction> <Position> <WorldPosition x="-38.431983947753906" y="-19.110197067260742" z="0.5"/> </Position> </TeleportAction> </PrivateAction> </Private> <Private entityRef="pedestrian_close_to_hero_14331"> <PrivateAction> <TeleportAction> <Position> <WorldPosition x="-8.533492088317871" y="-149.4095458984375" z="0.0013734435196965933"/> </Position> </TeleportAction> </PrivateAction> </Private> <Private entityRef="pedestrian_w_transform_14332"> <PrivateAction> <TeleportAction> <Position> <WorldPosition x="-68.06519317626953" y="-60.89348220825195" z="0.5"/> </Position> </TeleportAction> </PrivateAction> </Private> <Private entityRef="pedestrian_w_transform_14333"> <PrivateAction> <TeleportAction> <Position> <WorldPosition x="-24.46124267578125" y="-45.92985534667969" z="0.5"/> </Position> </TeleportAction> </PrivateAction> </Private> <Private entityRef="pedestrian_w_transform_14334"> <PrivateAction> <TeleportAction> <Position> <WorldPosition x="-31.115509033203125" y="-13.27304744720459" 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 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_20760"> <Pedestrian model="walker.pedestrian.0001" mass="80" name="walker.pedestrian.0001" pedestrianCategory="pedestrian"> <ParameterDeclarations/> <BoundingBox> <Center x="1.5" y="0.0" z="0.9"/> <Dimensions width="2" length="2" height="2"/> </BoundingBox> <Properties> <Property name="type" value="simulation"/> </Properties> </Pedestrian> </ScenarioObject> <ScenarioObject name="pedestrian_w_transform_20761"> <Pedestrian model="walker.pedestrian.0001" mass="80" name="walker.pedestrian.0001" pedestrianCategory="pedestrian"> <ParameterDeclarations/> <BoundingBox> <Center x="1.5" y="0.0" z="0.9"/> <Dimensions width="2" length="2" height="2"/> </BoundingBox> <Properties> <Property name="type" value="simulation"/> </Properties> </Pedestrian> </ScenarioObject> <ScenarioObject name="pedestrian_close_to_hero_20762"> <Pedestrian model="walker.pedestrian.0001" mass="80" name="walker.pedestrian.0001" pedestrianCategory="pedestrian"> <ParameterDeclarations/> <BoundingBox> <Center x="1.5" y="0.0" z="0.9"/> <Dimensions width="2" length="2" height="2"/> </BoundingBox> <Properties> <Property name="type" value="simulation"/> </Properties> </Pedestrian> </ScenarioObject> <ScenarioObject name="pedestrian_close_to_adversary_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> <ScenarioObject name="pedestrian_w_transform_20765"> <Pedestrian model="walker.pedestrian.0001" mass="80" name="walker.pedestrian.0001" pedestrianCategory="pedestrian"> <ParameterDeclarations/> <BoundingBox> <Center x="1.5" y="0.0" z="0.9"/> <Dimensions width="2" length="2" height="2"/> </BoundingBox> <Properties> <Property name="type" value="simulation"/> </Properties> </Pedestrian> </ScenarioObject> <ScenarioObject name="pedestrian_w_transform_20766"> <Pedestrian model="walker.pedestrian.0001" mass="80" name="walker.pedestrian.0001" pedestrianCategory="pedestrian"> <ParameterDeclarations/> <BoundingBox> <Center x="1.5" y="0.0" z="0.9"/> <Dimensions width="2" length="2" height="2"/> </BoundingBox> <Properties> <Property name="type" value="simulation"/> </Properties> </Pedestrian> </ScenarioObject> <ScenarioObject name="pedestrian_w_transform_20767"> <Pedestrian model="walker.pedestrian.0001" mass="80" name="walker.pedestrian.0001" pedestrianCategory="pedestrian"> <ParameterDeclarations/> <BoundingBox> <Center x="1.5" y="0.0" z="0.9"/> <Dimensions width="2" length="2" height="2"/> </BoundingBox> <Properties> <Property name="type" value="simulation"/> </Properties> </Pedestrian> </ScenarioObject> <ScenarioObject name="pedestrian_close_to_adversary_20768"> <Pedestrian model="walker.pedestrian.0001" mass="80" name="walker.pedestrian.0001" pedestrianCategory="pedestrian"> <ParameterDeclarations/> <BoundingBox> <Center x="1.5" y="0.0" z="0.9"/> <Dimensions width="2" length="2" height="2"/> </BoundingBox> <Properties> <Property name="type" value="simulation"/> </Properties> </Pedestrian> </ScenarioObject> <ScenarioObject name="pedestrian_close_to_hero_20769"> <Pedestrian model="walker.pedestrian.0001" mass="80" name="walker.pedestrian.0001" pedestrianCategory="pedestrian"> <ParameterDeclarations/> <BoundingBox> <Center x="1.5" y="0.0" z="0.9"/> <Dimensions width="2" length="2" height="2"/> </BoundingBox> <Properties> <Property name="type" value="simulation"/> </Properties> </Pedestrian> </ScenarioObject> <ScenarioObject name="pedestrian_close_to_adversary_20770"> <Pedestrian model="walker.pedestrian.0001" mass="80" name="walker.pedestrian.0001" pedestrianCategory="pedestrian"> <ParameterDeclarations/> <BoundingBox> <Center x="1.5" y="0.0" z="0.9"/> <Dimensions width="2" length="2" height="2"/> </BoundingBox> <Properties> <Property name="type" value="simulation"/> </Properties> </Pedestrian> </ScenarioObject> <ScenarioObject name="pedestrian_close_to_hero_20771"> <Pedestrian model="walker.pedestrian.0001" mass="80" name="walker.pedestrian.0001" pedestrianCategory="pedestrian"> <ParameterDeclarations/> <BoundingBox> <Center x="1.5" y="0.0" z="0.9"/> <Dimensions width="2" length="2" height="2"/> </BoundingBox> <Properties> <Property name="type" value="simulation"/> </Properties> </Pedestrian> </ScenarioObject> <ScenarioObject name="pedestrian_w_transform_20772"> <Pedestrian model="walker.pedestrian.0001" mass="80" name="walker.pedestrian.0001" pedestrianCategory="pedestrian"> <ParameterDeclarations/> <BoundingBox> <Center x="1.5" y="0.0" z="0.9"/> <Dimensions width="2" length="2" height="2"/> </BoundingBox> <Properties> <Property name="type" value="simulation"/> </Properties> </Pedestrian> </ScenarioObject> <ScenarioObject name="pedestrian_close_to_standing_20773"> <Pedestrian model="walker.pedestrian.0001" mass="80" name="walker.pedestrian.0001" pedestrianCategory="pedestrian"> <ParameterDeclarations/> <BoundingBox> <Center x="1.5" y="0.0" z="0.9"/> <Dimensions width="2" length="2" height="2"/> </BoundingBox> <Properties> <Property name="type" value="simulation"/> </Properties> </Pedestrian> </ScenarioObject> <ScenarioObject name="pedestrian_w_transform_20774"> <Pedestrian model="walker.pedestrian.0001" mass="80" name="walker.pedestrian.0001" pedestrianCategory="pedestrian"> <ParameterDeclarations/> <BoundingBox> <Center x="1.5" y="0.0" z="0.9"/> <Dimensions width="2" length="2" height="2"/> </BoundingBox> <Properties> <Property name="type" value="simulation"/> </Properties> </Pedestrian> </ScenarioObject> <ScenarioObject name="pedestrian_w_transform_20775"> <Pedestrian model="walker.pedestrian.0001" mass="80" name="walker.pedestrian.0001" pedestrianCategory="pedestrian"> <ParameterDeclarations/> <BoundingBox> <Center x="1.5" y="0.0" z="0.9"/> <Dimensions width="2" length="2" height="2"/> </BoundingBox> <Properties> <Property name="type" value="simulation"/> </Properties> </Pedestrian> </ScenarioObject> <ScenarioObject name="pedestrian_close_to_adversary_20776"> <Pedestrian model="walker.pedestrian.0001" mass="80" name="walker.pedestrian.0001" pedestrianCategory="pedestrian"> <ParameterDeclarations/> <BoundingBox> <Center x="1.5" y="0.0" z="0.9"/> <Dimensions width="2" length="2" height="2"/> </BoundingBox> <Properties> <Property name="type" value="simulation"/> </Properties> </Pedestrian> </ScenarioObject> <ScenarioObject name="pedestrian_w_transform_20777"> <Pedestrian model="walker.pedestrian.0001" mass="80" name="walker.pedestrian.0001" pedestrianCategory="pedestrian"> <ParameterDeclarations/> <BoundingBox> <Center x="1.5" y="0.0" z="0.9"/> <Dimensions width="2" length="2" height="2"/> </BoundingBox> <Properties> <Property name="type" value="simulation"/> </Properties> </Pedestrian> </ScenarioObject> <ScenarioObject name="pedestrian_w_transform_20778"> <Pedestrian model="walker.pedestrian.0001" mass="80" name="walker.pedestrian.0001" pedestrianCategory="pedestrian"> <ParameterDeclarations/> <BoundingBox> <Center x="1.5" y="0.0" z="0.9"/> <Dimensions width="2" length="2" height="2"/> </BoundingBox> <Properties> <Property name="type" value="simulation"/> </Properties> </Pedestrian> </ScenarioObject> <ScenarioObject name="pedestrian_w_transform_20779"> <Pedestrian model="walker.pedestrian.0001" mass="80" name="walker.pedestrian.0001" pedestrianCategory="pedestrian"> <ParameterDeclarations/> <BoundingBox> <Center x="1.5" y="0.0" z="0.9"/> <Dimensions width="2" length="2" height="2"/> </BoundingBox> <Properties> <Property name="type" value="simulation"/> </Properties> </Pedestrian> </ScenarioObject> <ScenarioObject name="pedestrian_close_to_standing_20780"> <Pedestrian model="walker.pedestrian.0001" mass="80" name="walker.pedestrian.0001" pedestrianCategory="pedestrian"> <ParameterDeclarations/> <BoundingBox> <Center x="1.5" y="0.0" z="0.9"/> <Dimensions width="2" length="2" height="2"/> </BoundingBox> <Properties> <Property name="type" value="simulation"/> </Properties> </Pedestrian> </ScenarioObject> <ScenarioObject name="pedestrian_close_to_adversary_20781"> <Pedestrian model="walker.pedestrian.0001" mass="80" name="walker.pedestrian.0001" pedestrianCategory="pedestrian"> <ParameterDeclarations/> <BoundingBox> <Center x="1.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_20760"> <PrivateAction> <TeleportAction> <Position> <WorldPosition x="-8.768841743469238" y="-158.63845825195312" z="0.0016471862327307463"/> </Position> </TeleportAction> </PrivateAction> </Private> <Private entityRef="pedestrian_w_transform_20761"> <PrivateAction> <TeleportAction> <Position> <WorldPosition x="-30.73893928527832" y="20.470151901245117" z="0.5"/> </Position> </TeleportAction> </PrivateAction> </Private> <Private entityRef="pedestrian_close_to_hero_20762"> <PrivateAction> <TeleportAction> <Position> <WorldPosition x="1.0479899644851685" y="-152.66456604003906" z="0.0016471862327307463"/> </Position> </TeleportAction> </PrivateAction> </Private> <Private entityRef="pedestrian_close_to_adversary_20764"> <PrivateAction> <TeleportAction> <Position> <WorldPosition x="-14.133204460144043" y="-56.68830108642578" z="0.03378207981586456"/> </Position> </TeleportAction> </PrivateAction> </Private> <Private entityRef="pedestrian_w_transform_20765"> <PrivateAction> <TeleportAction> <Position> <WorldPosition x="18.277692794799805" y="-23.304805755615234" z="0.5"/> </Position> </TeleportAction> </PrivateAction> </Private> <Private entityRef="pedestrian_w_transform_20766"> <PrivateAction> <TeleportAction> <Position> <WorldPosition x="-53.79156494140625" y="52.074737548828125" z="0.5"/> </Position> </TeleportAction> </PrivateAction> </Private> <Private entityRef="pedestrian_w_transform_20767"> <PrivateAction> <TeleportAction> <Position> <WorldPosition x="-90.36195373535156" y="-22.7388916015625" z="0.5"/> </Position> </TeleportAction> </PrivateAction> </Private> <Private entityRef="pedestrian_close_to_adversary_20768"> <PrivateAction> <TeleportAction> <Position> <WorldPosition x="-13.308521270751953" y="-78.56582641601562" z="0.033771172165870667"/> </Position> </TeleportAction> </PrivateAction> </Private> <Private entityRef="pedestrian_close_to_hero_20769"> <PrivateAction> <TeleportAction> <Position> <WorldPosition x="6.5768561363220215" y="-153.89422607421875" z="0.0016471862327307463"/> </Position> </TeleportAction> </PrivateAction> </Private> <Private entityRef="pedestrian_close_to_adversary_20770"> <PrivateAction> <TeleportAction> <Position> <WorldPosition x="-10.977066040039062" y="-70.73920440673828" z="0.033860623836517334"/> </Position> </TeleportAction> </PrivateAction> </Private> <Private entityRef="pedestrian_close_to_hero_20771"> <PrivateAction> <TeleportAction> <Position> <WorldPosition x="-17.670021057128906" y="-154.63983154296875" z="0.0016471862327307463"/> </Position> </TeleportAction> </PrivateAction> </Private> <Private entityRef="pedestrian_w_transform_20772"> <PrivateAction> <TeleportAction> <Position> <WorldPosition x="76.2154312133789" y="46.69645690917969" z="0.5"/> </Position> </TeleportAction> </PrivateAction> </Private> <Private entityRef="pedestrian_close_to_standing_20773"> <PrivateAction> <TeleportAction> <Position> <WorldPosition x="-9.994807243347168" y="30.651880264282227" z="0.0030736159533262253"/> </Position> </TeleportAction> </PrivateAction> </Private> <Private entityRef="pedestrian_w_transform_20774"> <PrivateAction> <TeleportAction> <Position> <WorldPosition x="-91.85665130615234" y="12.793197631835938" z="0.5"/> </Position> </TeleportAction> </PrivateAction> </Private> <Private entityRef="pedestrian_w_transform_20775"> <PrivateAction> <TeleportAction> <Position> <WorldPosition x="-15.430599212646484" y="-3.185197353363037" z="0.5"/> </Position> </TeleportAction> </PrivateAction> </Private> <Private entityRef="pedestrian_close_to_adversary_20776"> <PrivateAction> <TeleportAction> <Position> <WorldPosition x="-11.584712028503418" y="-73.06180572509766" z="0.033743515610694885"/> </Position> </TeleportAction> </PrivateAction> </Private> <Private entityRef="pedestrian_w_transform_20777"> <PrivateAction> <TeleportAction> <Position> <WorldPosition x="5.81277322769165" y="38.158843994140625" z="0.5"/> </Position> </TeleportAction> </PrivateAction> </Private> <Private entityRef="pedestrian_w_transform_20778"> <PrivateAction> <TeleportAction> <Position> <WorldPosition x="8.839499473571777" y="85.34822082519531" z="0.5"/> </Position> </TeleportAction> </PrivateAction> </Private> <Private entityRef="pedestrian_w_transform_20779"> <PrivateAction> <TeleportAction> <Position> <WorldPosition x="-65.62715148925781" y="-86.11400604248047" z="0.5"/> </Position> </TeleportAction> </PrivateAction> </Private> <Private entityRef="pedestrian_close_to_standing_20780"> <PrivateAction> <TeleportAction> <Position> <WorldPosition x="-4.183086395263672" y="21.50137710571289" z="0.0030596160795539618"/> </Position> </TeleportAction> </PrivateAction> </Private> <Private entityRef="pedestrian_close_to_adversary_20781"> <PrivateAction> <TeleportAction> <Position> <WorldPosition x="-10.222708702087402" y="-61.653839111328125" z="0.033795204013586044"/> </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_20760"> <Pedestrian model="walker.pedestrian.0001" mass="80" name="walker.pedestrian.0001" pedestrianCategory="pedestrian"> <ParameterDeclarations/> <BoundingBox> <Center x="1.5" y="0.0" z="0.9"/> <Dimensions width="2" length="2" height="2"/> </BoundingBox> <Properties> <Property name="type" value="simulation"/> </Properties> </Pedestrian> </ScenarioObject> <ScenarioObject name="pedestrian_w_transform_20761"> <Pedestrian model="walker.pedestrian.0001" mass="80" name="walker.pedestrian.0001" pedestrianCategory="pedestrian"> <ParameterDeclarations/> <BoundingBox> <Center x="1.5" y="0.0" z="0.9"/> <Dimensions width="2" length="2" height="2"/> </BoundingBox> <Properties> <Property name="type" value="simulation"/> </Properties> </Pedestrian> </ScenarioObject> <ScenarioObject name="pedestrian_close_to_hero_20762"> <Pedestrian model="walker.pedestrian.0001" mass="80" name="walker.pedestrian.0001" pedestrianCategory="pedestrian"> <ParameterDeclarations/> <BoundingBox> <Center x="1.5" y="0.0" z="0.9"/> <Dimensions width="2" length="2" height="2"/> </BoundingBox> <Properties> <Property name="type" value="simulation"/> </Properties> </Pedestrian> </ScenarioObject> <ScenarioObject name="pedestrian_close_to_adversary_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> <ScenarioObject name="pedestrian_w_transform_20765"> <Pedestrian model="walker.pedestrian.0001" mass="80" name="walker.pedestrian.0001" pedestrianCategory="pedestrian"> <ParameterDeclarations/> <BoundingBox> <Center x="1.5" y="0.0" z="0.9"/> <Dimensions width="2" length="2" height="2"/> </BoundingBox> <Properties> <Property name="type" value="simulation"/> </Properties> </Pedestrian> </ScenarioObject> <ScenarioObject name="pedestrian_w_transform_20766"> <Pedestrian model="walker.pedestrian.0001" mass="80" name="walker.pedestrian.0001" pedestrianCategory="pedestrian"> <ParameterDeclarations/> <BoundingBox> <Center x="1.5" y="0.0" z="0.9"/> <Dimensions width="2" length="2" height="2"/> </BoundingBox> <Properties> <Property name="type" value="simulation"/> </Properties> </Pedestrian> </ScenarioObject> <ScenarioObject name="pedestrian_w_transform_20767"> <Pedestrian model="walker.pedestrian.0001" mass="80" name="walker.pedestrian.0001" pedestrianCategory="pedestrian"> <ParameterDeclarations/> <BoundingBox> <Center x="1.5" y="0.0" z="0.9"/> <Dimensions width="2" length="2" height="2"/> </BoundingBox> <Properties> <Property name="type" value="simulation"/> </Properties> </Pedestrian> </ScenarioObject> <ScenarioObject name="pedestrian_close_to_adversary_20768"> <Pedestrian model="walker.pedestrian.0001" mass="80" name="walker.pedestrian.0001" pedestrianCategory="pedestrian"> <ParameterDeclarations/> <BoundingBox> <Center x="1.5" y="0.0" z="0.9"/> <Dimensions width="2" length="2" height="2"/> </BoundingBox> <Properties> <Property name="type" value="simulation"/> </Properties> </Pedestrian> </ScenarioObject> <ScenarioObject name="pedestrian_close_to_hero_20769"> <Pedestrian model="walker.pedestrian.0001" mass="80" name="walker.pedestrian.0001" pedestrianCategory="pedestrian"> <ParameterDeclarations/> <BoundingBox> <Center x="1.5" y="0.0" z="0.9"/> <Dimensions width="2" length="2" height="2"/> </BoundingBox> <Properties> <Property name="type" value="simulation"/> </Properties> </Pedestrian> </ScenarioObject> <ScenarioObject name="pedestrian_close_to_adversary_20770"> <Pedestrian model="walker.pedestrian.0001" mass="80" name="walker.pedestrian.0001" pedestrianCategory="pedestrian"> <ParameterDeclarations/> <BoundingBox> <Center x="1.5" y="0.0" z="0.9"/> <Dimensions width="2" length="2" height="2"/> </BoundingBox> <Properties> <Property name="type" value="simulation"/> </Properties> </Pedestrian> </ScenarioObject> <ScenarioObject name="pedestrian_close_to_hero_20771"> <Pedestrian model="walker.pedestrian.0001" mass="80" name="walker.pedestrian.0001" pedestrianCategory="pedestrian"> <ParameterDeclarations/> <BoundingBox> <Center x="1.5" y="0.0" z="0.9"/> <Dimensions width="2" length="2" height="2"/> </BoundingBox> <Properties> <Property name="type" value="simulation"/> </Properties> </Pedestrian> </ScenarioObject> <ScenarioObject name="pedestrian_w_transform_20772"> <Pedestrian model="walker.pedestrian.0001" mass="80" name="walker.pedestrian.0001" pedestrianCategory="pedestrian"> <ParameterDeclarations/> <BoundingBox> <Center x="1.5" y="0.0" z="0.9"/> <Dimensions width="2" length="2" height="2"/> </BoundingBox> <Properties> <Property name="type" value="simulation"/> </Properties> </Pedestrian> </ScenarioObject> <ScenarioObject name="pedestrian_close_to_standing_20773"> <Pedestrian model="walker.pedestrian.0001" mass="80" name="walker.pedestrian.0001" pedestrianCategory="pedestrian"> <ParameterDeclarations/> <BoundingBox> <Center x="1.5" y="0.0" z="0.9"/> <Dimensions width="2" length="2" height="2"/> </BoundingBox> <Properties> <Property name="type" value="simulation"/> </Properties> </Pedestrian> </ScenarioObject> <ScenarioObject name="pedestrian_w_transform_20774"> <Pedestrian model="walker.pedestrian.0001" mass="80" name="walker.pedestrian.0001" pedestrianCategory="pedestrian"> <ParameterDeclarations/> <BoundingBox> <Center x="1.5" y="0.0" z="0.9"/> <Dimensions width="2" length="2" height="2"/> </BoundingBox> <Properties> <Property name="type" value="simulation"/> </Properties> </Pedestrian> </ScenarioObject> <ScenarioObject name="pedestrian_w_transform_20775"> <Pedestrian model="walker.pedestrian.0001" mass="80" name="walker.pedestrian.0001" pedestrianCategory="pedestrian"> <ParameterDeclarations/> <BoundingBox> <Center x="1.5" y="0.0" z="0.9"/> <Dimensions width="2" length="2" height="2"/> </BoundingBox> <Properties> <Property name="type" value="simulation"/> </Properties> </Pedestrian> </ScenarioObject> <ScenarioObject name="pedestrian_close_to_adversary_20776"> <Pedestrian model="walker.pedestrian.0001" mass="80" name="walker.pedestrian.0001" pedestrianCategory="pedestrian"> <ParameterDeclarations/> <BoundingBox> <Center x="1.5" y="0.0" z="0.9"/> <Dimensions width="2" length="2" height="2"/> </BoundingBox> <Properties> <Property name="type" value="simulation"/> </Properties> </Pedestrian> </ScenarioObject> <ScenarioObject name="pedestrian_w_transform_20777"> <Pedestrian model="walker.pedestrian.0001" mass="80" name="walker.pedestrian.0001" pedestrianCategory="pedestrian"> <ParameterDeclarations/> <BoundingBox> <Center x="1.5" y="0.0" z="0.9"/> <Dimensions width="2" length="2" height="2"/> </BoundingBox> <Properties> <Property name="type" value="simulation"/> </Properties> </Pedestrian> </ScenarioObject> <ScenarioObject name="pedestrian_w_transform_20778"> <Pedestrian model="walker.pedestrian.0001" mass="80" name="walker.pedestrian.0001" pedestrianCategory="pedestrian"> <ParameterDeclarations/> <BoundingBox> <Center x="1.5" y="0.0" z="0.9"/> <Dimensions width="2" length="2" height="2"/> </BoundingBox> <Properties> <Property name="type" value="simulation"/> </Properties> </Pedestrian> </ScenarioObject> <ScenarioObject name="pedestrian_w_transform_20779"> <Pedestrian model="walker.pedestrian.0001" mass="80" name="walker.pedestrian.0001" pedestrianCategory="pedestrian"> <ParameterDeclarations/> <BoundingBox> <Center x="1.5" y="0.0" z="0.9"/> <Dimensions width="2" length="2" height="2"/> </BoundingBox> <Properties> <Property name="type" value="simulation"/> </Properties> </Pedestrian> </ScenarioObject> <ScenarioObject name="pedestrian_close_to_standing_20780"> <Pedestrian model="walker.pedestrian.0001" mass="80" name="walker.pedestrian.0001" pedestrianCategory="pedestrian"> <ParameterDeclarations/> <BoundingBox> <Center x="1.5" y="0.0" z="0.9"/> <Dimensions width="2" length="2" height="2"/> </BoundingBox> <Properties> <Property name="type" value="simulation"/> </Properties> </Pedestrian> </ScenarioObject> <ScenarioObject name="pedestrian_close_to_adversary_20781"> <Pedestrian model="walker.pedestrian.0001" mass="80" name="walker.pedestrian.0001" pedestrianCategory="pedestrian"> <ParameterDeclarations/> <BoundingBox> <Center x="1.5" y="0.0" z="0.9"/> <Dimensions width="2" length="2" height="2"/> </BoundingBox> <Properties> <Property name="type" value="simulation"/> </Properties> </Pedestrian> </ScenarioObject> <ScenarioObject name="pedestrian_close_to_hero_20782"> <Pedestrian model="walker.pedestrian.0001" mass="80" name="walker.pedestrian.0001" pedestrianCategory="pedestrian"> <ParameterDeclarations/> <BoundingBox> <Center x="1.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_20760"> <PrivateAction> <TeleportAction> <Position> <WorldPosition x="-8.768841743469238" y="-158.63845825195312" z="0.0016471862327307463"/> </Position> </TeleportAction> </PrivateAction> </Private> <Private entityRef="pedestrian_w_transform_20761"> <PrivateAction> <TeleportAction> <Position> <WorldPosition x="-30.73893928527832" y="20.470151901245117" z="0.5"/> </Position> </TeleportAction> </PrivateAction> </Private> <Private entityRef="pedestrian_close_to_hero_20762"> <PrivateAction> <TeleportAction> <Position> <WorldPosition x="1.0479899644851685" y="-152.66456604003906" z="0.0016471862327307463"/> </Position> </TeleportAction> </PrivateAction> </Private> <Private entityRef="pedestrian_close_to_adversary_20764"> <PrivateAction> <TeleportAction> <Position> <WorldPosition x="-14.133204460144043" y="-56.68830108642578" z="0.03378207981586456"/> </Position> </TeleportAction> </PrivateAction> </Private> <Private entityRef="pedestrian_w_transform_20765"> <PrivateAction> <TeleportAction> <Position> <WorldPosition x="18.277692794799805" y="-23.304805755615234" z="0.5"/> </Position> </TeleportAction> </PrivateAction> </Private> <Private entityRef="pedestrian_w_transform_20766"> <PrivateAction> <TeleportAction> <Position> <WorldPosition x="-53.79156494140625" y="52.074737548828125" z="0.5"/> </Position> </TeleportAction> </PrivateAction> </Private> <Private entityRef="pedestrian_w_transform_20767"> <PrivateAction> <TeleportAction> <Position> <WorldPosition x="-90.36195373535156" y="-22.7388916015625" z="0.5"/> </Position> </TeleportAction> </PrivateAction> </Private> <Private entityRef="pedestrian_close_to_adversary_20768"> <PrivateAction> <TeleportAction> <Position> <WorldPosition x="-13.308521270751953" y="-78.56582641601562" z="0.033771172165870667"/> </Position> </TeleportAction> </PrivateAction> </Private> <Private entityRef="pedestrian_close_to_hero_20769"> <PrivateAction> <TeleportAction> <Position> <WorldPosition x="6.5768561363220215" y="-153.89422607421875" z="0.0016471862327307463"/> </Position> </TeleportAction> </PrivateAction> </Private> <Private entityRef="pedestrian_close_to_adversary_20770"> <PrivateAction> <TeleportAction> <Position> <WorldPosition x="-10.977066040039062" y="-70.73920440673828" z="0.033860623836517334"/> </Position> </TeleportAction> </PrivateAction> </Private> <Private entityRef="pedestrian_close_to_hero_20771"> <PrivateAction> <TeleportAction> <Position> <WorldPosition x="-17.670021057128906" y="-154.63983154296875" z="0.0016471862327307463"/> </Position> </TeleportAction> </PrivateAction> </Private> <Private entityRef="pedestrian_w_transform_20772"> <PrivateAction> <TeleportAction> <Position> <WorldPosition x="76.2154312133789" y="46.69645690917969" z="0.5"/> </Position> </TeleportAction> </PrivateAction> </Private> <Private entityRef="pedestrian_close_to_standing_20773"> <PrivateAction> <TeleportAction> <Position> <WorldPosition x="-9.994807243347168" y="30.651880264282227" z="0.0030736159533262253"/> </Position> </TeleportAction> </PrivateAction> </Private> <Private entityRef="pedestrian_w_transform_20774"> <PrivateAction> <TeleportAction> <Position> <WorldPosition x="-91.85665130615234" y="12.793197631835938" z="0.5"/> </Position> </TeleportAction> </PrivateAction> </Private> <Private entityRef="pedestrian_w_transform_20775"> <PrivateAction> <TeleportAction> <Position> <WorldPosition x="-15.430599212646484" y="-3.185197353363037" z="0.5"/> </Position> </TeleportAction> </PrivateAction> </Private> <Private entityRef="pedestrian_close_to_adversary_20776"> <PrivateAction> <TeleportAction> <Position> <WorldPosition x="-11.584712028503418" y="-73.06180572509766" z="0.033743515610694885"/> </Position> </TeleportAction> </PrivateAction> </Private> <Private entityRef="pedestrian_w_transform_20777"> <PrivateAction> <TeleportAction> <Position> <WorldPosition x="5.81277322769165" y="38.158843994140625" z="0.5"/> </Position> </TeleportAction> </PrivateAction> </Private> <Private entityRef="pedestrian_w_transform_20778"> <PrivateAction> <TeleportAction> <Position> <WorldPosition x="8.839499473571777" y="85.34822082519531" z="0.5"/> </Position> </TeleportAction> </PrivateAction> </Private> <Private entityRef="pedestrian_w_transform_20779"> <PrivateAction> <TeleportAction> <Position> <WorldPosition x="-65.62715148925781" y="-86.11400604248047" z="0.5"/> </Position> </TeleportAction> </PrivateAction> </Private> <Private entityRef="pedestrian_close_to_standing_20780"> <PrivateAction> <TeleportAction> <Position> <WorldPosition x="-4.183086395263672" y="21.50137710571289" z="0.0030596160795539618"/> </Position> </TeleportAction> </PrivateAction> </Private> <Private entityRef="pedestrian_close_to_adversary_20781"> <PrivateAction> <TeleportAction> <Position> <WorldPosition x="-10.222708702087402" y="-61.653839111328125" z="0.033795204013586044"/> </Position> </TeleportAction> </PrivateAction> </Private> <Private entityRef="pedestrian_close_to_hero_20782"> <PrivateAction> <TeleportAction> <Position> <WorldPosition x="-15.296998023986816" y="-154.61402893066406" z="0.0016471862327307463"/> </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_adversary_466? ``` <?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_461"> <Pedestrian model="walker.pedestrian.0001" mass="80" name="walker.pedestrian.0001" pedestrianCategory="pedestrian"> <ParameterDeclarations/> <BoundingBox> <Center x="1.5" y="0.0" z="0.9"/> <Dimensions width="2" length="2" height="2"/> </BoundingBox> <Properties> <Property name="type" value="simulation"/> </Properties> </Pedestrian> </ScenarioObject> <ScenarioObject name="pedestrian_w_transform_462"> <Pedestrian model="walker.pedestrian.0001" mass="80" name="walker.pedestrian.0001" pedestrianCategory="pedestrian"> <ParameterDeclarations/> <BoundingBox> <Center x="1.5" y="0.0" z="0.9"/> <Dimensions width="2" length="2" height="2"/> </BoundingBox> <Properties> <Property name="type" value="simulation"/> </Properties> </Pedestrian> </ScenarioObject> <ScenarioObject name="pedestrian_w_transform_464"> <Pedestrian model="walker.pedestrian.0001" mass="80" name="walker.pedestrian.0001" pedestrianCategory="pedestrian"> <ParameterDeclarations/> <BoundingBox> <Center x="1.5" y="0.0" z="0.9"/> <Dimensions width="2" length="2" height="2"/> </BoundingBox> <Properties> <Property name="type" value="simulation"/> </Properties> </Pedestrian> </ScenarioObject> <ScenarioObject name="pedestrian_close_to_adversary_466"> <Pedestrian model="walker.pedestrian.0001" mass="80" name="walker.pedestrian.0001" pedestrianCategory="pedestrian"> <ParameterDeclarations/> <BoundingBox> <Center x="1.5" y="0.0" z="0.9"/> <Dimensions width="2" length="2" height="2"/> </BoundingBox> <Properties> <Property name="type" value="simulation"/> </Properties> </Pedestrian> </ScenarioObject> <ScenarioObject name="pedestrian_w_transform_471"> <Pedestrian model="walker.pedestrian.0001" mass="80" name="walker.pedestrian.0001" pedestrianCategory="pedestrian"> <ParameterDeclarations/> <BoundingBox> <Center x="1.5" y="0.0" z="0.9"/> <Dimensions width="2" length="2" height="2"/> </BoundingBox> <Properties> <Property name="type" value="simulation"/> </Properties> </Pedestrian> </ScenarioObject> <ScenarioObject name="pedestrian_close_to_standing_473"> <Pedestrian model="walker.pedestrian.0001" mass="80" name="walker.pedestrian.0001" pedestrianCategory="pedestrian"> <ParameterDeclarations/> <BoundingBox> <Center x="1.5" y="0.0" z="0.9"/> <Dimensions width="2" length="2" height="2"/> </BoundingBox> <Properties> <Property name="type" value="simulation"/> </Properties> </Pedestrian> </ScenarioObject> <ScenarioObject name="pedestrian_w_transform_474"> <Pedestrian model="walker.pedestrian.0001" mass="80" name="walker.pedestrian.0001" pedestrianCategory="pedestrian"> <ParameterDeclarations/> <BoundingBox> <Center x="1.5" y="0.0" z="0.9"/> <Dimensions width="2" length="2" height="2"/> </BoundingBox> <Properties> <Property name="type" value="simulation"/> </Properties> </Pedestrian> </ScenarioObject> <ScenarioObject name="pedestrian_w_transform_479"> <Pedestrian model="walker.pedestrian.0001" mass="80" name="walker.pedestrian.0001" pedestrianCategory="pedestrian"> <ParameterDeclarations/> <BoundingBox> <Center x="1.5" y="0.0" z="0.9"/> <Dimensions width="2" length="2" height="2"/> </BoundingBox> <Properties> <Property name="type" value="simulation"/> </Properties> </Pedestrian> </ScenarioObject> <ScenarioObject name="pedestrian_w_transform_480"> <Pedestrian model="walker.pedestrian.0001" mass="80" name="walker.pedestrian.0001" pedestrianCategory="pedestrian"> <ParameterDeclarations/> <BoundingBox> <Center x="1.5" y="0.0" z="0.9"/> <Dimensions width="2" length="2" height="2"/> </BoundingBox> <Properties> <Property name="type" value="simulation"/> </Properties> </Pedestrian> </ScenarioObject> <ScenarioObject name="pedestrian_w_transform_481"> <Pedestrian model="walker.pedestrian.0001" mass="80" name="walker.pedestrian.0001" pedestrianCategory="pedestrian"> <ParameterDeclarations/> <BoundingBox> <Center x="1.5" y="0.0" z="0.9"/> <Dimensions width="2" length="2" height="2"/> </BoundingBox> <Properties> <Property name="type" value="simulation"/> </Properties> </Pedestrian> </ScenarioObject> <ScenarioObject name="pedestrian_w_transform_484"> <Pedestrian model="walker.pedestrian.0001" mass="80" name="walker.pedestrian.0001" pedestrianCategory="pedestrian"> <ParameterDeclarations/> <BoundingBox> <Center x="1.5" y="0.0" z="0.9"/> <Dimensions width="2" length="2" height="2"/> </BoundingBox> <Properties> <Property name="type" value="simulation"/> </Properties> </Pedestrian> </ScenarioObject> <ScenarioObject name="pedestrian_w_transform_487"> <Pedestrian model="walker.pedestrian.0001" mass="80" name="walker.pedestrian.0001" pedestrianCategory="pedestrian"> <ParameterDeclarations/> <BoundingBox> <Center x="1.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_461"> <PrivateAction> <TeleportAction> <Position> <WorldPosition x="-2.201099395751953" y="-79.28209686279297" z="0.033840179443359375"/> </Position> </TeleportAction> </PrivateAction> </Private> <Private entityRef="pedestrian_w_transform_462"> <PrivateAction> <TeleportAction> <Position> <WorldPosition x="73.82221984863281" y="79.5031967163086" z="0.5"/> </Position> </TeleportAction> </PrivateAction> </Private> <Private entityRef="pedestrian_w_transform_464"> <PrivateAction> <TeleportAction> <Position> <WorldPosition x="-36.832786560058594" y="92.24139404296875" z="0.5"/> </Position> </TeleportAction> </PrivateAction> </Private> <Private entityRef="pedestrian_close_to_adversary_466"> <PrivateAction> <TeleportAction> <Position> <WorldPosition x="-17.698959350585938" y="-64.58817291259766" z="0.033867835998535156"/> </Position> </TeleportAction> </PrivateAction> </Private> <Private entityRef="pedestrian_w_transform_471"> <PrivateAction> <TeleportAction> <Position> <WorldPosition x="-53.56154251098633" y="64.1605224609375" z="0.5"/> </Position> </TeleportAction> </PrivateAction> </Private> <Private entityRef="pedestrian_close_to_standing_473"> <PrivateAction> <TeleportAction> <Position> <WorldPosition x="4.632367134094238" y="27.605411529541016" z="0.0031250379979610443"/> </Position> </TeleportAction> </PrivateAction> </Private> <Private entityRef="pedestrian_w_transform_474"> <PrivateAction> <TeleportAction> <Position> <WorldPosition x="-59.249794006347656" y="68.47874450683594" z="0.5"/> </Position> </TeleportAction> </PrivateAction> </Private> <Private entityRef="pedestrian_w_transform_479"> <PrivateAction> <TeleportAction> <Position> <WorldPosition x="4.106480598449707" y="-76.81971740722656" z="0.5"/> </Position> </TeleportAction> </PrivateAction> </Private> <Private entityRef="pedestrian_w_transform_480"> <PrivateAction> <TeleportAction> <Position> <WorldPosition x="11.310592651367188" y="96.06172180175781" z="0.5"/> </Position> </TeleportAction> </PrivateAction> </Private> <Private entityRef="pedestrian_w_transform_481"> <PrivateAction> <TeleportAction> <Position> <WorldPosition x="-10.665792465209961" y="9.310864448547363" z="0.5"/> </Position> </TeleportAction> </PrivateAction> </Private> <Private entityRef="pedestrian_w_transform_484"> <PrivateAction> <TeleportAction> <Position> <WorldPosition x="57.351627349853516" y="13.323372840881348" z="0.5"/> </Position> </TeleportAction> </PrivateAction> </Private> <Private entityRef="pedestrian_w_transform_487"> <PrivateAction> <TeleportAction> <Position> <WorldPosition x="-43.612762451171875" y="-6.829225540161133" 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_461"> <Pedestrian model="walker.pedestrian.0001" mass="80" name="walker.pedestrian.0001" pedestrianCategory="pedestrian"> <ParameterDeclarations/> <BoundingBox> <Center x="1.5" y="0.0" z="0.9"/> <Dimensions width="2" length="2" height="2"/> </BoundingBox> <Properties> <Property name="type" value="simulation"/> </Properties> </Pedestrian> </ScenarioObject> <ScenarioObject name="pedestrian_w_transform_462"> <Pedestrian model="walker.pedestrian.0001" mass="80" name="walker.pedestrian.0001" pedestrianCategory="pedestrian"> <ParameterDeclarations/> <BoundingBox> <Center x="1.5" y="0.0" z="0.9"/> <Dimensions width="2" length="2" height="2"/> </BoundingBox> <Properties> <Property name="type" value="simulation"/> </Properties> </Pedestrian> </ScenarioObject> <ScenarioObject name="pedestrian_w_transform_464"> <Pedestrian model="walker.pedestrian.0001" mass="80" name="walker.pedestrian.0001" pedestrianCategory="pedestrian"> <ParameterDeclarations/> <BoundingBox> <Center x="1.5" y="0.0" z="0.9"/> <Dimensions width="2" length="2" height="2"/> </BoundingBox> <Properties> <Property name="type" value="simulation"/> </Properties> </Pedestrian> </ScenarioObject> <ScenarioObject name="pedestrian_w_transform_471"> <Pedestrian model="walker.pedestrian.0001" mass="80" name="walker.pedestrian.0001" pedestrianCategory="pedestrian"> <ParameterDeclarations/> <BoundingBox> <Center x="1.5" y="0.0" z="0.9"/> <Dimensions width="2" length="2" height="2"/> </BoundingBox> <Properties> <Property name="type" value="simulation"/> </Properties> </Pedestrian> </ScenarioObject> <ScenarioObject name="pedestrian_close_to_standing_473"> <Pedestrian model="walker.pedestrian.0001" mass="80" name="walker.pedestrian.0001" pedestrianCategory="pedestrian"> <ParameterDeclarations/> <BoundingBox> <Center x="1.5" y="0.0" z="0.9"/> <Dimensions width="2" length="2" height="2"/> </BoundingBox> <Properties> <Property name="type" value="simulation"/> </Properties> </Pedestrian> </ScenarioObject> <ScenarioObject name="pedestrian_w_transform_474"> <Pedestrian model="walker.pedestrian.0001" mass="80" name="walker.pedestrian.0001" pedestrianCategory="pedestrian"> <ParameterDeclarations/> <BoundingBox> <Center x="1.5" y="0.0" z="0.9"/> <Dimensions width="2" length="2" height="2"/> </BoundingBox> <Properties> <Property name="type" value="simulation"/> </Properties> </Pedestrian> </ScenarioObject> <ScenarioObject name="pedestrian_w_transform_479"> <Pedestrian model="walker.pedestrian.0001" mass="80" name="walker.pedestrian.0001" pedestrianCategory="pedestrian"> <ParameterDeclarations/> <BoundingBox> <Center x="1.5" y="0.0" z="0.9"/> <Dimensions width="2" length="2" height="2"/> </BoundingBox> <Properties> <Property name="type" value="simulation"/> </Properties> </Pedestrian> </ScenarioObject> <ScenarioObject name="pedestrian_w_transform_480"> <Pedestrian model="walker.pedestrian.0001" mass="80" name="walker.pedestrian.0001" pedestrianCategory="pedestrian"> <ParameterDeclarations/> <BoundingBox> <Center x="1.5" y="0.0" z="0.9"/> <Dimensions width="2" length="2" height="2"/> </BoundingBox> <Properties> <Property name="type" value="simulation"/> </Properties> </Pedestrian> </ScenarioObject> <ScenarioObject name="pedestrian_w_transform_481"> <Pedestrian model="walker.pedestrian.0001" mass="80" name="walker.pedestrian.0001" pedestrianCategory="pedestrian"> <ParameterDeclarations/> <BoundingBox> <Center x="1.5" y="0.0" z="0.9"/> <Dimensions width="2" length="2" height="2"/> </BoundingBox> <Properties> <Property name="type" value="simulation"/> </Properties> </Pedestrian> </ScenarioObject> <ScenarioObject name="pedestrian_w_transform_484"> <Pedestrian model="walker.pedestrian.0001" mass="80" name="walker.pedestrian.0001" pedestrianCategory="pedestrian"> <ParameterDeclarations/> <BoundingBox> <Center x="1.5" y="0.0" z="0.9"/> <Dimensions width="2" length="2" height="2"/> </BoundingBox> <Properties> <Property name="type" value="simulation"/> </Properties> </Pedestrian> </ScenarioObject> <ScenarioObject name="pedestrian_w_transform_487"> <Pedestrian model="walker.pedestrian.0001" mass="80" name="walker.pedestrian.0001" pedestrianCategory="pedestrian"> <ParameterDeclarations/> <BoundingBox> <Center x="1.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_461"> <PrivateAction> <TeleportAction> <Position> <WorldPosition x="-2.201099395751953" y="-79.28209686279297" z="0.033840179443359375"/> </Position> </TeleportAction> </PrivateAction> </Private> <Private entityRef="pedestrian_w_transform_462"> <PrivateAction> <TeleportAction> <Position> <WorldPosition x="73.82221984863281" y="79.5031967163086" z="0.5"/> </Position> </TeleportAction> </PrivateAction> </Private> <Private entityRef="pedestrian_w_transform_464"> <PrivateAction> <TeleportAction> <Position> <WorldPosition x="-36.832786560058594" y="92.24139404296875" z="0.5"/> </Position> </TeleportAction> </PrivateAction> </Private> <Private entityRef="pedestrian_w_transform_471"> <PrivateAction> <TeleportAction> <Position> <WorldPosition x="-53.56154251098633" y="64.1605224609375" z="0.5"/> </Position> </TeleportAction> </PrivateAction> </Private> <Private entityRef="pedestrian_close_to_standing_473"> <PrivateAction> <TeleportAction> <Position> <WorldPosition x="4.632367134094238" y="27.605411529541016" z="0.0031250379979610443"/> </Position> </TeleportAction> </PrivateAction> </Private> <Private entityRef="pedestrian_w_transform_474"> <PrivateAction> <TeleportAction> <Position> <WorldPosition x="-59.249794006347656" y="68.47874450683594" z="0.5"/> </Position> </TeleportAction> </PrivateAction> </Private> <Private entityRef="pedestrian_w_transform_479"> <PrivateAction> <TeleportAction> <Position> <WorldPosition x="4.106480598449707" y="-76.81971740722656" z="0.5"/> </Position> </TeleportAction> </PrivateAction> </Private> <Private entityRef="pedestrian_w_transform_480"> <PrivateAction> <TeleportAction> <Position> <WorldPosition x="11.310592651367188" y="96.06172180175781" z="0.5"/> </Position> </TeleportAction> </PrivateAction> </Private> <Private entityRef="pedestrian_w_transform_481"> <PrivateAction> <TeleportAction> <Position> <WorldPosition x="-10.665792465209961" y="9.310864448547363" z="0.5"/> </Position> </TeleportAction> </PrivateAction> </Private> <Private entityRef="pedestrian_w_transform_484"> <PrivateAction> <TeleportAction> <Position> <WorldPosition x="57.351627349853516" y="13.323372840881348" z="0.5"/> </Position> </TeleportAction> </PrivateAction> </Private> <Private entityRef="pedestrian_w_transform_487"> <PrivateAction> <TeleportAction> <Position> <WorldPosition x="-43.612762451171875" y="-6.829225540161133" 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> ```
can you add pedestrian at location (41.82, 92.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_27134"> <Pedestrian model="walker.pedestrian.0001" mass="80" name="walker.pedestrian.0001" pedestrianCategory="pedestrian"> <ParameterDeclarations/> <BoundingBox> <Center x="1.5" y="0.0" z="0.9"/> <Dimensions width="2" length="2" height="2"/> </BoundingBox> <Properties> <Property name="type" value="simulation"/> </Properties> </Pedestrian> </ScenarioObject> <ScenarioObject name="pedestrian_w_transform_27135"> <Pedestrian model="walker.pedestrian.0001" mass="80" name="walker.pedestrian.0001" pedestrianCategory="pedestrian"> <ParameterDeclarations/> <BoundingBox> <Center x="1.5" y="0.0" z="0.9"/> <Dimensions width="2" length="2" height="2"/> </BoundingBox> <Properties> <Property name="type" value="simulation"/> </Properties> </Pedestrian> </ScenarioObject> <ScenarioObject name="pedestrian_close_to_standing_27136"> <Pedestrian model="walker.pedestrian.0001" mass="80" name="walker.pedestrian.0001" pedestrianCategory="pedestrian"> <ParameterDeclarations/> <BoundingBox> <Center x="1.5" y="0.0" z="0.9"/> <Dimensions width="2" length="2" height="2"/> </BoundingBox> <Properties> <Property name="type" value="simulation"/> </Properties> </Pedestrian> </ScenarioObject> <ScenarioObject name="pedestrian_close_to_hero_27137"> <Pedestrian model="walker.pedestrian.0001" mass="80" name="walker.pedestrian.0001" pedestrianCategory="pedestrian"> <ParameterDeclarations/> <BoundingBox> <Center x="1.5" y="0.0" z="0.9"/> <Dimensions width="2" length="2" height="2"/> </BoundingBox> <Properties> <Property name="type" value="simulation"/> </Properties> </Pedestrian> </ScenarioObject> <ScenarioObject name="pedestrian_close_to_hero_27138"> <Pedestrian model="walker.pedestrian.0001" mass="80" name="walker.pedestrian.0001" pedestrianCategory="pedestrian"> <ParameterDeclarations/> <BoundingBox> <Center x="1.5" y="0.0" z="0.9"/> <Dimensions width="2" length="2" height="2"/> </BoundingBox> <Properties> <Property name="type" value="simulation"/> </Properties> </Pedestrian> </ScenarioObject> <ScenarioObject name="pedestrian_close_to_hero_27139"> <Pedestrian model="walker.pedestrian.0001" mass="80" name="walker.pedestrian.0001" pedestrianCategory="pedestrian"> <ParameterDeclarations/> <BoundingBox> <Center x="1.5" y="0.0" z="0.9"/> <Dimensions width="2" length="2" height="2"/> </BoundingBox> <Properties> <Property name="type" value="simulation"/> </Properties> </Pedestrian> </ScenarioObject> <ScenarioObject name="pedestrian_close_to_adversary_27140"> <Pedestrian model="walker.pedestrian.0001" mass="80" name="walker.pedestrian.0001" pedestrianCategory="pedestrian"> <ParameterDeclarations/> <BoundingBox> <Center x="1.5" y="0.0" z="0.9"/> <Dimensions width="2" length="2" height="2"/> </BoundingBox> <Properties> <Property name="type" value="simulation"/> </Properties> </Pedestrian> </ScenarioObject> <ScenarioObject name="pedestrian_close_to_hero_27141"> <Pedestrian model="walker.pedestrian.0001" mass="80" name="walker.pedestrian.0001" pedestrianCategory="pedestrian"> <ParameterDeclarations/> <BoundingBox> <Center x="1.5" y="0.0" z="0.9"/> <Dimensions width="2" length="2" height="2"/> </BoundingBox> <Properties> <Property name="type" value="simulation"/> </Properties> </Pedestrian> </ScenarioObject> <ScenarioObject name="pedestrian_close_to_hero_27142"> <Pedestrian model="walker.pedestrian.0001" mass="80" name="walker.pedestrian.0001" pedestrianCategory="pedestrian"> <ParameterDeclarations/> <BoundingBox> <Center x="1.5" y="0.0" z="0.9"/> <Dimensions width="2" length="2" height="2"/> </BoundingBox> <Properties> <Property name="type" value="simulation"/> </Properties> </Pedestrian> </ScenarioObject> <ScenarioObject name="pedestrian_w_transform_27143"> <Pedestrian model="walker.pedestrian.0001" mass="80" name="walker.pedestrian.0001" pedestrianCategory="pedestrian"> <ParameterDeclarations/> <BoundingBox> <Center x="1.5" y="0.0" z="0.9"/> <Dimensions width="2" length="2" height="2"/> </BoundingBox> <Properties> <Property name="type" value="simulation"/> </Properties> </Pedestrian> </ScenarioObject> <ScenarioObject name="pedestrian_w_transform_27145"> <Pedestrian model="walker.pedestrian.0001" mass="80" name="walker.pedestrian.0001" pedestrianCategory="pedestrian"> <ParameterDeclarations/> <BoundingBox> <Center x="1.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_27134"> <PrivateAction> <TeleportAction> <Position> <WorldPosition x="-8.46254825592041" y="22.268524169921875" z="0.003122215159237385"/> </Position> </TeleportAction> </PrivateAction> </Private> <Private entityRef="pedestrian_w_transform_27135"> <PrivateAction> <TeleportAction> <Position> <WorldPosition x="-26.658416748046875" y="-50.192466735839844" z="0.5"/> </Position> </TeleportAction> </PrivateAction> </Private> <Private entityRef="pedestrian_close_to_standing_27136"> <PrivateAction> <TeleportAction> <Position> <WorldPosition x="-9.18913459777832" y="37.61547088623047" z="0.0031151962466537952"/> </Position> </TeleportAction> </PrivateAction> </Private> <Private entityRef="pedestrian_close_to_hero_27137"> <PrivateAction> <TeleportAction> <Position> <WorldPosition x="-10.630918502807617" y="-145.048583984375" z="0.0019445419311523438"/> </Position> </TeleportAction> </PrivateAction> </Private> <Private entityRef="pedestrian_close_to_hero_27138"> <PrivateAction> <TeleportAction> <Position> <WorldPosition x="-25.441471099853516" y="-142.05580139160156" z="0.0019445419311523438"/> </Position> </TeleportAction> </PrivateAction> </Private> <Private entityRef="pedestrian_close_to_hero_27139"> <PrivateAction> <TeleportAction> <Position> <WorldPosition x="-1.8549509048461914" y="-152.01373291015625" z="0.0019445419311523438"/> </Position> </TeleportAction> </PrivateAction> </Private> <Private entityRef="pedestrian_close_to_adversary_27140"> <PrivateAction> <TeleportAction> <Position> <WorldPosition x="-14.889211654663086" y="-67.31781768798828" z="0.033873479813337326"/> </Position> </TeleportAction> </PrivateAction> </Private> <Private entityRef="pedestrian_close_to_hero_27141"> <PrivateAction> <TeleportAction> <Position> <WorldPosition x="-15.81692123413086" y="-151.94992065429688" z="0.0019445419311523438"/> </Position> </TeleportAction> </PrivateAction> </Private> <Private entityRef="pedestrian_close_to_hero_27142"> <PrivateAction> <TeleportAction> <Position> <WorldPosition x="3.944338083267212" y="-169.85604858398438" z="0.0019445419311523438"/> </Position> </TeleportAction> </PrivateAction> </Private> <Private entityRef="pedestrian_w_transform_27143"> <PrivateAction> <TeleportAction> <Position> <WorldPosition x="27.555505752563477" y="42.91314697265625" z="0.5"/> </Position> </TeleportAction> </PrivateAction> </Private> <Private entityRef="pedestrian_w_transform_27145"> <PrivateAction> <TeleportAction> <Position> <WorldPosition x="38.783451080322266" y="56.56217575073242" 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_27134"> <Pedestrian model="walker.pedestrian.0001" mass="80" name="walker.pedestrian.0001" pedestrianCategory="pedestrian"> <ParameterDeclarations/> <BoundingBox> <Center x="1.5" y="0.0" z="0.9"/> <Dimensions width="2" length="2" height="2"/> </BoundingBox> <Properties> <Property name="type" value="simulation"/> </Properties> </Pedestrian> </ScenarioObject> <ScenarioObject name="pedestrian_w_transform_27135"> <Pedestrian model="walker.pedestrian.0001" mass="80" name="walker.pedestrian.0001" pedestrianCategory="pedestrian"> <ParameterDeclarations/> <BoundingBox> <Center x="1.5" y="0.0" z="0.9"/> <Dimensions width="2" length="2" height="2"/> </BoundingBox> <Properties> <Property name="type" value="simulation"/> </Properties> </Pedestrian> </ScenarioObject> <ScenarioObject name="pedestrian_close_to_standing_27136"> <Pedestrian model="walker.pedestrian.0001" mass="80" name="walker.pedestrian.0001" pedestrianCategory="pedestrian"> <ParameterDeclarations/> <BoundingBox> <Center x="1.5" y="0.0" z="0.9"/> <Dimensions width="2" length="2" height="2"/> </BoundingBox> <Properties> <Property name="type" value="simulation"/> </Properties> </Pedestrian> </ScenarioObject> <ScenarioObject name="pedestrian_close_to_hero_27137"> <Pedestrian model="walker.pedestrian.0001" mass="80" name="walker.pedestrian.0001" pedestrianCategory="pedestrian"> <ParameterDeclarations/> <BoundingBox> <Center x="1.5" y="0.0" z="0.9"/> <Dimensions width="2" length="2" height="2"/> </BoundingBox> <Properties> <Property name="type" value="simulation"/> </Properties> </Pedestrian> </ScenarioObject> <ScenarioObject name="pedestrian_close_to_hero_27138"> <Pedestrian model="walker.pedestrian.0001" mass="80" name="walker.pedestrian.0001" pedestrianCategory="pedestrian"> <ParameterDeclarations/> <BoundingBox> <Center x="1.5" y="0.0" z="0.9"/> <Dimensions width="2" length="2" height="2"/> </BoundingBox> <Properties> <Property name="type" value="simulation"/> </Properties> </Pedestrian> </ScenarioObject> <ScenarioObject name="pedestrian_close_to_hero_27139"> <Pedestrian model="walker.pedestrian.0001" mass="80" name="walker.pedestrian.0001" pedestrianCategory="pedestrian"> <ParameterDeclarations/> <BoundingBox> <Center x="1.5" y="0.0" z="0.9"/> <Dimensions width="2" length="2" height="2"/> </BoundingBox> <Properties> <Property name="type" value="simulation"/> </Properties> </Pedestrian> </ScenarioObject> <ScenarioObject name="pedestrian_close_to_adversary_27140"> <Pedestrian model="walker.pedestrian.0001" mass="80" name="walker.pedestrian.0001" pedestrianCategory="pedestrian"> <ParameterDeclarations/> <BoundingBox> <Center x="1.5" y="0.0" z="0.9"/> <Dimensions width="2" length="2" height="2"/> </BoundingBox> <Properties> <Property name="type" value="simulation"/> </Properties> </Pedestrian> </ScenarioObject> <ScenarioObject name="pedestrian_close_to_hero_27141"> <Pedestrian model="walker.pedestrian.0001" mass="80" name="walker.pedestrian.0001" pedestrianCategory="pedestrian"> <ParameterDeclarations/> <BoundingBox> <Center x="1.5" y="0.0" z="0.9"/> <Dimensions width="2" length="2" height="2"/> </BoundingBox> <Properties> <Property name="type" value="simulation"/> </Properties> </Pedestrian> </ScenarioObject> <ScenarioObject name="pedestrian_close_to_hero_27142"> <Pedestrian model="walker.pedestrian.0001" mass="80" name="walker.pedestrian.0001" pedestrianCategory="pedestrian"> <ParameterDeclarations/> <BoundingBox> <Center x="1.5" y="0.0" z="0.9"/> <Dimensions width="2" length="2" height="2"/> </BoundingBox> <Properties> <Property name="type" value="simulation"/> </Properties> </Pedestrian> </ScenarioObject> <ScenarioObject name="pedestrian_w_transform_27143"> <Pedestrian model="walker.pedestrian.0001" mass="80" name="walker.pedestrian.0001" pedestrianCategory="pedestrian"> <ParameterDeclarations/> <BoundingBox> <Center x="1.5" y="0.0" z="0.9"/> <Dimensions width="2" length="2" height="2"/> </BoundingBox> <Properties> <Property name="type" value="simulation"/> </Properties> </Pedestrian> </ScenarioObject> <ScenarioObject name="pedestrian_w_transform_27145"> <Pedestrian model="walker.pedestrian.0001" mass="80" name="walker.pedestrian.0001" pedestrianCategory="pedestrian"> <ParameterDeclarations/> <BoundingBox> <Center x="1.5" y="0.0" z="0.9"/> <Dimensions width="2" length="2" height="2"/> </BoundingBox> <Properties> <Property name="type" value="simulation"/> </Properties> </Pedestrian> </ScenarioObject> <ScenarioObject name="pedestrian_w_transform_27146"> <Pedestrian model="walker.pedestrian.0001" mass="80" name="walker.pedestrian.0001" pedestrianCategory="pedestrian"> <ParameterDeclarations/> <BoundingBox> <Center x="1.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_27134"> <PrivateAction> <TeleportAction> <Position> <WorldPosition x="-8.46254825592041" y="22.268524169921875" z="0.003122215159237385"/> </Position> </TeleportAction> </PrivateAction> </Private> <Private entityRef="pedestrian_w_transform_27135"> <PrivateAction> <TeleportAction> <Position> <WorldPosition x="-26.658416748046875" y="-50.192466735839844" z="0.5"/> </Position> </TeleportAction> </PrivateAction> </Private> <Private entityRef="pedestrian_close_to_standing_27136"> <PrivateAction> <TeleportAction> <Position> <WorldPosition x="-9.18913459777832" y="37.61547088623047" z="0.0031151962466537952"/> </Position> </TeleportAction> </PrivateAction> </Private> <Private entityRef="pedestrian_close_to_hero_27137"> <PrivateAction> <TeleportAction> <Position> <WorldPosition x="-10.630918502807617" y="-145.048583984375" z="0.0019445419311523438"/> </Position> </TeleportAction> </PrivateAction> </Private> <Private entityRef="pedestrian_close_to_hero_27138"> <PrivateAction> <TeleportAction> <Position> <WorldPosition x="-25.441471099853516" y="-142.05580139160156" z="0.0019445419311523438"/> </Position> </TeleportAction> </PrivateAction> </Private> <Private entityRef="pedestrian_close_to_hero_27139"> <PrivateAction> <TeleportAction> <Position> <WorldPosition x="-1.8549509048461914" y="-152.01373291015625" z="0.0019445419311523438"/> </Position> </TeleportAction> </PrivateAction> </Private> <Private entityRef="pedestrian_close_to_adversary_27140"> <PrivateAction> <TeleportAction> <Position> <WorldPosition x="-14.889211654663086" y="-67.31781768798828" z="0.033873479813337326"/> </Position> </TeleportAction> </PrivateAction> </Private> <Private entityRef="pedestrian_close_to_hero_27141"> <PrivateAction> <TeleportAction> <Position> <WorldPosition x="-15.81692123413086" y="-151.94992065429688" z="0.0019445419311523438"/> </Position> </TeleportAction> </PrivateAction> </Private> <Private entityRef="pedestrian_close_to_hero_27142"> <PrivateAction> <TeleportAction> <Position> <WorldPosition x="3.944338083267212" y="-169.85604858398438" z="0.0019445419311523438"/> </Position> </TeleportAction> </PrivateAction> </Private> <Private entityRef="pedestrian_w_transform_27143"> <PrivateAction> <TeleportAction> <Position> <WorldPosition x="27.555505752563477" y="42.91314697265625" z="0.5"/> </Position> </TeleportAction> </PrivateAction> </Private> <Private entityRef="pedestrian_w_transform_27145"> <PrivateAction> <TeleportAction> <Position> <WorldPosition x="38.783451080322266" y="56.56217575073242" z="0.5"/> </Position> </TeleportAction> </PrivateAction> </Private> <Private entityRef="pedestrian_w_transform_27146"> <PrivateAction> <TeleportAction> <Position> <WorldPosition x="41.82307052612305" y="92.83943939208984" 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 (-74.11, -44.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_adversary_3743"> <Pedestrian model="walker.pedestrian.0001" mass="80" name="walker.pedestrian.0001" pedestrianCategory="pedestrian"> <ParameterDeclarations/> <BoundingBox> <Center x="1.5" y="0.0" z="0.9"/> <Dimensions width="2" length="2" height="2"/> </BoundingBox> <Properties> <Property name="type" value="simulation"/> </Properties> </Pedestrian> </ScenarioObject> <ScenarioObject name="pedestrian_w_transform_3744"> <Pedestrian model="walker.pedestrian.0001" mass="80" name="walker.pedestrian.0001" pedestrianCategory="pedestrian"> <ParameterDeclarations/> <BoundingBox> <Center x="1.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_3743"> <PrivateAction> <TeleportAction> <Position> <WorldPosition x="-18.100465774536133" y="-69.60838317871094" z="0.033814772963523865"/> </Position> </TeleportAction> </PrivateAction> </Private> <Private entityRef="pedestrian_w_transform_3744"> <PrivateAction> <TeleportAction> <Position> <WorldPosition x="-91.26029205322266" y="51.07040023803711" 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_3743"> <Pedestrian model="walker.pedestrian.0001" mass="80" name="walker.pedestrian.0001" pedestrianCategory="pedestrian"> <ParameterDeclarations/> <BoundingBox> <Center x="1.5" y="0.0" z="0.9"/> <Dimensions width="2" length="2" height="2"/> </BoundingBox> <Properties> <Property name="type" value="simulation"/> </Properties> </Pedestrian> </ScenarioObject> <ScenarioObject name="pedestrian_w_transform_3744"> <Pedestrian model="walker.pedestrian.0001" mass="80" name="walker.pedestrian.0001" pedestrianCategory="pedestrian"> <ParameterDeclarations/> <BoundingBox> <Center x="1.5" y="0.0" z="0.9"/> <Dimensions width="2" length="2" height="2"/> </BoundingBox> <Properties> <Property name="type" value="simulation"/> </Properties> </Pedestrian> </ScenarioObject> <ScenarioObject name="pedestrian_w_transform_3745"> <Pedestrian model="walker.pedestrian.0001" mass="80" name="walker.pedestrian.0001" pedestrianCategory="pedestrian"> <ParameterDeclarations/> <BoundingBox> <Center x="1.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_3743"> <PrivateAction> <TeleportAction> <Position> <WorldPosition x="-18.100465774536133" y="-69.60838317871094" z="0.033814772963523865"/> </Position> </TeleportAction> </PrivateAction> </Private> <Private entityRef="pedestrian_w_transform_3744"> <PrivateAction> <TeleportAction> <Position> <WorldPosition x="-91.26029205322266" y="51.07040023803711" z="0.5"/> </Position> </TeleportAction> </PrivateAction> </Private> <Private entityRef="pedestrian_w_transform_3745"> <PrivateAction> <TeleportAction> <Position> <WorldPosition x="-74.10520935058594" y="-44.84169387817383" 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_9754"> <Pedestrian model="walker.pedestrian.0001" mass="80" name="walker.pedestrian.0001" pedestrianCategory="pedestrian"> <ParameterDeclarations/> <BoundingBox> <Center x="1.5" y="0.0" z="0.9"/> <Dimensions width="2" length="2" height="2"/> </BoundingBox> <Properties> <Property name="type" value="simulation"/> </Properties> </Pedestrian> </ScenarioObject> <ScenarioObject name="pedestrian_close_to_standing_9755"> <Pedestrian model="walker.pedestrian.0001" mass="80" name="walker.pedestrian.0001" pedestrianCategory="pedestrian"> <ParameterDeclarations/> <BoundingBox> <Center x="1.5" y="0.0" z="0.9"/> <Dimensions width="2" length="2" height="2"/> </BoundingBox> <Properties> <Property name="type" value="simulation"/> </Properties> </Pedestrian> </ScenarioObject> <ScenarioObject name="pedestrian_close_to_hero_9756"> <Pedestrian model="walker.pedestrian.0001" mass="80" name="walker.pedestrian.0001" pedestrianCategory="pedestrian"> <ParameterDeclarations/> <BoundingBox> <Center x="1.5" y="0.0" z="0.9"/> <Dimensions width="2" length="2" height="2"/> </BoundingBox> <Properties> <Property name="type" value="simulation"/> </Properties> </Pedestrian> </ScenarioObject> <ScenarioObject name="pedestrian_close_to_hero_9757"> <Pedestrian model="walker.pedestrian.0001" mass="80" name="walker.pedestrian.0001" pedestrianCategory="pedestrian"> <ParameterDeclarations/> <BoundingBox> <Center x="1.5" y="0.0" z="0.9"/> <Dimensions width="2" length="2" height="2"/> </BoundingBox> <Properties> <Property name="type" value="simulation"/> </Properties> </Pedestrian> </ScenarioObject> <ScenarioObject name="pedestrian_w_transform_9758"> <Pedestrian model="walker.pedestrian.0001" mass="80" name="walker.pedestrian.0001" pedestrianCategory="pedestrian"> <ParameterDeclarations/> <BoundingBox> <Center x="1.5" y="0.0" z="0.9"/> <Dimensions width="2" length="2" height="2"/> </BoundingBox> <Properties> <Property name="type" value="simulation"/> </Properties> </Pedestrian> </ScenarioObject> <ScenarioObject name="pedestrian_w_transform_9759"> <Pedestrian model="walker.pedestrian.0001" mass="80" name="walker.pedestrian.0001" pedestrianCategory="pedestrian"> <ParameterDeclarations/> <BoundingBox> <Center x="1.5" y="0.0" z="0.9"/> <Dimensions width="2" length="2" height="2"/> </BoundingBox> <Properties> <Property name="type" value="simulation"/> </Properties> </Pedestrian> </ScenarioObject> <ScenarioObject name="pedestrian_close_to_standing_9760"> <Pedestrian model="walker.pedestrian.0001" mass="80" name="walker.pedestrian.0001" pedestrianCategory="pedestrian"> <ParameterDeclarations/> <BoundingBox> <Center x="1.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_9754"> <PrivateAction> <TeleportAction> <Position> <WorldPosition x="-10.67617130279541" y="-147.7008056640625" z="0.0014652633108198643"/> </Position> </TeleportAction> </PrivateAction> </Private> <Private entityRef="pedestrian_close_to_standing_9755"> <PrivateAction> <TeleportAction> <Position> <WorldPosition x="-8.733293533325195" y="20.943185806274414" z="0.0030425642617046833"/> </Position> </TeleportAction> </PrivateAction> </Private> <Private entityRef="pedestrian_close_to_hero_9756"> <PrivateAction> <TeleportAction> <Position> <WorldPosition x="-14.795209884643555" y="-150.8921356201172" z="0.0014652633108198643"/> </Position> </TeleportAction> </PrivateAction> </Private> <Private entityRef="pedestrian_close_to_hero_9757"> <PrivateAction> <TeleportAction> <Position> <WorldPosition x="-6.150692939758301" y="-144.15345764160156" z="0.0014652633108198643"/> </Position> </TeleportAction> </PrivateAction> </Private> <Private entityRef="pedestrian_w_transform_9758"> <PrivateAction> <TeleportAction> <Position> <WorldPosition x="-24.971553802490234" y="17.92768096923828" z="0.5"/> </Position> </TeleportAction> </PrivateAction> </Private> <Private entityRef="pedestrian_w_transform_9759"> <PrivateAction> <TeleportAction> <Position> <WorldPosition x="21.622554779052734" y="63.78342819213867" z="0.5"/> </Position> </TeleportAction> </PrivateAction> </Private> <Private entityRef="pedestrian_close_to_standing_9760"> <PrivateAction> <TeleportAction> <Position> <WorldPosition x="-5.393527984619141" y="26.05234146118164" z="0.0030646894592791796"/> </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_9754"> <Pedestrian model="walker.pedestrian.0001" mass="80" name="walker.pedestrian.0001" pedestrianCategory="pedestrian"> <ParameterDeclarations/> <BoundingBox> <Center x="1.5" y="0.0" z="0.9"/> <Dimensions width="2" length="2" height="2"/> </BoundingBox> <Properties> <Property name="type" value="simulation"/> </Properties> </Pedestrian> </ScenarioObject> <ScenarioObject name="pedestrian_close_to_standing_9755"> <Pedestrian model="walker.pedestrian.0001" mass="80" name="walker.pedestrian.0001" pedestrianCategory="pedestrian"> <ParameterDeclarations/> <BoundingBox> <Center x="1.5" y="0.0" z="0.9"/> <Dimensions width="2" length="2" height="2"/> </BoundingBox> <Properties> <Property name="type" value="simulation"/> </Properties> </Pedestrian> </ScenarioObject> <ScenarioObject name="pedestrian_close_to_hero_9756"> <Pedestrian model="walker.pedestrian.0001" mass="80" name="walker.pedestrian.0001" pedestrianCategory="pedestrian"> <ParameterDeclarations/> <BoundingBox> <Center x="1.5" y="0.0" z="0.9"/> <Dimensions width="2" length="2" height="2"/> </BoundingBox> <Properties> <Property name="type" value="simulation"/> </Properties> </Pedestrian> </ScenarioObject> <ScenarioObject name="pedestrian_close_to_hero_9757"> <Pedestrian model="walker.pedestrian.0001" mass="80" name="walker.pedestrian.0001" pedestrianCategory="pedestrian"> <ParameterDeclarations/> <BoundingBox> <Center x="1.5" y="0.0" z="0.9"/> <Dimensions width="2" length="2" height="2"/> </BoundingBox> <Properties> <Property name="type" value="simulation"/> </Properties> </Pedestrian> </ScenarioObject> <ScenarioObject name="pedestrian_w_transform_9758"> <Pedestrian model="walker.pedestrian.0001" mass="80" name="walker.pedestrian.0001" pedestrianCategory="pedestrian"> <ParameterDeclarations/> <BoundingBox> <Center x="1.5" y="0.0" z="0.9"/> <Dimensions width="2" length="2" height="2"/> </BoundingBox> <Properties> <Property name="type" value="simulation"/> </Properties> </Pedestrian> </ScenarioObject> <ScenarioObject name="pedestrian_w_transform_9759"> <Pedestrian model="walker.pedestrian.0001" mass="80" name="walker.pedestrian.0001" pedestrianCategory="pedestrian"> <ParameterDeclarations/> <BoundingBox> <Center x="1.5" y="0.0" z="0.9"/> <Dimensions width="2" length="2" height="2"/> </BoundingBox> <Properties> <Property name="type" value="simulation"/> </Properties> </Pedestrian> </ScenarioObject> <ScenarioObject name="pedestrian_close_to_standing_9760"> <Pedestrian model="walker.pedestrian.0001" mass="80" name="walker.pedestrian.0001" pedestrianCategory="pedestrian"> <ParameterDeclarations/> <BoundingBox> <Center x="1.5" y="0.0" z="0.9"/> <Dimensions width="2" length="2" height="2"/> </BoundingBox> <Properties> <Property name="type" value="simulation"/> </Properties> </Pedestrian> </ScenarioObject> <ScenarioObject name="pedestrian_close_to_adversary_9761"> <Pedestrian model="walker.pedestrian.0001" mass="80" name="walker.pedestrian.0001" pedestrianCategory="pedestrian"> <ParameterDeclarations/> <BoundingBox> <Center x="1.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_9754"> <PrivateAction> <TeleportAction> <Position> <WorldPosition x="-10.67617130279541" y="-147.7008056640625" z="0.0014652633108198643"/> </Position> </TeleportAction> </PrivateAction> </Private> <Private entityRef="pedestrian_close_to_standing_9755"> <PrivateAction> <TeleportAction> <Position> <WorldPosition x="-8.733293533325195" y="20.943185806274414" z="0.0030425642617046833"/> </Position> </TeleportAction> </PrivateAction> </Private> <Private entityRef="pedestrian_close_to_hero_9756"> <PrivateAction> <TeleportAction> <Position> <WorldPosition x="-14.795209884643555" y="-150.8921356201172" z="0.0014652633108198643"/> </Position> </TeleportAction> </PrivateAction> </Private> <Private entityRef="pedestrian_close_to_hero_9757"> <PrivateAction> <TeleportAction> <Position> <WorldPosition x="-6.150692939758301" y="-144.15345764160156" z="0.0014652633108198643"/> </Position> </TeleportAction> </PrivateAction> </Private> <Private entityRef="pedestrian_w_transform_9758"> <PrivateAction> <TeleportAction> <Position> <WorldPosition x="-24.971553802490234" y="17.92768096923828" z="0.5"/> </Position> </TeleportAction> </PrivateAction> </Private> <Private entityRef="pedestrian_w_transform_9759"> <PrivateAction> <TeleportAction> <Position> <WorldPosition x="21.622554779052734" y="63.78342819213867" z="0.5"/> </Position> </TeleportAction> </PrivateAction> </Private> <Private entityRef="pedestrian_close_to_standing_9760"> <PrivateAction> <TeleportAction> <Position> <WorldPosition x="-5.393527984619141" y="26.05234146118164" z="0.0030646894592791796"/> </Position> </TeleportAction> </PrivateAction> </Private> <Private entityRef="pedestrian_close_to_adversary_9761"> <PrivateAction> <TeleportAction> <Position> <WorldPosition x="3.6374332904815674" y="-88.94013977050781" z="0.03384261950850487"/> </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> </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_22541"> <Pedestrian model="walker.pedestrian.0001" mass="80" name="walker.pedestrian.0001" pedestrianCategory="pedestrian"> <ParameterDeclarations/> <BoundingBox> <Center x="1.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_22541"> <PrivateAction> <TeleportAction> <Position> <WorldPosition x="0.3341292142868042" y="-63.947879791259766" z="0.033785246312618256"/> </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 (93.75, -0.92, 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_26808"> <Pedestrian model="walker.pedestrian.0001" mass="80" name="walker.pedestrian.0001" pedestrianCategory="pedestrian"> <ParameterDeclarations/> <BoundingBox> <Center x="1.5" y="0.0" z="0.9"/> <Dimensions width="2" length="2" height="2"/> </BoundingBox> <Properties> <Property name="type" value="simulation"/> </Properties> </Pedestrian> </ScenarioObject> <ScenarioObject name="pedestrian_w_transform_26809"> <Pedestrian model="walker.pedestrian.0001" mass="80" name="walker.pedestrian.0001" pedestrianCategory="pedestrian"> <ParameterDeclarations/> <BoundingBox> <Center x="1.5" y="0.0" z="0.9"/> <Dimensions width="2" length="2" height="2"/> </BoundingBox> <Properties> <Property name="type" value="simulation"/> </Properties> </Pedestrian> </ScenarioObject> <ScenarioObject name="pedestrian_w_transform_26810"> <Pedestrian model="walker.pedestrian.0001" mass="80" name="walker.pedestrian.0001" pedestrianCategory="pedestrian"> <ParameterDeclarations/> <BoundingBox> <Center x="1.5" y="0.0" z="0.9"/> <Dimensions width="2" length="2" height="2"/> </BoundingBox> <Properties> <Property name="type" value="simulation"/> </Properties> </Pedestrian> </ScenarioObject> <ScenarioObject name="pedestrian_w_transform_26811"> <Pedestrian model="walker.pedestrian.0001" mass="80" name="walker.pedestrian.0001" pedestrianCategory="pedestrian"> <ParameterDeclarations/> <BoundingBox> <Center x="1.5" y="0.0" z="0.9"/> <Dimensions width="2" length="2" height="2"/> </BoundingBox> <Properties> <Property name="type" value="simulation"/> </Properties> </Pedestrian> </ScenarioObject> <ScenarioObject name="pedestrian_close_to_adversary_26812"> <Pedestrian model="walker.pedestrian.0001" mass="80" name="walker.pedestrian.0001" pedestrianCategory="pedestrian"> <ParameterDeclarations/> <BoundingBox> <Center x="1.5" y="0.0" z="0.9"/> <Dimensions width="2" length="2" height="2"/> </BoundingBox> <Properties> <Property name="type" value="simulation"/> </Properties> </Pedestrian> </ScenarioObject> <ScenarioObject name="pedestrian_close_to_hero_26813"> <Pedestrian model="walker.pedestrian.0001" mass="80" name="walker.pedestrian.0001" pedestrianCategory="pedestrian"> <ParameterDeclarations/> <BoundingBox> <Center x="1.5" y="0.0" z="0.9"/> <Dimensions width="2" length="2" height="2"/> </BoundingBox> <Properties> <Property name="type" value="simulation"/> </Properties> </Pedestrian> </ScenarioObject> <ScenarioObject name="pedestrian_w_transform_26814"> <Pedestrian model="walker.pedestrian.0001" mass="80" name="walker.pedestrian.0001" pedestrianCategory="pedestrian"> <ParameterDeclarations/> <BoundingBox> <Center x="1.5" y="0.0" z="0.9"/> <Dimensions width="2" length="2" height="2"/> </BoundingBox> <Properties> <Property name="type" value="simulation"/> </Properties> </Pedestrian> </ScenarioObject> <ScenarioObject name="pedestrian_w_transform_26815"> <Pedestrian model="walker.pedestrian.0001" mass="80" name="walker.pedestrian.0001" pedestrianCategory="pedestrian"> <ParameterDeclarations/> <BoundingBox> <Center x="1.5" y="0.0" z="0.9"/> <Dimensions width="2" length="2" height="2"/> </BoundingBox> <Properties> <Property name="type" value="simulation"/> </Properties> </Pedestrian> </ScenarioObject> <ScenarioObject name="pedestrian_w_transform_26816"> <Pedestrian model="walker.pedestrian.0001" mass="80" name="walker.pedestrian.0001" pedestrianCategory="pedestrian"> <ParameterDeclarations/> <BoundingBox> <Center x="1.5" y="0.0" z="0.9"/> <Dimensions width="2" length="2" height="2"/> </BoundingBox> <Properties> <Property name="type" value="simulation"/> </Properties> </Pedestrian> </ScenarioObject> <ScenarioObject name="pedestrian_close_to_hero_26817"> <Pedestrian model="walker.pedestrian.0001" mass="80" name="walker.pedestrian.0001" pedestrianCategory="pedestrian"> <ParameterDeclarations/> <BoundingBox> <Center x="1.5" y="0.0" z="0.9"/> <Dimensions width="2" length="2" height="2"/> </BoundingBox> <Properties> <Property name="type" value="simulation"/> </Properties> </Pedestrian> </ScenarioObject> <ScenarioObject name="pedestrian_close_to_adversary_26818"> <Pedestrian model="walker.pedestrian.0001" mass="80" name="walker.pedestrian.0001" pedestrianCategory="pedestrian"> <ParameterDeclarations/> <BoundingBox> <Center x="1.5" y="0.0" z="0.9"/> <Dimensions width="2" length="2" height="2"/> </BoundingBox> <Properties> <Property name="type" value="simulation"/> </Properties> </Pedestrian> </ScenarioObject> <ScenarioObject name="pedestrian_w_transform_26819"> <Pedestrian model="walker.pedestrian.0001" mass="80" name="walker.pedestrian.0001" pedestrianCategory="pedestrian"> <ParameterDeclarations/> <BoundingBox> <Center x="1.5" y="0.0" z="0.9"/> <Dimensions width="2" length="2" height="2"/> </BoundingBox> <Properties> <Property name="type" value="simulation"/> </Properties> </Pedestrian> </ScenarioObject> <ScenarioObject name="pedestrian_w_transform_26820"> <Pedestrian model="walker.pedestrian.0001" mass="80" name="walker.pedestrian.0001" pedestrianCategory="pedestrian"> <ParameterDeclarations/> <BoundingBox> <Center x="1.5" y="0.0" z="0.9"/> <Dimensions width="2" length="2" height="2"/> </BoundingBox> <Properties> <Property name="type" value="simulation"/> </Properties> </Pedestrian> </ScenarioObject> <ScenarioObject name="pedestrian_close_to_hero_26821"> <Pedestrian model="walker.pedestrian.0001" mass="80" name="walker.pedestrian.0001" pedestrianCategory="pedestrian"> <ParameterDeclarations/> <BoundingBox> <Center x="1.5" y="0.0" z="0.9"/> <Dimensions width="2" length="2" height="2"/> </BoundingBox> <Properties> <Property name="type" value="simulation"/> </Properties> </Pedestrian> </ScenarioObject> <ScenarioObject name="pedestrian_w_transform_26822"> <Pedestrian model="walker.pedestrian.0001" mass="80" name="walker.pedestrian.0001" pedestrianCategory="pedestrian"> <ParameterDeclarations/> <BoundingBox> <Center x="1.5" y="0.0" z="0.9"/> <Dimensions width="2" length="2" height="2"/> </BoundingBox> <Properties> <Property name="type" value="simulation"/> </Properties> </Pedestrian> </ScenarioObject> <ScenarioObject name="pedestrian_close_to_hero_26823"> <Pedestrian model="walker.pedestrian.0001" mass="80" name="walker.pedestrian.0001" pedestrianCategory="pedestrian"> <ParameterDeclarations/> <BoundingBox> <Center x="1.5" y="0.0" z="0.9"/> <Dimensions width="2" length="2" height="2"/> </BoundingBox> <Properties> <Property name="type" value="simulation"/> </Properties> </Pedestrian> </ScenarioObject> <ScenarioObject name="pedestrian_close_to_hero_26824"> <Pedestrian model="walker.pedestrian.0001" mass="80" name="walker.pedestrian.0001" pedestrianCategory="pedestrian"> <ParameterDeclarations/> <BoundingBox> <Center x="1.5" y="0.0" z="0.9"/> <Dimensions width="2" length="2" height="2"/> </BoundingBox> <Properties> <Property name="type" value="simulation"/> </Properties> </Pedestrian> </ScenarioObject> <ScenarioObject name="pedestrian_w_transform_26825"> <Pedestrian model="walker.pedestrian.0001" mass="80" name="walker.pedestrian.0001" pedestrianCategory="pedestrian"> <ParameterDeclarations/> <BoundingBox> <Center x="1.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_26808"> <PrivateAction> <TeleportAction> <Position> <WorldPosition x="-0.48235368728637695" y="-257.2494812011719" z="0.001678848173469305"/> </Position> </TeleportAction> </PrivateAction> </Private> <Private entityRef="pedestrian_w_transform_26809"> <PrivateAction> <TeleportAction> <Position> <WorldPosition x="-16.27584457397461" y="-93.30322265625" z="0.5"/> </Position> </TeleportAction> </PrivateAction> </Private> <Private entityRef="pedestrian_w_transform_26810"> <PrivateAction> <TeleportAction> <Position> <WorldPosition x="-42.87567901611328" y="19.22321128845215" z="0.5"/> </Position> </TeleportAction> </PrivateAction> </Private> <Private entityRef="pedestrian_w_transform_26811"> <PrivateAction> <TeleportAction> <Position> <WorldPosition x="82.47474670410156" y="4.281797885894775" z="0.5"/> </Position> </TeleportAction> </PrivateAction> </Private> <Private entityRef="pedestrian_close_to_adversary_26812"> <PrivateAction> <TeleportAction> <Position> <WorldPosition x="-6.244831562042236" y="-80.21882629394531" z="0.03379634767770767"/> </Position> </TeleportAction> </PrivateAction> </Private> <Private entityRef="pedestrian_close_to_hero_26813"> <PrivateAction> <TeleportAction> <Position> <WorldPosition x="-11.99622917175293" y="-258.16302490234375" z="0.001678848173469305"/> </Position> </TeleportAction> </PrivateAction> </Private> <Private entityRef="pedestrian_w_transform_26814"> <PrivateAction> <TeleportAction> <Position> <WorldPosition x="89.74425506591797" y="9.044839859008789" z="0.5"/> </Position> </TeleportAction> </PrivateAction> </Private> <Private entityRef="pedestrian_w_transform_26815"> <PrivateAction> <TeleportAction> <Position> <WorldPosition x="23.26222801208496" y="-77.47862243652344" z="0.5"/> </Position> </TeleportAction> </PrivateAction> </Private> <Private entityRef="pedestrian_w_transform_26816"> <PrivateAction> <TeleportAction> <Position> <WorldPosition x="-23.609357833862305" y="-68.09966278076172" z="0.5"/> </Position> </TeleportAction> </PrivateAction> </Private> <Private entityRef="pedestrian_close_to_hero_26817"> <PrivateAction> <TeleportAction> <Position> <WorldPosition x="-19.592134475708008" y="-254.14572143554688" z="0.001678848173469305"/> </Position> </TeleportAction> </PrivateAction> </Private> <Private entityRef="pedestrian_close_to_adversary_26818"> <PrivateAction> <TeleportAction> <Position> <WorldPosition x="-2.4674887657165527" y="-68.82749938964844" z="0.03376632556319237"/> </Position> </TeleportAction> </PrivateAction> </Private> <Private entityRef="pedestrian_w_transform_26819"> <PrivateAction> <TeleportAction> <Position> <WorldPosition x="-61.17787170410156" y="22.499460220336914" z="0.5"/> </Position> </TeleportAction> </PrivateAction> </Private> <Private entityRef="pedestrian_w_transform_26820"> <PrivateAction> <TeleportAction> <Position> <WorldPosition x="-98.25875091552734" y="-89.54395294189453" z="0.5"/> </Position> </TeleportAction> </PrivateAction> </Private> <Private entityRef="pedestrian_close_to_hero_26821"> <PrivateAction> <TeleportAction> <Position> <WorldPosition x="-7.6061320304870605" y="-252.5815887451172" z="0.001678848173469305"/> </Position> </TeleportAction> </PrivateAction> </Private> <Private entityRef="pedestrian_w_transform_26822"> <PrivateAction> <TeleportAction> <Position> <WorldPosition x="-60.64995574951172" y="-38.00532913208008" z="0.5"/> </Position> </TeleportAction> </PrivateAction> </Private> <Private entityRef="pedestrian_close_to_hero_26823"> <PrivateAction> <TeleportAction> <Position> <WorldPosition x="-1.9853235483169556" y="-254.83790588378906" z="0.001678848173469305"/> </Position> </TeleportAction> </PrivateAction> </Private> <Private entityRef="pedestrian_close_to_hero_26824"> <PrivateAction> <TeleportAction> <Position> <WorldPosition x="-13.131484031677246" y="-235.1468505859375" z="0.001678848173469305"/> </Position> </TeleportAction> </PrivateAction> </Private> <Private entityRef="pedestrian_w_transform_26825"> <PrivateAction> <TeleportAction> <Position> <WorldPosition x="-67.90697479248047" y="-38.84786605834961" 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_26808"> <Pedestrian model="walker.pedestrian.0001" mass="80" name="walker.pedestrian.0001" pedestrianCategory="pedestrian"> <ParameterDeclarations/> <BoundingBox> <Center x="1.5" y="0.0" z="0.9"/> <Dimensions width="2" length="2" height="2"/> </BoundingBox> <Properties> <Property name="type" value="simulation"/> </Properties> </Pedestrian> </ScenarioObject> <ScenarioObject name="pedestrian_w_transform_26809"> <Pedestrian model="walker.pedestrian.0001" mass="80" name="walker.pedestrian.0001" pedestrianCategory="pedestrian"> <ParameterDeclarations/> <BoundingBox> <Center x="1.5" y="0.0" z="0.9"/> <Dimensions width="2" length="2" height="2"/> </BoundingBox> <Properties> <Property name="type" value="simulation"/> </Properties> </Pedestrian> </ScenarioObject> <ScenarioObject name="pedestrian_w_transform_26810"> <Pedestrian model="walker.pedestrian.0001" mass="80" name="walker.pedestrian.0001" pedestrianCategory="pedestrian"> <ParameterDeclarations/> <BoundingBox> <Center x="1.5" y="0.0" z="0.9"/> <Dimensions width="2" length="2" height="2"/> </BoundingBox> <Properties> <Property name="type" value="simulation"/> </Properties> </Pedestrian> </ScenarioObject> <ScenarioObject name="pedestrian_w_transform_26811"> <Pedestrian model="walker.pedestrian.0001" mass="80" name="walker.pedestrian.0001" pedestrianCategory="pedestrian"> <ParameterDeclarations/> <BoundingBox> <Center x="1.5" y="0.0" z="0.9"/> <Dimensions width="2" length="2" height="2"/> </BoundingBox> <Properties> <Property name="type" value="simulation"/> </Properties> </Pedestrian> </ScenarioObject> <ScenarioObject name="pedestrian_close_to_adversary_26812"> <Pedestrian model="walker.pedestrian.0001" mass="80" name="walker.pedestrian.0001" pedestrianCategory="pedestrian"> <ParameterDeclarations/> <BoundingBox> <Center x="1.5" y="0.0" z="0.9"/> <Dimensions width="2" length="2" height="2"/> </BoundingBox> <Properties> <Property name="type" value="simulation"/> </Properties> </Pedestrian> </ScenarioObject> <ScenarioObject name="pedestrian_close_to_hero_26813"> <Pedestrian model="walker.pedestrian.0001" mass="80" name="walker.pedestrian.0001" pedestrianCategory="pedestrian"> <ParameterDeclarations/> <BoundingBox> <Center x="1.5" y="0.0" z="0.9"/> <Dimensions width="2" length="2" height="2"/> </BoundingBox> <Properties> <Property name="type" value="simulation"/> </Properties> </Pedestrian> </ScenarioObject> <ScenarioObject name="pedestrian_w_transform_26814"> <Pedestrian model="walker.pedestrian.0001" mass="80" name="walker.pedestrian.0001" pedestrianCategory="pedestrian"> <ParameterDeclarations/> <BoundingBox> <Center x="1.5" y="0.0" z="0.9"/> <Dimensions width="2" length="2" height="2"/> </BoundingBox> <Properties> <Property name="type" value="simulation"/> </Properties> </Pedestrian> </ScenarioObject> <ScenarioObject name="pedestrian_w_transform_26815"> <Pedestrian model="walker.pedestrian.0001" mass="80" name="walker.pedestrian.0001" pedestrianCategory="pedestrian"> <ParameterDeclarations/> <BoundingBox> <Center x="1.5" y="0.0" z="0.9"/> <Dimensions width="2" length="2" height="2"/> </BoundingBox> <Properties> <Property name="type" value="simulation"/> </Properties> </Pedestrian> </ScenarioObject> <ScenarioObject name="pedestrian_w_transform_26816"> <Pedestrian model="walker.pedestrian.0001" mass="80" name="walker.pedestrian.0001" pedestrianCategory="pedestrian"> <ParameterDeclarations/> <BoundingBox> <Center x="1.5" y="0.0" z="0.9"/> <Dimensions width="2" length="2" height="2"/> </BoundingBox> <Properties> <Property name="type" value="simulation"/> </Properties> </Pedestrian> </ScenarioObject> <ScenarioObject name="pedestrian_close_to_hero_26817"> <Pedestrian model="walker.pedestrian.0001" mass="80" name="walker.pedestrian.0001" pedestrianCategory="pedestrian"> <ParameterDeclarations/> <BoundingBox> <Center x="1.5" y="0.0" z="0.9"/> <Dimensions width="2" length="2" height="2"/> </BoundingBox> <Properties> <Property name="type" value="simulation"/> </Properties> </Pedestrian> </ScenarioObject> <ScenarioObject name="pedestrian_close_to_adversary_26818"> <Pedestrian model="walker.pedestrian.0001" mass="80" name="walker.pedestrian.0001" pedestrianCategory="pedestrian"> <ParameterDeclarations/> <BoundingBox> <Center x="1.5" y="0.0" z="0.9"/> <Dimensions width="2" length="2" height="2"/> </BoundingBox> <Properties> <Property name="type" value="simulation"/> </Properties> </Pedestrian> </ScenarioObject> <ScenarioObject name="pedestrian_w_transform_26819"> <Pedestrian model="walker.pedestrian.0001" mass="80" name="walker.pedestrian.0001" pedestrianCategory="pedestrian"> <ParameterDeclarations/> <BoundingBox> <Center x="1.5" y="0.0" z="0.9"/> <Dimensions width="2" length="2" height="2"/> </BoundingBox> <Properties> <Property name="type" value="simulation"/> </Properties> </Pedestrian> </ScenarioObject> <ScenarioObject name="pedestrian_w_transform_26820"> <Pedestrian model="walker.pedestrian.0001" mass="80" name="walker.pedestrian.0001" pedestrianCategory="pedestrian"> <ParameterDeclarations/> <BoundingBox> <Center x="1.5" y="0.0" z="0.9"/> <Dimensions width="2" length="2" height="2"/> </BoundingBox> <Properties> <Property name="type" value="simulation"/> </Properties> </Pedestrian> </ScenarioObject> <ScenarioObject name="pedestrian_close_to_hero_26821"> <Pedestrian model="walker.pedestrian.0001" mass="80" name="walker.pedestrian.0001" pedestrianCategory="pedestrian"> <ParameterDeclarations/> <BoundingBox> <Center x="1.5" y="0.0" z="0.9"/> <Dimensions width="2" length="2" height="2"/> </BoundingBox> <Properties> <Property name="type" value="simulation"/> </Properties> </Pedestrian> </ScenarioObject> <ScenarioObject name="pedestrian_w_transform_26822"> <Pedestrian model="walker.pedestrian.0001" mass="80" name="walker.pedestrian.0001" pedestrianCategory="pedestrian"> <ParameterDeclarations/> <BoundingBox> <Center x="1.5" y="0.0" z="0.9"/> <Dimensions width="2" length="2" height="2"/> </BoundingBox> <Properties> <Property name="type" value="simulation"/> </Properties> </Pedestrian> </ScenarioObject> <ScenarioObject name="pedestrian_close_to_hero_26823"> <Pedestrian model="walker.pedestrian.0001" mass="80" name="walker.pedestrian.0001" pedestrianCategory="pedestrian"> <ParameterDeclarations/> <BoundingBox> <Center x="1.5" y="0.0" z="0.9"/> <Dimensions width="2" length="2" height="2"/> </BoundingBox> <Properties> <Property name="type" value="simulation"/> </Properties> </Pedestrian> </ScenarioObject> <ScenarioObject name="pedestrian_close_to_hero_26824"> <Pedestrian model="walker.pedestrian.0001" mass="80" name="walker.pedestrian.0001" pedestrianCategory="pedestrian"> <ParameterDeclarations/> <BoundingBox> <Center x="1.5" y="0.0" z="0.9"/> <Dimensions width="2" length="2" height="2"/> </BoundingBox> <Properties> <Property name="type" value="simulation"/> </Properties> </Pedestrian> </ScenarioObject> <ScenarioObject name="pedestrian_w_transform_26825"> <Pedestrian model="walker.pedestrian.0001" mass="80" name="walker.pedestrian.0001" pedestrianCategory="pedestrian"> <ParameterDeclarations/> <BoundingBox> <Center x="1.5" y="0.0" z="0.9"/> <Dimensions width="2" length="2" height="2"/> </BoundingBox> <Properties> <Property name="type" value="simulation"/> </Properties> </Pedestrian> </ScenarioObject> <ScenarioObject name="pedestrian_w_transform_26826"> <Pedestrian model="walker.pedestrian.0001" mass="80" name="walker.pedestrian.0001" pedestrianCategory="pedestrian"> <ParameterDeclarations/> <BoundingBox> <Center x="1.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_26808"> <PrivateAction> <TeleportAction> <Position> <WorldPosition x="-0.48235368728637695" y="-257.2494812011719" z="0.001678848173469305"/> </Position> </TeleportAction> </PrivateAction> </Private> <Private entityRef="pedestrian_w_transform_26809"> <PrivateAction> <TeleportAction> <Position> <WorldPosition x="-16.27584457397461" y="-93.30322265625" z="0.5"/> </Position> </TeleportAction> </PrivateAction> </Private> <Private entityRef="pedestrian_w_transform_26810"> <PrivateAction> <TeleportAction> <Position> <WorldPosition x="-42.87567901611328" y="19.22321128845215" z="0.5"/> </Position> </TeleportAction> </PrivateAction> </Private> <Private entityRef="pedestrian_w_transform_26811"> <PrivateAction> <TeleportAction> <Position> <WorldPosition x="82.47474670410156" y="4.281797885894775" z="0.5"/> </Position> </TeleportAction> </PrivateAction> </Private> <Private entityRef="pedestrian_close_to_adversary_26812"> <PrivateAction> <TeleportAction> <Position> <WorldPosition x="-6.244831562042236" y="-80.21882629394531" z="0.03379634767770767"/> </Position> </TeleportAction> </PrivateAction> </Private> <Private entityRef="pedestrian_close_to_hero_26813"> <PrivateAction> <TeleportAction> <Position> <WorldPosition x="-11.99622917175293" y="-258.16302490234375" z="0.001678848173469305"/> </Position> </TeleportAction> </PrivateAction> </Private> <Private entityRef="pedestrian_w_transform_26814"> <PrivateAction> <TeleportAction> <Position> <WorldPosition x="89.74425506591797" y="9.044839859008789" z="0.5"/> </Position> </TeleportAction> </PrivateAction> </Private> <Private entityRef="pedestrian_w_transform_26815"> <PrivateAction> <TeleportAction> <Position> <WorldPosition x="23.26222801208496" y="-77.47862243652344" z="0.5"/> </Position> </TeleportAction> </PrivateAction> </Private> <Private entityRef="pedestrian_w_transform_26816"> <PrivateAction> <TeleportAction> <Position> <WorldPosition x="-23.609357833862305" y="-68.09966278076172" z="0.5"/> </Position> </TeleportAction> </PrivateAction> </Private> <Private entityRef="pedestrian_close_to_hero_26817"> <PrivateAction> <TeleportAction> <Position> <WorldPosition x="-19.592134475708008" y="-254.14572143554688" z="0.001678848173469305"/> </Position> </TeleportAction> </PrivateAction> </Private> <Private entityRef="pedestrian_close_to_adversary_26818"> <PrivateAction> <TeleportAction> <Position> <WorldPosition x="-2.4674887657165527" y="-68.82749938964844" z="0.03376632556319237"/> </Position> </TeleportAction> </PrivateAction> </Private> <Private entityRef="pedestrian_w_transform_26819"> <PrivateAction> <TeleportAction> <Position> <WorldPosition x="-61.17787170410156" y="22.499460220336914" z="0.5"/> </Position> </TeleportAction> </PrivateAction> </Private> <Private entityRef="pedestrian_w_transform_26820"> <PrivateAction> <TeleportAction> <Position> <WorldPosition x="-98.25875091552734" y="-89.54395294189453" z="0.5"/> </Position> </TeleportAction> </PrivateAction> </Private> <Private entityRef="pedestrian_close_to_hero_26821"> <PrivateAction> <TeleportAction> <Position> <WorldPosition x="-7.6061320304870605" y="-252.5815887451172" z="0.001678848173469305"/> </Position> </TeleportAction> </PrivateAction> </Private> <Private entityRef="pedestrian_w_transform_26822"> <PrivateAction> <TeleportAction> <Position> <WorldPosition x="-60.64995574951172" y="-38.00532913208008" z="0.5"/> </Position> </TeleportAction> </PrivateAction> </Private> <Private entityRef="pedestrian_close_to_hero_26823"> <PrivateAction> <TeleportAction> <Position> <WorldPosition x="-1.9853235483169556" y="-254.83790588378906" z="0.001678848173469305"/> </Position> </TeleportAction> </PrivateAction> </Private> <Private entityRef="pedestrian_close_to_hero_26824"> <PrivateAction> <TeleportAction> <Position> <WorldPosition x="-13.131484031677246" y="-235.1468505859375" z="0.001678848173469305"/> </Position> </TeleportAction> </PrivateAction> </Private> <Private entityRef="pedestrian_w_transform_26825"> <PrivateAction> <TeleportAction> <Position> <WorldPosition x="-67.90697479248047" y="-38.84786605834961" z="0.5"/> </Position> </TeleportAction> </PrivateAction> </Private> <Private entityRef="pedestrian_w_transform_26826"> <PrivateAction> <TeleportAction> <Position> <WorldPosition x="93.74971771240234" y="-0.9150406122207642" 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_7845? ``` <?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_7820"> <Pedestrian model="walker.pedestrian.0001" mass="80" name="walker.pedestrian.0001" pedestrianCategory="pedestrian"> <ParameterDeclarations/> <BoundingBox> <Center x="1.5" y="0.0" z="0.9"/> <Dimensions width="2" length="2" height="2"/> </BoundingBox> <Properties> <Property name="type" value="simulation"/> </Properties> </Pedestrian> </ScenarioObject> <ScenarioObject name="pedestrian_w_transform_7821"> <Pedestrian model="walker.pedestrian.0001" mass="80" name="walker.pedestrian.0001" pedestrianCategory="pedestrian"> <ParameterDeclarations/> <BoundingBox> <Center x="1.5" y="0.0" z="0.9"/> <Dimensions width="2" length="2" height="2"/> </BoundingBox> <Properties> <Property name="type" value="simulation"/> </Properties> </Pedestrian> </ScenarioObject> <ScenarioObject name="pedestrian_close_to_adversary_7822"> <Pedestrian model="walker.pedestrian.0001" mass="80" name="walker.pedestrian.0001" pedestrianCategory="pedestrian"> <ParameterDeclarations/> <BoundingBox> <Center x="1.5" y="0.0" z="0.9"/> <Dimensions width="2" length="2" height="2"/> </BoundingBox> <Properties> <Property name="type" value="simulation"/> </Properties> </Pedestrian> </ScenarioObject> <ScenarioObject name="pedestrian_close_to_standing_7823"> <Pedestrian model="walker.pedestrian.0001" mass="80" name="walker.pedestrian.0001" pedestrianCategory="pedestrian"> <ParameterDeclarations/> <BoundingBox> <Center x="1.5" y="0.0" z="0.9"/> <Dimensions width="2" length="2" height="2"/> </BoundingBox> <Properties> <Property name="type" value="simulation"/> </Properties> </Pedestrian> </ScenarioObject> <ScenarioObject name="pedestrian_w_transform_7824"> <Pedestrian model="walker.pedestrian.0001" mass="80" name="walker.pedestrian.0001" pedestrianCategory="pedestrian"> <ParameterDeclarations/> <BoundingBox> <Center x="1.5" y="0.0" z="0.9"/> <Dimensions width="2" length="2" height="2"/> </BoundingBox> <Properties> <Property name="type" value="simulation"/> </Properties> </Pedestrian> </ScenarioObject> <ScenarioObject name="pedestrian_close_to_hero_7825"> <Pedestrian model="walker.pedestrian.0001" mass="80" name="walker.pedestrian.0001" pedestrianCategory="pedestrian"> <ParameterDeclarations/> <BoundingBox> <Center x="1.5" y="0.0" z="0.9"/> <Dimensions width="2" length="2" height="2"/> </BoundingBox> <Properties> <Property name="type" value="simulation"/> </Properties> </Pedestrian> </ScenarioObject> <ScenarioObject name="pedestrian_close_to_standing_7826"> <Pedestrian model="walker.pedestrian.0001" mass="80" name="walker.pedestrian.0001" pedestrianCategory="pedestrian"> <ParameterDeclarations/> <BoundingBox> <Center x="1.5" y="0.0" z="0.9"/> <Dimensions width="2" length="2" height="2"/> </BoundingBox> <Properties> <Property name="type" value="simulation"/> </Properties> </Pedestrian> </ScenarioObject> <ScenarioObject name="pedestrian_close_to_adversary_7827"> <Pedestrian model="walker.pedestrian.0001" mass="80" name="walker.pedestrian.0001" pedestrianCategory="pedestrian"> <ParameterDeclarations/> <BoundingBox> <Center x="1.5" y="0.0" z="0.9"/> <Dimensions width="2" length="2" height="2"/> </BoundingBox> <Properties> <Property name="type" value="simulation"/> </Properties> </Pedestrian> </ScenarioObject> <ScenarioObject name="pedestrian_w_transform_7828"> <Pedestrian model="walker.pedestrian.0001" mass="80" name="walker.pedestrian.0001" pedestrianCategory="pedestrian"> <ParameterDeclarations/> <BoundingBox> <Center x="1.5" y="0.0" z="0.9"/> <Dimensions width="2" length="2" height="2"/> </BoundingBox> <Properties> <Property name="type" value="simulation"/> </Properties> </Pedestrian> </ScenarioObject> <ScenarioObject name="pedestrian_close_to_adversary_7829"> <Pedestrian model="walker.pedestrian.0001" mass="80" name="walker.pedestrian.0001" pedestrianCategory="pedestrian"> <ParameterDeclarations/> <BoundingBox> <Center x="1.5" y="0.0" z="0.9"/> <Dimensions width="2" length="2" height="2"/> </BoundingBox> <Properties> <Property name="type" value="simulation"/> </Properties> </Pedestrian> </ScenarioObject> <ScenarioObject name="pedestrian_w_transform_7832"> <Pedestrian model="walker.pedestrian.0001" mass="80" name="walker.pedestrian.0001" pedestrianCategory="pedestrian"> <ParameterDeclarations/> <BoundingBox> <Center x="1.5" y="0.0" z="0.9"/> <Dimensions width="2" length="2" height="2"/> </BoundingBox> <Properties> <Property name="type" value="simulation"/> </Properties> </Pedestrian> </ScenarioObject> <ScenarioObject name="pedestrian_w_transform_7833"> <Pedestrian model="walker.pedestrian.0001" mass="80" name="walker.pedestrian.0001" pedestrianCategory="pedestrian"> <ParameterDeclarations/> <BoundingBox> <Center x="1.5" y="0.0" z="0.9"/> <Dimensions width="2" length="2" height="2"/> </BoundingBox> <Properties> <Property name="type" value="simulation"/> </Properties> </Pedestrian> </ScenarioObject> <ScenarioObject name="pedestrian_w_transform_7834"> <Pedestrian model="walker.pedestrian.0001" mass="80" name="walker.pedestrian.0001" pedestrianCategory="pedestrian"> <ParameterDeclarations/> <BoundingBox> <Center x="1.5" y="0.0" z="0.9"/> <Dimensions width="2" length="2" height="2"/> </BoundingBox> <Properties> <Property name="type" value="simulation"/> </Properties> </Pedestrian> </ScenarioObject> <ScenarioObject name="pedestrian_close_to_hero_7835"> <Pedestrian model="walker.pedestrian.0001" mass="80" name="walker.pedestrian.0001" pedestrianCategory="pedestrian"> <ParameterDeclarations/> <BoundingBox> <Center x="1.5" y="0.0" z="0.9"/> <Dimensions width="2" length="2" height="2"/> </BoundingBox> <Properties> <Property name="type" value="simulation"/> </Properties> </Pedestrian> </ScenarioObject> <ScenarioObject name="pedestrian_w_transform_7837"> <Pedestrian model="walker.pedestrian.0001" mass="80" name="walker.pedestrian.0001" pedestrianCategory="pedestrian"> <ParameterDeclarations/> <BoundingBox> <Center x="1.5" y="0.0" z="0.9"/> <Dimensions width="2" length="2" height="2"/> </BoundingBox> <Properties> <Property name="type" value="simulation"/> </Properties> </Pedestrian> </ScenarioObject> <ScenarioObject name="pedestrian_close_to_hero_7838"> <Pedestrian model="walker.pedestrian.0001" mass="80" name="walker.pedestrian.0001" pedestrianCategory="pedestrian"> <ParameterDeclarations/> <BoundingBox> <Center x="1.5" y="0.0" z="0.9"/> <Dimensions width="2" length="2" height="2"/> </BoundingBox> <Properties> <Property name="type" value="simulation"/> </Properties> </Pedestrian> </ScenarioObject> <ScenarioObject name="pedestrian_close_to_adversary_7839"> <Pedestrian model="walker.pedestrian.0001" mass="80" name="walker.pedestrian.0001" pedestrianCategory="pedestrian"> <ParameterDeclarations/> <BoundingBox> <Center x="1.5" y="0.0" z="0.9"/> <Dimensions width="2" length="2" height="2"/> </BoundingBox> <Properties> <Property name="type" value="simulation"/> </Properties> </Pedestrian> </ScenarioObject> <ScenarioObject name="pedestrian_w_transform_7841"> <Pedestrian model="walker.pedestrian.0001" mass="80" name="walker.pedestrian.0001" pedestrianCategory="pedestrian"> <ParameterDeclarations/> <BoundingBox> <Center x="1.5" y="0.0" z="0.9"/> <Dimensions width="2" length="2" height="2"/> </BoundingBox> <Properties> <Property name="type" value="simulation"/> </Properties> </Pedestrian> </ScenarioObject> <ScenarioObject name="pedestrian_w_transform_7842"> <Pedestrian model="walker.pedestrian.0001" mass="80" name="walker.pedestrian.0001" pedestrianCategory="pedestrian"> <ParameterDeclarations/> <BoundingBox> <Center x="1.5" y="0.0" z="0.9"/> <Dimensions width="2" length="2" height="2"/> </BoundingBox> <Properties> <Property name="type" value="simulation"/> </Properties> </Pedestrian> </ScenarioObject> <ScenarioObject name="pedestrian_w_transform_7843"> <Pedestrian model="walker.pedestrian.0001" mass="80" name="walker.pedestrian.0001" pedestrianCategory="pedestrian"> <ParameterDeclarations/> <BoundingBox> <Center x="1.5" y="0.0" z="0.9"/> <Dimensions width="2" length="2" height="2"/> </BoundingBox> <Properties> <Property name="type" value="simulation"/> </Properties> </Pedestrian> </ScenarioObject> <ScenarioObject name="pedestrian_w_transform_7844"> <Pedestrian model="walker.pedestrian.0001" mass="80" name="walker.pedestrian.0001" pedestrianCategory="pedestrian"> <ParameterDeclarations/> <BoundingBox> <Center x="1.5" y="0.0" z="0.9"/> <Dimensions width="2" length="2" height="2"/> </BoundingBox> <Properties> <Property name="type" value="simulation"/> </Properties> </Pedestrian> </ScenarioObject> <ScenarioObject name="pedestrian_w_transform_7845"> <Pedestrian model="walker.pedestrian.0001" mass="80" name="walker.pedestrian.0001" pedestrianCategory="pedestrian"> <ParameterDeclarations/> <BoundingBox> <Center x="1.5" y="0.0" z="0.9"/> <Dimensions width="2" length="2" height="2"/> </BoundingBox> <Properties> <Property name="type" value="simulation"/> </Properties> </Pedestrian> </ScenarioObject> <ScenarioObject name="pedestrian_w_transform_7846"> <Pedestrian model="walker.pedestrian.0001" mass="80" name="walker.pedestrian.0001" pedestrianCategory="pedestrian"> <ParameterDeclarations/> <BoundingBox> <Center x="1.5" y="0.0" z="0.9"/> <Dimensions width="2" length="2" height="2"/> </BoundingBox> <Properties> <Property name="type" value="simulation"/> </Properties> </Pedestrian> </ScenarioObject> <ScenarioObject name="pedestrian_close_to_adversary_7847"> <Pedestrian model="walker.pedestrian.0001" mass="80" name="walker.pedestrian.0001" pedestrianCategory="pedestrian"> <ParameterDeclarations/> <BoundingBox> <Center x="1.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_7820"> <PrivateAction> <TeleportAction> <Position> <WorldPosition x="-1.490004062652588" y="-70.86243438720703" z="0.03379077836871147"/> </Position> </TeleportAction> </PrivateAction> </Private> <Private entityRef="pedestrian_w_transform_7821"> <PrivateAction> <TeleportAction> <Position> <WorldPosition x="61.26738739013672" y="76.07511138916016" z="0.5"/> </Position> </TeleportAction> </PrivateAction> </Private> <Private entityRef="pedestrian_close_to_adversary_7822"> <PrivateAction> <TeleportAction> <Position> <WorldPosition x="-18.317001342773438" y="-67.53440856933594" z="0.03378082066774368"/> </Position> </TeleportAction> </PrivateAction> </Private> <Private entityRef="pedestrian_close_to_standing_7823"> <PrivateAction> <TeleportAction> <Position> <WorldPosition x="-1.867422342300415" y="30.105985641479492" z="0.0030500793363898993"/> </Position> </TeleportAction> </PrivateAction> </Private> <Private entityRef="pedestrian_w_transform_7824"> <PrivateAction> <TeleportAction> <Position> <WorldPosition x="-42.426021575927734" y="-24.469432830810547" z="0.5"/> </Position> </TeleportAction> </PrivateAction> </Private> <Private entityRef="pedestrian_close_to_hero_7825"> <PrivateAction> <TeleportAction> <Position> <WorldPosition x="-11.309587478637695" y="-223.85250854492188" z="0.001673202496021986"/> </Position> </TeleportAction> </PrivateAction> </Private> <Private entityRef="pedestrian_close_to_standing_7826"> <PrivateAction> <TeleportAction> <Position> <WorldPosition x="-24.485322952270508" y="41.207435607910156" z="0.00299663539044559"/> </Position> </TeleportAction> </PrivateAction> </Private> <Private entityRef="pedestrian_close_to_adversary_7827"> <PrivateAction> <TeleportAction> <Position> <WorldPosition x="-4.597607135772705" y="-77.81877899169922" z="0.03379131108522415"/> </Position> </TeleportAction> </PrivateAction> </Private> <Private entityRef="pedestrian_w_transform_7828"> <PrivateAction> <TeleportAction> <Position> <WorldPosition x="-59.0641975402832" y="-45.138465881347656" z="0.5"/> </Position> </TeleportAction> </PrivateAction> </Private> <Private entityRef="pedestrian_close_to_adversary_7829"> <PrivateAction> <TeleportAction> <Position> <WorldPosition x="-11.463984489440918" y="-66.58316802978516" z="0.03375331684947014"/> </Position> </TeleportAction> </PrivateAction> </Private> <Private entityRef="pedestrian_w_transform_7832"> <PrivateAction> <TeleportAction> <Position> <WorldPosition x="-19.207447052001953" y="83.38392639160156" z="0.5"/> </Position> </TeleportAction> </PrivateAction> </Private> <Private entityRef="pedestrian_w_transform_7833"> <PrivateAction> <TeleportAction> <Position> <WorldPosition x="-4.966393947601318" y="67.04226684570312" z="0.5"/> </Position> </TeleportAction> </PrivateAction> </Private> <Private entityRef="pedestrian_w_transform_7834"> <PrivateAction> <TeleportAction> <Position> <WorldPosition x="-85.86412048339844" y="-34.104408264160156" z="0.5"/> </Position> </TeleportAction> </PrivateAction> </Private> <Private entityRef="pedestrian_close_to_hero_7835"> <PrivateAction> <TeleportAction> <Position> <WorldPosition x="-13.158991813659668" y="-226.17266845703125" z="0.0017491531325504184"/> </Position> </TeleportAction> </PrivateAction> </Private> <Private entityRef="pedestrian_w_transform_7837"> <PrivateAction> <TeleportAction> <Position> <WorldPosition x="-80.5064926147461" y="70.477783203125" z="0.5"/> </Position> </TeleportAction> </PrivateAction> </Private> <Private entityRef="pedestrian_close_to_hero_7838"> <PrivateAction> <TeleportAction> <Position> <WorldPosition x="-1.6778689622879028" y="-228.69381713867188" z="0.0017313002608716488"/> </Position> </TeleportAction> </PrivateAction> </Private> <Private entityRef="pedestrian_close_to_adversary_7839"> <PrivateAction> <TeleportAction> <Position> <WorldPosition x="-10.168313980102539" y="-84.53901672363281" z="0.03376232087612152"/> </Position> </TeleportAction> </PrivateAction> </Private> <Private entityRef="pedestrian_w_transform_7841"> <PrivateAction> <TeleportAction> <Position> <WorldPosition x="10.283408164978027" y="-77.8304672241211" z="0.5"/> </Position> </TeleportAction> </PrivateAction> </Private> <Private entityRef="pedestrian_w_transform_7842"> <PrivateAction> <TeleportAction> <Position> <WorldPosition x="93.46664428710938" y="25.2454891204834" z="0.5"/> </Position> </TeleportAction> </PrivateAction> </Private> <Private entityRef="pedestrian_w_transform_7843"> <PrivateAction> <TeleportAction> <Position> <WorldPosition x="95.46664428710938" y="70.59379577636719" z="0.5"/> </Position> </TeleportAction> </PrivateAction> </Private> <Private entityRef="pedestrian_w_transform_7844"> <PrivateAction> <TeleportAction> <Position> <WorldPosition x="94.94776916503906" y="52.45359802246094" z="0.5"/> </Position> </TeleportAction> </PrivateAction> </Private> <Private entityRef="pedestrian_w_transform_7845"> <PrivateAction> <TeleportAction> <Position> <WorldPosition x="-69.87578582763672" y="93.9364242553711" z="0.5"/> </Position> </TeleportAction> </PrivateAction> </Private> <Private entityRef="pedestrian_w_transform_7846"> <PrivateAction> <TeleportAction> <Position> <WorldPosition x="36.110347747802734" y="-86.68228912353516" z="0.5"/> </Position> </TeleportAction> </PrivateAction> </Private> <Private entityRef="pedestrian_close_to_adversary_7847"> <PrivateAction> <TeleportAction> <Position> <WorldPosition x="-12.045564651489258" y="-88.77448272705078" z="0.03374038636684418"/> </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_7820"> <Pedestrian model="walker.pedestrian.0001" mass="80" name="walker.pedestrian.0001" pedestrianCategory="pedestrian"> <ParameterDeclarations/> <BoundingBox> <Center x="1.5" y="0.0" z="0.9"/> <Dimensions width="2" length="2" height="2"/> </BoundingBox> <Properties> <Property name="type" value="simulation"/> </Properties> </Pedestrian> </ScenarioObject> <ScenarioObject name="pedestrian_w_transform_7821"> <Pedestrian model="walker.pedestrian.0001" mass="80" name="walker.pedestrian.0001" pedestrianCategory="pedestrian"> <ParameterDeclarations/> <BoundingBox> <Center x="1.5" y="0.0" z="0.9"/> <Dimensions width="2" length="2" height="2"/> </BoundingBox> <Properties> <Property name="type" value="simulation"/> </Properties> </Pedestrian> </ScenarioObject> <ScenarioObject name="pedestrian_close_to_adversary_7822"> <Pedestrian model="walker.pedestrian.0001" mass="80" name="walker.pedestrian.0001" pedestrianCategory="pedestrian"> <ParameterDeclarations/> <BoundingBox> <Center x="1.5" y="0.0" z="0.9"/> <Dimensions width="2" length="2" height="2"/> </BoundingBox> <Properties> <Property name="type" value="simulation"/> </Properties> </Pedestrian> </ScenarioObject> <ScenarioObject name="pedestrian_close_to_standing_7823"> <Pedestrian model="walker.pedestrian.0001" mass="80" name="walker.pedestrian.0001" pedestrianCategory="pedestrian"> <ParameterDeclarations/> <BoundingBox> <Center x="1.5" y="0.0" z="0.9"/> <Dimensions width="2" length="2" height="2"/> </BoundingBox> <Properties> <Property name="type" value="simulation"/> </Properties> </Pedestrian> </ScenarioObject> <ScenarioObject name="pedestrian_w_transform_7824"> <Pedestrian model="walker.pedestrian.0001" mass="80" name="walker.pedestrian.0001" pedestrianCategory="pedestrian"> <ParameterDeclarations/> <BoundingBox> <Center x="1.5" y="0.0" z="0.9"/> <Dimensions width="2" length="2" height="2"/> </BoundingBox> <Properties> <Property name="type" value="simulation"/> </Properties> </Pedestrian> </ScenarioObject> <ScenarioObject name="pedestrian_close_to_hero_7825"> <Pedestrian model="walker.pedestrian.0001" mass="80" name="walker.pedestrian.0001" pedestrianCategory="pedestrian"> <ParameterDeclarations/> <BoundingBox> <Center x="1.5" y="0.0" z="0.9"/> <Dimensions width="2" length="2" height="2"/> </BoundingBox> <Properties> <Property name="type" value="simulation"/> </Properties> </Pedestrian> </ScenarioObject> <ScenarioObject name="pedestrian_close_to_standing_7826"> <Pedestrian model="walker.pedestrian.0001" mass="80" name="walker.pedestrian.0001" pedestrianCategory="pedestrian"> <ParameterDeclarations/> <BoundingBox> <Center x="1.5" y="0.0" z="0.9"/> <Dimensions width="2" length="2" height="2"/> </BoundingBox> <Properties> <Property name="type" value="simulation"/> </Properties> </Pedestrian> </ScenarioObject> <ScenarioObject name="pedestrian_close_to_adversary_7827"> <Pedestrian model="walker.pedestrian.0001" mass="80" name="walker.pedestrian.0001" pedestrianCategory="pedestrian"> <ParameterDeclarations/> <BoundingBox> <Center x="1.5" y="0.0" z="0.9"/> <Dimensions width="2" length="2" height="2"/> </BoundingBox> <Properties> <Property name="type" value="simulation"/> </Properties> </Pedestrian> </ScenarioObject> <ScenarioObject name="pedestrian_w_transform_7828"> <Pedestrian model="walker.pedestrian.0001" mass="80" name="walker.pedestrian.0001" pedestrianCategory="pedestrian"> <ParameterDeclarations/> <BoundingBox> <Center x="1.5" y="0.0" z="0.9"/> <Dimensions width="2" length="2" height="2"/> </BoundingBox> <Properties> <Property name="type" value="simulation"/> </Properties> </Pedestrian> </ScenarioObject> <ScenarioObject name="pedestrian_close_to_adversary_7829"> <Pedestrian model="walker.pedestrian.0001" mass="80" name="walker.pedestrian.0001" pedestrianCategory="pedestrian"> <ParameterDeclarations/> <BoundingBox> <Center x="1.5" y="0.0" z="0.9"/> <Dimensions width="2" length="2" height="2"/> </BoundingBox> <Properties> <Property name="type" value="simulation"/> </Properties> </Pedestrian> </ScenarioObject> <ScenarioObject name="pedestrian_w_transform_7832"> <Pedestrian model="walker.pedestrian.0001" mass="80" name="walker.pedestrian.0001" pedestrianCategory="pedestrian"> <ParameterDeclarations/> <BoundingBox> <Center x="1.5" y="0.0" z="0.9"/> <Dimensions width="2" length="2" height="2"/> </BoundingBox> <Properties> <Property name="type" value="simulation"/> </Properties> </Pedestrian> </ScenarioObject> <ScenarioObject name="pedestrian_w_transform_7833"> <Pedestrian model="walker.pedestrian.0001" mass="80" name="walker.pedestrian.0001" pedestrianCategory="pedestrian"> <ParameterDeclarations/> <BoundingBox> <Center x="1.5" y="0.0" z="0.9"/> <Dimensions width="2" length="2" height="2"/> </BoundingBox> <Properties> <Property name="type" value="simulation"/> </Properties> </Pedestrian> </ScenarioObject> <ScenarioObject name="pedestrian_w_transform_7834"> <Pedestrian model="walker.pedestrian.0001" mass="80" name="walker.pedestrian.0001" pedestrianCategory="pedestrian"> <ParameterDeclarations/> <BoundingBox> <Center x="1.5" y="0.0" z="0.9"/> <Dimensions width="2" length="2" height="2"/> </BoundingBox> <Properties> <Property name="type" value="simulation"/> </Properties> </Pedestrian> </ScenarioObject> <ScenarioObject name="pedestrian_close_to_hero_7835"> <Pedestrian model="walker.pedestrian.0001" mass="80" name="walker.pedestrian.0001" pedestrianCategory="pedestrian"> <ParameterDeclarations/> <BoundingBox> <Center x="1.5" y="0.0" z="0.9"/> <Dimensions width="2" length="2" height="2"/> </BoundingBox> <Properties> <Property name="type" value="simulation"/> </Properties> </Pedestrian> </ScenarioObject> <ScenarioObject name="pedestrian_w_transform_7837"> <Pedestrian model="walker.pedestrian.0001" mass="80" name="walker.pedestrian.0001" pedestrianCategory="pedestrian"> <ParameterDeclarations/> <BoundingBox> <Center x="1.5" y="0.0" z="0.9"/> <Dimensions width="2" length="2" height="2"/> </BoundingBox> <Properties> <Property name="type" value="simulation"/> </Properties> </Pedestrian> </ScenarioObject> <ScenarioObject name="pedestrian_close_to_hero_7838"> <Pedestrian model="walker.pedestrian.0001" mass="80" name="walker.pedestrian.0001" pedestrianCategory="pedestrian"> <ParameterDeclarations/> <BoundingBox> <Center x="1.5" y="0.0" z="0.9"/> <Dimensions width="2" length="2" height="2"/> </BoundingBox> <Properties> <Property name="type" value="simulation"/> </Properties> </Pedestrian> </ScenarioObject> <ScenarioObject name="pedestrian_close_to_adversary_7839"> <Pedestrian model="walker.pedestrian.0001" mass="80" name="walker.pedestrian.0001" pedestrianCategory="pedestrian"> <ParameterDeclarations/> <BoundingBox> <Center x="1.5" y="0.0" z="0.9"/> <Dimensions width="2" length="2" height="2"/> </BoundingBox> <Properties> <Property name="type" value="simulation"/> </Properties> </Pedestrian> </ScenarioObject> <ScenarioObject name="pedestrian_w_transform_7841"> <Pedestrian model="walker.pedestrian.0001" mass="80" name="walker.pedestrian.0001" pedestrianCategory="pedestrian"> <ParameterDeclarations/> <BoundingBox> <Center x="1.5" y="0.0" z="0.9"/> <Dimensions width="2" length="2" height="2"/> </BoundingBox> <Properties> <Property name="type" value="simulation"/> </Properties> </Pedestrian> </ScenarioObject> <ScenarioObject name="pedestrian_w_transform_7842"> <Pedestrian model="walker.pedestrian.0001" mass="80" name="walker.pedestrian.0001" pedestrianCategory="pedestrian"> <ParameterDeclarations/> <BoundingBox> <Center x="1.5" y="0.0" z="0.9"/> <Dimensions width="2" length="2" height="2"/> </BoundingBox> <Properties> <Property name="type" value="simulation"/> </Properties> </Pedestrian> </ScenarioObject> <ScenarioObject name="pedestrian_w_transform_7843"> <Pedestrian model="walker.pedestrian.0001" mass="80" name="walker.pedestrian.0001" pedestrianCategory="pedestrian"> <ParameterDeclarations/> <BoundingBox> <Center x="1.5" y="0.0" z="0.9"/> <Dimensions width="2" length="2" height="2"/> </BoundingBox> <Properties> <Property name="type" value="simulation"/> </Properties> </Pedestrian> </ScenarioObject> <ScenarioObject name="pedestrian_w_transform_7844"> <Pedestrian model="walker.pedestrian.0001" mass="80" name="walker.pedestrian.0001" pedestrianCategory="pedestrian"> <ParameterDeclarations/> <BoundingBox> <Center x="1.5" y="0.0" z="0.9"/> <Dimensions width="2" length="2" height="2"/> </BoundingBox> <Properties> <Property name="type" value="simulation"/> </Properties> </Pedestrian> </ScenarioObject> <ScenarioObject name="pedestrian_w_transform_7846"> <Pedestrian model="walker.pedestrian.0001" mass="80" name="walker.pedestrian.0001" pedestrianCategory="pedestrian"> <ParameterDeclarations/> <BoundingBox> <Center x="1.5" y="0.0" z="0.9"/> <Dimensions width="2" length="2" height="2"/> </BoundingBox> <Properties> <Property name="type" value="simulation"/> </Properties> </Pedestrian> </ScenarioObject> <ScenarioObject name="pedestrian_close_to_adversary_7847"> <Pedestrian model="walker.pedestrian.0001" mass="80" name="walker.pedestrian.0001" pedestrianCategory="pedestrian"> <ParameterDeclarations/> <BoundingBox> <Center x="1.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_7820"> <PrivateAction> <TeleportAction> <Position> <WorldPosition x="-1.490004062652588" y="-70.86243438720703" z="0.03379077836871147"/> </Position> </TeleportAction> </PrivateAction> </Private> <Private entityRef="pedestrian_w_transform_7821"> <PrivateAction> <TeleportAction> <Position> <WorldPosition x="61.26738739013672" y="76.07511138916016" z="0.5"/> </Position> </TeleportAction> </PrivateAction> </Private> <Private entityRef="pedestrian_close_to_adversary_7822"> <PrivateAction> <TeleportAction> <Position> <WorldPosition x="-18.317001342773438" y="-67.53440856933594" z="0.03378082066774368"/> </Position> </TeleportAction> </PrivateAction> </Private> <Private entityRef="pedestrian_close_to_standing_7823"> <PrivateAction> <TeleportAction> <Position> <WorldPosition x="-1.867422342300415" y="30.105985641479492" z="0.0030500793363898993"/> </Position> </TeleportAction> </PrivateAction> </Private> <Private entityRef="pedestrian_w_transform_7824"> <PrivateAction> <TeleportAction> <Position> <WorldPosition x="-42.426021575927734" y="-24.469432830810547" z="0.5"/> </Position> </TeleportAction> </PrivateAction> </Private> <Private entityRef="pedestrian_close_to_hero_7825"> <PrivateAction> <TeleportAction> <Position> <WorldPosition x="-11.309587478637695" y="-223.85250854492188" z="0.001673202496021986"/> </Position> </TeleportAction> </PrivateAction> </Private> <Private entityRef="pedestrian_close_to_standing_7826"> <PrivateAction> <TeleportAction> <Position> <WorldPosition x="-24.485322952270508" y="41.207435607910156" z="0.00299663539044559"/> </Position> </TeleportAction> </PrivateAction> </Private> <Private entityRef="pedestrian_close_to_adversary_7827"> <PrivateAction> <TeleportAction> <Position> <WorldPosition x="-4.597607135772705" y="-77.81877899169922" z="0.03379131108522415"/> </Position> </TeleportAction> </PrivateAction> </Private> <Private entityRef="pedestrian_w_transform_7828"> <PrivateAction> <TeleportAction> <Position> <WorldPosition x="-59.0641975402832" y="-45.138465881347656" z="0.5"/> </Position> </TeleportAction> </PrivateAction> </Private> <Private entityRef="pedestrian_close_to_adversary_7829"> <PrivateAction> <TeleportAction> <Position> <WorldPosition x="-11.463984489440918" y="-66.58316802978516" z="0.03375331684947014"/> </Position> </TeleportAction> </PrivateAction> </Private> <Private entityRef="pedestrian_w_transform_7832"> <PrivateAction> <TeleportAction> <Position> <WorldPosition x="-19.207447052001953" y="83.38392639160156" z="0.5"/> </Position> </TeleportAction> </PrivateAction> </Private> <Private entityRef="pedestrian_w_transform_7833"> <PrivateAction> <TeleportAction> <Position> <WorldPosition x="-4.966393947601318" y="67.04226684570312" z="0.5"/> </Position> </TeleportAction> </PrivateAction> </Private> <Private entityRef="pedestrian_w_transform_7834"> <PrivateAction> <TeleportAction> <Position> <WorldPosition x="-85.86412048339844" y="-34.104408264160156" z="0.5"/> </Position> </TeleportAction> </PrivateAction> </Private> <Private entityRef="pedestrian_close_to_hero_7835"> <PrivateAction> <TeleportAction> <Position> <WorldPosition x="-13.158991813659668" y="-226.17266845703125" z="0.0017491531325504184"/> </Position> </TeleportAction> </PrivateAction> </Private> <Private entityRef="pedestrian_w_transform_7837"> <PrivateAction> <TeleportAction> <Position> <WorldPosition x="-80.5064926147461" y="70.477783203125" z="0.5"/> </Position> </TeleportAction> </PrivateAction> </Private> <Private entityRef="pedestrian_close_to_hero_7838"> <PrivateAction> <TeleportAction> <Position> <WorldPosition x="-1.6778689622879028" y="-228.69381713867188" z="0.0017313002608716488"/> </Position> </TeleportAction> </PrivateAction> </Private> <Private entityRef="pedestrian_close_to_adversary_7839"> <PrivateAction> <TeleportAction> <Position> <WorldPosition x="-10.168313980102539" y="-84.53901672363281" z="0.03376232087612152"/> </Position> </TeleportAction> </PrivateAction> </Private> <Private entityRef="pedestrian_w_transform_7841"> <PrivateAction> <TeleportAction> <Position> <WorldPosition x="10.283408164978027" y="-77.8304672241211" z="0.5"/> </Position> </TeleportAction> </PrivateAction> </Private> <Private entityRef="pedestrian_w_transform_7842"> <PrivateAction> <TeleportAction> <Position> <WorldPosition x="93.46664428710938" y="25.2454891204834" z="0.5"/> </Position> </TeleportAction> </PrivateAction> </Private> <Private entityRef="pedestrian_w_transform_7843"> <PrivateAction> <TeleportAction> <Position> <WorldPosition x="95.46664428710938" y="70.59379577636719" z="0.5"/> </Position> </TeleportAction> </PrivateAction> </Private> <Private entityRef="pedestrian_w_transform_7844"> <PrivateAction> <TeleportAction> <Position> <WorldPosition x="94.94776916503906" y="52.45359802246094" z="0.5"/> </Position> </TeleportAction> </PrivateAction> </Private> <Private entityRef="pedestrian_w_transform_7846"> <PrivateAction> <TeleportAction> <Position> <WorldPosition x="36.110347747802734" y="-86.68228912353516" z="0.5"/> </Position> </TeleportAction> </PrivateAction> </Private> <Private entityRef="pedestrian_close_to_adversary_7847"> <PrivateAction> <TeleportAction> <Position> <WorldPosition x="-12.045564651489258" y="-88.77448272705078" z="0.03374038636684418"/> </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 request you to add pedestrian at location (-46.56, 72.3, 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_16523"> <Pedestrian model="walker.pedestrian.0001" mass="80" name="walker.pedestrian.0001" pedestrianCategory="pedestrian"> <ParameterDeclarations/> <BoundingBox> <Center x="1.5" y="0.0" z="0.9"/> <Dimensions width="2" length="2" height="2"/> </BoundingBox> <Properties> <Property name="type" value="simulation"/> </Properties> </Pedestrian> </ScenarioObject> <ScenarioObject name="pedestrian_close_to_hero_16524"> <Pedestrian model="walker.pedestrian.0001" mass="80" name="walker.pedestrian.0001" pedestrianCategory="pedestrian"> <ParameterDeclarations/> <BoundingBox> <Center x="1.5" y="0.0" z="0.9"/> <Dimensions width="2" length="2" height="2"/> </BoundingBox> <Properties> <Property name="type" value="simulation"/> </Properties> </Pedestrian> </ScenarioObject> <ScenarioObject name="pedestrian_close_to_hero_16525"> <Pedestrian model="walker.pedestrian.0001" mass="80" name="walker.pedestrian.0001" pedestrianCategory="pedestrian"> <ParameterDeclarations/> <BoundingBox> <Center x="1.5" y="0.0" z="0.9"/> <Dimensions width="2" length="2" height="2"/> </BoundingBox> <Properties> <Property name="type" value="simulation"/> </Properties> </Pedestrian> </ScenarioObject> <ScenarioObject name="pedestrian_w_transform_16526"> <Pedestrian model="walker.pedestrian.0001" mass="80" name="walker.pedestrian.0001" pedestrianCategory="pedestrian"> <ParameterDeclarations/> <BoundingBox> <Center x="1.5" y="0.0" z="0.9"/> <Dimensions width="2" length="2" height="2"/> </BoundingBox> <Properties> <Property name="type" value="simulation"/> </Properties> </Pedestrian> </ScenarioObject> <ScenarioObject name="pedestrian_w_transform_16527"> <Pedestrian model="walker.pedestrian.0001" mass="80" name="walker.pedestrian.0001" pedestrianCategory="pedestrian"> <ParameterDeclarations/> <BoundingBox> <Center x="1.5" y="0.0" z="0.9"/> <Dimensions width="2" length="2" height="2"/> </BoundingBox> <Properties> <Property name="type" value="simulation"/> </Properties> </Pedestrian> </ScenarioObject> <ScenarioObject name="pedestrian_w_transform_16528"> <Pedestrian model="walker.pedestrian.0001" mass="80" name="walker.pedestrian.0001" pedestrianCategory="pedestrian"> <ParameterDeclarations/> <BoundingBox> <Center x="1.5" y="0.0" z="0.9"/> <Dimensions width="2" length="2" height="2"/> </BoundingBox> <Properties> <Property name="type" value="simulation"/> </Properties> </Pedestrian> </ScenarioObject> <ScenarioObject name="pedestrian_close_to_adversary_16530"> <Pedestrian model="walker.pedestrian.0001" mass="80" name="walker.pedestrian.0001" pedestrianCategory="pedestrian"> <ParameterDeclarations/> <BoundingBox> <Center x="1.5" y="0.0" z="0.9"/> <Dimensions width="2" length="2" height="2"/> </BoundingBox> <Properties> <Property name="type" value="simulation"/> </Properties> </Pedestrian> </ScenarioObject> <ScenarioObject name="pedestrian_close_to_standing_16531"> <Pedestrian model="walker.pedestrian.0001" mass="80" name="walker.pedestrian.0001" pedestrianCategory="pedestrian"> <ParameterDeclarations/> <BoundingBox> <Center x="1.5" y="0.0" z="0.9"/> <Dimensions width="2" length="2" height="2"/> </BoundingBox> <Properties> <Property name="type" value="simulation"/> </Properties> </Pedestrian> </ScenarioObject> <ScenarioObject name="pedestrian_w_transform_16532"> <Pedestrian model="walker.pedestrian.0001" mass="80" name="walker.pedestrian.0001" pedestrianCategory="pedestrian"> <ParameterDeclarations/> <BoundingBox> <Center x="1.5" y="0.0" z="0.9"/> <Dimensions width="2" length="2" height="2"/> </BoundingBox> <Properties> <Property name="type" value="simulation"/> </Properties> </Pedestrian> </ScenarioObject> <ScenarioObject name="pedestrian_close_to_standing_16533"> <Pedestrian model="walker.pedestrian.0001" mass="80" name="walker.pedestrian.0001" pedestrianCategory="pedestrian"> <ParameterDeclarations/> <BoundingBox> <Center x="1.5" y="0.0" z="0.9"/> <Dimensions width="2" length="2" height="2"/> </BoundingBox> <Properties> <Property name="type" value="simulation"/> </Properties> </Pedestrian> </ScenarioObject> <ScenarioObject name="pedestrian_w_transform_16534"> <Pedestrian model="walker.pedestrian.0001" mass="80" name="walker.pedestrian.0001" pedestrianCategory="pedestrian"> <ParameterDeclarations/> <BoundingBox> <Center x="1.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_16523"> <PrivateAction> <TeleportAction> <Position> <WorldPosition x="-1.5273739099502563" y="-152.45204162597656" z="0.0015143966302275658"/> </Position> </TeleportAction> </PrivateAction> </Private> <Private entityRef="pedestrian_close_to_hero_16524"> <PrivateAction> <TeleportAction> <Position> <WorldPosition x="-16.36103057861328" y="-158.3950653076172" z="0.0015143966302275658"/> </Position> </TeleportAction> </PrivateAction> </Private> <Private entityRef="pedestrian_close_to_hero_16525"> <PrivateAction> <TeleportAction> <Position> <WorldPosition x="-18.818256378173828" y="-153.5240020751953" z="0.0015143966302275658"/> </Position> </TeleportAction> </PrivateAction> </Private> <Private entityRef="pedestrian_w_transform_16526"> <PrivateAction> <TeleportAction> <Position> <WorldPosition x="-83.93277740478516" y="-80.73104858398438" z="0.5"/> </Position> </TeleportAction> </PrivateAction> </Private> <Private entityRef="pedestrian_w_transform_16527"> <PrivateAction> <TeleportAction> <Position> <WorldPosition x="80.97501373291016" y="28.083351135253906" z="0.5"/> </Position> </TeleportAction> </PrivateAction> </Private> <Private entityRef="pedestrian_w_transform_16528"> <PrivateAction> <TeleportAction> <Position> <WorldPosition x="93.54549407958984" y="-67.66231536865234" z="0.5"/> </Position> </TeleportAction> </PrivateAction> </Private> <Private entityRef="pedestrian_close_to_adversary_16530"> <PrivateAction> <TeleportAction> <Position> <WorldPosition x="-13.364672660827637" y="-75.73528289794922" z="0.03380466252565384"/> </Position> </TeleportAction> </PrivateAction> </Private> <Private entityRef="pedestrian_close_to_standing_16531"> <PrivateAction> <TeleportAction> <Position> <WorldPosition x="-15.149867057800293" y="25.1899471282959" z="0.0030248260591179132"/> </Position> </TeleportAction> </PrivateAction> </Private> <Private entityRef="pedestrian_w_transform_16532"> <PrivateAction> <TeleportAction> <Position> <WorldPosition x="71.48799133300781" y="31.932514190673828" z="0.5"/> </Position> </TeleportAction> </PrivateAction> </Private> <Private entityRef="pedestrian_close_to_standing_16533"> <PrivateAction> <TeleportAction> <Position> <WorldPosition x="-2.2053921222686768" y="23.702608108520508" z="0.003053550608456135"/> </Position> </TeleportAction> </PrivateAction> </Private> <Private entityRef="pedestrian_w_transform_16534"> <PrivateAction> <TeleportAction> <Position> <WorldPosition x="-28.74875831604004" y="-92.66361236572266" 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_16523"> <Pedestrian model="walker.pedestrian.0001" mass="80" name="walker.pedestrian.0001" pedestrianCategory="pedestrian"> <ParameterDeclarations/> <BoundingBox> <Center x="1.5" y="0.0" z="0.9"/> <Dimensions width="2" length="2" height="2"/> </BoundingBox> <Properties> <Property name="type" value="simulation"/> </Properties> </Pedestrian> </ScenarioObject> <ScenarioObject name="pedestrian_close_to_hero_16524"> <Pedestrian model="walker.pedestrian.0001" mass="80" name="walker.pedestrian.0001" pedestrianCategory="pedestrian"> <ParameterDeclarations/> <BoundingBox> <Center x="1.5" y="0.0" z="0.9"/> <Dimensions width="2" length="2" height="2"/> </BoundingBox> <Properties> <Property name="type" value="simulation"/> </Properties> </Pedestrian> </ScenarioObject> <ScenarioObject name="pedestrian_close_to_hero_16525"> <Pedestrian model="walker.pedestrian.0001" mass="80" name="walker.pedestrian.0001" pedestrianCategory="pedestrian"> <ParameterDeclarations/> <BoundingBox> <Center x="1.5" y="0.0" z="0.9"/> <Dimensions width="2" length="2" height="2"/> </BoundingBox> <Properties> <Property name="type" value="simulation"/> </Properties> </Pedestrian> </ScenarioObject> <ScenarioObject name="pedestrian_w_transform_16526"> <Pedestrian model="walker.pedestrian.0001" mass="80" name="walker.pedestrian.0001" pedestrianCategory="pedestrian"> <ParameterDeclarations/> <BoundingBox> <Center x="1.5" y="0.0" z="0.9"/> <Dimensions width="2" length="2" height="2"/> </BoundingBox> <Properties> <Property name="type" value="simulation"/> </Properties> </Pedestrian> </ScenarioObject> <ScenarioObject name="pedestrian_w_transform_16527"> <Pedestrian model="walker.pedestrian.0001" mass="80" name="walker.pedestrian.0001" pedestrianCategory="pedestrian"> <ParameterDeclarations/> <BoundingBox> <Center x="1.5" y="0.0" z="0.9"/> <Dimensions width="2" length="2" height="2"/> </BoundingBox> <Properties> <Property name="type" value="simulation"/> </Properties> </Pedestrian> </ScenarioObject> <ScenarioObject name="pedestrian_w_transform_16528"> <Pedestrian model="walker.pedestrian.0001" mass="80" name="walker.pedestrian.0001" pedestrianCategory="pedestrian"> <ParameterDeclarations/> <BoundingBox> <Center x="1.5" y="0.0" z="0.9"/> <Dimensions width="2" length="2" height="2"/> </BoundingBox> <Properties> <Property name="type" value="simulation"/> </Properties> </Pedestrian> </ScenarioObject> <ScenarioObject name="pedestrian_close_to_adversary_16530"> <Pedestrian model="walker.pedestrian.0001" mass="80" name="walker.pedestrian.0001" pedestrianCategory="pedestrian"> <ParameterDeclarations/> <BoundingBox> <Center x="1.5" y="0.0" z="0.9"/> <Dimensions width="2" length="2" height="2"/> </BoundingBox> <Properties> <Property name="type" value="simulation"/> </Properties> </Pedestrian> </ScenarioObject> <ScenarioObject name="pedestrian_close_to_standing_16531"> <Pedestrian model="walker.pedestrian.0001" mass="80" name="walker.pedestrian.0001" pedestrianCategory="pedestrian"> <ParameterDeclarations/> <BoundingBox> <Center x="1.5" y="0.0" z="0.9"/> <Dimensions width="2" length="2" height="2"/> </BoundingBox> <Properties> <Property name="type" value="simulation"/> </Properties> </Pedestrian> </ScenarioObject> <ScenarioObject name="pedestrian_w_transform_16532"> <Pedestrian model="walker.pedestrian.0001" mass="80" name="walker.pedestrian.0001" pedestrianCategory="pedestrian"> <ParameterDeclarations/> <BoundingBox> <Center x="1.5" y="0.0" z="0.9"/> <Dimensions width="2" length="2" height="2"/> </BoundingBox> <Properties> <Property name="type" value="simulation"/> </Properties> </Pedestrian> </ScenarioObject> <ScenarioObject name="pedestrian_close_to_standing_16533"> <Pedestrian model="walker.pedestrian.0001" mass="80" name="walker.pedestrian.0001" pedestrianCategory="pedestrian"> <ParameterDeclarations/> <BoundingBox> <Center x="1.5" y="0.0" z="0.9"/> <Dimensions width="2" length="2" height="2"/> </BoundingBox> <Properties> <Property name="type" value="simulation"/> </Properties> </Pedestrian> </ScenarioObject> <ScenarioObject name="pedestrian_w_transform_16534"> <Pedestrian model="walker.pedestrian.0001" mass="80" name="walker.pedestrian.0001" pedestrianCategory="pedestrian"> <ParameterDeclarations/> <BoundingBox> <Center x="1.5" y="0.0" z="0.9"/> <Dimensions width="2" length="2" height="2"/> </BoundingBox> <Properties> <Property name="type" value="simulation"/> </Properties> </Pedestrian> </ScenarioObject> <ScenarioObject name="pedestrian_w_transform_16535"> <Pedestrian model="walker.pedestrian.0001" mass="80" name="walker.pedestrian.0001" pedestrianCategory="pedestrian"> <ParameterDeclarations/> <BoundingBox> <Center x="1.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_16523"> <PrivateAction> <TeleportAction> <Position> <WorldPosition x="-1.5273739099502563" y="-152.45204162597656" z="0.0015143966302275658"/> </Position> </TeleportAction> </PrivateAction> </Private> <Private entityRef="pedestrian_close_to_hero_16524"> <PrivateAction> <TeleportAction> <Position> <WorldPosition x="-16.36103057861328" y="-158.3950653076172" z="0.0015143966302275658"/> </Position> </TeleportAction> </PrivateAction> </Private> <Private entityRef="pedestrian_close_to_hero_16525"> <PrivateAction> <TeleportAction> <Position> <WorldPosition x="-18.818256378173828" y="-153.5240020751953" z="0.0015143966302275658"/> </Position> </TeleportAction> </PrivateAction> </Private> <Private entityRef="pedestrian_w_transform_16526"> <PrivateAction> <TeleportAction> <Position> <WorldPosition x="-83.93277740478516" y="-80.73104858398438" z="0.5"/> </Position> </TeleportAction> </PrivateAction> </Private> <Private entityRef="pedestrian_w_transform_16527"> <PrivateAction> <TeleportAction> <Position> <WorldPosition x="80.97501373291016" y="28.083351135253906" z="0.5"/> </Position> </TeleportAction> </PrivateAction> </Private> <Private entityRef="pedestrian_w_transform_16528"> <PrivateAction> <TeleportAction> <Position> <WorldPosition x="93.54549407958984" y="-67.66231536865234" z="0.5"/> </Position> </TeleportAction> </PrivateAction> </Private> <Private entityRef="pedestrian_close_to_adversary_16530"> <PrivateAction> <TeleportAction> <Position> <WorldPosition x="-13.364672660827637" y="-75.73528289794922" z="0.03380466252565384"/> </Position> </TeleportAction> </PrivateAction> </Private> <Private entityRef="pedestrian_close_to_standing_16531"> <PrivateAction> <TeleportAction> <Position> <WorldPosition x="-15.149867057800293" y="25.1899471282959" z="0.0030248260591179132"/> </Position> </TeleportAction> </PrivateAction> </Private> <Private entityRef="pedestrian_w_transform_16532"> <PrivateAction> <TeleportAction> <Position> <WorldPosition x="71.48799133300781" y="31.932514190673828" z="0.5"/> </Position> </TeleportAction> </PrivateAction> </Private> <Private entityRef="pedestrian_close_to_standing_16533"> <PrivateAction> <TeleportAction> <Position> <WorldPosition x="-2.2053921222686768" y="23.702608108520508" z="0.003053550608456135"/> </Position> </TeleportAction> </PrivateAction> </Private> <Private entityRef="pedestrian_w_transform_16534"> <PrivateAction> <TeleportAction> <Position> <WorldPosition x="-28.74875831604004" y="-92.66361236572266" z="0.5"/> </Position> </TeleportAction> </PrivateAction> </Private> <Private entityRef="pedestrian_w_transform_16535"> <PrivateAction> <TeleportAction> <Position> <WorldPosition x="-46.559295654296875" y="72.30158233642578" 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 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_3195"> <Pedestrian model="walker.pedestrian.0001" mass="80" name="walker.pedestrian.0001" pedestrianCategory="pedestrian"> <ParameterDeclarations/> <BoundingBox> <Center x="1.5" y="0.0" z="0.9"/> <Dimensions width="2" length="2" height="2"/> </BoundingBox> <Properties> <Property name="type" value="simulation"/> </Properties> </Pedestrian> </ScenarioObject> <ScenarioObject name="pedestrian_w_transform_3196"> <Pedestrian model="walker.pedestrian.0001" mass="80" name="walker.pedestrian.0001" pedestrianCategory="pedestrian"> <ParameterDeclarations/> <BoundingBox> <Center x="1.5" y="0.0" z="0.9"/> <Dimensions width="2" length="2" height="2"/> </BoundingBox> <Properties> <Property name="type" value="simulation"/> </Properties> </Pedestrian> </ScenarioObject> <ScenarioObject name="pedestrian_close_to_adversary_3197"> <Pedestrian model="walker.pedestrian.0001" mass="80" name="walker.pedestrian.0001" pedestrianCategory="pedestrian"> <ParameterDeclarations/> <BoundingBox> <Center x="1.5" y="0.0" z="0.9"/> <Dimensions width="2" length="2" height="2"/> </BoundingBox> <Properties> <Property name="type" value="simulation"/> </Properties> </Pedestrian> </ScenarioObject> <ScenarioObject name="pedestrian_close_to_standing_3198"> <Pedestrian model="walker.pedestrian.0001" mass="80" name="walker.pedestrian.0001" pedestrianCategory="pedestrian"> <ParameterDeclarations/> <BoundingBox> <Center x="1.5" y="0.0" z="0.9"/> <Dimensions width="2" length="2" height="2"/> </BoundingBox> <Properties> <Property name="type" value="simulation"/> </Properties> </Pedestrian> </ScenarioObject> <ScenarioObject name="pedestrian_close_to_hero_3199"> <Pedestrian model="walker.pedestrian.0001" mass="80" name="walker.pedestrian.0001" pedestrianCategory="pedestrian"> <ParameterDeclarations/> <BoundingBox> <Center x="1.5" y="0.0" z="0.9"/> <Dimensions width="2" length="2" height="2"/> </BoundingBox> <Properties> <Property name="type" value="simulation"/> </Properties> </Pedestrian> </ScenarioObject> <ScenarioObject name="pedestrian_close_to_standing_3200"> <Pedestrian model="walker.pedestrian.0001" mass="80" name="walker.pedestrian.0001" pedestrianCategory="pedestrian"> <ParameterDeclarations/> <BoundingBox> <Center x="1.5" y="0.0" z="0.9"/> <Dimensions width="2" length="2" height="2"/> </BoundingBox> <Properties> <Property name="type" value="simulation"/> </Properties> </Pedestrian> </ScenarioObject> <ScenarioObject name="pedestrian_close_to_standing_3201"> <Pedestrian model="walker.pedestrian.0001" mass="80" name="walker.pedestrian.0001" pedestrianCategory="pedestrian"> <ParameterDeclarations/> <BoundingBox> <Center x="1.5" y="0.0" z="0.9"/> <Dimensions width="2" length="2" height="2"/> </BoundingBox> <Properties> <Property name="type" value="simulation"/> </Properties> </Pedestrian> </ScenarioObject> <ScenarioObject name="pedestrian_close_to_standing_3202"> <Pedestrian model="walker.pedestrian.0001" mass="80" name="walker.pedestrian.0001" pedestrianCategory="pedestrian"> <ParameterDeclarations/> <BoundingBox> <Center x="1.5" y="0.0" z="0.9"/> <Dimensions width="2" length="2" height="2"/> </BoundingBox> <Properties> <Property name="type" value="simulation"/> </Properties> </Pedestrian> </ScenarioObject> <ScenarioObject name="pedestrian_w_transform_3203"> <Pedestrian model="walker.pedestrian.0001" mass="80" name="walker.pedestrian.0001" pedestrianCategory="pedestrian"> <ParameterDeclarations/> <BoundingBox> <Center x="1.5" y="0.0" z="0.9"/> <Dimensions width="2" length="2" height="2"/> </BoundingBox> <Properties> <Property name="type" value="simulation"/> </Properties> </Pedestrian> </ScenarioObject> <ScenarioObject name="pedestrian_w_transform_3204"> <Pedestrian model="walker.pedestrian.0001" mass="80" name="walker.pedestrian.0001" pedestrianCategory="pedestrian"> <ParameterDeclarations/> <BoundingBox> <Center x="1.5" y="0.0" z="0.9"/> <Dimensions width="2" length="2" height="2"/> </BoundingBox> <Properties> <Property name="type" value="simulation"/> </Properties> </Pedestrian> </ScenarioObject> <ScenarioObject name="pedestrian_w_transform_3205"> <Pedestrian model="walker.pedestrian.0001" mass="80" name="walker.pedestrian.0001" pedestrianCategory="pedestrian"> <ParameterDeclarations/> <BoundingBox> <Center x="1.5" y="0.0" z="0.9"/> <Dimensions width="2" length="2" height="2"/> </BoundingBox> <Properties> <Property name="type" value="simulation"/> </Properties> </Pedestrian> </ScenarioObject> <ScenarioObject name="pedestrian_close_to_hero_3206"> <Pedestrian model="walker.pedestrian.0001" mass="80" name="walker.pedestrian.0001" pedestrianCategory="pedestrian"> <ParameterDeclarations/> <BoundingBox> <Center x="1.5" y="0.0" z="0.9"/> <Dimensions width="2" length="2" height="2"/> </BoundingBox> <Properties> <Property name="type" value="simulation"/> </Properties> </Pedestrian> </ScenarioObject> <ScenarioObject name="pedestrian_w_transform_3207"> <Pedestrian model="walker.pedestrian.0001" mass="80" name="walker.pedestrian.0001" pedestrianCategory="pedestrian"> <ParameterDeclarations/> <BoundingBox> <Center x="1.5" y="0.0" z="0.9"/> <Dimensions width="2" length="2" height="2"/> </BoundingBox> <Properties> <Property name="type" value="simulation"/> </Properties> </Pedestrian> </ScenarioObject> <ScenarioObject name="pedestrian_w_transform_3208"> <Pedestrian model="walker.pedestrian.0001" mass="80" name="walker.pedestrian.0001" pedestrianCategory="pedestrian"> <ParameterDeclarations/> <BoundingBox> <Center x="1.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_3195"> <PrivateAction> <TeleportAction> <Position> <WorldPosition x="-11.11630916595459" y="22.894207000732422" z="0.003120689420029521"/> </Position> </TeleportAction> </PrivateAction> </Private> <Private entityRef="pedestrian_w_transform_3196"> <PrivateAction> <TeleportAction> <Position> <WorldPosition x="-39.87472152709961" y="-42.41181564331055" z="0.5"/> </Position> </TeleportAction> </PrivateAction> </Private> <Private entityRef="pedestrian_close_to_adversary_3197"> <PrivateAction> <TeleportAction> <Position> <WorldPosition x="-3.217576026916504" y="-66.00498962402344" z="0.03384731337428093"/> </Position> </TeleportAction> </PrivateAction> </Private> <Private entityRef="pedestrian_close_to_standing_3198"> <PrivateAction> <TeleportAction> <Position> <WorldPosition x="-5.25897216796875" y="37.10533905029297" z="0.003088531317189336"/> </Position> </TeleportAction> </PrivateAction> </Private> <Private entityRef="pedestrian_close_to_hero_3199"> <PrivateAction> <TeleportAction> <Position> <WorldPosition x="-14.228575706481934" y="-157.81956481933594" z="0.0018838500836864114"/> </Position> </TeleportAction> </PrivateAction> </Private> <Private entityRef="pedestrian_close_to_standing_3200"> <PrivateAction> <TeleportAction> <Position> <WorldPosition x="0.415837824344635" y="34.761356353759766" z="0.003096427768468857"/> </Position> </TeleportAction> </PrivateAction> </Private> <Private entityRef="pedestrian_close_to_standing_3201"> <PrivateAction> <TeleportAction> <Position> <WorldPosition x="1.7986383438110352" y="35.74695587158203" z="0.0030956650152802467"/> </Position> </TeleportAction> </PrivateAction> </Private> <Private entityRef="pedestrian_close_to_standing_3202"> <PrivateAction> <TeleportAction> <Position> <WorldPosition x="-1.4741077423095703" y="29.070514678955078" z="0.0031029891688376665"/> </Position> </TeleportAction> </PrivateAction> </Private> <Private entityRef="pedestrian_w_transform_3203"> <PrivateAction> <TeleportAction> <Position> <WorldPosition x="-19.758255004882812" y="96.87366485595703" z="0.5"/> </Position> </TeleportAction> </PrivateAction> </Private> <Private entityRef="pedestrian_w_transform_3204"> <PrivateAction> <TeleportAction> <Position> <WorldPosition x="-54.47392272949219" y="-47.3946418762207" z="0.5"/> </Position> </TeleportAction> </PrivateAction> </Private> <Private entityRef="pedestrian_w_transform_3205"> <PrivateAction> <TeleportAction> <Position> <WorldPosition x="7.432300090789795" y="-94.63085174560547" z="0.5"/> </Position> </TeleportAction> </PrivateAction> </Private> <Private entityRef="pedestrian_close_to_hero_3206"> <PrivateAction> <TeleportAction> <Position> <WorldPosition x="-10.242501258850098" y="-149.45921325683594" z="0.0018838500836864114"/> </Position> </TeleportAction> </PrivateAction> </Private> <Private entityRef="pedestrian_w_transform_3207"> <PrivateAction> <TeleportAction> <Position> <WorldPosition x="46.58083724975586" y="63.507999420166016" z="0.5"/> </Position> </TeleportAction> </PrivateAction> </Private> <Private entityRef="pedestrian_w_transform_3208"> <PrivateAction> <TeleportAction> <Position> <WorldPosition x="-69.1140365600586" y="26.718318939208984" 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_3195"> <Pedestrian model="walker.pedestrian.0001" mass="80" name="walker.pedestrian.0001" pedestrianCategory="pedestrian"> <ParameterDeclarations/> <BoundingBox> <Center x="1.5" y="0.0" z="0.9"/> <Dimensions width="2" length="2" height="2"/> </BoundingBox> <Properties> <Property name="type" value="simulation"/> </Properties> </Pedestrian> </ScenarioObject> <ScenarioObject name="pedestrian_w_transform_3196"> <Pedestrian model="walker.pedestrian.0001" mass="80" name="walker.pedestrian.0001" pedestrianCategory="pedestrian"> <ParameterDeclarations/> <BoundingBox> <Center x="1.5" y="0.0" z="0.9"/> <Dimensions width="2" length="2" height="2"/> </BoundingBox> <Properties> <Property name="type" value="simulation"/> </Properties> </Pedestrian> </ScenarioObject> <ScenarioObject name="pedestrian_close_to_adversary_3197"> <Pedestrian model="walker.pedestrian.0001" mass="80" name="walker.pedestrian.0001" pedestrianCategory="pedestrian"> <ParameterDeclarations/> <BoundingBox> <Center x="1.5" y="0.0" z="0.9"/> <Dimensions width="2" length="2" height="2"/> </BoundingBox> <Properties> <Property name="type" value="simulation"/> </Properties> </Pedestrian> </ScenarioObject> <ScenarioObject name="pedestrian_close_to_standing_3198"> <Pedestrian model="walker.pedestrian.0001" mass="80" name="walker.pedestrian.0001" pedestrianCategory="pedestrian"> <ParameterDeclarations/> <BoundingBox> <Center x="1.5" y="0.0" z="0.9"/> <Dimensions width="2" length="2" height="2"/> </BoundingBox> <Properties> <Property name="type" value="simulation"/> </Properties> </Pedestrian> </ScenarioObject> <ScenarioObject name="pedestrian_close_to_hero_3199"> <Pedestrian model="walker.pedestrian.0001" mass="80" name="walker.pedestrian.0001" pedestrianCategory="pedestrian"> <ParameterDeclarations/> <BoundingBox> <Center x="1.5" y="0.0" z="0.9"/> <Dimensions width="2" length="2" height="2"/> </BoundingBox> <Properties> <Property name="type" value="simulation"/> </Properties> </Pedestrian> </ScenarioObject> <ScenarioObject name="pedestrian_close_to_standing_3200"> <Pedestrian model="walker.pedestrian.0001" mass="80" name="walker.pedestrian.0001" pedestrianCategory="pedestrian"> <ParameterDeclarations/> <BoundingBox> <Center x="1.5" y="0.0" z="0.9"/> <Dimensions width="2" length="2" height="2"/> </BoundingBox> <Properties> <Property name="type" value="simulation"/> </Properties> </Pedestrian> </ScenarioObject> <ScenarioObject name="pedestrian_close_to_standing_3201"> <Pedestrian model="walker.pedestrian.0001" mass="80" name="walker.pedestrian.0001" pedestrianCategory="pedestrian"> <ParameterDeclarations/> <BoundingBox> <Center x="1.5" y="0.0" z="0.9"/> <Dimensions width="2" length="2" height="2"/> </BoundingBox> <Properties> <Property name="type" value="simulation"/> </Properties> </Pedestrian> </ScenarioObject> <ScenarioObject name="pedestrian_close_to_standing_3202"> <Pedestrian model="walker.pedestrian.0001" mass="80" name="walker.pedestrian.0001" pedestrianCategory="pedestrian"> <ParameterDeclarations/> <BoundingBox> <Center x="1.5" y="0.0" z="0.9"/> <Dimensions width="2" length="2" height="2"/> </BoundingBox> <Properties> <Property name="type" value="simulation"/> </Properties> </Pedestrian> </ScenarioObject> <ScenarioObject name="pedestrian_w_transform_3203"> <Pedestrian model="walker.pedestrian.0001" mass="80" name="walker.pedestrian.0001" pedestrianCategory="pedestrian"> <ParameterDeclarations/> <BoundingBox> <Center x="1.5" y="0.0" z="0.9"/> <Dimensions width="2" length="2" height="2"/> </BoundingBox> <Properties> <Property name="type" value="simulation"/> </Properties> </Pedestrian> </ScenarioObject> <ScenarioObject name="pedestrian_w_transform_3204"> <Pedestrian model="walker.pedestrian.0001" mass="80" name="walker.pedestrian.0001" pedestrianCategory="pedestrian"> <ParameterDeclarations/> <BoundingBox> <Center x="1.5" y="0.0" z="0.9"/> <Dimensions width="2" length="2" height="2"/> </BoundingBox> <Properties> <Property name="type" value="simulation"/> </Properties> </Pedestrian> </ScenarioObject> <ScenarioObject name="pedestrian_w_transform_3205"> <Pedestrian model="walker.pedestrian.0001" mass="80" name="walker.pedestrian.0001" pedestrianCategory="pedestrian"> <ParameterDeclarations/> <BoundingBox> <Center x="1.5" y="0.0" z="0.9"/> <Dimensions width="2" length="2" height="2"/> </BoundingBox> <Properties> <Property name="type" value="simulation"/> </Properties> </Pedestrian> </ScenarioObject> <ScenarioObject name="pedestrian_close_to_hero_3206"> <Pedestrian model="walker.pedestrian.0001" mass="80" name="walker.pedestrian.0001" pedestrianCategory="pedestrian"> <ParameterDeclarations/> <BoundingBox> <Center x="1.5" y="0.0" z="0.9"/> <Dimensions width="2" length="2" height="2"/> </BoundingBox> <Properties> <Property name="type" value="simulation"/> </Properties> </Pedestrian> </ScenarioObject> <ScenarioObject name="pedestrian_w_transform_3207"> <Pedestrian model="walker.pedestrian.0001" mass="80" name="walker.pedestrian.0001" pedestrianCategory="pedestrian"> <ParameterDeclarations/> <BoundingBox> <Center x="1.5" y="0.0" z="0.9"/> <Dimensions width="2" length="2" height="2"/> </BoundingBox> <Properties> <Property name="type" value="simulation"/> </Properties> </Pedestrian> </ScenarioObject> <ScenarioObject name="pedestrian_w_transform_3208"> <Pedestrian model="walker.pedestrian.0001" mass="80" name="walker.pedestrian.0001" pedestrianCategory="pedestrian"> <ParameterDeclarations/> <BoundingBox> <Center x="1.5" y="0.0" z="0.9"/> <Dimensions width="2" length="2" height="2"/> </BoundingBox> <Properties> <Property name="type" value="simulation"/> </Properties> </Pedestrian> </ScenarioObject> <ScenarioObject name="pedestrian_close_to_adversary_3209"> <Pedestrian model="walker.pedestrian.0001" mass="80" name="walker.pedestrian.0001" pedestrianCategory="pedestrian"> <ParameterDeclarations/> <BoundingBox> <Center x="1.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_3195"> <PrivateAction> <TeleportAction> <Position> <WorldPosition x="-11.11630916595459" y="22.894207000732422" z="0.003120689420029521"/> </Position> </TeleportAction> </PrivateAction> </Private> <Private entityRef="pedestrian_w_transform_3196"> <PrivateAction> <TeleportAction> <Position> <WorldPosition x="-39.87472152709961" y="-42.41181564331055" z="0.5"/> </Position> </TeleportAction> </PrivateAction> </Private> <Private entityRef="pedestrian_close_to_adversary_3197"> <PrivateAction> <TeleportAction> <Position> <WorldPosition x="-3.217576026916504" y="-66.00498962402344" z="0.03384731337428093"/> </Position> </TeleportAction> </PrivateAction> </Private> <Private entityRef="pedestrian_close_to_standing_3198"> <PrivateAction> <TeleportAction> <Position> <WorldPosition x="-5.25897216796875" y="37.10533905029297" z="0.003088531317189336"/> </Position> </TeleportAction> </PrivateAction> </Private> <Private entityRef="pedestrian_close_to_hero_3199"> <PrivateAction> <TeleportAction> <Position> <WorldPosition x="-14.228575706481934" y="-157.81956481933594" z="0.0018838500836864114"/> </Position> </TeleportAction> </PrivateAction> </Private> <Private entityRef="pedestrian_close_to_standing_3200"> <PrivateAction> <TeleportAction> <Position> <WorldPosition x="0.415837824344635" y="34.761356353759766" z="0.003096427768468857"/> </Position> </TeleportAction> </PrivateAction> </Private> <Private entityRef="pedestrian_close_to_standing_3201"> <PrivateAction> <TeleportAction> <Position> <WorldPosition x="1.7986383438110352" y="35.74695587158203" z="0.0030956650152802467"/> </Position> </TeleportAction> </PrivateAction> </Private> <Private entityRef="pedestrian_close_to_standing_3202"> <PrivateAction> <TeleportAction> <Position> <WorldPosition x="-1.4741077423095703" y="29.070514678955078" z="0.0031029891688376665"/> </Position> </TeleportAction> </PrivateAction> </Private> <Private entityRef="pedestrian_w_transform_3203"> <PrivateAction> <TeleportAction> <Position> <WorldPosition x="-19.758255004882812" y="96.87366485595703" z="0.5"/> </Position> </TeleportAction> </PrivateAction> </Private> <Private entityRef="pedestrian_w_transform_3204"> <PrivateAction> <TeleportAction> <Position> <WorldPosition x="-54.47392272949219" y="-47.3946418762207" z="0.5"/> </Position> </TeleportAction> </PrivateAction> </Private> <Private entityRef="pedestrian_w_transform_3205"> <PrivateAction> <TeleportAction> <Position> <WorldPosition x="7.432300090789795" y="-94.63085174560547" z="0.5"/> </Position> </TeleportAction> </PrivateAction> </Private> <Private entityRef="pedestrian_close_to_hero_3206"> <PrivateAction> <TeleportAction> <Position> <WorldPosition x="-10.242501258850098" y="-149.45921325683594" z="0.0018838500836864114"/> </Position> </TeleportAction> </PrivateAction> </Private> <Private entityRef="pedestrian_w_transform_3207"> <PrivateAction> <TeleportAction> <Position> <WorldPosition x="46.58083724975586" y="63.507999420166016" z="0.5"/> </Position> </TeleportAction> </PrivateAction> </Private> <Private entityRef="pedestrian_w_transform_3208"> <PrivateAction> <TeleportAction> <Position> <WorldPosition x="-69.1140365600586" y="26.718318939208984" z="0.5"/> </Position> </TeleportAction> </PrivateAction> </Private> <Private entityRef="pedestrian_close_to_adversary_3209"> <PrivateAction> <TeleportAction> <Position> <WorldPosition x="-15.02125072479248" y="-64.28987121582031" z="0.033855702728033066"/> </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_adversary_6479"> <Pedestrian model="walker.pedestrian.0001" mass="80" name="walker.pedestrian.0001" pedestrianCategory="pedestrian"> <ParameterDeclarations/> <BoundingBox> <Center x="1.5" y="0.0" z="0.9"/> <Dimensions width="2" length="2" height="2"/> </BoundingBox> <Properties> <Property name="type" value="simulation"/> </Properties> </Pedestrian> </ScenarioObject> <ScenarioObject name="pedestrian_w_transform_6480"> <Pedestrian model="walker.pedestrian.0001" mass="80" name="walker.pedestrian.0001" pedestrianCategory="pedestrian"> <ParameterDeclarations/> <BoundingBox> <Center x="1.5" y="0.0" z="0.9"/> <Dimensions width="2" length="2" height="2"/> </BoundingBox> <Properties> <Property name="type" value="simulation"/> </Properties> </Pedestrian> </ScenarioObject> <ScenarioObject name="pedestrian_close_to_adversary_6481"> <Pedestrian model="walker.pedestrian.0001" mass="80" name="walker.pedestrian.0001" pedestrianCategory="pedestrian"> <ParameterDeclarations/> <BoundingBox> <Center x="1.5" y="0.0" z="0.9"/> <Dimensions width="2" length="2" height="2"/> </BoundingBox> <Properties> <Property name="type" value="simulation"/> </Properties> </Pedestrian> </ScenarioObject> <ScenarioObject name="pedestrian_close_to_adversary_6482"> <Pedestrian model="walker.pedestrian.0001" mass="80" name="walker.pedestrian.0001" pedestrianCategory="pedestrian"> <ParameterDeclarations/> <BoundingBox> <Center x="1.5" y="0.0" z="0.9"/> <Dimensions width="2" length="2" height="2"/> </BoundingBox> <Properties> <Property name="type" value="simulation"/> </Properties> </Pedestrian> </ScenarioObject> <ScenarioObject name="pedestrian_close_to_adversary_6483"> <Pedestrian model="walker.pedestrian.0001" mass="80" name="walker.pedestrian.0001" pedestrianCategory="pedestrian"> <ParameterDeclarations/> <BoundingBox> <Center x="1.5" y="0.0" z="0.9"/> <Dimensions width="2" length="2" height="2"/> </BoundingBox> <Properties> <Property name="type" value="simulation"/> </Properties> </Pedestrian> </ScenarioObject> <ScenarioObject name="pedestrian_close_to_hero_6484"> <Pedestrian model="walker.pedestrian.0001" mass="80" name="walker.pedestrian.0001" pedestrianCategory="pedestrian"> <ParameterDeclarations/> <BoundingBox> <Center x="1.5" y="0.0" z="0.9"/> <Dimensions width="2" length="2" height="2"/> </BoundingBox> <Properties> <Property name="type" value="simulation"/> </Properties> </Pedestrian> </ScenarioObject> <ScenarioObject name="pedestrian_close_to_adversary_6485"> <Pedestrian model="walker.pedestrian.0001" mass="80" name="walker.pedestrian.0001" pedestrianCategory="pedestrian"> <ParameterDeclarations/> <BoundingBox> <Center x="1.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_6479"> <PrivateAction> <TeleportAction> <Position> <WorldPosition x="-13.664846420288086" y="-68.60371398925781" z="0.0338280089199543"/> </Position> </TeleportAction> </PrivateAction> </Private> <Private entityRef="pedestrian_w_transform_6480"> <PrivateAction> <TeleportAction> <Position> <WorldPosition x="3.3240816593170166" y="11.10590648651123" z="0.5"/> </Position> </TeleportAction> </PrivateAction> </Private> <Private entityRef="pedestrian_close_to_adversary_6481"> <PrivateAction> <TeleportAction> <Position> <WorldPosition x="-7.872073650360107" y="-75.89339447021484" z="0.03382755070924759"/> </Position> </TeleportAction> </PrivateAction> </Private> <Private entityRef="pedestrian_close_to_adversary_6482"> <PrivateAction> <TeleportAction> <Position> <WorldPosition x="-9.526158332824707" y="-78.63206481933594" z="0.033775899559259415"/> </Position> </TeleportAction> </PrivateAction> </Private> <Private entityRef="pedestrian_close_to_adversary_6483"> <PrivateAction> <TeleportAction> <Position> <WorldPosition x="-10.190788269042969" y="-61.61946105957031" z="0.03377971425652504"/> </Position> </TeleportAction> </PrivateAction> </Private> <Private entityRef="pedestrian_close_to_hero_6484"> <PrivateAction> <TeleportAction> <Position> <WorldPosition x="-12.251998901367188" y="-157.82704162597656" z="0.0016471862327307463"/> </Position> </TeleportAction> </PrivateAction> </Private> <Private entityRef="pedestrian_close_to_adversary_6485"> <PrivateAction> <TeleportAction> <Position> <WorldPosition x="-12.776802062988281" y="-64.64146423339844" z="0.03380557894706726"/> </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_6479"> <Pedestrian model="walker.pedestrian.0001" mass="80" name="walker.pedestrian.0001" pedestrianCategory="pedestrian"> <ParameterDeclarations/> <BoundingBox> <Center x="1.5" y="0.0" z="0.9"/> <Dimensions width="2" length="2" height="2"/> </BoundingBox> <Properties> <Property name="type" value="simulation"/> </Properties> </Pedestrian> </ScenarioObject> <ScenarioObject name="pedestrian_w_transform_6480"> <Pedestrian model="walker.pedestrian.0001" mass="80" name="walker.pedestrian.0001" pedestrianCategory="pedestrian"> <ParameterDeclarations/> <BoundingBox> <Center x="1.5" y="0.0" z="0.9"/> <Dimensions width="2" length="2" height="2"/> </BoundingBox> <Properties> <Property name="type" value="simulation"/> </Properties> </Pedestrian> </ScenarioObject> <ScenarioObject name="pedestrian_close_to_adversary_6481"> <Pedestrian model="walker.pedestrian.0001" mass="80" name="walker.pedestrian.0001" pedestrianCategory="pedestrian"> <ParameterDeclarations/> <BoundingBox> <Center x="1.5" y="0.0" z="0.9"/> <Dimensions width="2" length="2" height="2"/> </BoundingBox> <Properties> <Property name="type" value="simulation"/> </Properties> </Pedestrian> </ScenarioObject> <ScenarioObject name="pedestrian_close_to_adversary_6482"> <Pedestrian model="walker.pedestrian.0001" mass="80" name="walker.pedestrian.0001" pedestrianCategory="pedestrian"> <ParameterDeclarations/> <BoundingBox> <Center x="1.5" y="0.0" z="0.9"/> <Dimensions width="2" length="2" height="2"/> </BoundingBox> <Properties> <Property name="type" value="simulation"/> </Properties> </Pedestrian> </ScenarioObject> <ScenarioObject name="pedestrian_close_to_adversary_6483"> <Pedestrian model="walker.pedestrian.0001" mass="80" name="walker.pedestrian.0001" pedestrianCategory="pedestrian"> <ParameterDeclarations/> <BoundingBox> <Center x="1.5" y="0.0" z="0.9"/> <Dimensions width="2" length="2" height="2"/> </BoundingBox> <Properties> <Property name="type" value="simulation"/> </Properties> </Pedestrian> </ScenarioObject> <ScenarioObject name="pedestrian_close_to_adversary_6485"> <Pedestrian model="walker.pedestrian.0001" mass="80" name="walker.pedestrian.0001" pedestrianCategory="pedestrian"> <ParameterDeclarations/> <BoundingBox> <Center x="1.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_6479"> <PrivateAction> <TeleportAction> <Position> <WorldPosition x="-13.664846420288086" y="-68.60371398925781" z="0.0338280089199543"/> </Position> </TeleportAction> </PrivateAction> </Private> <Private entityRef="pedestrian_w_transform_6480"> <PrivateAction> <TeleportAction> <Position> <WorldPosition x="3.3240816593170166" y="11.10590648651123" z="0.5"/> </Position> </TeleportAction> </PrivateAction> </Private> <Private entityRef="pedestrian_close_to_adversary_6481"> <PrivateAction> <TeleportAction> <Position> <WorldPosition x="-7.872073650360107" y="-75.89339447021484" z="0.03382755070924759"/> </Position> </TeleportAction> </PrivateAction> </Private> <Private entityRef="pedestrian_close_to_adversary_6482"> <PrivateAction> <TeleportAction> <Position> <WorldPosition x="-9.526158332824707" y="-78.63206481933594" z="0.033775899559259415"/> </Position> </TeleportAction> </PrivateAction> </Private> <Private entityRef="pedestrian_close_to_adversary_6483"> <PrivateAction> <TeleportAction> <Position> <WorldPosition x="-10.190788269042969" y="-61.61946105957031" z="0.03377971425652504"/> </Position> </TeleportAction> </PrivateAction> </Private> <Private entityRef="pedestrian_close_to_adversary_6485"> <PrivateAction> <TeleportAction> <Position> <WorldPosition x="-12.776802062988281" y="-64.64146423339844" z="0.03380557894706726"/> </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_adversary_25882"> <Pedestrian model="walker.pedestrian.0001" mass="80" name="walker.pedestrian.0001" pedestrianCategory="pedestrian"> <ParameterDeclarations/> <BoundingBox> <Center x="1.5" y="0.0" z="0.9"/> <Dimensions width="2" length="2" height="2"/> </BoundingBox> <Properties> <Property name="type" value="simulation"/> </Properties> </Pedestrian> </ScenarioObject> <ScenarioObject name="pedestrian_close_to_standing_25883"> <Pedestrian model="walker.pedestrian.0001" mass="80" name="walker.pedestrian.0001" pedestrianCategory="pedestrian"> <ParameterDeclarations/> <BoundingBox> <Center x="1.5" y="0.0" z="0.9"/> <Dimensions width="2" length="2" height="2"/> </BoundingBox> <Properties> <Property name="type" value="simulation"/> </Properties> </Pedestrian> </ScenarioObject> <ScenarioObject name="pedestrian_w_transform_25884"> <Pedestrian model="walker.pedestrian.0001" mass="80" name="walker.pedestrian.0001" pedestrianCategory="pedestrian"> <ParameterDeclarations/> <BoundingBox> <Center x="1.5" y="0.0" z="0.9"/> <Dimensions width="2" length="2" height="2"/> </BoundingBox> <Properties> <Property name="type" value="simulation"/> </Properties> </Pedestrian> </ScenarioObject> <ScenarioObject name="pedestrian_w_transform_25885"> <Pedestrian model="walker.pedestrian.0001" mass="80" name="walker.pedestrian.0001" pedestrianCategory="pedestrian"> <ParameterDeclarations/> <BoundingBox> <Center x="1.5" y="0.0" z="0.9"/> <Dimensions width="2" length="2" height="2"/> </BoundingBox> <Properties> <Property name="type" value="simulation"/> </Properties> </Pedestrian> </ScenarioObject> <ScenarioObject name="pedestrian_close_to_standing_25886"> <Pedestrian model="walker.pedestrian.0001" mass="80" name="walker.pedestrian.0001" pedestrianCategory="pedestrian"> <ParameterDeclarations/> <BoundingBox> <Center x="1.5" y="0.0" z="0.9"/> <Dimensions width="2" length="2" height="2"/> </BoundingBox> <Properties> <Property name="type" value="simulation"/> </Properties> </Pedestrian> </ScenarioObject> <ScenarioObject name="pedestrian_w_transform_25887"> <Pedestrian model="walker.pedestrian.0001" mass="80" name="walker.pedestrian.0001" pedestrianCategory="pedestrian"> <ParameterDeclarations/> <BoundingBox> <Center x="1.5" y="0.0" z="0.9"/> <Dimensions width="2" length="2" height="2"/> </BoundingBox> <Properties> <Property name="type" value="simulation"/> </Properties> </Pedestrian> </ScenarioObject> <ScenarioObject name="pedestrian_close_to_adversary_25888"> <Pedestrian model="walker.pedestrian.0001" mass="80" name="walker.pedestrian.0001" pedestrianCategory="pedestrian"> <ParameterDeclarations/> <BoundingBox> <Center x="1.5" y="0.0" z="0.9"/> <Dimensions width="2" length="2" height="2"/> </BoundingBox> <Properties> <Property name="type" value="simulation"/> </Properties> </Pedestrian> </ScenarioObject> <ScenarioObject name="pedestrian_w_transform_25889"> <Pedestrian model="walker.pedestrian.0001" mass="80" name="walker.pedestrian.0001" pedestrianCategory="pedestrian"> <ParameterDeclarations/> <BoundingBox> <Center x="1.5" y="0.0" z="0.9"/> <Dimensions width="2" length="2" height="2"/> </BoundingBox> <Properties> <Property name="type" value="simulation"/> </Properties> </Pedestrian> </ScenarioObject> <ScenarioObject name="pedestrian_close_to_hero_25890"> <Pedestrian model="walker.pedestrian.0001" mass="80" name="walker.pedestrian.0001" pedestrianCategory="pedestrian"> <ParameterDeclarations/> <BoundingBox> <Center x="1.5" y="0.0" z="0.9"/> <Dimensions width="2" length="2" height="2"/> </BoundingBox> <Properties> <Property name="type" value="simulation"/> </Properties> </Pedestrian> </ScenarioObject> <ScenarioObject name="pedestrian_w_transform_25891"> <Pedestrian model="walker.pedestrian.0001" mass="80" name="walker.pedestrian.0001" pedestrianCategory="pedestrian"> <ParameterDeclarations/> <BoundingBox> <Center x="1.5" y="0.0" z="0.9"/> <Dimensions width="2" length="2" height="2"/> </BoundingBox> <Properties> <Property name="type" value="simulation"/> </Properties> </Pedestrian> </ScenarioObject> <ScenarioObject name="pedestrian_close_to_standing_25892"> <Pedestrian model="walker.pedestrian.0001" mass="80" name="walker.pedestrian.0001" pedestrianCategory="pedestrian"> <ParameterDeclarations/> <BoundingBox> <Center x="1.5" y="0.0" z="0.9"/> <Dimensions width="2" length="2" height="2"/> </BoundingBox> <Properties> <Property name="type" value="simulation"/> </Properties> </Pedestrian> </ScenarioObject> <ScenarioObject name="pedestrian_close_to_standing_25893"> <Pedestrian model="walker.pedestrian.0001" mass="80" name="walker.pedestrian.0001" pedestrianCategory="pedestrian"> <ParameterDeclarations/> <BoundingBox> <Center x="1.5" y="0.0" z="0.9"/> <Dimensions width="2" length="2" height="2"/> </BoundingBox> <Properties> <Property name="type" value="simulation"/> </Properties> </Pedestrian> </ScenarioObject> <ScenarioObject name="pedestrian_close_to_adversary_25894"> <Pedestrian model="walker.pedestrian.0001" mass="80" name="walker.pedestrian.0001" pedestrianCategory="pedestrian"> <ParameterDeclarations/> <BoundingBox> <Center x="1.5" y="0.0" z="0.9"/> <Dimensions width="2" length="2" height="2"/> </BoundingBox> <Properties> <Property name="type" value="simulation"/> </Properties> </Pedestrian> </ScenarioObject> <ScenarioObject name="pedestrian_close_to_hero_25895"> <Pedestrian model="walker.pedestrian.0001" mass="80" name="walker.pedestrian.0001" pedestrianCategory="pedestrian"> <ParameterDeclarations/> <BoundingBox> <Center x="1.5" y="0.0" z="0.9"/> <Dimensions width="2" length="2" height="2"/> </BoundingBox> <Properties> <Property name="type" value="simulation"/> </Properties> </Pedestrian> </ScenarioObject> <ScenarioObject name="pedestrian_close_to_hero_25896"> <Pedestrian model="walker.pedestrian.0001" mass="80" name="walker.pedestrian.0001" pedestrianCategory="pedestrian"> <ParameterDeclarations/> <BoundingBox> <Center x="1.5" y="0.0" z="0.9"/> <Dimensions width="2" length="2" height="2"/> </BoundingBox> <Properties> <Property name="type" value="simulation"/> </Properties> </Pedestrian> </ScenarioObject> <ScenarioObject name="pedestrian_w_transform_25897"> <Pedestrian model="walker.pedestrian.0001" mass="80" name="walker.pedestrian.0001" pedestrianCategory="pedestrian"> <ParameterDeclarations/> <BoundingBox> <Center x="1.5" y="0.0" z="0.9"/> <Dimensions width="2" length="2" height="2"/> </BoundingBox> <Properties> <Property name="type" value="simulation"/> </Properties> </Pedestrian> </ScenarioObject> <ScenarioObject name="pedestrian_w_transform_25898"> <Pedestrian model="walker.pedestrian.0001" mass="80" name="walker.pedestrian.0001" pedestrianCategory="pedestrian"> <ParameterDeclarations/> <BoundingBox> <Center x="1.5" y="0.0" z="0.9"/> <Dimensions width="2" length="2" height="2"/> </BoundingBox> <Properties> <Property name="type" value="simulation"/> </Properties> </Pedestrian> </ScenarioObject> <ScenarioObject name="pedestrian_close_to_hero_25899"> <Pedestrian model="walker.pedestrian.0001" mass="80" name="walker.pedestrian.0001" pedestrianCategory="pedestrian"> <ParameterDeclarations/> <BoundingBox> <Center x="1.5" y="0.0" z="0.9"/> <Dimensions width="2" length="2" height="2"/> </BoundingBox> <Properties> <Property name="type" value="simulation"/> </Properties> </Pedestrian> </ScenarioObject> <ScenarioObject name="pedestrian_close_to_hero_25900"> <Pedestrian model="walker.pedestrian.0001" mass="80" name="walker.pedestrian.0001" pedestrianCategory="pedestrian"> <ParameterDeclarations/> <BoundingBox> <Center x="1.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_25882"> <PrivateAction> <TeleportAction> <Position> <WorldPosition x="-3.0200729370117188" y="-72.26335906982422" z="0.03381912037730217"/> </Position> </TeleportAction> </PrivateAction> </Private> <Private entityRef="pedestrian_close_to_standing_25883"> <PrivateAction> <TeleportAction> <Position> <WorldPosition x="-15.635507583618164" y="38.46989059448242" z="0.0030538940336555243"/> </Position> </TeleportAction> </PrivateAction> </Private> <Private entityRef="pedestrian_w_transform_25884"> <PrivateAction> <TeleportAction> <Position> <WorldPosition x="-38.78889083862305" y="38.776123046875" z="0.5"/> </Position> </TeleportAction> </PrivateAction> </Private> <Private entityRef="pedestrian_w_transform_25885"> <PrivateAction> <TeleportAction> <Position> <WorldPosition x="36.154422760009766" y="62.30226516723633" z="0.5"/> </Position> </TeleportAction> </PrivateAction> </Private> <Private entityRef="pedestrian_close_to_standing_25886"> <PrivateAction> <TeleportAction> <Position> <WorldPosition x="-8.276388168334961" y="24.327651977539062" z="0.0030874251388013363"/> </Position> </TeleportAction> </PrivateAction> </Private> <Private entityRef="pedestrian_w_transform_25887"> <PrivateAction> <TeleportAction> <Position> <WorldPosition x="-7.5852131843566895" y="-60.14004898071289" z="0.5"/> </Position> </TeleportAction> </PrivateAction> </Private> <Private entityRef="pedestrian_close_to_adversary_25888"> <PrivateAction> <TeleportAction> <Position> <WorldPosition x="-15.389631271362305" y="-68.48828887939453" z="0.033852651715278625"/> </Position> </TeleportAction> </PrivateAction> </Private> <Private entityRef="pedestrian_w_transform_25889"> <PrivateAction> <TeleportAction> <Position> <WorldPosition x="99.07360076904297" y="-20.053791046142578" z="0.5"/> </Position> </TeleportAction> </PrivateAction> </Private> <Private entityRef="pedestrian_close_to_hero_25890"> <PrivateAction> <TeleportAction> <Position> <WorldPosition x="-10.0952787399292" y="-149.2659912109375" z="0.0014652633108198643"/> </Position> </TeleportAction> </PrivateAction> </Private> <Private entityRef="pedestrian_w_transform_25891"> <PrivateAction> <TeleportAction> <Position> <WorldPosition x="-2.039841890335083" y="-68.17637634277344" z="0.5"/> </Position> </TeleportAction> </PrivateAction> </Private> <Private entityRef="pedestrian_close_to_standing_25892"> <PrivateAction> <TeleportAction> <Position> <WorldPosition x="-4.10883903503418" y="36.528629302978516" z="0.003094634972512722"/> </Position> </TeleportAction> </PrivateAction> </Private> <Private entityRef="pedestrian_close_to_standing_25893"> <PrivateAction> <TeleportAction> <Position> <WorldPosition x="16.014863967895508" y="29.40809440612793" z="0.0030490492936223745"/> </Position> </TeleportAction> </PrivateAction> </Private> <Private entityRef="pedestrian_close_to_adversary_25894"> <PrivateAction> <TeleportAction> <Position> <WorldPosition x="-9.08437728881836" y="-76.9499282836914" z="0.033820152282714844"/> </Position> </TeleportAction> </PrivateAction> </Private> <Private entityRef="pedestrian_close_to_hero_25895"> <PrivateAction> <TeleportAction> <Position> <WorldPosition x="-10.791913032531738" y="-154.57730102539062" z="0.0014652633108198643"/> </Position> </TeleportAction> </PrivateAction> </Private> <Private entityRef="pedestrian_close_to_hero_25896"> <PrivateAction> <TeleportAction> <Position> <WorldPosition x="-10.606083869934082" y="-157.97775268554688" z="0.0014652633108198643"/> </Position> </TeleportAction> </PrivateAction> </Private> <Private entityRef="pedestrian_w_transform_25897"> <PrivateAction> <TeleportAction> <Position> <WorldPosition x="-29.447721481323242" y="31.9317626953125" z="0.5"/> </Position> </TeleportAction> </PrivateAction> </Private> <Private entityRef="pedestrian_w_transform_25898"> <PrivateAction> <TeleportAction> <Position> <WorldPosition x="-88.6474380493164" y="-46.243438720703125" z="0.5"/> </Position> </TeleportAction> </PrivateAction> </Private> <Private entityRef="pedestrian_close_to_hero_25899"> <PrivateAction> <TeleportAction> <Position> <WorldPosition x="-18.00362205505371" y="-153.01080322265625" z="0.0014652633108198643"/> </Position> </TeleportAction> </PrivateAction> </Private> <Private entityRef="pedestrian_close_to_hero_25900"> <PrivateAction> <TeleportAction> <Position> <WorldPosition x="-13.842982292175293" y="-159.73031616210938" z="0.0014652633108198643"/> </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_25882"> <Pedestrian model="walker.pedestrian.0001" mass="80" name="walker.pedestrian.0001" pedestrianCategory="pedestrian"> <ParameterDeclarations/> <BoundingBox> <Center x="1.5" y="0.0" z="0.9"/> <Dimensions width="2" length="2" height="2"/> </BoundingBox> <Properties> <Property name="type" value="simulation"/> </Properties> </Pedestrian> </ScenarioObject> <ScenarioObject name="pedestrian_close_to_standing_25883"> <Pedestrian model="walker.pedestrian.0001" mass="80" name="walker.pedestrian.0001" pedestrianCategory="pedestrian"> <ParameterDeclarations/> <BoundingBox> <Center x="1.5" y="0.0" z="0.9"/> <Dimensions width="2" length="2" height="2"/> </BoundingBox> <Properties> <Property name="type" value="simulation"/> </Properties> </Pedestrian> </ScenarioObject> <ScenarioObject name="pedestrian_w_transform_25884"> <Pedestrian model="walker.pedestrian.0001" mass="80" name="walker.pedestrian.0001" pedestrianCategory="pedestrian"> <ParameterDeclarations/> <BoundingBox> <Center x="1.5" y="0.0" z="0.9"/> <Dimensions width="2" length="2" height="2"/> </BoundingBox> <Properties> <Property name="type" value="simulation"/> </Properties> </Pedestrian> </ScenarioObject> <ScenarioObject name="pedestrian_w_transform_25885"> <Pedestrian model="walker.pedestrian.0001" mass="80" name="walker.pedestrian.0001" pedestrianCategory="pedestrian"> <ParameterDeclarations/> <BoundingBox> <Center x="1.5" y="0.0" z="0.9"/> <Dimensions width="2" length="2" height="2"/> </BoundingBox> <Properties> <Property name="type" value="simulation"/> </Properties> </Pedestrian> </ScenarioObject> <ScenarioObject name="pedestrian_close_to_standing_25886"> <Pedestrian model="walker.pedestrian.0001" mass="80" name="walker.pedestrian.0001" pedestrianCategory="pedestrian"> <ParameterDeclarations/> <BoundingBox> <Center x="1.5" y="0.0" z="0.9"/> <Dimensions width="2" length="2" height="2"/> </BoundingBox> <Properties> <Property name="type" value="simulation"/> </Properties> </Pedestrian> </ScenarioObject> <ScenarioObject name="pedestrian_w_transform_25887"> <Pedestrian model="walker.pedestrian.0001" mass="80" name="walker.pedestrian.0001" pedestrianCategory="pedestrian"> <ParameterDeclarations/> <BoundingBox> <Center x="1.5" y="0.0" z="0.9"/> <Dimensions width="2" length="2" height="2"/> </BoundingBox> <Properties> <Property name="type" value="simulation"/> </Properties> </Pedestrian> </ScenarioObject> <ScenarioObject name="pedestrian_close_to_adversary_25888"> <Pedestrian model="walker.pedestrian.0001" mass="80" name="walker.pedestrian.0001" pedestrianCategory="pedestrian"> <ParameterDeclarations/> <BoundingBox> <Center x="1.5" y="0.0" z="0.9"/> <Dimensions width="2" length="2" height="2"/> </BoundingBox> <Properties> <Property name="type" value="simulation"/> </Properties> </Pedestrian> </ScenarioObject> <ScenarioObject name="pedestrian_w_transform_25889"> <Pedestrian model="walker.pedestrian.0001" mass="80" name="walker.pedestrian.0001" pedestrianCategory="pedestrian"> <ParameterDeclarations/> <BoundingBox> <Center x="1.5" y="0.0" z="0.9"/> <Dimensions width="2" length="2" height="2"/> </BoundingBox> <Properties> <Property name="type" value="simulation"/> </Properties> </Pedestrian> </ScenarioObject> <ScenarioObject name="pedestrian_close_to_hero_25890"> <Pedestrian model="walker.pedestrian.0001" mass="80" name="walker.pedestrian.0001" pedestrianCategory="pedestrian"> <ParameterDeclarations/> <BoundingBox> <Center x="1.5" y="0.0" z="0.9"/> <Dimensions width="2" length="2" height="2"/> </BoundingBox> <Properties> <Property name="type" value="simulation"/> </Properties> </Pedestrian> </ScenarioObject> <ScenarioObject name="pedestrian_w_transform_25891"> <Pedestrian model="walker.pedestrian.0001" mass="80" name="walker.pedestrian.0001" pedestrianCategory="pedestrian"> <ParameterDeclarations/> <BoundingBox> <Center x="1.5" y="0.0" z="0.9"/> <Dimensions width="2" length="2" height="2"/> </BoundingBox> <Properties> <Property name="type" value="simulation"/> </Properties> </Pedestrian> </ScenarioObject> <ScenarioObject name="pedestrian_close_to_standing_25892"> <Pedestrian model="walker.pedestrian.0001" mass="80" name="walker.pedestrian.0001" pedestrianCategory="pedestrian"> <ParameterDeclarations/> <BoundingBox> <Center x="1.5" y="0.0" z="0.9"/> <Dimensions width="2" length="2" height="2"/> </BoundingBox> <Properties> <Property name="type" value="simulation"/> </Properties> </Pedestrian> </ScenarioObject> <ScenarioObject name="pedestrian_close_to_standing_25893"> <Pedestrian model="walker.pedestrian.0001" mass="80" name="walker.pedestrian.0001" pedestrianCategory="pedestrian"> <ParameterDeclarations/> <BoundingBox> <Center x="1.5" y="0.0" z="0.9"/> <Dimensions width="2" length="2" height="2"/> </BoundingBox> <Properties> <Property name="type" value="simulation"/> </Properties> </Pedestrian> </ScenarioObject> <ScenarioObject name="pedestrian_close_to_adversary_25894"> <Pedestrian model="walker.pedestrian.0001" mass="80" name="walker.pedestrian.0001" pedestrianCategory="pedestrian"> <ParameterDeclarations/> <BoundingBox> <Center x="1.5" y="0.0" z="0.9"/> <Dimensions width="2" length="2" height="2"/> </BoundingBox> <Properties> <Property name="type" value="simulation"/> </Properties> </Pedestrian> </ScenarioObject> <ScenarioObject name="pedestrian_close_to_hero_25895"> <Pedestrian model="walker.pedestrian.0001" mass="80" name="walker.pedestrian.0001" pedestrianCategory="pedestrian"> <ParameterDeclarations/> <BoundingBox> <Center x="1.5" y="0.0" z="0.9"/> <Dimensions width="2" length="2" height="2"/> </BoundingBox> <Properties> <Property name="type" value="simulation"/> </Properties> </Pedestrian> </ScenarioObject> <ScenarioObject name="pedestrian_close_to_hero_25896"> <Pedestrian model="walker.pedestrian.0001" mass="80" name="walker.pedestrian.0001" pedestrianCategory="pedestrian"> <ParameterDeclarations/> <BoundingBox> <Center x="1.5" y="0.0" z="0.9"/> <Dimensions width="2" length="2" height="2"/> </BoundingBox> <Properties> <Property name="type" value="simulation"/> </Properties> </Pedestrian> </ScenarioObject> <ScenarioObject name="pedestrian_w_transform_25897"> <Pedestrian model="walker.pedestrian.0001" mass="80" name="walker.pedestrian.0001" pedestrianCategory="pedestrian"> <ParameterDeclarations/> <BoundingBox> <Center x="1.5" y="0.0" z="0.9"/> <Dimensions width="2" length="2" height="2"/> </BoundingBox> <Properties> <Property name="type" value="simulation"/> </Properties> </Pedestrian> </ScenarioObject> <ScenarioObject name="pedestrian_w_transform_25898"> <Pedestrian model="walker.pedestrian.0001" mass="80" name="walker.pedestrian.0001" pedestrianCategory="pedestrian"> <ParameterDeclarations/> <BoundingBox> <Center x="1.5" y="0.0" z="0.9"/> <Dimensions width="2" length="2" height="2"/> </BoundingBox> <Properties> <Property name="type" value="simulation"/> </Properties> </Pedestrian> </ScenarioObject> <ScenarioObject name="pedestrian_close_to_hero_25899"> <Pedestrian model="walker.pedestrian.0001" mass="80" name="walker.pedestrian.0001" pedestrianCategory="pedestrian"> <ParameterDeclarations/> <BoundingBox> <Center x="1.5" y="0.0" z="0.9"/> <Dimensions width="2" length="2" height="2"/> </BoundingBox> <Properties> <Property name="type" value="simulation"/> </Properties> </Pedestrian> </ScenarioObject> <ScenarioObject name="pedestrian_close_to_hero_25900"> <Pedestrian model="walker.pedestrian.0001" mass="80" name="walker.pedestrian.0001" pedestrianCategory="pedestrian"> <ParameterDeclarations/> <BoundingBox> <Center x="1.5" y="0.0" z="0.9"/> <Dimensions width="2" length="2" height="2"/> </BoundingBox> <Properties> <Property name="type" value="simulation"/> </Properties> </Pedestrian> </ScenarioObject> <ScenarioObject name="pedestrian_close_to_adversary_25901"> <Pedestrian model="walker.pedestrian.0001" mass="80" name="walker.pedestrian.0001" pedestrianCategory="pedestrian"> <ParameterDeclarations/> <BoundingBox> <Center x="1.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_25882"> <PrivateAction> <TeleportAction> <Position> <WorldPosition x="-3.0200729370117188" y="-72.26335906982422" z="0.03381912037730217"/> </Position> </TeleportAction> </PrivateAction> </Private> <Private entityRef="pedestrian_close_to_standing_25883"> <PrivateAction> <TeleportAction> <Position> <WorldPosition x="-15.635507583618164" y="38.46989059448242" z="0.0030538940336555243"/> </Position> </TeleportAction> </PrivateAction> </Private> <Private entityRef="pedestrian_w_transform_25884"> <PrivateAction> <TeleportAction> <Position> <WorldPosition x="-38.78889083862305" y="38.776123046875" z="0.5"/> </Position> </TeleportAction> </PrivateAction> </Private> <Private entityRef="pedestrian_w_transform_25885"> <PrivateAction> <TeleportAction> <Position> <WorldPosition x="36.154422760009766" y="62.30226516723633" z="0.5"/> </Position> </TeleportAction> </PrivateAction> </Private> <Private entityRef="pedestrian_close_to_standing_25886"> <PrivateAction> <TeleportAction> <Position> <WorldPosition x="-8.276388168334961" y="24.327651977539062" z="0.0030874251388013363"/> </Position> </TeleportAction> </PrivateAction> </Private> <Private entityRef="pedestrian_w_transform_25887"> <PrivateAction> <TeleportAction> <Position> <WorldPosition x="-7.5852131843566895" y="-60.14004898071289" z="0.5"/> </Position> </TeleportAction> </PrivateAction> </Private> <Private entityRef="pedestrian_close_to_adversary_25888"> <PrivateAction> <TeleportAction> <Position> <WorldPosition x="-15.389631271362305" y="-68.48828887939453" z="0.033852651715278625"/> </Position> </TeleportAction> </PrivateAction> </Private> <Private entityRef="pedestrian_w_transform_25889"> <PrivateAction> <TeleportAction> <Position> <WorldPosition x="99.07360076904297" y="-20.053791046142578" z="0.5"/> </Position> </TeleportAction> </PrivateAction> </Private> <Private entityRef="pedestrian_close_to_hero_25890"> <PrivateAction> <TeleportAction> <Position> <WorldPosition x="-10.0952787399292" y="-149.2659912109375" z="0.0014652633108198643"/> </Position> </TeleportAction> </PrivateAction> </Private> <Private entityRef="pedestrian_w_transform_25891"> <PrivateAction> <TeleportAction> <Position> <WorldPosition x="-2.039841890335083" y="-68.17637634277344" z="0.5"/> </Position> </TeleportAction> </PrivateAction> </Private> <Private entityRef="pedestrian_close_to_standing_25892"> <PrivateAction> <TeleportAction> <Position> <WorldPosition x="-4.10883903503418" y="36.528629302978516" z="0.003094634972512722"/> </Position> </TeleportAction> </PrivateAction> </Private> <Private entityRef="pedestrian_close_to_standing_25893"> <PrivateAction> <TeleportAction> <Position> <WorldPosition x="16.014863967895508" y="29.40809440612793" z="0.0030490492936223745"/> </Position> </TeleportAction> </PrivateAction> </Private> <Private entityRef="pedestrian_close_to_adversary_25894"> <PrivateAction> <TeleportAction> <Position> <WorldPosition x="-9.08437728881836" y="-76.9499282836914" z="0.033820152282714844"/> </Position> </TeleportAction> </PrivateAction> </Private> <Private entityRef="pedestrian_close_to_hero_25895"> <PrivateAction> <TeleportAction> <Position> <WorldPosition x="-10.791913032531738" y="-154.57730102539062" z="0.0014652633108198643"/> </Position> </TeleportAction> </PrivateAction> </Private> <Private entityRef="pedestrian_close_to_hero_25896"> <PrivateAction> <TeleportAction> <Position> <WorldPosition x="-10.606083869934082" y="-157.97775268554688" z="0.0014652633108198643"/> </Position> </TeleportAction> </PrivateAction> </Private> <Private entityRef="pedestrian_w_transform_25897"> <PrivateAction> <TeleportAction> <Position> <WorldPosition x="-29.447721481323242" y="31.9317626953125" z="0.5"/> </Position> </TeleportAction> </PrivateAction> </Private> <Private entityRef="pedestrian_w_transform_25898"> <PrivateAction> <TeleportAction> <Position> <WorldPosition x="-88.6474380493164" y="-46.243438720703125" z="0.5"/> </Position> </TeleportAction> </PrivateAction> </Private> <Private entityRef="pedestrian_close_to_hero_25899"> <PrivateAction> <TeleportAction> <Position> <WorldPosition x="-18.00362205505371" y="-153.01080322265625" z="0.0014652633108198643"/> </Position> </TeleportAction> </PrivateAction> </Private> <Private entityRef="pedestrian_close_to_hero_25900"> <PrivateAction> <TeleportAction> <Position> <WorldPosition x="-13.842982292175293" y="-159.73031616210938" z="0.0014652633108198643"/> </Position> </TeleportAction> </PrivateAction> </Private> <Private entityRef="pedestrian_close_to_adversary_25901"> <PrivateAction> <TeleportAction> <Position> <WorldPosition x="-23.5965576171875" y="-60.206058502197266" z="0.03378448262810707"/> </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> ```
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_adversary_26498"> <Pedestrian model="walker.pedestrian.0001" mass="80" name="walker.pedestrian.0001" pedestrianCategory="pedestrian"> <ParameterDeclarations/> <BoundingBox> <Center x="1.5" y="0.0" z="0.9"/> <Dimensions width="2" length="2" height="2"/> </BoundingBox> <Properties> <Property name="type" value="simulation"/> </Properties> </Pedestrian> </ScenarioObject> <ScenarioObject name="pedestrian_w_transform_26499"> <Pedestrian model="walker.pedestrian.0001" mass="80" name="walker.pedestrian.0001" pedestrianCategory="pedestrian"> <ParameterDeclarations/> <BoundingBox> <Center x="1.5" y="0.0" z="0.9"/> <Dimensions width="2" length="2" height="2"/> </BoundingBox> <Properties> <Property name="type" value="simulation"/> </Properties> </Pedestrian> </ScenarioObject> <ScenarioObject name="pedestrian_w_transform_26501"> <Pedestrian model="walker.pedestrian.0001" mass="80" name="walker.pedestrian.0001" pedestrianCategory="pedestrian"> <ParameterDeclarations/> <BoundingBox> <Center x="1.5" y="0.0" z="0.9"/> <Dimensions width="2" length="2" height="2"/> </BoundingBox> <Properties> <Property name="type" value="simulation"/> </Properties> </Pedestrian> </ScenarioObject> <ScenarioObject name="pedestrian_close_to_standing_26502"> <Pedestrian model="walker.pedestrian.0001" mass="80" name="walker.pedestrian.0001" pedestrianCategory="pedestrian"> <ParameterDeclarations/> <BoundingBox> <Center x="1.5" y="0.0" z="0.9"/> <Dimensions width="2" length="2" height="2"/> </BoundingBox> <Properties> <Property name="type" value="simulation"/> </Properties> </Pedestrian> </ScenarioObject> <ScenarioObject name="pedestrian_close_to_standing_26504"> <Pedestrian model="walker.pedestrian.0001" mass="80" name="walker.pedestrian.0001" pedestrianCategory="pedestrian"> <ParameterDeclarations/> <BoundingBox> <Center x="1.5" y="0.0" z="0.9"/> <Dimensions width="2" length="2" height="2"/> </BoundingBox> <Properties> <Property name="type" value="simulation"/> </Properties> </Pedestrian> </ScenarioObject> <ScenarioObject name="pedestrian_w_transform_26505"> <Pedestrian model="walker.pedestrian.0001" mass="80" name="walker.pedestrian.0001" pedestrianCategory="pedestrian"> <ParameterDeclarations/> <BoundingBox> <Center x="1.5" y="0.0" z="0.9"/> <Dimensions width="2" length="2" height="2"/> </BoundingBox> <Properties> <Property name="type" value="simulation"/> </Properties> </Pedestrian> </ScenarioObject> <ScenarioObject name="pedestrian_close_to_hero_26506"> <Pedestrian model="walker.pedestrian.0001" mass="80" name="walker.pedestrian.0001" pedestrianCategory="pedestrian"> <ParameterDeclarations/> <BoundingBox> <Center x="1.5" y="0.0" z="0.9"/> <Dimensions width="2" length="2" height="2"/> </BoundingBox> <Properties> <Property name="type" value="simulation"/> </Properties> </Pedestrian> </ScenarioObject> <ScenarioObject name="pedestrian_w_transform_26508"> <Pedestrian model="walker.pedestrian.0001" mass="80" name="walker.pedestrian.0001" pedestrianCategory="pedestrian"> <ParameterDeclarations/> <BoundingBox> <Center x="1.5" y="0.0" z="0.9"/> <Dimensions width="2" length="2" height="2"/> </BoundingBox> <Properties> <Property name="type" value="simulation"/> </Properties> </Pedestrian> </ScenarioObject> <ScenarioObject name="pedestrian_close_to_standing_26509"> <Pedestrian model="walker.pedestrian.0001" mass="80" name="walker.pedestrian.0001" pedestrianCategory="pedestrian"> <ParameterDeclarations/> <BoundingBox> <Center x="1.5" y="0.0" z="0.9"/> <Dimensions width="2" length="2" height="2"/> </BoundingBox> <Properties> <Property name="type" value="simulation"/> </Properties> </Pedestrian> </ScenarioObject> <ScenarioObject name="pedestrian_close_to_hero_26511"> <Pedestrian model="walker.pedestrian.0001" mass="80" name="walker.pedestrian.0001" pedestrianCategory="pedestrian"> <ParameterDeclarations/> <BoundingBox> <Center x="1.5" y="0.0" z="0.9"/> <Dimensions width="2" length="2" height="2"/> </BoundingBox> <Properties> <Property name="type" value="simulation"/> </Properties> </Pedestrian> </ScenarioObject> <ScenarioObject name="pedestrian_w_transform_26513"> <Pedestrian model="walker.pedestrian.0001" mass="80" name="walker.pedestrian.0001" pedestrianCategory="pedestrian"> <ParameterDeclarations/> <BoundingBox> <Center x="1.5" y="0.0" z="0.9"/> <Dimensions width="2" length="2" height="2"/> </BoundingBox> <Properties> <Property name="type" value="simulation"/> </Properties> </Pedestrian> </ScenarioObject> <ScenarioObject name="pedestrian_w_transform_26514"> <Pedestrian model="walker.pedestrian.0001" mass="80" name="walker.pedestrian.0001" pedestrianCategory="pedestrian"> <ParameterDeclarations/> <BoundingBox> <Center x="1.5" y="0.0" z="0.9"/> <Dimensions width="2" length="2" height="2"/> </BoundingBox> <Properties> <Property name="type" value="simulation"/> </Properties> </Pedestrian> </ScenarioObject> <ScenarioObject name="pedestrian_w_transform_26519"> <Pedestrian model="walker.pedestrian.0001" mass="80" name="walker.pedestrian.0001" pedestrianCategory="pedestrian"> <ParameterDeclarations/> <BoundingBox> <Center x="1.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_26498"> <PrivateAction> <TeleportAction> <Position> <WorldPosition x="-15.59032917022705" y="-77.95370483398438" z="0.033825378865003586"/> </Position> </TeleportAction> </PrivateAction> </Private> <Private entityRef="pedestrian_w_transform_26499"> <PrivateAction> <TeleportAction> <Position> <WorldPosition x="60.407135009765625" y="-73.25020599365234" z="0.5"/> </Position> </TeleportAction> </PrivateAction> </Private> <Private entityRef="pedestrian_w_transform_26501"> <PrivateAction> <TeleportAction> <Position> <WorldPosition x="-15.269518852233887" y="-67.87884521484375" z="0.5"/> </Position> </TeleportAction> </PrivateAction> </Private> <Private entityRef="pedestrian_close_to_standing_26502"> <PrivateAction> <TeleportAction> <Position> <WorldPosition x="-11.754199028015137" y="29.10975456237793" z="0.0030378340743482113"/> </Position> </TeleportAction> </PrivateAction> </Private> <Private entityRef="pedestrian_close_to_standing_26504"> <PrivateAction> <TeleportAction> <Position> <WorldPosition x="-15.701745986938477" y="33.2823600769043" z="0.0031017684377729893"/> </Position> </TeleportAction> </PrivateAction> </Private> <Private entityRef="pedestrian_w_transform_26505"> <PrivateAction> <TeleportAction> <Position> <WorldPosition x="29.20077133178711" y="3.7202892303466797" z="0.5"/> </Position> </TeleportAction> </PrivateAction> </Private> <Private entityRef="pedestrian_close_to_hero_26506"> <PrivateAction> <TeleportAction> <Position> <WorldPosition x="-17.15054702758789" y="-144.64419555664062" z="0.0015143966302275658"/> </Position> </TeleportAction> </PrivateAction> </Private> <Private entityRef="pedestrian_w_transform_26508"> <PrivateAction> <TeleportAction> <Position> <WorldPosition x="-81.63580322265625" y="-60.42267990112305" z="0.5"/> </Position> </TeleportAction> </PrivateAction> </Private> <Private entityRef="pedestrian_close_to_standing_26509"> <PrivateAction> <TeleportAction> <Position> <WorldPosition x="-6.177486419677734" y="21.687837600708008" z="0.0030067823827266693"/> </Position> </TeleportAction> </PrivateAction> </Private> <Private entityRef="pedestrian_close_to_hero_26511"> <PrivateAction> <TeleportAction> <Position> <WorldPosition x="8.683632850646973" y="-170.5982666015625" z="0.0015143966302275658"/> </Position> </TeleportAction> </PrivateAction> </Private> <Private entityRef="pedestrian_w_transform_26513"> <PrivateAction> <TeleportAction> <Position> <WorldPosition x="87.46907043457031" y="84.61940002441406" z="0.5"/> </Position> </TeleportAction> </PrivateAction> </Private> <Private entityRef="pedestrian_w_transform_26514"> <PrivateAction> <TeleportAction> <Position> <WorldPosition x="-94.25076293945312" y="-83.79846954345703" z="0.5"/> </Position> </TeleportAction> </PrivateAction> </Private> <Private entityRef="pedestrian_w_transform_26519"> <PrivateAction> <TeleportAction> <Position> <WorldPosition x="10.98835563659668" y="33.74629211425781" 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_26498"> <Pedestrian model="walker.pedestrian.0001" mass="80" name="walker.pedestrian.0001" pedestrianCategory="pedestrian"> <ParameterDeclarations/> <BoundingBox> <Center x="1.5" y="0.0" z="0.9"/> <Dimensions width="2" length="2" height="2"/> </BoundingBox> <Properties> <Property name="type" value="simulation"/> </Properties> </Pedestrian> </ScenarioObject> <ScenarioObject name="pedestrian_w_transform_26499"> <Pedestrian model="walker.pedestrian.0001" mass="80" name="walker.pedestrian.0001" pedestrianCategory="pedestrian"> <ParameterDeclarations/> <BoundingBox> <Center x="1.5" y="0.0" z="0.9"/> <Dimensions width="2" length="2" height="2"/> </BoundingBox> <Properties> <Property name="type" value="simulation"/> </Properties> </Pedestrian> </ScenarioObject> <ScenarioObject name="pedestrian_w_transform_26501"> <Pedestrian model="walker.pedestrian.0001" mass="80" name="walker.pedestrian.0001" pedestrianCategory="pedestrian"> <ParameterDeclarations/> <BoundingBox> <Center x="1.5" y="0.0" z="0.9"/> <Dimensions width="2" length="2" height="2"/> </BoundingBox> <Properties> <Property name="type" value="simulation"/> </Properties> </Pedestrian> </ScenarioObject> <ScenarioObject name="pedestrian_close_to_standing_26502"> <Pedestrian model="walker.pedestrian.0001" mass="80" name="walker.pedestrian.0001" pedestrianCategory="pedestrian"> <ParameterDeclarations/> <BoundingBox> <Center x="1.5" y="0.0" z="0.9"/> <Dimensions width="2" length="2" height="2"/> </BoundingBox> <Properties> <Property name="type" value="simulation"/> </Properties> </Pedestrian> </ScenarioObject> <ScenarioObject name="pedestrian_close_to_standing_26504"> <Pedestrian model="walker.pedestrian.0001" mass="80" name="walker.pedestrian.0001" pedestrianCategory="pedestrian"> <ParameterDeclarations/> <BoundingBox> <Center x="1.5" y="0.0" z="0.9"/> <Dimensions width="2" length="2" height="2"/> </BoundingBox> <Properties> <Property name="type" value="simulation"/> </Properties> </Pedestrian> </ScenarioObject> <ScenarioObject name="pedestrian_w_transform_26505"> <Pedestrian model="walker.pedestrian.0001" mass="80" name="walker.pedestrian.0001" pedestrianCategory="pedestrian"> <ParameterDeclarations/> <BoundingBox> <Center x="1.5" y="0.0" z="0.9"/> <Dimensions width="2" length="2" height="2"/> </BoundingBox> <Properties> <Property name="type" value="simulation"/> </Properties> </Pedestrian> </ScenarioObject> <ScenarioObject name="pedestrian_close_to_hero_26506"> <Pedestrian model="walker.pedestrian.0001" mass="80" name="walker.pedestrian.0001" pedestrianCategory="pedestrian"> <ParameterDeclarations/> <BoundingBox> <Center x="1.5" y="0.0" z="0.9"/> <Dimensions width="2" length="2" height="2"/> </BoundingBox> <Properties> <Property name="type" value="simulation"/> </Properties> </Pedestrian> </ScenarioObject> <ScenarioObject name="pedestrian_w_transform_26508"> <Pedestrian model="walker.pedestrian.0001" mass="80" name="walker.pedestrian.0001" pedestrianCategory="pedestrian"> <ParameterDeclarations/> <BoundingBox> <Center x="1.5" y="0.0" z="0.9"/> <Dimensions width="2" length="2" height="2"/> </BoundingBox> <Properties> <Property name="type" value="simulation"/> </Properties> </Pedestrian> </ScenarioObject> <ScenarioObject name="pedestrian_close_to_hero_26511"> <Pedestrian model="walker.pedestrian.0001" mass="80" name="walker.pedestrian.0001" pedestrianCategory="pedestrian"> <ParameterDeclarations/> <BoundingBox> <Center x="1.5" y="0.0" z="0.9"/> <Dimensions width="2" length="2" height="2"/> </BoundingBox> <Properties> <Property name="type" value="simulation"/> </Properties> </Pedestrian> </ScenarioObject> <ScenarioObject name="pedestrian_w_transform_26513"> <Pedestrian model="walker.pedestrian.0001" mass="80" name="walker.pedestrian.0001" pedestrianCategory="pedestrian"> <ParameterDeclarations/> <BoundingBox> <Center x="1.5" y="0.0" z="0.9"/> <Dimensions width="2" length="2" height="2"/> </BoundingBox> <Properties> <Property name="type" value="simulation"/> </Properties> </Pedestrian> </ScenarioObject> <ScenarioObject name="pedestrian_w_transform_26514"> <Pedestrian model="walker.pedestrian.0001" mass="80" name="walker.pedestrian.0001" pedestrianCategory="pedestrian"> <ParameterDeclarations/> <BoundingBox> <Center x="1.5" y="0.0" z="0.9"/> <Dimensions width="2" length="2" height="2"/> </BoundingBox> <Properties> <Property name="type" value="simulation"/> </Properties> </Pedestrian> </ScenarioObject> <ScenarioObject name="pedestrian_w_transform_26519"> <Pedestrian model="walker.pedestrian.0001" mass="80" name="walker.pedestrian.0001" pedestrianCategory="pedestrian"> <ParameterDeclarations/> <BoundingBox> <Center x="1.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_26498"> <PrivateAction> <TeleportAction> <Position> <WorldPosition x="-15.59032917022705" y="-77.95370483398438" z="0.033825378865003586"/> </Position> </TeleportAction> </PrivateAction> </Private> <Private entityRef="pedestrian_w_transform_26499"> <PrivateAction> <TeleportAction> <Position> <WorldPosition x="60.407135009765625" y="-73.25020599365234" z="0.5"/> </Position> </TeleportAction> </PrivateAction> </Private> <Private entityRef="pedestrian_w_transform_26501"> <PrivateAction> <TeleportAction> <Position> <WorldPosition x="-15.269518852233887" y="-67.87884521484375" z="0.5"/> </Position> </TeleportAction> </PrivateAction> </Private> <Private entityRef="pedestrian_close_to_standing_26502"> <PrivateAction> <TeleportAction> <Position> <WorldPosition x="-11.754199028015137" y="29.10975456237793" z="0.0030378340743482113"/> </Position> </TeleportAction> </PrivateAction> </Private> <Private entityRef="pedestrian_close_to_standing_26504"> <PrivateAction> <TeleportAction> <Position> <WorldPosition x="-15.701745986938477" y="33.2823600769043" z="0.0031017684377729893"/> </Position> </TeleportAction> </PrivateAction> </Private> <Private entityRef="pedestrian_w_transform_26505"> <PrivateAction> <TeleportAction> <Position> <WorldPosition x="29.20077133178711" y="3.7202892303466797" z="0.5"/> </Position> </TeleportAction> </PrivateAction> </Private> <Private entityRef="pedestrian_close_to_hero_26506"> <PrivateAction> <TeleportAction> <Position> <WorldPosition x="-17.15054702758789" y="-144.64419555664062" z="0.0015143966302275658"/> </Position> </TeleportAction> </PrivateAction> </Private> <Private entityRef="pedestrian_w_transform_26508"> <PrivateAction> <TeleportAction> <Position> <WorldPosition x="-81.63580322265625" y="-60.42267990112305" z="0.5"/> </Position> </TeleportAction> </PrivateAction> </Private> <Private entityRef="pedestrian_close_to_hero_26511"> <PrivateAction> <TeleportAction> <Position> <WorldPosition x="8.683632850646973" y="-170.5982666015625" z="0.0015143966302275658"/> </Position> </TeleportAction> </PrivateAction> </Private> <Private entityRef="pedestrian_w_transform_26513"> <PrivateAction> <TeleportAction> <Position> <WorldPosition x="87.46907043457031" y="84.61940002441406" z="0.5"/> </Position> </TeleportAction> </PrivateAction> </Private> <Private entityRef="pedestrian_w_transform_26514"> <PrivateAction> <TeleportAction> <Position> <WorldPosition x="-94.25076293945312" y="-83.79846954345703" z="0.5"/> </Position> </TeleportAction> </PrivateAction> </Private> <Private entityRef="pedestrian_w_transform_26519"> <PrivateAction> <TeleportAction> <Position> <WorldPosition x="10.98835563659668" y="33.74629211425781" 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 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_26162"> <Pedestrian model="walker.pedestrian.0001" mass="80" name="walker.pedestrian.0001" pedestrianCategory="pedestrian"> <ParameterDeclarations/> <BoundingBox> <Center x="1.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_26162"> <PrivateAction> <TeleportAction> <Position> <WorldPosition x="-12.321673393249512" y="-237.9159698486328" z="0.001678848173469305"/> </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 request you to add pedestrian at location (-7.81, 99.4, 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_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_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_w_transform_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> <ScenarioObject name="pedestrian_w_transform_14548"> <Pedestrian model="walker.pedestrian.0001" mass="80" name="walker.pedestrian.0001" pedestrianCategory="pedestrian"> <ParameterDeclarations/> <BoundingBox> <Center x="1.5" y="0.0" z="0.9"/> <Dimensions width="2" length="2" height="2"/> </BoundingBox> <Properties> <Property name="type" value="simulation"/> </Properties> </Pedestrian> </ScenarioObject> <ScenarioObject name="pedestrian_close_to_standing_14549"> <Pedestrian model="walker.pedestrian.0001" mass="80" name="walker.pedestrian.0001" pedestrianCategory="pedestrian"> <ParameterDeclarations/> <BoundingBox> <Center x="1.5" y="0.0" z="0.9"/> <Dimensions width="2" length="2" height="2"/> </BoundingBox> <Properties> <Property name="type" value="simulation"/> </Properties> </Pedestrian> </ScenarioObject> <ScenarioObject name="pedestrian_w_transform_14550"> <Pedestrian model="walker.pedestrian.0001" mass="80" name="walker.pedestrian.0001" pedestrianCategory="pedestrian"> <ParameterDeclarations/> <BoundingBox> <Center x="1.5" y="0.0" z="0.9"/> <Dimensions width="2" length="2" height="2"/> </BoundingBox> <Properties> <Property name="type" value="simulation"/> </Properties> </Pedestrian> </ScenarioObject> <ScenarioObject name="pedestrian_w_transform_14551"> <Pedestrian model="walker.pedestrian.0001" mass="80" name="walker.pedestrian.0001" pedestrianCategory="pedestrian"> <ParameterDeclarations/> <BoundingBox> <Center x="1.5" y="0.0" z="0.9"/> <Dimensions width="2" length="2" height="2"/> </BoundingBox> <Properties> <Property name="type" value="simulation"/> </Properties> </Pedestrian> </ScenarioObject> <ScenarioObject name="pedestrian_w_transform_14552"> <Pedestrian model="walker.pedestrian.0001" mass="80" name="walker.pedestrian.0001" pedestrianCategory="pedestrian"> <ParameterDeclarations/> <BoundingBox> <Center x="1.5" y="0.0" z="0.9"/> <Dimensions width="2" length="2" height="2"/> </BoundingBox> <Properties> <Property name="type" value="simulation"/> </Properties> </Pedestrian> </ScenarioObject> <ScenarioObject name="pedestrian_close_to_standing_14553"> <Pedestrian model="walker.pedestrian.0001" mass="80" name="walker.pedestrian.0001" pedestrianCategory="pedestrian"> <ParameterDeclarations/> <BoundingBox> <Center x="1.5" y="0.0" z="0.9"/> <Dimensions width="2" length="2" height="2"/> </BoundingBox> <Properties> <Property name="type" value="simulation"/> </Properties> </Pedestrian> </ScenarioObject> <ScenarioObject name="pedestrian_w_transform_14554"> <Pedestrian model="walker.pedestrian.0001" mass="80" name="walker.pedestrian.0001" pedestrianCategory="pedestrian"> <ParameterDeclarations/> <BoundingBox> <Center x="1.5" y="0.0" z="0.9"/> <Dimensions width="2" length="2" height="2"/> </BoundingBox> <Properties> <Property name="type" value="simulation"/> </Properties> </Pedestrian> </ScenarioObject> <ScenarioObject name="pedestrian_w_transform_14555"> <Pedestrian model="walker.pedestrian.0001" mass="80" name="walker.pedestrian.0001" pedestrianCategory="pedestrian"> <ParameterDeclarations/> <BoundingBox> <Center x="1.5" y="0.0" z="0.9"/> <Dimensions width="2" length="2" height="2"/> </BoundingBox> <Properties> <Property name="type" value="simulation"/> </Properties> </Pedestrian> </ScenarioObject> <ScenarioObject name="pedestrian_close_to_adversary_14556"> <Pedestrian model="walker.pedestrian.0001" mass="80" name="walker.pedestrian.0001" pedestrianCategory="pedestrian"> <ParameterDeclarations/> <BoundingBox> <Center x="1.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_14543"> <PrivateAction> <TeleportAction> <Position> <WorldPosition x="-17.213821411132812" y="19.589296340942383" z="0.0030687712132930756"/> </Position> </TeleportAction> </PrivateAction> </Private> <Private entityRef="pedestrian_close_to_standing_14545"> <PrivateAction> <TeleportAction> <Position> <WorldPosition x="-8.158576011657715" y="35.92029571533203" z="0.0030567932408303022"/> </Position> </TeleportAction> </PrivateAction> </Private> <Private entityRef="pedestrian_w_transform_14546"> <PrivateAction> <TeleportAction> <Position> <WorldPosition x="45.25352096557617" y="-22.507747650146484" z="0.5"/> </Position> </TeleportAction> </PrivateAction> </Private> <Private entityRef="pedestrian_w_transform_14547"> <PrivateAction> <TeleportAction> <Position> <WorldPosition x="-77.33465576171875" y="-33.84247970581055" z="0.5"/> </Position> </TeleportAction> </PrivateAction> </Private> <Private entityRef="pedestrian_w_transform_14548"> <PrivateAction> <TeleportAction> <Position> <WorldPosition x="61.20972442626953" y="28.03804588317871" z="0.5"/> </Position> </TeleportAction> </PrivateAction> </Private> <Private entityRef="pedestrian_close_to_standing_14549"> <PrivateAction> <TeleportAction> <Position> <WorldPosition x="-17.7414608001709" y="30.905235290527344" z="0.0029847717378288507"/> </Position> </TeleportAction> </PrivateAction> </Private> <Private entityRef="pedestrian_w_transform_14550"> <PrivateAction> <TeleportAction> <Position> <WorldPosition x="68.97798156738281" y="81.45075988769531" z="0.5"/> </Position> </TeleportAction> </PrivateAction> </Private> <Private entityRef="pedestrian_w_transform_14551"> <PrivateAction> <TeleportAction> <Position> <WorldPosition x="-67.05243682861328" y="-54.22492980957031" z="0.5"/> </Position> </TeleportAction> </PrivateAction> </Private> <Private entityRef="pedestrian_w_transform_14552"> <PrivateAction> <TeleportAction> <Position> <WorldPosition x="-35.50589370727539" y="81.81999206542969" z="0.5"/> </Position> </TeleportAction> </PrivateAction> </Private> <Private entityRef="pedestrian_close_to_standing_14553"> <PrivateAction> <TeleportAction> <Position> <WorldPosition x="-15.242864608764648" y="20.72142219543457" z="0.0029724121559411287"/> </Position> </TeleportAction> </PrivateAction> </Private> <Private entityRef="pedestrian_w_transform_14554"> <PrivateAction> <TeleportAction> <Position> <WorldPosition x="-56.97832489013672" y="-13.31075668334961" z="0.5"/> </Position> </TeleportAction> </PrivateAction> </Private> <Private entityRef="pedestrian_w_transform_14555"> <PrivateAction> <TeleportAction> <Position> <WorldPosition x="-91.23149108886719" y="-53.06309509277344" z="0.5"/> </Position> </TeleportAction> </PrivateAction> </Private> <Private entityRef="pedestrian_close_to_adversary_14556"> <PrivateAction> <TeleportAction> <Position> <WorldPosition x="-11.205097198486328" y="-71.83869171142578" z="0.03376937657594681"/> </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_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_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_w_transform_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> <ScenarioObject name="pedestrian_w_transform_14548"> <Pedestrian model="walker.pedestrian.0001" mass="80" name="walker.pedestrian.0001" pedestrianCategory="pedestrian"> <ParameterDeclarations/> <BoundingBox> <Center x="1.5" y="0.0" z="0.9"/> <Dimensions width="2" length="2" height="2"/> </BoundingBox> <Properties> <Property name="type" value="simulation"/> </Properties> </Pedestrian> </ScenarioObject> <ScenarioObject name="pedestrian_close_to_standing_14549"> <Pedestrian model="walker.pedestrian.0001" mass="80" name="walker.pedestrian.0001" pedestrianCategory="pedestrian"> <ParameterDeclarations/> <BoundingBox> <Center x="1.5" y="0.0" z="0.9"/> <Dimensions width="2" length="2" height="2"/> </BoundingBox> <Properties> <Property name="type" value="simulation"/> </Properties> </Pedestrian> </ScenarioObject> <ScenarioObject name="pedestrian_w_transform_14550"> <Pedestrian model="walker.pedestrian.0001" mass="80" name="walker.pedestrian.0001" pedestrianCategory="pedestrian"> <ParameterDeclarations/> <BoundingBox> <Center x="1.5" y="0.0" z="0.9"/> <Dimensions width="2" length="2" height="2"/> </BoundingBox> <Properties> <Property name="type" value="simulation"/> </Properties> </Pedestrian> </ScenarioObject> <ScenarioObject name="pedestrian_w_transform_14551"> <Pedestrian model="walker.pedestrian.0001" mass="80" name="walker.pedestrian.0001" pedestrianCategory="pedestrian"> <ParameterDeclarations/> <BoundingBox> <Center x="1.5" y="0.0" z="0.9"/> <Dimensions width="2" length="2" height="2"/> </BoundingBox> <Properties> <Property name="type" value="simulation"/> </Properties> </Pedestrian> </ScenarioObject> <ScenarioObject name="pedestrian_w_transform_14552"> <Pedestrian model="walker.pedestrian.0001" mass="80" name="walker.pedestrian.0001" pedestrianCategory="pedestrian"> <ParameterDeclarations/> <BoundingBox> <Center x="1.5" y="0.0" z="0.9"/> <Dimensions width="2" length="2" height="2"/> </BoundingBox> <Properties> <Property name="type" value="simulation"/> </Properties> </Pedestrian> </ScenarioObject> <ScenarioObject name="pedestrian_close_to_standing_14553"> <Pedestrian model="walker.pedestrian.0001" mass="80" name="walker.pedestrian.0001" pedestrianCategory="pedestrian"> <ParameterDeclarations/> <BoundingBox> <Center x="1.5" y="0.0" z="0.9"/> <Dimensions width="2" length="2" height="2"/> </BoundingBox> <Properties> <Property name="type" value="simulation"/> </Properties> </Pedestrian> </ScenarioObject> <ScenarioObject name="pedestrian_w_transform_14554"> <Pedestrian model="walker.pedestrian.0001" mass="80" name="walker.pedestrian.0001" pedestrianCategory="pedestrian"> <ParameterDeclarations/> <BoundingBox> <Center x="1.5" y="0.0" z="0.9"/> <Dimensions width="2" length="2" height="2"/> </BoundingBox> <Properties> <Property name="type" value="simulation"/> </Properties> </Pedestrian> </ScenarioObject> <ScenarioObject name="pedestrian_w_transform_14555"> <Pedestrian model="walker.pedestrian.0001" mass="80" name="walker.pedestrian.0001" pedestrianCategory="pedestrian"> <ParameterDeclarations/> <BoundingBox> <Center x="1.5" y="0.0" z="0.9"/> <Dimensions width="2" length="2" height="2"/> </BoundingBox> <Properties> <Property name="type" value="simulation"/> </Properties> </Pedestrian> </ScenarioObject> <ScenarioObject name="pedestrian_close_to_adversary_14556"> <Pedestrian model="walker.pedestrian.0001" mass="80" name="walker.pedestrian.0001" pedestrianCategory="pedestrian"> <ParameterDeclarations/> <BoundingBox> <Center x="1.5" y="0.0" z="0.9"/> <Dimensions width="2" length="2" height="2"/> </BoundingBox> <Properties> <Property name="type" value="simulation"/> </Properties> </Pedestrian> </ScenarioObject> <ScenarioObject name="pedestrian_w_transform_14557"> <Pedestrian model="walker.pedestrian.0001" mass="80" name="walker.pedestrian.0001" pedestrianCategory="pedestrian"> <ParameterDeclarations/> <BoundingBox> <Center x="1.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_14543"> <PrivateAction> <TeleportAction> <Position> <WorldPosition x="-17.213821411132812" y="19.589296340942383" z="0.0030687712132930756"/> </Position> </TeleportAction> </PrivateAction> </Private> <Private entityRef="pedestrian_close_to_standing_14545"> <PrivateAction> <TeleportAction> <Position> <WorldPosition x="-8.158576011657715" y="35.92029571533203" z="0.0030567932408303022"/> </Position> </TeleportAction> </PrivateAction> </Private> <Private entityRef="pedestrian_w_transform_14546"> <PrivateAction> <TeleportAction> <Position> <WorldPosition x="45.25352096557617" y="-22.507747650146484" z="0.5"/> </Position> </TeleportAction> </PrivateAction> </Private> <Private entityRef="pedestrian_w_transform_14547"> <PrivateAction> <TeleportAction> <Position> <WorldPosition x="-77.33465576171875" y="-33.84247970581055" z="0.5"/> </Position> </TeleportAction> </PrivateAction> </Private> <Private entityRef="pedestrian_w_transform_14548"> <PrivateAction> <TeleportAction> <Position> <WorldPosition x="61.20972442626953" y="28.03804588317871" z="0.5"/> </Position> </TeleportAction> </PrivateAction> </Private> <Private entityRef="pedestrian_close_to_standing_14549"> <PrivateAction> <TeleportAction> <Position> <WorldPosition x="-17.7414608001709" y="30.905235290527344" z="0.0029847717378288507"/> </Position> </TeleportAction> </PrivateAction> </Private> <Private entityRef="pedestrian_w_transform_14550"> <PrivateAction> <TeleportAction> <Position> <WorldPosition x="68.97798156738281" y="81.45075988769531" z="0.5"/> </Position> </TeleportAction> </PrivateAction> </Private> <Private entityRef="pedestrian_w_transform_14551"> <PrivateAction> <TeleportAction> <Position> <WorldPosition x="-67.05243682861328" y="-54.22492980957031" z="0.5"/> </Position> </TeleportAction> </PrivateAction> </Private> <Private entityRef="pedestrian_w_transform_14552"> <PrivateAction> <TeleportAction> <Position> <WorldPosition x="-35.50589370727539" y="81.81999206542969" z="0.5"/> </Position> </TeleportAction> </PrivateAction> </Private> <Private entityRef="pedestrian_close_to_standing_14553"> <PrivateAction> <TeleportAction> <Position> <WorldPosition x="-15.242864608764648" y="20.72142219543457" z="0.0029724121559411287"/> </Position> </TeleportAction> </PrivateAction> </Private> <Private entityRef="pedestrian_w_transform_14554"> <PrivateAction> <TeleportAction> <Position> <WorldPosition x="-56.97832489013672" y="-13.31075668334961" z="0.5"/> </Position> </TeleportAction> </PrivateAction> </Private> <Private entityRef="pedestrian_w_transform_14555"> <PrivateAction> <TeleportAction> <Position> <WorldPosition x="-91.23149108886719" y="-53.06309509277344" z="0.5"/> </Position> </TeleportAction> </PrivateAction> </Private> <Private entityRef="pedestrian_close_to_adversary_14556"> <PrivateAction> <TeleportAction> <Position> <WorldPosition x="-11.205097198486328" y="-71.83869171142578" z="0.03376937657594681"/> </Position> </TeleportAction> </PrivateAction> </Private> <Private entityRef="pedestrian_w_transform_14557"> <PrivateAction> <TeleportAction> <Position> <WorldPosition x="-7.8059563636779785" y="99.40304565429688" 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> ```